]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-elf/warn2.d
Add ability to change linker warning messages into errors when reporting executable...
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / warn2.d
CommitLineData
bc251d50
VP
1#source: start.s
2#source: symbol2ref.s
3#source: symbol2w.s
e922d1ea 4#ld: -T group.ld --no-warn-rwx-segments
df5f2391 5#warning: ^[^\n]*\.[obj]+: warning: function 'Foo' used$
bc251d50 6#readelf: -s
075a2b89 7# if not using elf.em, you don't get fancy section handling
1336939d 8#xfail: [uses_genelf]
bc251d50
VP
9
10# Check that warnings are generated for the symbols in .gnu.warning
11# construct and that the symbol still appears as expected.
12
13#...
62ab84ec 14 +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo
bc251d50 15#pass