Home | History | Annotate | Download | only in ld-elf
      1 #source: start.s
      2 #source: symbol2ref.s
      3 #source: symbol2w.s
      4 #ld: -T group.ld
      5 #warning: ^[^\\n]*\.[obj]+: warning: function 'Foo' used$
      6 #readelf: -s
      7 #notarget: "sparc64-*-solaris2*" "sparcv9-*-solaris2*"
      8 #xfail: d30v-*-* dlx-*-* fr30-*-* frv-*-elf ft32-*-* i860-*-* i960-*-*
      9 #xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* pj*-*-*
     10 # if not using elf32.em, you don't get fancy section handling
     11 
     12 # Check that warnings are generated for the symbols in .gnu.warning
     13 # construct and that the symbol still appears as expected.
     14 
     15 #...
     16  +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo
     17 #pass
     18