aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-09-02 22:54:44 +0000
committerRichard Henderson <rth@redhat.com>2010-09-02 22:54:44 +0000
commitc518ddd883441751e093e29f37702057d8d9f930 (patch)
tree878f0c930876138f02269c79d8ff9a3748db32b2
parent080db4e0b0411a957d7d0323ec0ac777f4c639c7 (diff)
downloadgdb-c518ddd883441751e093e29f37702057d8d9f930.zip
gdb-c518ddd883441751e093e29f37702057d8d9f930.tar.gz
gdb-c518ddd883441751e093e29f37702057d8d9f930.tar.bz2
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 7edf390..26d45ff 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 0bfb535..e42535f 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 c3a1d1c..43858f4 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 9bbb702..61ab940 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 ;;