Subject: None
To: Christos Zoulas <>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: current-users
Date: 01/22/1999 15:23:14
>And shared libraries? I have not gotten that to work yet :-)
>I still have problems with COPY relocations.

Once upon a time the R_COPY code was inside #ifdef __alpha__, because
the relocs werent' defined for mips.  Did they get turned on properly
for i386?  Or does the code not work there?

Guess we should add a featuremacro or two, and turn them on inside
MACHINE_ARCH specific headers, rather than the explicit ifdefs.

>I've also kludged the interpreter to load at 0, because otherwise
>it tries to reference relocatable symbols before it gets a chance
>to relocate them.

The alpha has some hand-tweaked assembly that relocates ld.elf_so
before it starts relocating anything else. Duplicating that seems
... painful.  Mapping at address 0 breaks null-pointer checking,
so on mips we mapped ld.elf_so at the high end of a `segment' boundary.