2006-05-03 H.J. Lu <hongjiu.lu@intel.com>

* binutils-all/copy-3.d: New.

	* objcopy.exp: Run copy-3.
This commit is contained in:
H.J. Lu 2006-05-03 14:21:18 +00:00
parent bd75c995a7
commit 81fc501adb
3 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/copy-3.d: New.
* objcopy.exp: Run copy-3.
2006-05-02 Dave Korn <dave.korn@artimi.com>
* binutils-all/copy-1.d (name): Correct spelling of 'setting'.

View File

@ -0,0 +1,17 @@
#PROG: objcopy
#objdump: -h
#objcopy: --set-section-flags .text=alloc,data
#name: copy with setting section flags 3
#source: bintest.s
#not-target: *-*-aout *-*-*pe* *-*-*coff i*86-*-cygwin* i*86-*-mingw32*
# The .text # section in PE/COFF has a fixed set of flags and these
# cannot be changed. We skip it for them.
.*: +file format .*
Sections:
Idx.*
#...
[0-9]* .text.*
CONTENTS, ALLOC, LOAD, RELOC, DATA
#...

View File

@ -727,3 +727,4 @@ if [is_elf_format] {
}
run_dump_test "copy-2"
run_dump_test "copy-3"