summaryrefslogtreecommitdiff
path: root/gcc/config/svr4.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-26 06:07:02 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-26 06:07:02 +0000
commit9fc6920f762c5ba7437d194088ce0b3740b4b11b (patch)
treefdf697de801f1c27d11d48d3a170180c261023bf /gcc/config/svr4.h
parente7aabeabb9a534c205627f198584c1ea766d4fc2 (diff)
downloadgcc-9fc6920f762c5ba7437d194088ce0b3740b4b11b.tar.gz
* config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
column zero. (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise. (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28253 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/svr4.h')
-rw-r--r--gcc/config/svr4.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h
index f7299b32ef9..1ecb941e93e 100644
--- a/gcc/config/svr4.h
+++ b/gcc/config/svr4.h
@@ -457,8 +457,8 @@ do { \
errors unless the .ctors and .dtors sections are marked as writable
via the SHF_WRITE attribute.) */
-#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"aw\""
-#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"aw\""
+#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"aw\""
+#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"aw\""
/* On svr4, we *do* have support for the .init and .fini sections, and we
can put stuff in there to be executed before and after `main'. We let
@@ -466,8 +466,8 @@ do { \
The definitions say how to change sections to the .init and .fini
sections. This is the same for all known svr4 assemblers. */
-#define INIT_SECTION_ASM_OP ".section\t.init"
-#define FINI_SECTION_ASM_OP ".section\t.fini"
+#define INIT_SECTION_ASM_OP "\t.section\t.init"
+#define FINI_SECTION_ASM_OP "\t.section\t.fini"
/* A default list of other sections which we might be "in" at any given
time. For targets that use additional sections (e.g. .tdesc) you
@@ -567,14 +567,14 @@ do { \
s->type = type; \
s->next = sections; \
sections = s; \
- fprintf (FILE, ".section\t%s,\"%s\",@progbits\n", NAME, mode); \
+ fprintf (FILE, "\t.section\t%s,\"%s\",@progbits\n", NAME, mode); \
} \
else \
{ \
if (DECL && s->type != type) \
error_with_decl (DECL, "%s causes a section type conflict"); \
\
- fprintf (FILE, ".section\t%s\n", NAME); \
+ fprintf (FILE, "\t.section\t%s\n", NAME); \
} \
} while (0)