151fab348e
* binutils-all/copy-2.d (not-target): Match *-*-*aout. * binutils-all/copy-3.d (not-target): Likewise. * binutils-all/objcopy.exp (objcopy_test): Remove extraneous setup_xfail. gas/testsuite/ * gas/all/weakref1u.d (not-target): Match *-*-*aout.
19 lines
465 B
D
19 lines
465 B
D
#PROG: objcopy
|
|
#objdump: -h
|
|
#objcopy: --set-section-flags foo=contents,alloc,load,code
|
|
#name: copy with setting section flags 2
|
|
#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.
|
|
|
|
.*: +file format .*
|
|
|
|
Sections:
|
|
Idx.*
|
|
#...
|
|
[0-9]* foo.*
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
#...
|