2006-04-26 13:37:05 +00:00
|
|
|
#PROG: objcopy
|
|
|
|
#objdump: -h
|
2006-05-02 12:17:30 +00:00
|
|
|
#objcopy: --set-section-flags foo=contents,alloc,load,code
|
2006-05-02 17:46:41 +00:00
|
|
|
#name: copy with setting section flags 2
|
2006-05-02 12:17:30 +00:00
|
|
|
#source: copytest.s
|
|
|
|
#not-target: *-*-aout
|
|
|
|
# Note - we use copytest.s and a section named "foo" rather
|
|
|
|
# than .text because for some file formats (eg PE) the .text
|
|
|
|
# section has a fixed set of flags and these cannot be changed.
|
2006-04-26 13:37:05 +00:00
|
|
|
|
|
|
|
.*: +file format .*
|
|
|
|
|
|
|
|
Sections:
|
|
|
|
Idx.*
|
|
|
|
#...
|
2006-05-02 12:17:30 +00:00
|
|
|
[0-9]* foo.*
|
|
|
|
CONTENTS, ALLOC, LOAD, CODE
|
2006-04-26 13:37:05 +00:00
|
|
|
#...
|