diff options
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/arm/bpabi-lib.h | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 363ecc2fa73..61aa4e3acc7 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2011-08-17 Richard Sandiford <richard.sandiford@linaro.org> + + PR target/50090 + * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias + instead of an assembly one. + 2011-08-12 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/50047 diff --git a/libgcc/config/arm/bpabi-lib.h b/libgcc/config/arm/bpabi-lib.h index cfa09cf6e69..26183b39202 100644 --- a/libgcc/config/arm/bpabi-lib.h +++ b/libgcc/config/arm/bpabi-lib.h @@ -28,9 +28,8 @@ /* Make __aeabi_AEABI_NAME an alias for __GCC_NAME. */ #define RENAME_LIBRARY(GCC_NAME, AEABI_NAME) \ - __asm__ (".globl\t__aeabi_" #AEABI_NAME "\n" \ - RENAME_LIBRARY_SET "\t__aeabi_" #AEABI_NAME \ - ", __" #GCC_NAME "\n"); + typeof (__##GCC_NAME) __aeabi_##AEABI_NAME \ + __attribute__((alias ("__" #GCC_NAME))); /* Give some libgcc functions an additional __aeabi name. */ #ifdef L_muldi3 |