summaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-16 10:43:40 +0000
committerNick Clifton <nickc@redhat.com>2012-05-16 10:43:40 +0000
commitb732b92e74ef58ffc27b800d76494d5ff0df2f3f (patch)
tree0076b432c3b2c3a4fd5ba7c28247410ee4dc0ec5 /ld/emultempl
parenta28235995ee29feb4d279b3790082c4e474a57f8 (diff)
downloadbinutils-redhat-b732b92e74ef58ffc27b800d76494d5ff0df2f3f.tar.gz
PR ld/14069
* emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf support.
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 880f054ff9..aab1c6d8e6 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -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))