This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/5] PR ld/20828: Reorder the symbol sweep stage of section GC


On Mon, Jan 23, 2017 at 11:38:20AM +0000, Maciej W. Rozycki wrote:
> 	PR ld/20828
> 	* elflink.c (bfd_elf_record_link_assignment): Revert last 
> 	change and don't ever clear `forced_local'.  Set `mark' 
> 	unconditionally.
> 	(elf_gc_sweep_symbol_info, elf_gc_sweep_symbol): Reorder within
> 	file.
> 	(elf_gc_sweep): Move the call to `elf_gc_sweep_symbol'...
> 	(bfd_elf_size_dynamic_sections): ... here.
> 	* elf32-ppc.c (ppc_elf_tls_setup): Don't clear `forced_local'
> 	and set `mark' instead in `__tls_get_addr_opt' processing.
> 	* elf64-ppc.c (ppc64_elf_tls_setup): Likewise.

I think this is OK for master, but please delay putting this patch on
the branch for a while.  There is a possibility that the change might
tickle bugs in some target check_relocs.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]