* 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 3af8c71..9e4e259 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 def726e..cba013e 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
   ;;