* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.

This commit is contained in:
Alan Modra 2005-07-04 04:04:19 +00:00
parent 551b43fde1
commit 711c0baa9d
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2005-07-04 Aurelien Jarno <aurel32@debian.org>
* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
2005-07-01 Alan Modra <amodra@bigpond.net.au>
* scripttempl/elf.sc (.gcc_except_table): Don't KEEP.

View File

@ -69,7 +69,7 @@ EOF
if [ "x${USE_LIBPATH}" = xyes ] ; then
case ${target} in
*-*-linux-*)
*-*-linux-* | *-*-k*bsd*-*)
cat >>e${EMULATION_NAME}.c <<EOF
#ifdef HAVE_GLOB
#include <glob.h>
@ -354,7 +354,7 @@ gld${EMULATION_NAME}_try_needed (struct dt_needed *needed,
EOF
case ${target} in
*-*-linux-*)
*-*-linux-* | *-*-k*bsd*-*)
cat >>e${EMULATION_NAME}.c <<EOF
{
struct bfd_link_needed_list *l;
@ -526,7 +526,7 @@ gld${EMULATION_NAME}_add_sysroot (const char *path)
EOF
case ${target} in
*-*-linux-*)
*-*-linux-* | *-*-k*bsd*-*)
cat >>e${EMULATION_NAME}.c <<EOF
/* For a native linker, check the file /etc/ld.so.conf for directories
in which we may find shared libraries. /etc/ld.so.conf is really
@ -936,7 +936,7 @@ cat >>e${EMULATION_NAME}.c <<EOF
EOF
if [ "x${USE_LIBPATH}" = xyes ] ; then
case ${target} in
*-*-linux-*)
*-*-linux-* | *-*-k*bsd*-*)
cat >>e${EMULATION_NAME}.c <<EOF
if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))
break;