From 4a58105a7963aa7f1392949f473a25db9a6335fe Mon Sep 17 00:00:00 2001 From: Matthew Green Date: Sun, 7 Apr 2002 13:57:53 +0000 Subject: * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF. --- ld/configure.host | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ld/configure.host') diff --git a/ld/configure.host b/ld/configure.host index 56a950c6bc..65c2fc7a21 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -223,6 +223,13 @@ x86_64-*-linux-gnu*) *-*-linux*) ;; +*-*-netbsd*) + NATIVE_LIB_DIRS=/usr/lib + # NetBSD typically does not use the GCC crtstuff, so ignore it. + HOSTING_CRT0='-dynamic-linker /usr/libexec/ld.elf_so /usr/lib/crt0.o /usr/lib/crtbegin.o' + HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` /usr/lib/crtend.o' + ;; + alpha*-*-*) HOSTING_CRT0=/usr/ccs/lib/crt0.o NATIVE_LIB_DIRS=/usr/ccs/lib -- cgit v1.2.1