mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
dbe23755ac
Two ld tests currently XPASS on 64-bit Solaris/SPARC: XPASS: ld-elf/warn1 XPASS: ld-elf/warn2 They were xfail'ed on Solaris/SPARCv9 back in 2005 https://sourceware.org/pipermail/binutils/2005-February/039268.html but obviously this no longer appplies. Fixed by removing the xfail's. Tested on sparcv9-sun-solaris2.11 and sparc-sun-solaris2.11. * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC. * testsuite/ld-elf/warn2.d: Likewise.
16 lines
429 B
Makefile
16 lines
429 B
Makefile
#source: start.s
|
|
#source: symbol2ref.s
|
|
#source: symbol2w.s
|
|
#ld: -T group.ld
|
|
#warning: ^[^\n]*\.[obj]+: warning: function 'Foo' used$
|
|
#readelf: -s
|
|
# if not using elf.em, you don't get fancy section handling
|
|
#xfail: [uses_genelf]
|
|
|
|
# Check that warnings are generated for the symbols in .gnu.warning
|
|
# construct and that the symbol still appears as expected.
|
|
|
|
#...
|
|
+[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo
|
|
#pass
|