* VMS does not permits `.' in directory names. Renamed
binutils.all to binutils-all.
This commit is contained in:
parent
f2b38b9848
commit
7f23bcab2c
6 changed files with 150 additions and 1 deletions
|
@ -25,7 +25,7 @@ Things-to-keep:
|
|||
|
||||
ChangeLog
|
||||
Makefile.in
|
||||
binutils.all
|
||||
binutils-all
|
||||
config
|
||||
configure.in
|
||||
lib
|
||||
|
|
|
@ -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*,
|
||||
|
|
40
binutils/testsuite/binutils-all/.Sanitize
Normal file
40
binutils/testsuite/binutils-all/.Sanitize
Normal file
|
@ -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:
|
||||
|
44
binutils/testsuite/binutils-all/Makefile.in
Normal file
44
binutils/testsuite/binutils-all/Makefile.in
Normal file
|
@ -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:
|
30
binutils/testsuite/binutils-all/bintest.c
Normal file
30
binutils/testsuite/binutils-all/bintest.c
Normal file
|
@ -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++;
|
||||
|
||||
}
|
||||
|
30
binutils/testsuite/binutils-all/configure.in
Normal file
30
binutils/testsuite/binutils-all/configure.in
Normal file
|
@ -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:
|
Loading…
Add table
Add a link
Reference in a new issue