mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
* elf/Versions: Remove functions which are not exported anymore. * dlfcn/dlerror.c: Call ld.so functions through GLSO. * dlfcn/dlinfo.c: Likewise. * elf/dl-close.c: Likewise. * elf/dl-libc.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-sym.c: Likewise. * sysdeps/generic/libc-start.c: Likewise. * elf/dl-debug.c: Remove *_internal definition. Don't use INTUSE for functions which are not exported anymore. * elf/dl-deps.c: Likewise. * elf/dl-dst.h: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-misc.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-profstub.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. * include/dlfcn.h: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/dl-fptr.c: Likewise. * sysdeps/generic/dl-origin.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise. * sysdeps/generic/dl-tls.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/i386/dl-tls.h: Likewise. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. * elf/rtld.c: Likewise. Export function though _rtld_global_ro. * generic/dl-fptr.c: Likewise. * mach/hurd/dl-sysdep.c: Likewise. * unix/sysv/linux/ia64/dl-static.c: Likewise. * unix/sysv/linux/ia64/getpagesize.c: Likewise. * unix/sysv/linux/m68k/getpagesize.c: Likewise. * unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise.
This commit is contained in:
@ -84,19 +84,17 @@ fixup (
|
||||
|
||||
if (version->hash != 0)
|
||||
{
|
||||
result = INTUSE(_dl_lookup_versioned_symbol) (strtab
|
||||
+ sym->st_name,
|
||||
l, &sym, l->l_scope,
|
||||
version,
|
||||
ELF_RTYPE_CLASS_PLT,
|
||||
0);
|
||||
result = _dl_lookup_versioned_symbol (strtab + sym->st_name,
|
||||
l, &sym, l->l_scope,
|
||||
version,
|
||||
ELF_RTYPE_CLASS_PLT, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0:
|
||||
result = INTUSE(_dl_lookup_symbol) (strtab + sym->st_name, l, &sym,
|
||||
l->l_scope, ELF_RTYPE_CLASS_PLT,
|
||||
DL_LOOKUP_ADD_DEPENDENCY);
|
||||
result = _dl_lookup_symbol (strtab + sym->st_name, l, &sym,
|
||||
l->l_scope, ELF_RTYPE_CLASS_PLT,
|
||||
DL_LOOKUP_ADD_DEPENDENCY);
|
||||
}
|
||||
|
||||
/* Currently result contains the base load address (or link map)
|
||||
@ -174,21 +172,19 @@ profile_fixup (
|
||||
|
||||
if (version->hash != 0)
|
||||
{
|
||||
result = INTUSE(_dl_lookup_versioned_symbol) (strtab
|
||||
+ sym->st_name,
|
||||
l, &sym,
|
||||
l->l_scope,
|
||||
version,
|
||||
ELF_RTYPE_CLASS_PLT,
|
||||
0);
|
||||
result = _dl_lookup_versioned_symbol (strtab
|
||||
+ sym->st_name,
|
||||
l, &sym, l->l_scope,
|
||||
version,
|
||||
ELF_RTYPE_CLASS_PLT,
|
||||
0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0:
|
||||
result = INTUSE(_dl_lookup_symbol) (strtab + sym->st_name, l,
|
||||
&sym, l->l_scope,
|
||||
ELF_RTYPE_CLASS_PLT,
|
||||
DL_LOOKUP_ADD_DEPENDENCY);
|
||||
result = _dl_lookup_symbol (strtab + sym->st_name, l, &sym,
|
||||
l->l_scope, ELF_RTYPE_CLASS_PLT,
|
||||
DL_LOOKUP_ADD_DEPENDENCY);
|
||||
}
|
||||
|
||||
/* Currently result contains the base load address (or link map)
|
||||
|
Reference in New Issue
Block a user