2012-03-26 19:18:29 +00:00
|
|
|
#source: start.s
|
|
|
|
#source: symbol2ref.s
|
|
|
|
#source: symbol2w.s
|
|
|
|
#ld: -T group.ld
|
|
|
|
#warning: ^[^\\n]*\.[obj]+: warning: function 'Foo' used$
|
|
|
|
#readelf: -s
|
|
|
|
#notarget: "sparc64-*-solaris2*" "sparcv9-*-solaris2*"
|
2017-04-10 11:32:00 +00:00
|
|
|
#xfail: d30v-*-* dlx-*-* fr30-*-* frv-*-elf ft32-*-* i860-*-* i960-*-*
|
2015-08-28 15:32:19 +00:00
|
|
|
#xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* pj*-*-*
|
2014-09-12 22:14:23 +00:00
|
|
|
# if not using elf32.em, you don't get fancy section handling
|
2012-03-26 19:18:29 +00:00
|
|
|
|
|
|
|
# Check that warnings are generated for the symbols in .gnu.warning
|
|
|
|
# construct and that the symbol still appears as expected.
|
|
|
|
|
|
|
|
#...
|
2014-09-12 22:14:23 +00:00
|
|
|
+[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo
|
2012-03-26 19:18:29 +00:00
|
|
|
#pass
|