diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-29 21:14:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-29 21:14:40 +0000 |
commit | e2102c142234bd7042fb2623d783a1fba8e5e428 (patch) | |
tree | ecfb52a5ed05a4cce2e022c7c4ba9675e1f758f2 /sysdeps/unix/sysv/linux/ldd-rewrite.sed | |
parent | cb34385453717065a4bbfd9fae971b76c186df1e (diff) | |
download | glibc-e2102c142234bd7042fb2623d783a1fba8e5e428.tar.gz glibc-e2102c142234bd7042fb2623d783a1fba8e5e428.tar.xz glibc-e2102c142234bd7042fb2623d783a1fba8e5e428.zip |
Update.
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ldd-rewrite.sed')
-rw-r--r-- | sysdeps/unix/sysv/linux/ldd-rewrite.sed | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ldd-rewrite.sed b/sysdeps/unix/sysv/linux/ldd-rewrite.sed new file mode 100644 index 0000000000..efc1b57540 --- /dev/null +++ b/sysdeps/unix/sysv/linux/ldd-rewrite.sed @@ -0,0 +1,11 @@ +/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" |