From dcd717d7284caeefd012601251c76620fd7a3bd2 Mon Sep 17 00:00:00 2001 From: Chung-Ju Wu Date: Mon, 4 Feb 2019 07:17:36 +0000 Subject: [PATCH] [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 --- gcc/ChangeLog | 7 +++++++ gcc/config.gcc | 2 +- gcc/config/nds32/linux.h | 10 +--------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e4169dba9b..1d57d7c0fbc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-02-04 Chung-Ju Wu + + * 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 PR target/89071 diff --git a/gcc/config.gcc b/gcc/config.gcc index f7b7dcc5968..7675d929da6 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 0426ba87ebe..36579d05709 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}}}} " -- 2.30.2