Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/gcc3 mostly working configuration updates for sun2.



details:   https://anonhg.NetBSD.org/src/rev/2222b649b9ad
branches:  trunk
changeset: 554386:2222b649b9ad
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Oct 27 16:55:32 2003 +0000

description:
mostly working configuration updates for sun2.

XXX - gcc3/backend/ra-colorize.c gets built wrong and the backend programs
XXX   fail to link.
XXX - mdsetimage & installboot/ffs.c get an unrecogised instruction ICE.

diffstat:

 gnu/usr.bin/gcc3/arch/m68000/auto-host.h        |   19 +-
 gnu/usr.bin/gcc3/arch/m68000/configargs.h       |    6 +-
 gnu/usr.bin/gcc3/arch/m68000/gthr-default.h     |    4 +
 gnu/usr.bin/gcc3/arch/m68000/hconfig.h          |    5 +-
 gnu/usr.bin/gcc3/libiberty/arch/m68000/config.h |  309 ++++++++++++++++++++++++
 gnu/usr.bin/gcc3/libiberty/defs.mk              |    2 +-
 6 files changed, 332 insertions(+), 13 deletions(-)

diffs (truncated from 409 to 300 lines):

diff -r 558359aa52e9 -r 2222b649b9ad gnu/usr.bin/gcc3/arch/m68000/auto-host.h
--- a/gnu/usr.bin/gcc3/arch/m68000/auto-host.h  Mon Oct 27 16:54:34 2003 +0000
+++ b/gnu/usr.bin/gcc3/arch/m68000/auto-host.h  Mon Oct 27 16:55:32 2003 +0000
@@ -1,8 +1,8 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from:     NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp  */
+/* Generated from:     NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp  */
 
 /* auto-host.h.  Generated automatically by configure.  */
-/* config.in.  Generated automatically from configure.in by autoheader 2.13.  */
+/* config.in.  Generated automatically from configure.in by autoheader.  */
 
 /* Define if using alloca.c.  */
 /* #undef C_ALLOCA */
@@ -505,6 +505,12 @@
 /* Define if host mkdir takes a single argument. */
 /* #undef MKDIR_TAKES_ONE_ARG */
 
+/* Define 0/1 to force the choice for exception handling model. */
+/* #undef CONFIG_SJLJ_EXCEPTIONS */
+
+/* Define if gcc should use -lunwind. */
+/* #undef USE_LIBUNWIND_EXCEPTIONS */
+
 /* Define to the name of a file containing a list of extra machine modes
    for this architecture. */
 /* #undef EXTRA_MODES_FILE */
@@ -586,6 +592,9 @@
 /* Define if your assembler supports offsetable %lo(). */
 /* #undef HAVE_AS_OFFSETABLE_LO10 */
 
+/* Define if your assembler supports the Sun syntax for cmov. */
+/* #undef HAVE_AS_IX86_CMOV_SUN_SYNTAX */
+
 /* Define true if the assembler supports '.long foo@GOTOFF'. */
 /* #undef HAVE_AS_GOTOFF_IN_DATA */
 
@@ -612,12 +621,6 @@
 /* Define if your MIPS libgloss linker scripts consistently include STARTUP directives. */
 /* #undef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES */
 
-/* Define 0/1 to force the choice for exception handling model. */
-/* #undef CONFIG_SJLJ_EXCEPTIONS */
-
-/* Define if gcc should use -lunwind. */
-/* #undef USE_LIBUNWIND_EXCEPTIONS */
-
 
 /* Bison unconditionally undefines `const' if neither `__STDC__' nor
    __cplusplus are defined.  That's a problem since we use `const' in
diff -r 558359aa52e9 -r 2222b649b9ad gnu/usr.bin/gcc3/arch/m68000/configargs.h
--- a/gnu/usr.bin/gcc3/arch/m68000/configargs.h Mon Oct 27 16:54:34 2003 +0000
+++ b/gnu/usr.bin/gcc3/arch/m68000/configargs.h Mon Oct 27 16:55:32 2003 +0000
@@ -1,6 +1,6 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from:     NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp  */
+/* Generated from:     NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp  */
 
 /* Generated automatically. */
-static const char configuration_arguments[] = "/home/mrg/src/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --build=i386-unknown-netbsdelf --host=m68010--netbsdelf --target=m68010--netbsdelf";
-static const char thread_model[] = "single";
+static const char configuration_arguments[] = "/home/mrg/src/netbsd/rosrc/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --build=i386-unknown-netbsdelf 
--host=m68010--netbsdelf --target=m68010--netbsdelf : (reconfigured) /home/mrg/src/netbsd/rosrc/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads 
--build=i386-unknown-netbsdelf1.6ZD --host=m68010--netbsdelf --target=m68010--netbsdelf";
+static const char thread_model[] = "posix";
diff -r 558359aa52e9 -r 2222b649b9ad gnu/usr.bin/gcc3/arch/m68000/gthr-default.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/gcc3/arch/m68000/gthr-default.h       Mon Oct 27 16:55:32 2003 +0000
@@ -0,0 +1,4 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp  */
+
+#include "gthr-posix.h"
diff -r 558359aa52e9 -r 2222b649b9ad gnu/usr.bin/gcc3/arch/m68000/hconfig.h
--- a/gnu/usr.bin/gcc3/arch/m68000/hconfig.h    Mon Oct 27 16:54:34 2003 +0000
+++ b/gnu/usr.bin/gcc3/arch/m68000/hconfig.h    Mon Oct 27 16:55:32 2003 +0000
@@ -1,7 +1,10 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from:     NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp  */
+/* Generated from:     NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp  */
 
 #define TARGET_CPU_DEFAULT (0)
+#ifndef NETBSD_ENABLE_PTHREADS
+# define NETBSD_ENABLE_PTHREADS
+#endif
 #include "auto-build.h"
 #ifdef IN_GCC
 /* Provide three core typedefs used by everything, if we are compiling
diff -r 558359aa52e9 -r 2222b649b9ad gnu/usr.bin/gcc3/libiberty/arch/m68000/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/gcc3/libiberty/arch/m68000/config.h   Mon Oct 27 16:55:32 2003 +0000
@@ -0,0 +1,309 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp  */
+
+/* config.h.  Generated automatically by configure.  */
+/* config.in.  Generated automatically from configure.in by autoheader.  */
+
+/* Define to empty if the keyword does not work.  */
+/* #undef const */
+
+/* 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 if your C compiler doesn't accept -c and -o together.  */
+/* #undef NO_MINUS_C_MINUS_O */
+
+/* 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 */
+
+/* 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 to `unsigned long' if <sys/types.h> doesn't define.  */
+#define uintptr_t unsigned long
+
+/* Define if you have the _doprnt function.  */
+/* #undef HAVE__DOPRNT */
+
+/* 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 ffs function.  */
+#define HAVE_FFS 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 getsysinfo function.  */
+/* #undef HAVE_GETSYSINFO */
+
+/* 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.  */
+#define HAVE_MKSTEMPS 1
+
+/* 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 pstat_getdynamic function.  */
+/* #undef HAVE_PSTAT_GETDYNAMIC */
+
+/* Define if you have the pstat_getstatic function.  */
+/* #undef HAVE_PSTAT_GETSTATIC */
+
+/* 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 sysctl function.  */
+#define HAVE_SYSCTL 1
+
+/* Define if you have the sysmp function.  */
+/* #undef HAVE_SYSMP */
+
+/* Define if you have the table function.  */
+/* #undef HAVE_TABLE */
+
+/* Define if you have the times function.  */
+#define HAVE_TIMES 1
+
+/* Define if you have the tmpnam function.  */
+/* #undef HAVE_TMPNAM */
+
+/* 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
+



Home | Main Index | Thread Index | Old Index