From: Mans Rullgard Date: Thu, 20 Sep 2012 21:53:41 +0000 (+0100) Subject: ARM: align PIC offset pools to 4 bytes X-Git-Tag: android-x86-4.4-r1~8529^2~518 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cdb7db5acdefbb976e3004e87b8f0078d40d068f;p=android-x86%2Fexternal-ffmpeg.git 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 --- 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