Add support for i386-dragonfly target.
authorNick Clifton <nickc@redhat.com>
Tue, 28 Aug 2007 11:02:55 +0000 (11:02 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 28 Aug 2007 11:02:55 +0000 (11:02 +0000)
bfd/ChangeLog
bfd/config.bfd
bfd/configure
bfd/configure.in
gas/ChangeLog
gas/configure.tgt
ld/ChangeLog
ld/configure.host
ld/configure.tgt

index 5c6401a21c5e69560eb20650b162915b541379fa..297cec93594c82b74c06bba673b1f37fa88fd466 100644 (file)
@@ -1,3 +1,9 @@
+2007-08-28  Robert Sebastian Gerus  <arachnist@gmail.com>
+
+       * config.bfd: Add support for i[3-7]86-*-dragonfly*.
+       * configure.in: Likewise.
+       * configure: Regenerate.
+
 2007-08-25  Ulrich Weigand  <uweigand@de.ibm.com>
            Alan Modra  <amodra@bigpond.net.au>
 
index c533f573889e7f322c27c61cf6dc9e70b564ccb1..5bfd4a72685ae922777337177d53420ca69dde95 100644 (file)
@@ -533,7 +533,7 @@ case "${targ}" in
     targ_selvecs=i386bsd_vec
     targ_underscore=yes
     ;;
-  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_defvec=bfd_elf32_i386_freebsd_vec
     targ_selvecs=i386coff_vec
     # FreeBSD <= 4.0 supports only the old nonstandard way of ABI labelling.
index ec3df5c97214787d659f6f6e37a30d947dab3e4a..ac5e66fb76e6ec3aaca6ade87b25b734da6f675d 100755 (executable)
@@ -17463,7 +17463,7 @@ if test "${target}" = "${host}"; then
        COREFILE=trad-core.lo
        TRAD_HEADER='"hosts/i386bsd.h"'
        ;;
-  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*)
        COREFILE=''
        TRAD_HEADER='"hosts/i386bsd.h"'
        ;;
@@ -19068,6 +19068,8 @@ do
     bfd_elf32_hppa_nbsd_vec)   tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
     bfd_elf32_hppa_vec)                tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
     bfd_elf32_i370_vec)                tb="$tb elf32-i370.lo elf32.lo $elf" ;;
+    bfd_elf32_i386_dragonfly_vec)
+                               tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_i386_freebsd_vec)        tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_i386_vxworks_vec)        tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_i386_vec)                tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
@@ -22284,7 +22286,7 @@ done
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
index b7946e7a53eae0832e757376c4101c7f48e9ee4c..aecda8b219bf5b0ece6da54e66175e245c26517f 100644 (file)
@@ -248,7 +248,7 @@ changequote([,])dnl
        TRAD_HEADER='"hosts/i386bsd.h"'
        ;;
 changequote(,)dnl
-  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*)
 changequote([,])dnl
        COREFILE=''
        TRAD_HEADER='"hosts/i386bsd.h"'
@@ -646,6 +646,8 @@ do
     bfd_elf32_hppa_nbsd_vec)   tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
     bfd_elf32_hppa_vec)                tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
     bfd_elf32_i370_vec)                tb="$tb elf32-i370.lo elf32.lo $elf" ;;
+    bfd_elf32_i386_dragonfly_vec)
+                               tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_i386_freebsd_vec)        tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_i386_vxworks_vec)        tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_i386_vec)                tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
index 1e8d61a7c214c09f651c68483d5d652a23603c60..f10df64ddc898c9b1c9be44181eb1bedbc73f922 100644 (file)
@@ -1,3 +1,7 @@
+2007-08-28  Robert Sebastian Gerus  <arachnist@gmail.com>
+
+       * configure.tgt: Add support for i[3-7]86-*-dragonfly*.
+
 2007-08-24  Joseph Myers  <joseph@codesourcery.com>
             Paul Brook  <paul@codesourcery.com>
 
index 3b7fb19f31083a980839f69772ee55a2aa4ea51a..de1b676e5fa22a1586577c5d77af5099eff8ffd4 100644 (file)
@@ -198,7 +198,7 @@ case ${generic_target} in
   i386-*-freebsdaout*)                 fmt=aout em=386bsd ;;
   i386-*-freebsd[12].*)                        fmt=aout em=386bsd ;;
   i386-*-freebsd[12])                  fmt=aout em=386bsd ;;
-  i386-*-freebsd* | i386-*-kfreebsd*-gnu)
+  i386-*-freebsd* | i386-*-kfreebsd*-gnu | i386-*-dragonfly*)
                                        fmt=elf em=freebsd ;;
   i386-*-sysv*)                                fmt=coff ;;
   i386-*-sco3.2v5*coff)                        fmt=coff ;;
index 537766c01222c63d7164aa1987f5bdbacce21da2..957593469ac2ad22cadd1f05d421c01f554d49b5 100644 (file)
@@ -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.
index be0307cb0ce894e0808743403b75eeb8772e70a6..9174971cb42f89635e2befe67fa930fc4cc5638e 100644 (file)
@@ -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*)
index 1591571a3d9bec2fe0ea9c02bdae5cc085d6ec15..d4f53ef2593457170329d2d10c58ffad93b9ac0d 100644 (file)
@@ -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*)