diff options
author | Mans Rullgard <mans@mansr.com> | 2012-09-20 22:55:11 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-09-21 07:07:58 +0100 |
commit | 8995d34972dc1092a5576c8d26e9b583f9dc2040 (patch) | |
tree | 54dc266e757a0e1c7d969be806bb6873162d3579 | |
parent | cdb7db5acdefbb976e3004e87b8f0078d40d068f (diff) | |
download | ffmpeg-8995d34972dc1092a5576c8d26e9b583f9dc2040.tar.gz |
ARM: use 2-operand syntax for ADD Rd, PC in Apple PIC code
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>
-rw-r--r-- | libavutil/arm/asm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S index b30f9b1bbb..ce7f46d807 100644 --- 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 |