diff options
author | David O'Brien <obrien@FreeBSD.org> | 1999-02-02 22:48:49 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-02-02 15:48:49 -0700 |
commit | c79d14839713912e676d1bd3269886f2dc851404 (patch) | |
tree | cb046fad3339d6ee5edafee300cc653355f8c53f | |
parent | 8f25d5cda6a5b934a99b5510424282f17cab1bd8 (diff) | |
download | gcc-c79d14839713912e676d1bd3269886f2dc851404.zip gcc-c79d14839713912e676d1bd3269886f2dc851404.tar.gz gcc-c79d14839713912e676d1bd3269886f2dc851404.tar.bz2 |
* i386/freebsd*.h now allows '$' in label names and does not use the PCC struct
return method.
From-SVN: r24992
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/freebsd-elf.h | 7 | ||||
-rw-r--r-- | gcc/config/i386/freebsd.h | 8 |
3 files changed, 17 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff921cf..62f3fd0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 2 23:38:35 1999 David O'Brien <obrien@FreeBSD.org> + + * i386/freebsd*.h now allows '$' in label names and does not use the PCC struct + return method. + Tue Feb 2 22:38:23 1999 Jim Wilson <wilson@cygnus.com> * Makefile.in: Change all uses of AR to AR_FOR_TARGET. Change all uses diff --git a/gcc/config/i386/freebsd-elf.h b/gcc/config/i386/freebsd-elf.h index 3c1934b..0a556fe 100644 --- a/gcc/config/i386/freebsd-elf.h +++ b/gcc/config/i386/freebsd-elf.h @@ -26,8 +26,13 @@ Boston, MA 02111-1307, USA. */ /* The svr4 ABI for the i386 says that records and unions are returned in memory. */ +/* On FreeBSD, we do not. */ #undef DEFAULT_PCC_STRUCT_RETURN -#define DEFAULT_PCC_STRUCT_RETURN 1 +#define DEFAULT_PCC_STRUCT_RETURN 0 + +/* This gets defined in tm.h->linux.h->svr4.h, and keeps us from using + libraries compiled with the native cc, so undef it. */ +#undef NO_DOLLAR_IN_LABEL /* This is how to output an element of a case-vector that is relative. This is only used for PIC code. See comments by the `casesi' insn in diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index df653ae..965e93c 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -86,9 +86,13 @@ Boston, MA 02111-1307, USA. */ #define JUMP_TABLES_IN_TEXT_SECTION 1 -/* Don't default to pcc-struct-return, because gcc is the only compiler, and - we want to retain compatibility with older gcc versions. */ +/* Don't default to pcc-struct-return, because in FreeBSD we prefer the + superior nature of the older gcc way. */ #define DEFAULT_PCC_STRUCT_RETURN 0 + +/* Ensure we the configuration knows our system correctly so we can link with + libraries compiled with the native cc. */ +#undef NO_DOLLAR_IN_LABEL /* i386 freebsd still uses old binutils that don't insert nops by default when the .align directive demands to insert extra space in the text |