3 #objcopy
: --set
-section
-flags
.text
=alloc
,data
4 #name
: copy
with setting section flags
3
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
.
16 CONTENTS
, ALLOC
, LOAD
, RELOC
, DATA