+2005-07-04 Aurelien Jarno <aurel32@debian.org>
+
+ * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
+
2005-07-01 Alan Modra <amodra@bigpond.net.au>
* scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
if [ "x${USE_LIBPATH}" = xyes ] ; then
case ${target} in
- *-*-linux-*)
+ *-*-linux-* | *-*-k*bsd*-*)
cat >>e${EMULATION_NAME}.c <<EOF
#ifdef HAVE_GLOB
#include <glob.h>
EOF
case ${target} in
- *-*-linux-*)
+ *-*-linux-* | *-*-k*bsd*-*)
cat >>e${EMULATION_NAME}.c <<EOF
{
struct bfd_link_needed_list *l;
EOF
case ${target} in
- *-*-linux-*)
+ *-*-linux-* | *-*-k*bsd*-*)
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
EOF
if [ "x${USE_LIBPATH}" = xyes ] ; then
case ${target} in
- *-*-linux-*)
+ *-*-linux-* | *-*-k*bsd*-*)
cat >>e${EMULATION_NAME}.c <<EOF
if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))
break;