[patch] Prevent the linker from crashing.

Daniel Jacobowitz dan@codesourcery.com
Mon Oct 2 20:25:00 GMT 2006


On Fri, Sep 08, 2006 at 11:45:12AM -0700, Kazu Hirata wrote:
> Hi,
> 
> Attached is a patch to prevent the linker from crashing.  References
> to TLS symbols are discarded from the --just-syms file; other
> references should resolve normally.
> 
> Tested on powerpc.  OK to apply?
> 
> Kazu Hirata
> 
> 2006-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
> 
> 	* elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
> 	symbols from the --just-syms file.

OK, and thanks for submitting.  I'll self-approve this because I can't
see any way it could be worse than the current state.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list