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# Many formats do not allow arbitrary section flags, just run for ELF and PE. 7#target: [is_elf_format] [is_pecoff_format] 8#xfail: h8300-*-* 9 10.*: +file format .* 11 12Sections: 13Idx.* 14#... 15 [0-9]* foo.* 16 CONTENTS, ALLOC, LOAD, CODE 17#... 18