2009-09-02 Tristan Gingold <gingold@adacore.com>
[binutils.git] / binutils / testsuite / binutils-all / copy-2.d
blob3ff9eab863026262217a71a49a09b66a06c4953c
1 #PROG: objcopy
2 #objdump: -h
3 #objcopy: --set-section-flags foo=contents,alloc,load,code
4 #name: copy with setting section flags 2
5 #source: copytest.s
6 #not-target: *-*-*aout
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.
11 .*: +file format .*
13 Sections:
14 Idx.*
15 #...
16 [0-9]* foo.*
17 CONTENTS, ALLOC, LOAD, CODE
18 #...