* config.bfd (x86_64-*-solaris2): Add support for this target.
authorNick Clifton <nickc@redhat.com>
Mon, 28 Jan 2008 16:57:22 +0000 (16:57 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 28 Jan 2008 16:57:22 +0000 (16:57 +0000)
* configure.tgt (x86_64-*-solaris2): Add support for this target.

bfd/ChangeLog
bfd/config.bfd
ld/ChangeLog
ld/configure.tgt

index e95e50fca708789d241ff63a14657c7f4f9474b7..9c76971bba2fe6be784014281e79689df49b518b 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-28  Fabian Groffen  <grobian@gentoo.org>
+
+       * config.bfd (x86_64-*-solaris2): Add support for this target.
+
 2008-01-28  Alan Modra  <amodra@bigpond.net.au>
 
        Rewrite SPU overlay handling code.  Put overlay calls stubs in the
index fdce6a5edd44440afec5aba6a043bdfa179788c3..69a70f6cc3b8a67954b5471a48c531c4293eb0d2 100644 (file)
@@ -489,6 +489,13 @@ case "${targ}" in
     targ64_selvecs=bfd_elf64_x86_64_vec
     want64=true
     ;;
+#ifdef BFD64
+  x86_64-*-solaris2*)
+    targ_defvec=bfd_elf32_i386_vec
+    targ_selvecs="bfd_elf64_x86_64_vec i386coff_vec"
+    want64=true
+    ;;
+#endif
   i[3-7]86-*-kaos*)
     targ_defvec=bfd_elf32_i386_vec
     targ_selvecs=bfd_elf32_i386_vec
index b6ac62f93c00b23d15dae905874a48b5cc380e21..53a9b880272d134626681ab36fbf19b892df298c 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-28  Fabian Groffen  <grobian@gentoo.org>
+
+       * configure.tgt (x86_64-*-solaris2): Add support for this target.
+
 2008-01-28  Vincent Riviere  <vincent.riviere@freesbee.fr>
 
        PR ld/5652
index e897d1eae2c1fd0f4e0f5eabf28915cc1fd67acc..0f3a454ea6f2445e18fed0fb0f090e68054a3601 100644 (file)
@@ -206,6 +206,11 @@ i[3-7]86-*-solaris2*)      targ_emul=elf_i386_ldso
                         targ_extra_emuls="elf_i386 elf_x86_64"
                        targ_extra_libpath=$targ_extra_emuls
                         ;;
+x86_64-*-solaris2*)
+                       targ_emul=elf_x86_64
+                       targ_extra_emuls="elf_i386 elf_i386_ldso"
+                       targ_extra_libpath=elf_i386
+                       tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;;
 i[3-7]86-*-unixware)   targ_emul=elf_i386 ;;
 i[3-7]86-*-solaris*)   targ_emul=elf_i386_ldso
                         targ_extra_emuls="elf_i386"