[PATCH] PR ld/20828: Fix linker script symbols wrongly forced local with section GC

Maciej W. Rozycki macro@imgtec.com
Wed Jan 18 18:56:00 GMT 2017


On Mon, 16 Jan 2017, Alan Modra wrote:

> > 	bfd/
> > 	PR ld/20828
> > 	* elflink.c (bfd_elf_record_link_assignment): Clear any 
> > 	`forced_local' marking for DSO symbols that are not being 
> > 	provided.
> > 
> > 	ld/
> > 	PR ld/20828
> > 	* testsuite/ld-elf/pr20828-1.sd: New test.
> > 	* testsuite/ld-elf/pr20828-2a.sd: New test.
> > 	* testsuite/ld-elf/pr20828-2b.sd: New test.
> > 	* testsuite/ld-elf/pr20828.ld: New test linker script.
> > 	* testsuite/ld-elf/pr20828.ver: New test version script.
> > 	* testsuite/ld-elf/pr20828.s: New test source.
> > 	* testsuite/ld-elf/shared.exp: Run the new test.
> 
> OK.  Should go on the branch too.

 Committed and backported.  Thanks for your review.

  Maciej



More information about the Binutils mailing list