[NDS32] Remove all -mtlsdesc-trmpoline related things.
authorChung-Ju Wu <jasonwucj@gmail.com>
Mon, 4 Feb 2019 07:17:36 +0000 (07:17 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Mon, 4 Feb 2019 07:17:36 +0000 (07:17 +0000)
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
gcc/config.gcc
gcc/config/nds32/linux.h

index 2e4169dba9bfb81b93fdfa4d863e2d4a866a53bf..1d57d7c0fbcc0ffac6b7f1f84ab850303817c858 100644 (file)
@@ -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
index f7b7dcc5968fedf112b48f55b5a67f02ff015a24..7675d929da6792635a4e0f456ee536a5d2f9b8e8 100644 (file)
@@ -4543,7 +4543,7 @@ case "${target}" in
                        ;;
                glibc)
                        # OK
-                       tm_defines="${tm_defines} TARGET_DEFAULT_TLSDESC_TRAMPOLINE=0"
+                       tm_defines="${tm_defines}"
                        ;;
                uclibc)
                        ;;
index 0426ba87ebe2c16c4880672cdfbc6d6a67d0f158..36579d057095a5a4173609617b2d7255693e44fe 100644 (file)
 #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}}}} "