Minor objcopy optimisation for copy_relocations_in_section
authorAlan Modra <amodra@gmail.com>
Thu, 1 Jun 2023 07:30:53 +0000 (17:00 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 2 Jun 2023 00:11:49 +0000 (09:41 +0930)
commit56e4ccc924d47c30e7446efe771397d2de141762
treebca1f766598f290a5bdcb32913c7a0274efacf1d
parentcf6522cb2f6ef5f278fe700699b80d0433324ab3
Minor objcopy optimisation for copy_relocations_in_section

* objcopy (copy_relocations_in_section): Don't read the relocs
for STRIP_ALL if keep_specific_htab is empty.
binutils/objcopy.c