From: Chung-Ju Wu Date: Mon, 4 Feb 2019 07:17:36 +0000 (+0000) Subject: [NDS32] Remove all -mtlsdesc-trmpoline related things. X-Git-Tag: upstream/12.2.0~26399 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcd717d7284caeefd012601251c76620fd7a3bd2;p=platform%2Fupstream%2Fgcc.git [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 --- 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 + + * 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 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}}}} "