mirror of git://sourceware.org/git/glibc.git
parent
2d499f55d7
commit
5e76a3468a
|
|
@ -1,5 +1,7 @@
|
||||||
2000-05-23 Ulrich Drepper <drepper@redhat.com>
|
2000-05-23 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* elf/dl-sym.c: Minor cleanups.
|
||||||
|
|
||||||
* configure.in: Add test for .protected.
|
* configure.in: Add test for .protected.
|
||||||
* config.make.in: Add have-protected variable.
|
* config.make.in: Add have-protected variable.
|
||||||
* elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
|
* elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,8 @@ _dl_sym (void *handle, const char *name, void *who)
|
||||||
result = _dl_lookup_symbol (name, NULL, &ref, _dl_global_scope, 0);
|
result = _dl_lookup_symbol (name, NULL, &ref, _dl_global_scope, 0);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
struct link_map *l, *match;
|
struct link_map *l;
|
||||||
|
struct link_map *match;
|
||||||
ElfW(Addr) caller = (ElfW(Addr)) who;
|
ElfW(Addr) caller = (ElfW(Addr)) who;
|
||||||
|
|
||||||
/* Find the highest-addressed object that CALLER is not below. */
|
/* Find the highest-addressed object that CALLER is not below. */
|
||||||
|
|
@ -101,7 +102,8 @@ _dl_vsym (void *handle, const char *name, const char *version, void *who)
|
||||||
&vers, 0);
|
&vers, 0);
|
||||||
else if (handle == RTLD_NEXT)
|
else if (handle == RTLD_NEXT)
|
||||||
{
|
{
|
||||||
struct link_map *l, *match;
|
struct link_map *l;
|
||||||
|
struct link_map *match;
|
||||||
ElfW(Addr) caller = (ElfW(Addr)) who;
|
ElfW(Addr) caller = (ElfW(Addr)) who;
|
||||||
|
|
||||||
/* Find the highest-addressed object that CALLER is not below. */
|
/* Find the highest-addressed object that CALLER is not below. */
|
||||||
|
|
@ -132,5 +134,6 @@ RTLD_NEXT used in code not dynamically loaded"));
|
||||||
|
|
||||||
if (ref)
|
if (ref)
|
||||||
return DL_SYMBOL_ADDRESS (result, ref);
|
return DL_SYMBOL_ADDRESS (result, ref);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue