]> sourceware.org Git - binutils-gdb.git/commit
Make objcopy -p work when an output file is specified
authorAlan Modra <amodra@gmail.com>
Wed, 14 Apr 2021 16:03:13 +0000 (01:33 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Apr 2021 05:33:50 +0000 (15:03 +0930)
commite4454ee18960b092ba10e43100d43fef12f65b26
tree53706a2dd3c949bcdcdd7d78f60b79efbd22e29d
parent9f31bd0dbaac4364a03039e1230a108ee5c29ba3
Make objcopy -p work when an output file is specified

More fallout from the PR27456 fixes.

PR 27456
* rename.c (smart_rename): When TO and FROM are equal, just set
file timestamp.
* objcopy.c (strip_main, copy_main): Always call smart_rename.

(cherry picked from commit d0ecdcddc363ad7f05fc50cf1eee4028fa7f8964)
binutils/ChangeLog
binutils/objcopy.c
binutils/rename.c
This page took 0.033992 seconds and 5 git commands to generate.