aboutsummaryrefslogtreecommitdiff
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
commitfd9719b15bfbadb6e723ae418e4f7d1caa0c46e3 (patch)
tree7709e5c55574f1f09cb059cbb588d5882ae24f15 /ld/configure.host
parentac9c441462001886e307fd4c5fa5cf84fa7b1e40 (diff)
downloadgdb-fd9719b15bfbadb6e723ae418e4f7d1caa0c46e3.zip
gdb-fd9719b15bfbadb6e723ae418e4f7d1caa0c46e3.tar.gz
gdb-fd9719b15bfbadb6e723ae418e4f7d1caa0c46e3.tar.bz2
* 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 def726e..cba013e 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
;;