PR ld/14069
* emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf support.
This commit is contained in:
parent
c1c30076b2
commit
a5244b7e43
|
@ -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>
|
2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
|
||||||
|
|
||||||
* NEWS: Mention the support for S12X processors.
|
* NEWS: Mention the support for S12X processors.
|
||||||
|
|
|
@ -72,7 +72,7 @@ EOF
|
||||||
|
|
||||||
if [ "x${USE_LIBPATH}" = xyes ] ; then
|
if [ "x${USE_LIBPATH}" = xyes ] ; then
|
||||||
case ${target} in
|
case ${target} in
|
||||||
*-*-linux-* | *-*-k*bsd*-*)
|
*-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
|
||||||
fragment <<EOF
|
fragment <<EOF
|
||||||
#ifdef HAVE_GLOB
|
#ifdef HAVE_GLOB
|
||||||
#include <glob.h>
|
#include <glob.h>
|
||||||
|
@ -374,7 +374,7 @@ gld${EMULATION_NAME}_try_needed (struct dt_needed *needed,
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
case ${target} in
|
case ${target} in
|
||||||
*-*-linux-* | *-*-k*bsd*-*)
|
*-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
|
||||||
fragment <<EOF
|
fragment <<EOF
|
||||||
{
|
{
|
||||||
struct bfd_link_needed_list *l;
|
struct bfd_link_needed_list *l;
|
||||||
|
@ -620,7 +620,7 @@ EOF
|
||||||
# FreeBSD
|
# FreeBSD
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-linux-* | *-*-k*bsd*-*)
|
*-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
|
||||||
fragment <<EOF
|
fragment <<EOF
|
||||||
/* For a native linker, check the file /etc/ld.so.conf for directories
|
/* 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
|
in which we may find shared libraries. /etc/ld.so.conf is really
|
||||||
|
@ -1310,7 +1310,7 @@ EOF
|
||||||
# FreeBSD
|
# FreeBSD
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-linux-* | *-*-k*bsd*-*)
|
*-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
|
||||||
# Linux
|
# Linux
|
||||||
fragment <<EOF
|
fragment <<EOF
|
||||||
if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))
|
if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))
|
||||||
|
|
Loading…
Reference in New Issue