22570276 binutils need to be updated to support additional target
authorAnn Lai <ann.lai@oracle.com>
Tue, 02 Feb 2016 10:57:35 -0800
changeset 5384 17f39f2a1119
parent 5383 daa35fd7ea40
child 5385 ada5863c16fd
22570276 binutils need to be updated to support additional target
components/binutils/patches/bfd_config.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/binutils/patches/bfd_config.patch	Tue Feb 02 10:57:35 2016 -0800
@@ -0,0 +1,27 @@
+Source:
+Internal
+Info:
+This patch is created so that objcopy will support additional targets.
+Status:
+Submitted upstream. Emailed [email protected] and submitted
+bug at https://sourceware.org/bugzilla/show_bug.cgi?id=19501.  Fix
+is in version 2.26.
+
+--- bfd/config.bfd	2015-12-21 14:44:52.467611718 -0800
++++ bfd/config.bfd	2015-12-21 14:48:28.692616591 -0800
[email protected]@ -526,13 +526,13 @@
+   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"
++    targ64_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec i386_pe_vec x86_64_pe_vec x86_64_pei_vec i386_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 i386_coff_vec i386_pe_vec x86_64_pe_vec x86_64_pei_vec i386_pei_vec"
+     want64=true
+     ;;
+ #endif