[GOLD][PATCH PROPOSAL] prevent discarding of needed local symbols for the relocatable objects
Ian Lance Taylor
iant@google.com
Tue May 10 23:56:00 GMT 2011
Cary Coutant <ccoutant@google.com> writes:
> This patch fixes the problem. Is this OK, or were you thinking that
> do_finalize_local_symbols() shouldn't even assign the symbol index
> when -s is set?
I was thinking the latter. I see that do_count_local_symbols checks
discard_locals. It sounds like it should also test strip_all. A patch
for that is preapproved if it works.
Thanks.
Ian
More information about the Binutils
mailing list