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:
cdb7db5
)
ARM: use 2-operand syntax for ADD Rd, PC in Apple PIC code
author
Mans Rullgard
<mans@mansr.com>
Thu, 20 Sep 2012 21:55:11 +0000
(22:55 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Fri, 21 Sep 2012 06:07:58 +0000
(07:07 +0100)
The Apple assembler refuses to assemble the 3-operand form
in Thumb2 even though it is valid syntax.
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
b30f9b1
..
ce7f46d
100644
(file)
--- a/
libavutil/arm/asm.S
+++ b/
libavutil/arm/asm.S
@@
-143,7
+143,7
@@
ELF .size \name, . - \name
.if \indir
ldr \rd, [pc, \rd]
.else
- add \rd,
\rd,
pc
+ add \rd, pc
.endif
def_pic \val - (.Lpic\@ + (8 >> CONFIG_THUMB)), .Lpicoff\@
.endm