summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-09-02 22:54:41 +0000
committerRichard Henderson <rth@redhat.com>2010-09-02 22:54:41 +0000
commitf63df64f40cbd82d52c72299a89fbbfe443fdff8 (patch)
treedac743dac81b90a63791dbd018bd5bfc5837e045
parent05e169588aee5d5a3a3984cd5013917ff77166f1 (diff)
downloadbinutils-redhat-f63df64f40cbd82d52c72299a89fbbfe443fdff8.tar.gz
Select 32-bit pei for 64-bit pei configurations.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/config.bfd2
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.tgt3
4 files changed, 11 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7edf3903d5..26d45ff0bf 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-02 Richard Henderson <rth@redhat.com>
+
+ * config.bfd (x86_64-*-mingw*): Select 32-bit pei vectors too.
+
2010-09-01 Pedro Alves <pedro@codesourcery.com>
* netbsd-core.c (netbsd_core_core_file_pid): Renamed to ...
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 0bfb53541a..e42535f91a 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -634,7 +634,7 @@ case "${targ}" in
;;
x86_64-*-mingw*)
targ_defvec=x86_64pe_vec
- targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_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
targ_underscore=no
;;
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c3a1d1cef6..43858f4e96 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-02 Richard Henderson <rth@redhat.com>
+
+ * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too.
+
2010-08-31 Nick Clifton <nickc@redhat.com>
* ldlex.l (WILDCHAR): Add the caret and exclamation point
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 9bbb702a0a..61ab9402c6 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -275,7 +275,8 @@ i[3-7]86-*-cygwin*) targ_emul=i386pe ;
i[3-7]86-*-mingw32*) targ_emul=i386pe ;
targ_extra_ofiles="deffilep.o pe-dll.o" ;;
x86_64-*-mingw*) targ_emul=i386pep ;
- targ_extra_ofiles="deffilep.o pep-dll.o" ;;
+ targ_extra_emuls=i386pe
+ targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;;
i[3-7]86-*-interix*) targ_emul=i386pe_posix;
targ_extra_ofiles="deffilep.o pe-dll.o" ;;
i[3-7]86-*-beospe*) targ_emul=i386beos ;;