MIPS broken in 2.3
Jakub Jelinek
jakub@redhat.com
Mon Dec 17 03:23:00 GMT 2001
On Mon, Dec 17, 2001 at 09:10:07AM +0100, Andreas Jaeger wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
>
> > On Thu, Dec 13, 2001 at 09:02:01AM +0100, Andreas Jaeger wrote:
> >>
> >> Hi,
> >>
> >> mips seems to be broken with Jakub's prelink patches:
> >> > glibc-2.2/cc/elf/ld.so.1: undefined reference to `elf_machine_rela'
> >> > glibc-2.2/cc/elf/ld.so.1: undefined reference to `_begin'collect2: ld returned 1 exit status
> >>
> >> I'll look later in it if nobody beats me,
> >>
> >
> > Try this one. You may have to modify it a little bit. All those
> > platforms which don't support prelink are broken.
> >
> >
> > H.J.
> > ----
> > 2001-10-01 H.J. Lu <hjl@gnu.org>
> >
> > * elf/dl-conflict.c: Moved to ...
> > * sysdeps/generic/dl-conflict.c: Here.
> >
> > * sysdeps/mips/dl-conflict.c: New. Dummy.
>
> this patch seems to fix the problem.
>
> Uli, ok to commit it?
I'd prefer making a dummy elf_machine_rela in sysdeps/mips/dl-machine.h
instead (well, best would be if somebody ported prelink to mips;
I'll try to answer any questions and help).
I skipped mips because it is way too different from how any other ELF
architecture works (e.g. using a single dynamic reloc type for everything
with various meanings, etc.) and I have no access to it.
Jakub
More information about the Libc-hacker
mailing list