summaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/copy-2.d
blob: 8d066c53c5a7f23c53baf08016d94313e0e703f1 (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 foo=contents,alloc,load,code
#name: copy with setting section flags 2
#source: copytest.s
# Many formats do not allow arbitrary section flags, just run for ELF and PE.
#target: [is_elf_format] [is_pecoff_format]
#xfail: h8300-*-*

.*: +file format .*

Sections:
Idx.*
#...
  [0-9]* foo.*
                  CONTENTS, ALLOC, LOAD, CODE
#...