aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-03-23 15:35:50 +0000
committerNick Clifton <nickc@redhat.com>2005-03-23 15:35:50 +0000
commited84e6956070f271fa17199847375d81e75c1a46 (patch)
tree08523b7b38b4b19ed1ec54c92f44957caa8cc020 /ld/emultempl
parentf1099ef345453ffedc12ec80268bf285f837cbf1 (diff)
downloadgdb-ed84e6956070f271fa17199847375d81e75c1a46.zip
gdb-ed84e6956070f271fa17199847375d81e75c1a46.tar.gz
gdb-ed84e6956070f271fa17199847375d81e75c1a46.tar.bz2
Accept any C library to accompany a GNU Linux implementation, not just the GNU
C library.
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 b2d2a7c..ca5eafd 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -65,7 +65,7 @@ EOF
if [ "x${USE_LIBPATH}" = xyes ] ; then
case ${target} in
- *-*-linux-gnu*)
+ *-*-linux-*)
cat >>e${EMULATION_NAME}.c <<EOF
#ifdef HAVE_GLOB
#include <glob.h>
@@ -347,7 +347,7 @@ gld${EMULATION_NAME}_try_needed (struct dt_needed *needed,
EOF
case ${target} in
- *-*-linux-gnu*)
+ *-*-linux-*)
cat >>e${EMULATION_NAME}.c <<EOF
{
struct bfd_link_needed_list *l;
@@ -519,7 +519,7 @@ gld${EMULATION_NAME}_add_sysroot (const char *path)
EOF
case ${target} in
- *-*-linux-gnu*)
+ *-*-linux-*)
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
@@ -922,7 +922,7 @@ cat >>e${EMULATION_NAME}.c <<EOF
EOF
if [ "x${USE_LIBPATH}" = xyes ] ; then
case ${target} in
- *-*-linux-gnu*)
+ *-*-linux-*)
cat >>e${EMULATION_NAME}.c <<EOF
if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))
break;