From: Ulrich Drepper Date: Mon, 27 Aug 2001 00:19:07 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2-2-5~348 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=092243fa4ee3791ca27ee0827061a1f168ce9c94;p=thirdparty%2Fglibc.git Update. 2001-08-26 Ulrich Drepper * elf/dl-runtime.c: Update calls to _dl_lookup_*. --- diff --git a/ChangeLog b/ChangeLog index 35ba6a6e689..44ada2e3773 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-08-26 Ulrich Drepper + + * elf/dl-runtime.c: Update calls to _dl_lookup_*. + 2001-08-26 Jakub Jelinek * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c index f3696607773..7a77f46b937 100644 --- a/elf/dl-runtime.c +++ b/elf/dl-runtime.c @@ -1,5 +1,5 @@ /* On-demand PLT fixup for shared objects. - Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -89,13 +89,13 @@ fixup ( result = _dl_lookup_versioned_symbol (strtab + sym->st_name, l, &sym, l->l_scope, version, - ELF_MACHINE_JMP_SLOT, 0); + ELF_RTYPE_CLASS_PLT, 0); break; } } case 0: result = _dl_lookup_symbol (strtab + sym->st_name, l, &sym, - l->l_scope, ELF_MACHINE_JMP_SLOT, 0); + l->l_scope, ELF_RTYPE_CLASS_PLT, 0); } /* Currently result contains the base load address (or link map) @@ -181,14 +181,14 @@ profile_fixup ( result = _dl_lookup_versioned_symbol(strtab + sym->st_name, l, &sym, l->l_scope, version, - ELF_MACHINE_JMP_SLOT, + ELF_RTYPE_CLASS_PLT, 0); break; } } case 0: result = _dl_lookup_symbol (strtab + sym->st_name, l, &sym, - l->l_scope, ELF_MACHINE_JMP_SLOT, 0); + l->l_scope, ELF_RTYPE_CLASS_PLT, 0); } /* Currently result contains the base load address (or link map)