Commit | Line | Data |
---|---|---|
af3c5dea L |
1 | #PROG: objcopy |
2 | #objdump: -h | |
7cc27f03 | 3 | #objcopy: --set-section-flags foo=contents,alloc,load,code |
e44d194f | 4 | #name: copy with setting section flags 2 |
7cc27f03 | 5 | #source: copytest.s |
8941d5e8 | 6 | #not-target: *-*-*aout *-*-aix* h8300-*-* hppa*-*-hpux* m68k-*-netbsd m68k-*-openbsd* mips-sony-bsd* mips-*-ultrix* mips-*-osf* mips-*-ecoff* mips-*-irix mips-*-irix[2-4] mips-*-riscos* ns32k-*-netbsd |
7cc27f03 NC |
7 | # Note - we use copytest.s and a section named "foo" rather |
8 | # than .text because for some file formats (eg PE) the .text | |
9 | # section has a fixed set of flags and these cannot be changed. | |
af3c5dea L |
10 | |
11 | .*: +file format .* | |
12 | ||
13 | Sections: | |
14 | Idx.* | |
15 | #... | |
7cc27f03 NC |
16 | [0-9]* foo.* |
17 | CONTENTS, ALLOC, LOAD, CODE | |
af3c5dea | 18 | #... |