summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-30 19:02:53 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-30 19:02:53 +0000
commit56acc3c3bf40ec4374a3aa7800670b1a2ce6be96 (patch)
treebeea5fcea4a8049cb837718995aebbae50130496 /gcc/config/rs6000
parenta4ffda8e077bf103762b1265c8b1a07969cf8ffd (diff)
downloadgcc-56acc3c3bf40ec4374a3aa7800670b1a2ce6be96.tar.gz
* config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194004 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/xcoff.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index e5c47822355..15f8bbf5e3e 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 "