* i386/freebsd*.h now allows '$' in label names and does not use the PCC struct
authorDavid O'Brien <obrien@FreeBSD.org>
Tue, 2 Feb 1999 22:48:49 +0000 (22:48 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 2 Feb 1999 22:48:49 +0000 (15:48 -0700)
        return method.

From-SVN: r24992

gcc/ChangeLog
gcc/config/i386/freebsd-elf.h
gcc/config/i386/freebsd.h

index ff921cfd38d9a29301f14e7f91727aa5e9f4ef6c..62f3fd0053f9542517ee7c0408d032befe538491 100644 (file)
@@ -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
index 3c1934b4cda5f379ec33692139139060a55ba426..0a556fe01bddb133d1d68395952fee9d2baa91bf 100644 (file)
@@ -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
index df653ae3bd99b854b5f6e930e0578c0046fc0c90..965e93c9f62010d5fbd6c31ff3a246e83c4636ae 100644 (file)
@@ -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
 \f
 /* 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