diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-01-13 20:54:16 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-01-13 13:54:16 -0700 |
commit | e4c4f8df439855c7f2571092cada7e8fd9e38c0f (patch) | |
tree | 978eb78ea4e19c563c8afdbf1f2ed120118c85a6 /gcc | |
parent | 4aa0c2a5c1bcc232698edb1065e87537a86541a7 (diff) | |
download | gcc-e4c4f8df439855c7f2571092cada7e8fd9e38c0f.zip gcc-e4c4f8df439855c7f2571092cada7e8fd9e38c0f.tar.gz gcc-e4c4f8df439855c7f2571092cada7e8fd9e38c0f.tar.bz2 |
netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/netbsd.h | 28 | ||||
-rw-r--r-- | gcc/config/i386/netbsd.h | 5 | ||||
-rw-r--r-- | gcc/config/m68k/netbsd.h | 5 | ||||
-rw-r--r-- | gcc/config/ns32k/netbsd.h | 5 | ||||
-rw-r--r-- | gcc/config/sparc/netbsd.h | 5 | ||||
-rw-r--r-- | gcc/config/vax/netbsd.h | 5 |
7 files changed, 53 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c319f72..bc8afae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/arm/netbsd.h b/gcc/config/arm/netbsd.h index 2bcd165..0181110 100644 --- a/gcc/config/arm/netbsd.h +++ b/gcc/config/arm/netbsd.h @@ -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 + diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h index 8262fb0..3442aea 100644 --- a/gcc/config/i386/netbsd.h +++ b/gcc/config/i386/netbsd.h @@ -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 + diff --git a/gcc/config/m68k/netbsd.h b/gcc/config/m68k/netbsd.h index 0dbf380..1e2f9a5 100644 --- a/gcc/config/m68k/netbsd.h +++ b/gcc/config/m68k/netbsd.h @@ -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 + diff --git a/gcc/config/ns32k/netbsd.h b/gcc/config/ns32k/netbsd.h index 4c7202c..f2f4895 100644 --- a/gcc/config/ns32k/netbsd.h +++ b/gcc/config/ns32k/netbsd.h @@ -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 + diff --git a/gcc/config/sparc/netbsd.h b/gcc/config/sparc/netbsd.h index 4bb9537..3fd6fe9 100644 --- a/gcc/config/sparc/netbsd.h +++ b/gcc/config/sparc/netbsd.h @@ -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 + diff --git a/gcc/config/vax/netbsd.h b/gcc/config/vax/netbsd.h index 1bbda32..dba7023 100644 --- a/gcc/config/vax/netbsd.h +++ b/gcc/config/vax/netbsd.h @@ -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 + |