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
6#not-target: *-*-aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw*
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
12Sections:
13Idx.*
14#...
15  [0-9]* .text.*
16                  CONTENTS, ALLOC, LOAD, RELOC, DATA
17#...
18