diff options
-rw-r--r-- | gcc/ChangeLog | 18 | ||||
-rw-r--r-- | gcc/config/alpha/netbsd.h | 14 | ||||
-rw-r--r-- | gcc/config/arm/netbsd.h | 9 | ||||
-rw-r--r-- | gcc/config/i386/netbsd-elf.h | 12 | ||||
-rw-r--r-- | gcc/config/i386/netbsd.h | 9 | ||||
-rw-r--r-- | gcc/config/m68k/netbsd-elf.h | 9 | ||||
-rw-r--r-- | gcc/config/m68k/netbsd.h | 9 | ||||
-rw-r--r-- | gcc/config/netbsd.h | 13 | ||||
-rw-r--r-- | gcc/config/ns32k/netbsd.h | 9 | ||||
-rw-r--r-- | gcc/config/sparc/netbsd.h | 9 | ||||
-rw-r--r-- | gcc/config/vax/netbsd.h | 9 |
11 files changed, 31 insertions, 89 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 458fccd..d2c2605 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,21 @@ +2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> + + * config/netbsd.h (WCHAR_TYPE): Define. + (WCHAR_TYPE_SIZE): Ditto. + (WINT_TYPE): Ditto. + * config/alpha/netbsd.h (WCHAR_TYPE): Remove. + (WCHAR_UNSIGNED): Ditto. + (WCHAR_TYPE_SIZE): Ditto. + (WINT_TYPE): Ditto. + * config/arm/netbsd.h: Likewise. + * config/i386/netbsd-elf.h: Likewise. + * config/i386/netbsd.h: Likewise. + * config/m68k/netbsd-elf.h: Likewise. + * config/m68k/netbsd.h: Likewise. + * config/ns32k/netbsd.h: Likewise. + * config/sparc/netbsd.h: Likewise. + * config/vax/netbsd.: Likewise. + 2002-02-05 Alexandre Oliva <aoliva@redhat.com> * target.h (struct gcc_target): Added ms_bitfield_layout_p. diff --git a/gcc/config/alpha/netbsd.h b/gcc/config/alpha/netbsd.h index 7eacce2..e5551da 100644 --- a/gcc/config/alpha/netbsd.h +++ b/gcc/config/alpha/netbsd.h @@ -79,19 +79,5 @@ Boston, MA 02111-1307, USA. */ %{!shared:crtend%O%s} %{shared:crtendS%O%s}" -/* Make gcc agree with <machine/ansi.h> */ - -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - -#undef WINT_TYPE -#define WINT_TYPE "int" - #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (NetBSD/alpha ELF)"); diff --git a/gcc/config/arm/netbsd.h b/gcc/config/arm/netbsd.h index d1bc009..2be49d8 100644 --- a/gcc/config/arm/netbsd.h +++ b/gcc/config/arm/netbsd.h @@ -77,15 +77,6 @@ Boston, MA 02111-1307, USA. */ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - #define HANDLE_SYSV_PRAGMA /* We don't have any limit on the length as out debugger is GDB. */ diff --git a/gcc/config/i386/netbsd-elf.h b/gcc/config/i386/netbsd-elf.h index 7ff3c21..30267df 100644 --- a/gcc/config/i386/netbsd-elf.h +++ b/gcc/config/i386/netbsd-elf.h @@ -51,18 +51,6 @@ Boston, MA 02111-1307, USA. */ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - -#undef WINT_TYPE -#define WINT_TYPE "int" - #undef ASM_APP_ON #define ASM_APP_ON "#APP\n" diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h index 659a4f0..1d95de2 100644 --- a/gcc/config/i386/netbsd.h +++ b/gcc/config/i386/netbsd.h @@ -22,15 +22,6 @@ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - #undef ASM_APP_ON #define ASM_APP_ON "#APP\n" diff --git a/gcc/config/m68k/netbsd-elf.h b/gcc/config/m68k/netbsd-elf.h index eb155d3..97c1b96 100644 --- a/gcc/config/m68k/netbsd-elf.h +++ b/gcc/config/m68k/netbsd-elf.h @@ -149,15 +149,6 @@ while (0) #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - /* XXX Here is a bunch of stuff lifted from m68kelf.h. We don't use that diff --git a/gcc/config/m68k/netbsd.h b/gcc/config/m68k/netbsd.h index 07dd4e8..5dd0895 100644 --- a/gcc/config/m68k/netbsd.h +++ b/gcc/config/m68k/netbsd.h @@ -28,15 +28,6 @@ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - /* Every structure or union's size must be a multiple of 2 bytes. */ #define STRUCTURE_SIZE_BOUNDARY 16 diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index fba341b..227942c 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -109,3 +109,16 @@ /* Handle #pragma weak and #pragma pack. */ #define HANDLE_SYSV_PRAGMA + + +/* Define some types that are the same on all NetBSD platforms, + making them agree with <machine/ansi.h>. */ + +#undef WCHAR_TYPE +#define WCHAR_TYPE "int" + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE 32 + +#undef WINT_TYPE +#define WINT_TYPE "int" diff --git a/gcc/config/ns32k/netbsd.h b/gcc/config/ns32k/netbsd.h index 12ffdf7..4050700 100644 --- a/gcc/config/ns32k/netbsd.h +++ b/gcc/config/ns32k/netbsd.h @@ -81,15 +81,6 @@ Boston, MA 02111-1307, USA. #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - /* This is BSD, so it wants DBX format. */ #define DBX_DEBUGGING_INFO diff --git a/gcc/config/sparc/netbsd.h b/gcc/config/sparc/netbsd.h index 4be5b6b..b7b4440 100644 --- a/gcc/config/sparc/netbsd.h +++ b/gcc/config/sparc/netbsd.h @@ -11,15 +11,6 @@ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - /* This is BSD, so it wants DBX format. */ #define DBX_DEBUGGING_INFO diff --git a/gcc/config/vax/netbsd.h b/gcc/config/vax/netbsd.h index a2f8532..a75ae09 100644 --- a/gcc/config/vax/netbsd.h +++ b/gcc/config/vax/netbsd.h @@ -9,15 +9,6 @@ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "int" -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - /* Until they use ELF or something that handles dwarf2 unwinds and initialization stuff better. */ #undef DWARF2_UNWIND_INFO |