gold patch committed: Add -x/--discard-locals

Ian Lance Taylor iant@google.com
Wed Dec 30 20:24:00 GMT 2009


I committed this patch to gold to add the -x/--discard-all option.  I
also fixed the handling of a local symbol which requires a dynamic
symbol table entry when -X/--discard-locals is in effect.

Ian


2009-12-30  Ian Lance Taylor  <iant@google.com>

	PR 10670
	* options.h (class General_options): Add -x/--discard-all.
	* object.cc (Sized_relobj::do_count_local_symbols): Handle
	--discard-all.  If the local symbol needs a dynamic entry, check
	that before handling --discard-locals.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 3102 bytes
Desc: discard-locals
URL: <https://sourceware.org/pipermail/binutils/attachments/20091230/0d95f062/attachment.bin>


More information about the Binutils mailing list