aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-09-03 09:32:21 +0000
committerNick Clifton <nickc@redhat.com>2003-09-03 09:32:21 +0000
commit13dfd2d03940632d74b6ea84d050a148cc4d8419 (patch)
tree8159145d56989865c0e0de12854140549ef89a4a /ld/configure.host
parent155e0d2321b62f7262221e9cd325104959832ec6 (diff)
downloadgdb-13dfd2d03940632d74b6ea84d050a148cc4d8419.zip
gdb-13dfd2d03940632d74b6ea84d050a148cc4d8419.tar.gz
gdb-13dfd2d03940632d74b6ea84d050a148cc4d8419.tar.bz2
Add *kfreebsd-gnu configuration support
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 ce7f6be..c1e9969 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*)
+*-*-freebsd* | *-*-kfreebsd*-gnu)
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`'
;;
@@ -237,7 +237,7 @@ x86_64-*-linux-gnu*)
HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`egrep.*\"\\\`,/lib64/ld-linux-x86-64.so.2,"`
;;
-*-*-freebsd*)
+*-*-freebsd* | *-*-kfreebsd*-gnu)
;;
*-*-linux*)