PATCH: Handle R_ALPHA_NONE

H . J . Lu hjl@lucon.org
Mon Apr 15 21:45:00 GMT 2002


On Mon, Apr 15, 2002 at 04:51:09PM -0700, Ulrich Drepper wrote:
> On Mon, 2002-04-15 at 16:02, H . J . Lu wrote:
> > I got a few R_ALPHA_NONEs in ld.so with binutils 2.12.90.0.4 and gcc
> > 2.96-109. I need this patch to compile glibc on alpha.
> 
> How about fixing ld?  It shouldn't emit these relocations.  The very
> least which should be done to the patch is to disable it for ld.so's
> first relocation.
> 

The issue is ELF/alpha allocates more relocation entries for ld.so than
needed.  The extra entries are filled with R_ALPHA_NONE. combreloc puts
R_ALPHA_NONE before R_ALPHA_GLOB_DAT.


H.J.



More information about the Binutils mailing list