This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Handle relocs against discarded sections for ppc
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 21 Jan 2003 10:49:43 +1030
- Subject: Re: Handle relocs against discarded sections for ppc
- References: <m365slurri.fsf@whitebox.local> <jeel782jdy.fsf@sykes.suse.de>
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