mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
5a2296ac1b
and restrict some other tests using is_*_format. * testsuite/binutils-all/ar.exp: Use is_xcoff_format. * testsuite/binutils-all/nm.exp: Likewise. * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets. * testsuite/binutils-all/copy-3.d: Run only for elf targets. * testsuite/binutils-all/set-section-alignment.d: Likewise. * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
18 lines
397 B
D
18 lines
397 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
|
|
# Many formats do not allow arbitrary section flags, just run for ELF and PE.
|
|
#target: [is_elf_format] [is_pecoff_format]
|
|
#xfail: h8300-*-*
|
|
|
|
.*: +file format .*
|
|
|
|
Sections:
|
|
Idx.*
|
|
#...
|
|
[0-9]* foo.*
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
#...
|