summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-05-20 15:05:07 +0000
committerthorpej <thorpej@NetBSD.org>2002-05-20 15:05:07 +0000
commitd0a26f03beee72780ce45a71b8d72aed500c10b3 (patch)
treead064330adcca8cea73e46c14f68c0dcc9253774 /gnu
parentba668375145ac9d9e4b1ebc827036b762d88cc45 (diff)
Add native toolchain bits for "armeb" (big-endian ARM).
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/common/arch/armeb/config.h196
-rw-r--r--gnu/usr.bin/binutils/common/arch/armeb/defs.mk30
-rw-r--r--gnu/usr.bin/binutils/gas/arch/armeb/config.h286
-rw-r--r--gnu/usr.bin/binutils/gas/arch/armeb/defs.mk6
-rw-r--r--gnu/usr.bin/binutils/gas/arch/armeb/itbl-cpu.h4
-rw-r--r--gnu/usr.bin/binutils/gas/arch/armeb/obj-format.h4
-rw-r--r--gnu/usr.bin/binutils/gas/arch/armeb/targ-cpu.h4
-rw-r--r--gnu/usr.bin/binutils/gas/arch/armeb/targ-env.h4
-rw-r--r--gnu/usr.bin/binutils/gprof/arch/armeb/defs.mk7
-rw-r--r--gnu/usr.bin/binutils/gprof/arch/armeb/gconfig.h142
-rw-r--r--gnu/usr.bin/binutils/ld/arch/armeb/config.h178
-rw-r--r--gnu/usr.bin/binutils/ld/arch/armeb/defs.mk11
-rw-r--r--gnu/usr.bin/binutils/ld/arch/armeb/ldemul-list.h13
-rw-r--r--gnu/usr.bin/gcc/arch/armeb/auto-host.h370
-rw-r--r--gnu/usr.bin/gcc/arch/armeb/config.h21
-rw-r--r--gnu/usr.bin/gcc/arch/armeb/defs.mk21
-rw-r--r--gnu/usr.bin/gcc/arch/armeb/gencheck.h5
-rw-r--r--gnu/usr.bin/gcc/arch/armeb/options.h5
-rw-r--r--gnu/usr.bin/gcc/arch/armeb/specs.h6
-rw-r--r--gnu/usr.bin/gcc/arch/armeb/tconfig.h15
-rw-r--r--gnu/usr.bin/gcc/arch/armeb/tm.h10
-rw-r--r--gnu/usr.bin/gdb/arch/armeb/config.h534
-rw-r--r--gnu/usr.bin/gdb/arch/armeb/defs.mk8
-rw-r--r--gnu/usr.bin/gdb/arch/armeb/init.c147
-rw-r--r--gnu/usr.bin/gdb/arch/armeb/nm.h4
-rw-r--r--gnu/usr.bin/gdb/arch/armeb/tm.h4
-rw-r--r--gnu/usr.bin/gdb/arch/armeb/version.c7
-rw-r--r--gnu/usr.bin/gdb/arch/armeb/xm.h4
28 files changed, 2046 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/common/arch/armeb/config.h b/gnu/usr.bin/binutils/common/arch/armeb/config.h
new file mode 100644
index 00000000000..a24b38d2724
--- /dev/null
+++ b/gnu/usr.bin/binutils/common/arch/armeb/config.h
@@ -0,0 +1,196 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp */
+
+/* config.h. Generated automatically by configure. */
+/* config.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if using alloca.c. */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+ This function is required for alloca.c support on those systems. */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
+#define HAVE_SYS_WAIT_H 1
+
+/* Define as __inline if that's what the C compiler calls it. */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define if you need to in order for stat and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if lex declares yytext as a char * by default, not a char[]. */
+#define YYTEXT_POINTER 1
+
+/* Define if you have the __argz_count function. */
+/* #undef HAVE___ARGZ_COUNT */
+
+/* Define if you have the __argz_next function. */
+/* #undef HAVE___ARGZ_NEXT */
+
+/* Define if you have the __argz_stringify function. */
+/* #undef HAVE___ARGZ_STRINGIFY */
+
+/* Define if you have the dcgettext function. */
+#define HAVE_DCGETTEXT 1
+
+/* Define if you have the getcwd function. */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getpagesize function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the munmap function. */
+#define HAVE_MUNMAP 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the sbrk function. */
+#define HAVE_SBRK 1
+
+/* Define if you have the setenv function. */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function. */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the setmode function. */
+#define HAVE_SETMODE 1
+
+/* Define if you have the stpcpy function. */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strchr function. */
+#define HAVE_STRCHR 1
+
+/* Define if you have the utimes function. */
+#define HAVE_UTIMES 1
+
+/* Define if you have the <argz.h> header file. */
+/* #undef HAVE_ARGZ_H */
+
+/* Define if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define if you have the <nl_types.h> header file. */
+#define HAVE_NL_TYPES_H 1
+
+/* Define if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define if you have the <sys/file.h> header file. */
+#define HAVE_SYS_FILE_H 1
+
+/* Define if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <values.h> header file. */
+/* #undef HAVE_VALUES_H */
+
+/* Name of package */
+#define PACKAGE "binutils"
+
+/* Version number of package */
+#define VERSION "2.11.2nb1"
+
+/* Define if you have the stpcpy function */
+/* #undef HAVE_STPCPY */
+
+/* Define if your locale.h file contains LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define to 1 if NLS is requested */
+#define ENABLE_NLS 1
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext. */
+#define HAVE_GETTEXT 1
+
+/* Does the platform use an executable suffix? */
+/* #undef HAVE_EXECUTABLE_SUFFIX */
+
+/* Suffix used for executables, if any. */
+#define EXECUTABLE_SUFFIX ""
+
+/* Is the type time_t defined in <time.h>? */
+#define HAVE_TIME_T_IN_TIME_H 1
+
+/* Is the type time_t defined in <sys/types.h>? */
+#define HAVE_TIME_T_IN_TYPES_H 1
+
+/* Does <utime.h> define struct utimbuf? */
+#define HAVE_GOOD_UTIME_H 1
+
+/* Define if fprintf is not declared in system header files. */
+/* #undef NEED_DECLARATION_FPRINTF */
+
+/* Define if strstr is not declared in system header files. */
+/* #undef NEED_DECLARATION_STRSTR */
+
+/* Define if sbrk is not declared in system header files. */
+/* #undef NEED_DECLARATION_SBRK */
+
+/* Define if getenv is not declared in system header files. */
+/* #undef NEED_DECLARATION_GETENV */
+
+/* Define if environ is not declared in system header files. */
+#define NEED_DECLARATION_ENVIRON 1
+
+/* Use b modifier when opening binary files? */
+/* #undef USE_BINARY_FOPEN */
+
+/* Configured target name. */
+#define TARGET "armeb--netbsdelf"
+
diff --git a/gnu/usr.bin/binutils/common/arch/armeb/defs.mk b/gnu/usr.bin/binutils/common/arch/armeb/defs.mk
new file mode 100644
index 00000000000..20917fc312d
--- /dev/null
+++ b/gnu/usr.bin/binutils/common/arch/armeb/defs.mk
@@ -0,0 +1,30 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp
+#
+G_DEFS=-DHAVE_CONFIG_H -I. -I${DIST}/binutils -I.
+G_INCLUDES=-D_GNU_SOURCE -I. -I${DIST}/binutils -I../bfd -I${DIST}/binutils/../bfd -I${DIST}/binutils/../include -I${DIST}/binutils/../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\""
+G_man_MANS=ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 addr2line.1 nlmconv.1 c++filt.1
+G_PROGRAMS=size objdump ar strings ranlib objcopy addr2line readelf nm-new strip-new cxxfilt
+G_TEXINFOS=binutils.texi
+G_size_OBJECTS=size.o bucomm.o version.o filemode.o
+G_size_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
+G_objdump_OBJECTS=objdump.o prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o version.o filemode.o
+G_objdump_DEPENDENCIES=../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a
+G_ar_OBJECTS=arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o bucomm.o version.o filemode.o
+G_ar_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
+G_strings_OBJECTS=strings.o bucomm.o version.o filemode.o
+G_strings_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
+G_ranlib_OBJECTS=ar.o is-ranlib.o arparse.o arlex.o arsup.o rename.o bucomm.o version.o filemode.o
+G_ranlib_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
+G_objcopy_OBJECTS=objcopy.o not-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
+G_objcopy_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
+G_addr2line_OBJECTS=addr2line.o bucomm.o version.o filemode.o
+G_addr2line_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
+G_readelf_OBJECTS=readelf.o version.o unwind-ia64.o
+G_readelf_DEPENDENCIES=../libiberty/libiberty.a
+G_nm_new_OBJECTS=nm.o bucomm.o version.o filemode.o
+G_nm_new_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
+G_strip_new_OBJECTS=objcopy.o is-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
+G_strip_new_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
+G_cxxfilt_OBJECTS=
+G_cxxfilt_DEPENDENCIES=cplus-dem.o underscore.o ../libiberty/libiberty.a
diff --git a/gnu/usr.bin/binutils/gas/arch/armeb/config.h b/gnu/usr.bin/binutils/gas/arch/armeb/config.h
new file mode 100644
index 00000000000..42dbd1dbc53
--- /dev/null
+++ b/gnu/usr.bin/binutils/gas/arch/armeb/config.h
@@ -0,0 +1,286 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp */
+
+/* config.h. Generated automatically by configure. */
+/* config.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if using alloca.c. */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+ This function is required for alloca.c support on those systems. */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define as __inline if that's what the C compiler calls it. */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define if you need to in order for stat and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if lex declares yytext as a char * by default, not a char[]. */
+#define YYTEXT_POINTER 1
+
+/* Define if you have the __argz_count function. */
+/* #undef HAVE___ARGZ_COUNT */
+
+/* Define if you have the __argz_next function. */
+/* #undef HAVE___ARGZ_NEXT */
+
+/* Define if you have the __argz_stringify function. */
+/* #undef HAVE___ARGZ_STRINGIFY */
+
+/* Define if you have the dcgettext function. */
+#define HAVE_DCGETTEXT 1
+
+/* Define if you have the getcwd function. */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getpagesize function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the munmap function. */
+#define HAVE_MUNMAP 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the remove function. */
+/* #undef HAVE_REMOVE */
+
+/* Define if you have the sbrk function. */
+#define HAVE_SBRK 1
+
+/* Define if you have the setenv function. */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function. */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the stpcpy function. */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strchr function. */
+#define HAVE_STRCHR 1
+
+/* Define if you have the unlink function. */
+#define HAVE_UNLINK 1
+
+/* Define if you have the <argz.h> header file. */
+/* #undef HAVE_ARGZ_H */
+
+/* Define if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+/* Define if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define if you have the <nl_types.h> header file. */
+#define HAVE_NL_TYPES_H 1
+
+/* Define if you have the <stdarg.h> header file. */
+#define HAVE_STDARG_H 1
+
+/* Define if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <values.h> header file. */
+/* #undef HAVE_VALUES_H */
+
+/* Define if you have the <varargs.h> header file. */
+#define HAVE_VARARGS_H 1
+
+/* Name of package */
+#define PACKAGE "gas"
+
+/* Version number of package */
+#define VERSION "2.11.2nb1"
+
+/* Define if defaulting to ELF on SCO 5. */
+/* #undef SCO_ELF */
+
+/* Using strict COFF? */
+/* #undef STRICTCOFF */
+
+/* Use ELF stabs for MIPS, not ECOFF stabs */
+/* #undef MIPS_STABS_ELF */
+
+/* Use ELF stabs for MIPS, not ECOFF stabs */
+/* #undef MIPS_STABS_ELF */
+
+/* Define if default target is PowerPC Solaris. */
+/* #undef TARGET_SOLARIS_COMMENT */
+
+/* Define as 1 if big endian. */
+#define TARGET_BYTES_BIG_ENDIAN 1
+
+/* Default architecture. */
+/* #undef DEFAULT_ARCH */
+
+/* Default architecture. */
+/* #undef DEFAULT_ARCH */
+
+/* Using cgen code? */
+/* #undef USING_CGEN */
+
+/* Using i386 COFF? */
+/* #undef I386COFF */
+
+/* Using m68k COFF? */
+/* #undef M68KCOFF */
+
+/* Using m88k COFF? */
+/* #undef M88KCOFF */
+
+/* a.out support? */
+/* #undef OBJ_MAYBE_AOUT */
+
+/* b.out support? */
+/* #undef OBJ_MAYBE_BOUT */
+
+/* COFF support? */
+/* #undef OBJ_MAYBE_COFF */
+
+/* ECOFF support? */
+/* #undef OBJ_MAYBE_ECOFF */
+
+/* ELF support? */
+/* #undef OBJ_MAYBE_ELF */
+
+/* generic support? */
+/* #undef OBJ_MAYBE_GENERIC */
+
+/* HP300 support? */
+/* #undef OBJ_MAYBE_HP300 */
+
+/* IEEE support? */
+/* #undef OBJ_MAYBE_IEEE */
+
+/* SOM support? */
+/* #undef OBJ_MAYBE_SOM */
+
+/* VMS support? */
+/* #undef OBJ_MAYBE_VMS */
+
+/* Use emulation support? */
+/* #undef USE_EMULATIONS */
+
+/* Supported emulations. */
+#define EMULATIONS
+
+/* Default emulation. */
+#define DEFAULT_EMULATION ""
+
+/* old COFF support? */
+/* #undef MANY_SEGMENTS */
+
+/* Use BFD interface? */
+#define BFD_ASSEMBLER 1
+
+/* Target alias. */
+#define TARGET_ALIAS "armeb--netbsdelf"
+
+/* Canonical target. */
+#define TARGET_CANONICAL "armeb--netbsdelf"
+
+/* Target CPU. */
+#define TARGET_CPU "armeb"
+
+/* Target vendor. */
+#define TARGET_VENDOR ""
+
+/* Target OS. */
+#define TARGET_OS "netbsdelf"
+
+/* Define if you have the stpcpy function */
+/* #undef HAVE_STPCPY */
+
+/* Define if your locale.h file contains LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define to 1 if NLS is requested */
+#define ENABLE_NLS 1
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext. */
+#define HAVE_GETTEXT 1
+
+/* Compiling cross-assembler? */
+/* #undef CROSS_COMPILE */
+
+/* assert broken? */
+/* #undef BROKEN_ASSERT */
+
+/* Define if strstr is not declared in system header files. */
+/* #undef NEED_DECLARATION_STRSTR */
+
+/* Define if malloc is not declared in system header files. */
+/* #undef NEED_DECLARATION_MALLOC */
+
+/* Define if free is not declared in system header files. */
+/* #undef NEED_DECLARATION_FREE */
+
+/* Define if sbrk is not declared in system header files. */
+/* #undef NEED_DECLARATION_SBRK */
+
+/* Define if environ is not declared in system header files. */
+#define NEED_DECLARATION_ENVIRON 1
+
+/* Define if errno is not declared in system header files. */
+/* #undef NEED_DECLARATION_ERRNO */
+
diff --git a/gnu/usr.bin/binutils/gas/arch/armeb/defs.mk b/gnu/usr.bin/binutils/gas/arch/armeb/defs.mk
new file mode 100644
index 00000000000..e89fb6b845d
--- /dev/null
+++ b/gnu/usr.bin/binutils/gas/arch/armeb/defs.mk
@@ -0,0 +1,6 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp
+#
+G_DEFS=-DHAVE_CONFIG_H -I. -I${DIST}/gas -I.
+G_INCLUDES=-D_GNU_SOURCE -I. -I${DIST}/gas -I../bfd -I${DIST}/gas/config -I${DIST}/gas/../include -I${DIST}/gas/.. -I${DIST}/gas/../bfd -I${DIST}/gas/../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\""
+G_OBJS=tc-arm.o obj-elf.o atof-ieee.o app.o as.o atof-generic.o bignum-copy.o cond.o depend.o dwarf2dbg.o ehopt.o expr.o flonum-konst.o flonum-copy.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o literal.o messages.o output-file.o read.o subsegs.o symbols.o write.o listing.o ecoff.o stabs.o sb.o macro.o
diff --git a/gnu/usr.bin/binutils/gas/arch/armeb/itbl-cpu.h b/gnu/usr.bin/binutils/gas/arch/armeb/itbl-cpu.h
new file mode 100644
index 00000000000..e1ca0f8d71c
--- /dev/null
+++ b/gnu/usr.bin/binutils/gas/arch/armeb/itbl-cpu.h
@@ -0,0 +1,4 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include "itbl-arm.h"
diff --git a/gnu/usr.bin/binutils/gas/arch/armeb/obj-format.h b/gnu/usr.bin/binutils/gas/arch/armeb/obj-format.h
new file mode 100644
index 00000000000..3d15bb99d7d
--- /dev/null
+++ b/gnu/usr.bin/binutils/gas/arch/armeb/obj-format.h
@@ -0,0 +1,4 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include "obj-elf.h"
diff --git a/gnu/usr.bin/binutils/gas/arch/armeb/targ-cpu.h b/gnu/usr.bin/binutils/gas/arch/armeb/targ-cpu.h
new file mode 100644
index 00000000000..523f8577620
--- /dev/null
+++ b/gnu/usr.bin/binutils/gas/arch/armeb/targ-cpu.h
@@ -0,0 +1,4 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include "tc-arm.h"
diff --git a/gnu/usr.bin/binutils/gas/arch/armeb/targ-env.h b/gnu/usr.bin/binutils/gas/arch/armeb/targ-env.h
new file mode 100644
index 00000000000..d553ed3c8cd
--- /dev/null
+++ b/gnu/usr.bin/binutils/gas/arch/armeb/targ-env.h
@@ -0,0 +1,4 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include "te-nbsd.h"
diff --git a/gnu/usr.bin/binutils/gprof/arch/armeb/defs.mk b/gnu/usr.bin/binutils/gprof/arch/armeb/defs.mk
new file mode 100644
index 00000000000..500c4ada620
--- /dev/null
+++ b/gnu/usr.bin/binutils/gprof/arch/armeb/defs.mk
@@ -0,0 +1,7 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp
+#
+G_DEFS=-DHAVE_CONFIG_H -I. -I${DIST}/gprof -I.
+G_gprof_OBJECTS=basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o
+G_INCLUDES=-D_GNU_SOURCE -DDEBUG -I../bfd -I${DIST}/gprof/../include -I${DIST}/gprof/../bfd -I${DIST}/gprof/../intl -I../intl -I. -DLOCALEDIR="\"/usr/local/share/locale\""
+G_TEXINFOS=gprof.texi
diff --git a/gnu/usr.bin/binutils/gprof/arch/armeb/gconfig.h b/gnu/usr.bin/binutils/gprof/arch/armeb/gconfig.h
new file mode 100644
index 00000000000..783fdbf0da3
--- /dev/null
+++ b/gnu/usr.bin/binutils/gprof/arch/armeb/gconfig.h
@@ -0,0 +1,142 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp */
+
+/* gconfig.h. Generated automatically by configure. */
+/* gconfig.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if using alloca.c. */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+ This function is required for alloca.c support on those systems. */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define as __inline if that's what the C compiler calls it. */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define if you need to in order for stat and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define as the size of a pointer in the target profile file format. */
+#define GMON_PTR_SIZE 4
+
+/* Define if you have the __argz_count function. */
+/* #undef HAVE___ARGZ_COUNT */
+
+/* Define if you have the __argz_next function. */
+/* #undef HAVE___ARGZ_NEXT */
+
+/* Define if you have the __argz_stringify function. */
+/* #undef HAVE___ARGZ_STRINGIFY */
+
+/* Define if you have the dcgettext function. */
+#define HAVE_DCGETTEXT 1
+
+/* Define if you have the getcwd function. */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getpagesize function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the munmap function. */
+#define HAVE_MUNMAP 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the setenv function. */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function. */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the setmode function. */
+#define HAVE_SETMODE 1
+
+/* Define if you have the stpcpy function. */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strchr function. */
+#define HAVE_STRCHR 1
+
+/* Define if you have the <argz.h> header file. */
+/* #undef HAVE_ARGZ_H */
+
+/* Define if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define if you have the <nl_types.h> header file. */
+#define HAVE_NL_TYPES_H 1
+
+/* Define if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <sys/gmon_out.h> header file. */
+/* #undef HAVE_SYS_GMON_OUT_H */
+
+/* Define if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <values.h> header file. */
+/* #undef HAVE_VALUES_H */
+
+/* Name of package */
+#define PACKAGE "gprof"
+
+/* Version number of package */
+#define VERSION "2.11.2nb1"
+
+/* Define if you have the stpcpy function */
+/* #undef HAVE_STPCPY */
+
+/* Define if your locale.h file contains LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define to 1 if NLS is requested */
+#define ENABLE_NLS 1
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext. */
+#define HAVE_GETTEXT 1
+
diff --git a/gnu/usr.bin/binutils/ld/arch/armeb/config.h b/gnu/usr.bin/binutils/ld/arch/armeb/config.h
new file mode 100644
index 00000000000..f9044b7ebb0
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/arch/armeb/config.h
@@ -0,0 +1,178 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp */
+
+/* config.h. Generated automatically by configure. */
+/* config.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if using alloca.c. */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+ This function is required for alloca.c support on those systems. */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define as __inline if that's what the C compiler calls it. */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define if you need to in order for stat and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if lex declares yytext as a char * by default, not a char[]. */
+#define YYTEXT_POINTER 1
+
+/* Define if you have the __argz_count function. */
+/* #undef HAVE___ARGZ_COUNT */
+
+/* Define if you have the __argz_next function. */
+/* #undef HAVE___ARGZ_NEXT */
+
+/* Define if you have the __argz_stringify function. */
+/* #undef HAVE___ARGZ_STRINGIFY */
+
+/* Define if you have the dcgettext function. */
+#define HAVE_DCGETTEXT 1
+
+/* Define if you have the getcwd function. */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getpagesize function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the munmap function. */
+#define HAVE_MUNMAP 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the sbrk function. */
+#define HAVE_SBRK 1
+
+/* Define if you have the setenv function. */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function. */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the stpcpy function. */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strchr function. */
+#define HAVE_STRCHR 1
+
+/* Define if you have the <argz.h> header file. */
+/* #undef HAVE_ARGZ_H */
+
+/* Define if you have the <dirent.h> header file. */
+#define HAVE_DIRENT_H 1
+
+/* Define if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define if you have the <ndir.h> header file. */
+/* #undef HAVE_NDIR_H */
+
+/* Define if you have the <nl_types.h> header file. */
+#define HAVE_NL_TYPES_H 1
+
+/* Define if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define if you have the <sys/dir.h> header file. */
+/* #undef HAVE_SYS_DIR_H */
+
+/* Define if you have the <sys/ndir.h> header file. */
+/* #undef HAVE_SYS_NDIR_H */
+
+/* Define if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <values.h> header file. */
+/* #undef HAVE_VALUES_H */
+
+/* Name of package */
+#define PACKAGE "ld"
+
+/* Version number of package */
+#define VERSION "2.11.2nb1"
+
+/* Define if you have the stpcpy function */
+/* #undef HAVE_STPCPY */
+
+/* Define if your locale.h file contains LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define to 1 if NLS is requested */
+#define ENABLE_NLS 1
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext. */
+#define HAVE_GETTEXT 1
+
+/* Use b modifier when opening binary files? */
+/* #undef USE_BINARY_FOPEN */
+
+/* Define if strstr is not declared in system header files. */
+/* #undef NEED_DECLARATION_STRSTR */
+
+/* Define if free is not declared in system header files. */
+/* #undef NEED_DECLARATION_FREE */
+
+/* Define if sbrk is not declared in system header files. */
+/* #undef NEED_DECLARATION_SBRK */
+
+/* Define if getenv is not declared in system header files. */
+/* #undef NEED_DECLARATION_GETENV */
+
+/* Define if environ is not declared in system header files. */
+#define NEED_DECLARATION_ENVIRON 1
+
+/* Additional extension a shared object might have. */
+/* #undef EXTRA_SHLIB_EXTENSION */
+
diff --git a/gnu/usr.bin/binutils/ld/arch/armeb/defs.mk b/gnu/usr.bin/binutils/ld/arch/armeb/defs.mk
new file mode 100644
index 00000000000..807585dc8c1
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/arch/armeb/defs.mk
@@ -0,0 +1,11 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp
+#
+G_DEFS=-DHAVE_CONFIG_H -I. -I${DIST}/ld -I.
+G_EMUL=armelfb_nbsd
+G_EMULATION_OFILES=earmelfb_nbsd.o earmelf_nbsd.o earmnbsd.o
+G_INCLUDES=-D_GNU_SOURCE -I. -I${DIST}/ld -I../bfd -I${DIST}/ld/../bfd -I${DIST}/ld/../include -I${DIST}/ld/../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\""
+G_OFILES=ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o earmelfb_nbsd.o earmelf_nbsd.o earmnbsd.o
+G_STRINGIFY=astring.sed
+G_TEXINFOS=ld.texinfo
+G_target_alias=armeb--netbsdelf
diff --git a/gnu/usr.bin/binutils/ld/arch/armeb/ldemul-list.h b/gnu/usr.bin/binutils/ld/arch/armeb/ldemul-list.h
new file mode 100644
index 00000000000..c1be9f7cda7
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/arch/armeb/ldemul-list.h
@@ -0,0 +1,13 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp */
+
+/* This file is automatically generated. DO NOT EDIT! */
+extern ld_emulation_xfer_type ld_armelfb_nbsd_emulation;
+extern ld_emulation_xfer_type ld_armelf_nbsd_emulation;
+extern ld_emulation_xfer_type ld_armnbsd_emulation;
+
+#define EMULATION_LIST \
+ &ld_armelfb_nbsd_emulation, \
+ &ld_armelf_nbsd_emulation, \
+ &ld_armnbsd_emulation, \
+ 0
diff --git a/gnu/usr.bin/gcc/arch/armeb/auto-host.h b/gnu/usr.bin/gcc/arch/armeb/auto-host.h
new file mode 100644
index 00000000000..b6aeab3e9e0
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/armeb/auto-host.h
@@ -0,0 +1,370 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+/* auto-host.h. Generated automatically by configure. */
+/* config.in. Generated automatically from configure.in by autoheader. */
+/* Define if you can safely include both <string.h> and <strings.h>. */
+#define STRING_WITH_STRINGS 1
+
+/* Define if printf supports "%p". */
+#define HAVE_PRINTF_PTR 1
+
+/* Define if you want expensive run-time checks. */
+/* #undef ENABLE_CHECKING */
+
+/* Define to 1 if NLS is requested. */
+/* #undef ENABLE_NLS */
+
+/* Define as 1 if you have catgets and don't want to use GNU gettext. */
+/* #undef HAVE_CATGETS */
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext. */
+/* #undef HAVE_GETTEXT */
+
+/* Define if your cpp understands the stringify operator. */
+#define HAVE_CPP_STRINGIFY 1
+
+/* Define if your compiler understands volatile. */
+#define HAVE_VOLATILE 1
+
+/* Define if your assembler supports specifying the maximum number
+ of bytes to skip when using the GAS .p2align command. */
+/* #undef HAVE_GAS_MAX_SKIP_P2ALIGN */
+
+/* Define if your assembler supports .balign and .p2align. */
+/* #undef HAVE_GAS_BALIGN_AND_P2ALIGN */
+
+/* Define if your assembler supports .subsection and .subsection -1 starts
+ emitting at the beginning of your section */
+/* #undef HAVE_GAS_SUBSECTION_ORDERING */
+
+/* Define if your assembler uses the old HImode fild and fist notation. */
+/* #undef HAVE_GAS_FILDS_FISTS */
+
+/* Define if you have a working <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define if your locale.h file contains LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define as 1 if you have the stpcpy function. */
+/* #undef HAVE_STPCPY */
+
+/* Whether malloc must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_MALLOC */
+
+/* Whether realloc must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_REALLOC */
+
+/* Whether calloc must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_CALLOC */
+
+/* Whether free must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_FREE */
+
+/* Whether bcopy must be declared even if <string.h> is included. */
+/* #undef NEED_DECLARATION_BCOPY */
+
+/* Whether bcmp must be declared even if <string.h> is included. */
+/* #undef NEED_DECLARATION_BCMP */
+
+/* Whether bzero must be declared even if <string.h> is included. */
+/* #undef NEED_DECLARATION_BZERO */
+
+/* Whether index must be declared even if <string.h> is included. */
+/* #undef NEED_DECLARATION_INDEX */
+
+/* Whether rindex must be declared even if <string.h> is included. */
+/* #undef NEED_DECLARATION_RINDEX */
+
+/* Whether getenv must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_GETENV */
+
+/* Whether atol must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_ATOL */
+
+/* Whether atof must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_ATOF */
+
+/* Whether sbrk must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_SBRK */
+
+/* Whether abort must be declared even if <stdlib.h> is included. */
+/* #undef NEED_DECLARATION_ABORT */
+
+/* Whether strerror must be declared even if <string.h> is included. */
+/* #undef NEED_DECLARATION_STRERROR */
+
+/* Whether strsignal must be declared even if <string.h> is included. */
+/* #undef NEED_DECLARATION_STRSIGNAL */
+
+/* Whether strstr must be declared even if <string.h> is included. */
+/* #undef NEED_DECLARATION_STRSTR */
+
+/* Whether getcwd must be declared even if <unistd.h> is included. */
+/* #undef NEED_DECLARATION_GETCWD */
+
+/* Whether getwd must be declared even if <unistd.h> is included. */
+/* #undef NEED_DECLARATION_GETWD */
+
+/* Whether getrlimit must be declared even if <sys/resource.h> is included. */
+/* #undef NEED_DECLARATION_GETRLIMIT */
+
+/* Whether setrlimit must be declared even if <sys/resource.h> is included. */
+/* #undef NEED_DECLARATION_SETRLIMIT */
+
+/* Whether putc_unlocked must be declared even if <stdio.h> is included. */
+/* #undef NEED_DECLARATION_PUTC_UNLOCKED */
+
+/* Whether fputs_unlocked must be declared even if <stdio.h> is included. */
+#define NEED_DECLARATION_FPUTS_UNLOCKED 1
+
+/* Define to enable the use of a default assembler. */
+/* #undef DEFAULT_ASSEMBLER */
+
+/* Define to enable the use of a default linker. */
+/* #undef DEFAULT_LINKER */
+
+/* Define if host mkdir takes a single argument. */
+/* #undef MKDIR_TAKES_ONE_ARG */
+
+/* Define to the name of the distribution. */
+#define PACKAGE "gcc"
+
+/* Define to the version of the distribution. */
+#define VERSION "2.95.3"
+
+/* Define if using alloca.c. */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+ This function is required for alloca.c support on those systems. */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if you don't have vprintf but do have _doprnt. */
+/* #undef HAVE_DOPRNT */
+
+/* Define if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
+#define HAVE_SYS_WAIT_H 1
+
+/* Define if you have <vfork.h>. */
+/* #undef HAVE_VFORK_H */
+
+/* Define if you have the vprintf function. */
+#define HAVE_VPRINTF 1
+
+/* Define as __inline if that's what the C compiler calls it. */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef pid_t */
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if `sys_siglist' is declared by <signal.h>. */
+#define SYS_SIGLIST_DECLARED 1
+
+/* Define if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Define vfork as fork if vfork does not work. */
+/* #undef vfork */
+
+/* Define if you have the __argz_count function. */
+/* #undef HAVE___ARGZ_COUNT */
+
+/* Define if you have the __argz_next function. */
+/* #undef HAVE___ARGZ_NEXT */
+
+/* Define if you have the __argz_stringify function. */
+/* #undef HAVE___ARGZ_STRINGIFY */
+
+/* Define if you have the atoll function. */
+#define HAVE_ATOLL 1
+
+/* Define if you have the atoq function. */
+/* #undef HAVE_ATOQ */
+
+/* Define if you have the bcmp function. */
+#define HAVE_BCMP 1
+
+/* Define if you have the bcopy function. */
+#define HAVE_BCOPY 1
+
+/* Define if you have the bsearch function. */
+#define HAVE_BSEARCH 1
+
+/* Define if you have the bzero function. */
+#define HAVE_BZERO 1
+
+/* Define if you have the dcgettext function. */
+/* #undef HAVE_DCGETTEXT */
+
+/* Define if you have the fputc_unlocked function. */
+/* #undef HAVE_FPUTC_UNLOCKED */
+
+/* Define if you have the fputs_unlocked function. */
+/* #undef HAVE_FPUTS_UNLOCKED */
+
+/* Define if you have the getcwd function. */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getpagesize function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the getrlimit function. */
+#define HAVE_GETRLIMIT 1
+
+/* Define if you have the gettimeofday function. */
+#define HAVE_GETTIMEOFDAY 1
+
+/* Define if you have the index function. */
+#define HAVE_INDEX 1
+
+/* Define if you have the isascii function. */
+#define HAVE_ISASCII 1
+
+/* Define if you have the kill function. */
+#define HAVE_KILL 1
+
+/* Define if you have the munmap function. */
+#define HAVE_MUNMAP 1
+
+/* Define if you have the popen function. */
+#define HAVE_POPEN 1
+
+/* Define if you have the putc_unlocked function. */
+#define HAVE_PUTC_UNLOCKED 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the rindex function. */
+#define HAVE_RINDEX 1
+
+/* Define if you have the setenv function. */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function. */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the setrlimit function. */
+#define HAVE_SETRLIMIT 1
+
+/* Define if you have the stpcpy function. */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strchr function. */
+#define HAVE_STRCHR 1
+
+/* Define if you have the strdup function. */
+#define HAVE_STRDUP 1
+
+/* Define if you have the strerror function. */
+#define HAVE_STRERROR 1
+
+/* Define if you have the strrchr function. */
+#define HAVE_STRRCHR 1
+
+/* Define if you have the strsignal function. */
+#define HAVE_STRSIGNAL 1
+
+/* Define if you have the strtoul function. */
+#define HAVE_STRTOUL 1
+
+/* Define if you have the sysconf function. */
+#define HAVE_SYSCONF 1
+
+/* Define if you have the <argz.h> header file. */
+/* #undef HAVE_ARGZ_H */
+
+/* Define if you have the <direct.h> header file. */
+/* #undef HAVE_DIRECT_H */
+
+/* Define if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define if you have the <nl_types.h> header file. */
+#define HAVE_NL_TYPES_H 1
+
+/* Define if you have the <stab.h> header file. */
+#define HAVE_STAB_H 1
+
+/* Define if you have the <stddef.h> header file. */
+#define HAVE_STDDEF_H 1
+
+/* Define if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define if you have the <sys/file.h> header file. */
+#define HAVE_SYS_FILE_H 1
+
+/* Define if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <sys/resource.h> header file. */
+#define HAVE_SYS_RESOURCE_H 1
+
+/* Define if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define if you have the <sys/times.h> header file. */
+#define HAVE_SYS_TIMES_H 1
+
+/* Define if you have the <time.h> header file. */
+#define HAVE_TIME_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the i library (-li). */
+/* #undef HAVE_LIBI */
diff --git a/gnu/usr.bin/gcc/arch/armeb/config.h b/gnu/usr.bin/gcc/arch/armeb/config.h
new file mode 100644
index 00000000000..b43bf20881c
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/armeb/config.h
@@ -0,0 +1,21 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#ifdef IN_GCC
+#include "auto-host.h"
+#endif
+#ifdef IN_GCC
+#include "gansidecl.h"
+#endif
+#ifdef IN_GCC
+#include "arm/xm-netbsd.h"
+#endif
+#ifdef IN_GCC
+#include "arm/xm-arm.h"
+#endif
+#ifdef IN_GCC
+#include "xm-netbsd.h"
+#endif
+#ifdef IN_GCC
+#include "hwint.h"
+#endif
diff --git a/gnu/usr.bin/gcc/arch/armeb/defs.mk b/gnu/usr.bin/gcc/arch/armeb/defs.mk
new file mode 100644
index 00000000000..376e42fb9c6
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/armeb/defs.mk
@@ -0,0 +1,21 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp
+#
+G_ALL_CFLAGS= -DIN_GCC -g -DHAVE_CONFIG_H
+G_ALL_CPPFLAGS=
+G_C_AND_OBJC_OBJS=c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-iterate.o
+G_C_OBJS=c-parse.o c-lang.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-iterate.o
+G_CCCP_OBJS=cccp.o cexp.o intl.o prefix.o version.o mbchar.o
+G_GCOV_OBJS=gcov.o intl.o
+G_PROTO_OBJS=getpwd.o intl.o version.o
+G_HOST_PRINT=l-print-rtl.o
+G_HOST_RTL=l-rtl.o l-bitmap.o
+G_HOST_RTLANAL=l-rtlanal.o
+G_INCLUDES=-I. -I${DIST}/gcc -I${DIST}/gcc/config -I${DIST}/gcc/../include
+G_md_file=${DIST}/gcc/config/arm/arm.md
+G_OBJC_OBJS=objc-parse.o objc-act.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-iterate.o
+G_OBJS=toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o function.o stmt.o except.o expr.o calls.o expmed.o explow.o optabs.o intl.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o genrtl.o real.o dbxout.o sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o alias.o gcse.o integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o varray.o regclass.o regmove.o local-alloc.o global.o reload.o reload1.o caller-save.o insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o lcm.o profile.o insn-attrtab.o arm.o getpwd.o convert.o mbchar.o dyn-string.o splay-tree.o graph.o sbitmap.o resource.o hash.o
+G_out_file=${DIST}/gcc/config/arm/arm.c
+G_version=2.95.3
+G_CXX_OBJS=call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o decl2.o error.o lex.o parse.o ptree.o rtti.o spew.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o xref.o repo.o
+G_F77_OBJS=bad.o bit.o bld.o com.o data.o equiv.o expr.o global.o implic.o info.o intrin.o lab.o lex.o malloc.o name.o parse.o proj.o src.o st.o sta.o stb.o stc.o std.o ste.o storag.o stp.o str.o sts.o stt.o stu.o stv.o stw.o symbol.o target.o top.o type.o version.o where.o
diff --git a/gnu/usr.bin/gcc/arch/armeb/gencheck.h b/gnu/usr.bin/gcc/arch/armeb/gencheck.h
new file mode 100644
index 00000000000..16f070f1fb7
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/armeb/gencheck.h
@@ -0,0 +1,5 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include "cp/cp-tree.def"
+#include "objc/objc-tree.def"
diff --git a/gnu/usr.bin/gcc/arch/armeb/options.h b/gnu/usr.bin/gcc/arch/armeb/options.h
new file mode 100644
index 00000000000..68a47625147
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/armeb/options.h
@@ -0,0 +1,5 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include "cp/lang-options.h"
+#include "f/lang-options.h"
diff --git a/gnu/usr.bin/gcc/arch/armeb/specs.h b/gnu/usr.bin/gcc/arch/armeb/specs.h
new file mode 100644
index 00000000000..3d3654f3be1
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/armeb/specs.h
@@ -0,0 +1,6 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include "cp/lang-specs.h"
+#include "f/lang-specs.h"
+#include "objc/lang-specs.h"
diff --git a/gnu/usr.bin/gcc/arch/armeb/tconfig.h b/gnu/usr.bin/gcc/arch/armeb/tconfig.h
new file mode 100644
index 00000000000..c2998984661
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/armeb/tconfig.h
@@ -0,0 +1,15 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp */
+
+#ifdef IN_GCC
+#include "gansidecl.h"
+#endif
+#ifdef IN_GCC
+#include "arm/xm-netbsd.h"
+#endif
+#ifdef IN_GCC
+#include "arm/xm-arm.h"
+#endif
+#ifdef IN_GCC
+#include "xm-netbsd.h"
+#endif
diff --git a/gnu/usr.bin/gcc/arch/armeb/tm.h b/gnu/usr.bin/gcc/arch/armeb/tm.h
new file mode 100644
index 00000000000..cda4b174bb8
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/armeb/tm.h
@@ -0,0 +1,10 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#define TARGET_CPU_DEFAULT (TARGET_CPU_generic)
+#ifdef IN_GCC
+#include "gansidecl.h"
+#endif
+#ifdef IN_GCC
+#include "arm/netbsd-elf-be.h"
+#endif
diff --git a/gnu/usr.bin/gdb/arch/armeb/config.h b/gnu/usr.bin/gdb/arch/armeb/config.h
new file mode 100644
index 00000000000..46fee88e431
--- /dev/null
+++ b/gnu/usr.bin/gdb/arch/armeb/config.h
@@ -0,0 +1,534 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp */
+
+/* config.h. Generated automatically by configure. */
+/* config.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if on AIX 3.
+ System headers sometimes define this.
+ We just want to avoid a redefinition error message. */
+#ifndef _ALL_SOURCE
+/* #undef _ALL_SOURCE */
+#endif
+
+/* Define if using alloca.c. */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+ This function is required for alloca.c support on those systems. */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if the `long double' type works. */
+#define HAVE_LONG_DOUBLE 1
+
+/* Define if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define as __inline if that's what the C compiler calls it. */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define if you need to in order for stat and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define as the return type of signal handlers (int or void). */
+#define RETSIGTYPE void
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
+/* #undef STAT_MACROS_BROKEN */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if compiling on Solaris 7. */
+/* #undef _MSE_INT_H */
+
+/* Define if the prfpregset_t type is broken. */
+/* #undef PRFPREGSET_T_BROKEN */
+
+/* Define if you want to use new multi-fd /proc interface
+ (replaces HAVE_MULTIPLE_PROC_FDS as well as other macros). */
+/* #undef NEW_PROC_API */
+
+/* Define if ioctl argument PIOCSET is available. */
+/* #undef HAVE_PROCFS_PIOCSET */
+
+/* Define if the `long long' type works. */
+#define CC_HAS_LONG_LONG 1
+
+/* Define if the "ll" format works to print long long ints. */
+#define PRINTF_HAS_LONG_LONG 1
+
+/* Define if the "%Lg" format works to print long doubles. */
+#define PRINTF_HAS_LONG_DOUBLE 1
+
+/* Define if the "%Lg" format works to scan long doubles. */
+#define SCANF_HAS_LONG_DOUBLE 1
+
+/* Define if using Solaris thread debugging. */
+/* #undef HAVE_THREAD_DB_LIB */
+
+/* Define on a GNU/Linux system to work around problems in sys/procfs.h. */
+/* #undef START_INFERIOR_TRAPS_EXPECTED */
+/* #undef sys_quotactl */
+
+/* Define if you have HPUX threads */
+/* #undef HAVE_HPUX_THREAD_SUPPORT */
+
+/* Define if you want to use the memory mapped malloc package (mmalloc). */
+/* #undef USE_MMALLOC */
+
+/* Define if the runtime uses a routine from mmalloc before gdb has a chance
+ to initialize mmalloc, and we want to force checking to be used anyway.
+ This may cause spurious memory corruption messages if the runtime tries
+ to explicitly deallocate that memory when gdb calls exit. */
+/* #undef MMCHECK_FORCE */
+
+/* Define if you want to use the full-screen terminal user interface. */
+/* #undef TUI */
+
+/* Define if <proc_service.h> on solaris uses int instead of
+ size_t, and assorted other type changes. */
+/* #undef PROC_SERVICE_IS_OLD */
+
+/* If you want to specify a default CPU variant, define this to be its
+ name, as a C string. */
+/* #undef TARGET_CPU_DEFAULT */
+
+/* Define if the simulator is being linked in. */
+#define WITH_SIM 1
+
+/* Set to true if the save_state_t structure is present */
+/* #undef HAVE_STRUCT_SAVE_STATE_T */
+
+/* Set to true if the save_state_t structure has the ss_wide member */
+/* #undef HAVE_STRUCT_MEMBER_SS_WIDE */
+
+/* Define if <sys/ptrace.h> defines the PTRACE_GETREGS request. */
+/* #undef HAVE_PTRACE_GETREGS */
+
+/* Define if <sys/ptrace.h> defines the PTRACE_GETXFPREGS request. */
+/* #undef HAVE_PTRACE_GETXFPREGS */
+
+/* Define if you have the __argz_count function. */
+/* #undef HAVE___ARGZ_COUNT */
+
+/* Define if you have the __argz_next function. */
+/* #undef HAVE___ARGZ_NEXT */
+
+/* Define if you have the __argz_stringify function. */
+/* #undef HAVE___ARGZ_STRINGIFY */
+
+/* Define if you have the bcopy function. */
+#define HAVE_BCOPY 1
+
+/* Define if you have the btowc function. */
+/* #undef HAVE_BTOWC */
+
+/* Define if you have the bzero function. */
+#define HAVE_BZERO 1
+
+/* Define if you have the dcgettext function. */
+#define HAVE_DCGETTEXT 1
+
+/* Define if you have the getcwd function. */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getpagesize function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the isascii function. */
+#define HAVE_ISASCII 1
+
+/* Define if you have the munmap function. */
+#define HAVE_MUNMAP 1
+
+/* Define if you have the poll function. */
+#define HAVE_POLL 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the sbrk function. */
+#define HAVE_SBRK 1
+
+/* Define if you have the setenv function. */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function. */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the setpgid function. */
+#define HAVE_SETPGID 1
+
+/* Define if you have the sigaction function. */
+#define HAVE_SIGACTION 1
+
+/* Define if you have the sigprocmask function. */
+#define HAVE_SIGPROCMASK 1
+
+/* Define if you have the socketpair function. */
+#define HAVE_SOCKETPAIR 1
+
+/* Define if you have the stpcpy function. */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strchr function. */
+#define HAVE_STRCHR 1
+
+/* Define if you have the <argz.h> header file. */
+/* #undef HAVE_ARGZ_H */
+
+/* Define if you have the <asm/debugreg.h> header file. */
+/* #undef HAVE_ASM_DEBUGREG_H */
+
+/* Define if you have the <ctype.h> header file. */
+#define HAVE_CTYPE_H 1
+
+/* Define if you have the <curses.h> header file. */
+#define HAVE_CURSES_H 1
+
+/* Define if you have the <endian.h> header file. */
+/* #undef HAVE_ENDIAN_H */
+
+/* Define if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <link.h> header file. */
+#define HAVE_LINK_H 1
+
+/* Define if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define if you have the <nl_types.h> header file. */
+#define HAVE_NL_TYPES_H 1
+
+/* Define if you have the <objlist.h> header file. */
+/* #undef HAVE_OBJLIST_H */
+
+/* Define if you have the <proc_service.h> header file. */
+/* #undef HAVE_PROC_SERVICE_H */
+
+/* Define if you have the <ptrace.h> header file. */
+/* #undef HAVE_PTRACE_H */
+
+/* Define if you have the <sgtty.h> header file. */
+#define HAVE_SGTTY_H 1
+
+/* Define if you have the <stddef.h> header file. */
+#define HAVE_STDDEF_H 1
+
+/* Define if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <sys/debugreg.h> header file. */
+/* #undef HAVE_SYS_DEBUGREG_H */
+
+/* Define if you have the <sys/ioctl.h> header file. */
+#define HAVE_SYS_IOCTL_H 1
+
+/* Define if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <sys/procfs.h> header file. */
+/* #undef HAVE_SYS_PROCFS_H */
+
+/* Define if you have the <sys/ptrace.h> header file. */
+#define HAVE_SYS_PTRACE_H 1
+
+/* Define if you have the <sys/reg.h> header file. */
+/* #undef HAVE_SYS_REG_H */
+
+/* Define if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define if you have the <sys/wait.h> header file. */
+#define HAVE_SYS_WAIT_H 1
+
+/* Define if you have the <term.h> header file. */
+/* #undef HAVE_TERM_H */
+
+/* Define if you have the <termio.h> header file. */
+/* #undef HAVE_TERMIO_H */
+
+/* Define if you have the <termios.h> header file. */
+#define HAVE_TERMIOS_H 1
+
+/* Define if you have the <thread_db.h> header file. */
+/* #undef HAVE_THREAD_DB_H */
+
+/* Define if you have the <time.h> header file. */
+#define HAVE_TIME_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <values.h> header file. */
+/* #undef HAVE_VALUES_H */
+
+/* Define if you have the <wait.h> header file. */
+/* #undef HAVE_WAIT_H */
+
+/* Define if you have the <wchar.h> header file. */
+#define HAVE_WCHAR_H 1
+
+/* Define if you have the <wctype.h> header file. */
+#define HAVE_WCTYPE_H 1
+
+/* Define if you have the dl library (-ldl). */
+/* #undef HAVE_LIBDL */
+
+/* Define if you have the m library (-lm). */
+#define HAVE_LIBM 1
+
+/* Define if you have the socket library (-lsocket). */
+/* #undef HAVE_LIBSOCKET */
+
+/* Define if you have the w library (-lw). */
+/* #undef HAVE_LIBW */
+
+/* Define if you have the stpcpy function */
+/* #undef HAVE_STPCPY */
+
+/* Define if your locale.h file contains LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define to 1 if NLS is requested */
+#define ENABLE_NLS 1
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext. */
+#define HAVE_GETTEXT 1
+
+/* Define if malloc is not declared in system header files. */
+/* #undef NEED_DECLARATION_MALLOC */
+
+/* Define if realloc is not declared in system header files. */
+/* #undef NEED_DECLARATION_REALLOC */
+
+/* Define if free is not declared in system header files. */
+/* #undef NEED_DECLARATION_FREE */
+
+/* Define if strerror is not declared in system header files. */
+/* #undef NEED_DECLARATION_STRERROR */
+
+/* Define if strdup is not declared in system header files. */
+/* #undef NEED_DECLARATION_STRDUP */
+
+/* Define if strstr is not declared in system header files. */
+/* #undef NEED_DECLARATION_STRSTR */
+
+/* Define if <sys/procfs.h> has pstatus_t. */
+/* #undef HAVE_PSTATUS_T */
+
+/* Define if <sys/procfs.h> has prrun_t. */
+/* #undef HAVE_PRRUN_T */
+
+/* Define if <sys/procfs.h> has gregset_t. */
+/* #undef HAVE_GREGSET_T */
+
+/* Define if <sys/procfs.h> has fpregset_t. */
+/* #undef HAVE_FPREGSET_T */
+
+/* Define if <sys/procfs.h> has prgregset_t. */
+/* #undef HAVE_PRGREGSET_T */
+
+/* Define if <sys/procfs.h> has prfpregset_t. */
+/* #undef HAVE_PRFPREGSET_T */
+
+/* Define if <sys/procfs.h> has lwpid_t. */
+/* #undef HAVE_LWPID_T */
+
+/* Define if <sys/procfs.h> has psaddr_t. */
+/* #undef HAVE_PSADDR_T */
+
+/* config.h. Generated automatically by configure. */
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if you have the strcoll function and it is properly defined. */
+#define HAVE_STRCOLL 1
+
+/* Define if on MINIX. */
+/* #undef _MINIX */
+
+/* Define if the system does not provide POSIX.1 features except
+ with this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define if you need to in order for stat and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define as the return type of signal handlers (int or void). */
+#define RETSIGTYPE void
+
+/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
+/* #undef STAT_MACROS_BROKEN */
+
+/* Definitions pulled in from aclocal.m4. */
+#define VOID_SIGHANDLER 1
+
+#define GWINSZ_IN_SYS_IOCTL 1
+
+#define TIOCSTAT_IN_SYS_IOCTL 1
+
+/* #undef HAVE_GETPW_DECLS */
+
+#define FIONREAD_IN_SYS_IOCTL 1
+
+/* #undef HAVE_BSD_SIGNALS */
+
+#define HAVE_LSTAT 1
+
+#define HAVE_POSIX_SIGNALS 1
+
+/* #undef HAVE_POSIX_SIGSETJMP */
+
+/* #undef HAVE_USG_SIGHOLD */
+
+/* #undef MUST_REINSTALL_SIGHANDLERS */
+
+/* #undef SPEED_T_IN_SYS_TYPES */
+
+/* #undef STRCOLL_BROKEN */
+
+#define STRUCT_DIRENT_HAS_D_FILENO 1
+
+#define STRUCT_DIRENT_HAS_D_INO 1
+
+#define STRUCT_WINSIZE_IN_SYS_IOCTL 1
+
+/* #undef STRUCT_WINSIZE_IN_TERMIOS */
+
+/* Define if you have the lstat function. */
+#define HAVE_LSTAT 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the select function. */
+#define HAVE_SELECT 1
+
+/* Define if you have the setenv function. */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function. */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the tcgetattr function. */
+#define HAVE_TCGETATTR 1
+
+/* Define if you have the <dirent.h> header file. */
+#define HAVE_DIRENT_H 1
+
+/* Define if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <ndir.h> header file. */
+/* #undef HAVE_NDIR_H */
+
+/* Define if you have the <stdarg.h> header file. */
+#define HAVE_STDARG_H 1
+
+/* Define if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <sys/dir.h> header file. */
+/* #undef HAVE_SYS_DIR_H */
+
+/* Define if you have the <sys/file.h> header file. */
+#define HAVE_SYS_FILE_H 1
+
+/* Define if you have the <sys/ndir.h> header file. */
+/* #undef HAVE_SYS_NDIR_H */
+
+/* Define if you have the <sys/pte.h> header file. */
+/* #undef HAVE_SYS_PTE_H */
+
+/* Define if you have the <sys/ptem.h> header file. */
+/* #undef HAVE_SYS_PTEM_H */
+
+/* Define if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define if you have the <sys/stream.h> header file. */
+/* #undef HAVE_SYS_STREAM_H */
+
+/* Define if you have the <termcap.h> header file. */
+#define HAVE_TERMCAP_H 1
+
+/* Define if you have the <termio.h> header file. */
+/* #undef HAVE_TERMIO_H */
+
+/* Define if you have the <termios.h> header file. */
+#define HAVE_TERMIOS_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <varargs.h> header file. */
+#define HAVE_VARARGS_H 1
+/* config.h.bot */
+/* modify settings or make new ones based on what autoconf tells us. */
+
+/* Ultrix botches type-ahead when switching from canonical to
+ non-canonical mode, at least through version 4.3 */
+#if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
+# define TERMIOS_MISSING
+#endif
+
+#if defined (STRCOLL_BROKEN)
+# define HAVE_STRCOLL 1
+#endif
+
+#if defined (__STDC__) && defined (HAVE_STDARG_H)
+# define PREFER_STDARG
+# define USE_VARARGS
+#else
+# if defined (HAVE_VARARGS_H)
+# define PREFER_VARARGS
+# define USE_VARARGS
+# endif
+#endif
diff --git a/gnu/usr.bin/gdb/arch/armeb/defs.mk b/gnu/usr.bin/gdb/arch/armeb/defs.mk
new file mode 100644
index 00000000000..86e2264e56c
--- /dev/null
+++ b/gnu/usr.bin/gdb/arch/armeb/defs.mk
@@ -0,0 +1,8 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp
+#
+G_INTERNAL_CFLAGS= -I. -I${DIST}/gdb -I${DIST}/gdb/config -DHAVE_CONFIG_H -I${DIST}/gdb/../include/opcode -I${DIST}/gdb/../readline/.. -I../bfd -I${DIST}/gdb/../bfd -I${DIST}/gdb/../include -I../intl -I${DIST}/gdb/../intl -I${DIST}/gdb/tui -DUSE_INCLUDED_REGEX
+G_LIBGDB_OBS=version.o blockframe.o breakpoint.o findvar.o stack.o thread.o source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o expprint.o environ.o event-loop.o event-top.o inf-loop.o gdbarch.o arch-utils.o gdbtypes.o copying.o arm-tdep.o ser-tcp.o ser-unix.o ser-pipe.o fork-child.o infptrace.o inftarg.o corelow.o armnbsd-nat.o solib.o remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o mem-break.o target.o parse.o language.o c-exp.tab.o jv-exp.tab.o f-exp.tab.o m2-exp.tab.o buildsym.o kod.o kod-cisco.o gdb-events.o exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o c-lang.o ch-exp.o ch-lang.o f-lang.o ui-out.o cli-out.o varobj.o wrapper.o jv-lang.o jv-valprint.o jv-typeprint.o m2-lang.o scm-exp.o scm-lang.o scm-valprint.o complaints.o typeprint.o c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o ui-file.o tui-file.o annotate.o inflow.o gnu-regex.o init.o
+G_SIM_OBJS=
+G_CCFLAGS=-DHAVE_CONFIG_H -I. -I${DIST}/readline -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O
+G_OBJECTS=readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o nls.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o tilde.o
diff --git a/gnu/usr.bin/gdb/arch/armeb/init.c b/gnu/usr.bin/gdb/arch/armeb/init.c
new file mode 100644
index 00000000000..557019d851a
--- /dev/null
+++ b/gnu/usr.bin/gdb/arch/armeb/init.c
@@ -0,0 +1,147 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative,v 1.7 2002/02/27 17:55:32 tv Exp */
+
+/* Do not modify this file. */
+/* It is created automatically by the Makefile. */
+#include "defs.h"
+#include "call-cmds.h"
+extern initialize_file_ftype _initialize_blockframe;
+extern initialize_file_ftype _initialize_breakpoint;
+extern initialize_file_ftype _initialize_findvar;
+extern initialize_file_ftype _initialize_stack;
+extern initialize_file_ftype _initialize_thread;
+extern initialize_file_ftype _initialize_source;
+extern initialize_file_ftype _initialize_values;
+extern initialize_file_ftype _initialize_valops;
+extern initialize_file_ftype _initialize_valarith;
+extern initialize_file_ftype _initialize_valprint;
+extern initialize_file_ftype _initialize_printcmd;
+extern initialize_file_ftype _initialize_symtab;
+extern initialize_file_ftype _initialize_symfile;
+extern initialize_file_ftype _initialize_symmisc;
+extern initialize_file_ftype _initialize_infcmd;
+extern initialize_file_ftype _initialize_infrun;
+extern initialize_file_ftype _initialize_command;
+extern initialize_file_ftype _initialize_event_loop;
+extern initialize_file_ftype _initialize_gdbarch;
+extern initialize_file_ftype _initialize_gdbtypes;
+extern initialize_file_ftype _initialize_copying;
+extern initialize_file_ftype _initialize_arm_tdep;
+extern initialize_file_ftype _initialize_ser_tcp;
+extern initialize_file_ftype _initialize_ser_hardwire;
+extern initialize_file_ftype _initialize_ser_pipe;
+extern initialize_file_ftype _initialize_kernel_u_addr;
+extern initialize_file_ftype _initialize_infptrace;
+extern initialize_file_ftype _initialize_inftarg;
+extern initialize_file_ftype _initialize_corelow;
+extern initialize_file_ftype _initialize_armnbsd_nat;
+extern initialize_file_ftype _initialize_solib;
+extern initialize_file_ftype _initialize_remote;
+extern initialize_file_ftype _initialize_dcache;
+extern initialize_file_ftype _initialize_sr_support;
+extern initialize_file_ftype _initialize_tracepoint;
+extern initialize_file_ftype _initialize_ax_gdb;
+extern initialize_file_ftype _initialize_parse;
+extern initialize_file_ftype _initialize_language;
+extern initialize_file_ftype _initialize_kod;
+extern initialize_file_ftype _initialize_gdb_events;
+extern initialize_file_ftype _initialize_exec;
+extern initialize_file_ftype _initialize_maint_cmds;
+extern initialize_file_ftype _initialize_demangler;
+extern initialize_file_ftype _initialize_dbxread;
+extern initialize_file_ftype _initialize_coffread;
+extern initialize_file_ftype _initialize_elfread;
+extern initialize_file_ftype _initialize_mipsread;
+extern initialize_file_ftype _initialize_stabsread;
+extern initialize_file_ftype _initialize_core;
+extern initialize_file_ftype _initialize_c_language;
+extern initialize_file_ftype _initialize_chill_language;
+extern initialize_file_ftype _initialize_f_language;
+extern initialize_file_ftype _initialize_ui_out;
+extern initialize_file_ftype _initialize_cli_out;
+extern initialize_file_ftype _initialize_varobj;
+extern initialize_file_ftype _initialize_java_language;
+extern initialize_file_ftype _initialize_m2_language;
+extern initialize_file_ftype _initialize_scheme_language;
+extern initialize_file_ftype _initialize_complaints;
+extern initialize_file_ftype _initialize_typeprint;
+extern initialize_file_ftype _initialize_cp_valprint;
+extern initialize_file_ftype _initialize_f_valprint;
+extern initialize_file_ftype _initialize_nlmread;
+extern initialize_file_ftype _initialize_serial;
+extern initialize_file_ftype _initialize_mdebugread;
+extern initialize_file_ftype _initialize_os9kread;
+extern initialize_file_ftype _initialize_annotate;
+extern initialize_file_ftype _initialize_inflow;
+void
+initialize_all_files (void)
+{
+ _initialize_blockframe ();
+ _initialize_breakpoint ();
+ _initialize_findvar ();
+ _initialize_stack ();
+ _initialize_thread ();
+ _initialize_source ();
+ _initialize_values ();
+ _initialize_valops ();
+ _initialize_valarith ();
+ _initialize_valprint ();
+ _initialize_printcmd ();
+ _initialize_symtab ();
+ _initialize_symfile ();
+ _initialize_symmisc ();
+ _initialize_infcmd ();
+ _initialize_infrun ();
+ _initialize_command ();
+ _initialize_event_loop ();
+ _initialize_gdbarch ();
+ _initialize_gdbtypes ();
+ _initialize_copying ();
+ _initialize_arm_tdep ();
+ _initialize_ser_tcp ();
+ _initialize_ser_hardwire ();
+ _initialize_ser_pipe ();
+ _initialize_kernel_u_addr ();
+ _initialize_infptrace ();
+ _initialize_inftarg ();
+ _initialize_corelow ();
+ _initialize_armnbsd_nat ();
+ _initialize_solib ();
+ _initialize_remote ();
+ _initialize_dcache ();
+ _initialize_sr_support ();
+ _initialize_tracepoint ();
+ _initialize_ax_gdb ();
+ _initialize_parse ();
+ _initialize_language ();
+ _initialize_kod ();
+ _initialize_gdb_events ();
+ _initialize_exec ();
+ _initialize_maint_cmds ();
+ _initialize_demangler ();
+ _initialize_dbxread ();
+ _initialize_coffread ();
+ _initialize_elfread ();
+ _initialize_mipsread ();
+ _initialize_stabsread ();
+ _initialize_core ();
+ _initialize_c_language ();
+ _initialize_chill_language ();
+ _initialize_f_language ();
+ _initialize_ui_out ();
+ _initialize_cli_out ();
+ _initialize_varobj ();
+ _initialize_java_language ();
+ _initialize_m2_language ();
+ _initialize_scheme_language ();
+ _initialize_complaints ();
+ _initialize_typeprint ();
+ _initialize_cp_valprint ();
+ _initialize_f_valprint ();
+ _initialize_nlmread ();
+ _initialize_serial ();
+ _initialize_mdebugread ();
+ _initialize_os9kread ();
+ _initialize_annotate ();
+ _initialize_inflow ();
+}
diff --git a/gnu/usr.bin/gdb/arch/armeb/nm.h b/gnu/usr.bin/gdb/arch/armeb/nm.h
new file mode 100644
index 00000000000..3a08d6ffb38
--- /dev/null
+++ b/gnu/usr.bin/gdb/arch/armeb/nm.h
@@ -0,0 +1,4 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include <arm/nm-nbsd.h>
diff --git a/gnu/usr.bin/gdb/arch/armeb/tm.h b/gnu/usr.bin/gdb/arch/armeb/tm.h
new file mode 100644
index 00000000000..d64c842f2e8
--- /dev/null
+++ b/gnu/usr.bin/gdb/arch/armeb/tm.h
@@ -0,0 +1,4 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include <arm/tm-nbsd.h>
diff --git a/gnu/usr.bin/gdb/arch/armeb/version.c b/gnu/usr.bin/gdb/arch/armeb/version.c
new file mode 100644
index 00000000000..08296e95212
--- /dev/null
+++ b/gnu/usr.bin/gdb/arch/armeb/version.c
@@ -0,0 +1,7 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include "version.h"
+const char version[] = "5.0nb1";
+const char host_name[] = "armeb--netbsdelf";
+const char target_name[] = "armeb--netbsdelf";
diff --git a/gnu/usr.bin/gdb/arch/armeb/xm.h b/gnu/usr.bin/gdb/arch/armeb/xm.h
new file mode 100644
index 00000000000..a50ab3afe94
--- /dev/null
+++ b/gnu/usr.bin/gdb/arch/armeb/xm.h
@@ -0,0 +1,4 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp */
+
+#include <arm/xm-nbsd.h>