summaryrefslogtreecommitdiffstats
path: root/binutils/testsuite/binutils-all/objcopy.exp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2010-02-01 09:59:46 +0000
committerNathan Sidwell <nathan@codesourcery.com>2010-02-01 09:59:46 +0000
commit0930eddd65bd8f1e41f8eaec99f9d9bef22553cd (patch)
treefca2a61ef118993d6ad081e8d69b17352a9e9cb7 /binutils/testsuite/binutils-all/objcopy.exp
parent89b402421ca1e6dfb04850205d5f2708a23ff6c3 (diff)
downloadppe42-binutils-0930eddd65bd8f1e41f8eaec99f9d9bef22553cd.tar.gz
ppe42-binutils-0930eddd65bd8f1e41f8eaec99f9d9bef22553cd.zip
* objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
sections. testsuite/ * binutils-all/note-1.d: New. * binutils-all/objcopy.exp: Add it.
Diffstat (limited to 'binutils/testsuite/binutils-all/objcopy.exp')
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index f7f6cde338..f734e14836 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -835,6 +835,7 @@ if [is_elf_format] {
objcopy_test_readelf "ELF group" group-3.s
objcopy_test_readelf "ELF group" group-4.s
run_dump_test "copy-1"
+ run_dump_test "note-1"
}
run_dump_test "copy-2"
OpenPOWER on IntegriCloud