[x264-devel] ARM: align asm functions to 4 bytes.
Mans Rullgard
git at videolan.org
Sat Feb 4 21:10:47 CET 2012
x264 | branch: master | Mans Rullgard <mans at mansr.com> | Wed Feb 1 15:55:25 2012 -0800| [a3f44077dc238dea92c0894d352b5a8723b9201b] | committer: Jason Garrett-Glaser
ARM: align asm functions to 4 bytes.
Some linkers apparently fail to correctly align ARM functions when mixing with Thumb code.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=a3f44077dc238dea92c0894d352b5a8723b9201b
---
common/arm/asm.S | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/common/arm/asm.S b/common/arm/asm.S
index 8e70403..4220663 100644
--- a/common/arm/asm.S
+++ b/common/arm/asm.S
@@ -48,6 +48,7 @@ ELF .eabi_attribute 25, \val
.macro function name
.global EXTERN_ASM\name
+ .align 2
EXTERN_ASM\name:
ELF .hidden \name
ELF .type \name, %function
More information about the x264-devel
mailing list