aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-07-04 04:04:19 +0000
committerAlan Modra <amodra@gmail.com>2005-07-04 04:04:19 +0000
commit711c0baa9db0a125a6e3df87564fcefd4ad505c4 (patch)
tree4bd5ea7f3048f6630109f20c10c0df98ac70b581 /ld/emultempl
parent551b43fde1ab573285b643ee28f757f4d4aeb500 (diff)
downloadgdb-711c0baa9db0a125a6e3df87564fcefd4ad505c4.zip
gdb-711c0baa9db0a125a6e3df87564fcefd4ad505c4.tar.gz
gdb-711c0baa9db0a125a6e3df87564fcefd4ad505c4.tar.bz2
* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/elf32.em8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index e20bd73..9248c30 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -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;