Mercurial > libavcodec.hg
diff arm/h264idct_neon.S @ 8507:779a9c93bf61 libavcodec
ARM: work around linker bug with movw/movt relocations in shared libs
author | mru |
---|---|
date | Tue, 30 Dec 2008 03:13:52 +0000 |
parents | 0ca0e3c98ed5 |
children | be725249ea67 |
line wrap: on
line diff
--- a/arm/h264idct_neon.S Tue Dec 30 03:13:40 2008 +0000 +++ b/arm/h264idct_neon.S Tue Dec 30 03:13:52 2008 +0000 @@ -103,8 +103,7 @@ mov r1, r2 mov r2, r3 ldr r6, [sp, #24] - movw r7, #:lower16:scan8 - movt r7, #:upper16:scan8 + movrel r7, scan8 mov ip, #16 1: ldrb r8, [r7], #1 ldr r0, [r5], #4 @@ -131,8 +130,7 @@ mov r1, r2 mov r2, r3 ldr r6, [sp, #24] - movw r7, #:lower16:scan8 - movt r7, #:upper16:scan8 + movrel r7, scan8 mov ip, #16 1: ldrb r8, [r7], #1 ldr r0, [r5], #4 @@ -157,8 +155,7 @@ add r1, r2, #16*32 mov r2, r3 ldr r6, [sp, #32] - movw r7, #:lower16:scan8+16 - movt r7, #:upper16:scan8+16 + movrel r7, scan8+16 mov ip, #8 1: ldrb r8, [r7], #1 ldr r0, [r5], #4