summaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/copy-3.d
blob: 655986af5e6b633af8e8a3e29dc3c48e7bd0627a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#PROG: objcopy
#objdump: -h
#objcopy: --set-section-flags .text=alloc,data
#name: copy with setting section flags 3
#source: bintest.s
#not-target: *-*-*aout *-*-*pe *-*-*coff hppa*-*-hpux* *-*-cygwin* *-*-mingw* m68k-*-netbsd m68k-*-openbsd* ns32k-*-netbsd rs6000-*-*
# The .text # section in PE/COFF has a fixed set of flags and these
# cannot be changed.  We skip it for them.

.*: +file format .*

Sections:
Idx.*
#...
  [0-9]* .text.*
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
#...