This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Don't include x86_64coff_vec for x86_64-*-mingw*
- From: "H.J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Cc: kai dot tietz at onevision dot com
- Date: Thu, 26 Jul 2007 14:20:06 -0700
- Subject: PATCH: Don't include x86_64coff_vec for x86_64-*-mingw*
Why does x86_64-*-mingw* include x86_64coff_vec? I got
[hjl@gnu-6 dean-1]$ ./usr/local/bin/objdump -h Sample64.obj
./usr/local/bin/objdump: Sample64.obj: File format is ambiguous
./usr/local/bin/objdump: Matching formats: pe-x86-64 coff-x86-64
i[3-7]86-*-mingw32* doesn't include i386coff_vec. I don't think
x86_64-*-mingw* should. I will check it in if there is no objection
by tomorrow.
H.J.
---
2007-07-26 H.J. Lu <hongjiu.lu@intel.com>
* config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec.
--- bfd/config.bfd.pecoff 2007-07-24 14:01:59.000000000 -0700
+++ bfd/config.bfd 2007-07-26 14:14:25.000000000 -0700
@@ -598,7 +598,7 @@ case "${targ}" in
;;
x86_64-*-mingw*)
targ_defvec=x86_64pe_vec
- targ_selvecs="x86_64pe_vec x86_64pei_vec x86_64coff_vec bfd_elf64_x86_64_vec"
+ targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec"
want64=true
targ_underscore=yes
;;