This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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] glibc 2.2.94 - hppa - plt relocations


On Mon, Sep 23, 2002 at 03:13:29PM +0930, Alan Modra wrote:
> 
> It may be possible to redesign the relocations, or at least the
> hppa dl-machine.h code, but I don't have time and I think the approach
> used in the patch is the cleanest available.  eg. another approach
> would be to add the load address to the ltp entry, but RELA targets
> shouldn't be reading section contents.  This would also require a
> binutils change as ld currently leaves the field zero.
> 
> I'll also note that the patch as it stands should be rejected for
> another reason, and that is that it isn't complete.  eg. I needed to
> patch sysdeps/i386/dl-machine.h elf_machine_rela_relative to add the
> extra param.

IA 64 had the similar problem when it was first mergred. Shouldn't
HPPA try something similar like DL_RELOCATION_NEEDS_MAP?


H.J.


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