https://sourceware.org/bugzilla/show_bug.cgi?id=33684
--- Comment #17 from Ali Bahrami <ali_swbugzilla at emvision dot com> ---
> objcopy always rewrites the symbol table. If the input is created
> by the same binutils, the symbol table won't be changed.
Understood, but with a couple of points:
- Since the symbol table exists, its contents can be
rewritten without moving its relative position in the
object. Retaining the same section header index would
reduces the ripple effect from rewriting.
- If the rewriting makes no actual changes to the symbol
table, then there's no need to change the existing
contents --- an optimization. A possible benefit might
be reducing unnecessary differences due to the input
not being created by the same binutils, or as with this
bug, not by binutils at all.
> Otherwise,
> it may be changed. It shouldn't be an issue if the output is correct.
Agreed. These are possible refinements, not bugs.
--
You are receiving this mail because:
You are on the CC list for the bug.