This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, needs GWP] Add an ELF rela_plts_and_copies_p parameter
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org, rdsandiford at googlemail dot com
- Date: Mon, 30 Jun 2008 10:17:49 +0930
- Subject: Re: [PATCH, needs GWP] Add an ELF rela_plts_and_copies_p parameter
- References: <87bq1lzdy1.fsf@firetop.home>
On Sat, Jun 28, 2008 at 06:06:46PM +0100, Richard Sandiford wrote:
> * elf-bfd.h (elf_backend_data): Add a "rela_plts_and_copies_p" field.
> * elfxx-target.h (elf_backend_rela_plts_and_copies_p): New macro.
> (elfNN_bed): Use it.
> * elf.c (_bfd_elf_get_synthetic_symtab): Use rela_plts_and_copies_p
> instead of default_use_rela_p to choose between ".rel.plt" and
> ".rela.plt".
> * elflink.c (_bfd_elf_create_dynamic_sections): Use
> rela_plts_and_copies_p instead of default_use_rela_p to choose
> between ".rel.plt" and ".rela.plt", and between ".rel.bss" and
> ".rela.bss".
OK.
--
Alan Modra
Australia Development Lab, IBM