* configure.host: Add *-*-openbsd support.
authorMark Kettenis <kettenis@gnu.org>
Sun, 24 Apr 2005 20:26:38 +0000 (20:26 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 24 Apr 2005 20:26:38 +0000 (20:26 +0000)
ld/ChangeLog
ld/configure.host

index 3af8c71d65457c37d820873d4d0370334b573cd2..9e4e2593437dec4f1c60c96f3dfe9eb6046968ad 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-24  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.host: Add *-*-openbsd support.
+
 2005-04-15  Julian Brown  <julian@codesourcery.com>
 
        * ld.texinfo: Document --use-blx.
index def726e821c471a47b2b91b468d8c0e1ff4dffa2..cba013e6b240276aeabd470ea9db39ae2498681d 100644 (file)
@@ -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
   ;;