* VMS does not permits `.' in directory names. Renamed
authorIan Lance Taylor <ian@airs.com>
Thu, 29 Sep 1994 16:46:53 +0000 (16:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 29 Sep 1994 16:46:53 +0000 (16:46 +0000)
binutils.all to binutils-all.

binutils/testsuite/.Sanitize
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/.Sanitize [new file with mode: 0644]
binutils/testsuite/binutils-all/Makefile.in [new file with mode: 0644]
binutils/testsuite/binutils-all/bintest.c [new file with mode: 0644]
binutils/testsuite/binutils-all/configure.in [new file with mode: 0644]

index 29fd37085a2869e1d56e6f527b56ab310cada973..1c2eb8c272d450b207d34aaf03efb572803f7ab4 100644 (file)
@@ -25,7 +25,7 @@ Things-to-keep:
 
 ChangeLog
 Makefile.in
-binutils.all
+binutils-all
 config
 configure.in
 lib
index eefbd00034363327c9c396f46976dcb961a4c1d9..f587bd599ba160ab37b585e8e4f7876b3caa138e 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 29 12:45:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * VMS does not permits `.' in directory names.  Renamed
+       binutils.all to binutils-all.
+
 Fri Sep 23 16:01:14 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
 
        * configure.in: Use mt-m68k for m68k*-*-aout* and m68k*-*-coff*,
diff --git a/binutils/testsuite/binutils-all/.Sanitize b/binutils/testsuite/binutils-all/.Sanitize
new file mode 100644 (file)
index 0000000..3251e0b
--- /dev/null
@@ -0,0 +1,40 @@
+# .Sanitize for deja-gnu.
+
+# Each directory to survive it's way into a release will need a file
+# like this one called "./.Sanitize".  All keyword lines must exist,
+# and must exist in the order specified by this file.  Each directory
+# in the tree will be processed, top down, in the following order.
+
+# Hash started lines like this one are comments and will be deleted
+# before anything else is done.  Blank lines will also be squashed
+# out.
+
+# The lines between the "Do-first:" line and the "Things-to-keep:"
+# line are executed as a /bin/sh shell script before anything else is
+# done in this directory.
+
+Do-first:
+
+# All files listed between the "Things-to-keep:" line and the
+# "Do-last:" line will be kept.  All other files will be removed.
+# Directories listed in this section will have their own Sanitize
+# called.  Directories not listed will be removed in their entirety
+# with rm -rf.
+
+Things-to-keep:
+
+Makefile.in
+bintest.c
+configure.in
+nm.exp
+objdump.exp
+size.exp
+
+Things-to-lose:
+
+# The lines between the "Do-last:" line and the end of the file
+# are executed as a /bin/sh shell script after everything else is
+# done.
+
+Do-last:
+
diff --git a/binutils/testsuite/binutils-all/Makefile.in b/binutils/testsuite/binutils-all/Makefile.in
new file mode 100644 (file)
index 0000000..0aa1068
--- /dev/null
@@ -0,0 +1,44 @@
+CFLAGS_FOR_TARGET = 
+
+CC_FOR_TARGET = ` \
+  if [ -f $${rootme}/../../gcc/xgcc ] ; then \
+    echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+  else \
+    if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+      echo $(CC); \
+    else \
+      t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
+    fi; \
+  fi`
+
+CXX = gcc
+CXX_FOR_TARGET = ` \
+  if [ -f $${rootme}/../../gcc/xgcc ] ; then \
+    echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+  else \
+    if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+      echo $(CXX); \
+    else \
+      t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
+    fi; \
+  fi`
+
+#### host, target, and site specific Makefile frags come in here.
+
+srcdir = .
+
+all: bintest
+
+bintest:        $(srcdir)/bintest.c
+       $(CC_FOR_TARGET) $(CFLAGS_FOR_TARGET) $(CFLAGS) -g -o bintest $(srcdir)/bintest.c $(LDFLAGS)
+
+clean:
+       -rm -f *.o bintest *.diff *~ *.bad core m68k.gld
+
+distclean:     clean
+       -rm -f Makefile config.status nmtest.c
+
+Makefile : $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
+       $(SHELL) ./config.status
+
+force:
diff --git a/binutils/testsuite/binutils-all/bintest.c b/binutils/testsuite/binutils-all/bintest.c
new file mode 100644 (file)
index 0000000..e63d589
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * nmtest.c -- this is the C code portion of tests for the GNU binutils
+ */
+
+main(argc, argv)
+int argc;
+char *argv[];
+{
+  char two();
+  int one();
+
+  one();
+  two();
+}
+
+int
+one ()
+{
+  int i, j;
+  j = i++;
+}
+
+char
+two ()
+{
+  int i, j;
+  i = j++;
+
+}
+
diff --git a/binutils/testsuite/binutils-all/configure.in b/binutils/testsuite/binutils-all/configure.in
new file mode 100644 (file)
index 0000000..3f3da28
--- /dev/null
@@ -0,0 +1,30 @@
+# necessary to tailor a template configure script into the configure
+# script appropriate for this directory.  For more information, check
+# any existing configure script.
+
+srctrigger=nm.exp
+srcname="DejaGnu"
+
+# per-host:
+
+# per-target:
+
+# per-target:
+
+       # everything defaults to unix for a target
+target_makefile_frag=../config/mt-unix
+
+       # this section is for all targets
+case "${target}" in
+       i[345]86-*-aout) target_makefile_frag=../config/mt-i386-aout ;;
+       *-*-lynx*)      target_makefile_frag=../config/mt-lynx ;;
+       *-*-vxworks)    target_makefile_frag=../config/mt-vxworks ;;
+       m68k-*-*)       target_makefile_frag=../config/mt-m68k ;;
+       i960-*-nindy)   target_makefile_frag=../config/mt-i960-nindy ;;
+       a29k-*-udi)     target_makefile_frag=../config/mt-a29k-udi ;;
+       sparclite-*-*)  target_makefile_frag=../config/mt-slite ;;
+       sparc-*-aout)   target_makefile_frag=../config/mt-sparc-aout ;;
+       mips-*-ecoff)   target_makefile_frag=../config/mt-mips-ecoff ;;
+esac
+
+# post-target: