Commit | Line | Data |
---|---|---|
81fc501a L |
1 | #PROG: objcopy |
2 | #objdump: -h | |
3 | #objcopy: --set-section-flags .text=alloc,data | |
4 | #name: copy with setting section flags 3 | |
5 | #source: bintest.s | |
ce23608f | 6 | #not-target: *-*-*aout *-*-*pe *-*-*coff hppa*-*-hpux* *-*-cygwin* *-*-mingw* m68k-*-netbsd m68k-*-openbsd* ns32k-*-netbsd rs6000-*-* |
81fc501a L |
7 | # The .text # section in PE/COFF has a fixed set of flags and these |
8 | # cannot be changed. We skip it for them. | |
9 | ||
10 | .*: +file format .* | |
11 | ||
12 | Sections: | |
13 | Idx.* | |
14 | #... | |
15 | [0-9]* .text.* | |
16 | CONTENTS, ALLOC, LOAD, RELOC, DATA | |
17 | #... |