components/binutils/patches/bfd_config.patch
author Ann Lai <ann.lai@oracle.com>
Tue, 02 Feb 2016 10:57:35 -0800
changeset 5384 17f39f2a1119
permissions -rw-r--r--
22570276 binutils need to be updated to support additional target

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
@@ -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