From 0191f1c617f5b2163b0428a5edd575b42d90dfb4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 28 Aug 2007 11:02:55 +0000 Subject: Add support for i386-dragonfly target. --- ld/ChangeLog | 5 +++++ ld/configure.host | 4 ++-- ld/configure.tgt | 6 +++--- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 537766c012..957593469a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2007-08-28 Robert Sebastian Gerus + + * configure.host: Add support for i[3-7]86-*-dragonfly*. + * configure.tgt: Likewise. + 2007-08-18 Alan Modra * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example. diff --git a/ld/configure.host b/ld/configure.host index be0307cb0c..9174971cb4 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -18,7 +18,7 @@ HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ]; then libgcc=../gcc/libgcc.a; else libg case "${host}" in -*-*-freebsd* | *-*-kfreebsd*-gnu) +*-*-freebsd* | *-*-kfreebsd*-gnu | *-*-dragonfly*) HOSTING_CRT0='-dynamic-linker `[ -f \`${CC} --print-prog-name=ld-elf.so.1\` ] || echo /usr/libexec/``${CC} --print-prog-name=ld-elf.so.1` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `${CC} --print-file-name=crtbegin.o`' 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`' ;; @@ -233,7 +233,7 @@ x86_64-*-linux-*) HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib64/ld-linux-x86-64.so.2,"` ;; -*-*-freebsd* | *-*-kfreebsd*-gnu) +*-*-freebsd* | *-*-kfreebsd*-gnu | *-*-dragonfly*) ;; *-*-linux*) diff --git a/ld/configure.tgt b/ld/configure.tgt index 1591571a3d..d4f53ef259 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -237,7 +237,7 @@ x86_64-*-elf*) targ_emul=elf_x86_64 i[3-7]86-*-kaos*) targ_emul=elf_i386 ;; i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12]) targ_emul=i386bsd ;; -i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu) +i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*) targ_emul=elf_i386_fbsd targ_extra_emuls="elf_i386 i386bsd" ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) @@ -640,7 +640,7 @@ esac NATIVE_LIB_DIRS='/usr/local/lib /lib /usr/lib' case "${target}" in -*-*-freebsd*) +*-*-freebsd* | *-*-dragonfly*) NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib' ;; @@ -680,7 +680,7 @@ i[03-9x]86-*-cygwin*) *-*-linux*) ;; -*-*-freebsd*) +*-*-freebsd* | *-*-dragonfly*) ;; *-*-netbsd*) -- cgit v1.2.1