* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
authorAlan Modra <amodra@gmail.com>
Mon, 4 Jul 2005 04:04:19 +0000 (04:04 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 4 Jul 2005 04:04:19 +0000 (04:04 +0000)
ld/ChangeLog
ld/emultempl/elf32.em

index 16ee460c87ab778136922824c4c16bd60ed23cb5..9f6122c1a4a700b2004f0e1eb630c6f3691001fe 100644 (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.
index e20bd738bdce971e45cef7f6cde95731b43ea9ed..9248c30bb76a6a72a922e95e3d01c4a936f2b5c1 100644 (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;