Can we emulate i386-pc-pe-coff with i386coff?

H . J . Lu hjl@valinux.com
Wed Jun 14 11:08:00 GMT 2000


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" ;;


More information about the Binutils mailing list