diff options
author | Mans Rullgard <mans@mansr.com> | 2012-10-02 19:00:48 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-10-02 22:47:56 +0400 |
commit | 5e826fd65e6e8385a196aa0fdb01f60cfb0b55b6 (patch) | |
tree | f5b211b68d728508a008f0ca12ad41dcf2fa32e9 /libavutil/arm | |
parent | 7bda4ed780c23c4bd50cf9ccd91f235e67ab0eae (diff) |
ARM: set Tag_ABI_align_preserved in all asm files
All our ARM asm preserves alignment so setting this attribute
in a common location is simpler. This removes numerous warnings
when linking with armcc.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavutil/arm')
-rw-r--r-- | libavutil/arm/asm.S | 9 | ||||
-rw-r--r-- | libavutil/arm/float_dsp_neon.S | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S index 50305f778b..67d42e6ce6 100644 --- a/libavutil/arm/asm.S +++ b/libavutil/arm/asm.S @@ -52,14 +52,7 @@ .syntax unified T .thumb - -.macro require8 val=1 -ELF .eabi_attribute 24, \val -.endm - -.macro preserve8 val=1 -ELF .eabi_attribute 25, \val -.endm +ELF .eabi_attribute Tag_ABI_align_preserved, 1 .macro function name, export=0 .set .Lpic_idx, 0 diff --git a/libavutil/arm/float_dsp_neon.S b/libavutil/arm/float_dsp_neon.S index 03b164388f..4aa6f838dd 100644 --- a/libavutil/arm/float_dsp_neon.S +++ b/libavutil/arm/float_dsp_neon.S @@ -22,8 +22,6 @@ #include "config.h" #include "asm.S" - preserve8 - function ff_vector_fmul_neon, export=1 subs r3, r3, #8 vld1.32 {d0-d3}, [r1,:128]! |