mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
a0fb961508
Some of these tests were excluded for ns32k-netbsd, exclude for all ns32k instead. binutils/ * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*. * testsuite/binutils-all/copy-3.d: Likewise. gas/ * testsuite/gas/all/gas.exp: Remove ns32k xfails. * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*. ld/ * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*. * testsuite/ld-scripts/section-match-1.d: Likewise. * testsuite/ld-undefined/require-defined.exp: Likewise.
19 lines
591 B
D
19 lines
591 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-*-*
|
|
# 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
|
|
#...
|