summaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-04-24 20:26:38 +0000
committerMark Kettenis <kettenis@gnu.org>2005-04-24 20:26:38 +0000
commit72ab29eb495e0ee8cdc28fed2ae5fe78131627f2 (patch)
treedbe4c0274238727d23b05b8ac5da8b0a23f4edd6 /ld/configure.host
parentf45528ec1efa561ad9832b582a46ec9b6918d1bd (diff)
downloadbinutils-redhat-72ab29eb495e0ee8cdc28fed2ae5fe78131627f2.tar.gz
* configure.host: Add *-*-openbsd support.
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host
index def726e821..cba013e6b2 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -67,6 +67,12 @@ case "${host}" in
fi
;;
+*-*-openbsd*)
+ HOSTING_CRT0="-dynamic-linker /usr/libexec/ld.so /usr/lib/crt0.o"
+ HOSTING_CRT0="$HOSTING_CRT0 /usr/lib/crtbegin.o"
+ HOSTING_LIBS="$HOSTING_LIBS /usr/lib/crtend.o"
+ ;;
+
esac
#
@@ -230,6 +236,9 @@ x86_64-*-linux-*)
*-*-netbsd*)
;;
+*-*-openbsd*)
+ ;;
+
alpha*-*-*)
HOSTING_CRT0=/usr/ccs/lib/crt0.o
;;