From: Nick Clifton Date: Mon, 28 Jan 2008 16:57:22 +0000 (+0000) Subject: * config.bfd (x86_64-*-solaris2): Add support for this target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00b2bfc1241710d4afc34d7b123a6c0ea8b609e5;p=binutils-gdb.git * config.bfd (x86_64-*-solaris2): Add support for this target. * configure.tgt (x86_64-*-solaris2): Add support for this target. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e95e50fca70..9c76971bba2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2008-01-28 Fabian Groffen + + * config.bfd (x86_64-*-solaris2): Add support for this target. + 2008-01-28 Alan Modra Rewrite SPU overlay handling code. Put overlay calls stubs in the diff --git a/bfd/config.bfd b/bfd/config.bfd index fdce6a5edd4..69a70f6cc3b 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -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 diff --git a/ld/ChangeLog b/ld/ChangeLog index b6ac62f93c0..53a9b880272 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2008-01-28 Fabian Groffen + + * configure.tgt (x86_64-*-solaris2): Add support for this target. + 2008-01-28 Vincent Riviere PR ld/5652 diff --git a/ld/configure.tgt b/ld/configure.tgt index e897d1eae2c..0f3a454ea6f 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -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"