pr21562a.d 448 B

1234567891011
  1. #ld: -shared -z defs --gc-sections
  2. #readelf: -s -S --wide
  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]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
  8. #...
  9. +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +GLOBAL +PROTECTED +[0-9]+ +___?start_scnfoo
  10. #pass