Add needed stuff to rs6000/xm-openbsd.h, configure this,
correct patch-core-mkstemp, describe dejagnu snapshot more correctly in files/tests
This commit is contained in:
parent
ff86a6dcf7
commit
af4c16ca18
@ -0,0 +1,3 @@
|
||||
#include <rs6000/xm-rs6000.h>
|
||||
#undef USG
|
||||
#undef COLLECT_EXPORT_LIST
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -0,0 +1,3 @@
|
||||
#include <rs6000/xm-rs6000.h>
|
||||
#undef USG
|
||||
#undef COLLECT_EXPORT_LIST
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user