diff options
author | Chung-Ju Wu <jasonwucj@gmail.com> | 2019-02-04 07:17:36 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2019-02-04 07:17:36 +0000 |
commit | dcd717d7284caeefd012601251c76620fd7a3bd2 (patch) | |
tree | 6ab769eee23b275d1de175987af90c17337e4be7 /gcc | |
parent | 64626f1bf125fc700b6ee6c16ef239037d662f4a (diff) | |
download | gcc-dcd717d7284caeefd012601251c76620fd7a3bd2.zip gcc-dcd717d7284caeefd012601251c76620fd7a3bd2.tar.gz gcc-dcd717d7284caeefd012601251c76620fd7a3bd2.tar.bz2 |
[NDS32] Remove all -mtlsdesc-trmpoline related things.
gcc/
* config.gcc (with_nds32_lib, glibc):
Remove TARGET_DEFAULT_TLSDESC_TRAMPOLINE=0 setting.
* config/nds32/linux.h (TARGET_DEFAULT_TLSDESC_TRAMPOLINE): Delete.
(NDS32_TLSDESC_TRAMPOLINE_SPEC): Delete.
From-SVN: r268508
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/nds32/linux.h | 10 |
3 files changed, 9 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e4169d..1d57d7c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-02-04 Chung-Ju Wu <jasonwucj@gmail.com> + + * config.gcc (with_nds32_lib, glibc): + Remove TARGET_DEFAULT_TLSDESC_TRAMPOLINE=0 setting. + * config/nds32/linux.h (TARGET_DEFAULT_TLSDESC_TRAMPOLINE): Delete. + (NDS32_TLSDESC_TRAMPOLINE_SPEC): Delete. + 2019-02-03 Uroš Bizjak <ubizjak@gmail.com> PR target/89071 diff --git a/gcc/config.gcc b/gcc/config.gcc index f7b7dcc..7675d92 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4543,7 +4543,7 @@ case "${target}" in ;; glibc) # OK - tm_defines="${tm_defines} TARGET_DEFAULT_TLSDESC_TRAMPOLINE=0" + tm_defines="${tm_defines}" ;; uclibc) ;; diff --git a/gcc/config/nds32/linux.h b/gcc/config/nds32/linux.h index 0426ba8..36579d0 100644 --- a/gcc/config/nds32/linux.h +++ b/gcc/config/nds32/linux.h @@ -29,13 +29,6 @@ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#ifdef TARGET_DEFAULT_TLSDESC_TRAMPOLINE - #define NDS32_TLSDESC_TRAMPOLINE_SPEC \ - " %{!mno-tlsdesc-trampoline:--mtlsdesc-trampoline}" -#else - #define NDS32_TLSDESC_TRAMPOLINE_SPEC "" -#endif - #define TARGET_OS_CPP_BUILTINS() \ do \ { \ @@ -59,8 +52,7 @@ %{rdynamic:-export-dynamic} \ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \ %{static:-static}}" \ - NDS32_RELAX_SPEC \ - NDS32_TLSDESC_TRAMPOLINE_SPEC + NDS32_RELAX_SPEC #define LINK_PIE_SPEC "%{pie:%{!fno-pie:%{!fno-PIE:%{!static:-pie}}}} " |