This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Can we emulate i386-pc-pe-coff with i386coff?
- To: alan at linuxcare dot com dot au
- Subject: Can we emulate i386-pc-pe-coff with i386coff?
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Wed, 14 Jun 2000 11:07:53 -0700
- Cc: binutils at sourceware dot cygnus dot com
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 <hjl@gnu.org>
* 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" ;;