Commit ad08e60e by Jason Thorpe Committed by Jason Thorpe

netbsd.h (WCHAR_TYPE): Define.

* 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.

From-SVN: r49528
parent 1af6141b
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> 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
* target.h (struct gcc_target): Added ms_bitfield_layout_p. * target.h (struct gcc_target): Added ms_bitfield_layout_p.
......
...@@ -79,19 +79,5 @@ Boston, MA 02111-1307, USA. */ ...@@ -79,19 +79,5 @@ Boston, MA 02111-1307, USA. */
%{!shared:crtend%O%s} %{shared:crtendS%O%s}" %{!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 #undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (NetBSD/alpha ELF)"); #define TARGET_VERSION fprintf (stderr, " (NetBSD/alpha ELF)");
...@@ -77,15 +77,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -77,15 +77,6 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #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 #define HANDLE_SYSV_PRAGMA
/* We don't have any limit on the length as out debugger is GDB. */ /* We don't have any limit on the length as out debugger is GDB. */
......
...@@ -51,18 +51,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -51,18 +51,6 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #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 #undef ASM_APP_ON
#define ASM_APP_ON "#APP\n" #define ASM_APP_ON "#APP\n"
......
...@@ -22,15 +22,6 @@ ...@@ -22,15 +22,6 @@
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #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 #undef ASM_APP_ON
#define ASM_APP_ON "#APP\n" #define ASM_APP_ON "#APP\n"
......
...@@ -149,15 +149,6 @@ while (0) ...@@ -149,15 +149,6 @@ while (0)
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #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 /* XXX
Here is a bunch of stuff lifted from m68kelf.h. We don't use that Here is a bunch of stuff lifted from m68kelf.h. We don't use that
......
...@@ -28,15 +28,6 @@ ...@@ -28,15 +28,6 @@
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #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. */ /* Every structure or union's size must be a multiple of 2 bytes. */
#define STRUCTURE_SIZE_BOUNDARY 16 #define STRUCTURE_SIZE_BOUNDARY 16
......
...@@ -109,3 +109,16 @@ ...@@ -109,3 +109,16 @@
/* Handle #pragma weak and #pragma pack. */ /* Handle #pragma weak and #pragma pack. */
#define HANDLE_SYSV_PRAGMA #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"
...@@ -81,15 +81,6 @@ Boston, MA 02111-1307, USA. ...@@ -81,15 +81,6 @@ Boston, MA 02111-1307, USA.
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #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. */ /* This is BSD, so it wants DBX format. */
#define DBX_DEBUGGING_INFO #define DBX_DEBUGGING_INFO
......
...@@ -11,15 +11,6 @@ ...@@ -11,15 +11,6 @@
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #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. */ /* This is BSD, so it wants DBX format. */
#define DBX_DEBUGGING_INFO #define DBX_DEBUGGING_INFO
......
...@@ -9,15 +9,6 @@ ...@@ -9,15 +9,6 @@
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #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 /* Until they use ELF or something that handles dwarf2 unwinds
and initialization stuff better. */ and initialization stuff better. */
#undef DWARF2_UNWIND_INFO #undef DWARF2_UNWIND_INFO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment