binutils-gdb/binutils/testsuite/binutils-all/copy-3.d
Alan Modra 5a2296ac1b Use is_xcoff_format in binutils testsuite
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.
2020-07-07 18:26:33 +09:30

19 lines
399 B
Makefile

#PROG: objcopy
#objdump: -h
#objcopy: --set-section-flags .text=alloc,data
#name: copy with setting section flags 3
#source: bintest.s
# The .text section in most formats has a fixed set of flags which
# cannot be changed, just run for ELF.
#target: [is_elf_format]
#xfail: rx-*-*
.*: +file format .*
Sections:
Idx.*
#...
[0-9]* .text.*
CONTENTS, ALLOC, LOAD, RELOC, DATA
#...