OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73d99e
)
ARM: add helper macro for declaring constant data
author
Mans Rullgard
<mans@mansr.com>
Wed, 26 Jan 2011 22:26:51 +0000
(22:26 +0000)
committer
Mans Rullgard
<mans@mansr.com>
Wed, 2 Feb 2011 11:35:51 +0000
(11:35 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/arm/asm.S
patch
|
blob
|
history
diff --git
a/libavcodec/arm/asm.S
b/libavcodec/arm/asm.S
index
e050783
..
cf73a77
100644
(file)
--- a/
libavcodec/arm/asm.S
+++ b/
libavcodec/arm/asm.S
@@
-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