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:
a27a690
)
ARM: align PIC offset pools to 4 bytes
author
Mans Rullgard
<mans@mansr.com>
Thu, 20 Sep 2012 21:53:41 +0000
(22:53 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Fri, 21 Sep 2012 06:07:58 +0000
(07:07 +0100)
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>
libavutil/arm/asm.S
patch
|
blob
|
history
diff --git
a/libavutil/arm/asm.S
b/libavutil/arm/asm.S
index
45e4aab
..
b30f9b1
100644
(file)
--- 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