diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2011-08-17 11:13:20 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2011-08-17 11:13:20 +0000 |
commit | 1e138510faf8ba23eab43a70fbe96ef3f9dd798e (patch) | |
tree | f8f62cdbe713f34b9186734cf5c625d5706d8523 | |
parent | 30228b6181ada932f357f43fc502fa3c4dc06ee9 (diff) | |
download | gcc-1e138510faf8ba23eab43a70fbe96ef3f9dd798e.zip gcc-1e138510faf8ba23eab43a70fbe96ef3f9dd798e.tar.gz gcc-1e138510faf8ba23eab43a70fbe96ef3f9dd798e.tar.bz2 |
re PR target/50090 (ARM EABI symbols in libgcc.a have default visibility)
libgcc/
PR target/50090
* config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
instead of an assembly one.
From-SVN: r177826
-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 363ecc2..61aa4e3 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 cfa09cf..26183b3 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 |