Commit | Line | Data |
---|---|---|
d3e52d40 RS |
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 | |
685080f2 | 6 | #xfail: "hppa*-*-*" "rx-*-*" "v850*-*-*" |
fad84867 | 7 | # FAILS on the RX because the linker has to set LMA == VMA for the Renesas loader. |
685080f2 | 8 | # FAILS on the V850 because an extra section - .note.renesas - is created. |
d3e52d40 RS |
9 | #... |
10 | Sections: | |
11 | *Idx +Name +Size +VMA +LMA .* | |
3ac9b6c9 | 12 | *0 +\.foo +0+ +0+10000 +0+10000 .* |
d3e52d40 | 13 | *CONTENTS, ALLOC, LOAD, CODE |
ceae84aa | 14 | *1 +\.bar +0+ +0+20000 +0+10000 .* |
d3e52d40 | 15 | *ALLOC, READONLY, CODE |