This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA:] elflink.c: Hide _GLOBAL_OFFSET_TABLE_
On Sun, Jan 09, 2005 at 10:55:58AM +0100, Eric Botcazou wrote:
> May I install the cleanup part of the discarded patch though? The rationale
> for the SPARC 64-bit changes is to make the 64-bit code more similar to the
> 32-bit code.
> 2005-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
>
> * elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc
> to zero the structure.
> (create_got_section): Use BFD_ASSERT instead of abort.
> * elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and
> 'srelgot' fields.
> (create_got_section): New function.
> (sparc64_elf_create_dynamic_sections): Likewise.
> (sparc64_elf_check_relocs): Invoke create_got_section instead of
> _bfd_elf_create_got_section. Use the sgot and srelgot shortcuts.
> (sparc64_elf_size_dynamic_sections): Use the srelgot shortcut.
> (sparc64_elf_relocate_section): Use the sgot and srelgot shortcuts.
> (sparc64_elf_finish_dynamic_symbol): Likewise.
> (sparc64_elf_finish_dynamic_sections): Use the sgot shortcut.
> (elf_backend_create_dynamic_sections): Define to
> sparc64_elf_create_dynamic_sections.
Yes, please.
Jakub