PATCH: Fix prelink for mips
Ulrich Drepper
drepper@redhat.com
Thu Jan 17 15:12:00 GMT 2002
"H . J . Lu" <hjl@lucon.org> writes:
> Some patch is necessary since mips doesn't have elf_machine_rela. You
> can define a dummy elf_machine_rela in sysdeps/mips/dl-machine.h. But
> ...
Then make the use of the type (or all of prelinking) depending on
this. If a new architecture is added it'll have the same problem.
Define _DL_HAVE_NO_ELF_MACHINE_RELA or and test for it in dl-conflict.
> But I don't see we should change elf/dl-conflict.c just for mips. I
> prefer to have a dl-conflict.c specific to mips.
I understand this. But we should delay making such changes until they
are ready to be incorporated. The missing _rela function is an issue
unrelated to not being able to implement prelinking and therefore
should be handled. With this change you can use the current code
until it is proven which method will work for MIPS.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list