3 #objcopy
: --set
-section
-flags foo
=contents
,alloc
,load
,code
4 #name
: copy
with setting section flags
2
7 # Note
- we use copytest
.s
and a section named
"foo" rather
8 # than
.text because
for some file
formats (eg PE
) the
.text
9 # section has a fixed set of flags
and these cannot be changed
.
17 CONTENTS
, ALLOC
, LOAD
, CODE