OSDN Git Service

binutils/:
authorian <ian>
Wed, 20 Jan 2010 00:09:13 +0000 (00:09 +0000)
committerian <ian>
Wed, 20 Jan 2010 00:09:13 +0000 (00:09 +0000)
commitc139018f2e4886b44f465bfc1308b4ad102c225a
treef5b27eb2144293e242136701f895f929f245d276
parent835d723c44a25899947b09b92bac5a52848418a8
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