[PATCH, needs GWP] Add an ELF rela_plts_and_copies_p parameter

Alan Modra amodra@bigpond.net.au
Mon Jun 30 08:59:00 GMT 2008


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



More information about the Binutils mailing list