Enable IAMCU and PEI for Solaris2/x86
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 4 Oct 2015 14:42:43 +0000 (07:42 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 4 Oct 2015 14:42:43 +0000 (07:42 -0700)
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.

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

index 162c801b5b85a51306c13f8a03a0ccded2d8fbbe..7674750f425f9865c7752867763f34f26b39eba5 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * 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  <renlin.li@arm.com>
 
        * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Add
index a8319ca9dda355241e1e4a7776354175703abc61..30b45b5617de182b3fb3101674360b912f0f8ea6 100644 (file)
@@ -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
index 16cbe251da9bea3469a4d0f0c64e2a59eaa58d08..b857a62b9b7e91428f02db78ec2ab9959d6fca62 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86.
+
 2015-10-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
        * configure.tgt (targ_extra_emuls): Remove shlelf and
index 90fb887c5637394c5ffdbb66c0bcf8b6110f88a2..dd30cc7c12d835628dd850628de4bb9ce5633d18 100644 (file)
@@ -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