binutils/:
authorIan Lance Taylor <ian@airs.com>
Wed, 20 Jan 2010 00:09:13 +0000 (00:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 20 Jan 2010 00:09:13 +0000 (00:09 +0000)
commit500ee42ee091d6e8860d237bd5e74e8cdcf61d70
tree60cf2ebadc06364c7e00c8ae0010e00b887b9c8e
parent1696f399f791173c5714c877514861b706f2f6ad
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