Search the configured multilib
commit2e4d3492e6627fc9d4c34de104a6ebe6f84ac1e9
authorAlexey Neyman <stilor@att.net>
Wed, 15 Mar 2017 06:24:14 +0000 (14 23:24 -0700)
committerWaldemar Brodkorb <wbx@openadk.org>
Fri, 17 Mar 2017 18:20:40 +0000 (17 19:20 +0100)
tree017b5ed2630fd668a4813388c84f75bef95130db
parent6458e8278c9317f8254eeca9aaf86ce60f3a257b
Search the configured multilib

... before falling back to ld.so installation path (it is not the same -
gcc uses /lib/ld-uClibc-x86-64.so.0 for uClibc) or default /lib:/usr/lib.

This matches glibc behavior (see trusted-dirs.h generated during glibc
build).

Signed-off-by: Alexey Neyman <stilor@att.net>
ldso/ldso/Makefile.in
ldso/ldso/dl-elf.c