Commit Graph

85 Commits

Author SHA1 Message Date
Ian Lance Taylor 01b1f5eb29 * lib/utils-lib.exp (binutil_version): Fix for current version
printing.
1996-10-01 19:11:13 +00:00
Ian Lance Taylor 854efa68e8 * binutils-all/objcopy.exp: Use the lma, not the vma, when testing
address adjustments.
1996-01-15 23:14:52 +00:00
Ian Lance Taylor 585d15cde1 * binutils-all/objcopy.exp: Correct fail calls to always use the
same string as the pass call.
1995-11-27 20:16:37 +00:00
Ian Lance Taylor 49c43d0201 * lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings
from native compilers on OSF/1 and SunOS.
1995-11-22 18:19:43 +00:00
Ian Lance Taylor febc1fc3e3 * binutils-all/objcopy.exp: If assembly fails, call unresolved.
Test running objcopy and strip on a final executable.
	* binutils-all/testprog.c: New file.
	* config/default.exp (STRIP, STRIPFLAGS): Define.
	(binutils_compile): New procedure.
	* lib/utils-lib.exp (default_binutils_compile): New procedure.
1995-11-15 17:21:26 +00:00
Ian Lance Taylor e3e8b854c2 fix *-motorola-sysv3* to sysv* 1995-11-03 17:50:10 +00:00
Ian Lance Taylor e75c301b04 Wed Nov 1 15:09:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* binutils-all/objcopy.exp: Add setup_xfails for
	m68*-motorola-sysv3* and m88*-motorola-sysv3*.
1995-11-01 20:11:07 +00:00
Ian Lance Taylor 0efc22188b * binutils-all/ar.exp: New file.
* binutils-all/bintest.s: Make text_symbol and data_symbol global.
	Add new static symbols static_text_symbol and static_data_symbol.
	* binutils-all/nm.exp: Adjust accordingly.
	* config/default.exp (AR): Set if not set.
	(binutils_remove): New procedure.
	* lib/utils-lib.exp (default_binutils_run): Call
	prune_system_crud on program output.  Use verbose -log instead of
	both verbose and send_log.
	(default_binutils_remove): New procedure.
1995-10-02 19:58:43 +00:00
Ian Lance Taylor a6eed1d25f * lib/utils-lib.exp (default_binutils_assemble): Call
prune_system_crud on assembler output.
1995-10-02 16:42:47 +00:00
Ian Lance Taylor faa53df9ca * lib/utils-lib.exp (prune_system_crud): Define if not defined.
* binutils-all/objcopy.exp: Call prune_system_crud on cmp output.
1995-09-13 17:21:28 +00:00
Ian Lance Taylor a77024ef11 * binutils-all/nm.exp: Add setup_xfail for mips*-sony-bsd* for
tests which fail on ECOFF targets.
1995-08-16 22:38:42 +00:00
Ian Lance Taylor df0d80dbed * binutils-all/objcopy.exp: Change i*86-*-linux xfail for simple
copy test to check for i*86-*-linuxaout* instead.
1995-08-16 20:54:40 +00:00
Ian Lance Taylor 28796982b6 * binutils-all/objcopy.exp: Add setup_xfail for a29k-*-vxworks*
for simple copy test.
1995-08-08 21:49:12 +00:00
Ian Lance Taylor 6a4549e788 Remove C comment characters from modified FSF address in expect scripts. 1995-07-10 15:01:16 +00:00
Ken Raeburn 943fbd5bd5 fsf address update, but not in COPYING files 1995-07-07 22:49:42 +00:00
Steve Chamberlain 6f2d32120e * ar.c: (print_contents.c, extract_file, do_quick_append):
Malloc buffers rather than allocate on stack (so it works
	on NT).
	* deflex.l: Names can have an @ in them.
	* dlltool.c: Loads of stuff. Can now generate .imp files which
	work with NT .dlls.
1995-06-29 00:59:07 +00:00
David Edelsohn a0b2913c09 Clean arc stuff out of objdump.exp. 1995-05-22 19:09:15 +00:00
Jeff Law fcca5c83d5 Keep hppa. 1995-04-04 20:52:24 +00:00
Jeff Law 084888170a binutils-hppa no longer exists. 1995-04-04 20:51:04 +00:00
Ken Raeburn c50e740c11 keep binutils-hppa 1995-03-28 19:44:13 +00:00
Ian Lance Taylor 2e246dbdbd * binutils-all/objcopy.exp: Add setup_xfail for simple copy test
for m68*-ericsson-ose and m88*-*-coff.
1995-03-28 16:19:22 +00:00
Ian Lance Taylor 8b550686c0 * binutils-all/objcopy.exp: Add setup_xfail for simply copy test
for m68*-*-vxworks*.
1995-03-27 16:28:16 +00:00
Ian Lance Taylor fe58e49642 * binutils-hppa/objdump.exp: Correct hppa*-*-* check. 1995-03-24 16:46:02 +00:00
Jeff Law 973f38b69e * binutils-hppa/addendbug.s: New testcase.
* binutils-hppa/objdump.exp: Run it.
1995-03-21 17:49:53 +00:00
Ian Lance Taylor a07fe45057 * lib/utils-lib.exp (default_binutils_run): Quote any dollar signs
in progargs before passing it to exec.
1995-03-20 19:31:58 +00:00
Jeff Law b76eed6c1d * config/hppa.sed: Sed script to transform bintest.s into proper
PA assembly code.
	* binutils-all/nm.exp: Enable these tests on the PA.
	* binutils-all/objcopy.exp: Enable these tests on the PA.  Expect
	simple copy to fail.
	* binutils-all/objdump.exp: Enable these tests on the PA.  Handle
	"CODE" as a section name.
	* binutils-all/size.exp: Enable these tests on the PA.
	* lib/utils-lib.exp (default_binutils_assemble): For "hppa*-*-*",
	run the assembly through a sed script before passing it to the
	assembler.
1995-03-17 23:45:36 +00:00
Ken Raeburn 09d7f0a658 expect simple-objcopy test to fail on hp300 1994-12-14 21:35:07 +00:00
Ken Raeburn 6273f92d2a disable bintest.o tests on hppa, fix minor sh-coff objcopy setup_xfail problem 1994-12-14 20:59:14 +00:00
Ken Raeburn 7e1e1f4d2f binutils-all/objdump.exp: handle "powerpc" cpu 1994-12-08 23:56:01 +00:00
Ken Raeburn ef1ad8ab8e * binutils-all/objdump.exp (cpus_expected): New variable, taken from objdump -i
test, added ns32k, sorted.
(objdump -i, -f tests): Use $cpus_expected.

* binutils-all/objcopy.exp: For simple-copy test, expect failure for sh-coff.
1994-12-08 19:55:05 +00:00
Ian Lance Taylor 09250cfef7 * binutils-all/objcopy.exp: New file.
* config/default.exp: Initialize OBJCOPY and OBJCOPYFLAGS.
1994-10-18 15:51:03 +00:00
Ian Lance Taylor 3aba335daf Rewrite testsuite.
* configure.in, Makefile.in: Remove.
	* binutils-all/configure.in, binutils-all/Makefile.in: Remove.
	* binutils-all/bintest.c: Remove.
	* binutils-all/bintest.s: New file.
	* binutils-all/nm.exp, binutils-all/objdump.exp: Rewrite.
	* binutils-all/size.exp: Rewrite.
	* config/default.exp: Load utils-lib.exp.  Set AS and ASFLAGS.
	Don't go up one directory from $base_dir.  Create tmpdir.
	(binutils_run, binutils-assemble): New procedures.
	* config/unix.exp: Remove.
	* config/mt-a29k-udi, config/mt-i386-aout: Remove.
	* config/mt-i960-nindy, config/mt-lynx, config/mt-m68k: Remove.
	* config/mt-mips-ecoff, config/mt-slite: Remove.
	* config/mt-sparc-aout, config/mt-vxworks: Remove.
	* lib/utils-lib.exp (binutil_version): Don't redirect standard
	input when getting version.  Don't unset errorInfo.
	(default_binutils_run): New procedure.
	(default_binutils_assemble): New procedure.
1994-10-14 18:56:29 +00:00
Ian Lance Taylor 70605a77d0 * configure.in (configdirs): Change binutils.all to binutils-all. 1994-09-30 03:49:54 +00:00
Ian Lance Taylor 7f23bcab2c * VMS does not permits `.' in directory names. Renamed
binutils.all to binutils-all.
1994-09-29 16:46:53 +00:00
Ian Lance Taylor 98e9482ab5 * configure.in: Use mt-m68k for m68k*-*-aout* and m68k*-*-coff*,
not for m68k-*-*.
1994-09-28 17:07:26 +00:00
Ian Lance Taylor 9b6cf6b6b1 * config/unix.exp: If nm.new does not exist, use [transform nm].
* config/default.exp: Likewise.
1994-09-02 16:55:54 +00:00
Ken Raeburn 1fde209cc1 rewrite sanitize lines so as not to confuse bsd make 1994-08-30 19:45:05 +00:00
Ian Lance Taylor c730978489 * configure.in, binutils.all/configure.in: Change i386 to
i[345]86.
1994-08-24 16:43:54 +00:00
Bill Cox 334bf283ab * config/mt-mips-ecoff: Add -Tidp.ld option. 1994-07-19 22:25:03 +00:00
Bill Cox 087188e0df * config/default.exp, config/unix.exp: Replace error
proc calls with perror.
1994-05-17 21:06:39 +00:00
Stan Shebs 39a20ec677 Tue May 10 11:20:54 1994 Stan Shebs (shebs@andros.cygnus.com)
* configure.in (sparclite): Match on sparclite*-*-*.
1994-05-10 18:26:39 +00:00
David Henkel-Wallace 2a38983c8d various changes for lynx.rs, ericsson, BNR. 1994-05-07 00:34:19 +00:00
Ian Lance Taylor dd270b5ce5 Remove obsolete files. Add mt-slite to .Sanitize. 1994-05-03 00:15:24 +00:00
Ken Raeburn 166d299379 Make tests work again on alpha-osf1 and sun4 native.
* config/unix.exp: Use nm.new, not nm, from newly built tree.

	* binutils.all/objdump.exp: Add more wildcards to list of
	single-letter options in pattern for usage message.

	* binutils.all/nm.exp: Deleted debug-symbols test, since it only
	works for a.out/stabs systems.  Fixed regexps to make underscores
	optional, since some C compilers don't prepend them.  Deleted
	check for foo.o symbol, since again some systems don't generate
	it.
1994-04-13 22:46:00 +00:00
Bill Cox 099c286e74 * Makefile.in (check): Set TCL_LIBRARY for runtest. 1994-04-11 23:17:18 +00:00
Rob Savoye d5dd58dee0 Remove trash left from Makefile cut & paste. 1994-02-22 22:55:24 +00:00
Ken Raeburn bc9cb7ca39 revised for Rob's changes 1994-02-18 22:13:24 +00:00
Rob Savoye 67d4024b7b "Default" procedures for any host. 1994-02-15 17:01:12 +00:00
Rob Savoye caa0901f00 Swap order of config names to match so vxworks is before m68k. 1994-02-15 04:30:10 +00:00
Rob Savoye 71ae6c3153 Set correct values for NM, SIZE etc... 1994-02-15 03:44:51 +00:00