2.9
[glibc/nacl-glibc.git] / sysdeps / unix / sysv / linux / ldd-rewrite.sed
blob7b8b6bdee06207e54d21c6228e9794012ae88762
1 /Maybe extra code for non-ELF binaries/a\
2   file=$1\
3   # Run the ldd stub.\
4   lddlibc4 "$file"\
5   # Test the result.\
6   if test $? -lt 3; then\
7     return 0;\
8   fi\
9   # In case of an error punt.
10 /LD_TRACE_LOADED_OBJECTS=1/a\
11 add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"