From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: alan@linuxcare.com.au Cc: binutils@sourceware.cygnus.com Subject: Can we emulate i386-pc-pe-coff with i386coff? Date: Wed, 14 Jun 2000 11:08:00 -0000 Message-id: <20000614110753.A2720@valinux.com> X-SW-Source: 2000-06/msg00258.html I don't think we can emulate i386-pc-pe-coff with i386coff. I don't even know we can emulate i386-pc-pe-coff at all. The problem is config/tc-i386.c has #ifdef TE_PE inside. We need to modify it to check TE_PE at the runtime or do something else. Anyway, this patch disable the i386coff emulation for i386-pc-pe-coff. -- H.J. Lu (hjl@gnu.org) ---- 2000-06-14 H.J. Lu * configure.in: Don't emulate i386-pc-pe-coff with i386coff. * configure: Rebuild. Index: configure.in =================================================================== RCS file: /work/cvs/gnu/binutils/gas/configure.in,v retrieving revision 1.24 diff -u -p -r1.24 configure.in --- configure.in 2000/06/13 19:25:38 1.24 +++ configure.in 2000/06/14 18:00:46 @@ -557,6 +557,8 @@ changequote([,])dnl big) emulation="mipsbelf mipslelf mipself" ;; *) emulation="mipslelf mipsbelf mipself" ;; esac ;; + # i386-pc-pe-coff != i386-pc-coff. + i386-*-pe-coff) ;; # Uncommenting the next line will turn on support for i386 AOUT # for the default linux configuration # i386-*-linux*-elf) emulation="i386elf i386aout" ;;