diff options
author | Måns Rullgård <mans@mansr.com> | 2009-10-02 23:11:03 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-10-02 23:11:03 +0000 |
commit | c61e40b728513c23fbfb662989a39c806ee40bca (patch) | |
tree | 321869a82af4ce5f8b160776328dcee85647e645 /libavcodec/arm/simple_idct_arm.S | |
parent | b44c6d8edb442fb976030dc970b4153bd57c423e (diff) | |
download | ffmpeg-c61e40b728513c23fbfb662989a39c806ee40bca.tar.gz |
ARM: use plain labels for pc-relative addressing
Originally committed as revision 20152 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/simple_idct_arm.S')
-rw-r--r-- | libavcodec/arm/simple_idct_arm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/simple_idct_arm.S b/libavcodec/arm/simple_idct_arm.S index 9e5e621c51..df51c01df2 100644 --- a/libavcodec/arm/simple_idct_arm.S +++ b/libavcodec/arm/simple_idct_arm.S @@ -66,7 +66,7 @@ function simple_idct_ARM, export=1 stmfd sp!, {r4-r11, r14} @ R14 is also called LR @@ at this point, R0=block, other registers are free. add r14, r0, #112 @ R14=&block[8*7], better start from the last row, and decrease the value until row=0, i.e. R12=block. - add r12, pc, #(__constant_ptr__-.-8) @ R12=__constant_ptr__, the vector containing the constants, probably not necessary to reserve a register for it + adr r12, __constant_ptr__ @ R12=__constant_ptr__, the vector containing the constants, probably not necessary to reserve a register for it @@ add 2 temporary variables in the stack: R0 and R14 sub sp, sp, #8 @ allow 2 local variables str r0, [sp, #0] @ save block in sp[0] |