Home | History | Annotate | Download | only in ld-elf
      1 #name: --extract-symbol test 1 (sections)
      2 #source: extract-symbol-1.s
      3 #ld: -Textract-symbol-1.ld
      4 #objcopy_linked_file: --extract-symbol
      5 #objdump: --headers
      6 #xfail: "hppa*-*-*" "rx-*-*"
      7 # FAILS on the RX because the linker has to set LMA == VMA for the Renesas loader.
      8 #...
      9 Sections:
     10  *Idx +Name +Size +VMA +LMA .*
     11  *0 +\.foo +0+ +0+10000 +0+10000 .*
     12  *CONTENTS, ALLOC, LOAD, CODE
     13  *1 +\.bar +0+ +0+20000 +0+10000 .*
     14  *ALLOC, READONLY, CODE
     15