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 *-*-*coff *-*-cygwin* *-*-darwin *-*-mingw* *-*-go32 *-*-*pe hppa*-*-hpux* m68k-*-netbsd m68k-*-openbsd* ns32k-*-netbsd powerpc-*-aix* rs6000-*-* rx-*-* 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 12 Sections: 13 Idx.* 14 #... 15 [0-9]* .text.* 16 CONTENTS, ALLOC, LOAD, RELOC, DATA 17 #... 18