summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2001-07-19 22:13:23 +0000
committermatt <matt@NetBSD.org>2001-07-19 22:13:23 +0000
commit5ac8a0b7ba0c51ffc7d2da76df8a615302af243c (patch)
tree3095a3ad282ecb4158455291f59d0a3cd2610351 /gnu
parentc45a0d8765fe4d856022c0c2b8f2d44463e2cf67 (diff)
powerpc support for 2.95.3
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgcc/Makefile11
-rw-r--r--gnu/lib/libgcc/powerpc.mk12
-rw-r--r--gnu/lib/libiberty/arch/powerpc/config.h256
-rw-r--r--gnu/lib/libiberty/arch/powerpc/defs.mk7
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/auto-host.h370
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/config.h18
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/defs.mk21
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/gencheck.h5
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/hconfig.h18
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/options.h5
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/specs.h6
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/tconfig.h12
-rw-r--r--gnu/usr.bin/gcc/arch/powerpc/tm.h9
13 files changed, 749 insertions, 1 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index 67ceea9ffe9..0fb9aec7145 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2001/07/19 18:06:19 matt Exp $
+# $NetBSD: Makefile,v 1.23 2001/07/19 22:13:23 matt Exp $
.include <bsd.own.mk>
@@ -30,6 +30,8 @@ OBJS+= ${G_LIB2FUNCS:=.o} ${G_LIB2FUNCS_EH:=.o} \
${G_CXX_LIB2FUNCS:Mop*} ${G_CXXSRCS:T:R:=.o} \
${G_CSRCS:T:R:=.o}
+CLEANFILES+= fp-bit.c dp-bit.c
+
${G_LIB2FUNCS:=.o}: libgcc2.c
${COMPILE.c} -DL$* -o $@ ${>:M*.c}
@@ -59,6 +61,13 @@ ${f}.o: ${G_CXX_LIB2ADD:M*/${f}.c}
${COMPILE.c} -o $@ ${>:M*.c}
.endfor
+fp-bit.c: ${DIST}/gcc/config/fp-bit.c
+ cat $> > $@
+
+dp-bit.c: ${DIST}/gcc/config/fp-bit.c
+ echo '#define FLOAT' > $@
+ cat $> >> $@
+
.include <bsd.lib.mk>
${OBJS}: ${.CURDIR}/${MACHINE_ARCH}.mk
diff --git a/gnu/lib/libgcc/powerpc.mk b/gnu/lib/libgcc/powerpc.mk
new file mode 100644
index 00000000000..eb82f8b3fd6
--- /dev/null
+++ b/gnu/lib/libgcc/powerpc.mk
@@ -0,0 +1,12 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp
+#
+G_CXX_EXTRA_HEADERS=${DIST}/gcc/cp/inc/typeinfo ${DIST}/gcc/cp/inc/exception ${DIST}/gcc/cp/inc/new ${DIST}/gcc/cp/inc/new.h
+G_CXX_LIB2FUNCS=tinfo.o tinfo2.o new.o opnew.o opnewnt.o opvnew.o opvnewnt.o opdel.o opdelnt.o opvdel.o opvdelnt.o exception.o
+G_CXX_LIB2SRCS=${DIST}/gcc/cp/new.cc ${DIST}/gcc/cp/new1.cc ${DIST}/gcc/cp/new2.cc ${DIST}/gcc/cp/exception.cc ${DIST}/gcc/cp/tinfo.cc ${DIST}/gcc/cp/tinfo2.cc ${DIST}/gcc/cp/tinfo.h
+G_INCLUDES=-I. -I${DIST}/gcc -I${DIST}/gcc/config -I${DIST}/gcc/../include
+G_LIB2ADD=${DIST}/gcc/frame.c fp-bit.c dp-bit.c cplib2.txt
+G_LIB2FUNCS=_muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure
+G_LIB2FUNCS_EH=_eh
+G_LIBGCC2_CFLAGS=-O2 -DIN_GCC -DHAIFA -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
+G_MAYBE_USE_COLLECT2=
diff --git a/gnu/lib/libiberty/arch/powerpc/config.h b/gnu/lib/libiberty/arch/powerpc/config.h
new file mode 100644
index 00000000000..a9d8c7b0df9
--- /dev/null
+++ b/gnu/lib/libiberty/arch/powerpc/config.h
@@ -0,0 +1,256 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 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 if you have <vfork.h>. */
+/* #undef HAVE_VFORK_H */
+
+/* Define as __inline if that's what the C compiler calls it. */
+/* #undef inline */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef pid_t */
+
+/* Define if you need to in order for stat and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* 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 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 asprintf function. */
+#define HAVE_ASPRINTF 1
+
+/* Define if you have the atexit function. */
+#define HAVE_ATEXIT 1
+
+/* Define if you have the basename function. */
+#define HAVE_BASENAME 1
+
+/* 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 calloc function. */
+#define HAVE_CALLOC 1
+
+/* Define if you have the clock function. */
+#define HAVE_CLOCK 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 getrusage function. */
+#define HAVE_GETRUSAGE 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 insque function. */
+/* #undef HAVE_INSQUE */
+
+/* Define if you have the memchr function. */
+#define HAVE_MEMCHR 1
+
+/* Define if you have the memcmp function. */
+#define HAVE_MEMCMP 1
+
+/* Define if you have the memcpy function. */
+#define HAVE_MEMCPY 1
+
+/* Define if you have the memmove function. */
+#define HAVE_MEMMOVE 1
+
+/* Define if you have the memset function. */
+#define HAVE_MEMSET 1
+
+/* Define if you have the mkstemps function. */
+/* #undef HAVE_MKSTEMPS */
+
+/* Define if you have the on_exit function. */
+/* #undef HAVE_ON_EXIT */
+
+/* Define if you have the psignal function. */
+#define HAVE_PSIGNAL 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the random function. */
+#define HAVE_RANDOM 1
+
+/* Define if you have the rename function. */
+#define HAVE_RENAME 1
+
+/* Define if you have the rindex function. */
+#define HAVE_RINDEX 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 sigsetmask function. */
+#define HAVE_SIGSETMASK 1
+
+/* 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 strncasecmp function. */
+#define HAVE_STRNCASECMP 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 strstr function. */
+#define HAVE_STRSTR 1
+
+/* Define if you have the strtod function. */
+#define HAVE_STRTOD 1
+
+/* Define if you have the strtol function. */
+#define HAVE_STRTOL 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 times function. */
+#define HAVE_TIMES 1
+
+/* Define if you have the tmpnam function. */
+#define HAVE_TMPNAM 1
+
+/* Define if you have the vasprintf function. */
+#define HAVE_VASPRINTF 1
+
+/* Define if you have the vfprintf function. */
+#define HAVE_VFPRINTF 1
+
+/* Define if you have the vprintf function. */
+#define HAVE_VPRINTF 1
+
+/* Define if you have the vsprintf function. */
+#define HAVE_VSPRINTF 1
+
+/* Define if you have the waitpid function. */
+#define HAVE_WAITPID 1
+
+/* 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 <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/mman.h> header file. */
+#define HAVE_SYS_MMAN_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 <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 errno must be declared even when <errno.h> is included. */
+/* #undef NEED_DECLARATION_ERRNO */
+
+/* Define if you have the sys_errlist variable. */
+#define HAVE_SYS_ERRLIST 1
+
+/* Define if you have the sys_nerr variable. */
+#define HAVE_SYS_NERR 1
+
+/* Define if you have the sys_siglist variable. */
+#define HAVE_SYS_SIGLIST 1
+
diff --git a/gnu/lib/libiberty/arch/powerpc/defs.mk b/gnu/lib/libiberty/arch/powerpc/defs.mk
new file mode 100644
index 00000000000..796d219f33c
--- /dev/null
+++ b/gnu/lib/libiberty/arch/powerpc/defs.mk
@@ -0,0 +1,7 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp
+#
+G_ALLOCA=
+G_EXTRA_OFILES=
+G_LIBOBJS=insque.o mkstemps.o strncmp.o
+G_REQUIRED_OFILES=argv.o choose-temp.o concat.o cplus-dem.o cp-demangle.o dyn-string.o fdmatch.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o floatformat.o md5.o objalloc.o obstack.o partition.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o
diff --git a/gnu/usr.bin/gcc/arch/powerpc/auto-host.h b/gnu/usr.bin/gcc/arch/powerpc/auto-host.h
new file mode 100644
index 00000000000..454f49b97bc
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/auto-host.h
@@ -0,0 +1,370 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 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. */
+#define HAVE_GAS_MAX_SKIP_P2ALIGN 1
+
+/* Define if your assembler supports .balign and .p2align. */
+#define HAVE_GAS_BALIGN_AND_P2ALIGN 1
+
+/* 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. */
+/* #undef HAVE_INTTYPES_H */
+
+/* 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/powerpc/config.h b/gnu/usr.bin/gcc/arch/powerpc/config.h
new file mode 100644
index 00000000000..8f7a6f2183f
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/config.h
@@ -0,0 +1,18 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp */
+
+#ifdef IN_GCC
+#include "auto-host.h"
+#endif
+#ifdef IN_GCC
+#include "gansidecl.h"
+#endif
+#ifdef IN_GCC
+#include "rs6000/xm-sysv4.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/powerpc/defs.mk b/gnu/usr.bin/gcc/arch/powerpc/defs.mk
new file mode 100644
index 00000000000..99258363232
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/defs.mk
@@ -0,0 +1,21 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp
+#
+G_ALL_CFLAGS= -DIN_GCC -DHAIFA -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_DRIVER_DEFINES=-DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"2.95.3\" -DDEFAULT_TARGET_MACHINE=\"powerpc--netbsd\" -DTOOLDIR_BASE_PREFIX=\"/usr/local/\"
+G_HOST_LIBS=` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
+G_HOST_PRINT=print-rtl.o
+G_HOST_RTL=rtl.o bitmap.o
+G_HOST_RTLANAL=rtlanal.o
+G_INCLUDES=-I. -I${DIST}/gcc -I${DIST}/gcc/config -I${DIST}/gcc/../include
+G_md_file=${DIST}/gcc/config/rs6000/rs6000.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 haifa-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 rs6000.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/rs6000/rs6000.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/powerpc/gencheck.h b/gnu/usr.bin/gcc/arch/powerpc/gencheck.h
new file mode 100644
index 00000000000..bffbe1c51c0
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/gencheck.h
@@ -0,0 +1,5 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp */
+
+#include "cp/cp-tree.def"
+#include "objc/objc-tree.def"
diff --git a/gnu/usr.bin/gcc/arch/powerpc/hconfig.h b/gnu/usr.bin/gcc/arch/powerpc/hconfig.h
new file mode 100644
index 00000000000..8f7a6f2183f
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/hconfig.h
@@ -0,0 +1,18 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp */
+
+#ifdef IN_GCC
+#include "auto-host.h"
+#endif
+#ifdef IN_GCC
+#include "gansidecl.h"
+#endif
+#ifdef IN_GCC
+#include "rs6000/xm-sysv4.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/powerpc/options.h b/gnu/usr.bin/gcc/arch/powerpc/options.h
new file mode 100644
index 00000000000..22a4939e0be
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/options.h
@@ -0,0 +1,5 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp */
+
+#include "cp/lang-options.h"
+#include "f/lang-options.h"
diff --git a/gnu/usr.bin/gcc/arch/powerpc/specs.h b/gnu/usr.bin/gcc/arch/powerpc/specs.h
new file mode 100644
index 00000000000..bad497be033
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/specs.h
@@ -0,0 +1,6 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 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/powerpc/tconfig.h b/gnu/usr.bin/gcc/arch/powerpc/tconfig.h
new file mode 100644
index 00000000000..0908e27b1c2
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/tconfig.h
@@ -0,0 +1,12 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp */
+
+#ifdef IN_GCC
+#include "gansidecl.h"
+#endif
+#ifdef IN_GCC
+#include "rs6000/xm-sysv4.h"
+#endif
+#ifdef IN_GCC
+#include "xm-netbsd.h"
+#endif
diff --git a/gnu/usr.bin/gcc/arch/powerpc/tm.h b/gnu/usr.bin/gcc/arch/powerpc/tm.h
new file mode 100644
index 00000000000..ba987325ebf
--- /dev/null
+++ b/gnu/usr.bin/gcc/arch/powerpc/tm.h
@@ -0,0 +1,9 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: toolchain2netbsd,v 1.2 2001/07/18 18:17:20 tv Exp */
+
+#ifdef IN_GCC
+#include "gansidecl.h"
+#endif
+#ifdef IN_GCC
+#include "rs6000/netbsd.h"
+#endif