netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
authorJeffrey A Law <law@cygnus.com>
Tue, 13 Jan 1998 20:54:16 +0000 (20:54 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 13 Jan 1998 20:54:16 +0000 (13:54 -0700)
        * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
        * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
        * sparc/netbsd.h, vax/netbsd.h: Likewise.

From-SVN: r17339

gcc/ChangeLog
gcc/config/arm/netbsd.h
gcc/config/i386/netbsd.h
gcc/config/m68k/netbsd.h
gcc/config/ns32k/netbsd.h
gcc/config/sparc/netbsd.h
gcc/config/vax/netbsd.h

index c319f7264160db734a51b5d394a4fffee8b101d4..bc8afae96a8c5558f1c32ee3598c396c9e749ec5 100644 (file)
@@ -1,3 +1,9 @@
+Tue Jan 13 21:55:06 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
+       * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
+       * sparc/netbsd.h, vax/netbsd.h: Likewise.
+
 Tue Jan 13 21:37:07 1998  Shigeya Suzuki <shigeya@foretune.co.jp>
 
        * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
index 2bcd165181a73d391273c77dd0bc3ee5b9c5d571..01811101b198c1e3deb6f906ede2c0250cf6fabd 100644 (file)
@@ -1,6 +1,5 @@
-/*
-   NetBSD/arm (RiscBSD) version.
-   Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* NetBSD/arm (RiscBSD) version.
+   Copyright (C) 1993, 1994, 1997 Free Software Foundation, Inc.
    Contributed by Mark Brinicombe (amb@physig.ph.kcl.ac.uk)
 
 This file is part of GNU CC.
@@ -50,7 +49,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    arm32 is the NetBSD port name, so we always define arm32 and __arm32__.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "\
--Dunix -Driscbsd -Darm32 -D__arm32__ -D__NetBSD__ \
+-Dunix -Driscbsd -Darm32 -D__arm32__ -D__arm__ -D__NetBSD__ \
 -Asystem(unix) -Asystem(NetBSD) -Acpu(arm) -Amachine(arm)"
 
 /* Define _POSIX_SOURCE if necessary.  */
@@ -64,6 +63,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #undef CPP_APCS_PC_DEFAULT_SPEC
 #define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
 
+/* Pass -X to the linker so that it will strip symbols starting with 'L' */
+#undef LINK_SPEC
+#define LINK_SPEC "\
+-X %{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{R*} \
+%{static:-Bstatic} %{assert*} \
+"
+
 #undef SIZE_TYPE
 #define SIZE_TYPE "unsigned int"
 
@@ -97,12 +103,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
   fprintf(STREAM, "\tbl\tmcount\n");                                       \
 }
 
+/* On the ARM `@' introduces a comment, so we must use something else
+   for .type directives.  */
+#undef TYPE_OPERAND_FMT
+#define TYPE_OPERAND_FMT "%%%s"
+
 /* VERY BIG NOTE : Change of structure alignment for RiscBSD.
    There are consequences you should be aware of...
 
    Normally GCC/arm uses a structure alignment of 32 for compatibility
    with armcc.  This means that structures are padded to a word
-   boundry.  However this causes problems with bugged NetBSD kernel
+   boundary.  However this causes problems with bugged NetBSD kernel
    code (possibly userland code as well - I have not checked every
    binary).  The nature of this bugged code is to rely on sizeof()
    returning the correct size of various structures rounded to the
@@ -118,7 +129,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
            structures containing shorts will be half word alinged.
            structures containing ints will be word aligned.
 
-      This means structures should be padded to a word boundry if
+      This means structures should be padded to a word boundary if
       alignment of 32 is required for byte structures etc.
       
    2. A potential performance penalty may exist if strings are no longer
@@ -130,3 +141,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    requirements.  */
 #undef STRUCTURE_SIZE_BOUNDARY
 #define STRUCTURE_SIZE_BOUNDARY 8
+
+/* Until they use ELF or something that handles dwarf2 unwinds
+   and initialization stuff better.  */
+#define DWARF2_UNWIND_INFO 0
+
index 8262fb041958a091fe696223a83d7c61b2ac5f99..3442aeadb872d1a8a4f720d5f17de40ffe85b365 100644 (file)
@@ -71,3 +71,8 @@
       fprintf (FILE, "\tcall mcount\n");                               \
     }                                                                  \
 }
+
+/* Until they use ELF or something that handles dwarf2 unwinds
+   and initialization stuff better.  */
+#define DWARF2_UNWIND_INFO 0
+
index 0dbf380c76df353b108a19a78fffdf6f4eb27b3c..1e2f9a530461d00f6c8b0f2716d8d49f8f667e4b 100644 (file)
@@ -56,3 +56,8 @@
 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
    we want to retain compatibility with older gcc versions.  */
 #define DEFAULT_PCC_STRUCT_RETURN 0
+
+/* Until they use ELF or something that handles dwarf2 unwinds
+   and initialization stuff better.  */
+#define DWARF2_UNWIND_INFO 0
+
index 4c7202cff9193a68c514d2236fd31c84314aa626..f2f4895b23a8a524ed7e543767d0f3ade0636a95 100644 (file)
@@ -105,3 +105,8 @@ Boston, MA 02111-1307, USA.
 
 #undef PCC_STATIC_STRUCT_RETURN
 #define DEFAULT_PCC_STRUCT_RETURN 0
+
+/* Until they use ELF or something that handles dwarf2 unwinds
+   and initialization stuff better.  */
+#define DWARF2_UNWIND_INFO 0
+
index 4bb9537b905e9361d433af67806a103c41f11a3b..3fd6fe920202064ac11bba676e02f758b9653c92 100644 (file)
@@ -38,3 +38,8 @@
 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
    we want to retain compatibility with older gcc versions.  */
 #define DEFAULT_PCC_STRUCT_RETURN 0
+
+/* Until they use ELF or something that handles dwarf2 unwinds
+   and initialization stuff better.  */
+#define DWARF2_UNWIND_INFO 0
+
index 1bbda32b4e4cdbd5a3dc7c1691f001046ae2a8b4..dba70237d472c38ad2d4ab2290df5ee0fcf0e13a 100644 (file)
@@ -17,3 +17,8 @@
 
 #undef WCHAR_TYPE_SIZE
 #define WCHAR_TYPE_SIZE 32
+
+/* Until they use ELF or something that handles dwarf2 unwinds
+   and initialization stuff better.  */
+#define DWARF2_UNWIND_INFO 0
+