[COMMIT] Add OpenBSD support for the ld testsuite

Mark Kettenis mark.kettenis@xs4all.nl
Sun Apr 24 20:26:00 GMT 2005


Committed as obvious.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* configure.host: Add *-*-openbsd support.

Index: configure.host
===================================================================
RCS file: /cvs/src/src/ld/configure.host,v
retrieving revision 1.40
diff -u -p -r1.40 configure.host
--- configure.host 23 Mar 2005 15:35:50 -0000 1.40
+++ configure.host 24 Apr 2005 20:22:15 -0000
@@ -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
   ;;



More information about the Binutils mailing list