diff options
author | H.J. Lu <hjl@lucon.org> | 2006-05-03 14:21:18 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2006-05-03 14:21:18 +0000 |
commit | dbd53a618a60abc5cb804f953652e8d3fa210c55 (patch) | |
tree | dafdf3b5bea53efd06d7ede42394ec96a7e49cd5 /binutils | |
parent | 43a0faefcaff0c797fed41b3cd6f8ceba99c52d5 (diff) | |
download | binutils-redhat-dbd53a618a60abc5cb804f953652e8d3fa210c55.tar.gz |
2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/copy-3.d: New.
* objcopy.exp: Run copy-3.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/copy-3.d | 17 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objcopy.exp | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index b046733b79..dc6a35532d 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -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'. diff --git a/binutils/testsuite/binutils-all/copy-3.d b/binutils/testsuite/binutils-all/copy-3.d new file mode 100644 index 0000000000..373c10fe1b --- /dev/null +++ b/binutils/testsuite/binutils-all/copy-3.d @@ -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 +#... diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index f714564962..969249d96a 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -727,3 +727,4 @@ if [is_elf_format] { } run_dump_test "copy-2" +run_dump_test "copy-3" |