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.
19 lines
399 B
Makefile
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
|
|
#...
|