28 lines
1.4 KiB
Diff
28 lines
1.4 KiB
Diff
|
Index: binutils-2.21.0/bfd/config.bfd
|
||
|
===================================================================
|
||
|
--- binutils-2.21.0.orig/bfd/config.bfd 2011-04-01 14:04:23.000000000 +0200
|
||
|
+++ binutils-2.21.0/bfd/config.bfd 2011-06-17 15:20:41.000000000 +0200
|
||
|
@@ -641,7 +641,7 @@ case "${targ}" in
|
||
|
targ_selvecs="bfd_elf32_i386_vec i386linux_vec i386pei_vec x86_64pei_vec bfd_elf64_l1om_vec"
|
||
|
want64=true
|
||
|
;;
|
||
|
- x86_64-*-mingw*)
|
||
|
+ x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep )
|
||
|
targ_defvec=x86_64pe_vec
|
||
|
targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec i386pe_vec i386pei_vec bfd_elf32_i386_vec"
|
||
|
want64=true
|
||
|
Index: binutils-2.21.0/ld/configure.tgt
|
||
|
===================================================================
|
||
|
--- binutils-2.21.0.orig/ld/configure.tgt 2011-04-01 14:04:28.000000000 +0200
|
||
|
+++ binutils-2.21.0/ld/configure.tgt 2011-06-17 15:21:29.000000000 +0200
|
||
|
@@ -278,6 +278,9 @@ i[3-7]86-*-cygwin*) targ_emul=i386pe ;
|
||
|
test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;;
|
||
|
i[3-7]86-*-mingw32*) targ_emul=i386pe ;
|
||
|
targ_extra_ofiles="deffilep.o pe-dll.o" ;;
|
||
|
+x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ;
|
||
|
+ targ_extra_emuls=i386pe ;
|
||
|
+ targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;;
|
||
|
x86_64-*-mingw*) targ_emul=i386pep ;
|
||
|
targ_extra_emuls=i386pe
|
||
|
targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;;
|