This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH/RFA] Update OpenBSD LD host support
- From: Mark Kettenis <kettenis at chello dot nl>
- To: binutils at sources dot redhat dot com
- Date: Sun, 11 Apr 2004 15:48:47 +0200 (CEST)
- Subject: [PATCH/RFA] Update OpenBSD LD host support
OpenBSD is similar enough to NetBSD to make it share the same bits.
OK for mainline?
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.host: Add support for OpenBSD.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/ld/configure.host,v
retrieving revision 1.35
diff -u -p -r1.35 configure.host
--- configure.host 11 Apr 2004 04:07:46 -0000 1.35
+++ configure.host 11 Apr 2004 13:47:08 -0000
@@ -37,7 +37,7 @@ case "${host}" in
HOSTING_LIBS='-L`dirname \`${CC} --print-file-name=libc.so\`` '"$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
;;
-*-*-netbsd*)
+*-*-netbsd* | *-*-openbsd*)
# Different versions of NetBSD with the ELF object format use different
# sets of start/end files.
HOSTING_CRT0='-dynamic-linker /usr/libexec/ld.elf_so /usr/lib/crt0.o'
@@ -237,7 +237,7 @@ x86_64-*-linux-gnu*)
*-*-linux*)
;;
-*-*-netbsd*)
+*-*-netbsd* | *-*-openbsd*)
;;
alpha*-*-*)