diff options
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/elf32.em | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index e20bd73..9248c30 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -69,7 +69,7 @@ EOF 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> @@ -354,7 +354,7 @@ gld${EMULATION_NAME}_try_needed (struct dt_needed *needed, EOF case ${target} in - *-*-linux-*) + *-*-linux-* | *-*-k*bsd*-*) cat >>e${EMULATION_NAME}.c <<EOF { struct bfd_link_needed_list *l; @@ -526,7 +526,7 @@ gld${EMULATION_NAME}_add_sysroot (const char *path) 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 @@ -936,7 +936,7 @@ cat >>e${EMULATION_NAME}.c <<EOF 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; |