[patch][gold] Add -nostdlib

Rafael Espindola espindola@google.com
Tue May 18 16:20:00 GMT 2010


The attached patch adds the -nostdlib option. I didn't include a warning for
the script case since gnu ld is silent when ignoring SEARCH_DIR.

2010-05-18  Rafael Espindola  <espindola@google.com>

	* options.cc (General_options::finalize): Handle -nostdlib.
	* options.h (nostdlib): New option.
	* script.cc (script_add_search_dir): Handle -nostdlib.

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stdlib.patch
Type: text/x-diff
Size: 1585 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100518/f4190298/attachment.bin>


More information about the Binutils mailing list