This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: MIPS broken in 2.3


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


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