binutils-gdb/gas/testsuite/gas/elf
Maciej W. Rozycki eb9bb5b4ec Use `supports_gnu_unique' with the `unique_symbol' and `type' tests
Complement commit a43942db49 ("LD/ELF: Unify STB_GNU_UNIQUE handling")
and use `supports_gnu_unique' with the `unique_symbol' and `type' tests,
fixing failures like:

.../binutils/testsuite/binutils-all/unique.s: Assembler messages:
.../binutils/testsuite/binutils-all/unique.s:2: Error: symbol type "gnu_unique_object" is supported only by GNU targets

ERROR: .../binutils/testsuite/binutils-all/unique.s: assembly failed
UNRESOLVED: ar unique symbol in archive
.../binutils/ar -s -r -c tmpdir/artest.a tmpdir/unique.o
Executing on host: .../binutils/ar -s -r -c tmpdir/artest.a tmpdir/unique.o   (timeout = 300)
.../binutils/ar: tmpdir/unique.o: No such file or directory

FAIL: ar unique symbol in archive

and:

.../gas/testsuite/gas/elf/type.s: Assembler messages:
.../gas/testsuite/gas/elf/type.s:30: Error: symbol type "gnu_unique_object" is supported only by GNU targets
../as-new: BFD (GNU Binutils) 2.26.51.20160628 internal error, aborting at .../gas/write.c:608 in size_seg

../as-new: Please report this bug.

.../gas/testsuite/../../binutils/readelf -s dump.o | grep "1 *\[FIONTCU\]" > dump.out
Executing on host: sh -c {.../gas/testsuite/../../binutils/readelf -s dump.o >readelf.out 2>gas.stderr}  /dev/null  (timeout = 300)
readelf: Error: dump.o: Failed to read file's magic number
FAIL: elf type list

on MIPS/FreeBSD targets:

mips-freebsd  -FAIL: ar unique symbol in archive
mips-freebsd  -FAIL: elf type list
mips64-freebsd  -FAIL: ar unique symbol in archive
mips64-freebsd  -FAIL: elf type list
mips64el-freebsd  -FAIL: ar unique symbol in archive
mips64el-freebsd  -FAIL: elf type list
mipsel-freebsd  -FAIL: ar unique symbol in archive
mipsel-freebsd  -FAIL: elf type list

	binutils/
	* testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
	the `unique_symbol' test.

	gas/
	* testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
	`type' test.
2016-06-28 13:54:00 +01:00
..
bad-bss.d gas: consistently emit diagnostics for non-zero data emission to .bss/.struct 2015-12-08 10:14:49 +01:00
bad-bss.err gas: consistently emit diagnostics for non-zero data emission to .bss/.struct 2015-12-08 10:14:49 +01:00
bad-group.d Add a testcase for group error. 2011-08-04 20:20:11 +00:00
bad-group.err Run write_object_file after errors 2014-06-16 12:34:45 +09:30
bad-group.s Run write_object_file after errors 2014-06-16 12:34:45 +09:30
bad-section-flag.d
bad-section-flag.err
bad-section-flag.s
bad-size.d
bad-size.err Run write_object_file after errors 2014-06-16 12:34:45 +09:30
bad-size.s
bignums.d Fix checking bignum values that are being inserted into byte sized containers. 2016-03-16 11:33:55 +00:00
bignums.s Fix checking bignum values that are being inserted into byte sized containers. 2016-03-16 11:33:55 +00:00
bss.d gas: consistently emit diagnostics for non-zero data emission to .bss/.struct 2015-12-08 10:14:49 +01:00
bss.s gas: consistently emit diagnostics for non-zero data emission to .bss/.struct 2015-12-08 10:14:49 +01:00
common1.d Add testcases for PR gas/14315 2012-06-30 12:35:52 +00:00
common1.l Add testcases for PR gas/14315 2012-06-30 12:35:52 +00:00
common1.s Add testcases for PR gas/14315 2012-06-30 12:35:52 +00:00
common2.d Add testcases for PR gas/14315 2012-06-30 12:35:52 +00:00
common2.l Add testcases for PR gas/14315 2012-06-30 12:35:52 +00:00
common2.s Add testcases for PR gas/14315 2012-06-30 12:35:52 +00:00
common3.s Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common3a.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common3b.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common4.s Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common4a.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common4b.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
dwarf2-1.d PR binutils/16218 2013-12-20 13:52:23 +00:00
dwarf2-1.s Copyright update for binutils 2016-01-01 23:00:01 +10:30
dwarf2-2.d PR binutils/16218 2013-12-20 13:52:23 +00:00
dwarf2-2.s Copyright update for binutils 2016-01-01 23:00:01 +10:30
dwarf2-3.d binutils/ 2013-05-29 00:39:34 +00:00
dwarf2-3.s
dwarf2-4.d
dwarf2-4.s
ehopt0.d
ehopt0.s
elf.exp Use `supports_gnu_unique' with the `unique_symbol' and `type' tests 2016-06-28 13:54:00 +01:00
equ-reloc.d
equ-reloc.s
file-2.d gas/ELF: slightly relax elf/file*.d expectations 2015-12-09 14:35:07 +01:00
file-2.s ELF: don't re-order SHF_FILE symbols 2015-12-08 10:11:58 +01:00
file.d gas/ELF: slightly relax elf/file*.d expectations 2015-12-09 14:35:07 +01:00
file.s
group0.s
group0a.d
group0b.d
group0c.d Skip gas/elf/group0c.d for Solaris 2012-08-24 19:00:16 +00:00
group1.s
group1a.d
group1b.d
group2.d Do away with hash table line lookup in dwarf2dbg.c 2014-09-27 16:18:30 +09:30
group2.s Do away with hash table line lookup in dwarf2dbg.c 2014-09-27 16:18:30 +09:30
groupauto.s
groupautoa.d
groupautob.d
ifunc-1.d
ifunc-1.s
pseudo.d
pseudo.l
pseudo.s
redef.d
redef.s
section0.d
section0.s
section1.d
section1.s
section2.e
section2.e-arm gas/ARM: Fix testsuite failure for arm-elf 2014-07-10 09:33:01 +01:00
section2.e-m32r
section2.e-mips [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
section2.e-miwmmxt
section2.e-msp430 oops - omitted from previous delta 2013-05-03 08:33:19 +00:00
section2.e-rl78 Fix the evaluation of RL78 complex relocs, by making immediate values be computed relative to a new absolute symbol. 2015-07-24 16:44:27 +01:00
section2.e-rx
section2.e-score
section2.e-tic6x
section2.e-v850 Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
section2.e-xtensa
section2.l
section2.s
section3.d
section3.s
section4.d
section4.s
section5.e
section5.l
section5.s
section6.d
section6.s
section7.d
section7.s * gas/elf/bad-group.s: Add section attributes. 2012-02-14 01:01:30 +00:00
section8.d
section8.s
section9.d
section9.s
section10.d Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
section10.s Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
section11.d Add command line option to stop the assembler from padding the end of sections to their alignment boundary. 2016-06-27 13:51:06 +01:00
section11.s Fix new testcase for hppa64 2016-06-28 19:09:11 +09:30
strtab.d Use strtab with GC and suffix merging for .strtab 2015-06-25 08:16:14 -07:00
strtab.s Use strtab with GC and suffix merging for .strtab 2015-06-25 08:16:14 -07:00
struct.d Fix MSP430 assembler to support #hi(<symbol>). 2014-05-20 10:28:42 +01:00
struct.s
syms.d * read.c (read_symbol_name): New function. Reads a symbol names. 2012-05-28 14:20:19 +00:00
syms.s * read.c (read_symbol_name): New function. Reads a symbol names. 2012-05-28 14:20:19 +00:00
symtab.d
symtab.s
symver.d
symver.s
type-noifunc.e * gas/elf/bad-group.s: Add section attributes. 2012-02-14 01:01:30 +00:00
type-noifunc.s
type.e MIPS testsuite cleanup - part 1 2014-09-06 17:58:37 +01:00
type.s
warn-2.s Fix simple gas testsuite failures. 2016-06-15 16:25:34 +01:00