2006-11-06 10:39:17 +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*"
|
|
|
|
#xfail: "arc-*-*" "d30v-*-*" "dlx-*-*" "i960-*-*" "or32-*-*" "pj-*-*"
|
|
|
|
|
|
|
|
# Check that warnings are generated for the symbols in .gnu.warning
|
|
|
|
# construct and that the symbol still appears as expected.
|
|
|
|
|
|
|
|
#...
|
2006-11-23 16:50:39 +00:00
|
|
|
[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+20[ ]+OBJECT[ ]+GLOBAL DEFAULT[ ]+[1-2] Foo
|
2006-11-06 10:39:17 +00:00
|
|
|
#pass
|