Handle relocs against discarded sections for ppc

Alan Modra amodra@bigpond.net.au
Tue Jan 21 00:19:00 GMT 2003


On Mon, Jan 20, 2003 at 11:41:29AM +0100, Andreas Schwab wrote:
> 2003-01-19  Andreas Schwab  <schwab@suse.de>
> 
> 	* elf32-ppc.c (struct ppc_elf_dyn_relocs): Define.
> 	(struct ppc_elf_link_hash_entry): Define.
> 	(ppc_elf_hash_entry): Define.
> 	(struct ppc_elf_link_hash_table): Define.
> 	(ppc_elf_hash_table): Define.
> 	(ppc_elf_link_hash_newfunc): Define.
> 	(ppc_elf_link_hash_table_create): Define.
> 	(ppc_elf_copy_indirect_symbol): Define.
>         (allocate_dynrelocs): Define.
> 	(readonly_dynrelocs): Define.
> 	(ppc_elf_size_dynamic_sections): Allocate space for dynamic
> 	relocs and determine DT_TEXTREL.
> 	(ppc_elf_check_relocs): Don't do that here, just count the
> 	dynamic relocs.
> 	(ppc_elf_gc_sweep_hook): Discard any dynamic relocs against the
> 	removed section.
> 	(bfd_elf32_bfd_link_hash_table_create): Define.

Thanks!  This has been on my TODO list for a long time.  Please install.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list