pr17615.d 399 B

1234567891011
  1. #ld: --gc-sections -shared
  2. #readelf: -S --wide --dyn-syms
  3. #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
  4. #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support]
  5. # generic linker targets don't support --gc-sections, nor do a bunch of others
  6. #...
  7. \[[ 0-9]+\] \.s?bss[ \t]+NOBITS[ \t0-9a-f]+WA.*
  8. #...
  9. +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9]+ foo
  10. #pass