Add a testcase for warning on common symbol in archive.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / warn3.d
CommitLineData
83c5d36f
L
1#source: start.s
2#ld: tmpdir/symbol3w.o tmpdir/symbol3.a
3#warning: .*: warning: badsym warning$
4#readelf: -s
5#notarget: "sparc64-*-solaris2*" "sparcv9-*-solaris2*"
6#xfail: arc-*-* d30v-*-* dlx-*-* fr30-*-* frv-*-elf i860-*-* i960-*-*
7#xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* or32-*-* pj*-*-*
8# if not using elf32.em, you don't get fancy section handling
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#...
14 +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9] badsym
15#pass
This page took 0.023399 seconds and 4 git commands to generate.