From: H.J. Lu Date: Sun, 4 Oct 2015 14:42:43 +0000 (-0700) Subject: Enable IAMCU and PEI for Solaris2/x86 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d00c2bc9c0567b6eb7d64ac4dee27b8a8dc2cedb;p=binutils-gdb.git Enable IAMCU and PEI for Solaris2/x86 bfd/ * config.bfd (targ_selvecs, targ64_selvecs): Add iamcu_elf32_vec, i386_pei_vec and x86_64_pei_vec for Solaris2/x86. ld/ * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 162c801b5b8..7674750f425 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2015-10-04 H.J. Lu + + * config.bfd (targ_selvecs, targ64_selvecs): Add iamcu_elf32_vec, + i386_pei_vec and x86_64_pei_vec for Solaris2/x86. + 2015-10-02 Renlin Li * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Add diff --git a/bfd/config.bfd b/bfd/config.bfd index a8319ca9dda..30b45b5617d 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -535,14 +535,14 @@ case "${targ}" in ;; i[3-7]86-*-solaris2*) targ_defvec=i386_elf32_sol2_vec - targ_selvecs="i386_coff_vec" - targ64_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec" + targ_selvecs="iamcu_elf32_vec i386_coff_vec i386_pei_vec" + targ64_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec x86_64_pei_vec" want64=true ;; #ifdef BFD64 x86_64-*-solaris2*) targ_defvec=i386_elf32_sol2_vec - targ_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec i386_coff_vec" + targ_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pei_vec" want64=true ;; #endif diff --git a/ld/ChangeLog b/ld/ChangeLog index 16cbe251da9..b857a62b9b7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2015-10-04 H.J. Lu + + * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86. + 2015-10-01 Kaz Kojima * configure.tgt (targ_extra_emuls): Remove shlelf and diff --git a/ld/configure.tgt b/ld/configure.tgt index 90fb887c563..dd30cc7c12d 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -264,12 +264,12 @@ x86_64-*-linux-*) targ_emul=elf_x86_64 i[3-7]86-*-sysv[45]*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-solaris2*) targ_emul=elf_i386_sol2 - targ_extra_emuls="elf_i386_ldso elf_i386 elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" + targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" targ_extra_libpath=$targ_extra_emuls ;; x86_64-*-solaris2*) targ_emul=elf_x86_64_sol2 - targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_l1om elf_k1om" + targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; i[3-7]86-*-unixware) targ_emul=elf_i386