https://sourceware.org/bugzilla/show_bug.cgi?id=33684

--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Ali Bahrami from comment #15)
> > The one difference I now see between foo.so and foo_copy.so
> > is that the index of the symtab section header has moved
> > down from it's previous position (18) to (21). This is
> > consistent with what happens when one deletes a section,
> > and then adds one. It would be a nice touch to instead
> > rewrite the existing section. One nice side effect of that
> > is that there is then no reason to rewrite any string tables.
> 
> Actually, in this particular case, where the contents of
> the symtab don't change, there's really no reason to rewrite
> anything.

objcopy always rewrites the symbol table.  If the input is created
by the same binutils, the symbol table won't be changed.  Otherwise,
it may be changed.  It shouldn't be an issue if the output is correct.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to