diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-04 07:42:43 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-04 07:42:43 -0700 |
commit | d00c2bc9c0567b6eb7d64ac4dee27b8a8dc2cedb (patch) | |
tree | ce819567cd5eee9af2a4c4693bc714d82366982b | |
parent | 9706b5e627dfae1ab0a2788dda8a2aa5a0e09af7 (diff) | |
download | gdb-d00c2bc9c0567b6eb7d64ac4dee27b8a8dc2cedb.zip gdb-d00c2bc9c0567b6eb7d64ac4dee27b8a8dc2cedb.tar.gz gdb-d00c2bc9c0567b6eb7d64ac4dee27b8a8dc2cedb.tar.bz2 |
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.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/config.bfd | 6 | ||||
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/configure.tgt | 4 |
4 files changed, 14 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 162c801..7674750 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/config.bfd b/bfd/config.bfd index a8319ca..30b45b5 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 16cbe25..b857a62 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/configure.tgt b/ld/configure.tgt index 90fb887..dd30cc7 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 |