From 3cdc1f858d5488d426ec9626eef76a6cdec2248d Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Fri, 30 Nov 2012 19:02:53 +0000 Subject: * config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define. From-SVN: r194004 --- gcc/ChangeLog | 1 + gcc/config/rs6000/xcoff.h | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d440252..c80c41a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -24,6 +24,7 @@ (tle_get_tpointer_internal): New. (tls_get_addr): New. (tls_get_addr_internal): New. + * config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define. 2012-11-30 Teresa Johnson diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h index e5c4782..15f8bbf 100644 --- a/gcc/config/rs6000/xcoff.h +++ b/gcc/config/rs6000/xcoff.h @@ -304,6 +304,15 @@ 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 " -- cgit v1.1