mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
e8d88459e6
Use notarget and noskip, like the ld testsuite. * testsuite/binutils-all/copy-2.d, * testsuite/binutils-all/copy-3.d, * testsuite/binutils-all/copy-4.d, * testsuite/binutils-all/elfedit-1.d, * testsuite/binutils-all/note-1.d, * testsuite/binutils-all/note-2-64.d, * testsuite/binutils-all/strip-11.d, * testsuite/binutils-all/strip-13.d, * testsuite/binutils-all/strip-14.d, * testsuite/binutils-all/testranges.d, * testsuite/binutils-all/x86-64/pr23494a-x32.d, * testsuite/binutils-all/x86-64/pr23494a.d, * testsuite/binutils-all/x86-64/pr23494b-x32.d, * testsuite/binutils-all/x86-64/pr23494b.d, * testsuite/binutils-all/x86-64/pr23494c-x32.d, * testsuite/binutils-all/x86-64/pr23494c.d, * testsuite/binutils-all/x86-64/pr23494d-x32.d, * testsuite/binutils-all/x86-64/pr23494d.d, * testsuite/binutils-all/x86-64/pr23494e-x32.d, * testsuite/binutils-all/x86-64/pr23494e.d, * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target and not-skip with notarget and noskip.
19 lines
596 B
D
19 lines
596 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
|
|
#notarget: *-*-*aout *-*-aix* h8300-*-* hppa*-*-hpux* mips-*-ultrix* mips-*-osf* mips-*-ecoff* mips-*-irix mips-*-irix[2-4] mips-*-riscos* ns32k-*-netbsd
|
|
# 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
|
|
#...
|