diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-17 11:13:20 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-17 11:13:20 +0000 |
commit | c1c81358afa728db0d7bae637e813b61c9169e69 (patch) | |
tree | f8f62cdbe713f34b9186734cf5c625d5706d8523 /libgcc/config | |
parent | 487e0ef40c1a038ef8216e78feb9c7f9ae238cd8 (diff) | |
download | gcc-c1c81358afa728db0d7bae637e813b61c9169e69.tar.gz |
libgcc/
PR target/50090
* config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
instead of an assembly one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177826 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config')
-rw-r--r-- | libgcc/config/arm/bpabi-lib.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 |