]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR ld/14069
authorNick Clifton <nickc@redhat.com>
Wed, 16 May 2012 10:43:41 +0000 (10:43 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 16 May 2012 10:43:41 +0000 (10:43 +0000)
* emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf
support.

ld/ChangeLog
ld/emultempl/elf32.em

index eff6cf3982338ac44738121ecb1095df1fc0b93d..d026c35d6a5f87017dafb8618fb7d951be2d5bbc 100644 (file)
@@ -1,3 +1,9 @@
+2012-05-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       PR ld/14069
+       * emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf
+       support.
+
 2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
 
        * NEWS: Mention the support for S12X processors.
index 880f054ff9a331d6719d7767afe8bcbf5756edf1..aab1c6d8e6445961ce73455c5636b72aa733c486 100644 (file)
@@ -72,7 +72,7 @@ EOF
 
 if [ "x${USE_LIBPATH}" = xyes ] ; then
   case ${target} in
-    *-*-linux-* | *-*-k*bsd*-*)
+    *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
   fragment <<EOF
 #ifdef HAVE_GLOB
 #include <glob.h>
@@ -374,7 +374,7 @@ gld${EMULATION_NAME}_try_needed (struct dt_needed *needed,
 
 EOF
 case ${target} in
-  *-*-linux-* | *-*-k*bsd*-*)
+  *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
     fragment <<EOF
          {
            struct bfd_link_needed_list *l;
@@ -620,7 +620,7 @@ EOF
     # FreeBSD
     ;;
 
-    *-*-linux-* | *-*-k*bsd*-*)
+    *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
       fragment <<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
@@ -1310,7 +1310,7 @@ EOF
     # FreeBSD
     ;;
 
-    *-*-linux-* | *-*-k*bsd*-*)
+    *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
     # Linux
       fragment <<EOF
          if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))