Retro68/binutils/ld/testsuite/ld-elf/warn2.d

16 lines
429 B
D
Raw Normal View History

2012-03-26 19:18:29 +00:00
#source: start.s
#source: symbol2ref.s
#source: symbol2w.s
#ld: -T group.ld
2018-12-28 15:25:28 +00:00
#warning: ^[^\n]*\.[obj]+: warning: function 'Foo' used$
2012-03-26 19:18:29 +00:00
#readelf: -s
# if not using elf.em, you don't get fancy section handling
#xfail: [uses_genelf]
2012-03-26 19:18:29 +00:00
# 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
2012-03-26 19:18:29 +00:00
#pass