summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-elf/warn3.d
blob: 53dee1896a1ef3b36573d393ce5fc454f0eb4fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#source: start.s
#ld: tmpdir/symbol3w.o tmpdir/symbol3.a 
#warning: .*: warning: badsym warning$
#readelf: -s
#notarget: hppa64*-hpux*
#xfail: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-*
# generic linker targets don't support .gnu.warning sections.

# 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]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9] badsym
#pass