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: R_PPC64_ENTRY


On Wed, Nov 25, 2015 at 12:12:52PM +1030, Alan Modra wrote:
> Add a new relocation that marks large-model entry code, for edit back
> to medium-model.
> 
> include/elf/
> 	* ppc64.h (R_PPC64_ENTRY): Define.
> bfd/
> 	* reloc.c (BFD_RELOC_PPC64_ENTRY): New.
> 	* elf64-ppc.c (reloc_howto_type ppc64_elf_howto_raw): Add
> 	entry for R_PPC64_ENTRY.
> 	(LD_R2_0R12, ADD_R2_R2_R12, LIS_R2, ADDIS_R2_R12): Define.
> 	(ppc64_elf_reloc_type_lookup): Handle R_PPC64_ENTRY.
> 	(ppc64_elf_relocate_section): Edit code at R_PPC64_ENTTY.  Use
> 	new insn defines.
> 	* libbfd.h: Regenerate.
> 	* bfd-in2.h: Regenerate.

Now committed.

-- 
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]