diff options
author | obrien <obrien@FreeBSD.org> | 2002-06-21 18:11:22 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-06-21 18:11:22 +0000 |
commit | bf953252b2b71ba56edf6537e1fa23b52b04d05e (patch) | |
tree | 1740c4de84f047ea26cea9e79aa4ae2a86fe57e2 /contrib | |
parent | 9d1e509caab04f38833419985d1bbfdd7fb29857 (diff) | |
download | FreeBSD-src-bf953252b2b71ba56edf6537e1fa23b52b04d05e.zip FreeBSD-src-bf953252b2b71ba56edf6537e1fa23b52b04d05e.tar.gz |
BDE prefers this organization.
Submitted by: bde
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index d3ca44e..4b9d7c1 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -98,15 +98,6 @@ Boston, MA 02111-1307, USA. */ %{!shared:crtend.o%s} \ %{shared:crtendS.o%s} crtn.o%s}" -/* FreeBSD conditionalizes the use of ".section rodata" depending on - ELF mode - otherwise .text. */ -#undef USE_CONST_SECTION -#define USE_CONST_SECTION TARGET_ELF - -/* ".string" doesn't work for the aout case. */ -#undef STRING_ASM_OP -#define STRING_ASM_OP (TARGET_AOUT ? "\t.asciz\t" : "\t.string\t") - /************************[ Target stuff ]***********************************/ @@ -211,6 +202,17 @@ Boston, MA 02111-1307, USA. */ #undef ASM_APP_OFF #define ASM_APP_OFF "#NO_APP\n" +/* Override the default string pseudo-op of "\t.string\t" from ../elfos.h. + ".string" doesn't work for the aout case. */ +#undef STRING_ASM_OP +#define STRING_ASM_OP (TARGET_AOUT ? "\t.asciz\t" : "\t.string\t") + +/* Override the use of "\t.section\t.rodata" from ../elfos.h. Neither + ".section" nor "rodata" works for the aout case. This forces a fallback + to ".text". */ +#undef USE_CONST_SECTION +#define USE_CONST_SECTION TARGET_ELF + /* This is how to store into the string BUF the symbol_ref name of an internal numbered label where PREFIX is the class of label and NUM is the number within the class. |