2 #ld
: tmpdir
/symbol3w
.o tmpdir
/symbol3
.a
3 #warning
: .*: warning
: badsym warning
$
6 # generic linker targets don
't support .gnu.warning sections.
8 # Check that warnings are generated for the symbols in .gnu.warning
9 # construct and that the symbol still appears as expected.
12 +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9] badsym