mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-30 06:21:07 +00:00
e2102c1422
1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile: Fix typo. * elf/ldd.bash.in: Collect output of ldd --verify in verify_out. * elf/ldd.sh.in: Likewise. * elf/ldsodefs.h: Declare _dl_correct_cache_id. * elf/rtld.c (dl_main): In --verify mode allow platform specifc action. Use strsep correctly. (process_envvars): Allow platform specific variables. * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable. (_dl_load_cache_lookup): Test cache IDs found against _dl_correct_cache_id. * sysdeps/generic/dl-librecon.h: New file. * sysdeps/unix/sysv/linux/dl-librecon.h: New file. * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h. * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
12 lines
273 B
Sed
12 lines
273 B
Sed
/Maybe extra code for non-ELF binaries/a\
|
|
file=$1\
|
|
# Run the ldd stub.\
|
|
lddlibc4 $file\
|
|
# Test the result.\
|
|
if test $? -lt 3; then\
|
|
exit 0;\
|
|
fi\
|
|
# In case of an error punt.
|
|
/LD_TRACE_LOADED_OBJECTS=1/a\
|
|
add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"
|