aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.host4
-rw-r--r--ld/configure.tgt6
3 files changed, 10 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 537766c..9575934 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
+
+ * configure.host: Add support for i[3-7]86-*-dragonfly*.
+ * configure.tgt: Likewise.
+
2007-08-18 Alan Modra <amodra@bigpond.net.au>
* ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
diff --git a/ld/configure.host b/ld/configure.host
index be0307c..9174971 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 1591571..d4f53ef 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*)