diff options
author | Matthew Green <mrg@redhat.com> | 2002-04-07 13:57:53 +0000 |
---|---|---|
committer | Matthew Green <mrg@redhat.com> | 2002-04-07 13:57:53 +0000 |
commit | c657a1f082d393862981e62d8e6ed377d549539d (patch) | |
tree | 5bafcb69c4e519234c5682d47c720cc964a157ad /ld/configure.host | |
parent | 0565ba96014626119a16165c870849611cadbfeb (diff) | |
download | gdb-c657a1f082d393862981e62d8e6ed377d549539d.zip gdb-c657a1f082d393862981e62d8e6ed377d549539d.tar.gz gdb-c657a1f082d393862981e62d8e6ed377d549539d.tar.bz2 |
* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
Diffstat (limited to 'ld/configure.host')
-rw-r--r-- | ld/configure.host | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host index 56a950c..65c2fc7 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 |