# HG changeset patch # User mru # Date 1253128848 0 # Node ID 78c2a3932c87e2b02a57b94f03184a7c413747e1 # Parent b33c75c58ffed982ec3cdbc51c676224d12e0c99 ARM: do not use movw/movt for relocatable values with PIC diff -r b33c75c58ffe -r 78c2a3932c87 arm/asm.S --- a/arm/asm.S Wed Sep 16 16:18:18 2009 +0000 +++ b/arm/asm.S Wed Sep 16 19:20:48 2009 +0000 @@ -44,7 +44,7 @@ .endm .macro movrel rd, val -#if HAVE_ARMV6T2 && !CONFIG_SHARED +#if HAVE_ARMV6T2 && !CONFIG_SHARED && !CONFIG_PIC movw \rd, #:lower16:\val movt \rd, #:upper16:\val #else