diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-07-26 06:07:02 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-07-26 00:07:02 -0600 |
commit | 80c83e63223528b5e2d3f27cd29c45e30ba402dc (patch) | |
tree | fdf697de801f1c27d11d48d3a170180c261023bf | |
parent | 63966b3bc6e3aba3c22b4d00e6ac20a08fe42b33 (diff) | |
download | gcc-80c83e63223528b5e2d3f27cd29c45e30ba402dc.zip gcc-80c83e63223528b5e2d3f27cd29c45e30ba402dc.tar.gz gcc-80c83e63223528b5e2d3f27cd29c45e30ba402dc.tar.bz2 |
svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in column zero.
* 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.
From-SVN: r28253
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/svr4.h | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1dfcd6c..90e9027 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -11,6 +11,11 @@ Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com> Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com) + * 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. + * gcc.texi: More changes related to list conversion. * invoke.texi: Likewise. diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index f7299b3..1ecb941 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) |