about summary refs log blame commit diff
path: root/sysdeps/unix/sysv/linux/ldd-rewrite.sed
blob: efc1b575404c04e9413262d63f2e480280528ec4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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"