This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, needs GWP] Add an ELF rela_plts_and_copies_p parameter


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]