]>
Commit | Line | Data |
---|---|---|
e6760bcc L |
1 | #name: --set-section-flags test 1 (sections) |
2 | #ld: -Tflags1.ld | |
3 | #objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code | |
4 | #readelf: -l --wide | |
e9e9cead NC |
5 | #xfail: "arm*-*-*" "xscale-*-*" |
6 | #xfail: "avr-*-*" "dlx-*-*" "h8300-*-*" "m32r-*-*" "msp430-*-*" | |
7 | #xfail: "*-*-hpux*" | |
8 | # Fails on the ARM because the .section type character is % rather than @. | |
9 | # Fails on the AVR, DLX, H8300, M32R and MSP430 because the two sections | |
10 | # are not merged into one segment. (There is no good reason why they have to be). | |
11 | # Fails on HPUX systems because the .type pseudo-op behaves differently. | |
e6760bcc L |
12 | |
13 | #... | |
14 | Program Headers: | |
15 | Type.* | |
69b7238f | 16 | LOAD +0x[0-9a-f]+ 0x0*0 0x0*0 0x0*016[1-8] 0x0*016[1-8] RWE 0x[0-9a-f]+ |
e6760bcc L |
17 | |
18 | #... | |
19 | Segment Sections... | |
20 | 00[ \t]+.text .post_text_reserve[ \t]* | |
21 | #pass |