binutils-gdb/ld/testsuite/ld-gc
Alan Modra 8ffb70eb57 Consolidate run_dump_test
This merges the three versions of run_dump_test.  Improved warning
handling versus the old gas version shows up a number of tests that
need their disassembly updating:
arm-linuxeabi  +FAIL: ARM v1 instructions
arm-linuxeabi  +FAIL: Accepted v8-a with ARMv8.1 AdvSIMD.
arm-linuxeabi  +FAIL: bl local instructions for v4t.
arm-linuxeabi  +FAIL: UDF
and some that now fail due to detecting assembly warnings:
h8300-elf  +FAIL: binutils-all/strip-13
h8300-elf  +FAIL: binutils-all/strip-14
h8300-elf  +FAIL: binutils-all/strip-15

I've generally kept the union of all run_dump_test features, except
that the ld target aliases "cfi" and "shared" have disappeared, as has
the binutils substitution of $srcdir as $scrdir/$subdir.

binutils/
	* testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
	* testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
	* testsuite/binutils-all/symbols-1.d,
	* testsuite/binutils-all/symbols-2.d,
	* testsuite/binutils-all/symbols-3.d,
	* testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
	* testsuite/binutils-all/add-empty-section.d,
	* testsuite/binutils-all/add-section.d,
	* testsuite/binutils-all/elfedit.exp,
	* testsuite/binutils-all/note-1.d,
	* testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
	* testsuite/config/default.exp (AS, ASFLAGS): Define.
	* testsuite/config/hppa.sed: Handle all common symbols.
	* testsuite/lib/binutils-common.exp (run_dump_test): New proc,
	merged from three other versions.
	(slurp_options, file_contents, set_file_contents): Likewise.
	(big_or_little_endian, get_standard_section_names): Likewise.
	* testsuite/lib/utils-lib.exp (run_dump_test): Delete.
	(slurp_options, proc file_contents): Delete.
	(get_standard_section_names): Delete.
gas/
	* testsuite/config/default.exp: Make tmpdir.
	* testsuite/lib/gas-defs.exp (run_dump_test): Delete.
	(get_standard_section_names, slurp_options): Delete.
ld/
	* testsuite/ld-d10v/reloc-007.d,
	* testsuite/ld-d10v/reloc-008.d,
	* testsuite/ld-d10v/reloc-015.d,
	* testsuite/ld-d10v/reloc-016.d: Remove "error:".
	* testsuite/ld-elf/eh-frame-hdr.d,
	* testsuite/ld-elf/eh5.d,
	* testsuite/ld-gc/personality.d: Replace "cfi" and "shared" in
	target list with appropriate proc.
	* testsuite/ld-elf/frame.exp: Use check_shared_lib_support rather
	than "istarget shared".
	* testsuite/lib/ld-lib.exp (proc big_or_little_endian): Delete.
	(run_dump_test, slurp_options, file_contents): Delete.
	(set_file_contents, istarget): Delete.
2018-09-15 16:56:55 +09:30
..
abi-note.d [ARM] FDPIC: Update testsuite so that many tests pass with arm*-uclinuxfdpiceabi. 2018-04-25 21:13:14 +00:00
abi-note.s
all-debug-sections.d Remove run_dump_test support for objcopy as a dump program 2018-09-15 16:24:18 +09:30
all-debug-sections.s Garbage collecting debug sections 2015-03-25 20:42:00 +10:30
dummy.s
gc.c
gc.exp Remove sh5 and sh64 support 2018-04-16 15:29:39 +09:30
libpersonality.s
noent.d
noent.s
personality.d Consolidate run_dump_test 2018-09-15 16:56:55 +09:30
personality.s
pr11218-1.c
pr11218-2.c
pr11218.d [ARM] FDPIC: Update testsuite so that many tests pass with arm*-uclinuxfdpiceabi. 2018-04-25 21:13:14 +00:00
pr13683.c PR ld/13683 2012-02-22 16:27:35 +00:00
pr13683.d Remove sh5 and sh64 support 2018-04-16 15:29:39 +09:30
pr14265.c PR ld/14265 2012-08-14 08:31:57 +00:00
pr14265.d Fix some AVR test failures. 2016-05-04 13:03:52 +01:00
pr14265.t PR ld/14265 2012-08-14 08:31:57 +00:00
pr18223.d xfail pr18223 test for tic6x 2015-04-15 12:01:33 +09:30
pr18223.s Add a testcase for PR ld/18223 2015-04-10 04:15:53 -07:00
pr19161-1.c Always keep sections marked with SEC_KEEP 2015-10-22 12:23:03 -07:00
pr19161-2.c Always keep sections marked with SEC_KEEP 2015-10-22 12:23:03 -07:00
pr19161.d Remove pr19161 test hppa xfail 2017-08-23 08:58:42 +09:30
pr19167.d ld testsuite use of notarget 2018-07-10 23:58:29 +09:30
pr19167a.s Add a test for PR ld/19167 2015-10-23 04:23:51 -07:00
pr19167b.s Add a test for PR ld/19167 2015-10-23 04:23:51 -07:00
pr20022.d Revise "ld testsuite use of notarget" 2018-07-11 16:39:04 +09:30
pr20022a.s Add size to bar in ld-gc/pr20022a.s 2017-06-14 05:52:12 -07:00
pr20022b.s Revise "ld testsuite use of notarget" 2018-07-11 16:39:04 +09:30
pr20306.c Skip version check for unreferenced and undefined symbol 2016-06-28 08:08:30 -07:00
pr20306.d Skip version check for unreferenced and undefined symbol 2016-06-28 08:08:30 -07:00
pr20882.d GC: Also check the local debug definition section 2018-03-14 04:23:40 -07:00
pr20882a.s pr20882 testcase 2017-05-18 14:28:17 +09:30
pr20882b.s GC: Also check the local debug definition section 2018-03-14 04:23:40 -07:00
pr20882c.s pr20882 testcase 2017-05-18 14:28:17 +09:30
start.d ld testsuite use of notarget 2018-07-10 23:58:29 +09:30
start.s
stop.d ld testsuite use of notarget 2018-07-10 23:58:29 +09:30
stop.s Add --gc-sections test checking removal of __start/__stop symbols. 2018-01-30 22:13:43 +10:30