From af4c16ca18e0b0a7a0cc313c7ff9ec81b7445d98 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 10 Feb 1999 00:20:41 +0000 Subject: [PATCH] Add needed stuff to rs6000/xm-openbsd.h, configure this, correct patch-core-mkstemp, describe dejagnu snapshot more correctly in files/tests --- .../config/gcc/config/rs6000/xm-openbsd.h | 3 ++ lang/egcs-snapshot/files/tests/README | 7 +++- .../patches/patch-core-config.open | 11 ++--- lang/egcs-snapshot/patches/patch-core-mkstemp | 41 +++++++++---------- .../config/gcc/config/rs6000/xm-openbsd.h | 3 ++ lang/egcs/snapshot/files/tests/README | 7 +++- .../snapshot/patches/patch-core-config.open | 11 ++--- lang/egcs/snapshot/patches/patch-core-mkstemp | 41 +++++++++---------- 8 files changed, 68 insertions(+), 56 deletions(-) create mode 100644 lang/egcs-snapshot/files/config/gcc/config/rs6000/xm-openbsd.h create mode 100644 lang/egcs/snapshot/files/config/gcc/config/rs6000/xm-openbsd.h diff --git a/lang/egcs-snapshot/files/config/gcc/config/rs6000/xm-openbsd.h b/lang/egcs-snapshot/files/config/gcc/config/rs6000/xm-openbsd.h new file mode 100644 index 00000000000..c7b1ba3450f --- /dev/null +++ b/lang/egcs-snapshot/files/config/gcc/config/rs6000/xm-openbsd.h @@ -0,0 +1,3 @@ +#include +#undef USG +#undef COLLECT_EXPORT_LIST diff --git a/lang/egcs-snapshot/files/tests/README b/lang/egcs-snapshot/files/tests/README index c5b4cb5fc90..d5371bf4347 100644 --- a/lang/egcs-snapshot/files/tests/README +++ b/lang/egcs-snapshot/files/tests/README @@ -1,7 +1,10 @@ testing procedure: - obtain a RECENT snapshot of dejagnu from egcs.cygnus.com. -I've used dejagnu-980528 for my tests. Installation should be easy. -It was almost a drop-in for dejagnu-1.3 in my case. +I've just upgraded to dejagnu-981026, check +ftp://egcs.cygnus.com/pub/egcs/infrastructure. +It's dreadfully easy to build it, just a trivial adaptation of the existing +dejagnu port. + - make build should now BOTH build the snapshot AND build the checks. You will also find a `warnings' file in the work/egcs-* directory... - have a look at work/source/contrib... this is what you need to analyze diff --git a/lang/egcs-snapshot/patches/patch-core-config.open b/lang/egcs-snapshot/patches/patch-core-config.open index cfe5a01c670..ad34335c38c 100644 --- a/lang/egcs-snapshot/patches/patch-core-config.open +++ b/lang/egcs-snapshot/patches/patch-core-config.open @@ -1,5 +1,5 @@ ---- gcc/configure.in.orig Mon Feb 8 21:22:09 1999 -+++ gcc/configure.in Mon Feb 8 21:22:58 1999 +--- gcc/configure.in.orig Wed Feb 10 00:02:22 1999 ++++ gcc/configure.in Wed Feb 10 00:17:19 1999 @@ -502,11 +502,21 @@ tm_file=${cpu_type}/${cpu_type}.h xm_file=${cpu_type}/xm-${cpu_type}.h @@ -121,7 +121,7 @@ pyramid-*-*) cpu_type=pyr xmake_file=pyr/x-pyr -@@ -2672,6 +2717,13 @@ +@@ -2672,6 +2717,14 @@ xmake_file=romp/x-mach use_collect2=yes ;; @@ -131,11 +131,12 @@ + powerpc-*-openbsd*) + tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd" + xmake_file=none ++ xm_file=rs6000/xm-openbsd.h + ;; powerpc-*-beos*) cpu_type=rs6000 tm_file=rs6000/beos.h -@@ -2966,6 +3018,10 @@ +@@ -2966,6 +3019,10 @@ fixincludes=fixinc.wrap tmake_file=t-netbsd ;; @@ -146,7 +147,7 @@ sparc-*-bsd*) tm_file=sparc/bsd.h ;; -@@ -3193,6 +3249,9 @@ +@@ -3193,6 +3250,9 @@ fixincludes=fixinc.wrap tmake_file=t-netbsd float_format=vax diff --git a/lang/egcs-snapshot/patches/patch-core-mkstemp b/lang/egcs-snapshot/patches/patch-core-mkstemp index 0e282aa1f81..7bd8de6023d 100644 --- a/lang/egcs-snapshot/patches/patch-core-mkstemp +++ b/lang/egcs-snapshot/patches/patch-core-mkstemp @@ -1,5 +1,14 @@ ---- libiberty/Makefile.in.orig Tue Jan 12 11:44:02 1999 -+++ libiberty/Makefile.in Tue Jan 12 11:45:05 1999 +--- libiberty/Makefile.in.orig Sat Jan 30 14:28:44 1999 ++++ libiberty/Makefile.in Wed Feb 10 01:02:06 1999 +@@ -115,7 +115,7 @@ + bzero.c choose-temp.c clock.c concat.c cplus-dem.c fdmatch.c \ + fnmatch.c getcwd.c getopt.c getopt1.c getpagesize.c \ + getruntime.c floatformat.c hex.c index.c insque.c memchr.c \ +- memcmp.c memcpy.c memmove.c memset.c mkstemp.c objalloc.c obstack.c \ ++ memcmp.c memcpy.c memmove.c memset.c mkstemps.c objalloc.c obstack.c \ + pexecute.c random.c rename.c rindex.c sigsetmask.c spaces.c \ + splay-tree.c strcasecmp.c strncasecmp.c strchr.c strdup.c strerror.c \ + strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \ @@ -125,7 +125,7 @@ # These are always included in the library. REQUIRED_OFILES = argv.o choose-temp.o concat.o cplus-dem.o \ @@ -9,22 +18,12 @@ splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o \ xstrdup.o xstrerror.o ---- libiberty/configure.in.orig Tue Jan 12 11:44:09 1999 -+++ libiberty/configure.in Tue Jan 12 11:45:51 1999 -@@ -129,6 +129,7 @@ - funcs="$funcs memcpy" - funcs="$funcs memmove" - funcs="$funcs memset" -+funcs="$funcs mkstemps" - funcs="$funcs random" - funcs="$funcs rename" - funcs="$funcs rindex" -@@ -159,7 +160,7 @@ - # autoheader happy without adding a bunch of text to acconfig.h. - if test "x" = "y"; then - AC_CHECK_FUNCS(asprintf atexit basename bcmp bcopy bzero calloc clock getcwd) -- AC_CHECK_FUNCS(getpagesize index insque memchr memcmp memcpy memmove) -+ AC_CHECK_FUNCS(getpagesize index insque mkstemps memchr memcmp memcpy memmove) - AC_CHECK_FUNCS(memset random rename rindex sigsetmask strcasecmp) - AC_CHECK_FUNCS(strchr strdup strncasecmp strrchr strstr strtod strtol) - AC_CHECK_FUNCS(strtoul tmpnam vasprintf vfprintf vprintf vsprintf waitpid) +@@ -232,7 +232,7 @@ + getruntime.o: config.h $(INCDIR)/libiberty.h + hex.o: $(INCDIR)/libiberty.h + floatformat.o: $(INCDIR)/floatformat.h +-mkstemp.o: config.h ++mkstemps.o: config.h + objalloc.o: $(INCDIR)/objalloc.h + obstack.o: config.h $(INCDIR)/obstack.h + pexecute.o: config.h $(INCDIR)/libiberty.h diff --git a/lang/egcs/snapshot/files/config/gcc/config/rs6000/xm-openbsd.h b/lang/egcs/snapshot/files/config/gcc/config/rs6000/xm-openbsd.h new file mode 100644 index 00000000000..c7b1ba3450f --- /dev/null +++ b/lang/egcs/snapshot/files/config/gcc/config/rs6000/xm-openbsd.h @@ -0,0 +1,3 @@ +#include +#undef USG +#undef COLLECT_EXPORT_LIST diff --git a/lang/egcs/snapshot/files/tests/README b/lang/egcs/snapshot/files/tests/README index c5b4cb5fc90..d5371bf4347 100644 --- a/lang/egcs/snapshot/files/tests/README +++ b/lang/egcs/snapshot/files/tests/README @@ -1,7 +1,10 @@ testing procedure: - obtain a RECENT snapshot of dejagnu from egcs.cygnus.com. -I've used dejagnu-980528 for my tests. Installation should be easy. -It was almost a drop-in for dejagnu-1.3 in my case. +I've just upgraded to dejagnu-981026, check +ftp://egcs.cygnus.com/pub/egcs/infrastructure. +It's dreadfully easy to build it, just a trivial adaptation of the existing +dejagnu port. + - make build should now BOTH build the snapshot AND build the checks. You will also find a `warnings' file in the work/egcs-* directory... - have a look at work/source/contrib... this is what you need to analyze diff --git a/lang/egcs/snapshot/patches/patch-core-config.open b/lang/egcs/snapshot/patches/patch-core-config.open index cfe5a01c670..ad34335c38c 100644 --- a/lang/egcs/snapshot/patches/patch-core-config.open +++ b/lang/egcs/snapshot/patches/patch-core-config.open @@ -1,5 +1,5 @@ ---- gcc/configure.in.orig Mon Feb 8 21:22:09 1999 -+++ gcc/configure.in Mon Feb 8 21:22:58 1999 +--- gcc/configure.in.orig Wed Feb 10 00:02:22 1999 ++++ gcc/configure.in Wed Feb 10 00:17:19 1999 @@ -502,11 +502,21 @@ tm_file=${cpu_type}/${cpu_type}.h xm_file=${cpu_type}/xm-${cpu_type}.h @@ -121,7 +121,7 @@ pyramid-*-*) cpu_type=pyr xmake_file=pyr/x-pyr -@@ -2672,6 +2717,13 @@ +@@ -2672,6 +2717,14 @@ xmake_file=romp/x-mach use_collect2=yes ;; @@ -131,11 +131,12 @@ + powerpc-*-openbsd*) + tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd" + xmake_file=none ++ xm_file=rs6000/xm-openbsd.h + ;; powerpc-*-beos*) cpu_type=rs6000 tm_file=rs6000/beos.h -@@ -2966,6 +3018,10 @@ +@@ -2966,6 +3019,10 @@ fixincludes=fixinc.wrap tmake_file=t-netbsd ;; @@ -146,7 +147,7 @@ sparc-*-bsd*) tm_file=sparc/bsd.h ;; -@@ -3193,6 +3249,9 @@ +@@ -3193,6 +3250,9 @@ fixincludes=fixinc.wrap tmake_file=t-netbsd float_format=vax diff --git a/lang/egcs/snapshot/patches/patch-core-mkstemp b/lang/egcs/snapshot/patches/patch-core-mkstemp index 0e282aa1f81..7bd8de6023d 100644 --- a/lang/egcs/snapshot/patches/patch-core-mkstemp +++ b/lang/egcs/snapshot/patches/patch-core-mkstemp @@ -1,5 +1,14 @@ ---- libiberty/Makefile.in.orig Tue Jan 12 11:44:02 1999 -+++ libiberty/Makefile.in Tue Jan 12 11:45:05 1999 +--- libiberty/Makefile.in.orig Sat Jan 30 14:28:44 1999 ++++ libiberty/Makefile.in Wed Feb 10 01:02:06 1999 +@@ -115,7 +115,7 @@ + bzero.c choose-temp.c clock.c concat.c cplus-dem.c fdmatch.c \ + fnmatch.c getcwd.c getopt.c getopt1.c getpagesize.c \ + getruntime.c floatformat.c hex.c index.c insque.c memchr.c \ +- memcmp.c memcpy.c memmove.c memset.c mkstemp.c objalloc.c obstack.c \ ++ memcmp.c memcpy.c memmove.c memset.c mkstemps.c objalloc.c obstack.c \ + pexecute.c random.c rename.c rindex.c sigsetmask.c spaces.c \ + splay-tree.c strcasecmp.c strncasecmp.c strchr.c strdup.c strerror.c \ + strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \ @@ -125,7 +125,7 @@ # These are always included in the library. REQUIRED_OFILES = argv.o choose-temp.o concat.o cplus-dem.o \ @@ -9,22 +18,12 @@ splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o \ xstrdup.o xstrerror.o ---- libiberty/configure.in.orig Tue Jan 12 11:44:09 1999 -+++ libiberty/configure.in Tue Jan 12 11:45:51 1999 -@@ -129,6 +129,7 @@ - funcs="$funcs memcpy" - funcs="$funcs memmove" - funcs="$funcs memset" -+funcs="$funcs mkstemps" - funcs="$funcs random" - funcs="$funcs rename" - funcs="$funcs rindex" -@@ -159,7 +160,7 @@ - # autoheader happy without adding a bunch of text to acconfig.h. - if test "x" = "y"; then - AC_CHECK_FUNCS(asprintf atexit basename bcmp bcopy bzero calloc clock getcwd) -- AC_CHECK_FUNCS(getpagesize index insque memchr memcmp memcpy memmove) -+ AC_CHECK_FUNCS(getpagesize index insque mkstemps memchr memcmp memcpy memmove) - AC_CHECK_FUNCS(memset random rename rindex sigsetmask strcasecmp) - AC_CHECK_FUNCS(strchr strdup strncasecmp strrchr strstr strtod strtol) - AC_CHECK_FUNCS(strtoul tmpnam vasprintf vfprintf vprintf vsprintf waitpid) +@@ -232,7 +232,7 @@ + getruntime.o: config.h $(INCDIR)/libiberty.h + hex.o: $(INCDIR)/libiberty.h + floatformat.o: $(INCDIR)/floatformat.h +-mkstemp.o: config.h ++mkstemps.o: config.h + objalloc.o: $(INCDIR)/objalloc.h + obstack.o: config.h $(INCDIR)/obstack.h + pexecute.o: config.h $(INCDIR)/libiberty.h