binutils/:
commit011571b18268e426f5789af0503834fefe58f555
authorIan Lance Taylor <ian@airs.com>
Wed, 20 Jan 2010 00:09:13 +0000 (20 00:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 20 Jan 2010 00:09:13 +0000 (20 00:09 +0000)
treeb7843a386ffb1322d1ab2476e6c7b249e531b140
parent077c2ebc9fb6f59ef3b433c6658c3b99f41f1df5
binutils/:
* objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
with non-ordinary files like /dev/null.
binutils/testsuite/:
* lib/utils-lib.exp (run_dump_test): Permit option values to use
$srcdir to refer to the source directory.
* binutils-all/add-section.d: New test.
* binutils-all/add-empty-section.d: New test.
* binutils-all/empty-file: New test input file.
* binutils-all/objcopy.exp: Run new tests.
binutils/ChangeLog
binutils/objcopy.c
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/add-empty-section.d [new file with mode: 0644]
binutils/testsuite/binutils-all/add-section.d [new file with mode: 0644]
binutils/testsuite/binutils-all/empty-file [new file with mode: 0644]
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/lib/utils-lib.exp