2011-06-08 04:47:04 +00:00
|
|
|
#source: start.s
|
|
|
|
#ld: tmpdir/symbol3w.o tmpdir/symbol3.a
|
|
|
|
#warning: .*: warning: badsym warning$
|
|
|
|
#readelf: -s
|
2011-06-14 02:55:29 +00:00
|
|
|
#notarget: hppa64*-hpux*
|
2014-04-22 14:57:47 +00:00
|
|
|
#xfail: arc-*-* d30v-*-* dlx-*-* i960-*-* pj*-*-*
|
2011-06-14 02:55:29 +00:00
|
|
|
# generic linker targets don't support .gnu.warning sections.
|
2011-06-08 04:47:04 +00:00
|
|
|
|
|
|
|
# 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
|