aboutsummaryrefslogtreecommitdiff
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
commit0b3e17e93db61947b03f2aa945d0f26cf86f8cf8 (patch)
treee1a218ca3f67cd8792a3385869ad4ddd0a138fcf /ld/configure.host
parent0d4f1889b55472653a87fb10dd5bed05def4368f (diff)
downloadgdb-0b3e17e93db61947b03f2aa945d0f26cf86f8cf8.zip
gdb-0b3e17e93db61947b03f2aa945d0f26cf86f8cf8.tar.gz
gdb-0b3e17e93db61947b03f2aa945d0f26cf86f8cf8.tar.bz2
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 be0307c..9174971 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*)