aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-09-20 22:53:41 +0100
committerMans Rullgard <mans@mansr.com>2012-09-21 07:07:58 +0100
commitcdb7db5acdefbb976e3004e87b8f0078d40d068f (patch)
tree3badb88f1f2ae7240a39c3756e8ed2bc3792ebf7 /libavutil
parenta27a690fac6d9f42464039702f8cde6777778a53 (diff)
downloadffmpeg-cdb7db5acdefbb976e3004e87b8f0078d40d068f.tar.gz
ARM: align PIC offset pools to 4 bytes
When building Thumb2 code, the end of a function, where the PIC offsets are placed, need not be aligned. Although the values are only accessed with instructions allowing unaligned addresses, keeping them aligned is preferable. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/arm/asm.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S
index 45e4aab77e..b30f9b1bbb 100644
--- a/libavutil/arm/asm.S
+++ b/libavutil/arm/asm.S
@@ -66,6 +66,7 @@ ELF .eabi_attribute 25, \val
.set .Lpic_gp, 0
.macro endfunc
.if .Lpic_idx
+ .align 2
.altmacro
put_pic %(.Lpic_idx - 1)
.noaltmacro