* config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define.
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 30 Nov 2012 19:02:53 +0000 (19:02 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 30 Nov 2012 19:02:53 +0000 (14:02 -0500)
From-SVN: r194004

gcc/ChangeLog
gcc/config/rs6000/xcoff.h

index d440252..c80c41a 100644 (file)
@@ -24,6 +24,7 @@
        (tle_get_tpointer_internal): New.
        (tls_get_addr<mode>): New.
        (tls_get_addr_internal<mode>): New.
+       * config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define.
 
 2012-11-30  Teresa Johnson  <tejohnson@google.com>
 
index e5c4782..15f8bbf 100644 (file)
                xcoff_bss_section_name);                \
      } while (0)
 
+#ifdef HAVE_AS_TLS
+#define ASM_OUTPUT_TLS_COMMON(FILE, DECL, NAME, SIZE)  \
+  do { fputs(COMMON_ASM_OP, (FILE));                   \
+       RS6000_OUTPUT_BASENAME ((FILE), (NAME));                \
+       fputs("[UL]", (FILE));                                  \
+       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)); \
+  } while (0)
+#endif
+
 /* This is how we tell the assembler that two symbols have the same value.  */
 #define SET_ASM_OP "\t.set "