4 #ld
: -T group
.ld
--no
-warn
-rwx
-segments
5 #warning
: ^
[^
\n]*\
.[obj
]+: warning
: function 'Foo' used
$
7 #
if not using elf
.em
, you don
't get fancy section handling
10 # Check that warnings are generated for the symbols in .gnu.warning
11 # construct and that the symbol still appears as expected.
14 +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo