diff options
author | Nick Clifton <nickc@redhat.com> | 2012-05-16 10:43:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-05-16 10:43:41 +0000 |
commit | a5244b7e43f790d781138a82c0f5a53ac23284c3 (patch) | |
tree | a5c81088b6c9d2f6a975b4397923226726b74a66 /ld | |
parent | c1c30076b24c90ca83c889644d5e5f4a09ce4a9d (diff) | |
download | gdb-a5244b7e43f790d781138a82c0f5a53ac23284c3.zip gdb-a5244b7e43f790d781138a82c0f5a53ac23284c3.tar.gz gdb-a5244b7e43f790d781138a82c0f5a53ac23284c3.tar.bz2 |
PR ld/14069
* emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf
support.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/emultempl/elf32.em | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index eff6cf3..d026c35 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 880f054..aab1c6d 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)) |