This is the mail archive of the binutils@sources.redhat.com 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]

Re: Why deos ELF/PPC care R_PPC_NONE?


On Thu, Oct 18, 2001 at 01:28:49PM -0700, H . J . Lu wrote:
> 
> 	* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
> 	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.

I'd call this an "obvious fix", except for the fact that elf32_ppc.c
specifically mentions R_PPC_NONE in the group of relocations "that
always need to be propagated if this is a shared object".  Go ahead
and apply it anyway;  The only real use I can think of for a _NONE
reloc is in tying sections together during --gc-sections, and I don't
think ppc binutils does anything like that.

Alan


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