diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-04-13 07:55:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-04-13 07:55:02 +0000 |
commit | f9f2a150e845fa19fc047285aa38e9164e42aa6a (patch) | |
tree | f03cc56b23d340150f545060f32a12dabaa5aa4b /elf/dl-libc.c | |
parent | 61bb2ef098cc1e7e598e32511915525de98ed7d1 (diff) | |
download | glibc-f9f2a150e845fa19fc047285aa38e9164e42aa6a.tar.gz |
Update.
2002-04-13 Ulrich Drepper <drepper@redhat.com>
* elf/do-lookup.h [!VERSIONED]: Add new parameter flags. Use it to
check whether the caller prefers getting the most recent version of
a symbol of the earliest version.
* elf/dl-lookup.c: Adjust all callers of do_lookup. Change
_dl_do_lookup to also take the new parameter and pass it on.
Change 'explicit' parameter of _dl_lookup_symbol and
_dl_lookup_versioned_symbol to flags. Adjust tests.
* sysdeps/generic/ldsodefs.h: Adjust prototypes.
* elf/dl-libc.c: Adjust all callers of _dl_lookup_symbol and
_dl_lookup_versioned_symbol.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-sym.c: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.
Diffstat (limited to 'elf/dl-libc.c')
-rw-r--r-- | elf/dl-libc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-libc.c b/elf/dl-libc.c index bb32f697e1..938b5d707d 100644 --- a/elf/dl-libc.c +++ b/elf/dl-libc.c @@ -84,7 +84,8 @@ do_dlsym (void *ptr) struct do_dlsym_args *args = (struct do_dlsym_args *) ptr; args->ref = NULL; args->loadbase = _dl_lookup_symbol (args->name, args->map, &args->ref, - args->map->l_local_scope, 0, 1); + args->map->l_local_scope, 0, + DL_LOOKUP_RETURN_NEWEST); } static void |