[PATCH] Small rtld.c fix
Jakub Jelinek
jakub@redhat.com
Mon Aug 27 02:53:00 GMT 2001
Hi!
2001-08-27 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
--- libc/elf/rtld.c.jj Sun Aug 26 19:19:32 2001
+++ libc/elf/rtld.c Mon Aug 27 12:12:03 2001
@@ -895,7 +895,7 @@ of this helper program; chances are you
result = _dl_lookup_symbol (_dl_argv[i], _dl_loaded,
&ref, _dl_loaded->l_scope,
- ELF_MACHINE_JMP_SLOT, 1);
+ ELF_RTYPE_CLASS_PLT, 1);
loadbase = LOOKUP_VALUE_ADDRESS (result);
Jakub
More information about the Libc-hacker
mailing list