summaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-08-28 11:02:55 +0000
committerNick Clifton <nickc@redhat.com>2007-08-28 11:02:55 +0000
commit0191f1c617f5b2163b0428a5edd575b42d90dfb4 (patch)
tree350dbfef4bd5bb5be0dfde5b1bf3fe959545d756 /ld/configure.host
parent9c87f9e8f12196f7c23625e6a53b40f1ae29e391 (diff)
downloadbinutils-redhat-0191f1c617f5b2163b0428a5edd575b42d90dfb4.tar.gz
Add support for i386-dragonfly target.
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/configure.host b/ld/configure.host
index be0307cb0c..9174971cb4 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -18,7 +18,7 @@ HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ]; then libgcc=../gcc/libgcc.a; else libg
case "${host}" in
-*-*-freebsd* | *-*-kfreebsd*-gnu)
+*-*-freebsd* | *-*-kfreebsd*-gnu | *-*-dragonfly*)
HOSTING_CRT0='-dynamic-linker `[ -f \`${CC} --print-prog-name=ld-elf.so.1\` ] || echo /usr/libexec/``${CC} --print-prog-name=ld-elf.so.1` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `${CC} --print-file-name=crtbegin.o`'
HOSTING_LIBS='-L`dirname \`${CC} --print-file-name=libc.so\`` '"$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
;;
@@ -233,7 +233,7 @@ x86_64-*-linux-*)
HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib64/ld-linux-x86-64.so.2,"`
;;
-*-*-freebsd* | *-*-kfreebsd*-gnu)
+*-*-freebsd* | *-*-kfreebsd*-gnu | *-*-dragonfly*)
;;
*-*-linux*)