1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

ARM: add helper macro for declaring constant data

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit b9a639ddd6e102edbf94a26b5106386792e2e4c8)
This commit is contained in:
Mans Rullgard 2011-01-26 22:26:51 +00:00 committed by Michael Niedermayer
parent fe2ff6d247
commit 01b75fa931

View File

@ -50,6 +50,16 @@ ELF .type \name, %function
\name:
.endm
.macro const name, align=2
.macro endconst
ELF .size \name, . - \name
.purgem endconst
.endm
.section .rodata
.align \align
\name:
.endm
.macro mov32 rd, val
#if HAVE_ARMV6T2
movw \rd, #(\val) & 0xffff