OSDN Git Service

* config/i386/i386.c (override_options): Don't accept
authorro@138bc75d-0d04-0410-961f-82ee72b054a4 <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Mar 2010 18:31:07 +0000 (18:31 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:14:31 +0000 (14:14 +0900)
-mtls-dialect=sun any longer.
* config/i386/i386.h (TARGET_SUN_TLS): Define as 0.
* config/i386/i386.md (*tls_global_dynamic_32_sun): Remove.
(*tls_local_dynamic_base_32_sun): Likewise.
* config/i386/sol2.h (TARGET_SUN_TLS): Redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157704 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/sol2.h

index e04da59..52f45af 100644 (file)
@@ -1,3 +1,12 @@
+2010-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/i386/i386.c (override_options): Don't accept
+       -mtls-dialect=sun any longer.
+       * config/i386/i386.h (TARGET_SUN_TLS): Define as 0.
+       * config/i386/i386.md (*tls_global_dynamic_32_sun): Remove.
+       (*tls_local_dynamic_base_32_sun): Likewise.
+       * config/i386/sol2.h (TARGET_SUN_TLS): Redefine.
+
 2010-03-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/43508
index cb663a1..f639770 100644 (file)
@@ -96,38 +96,6 @@ along with GCC; see the file COPYING3.  If not see
 #undef TARGET_SUN_TLS
 #define TARGET_SUN_TLS 1
 
-/* The Sun assembler uses .tcomm for TLS common sections.  */
-#define TLS_COMMON_ASM_OP ".tcomm"
-
-/* Similar to the Sun assembler on SPARC, the native assembler requires
-   TLS objects to be declared as @tls_obj (not @tls_object).  Unlike SPARC,
-   gas doesn't understand this variant.  */
-#ifndef USE_GAS
-#undef  ASM_DECLARE_OBJECT_NAME
-#define ASM_DECLARE_OBJECT_NAME(FILE, NAME, DECL)              \
-  do                                                           \
-    {                                                          \
-      HOST_WIDE_INT size;                                      \
-                                                               \
-      if (targetm.have_tls && DECL_THREAD_LOCAL_P (DECL))      \
-       ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "tls_obj");      \
-      else                                                     \
-       ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object");       \
-                                                               \
-      size_directive_output = 0;                               \
-      if (!flag_inhibit_size_directive                         \
-         && (DECL) && DECL_SIZE (DECL))                        \
-       {                                                       \
-         size_directive_output = 1;                            \
-         size = int_size_in_bytes (TREE_TYPE (DECL));          \
-         ASM_OUTPUT_SIZE_DIRECTIVE (FILE, NAME, size);         \
-       }                                                       \
-                                                               \
-      ASM_OUTPUT_LABEL (FILE, NAME);                           \
-    }                                                          \
-  while (0)
-#endif
-
 /* The Solaris assembler cannot grok .stabd directives.  */
 #undef NO_DBX_BNSYM_ENSYM
 #define NO_DBX_BNSYM_ENSYM 1