Support for i386-coff
authorSteve Chamberlain <sac@cygnus>
Fri, 11 Sep 1992 17:25:43 +0000 (17:25 +0000)
committerSteve Chamberlain <sac@cygnus>
Fri, 11 Sep 1992 17:25:43 +0000 (17:25 +0000)
ld/ChangeLog
ld/Makefile.in
ld/configure.in
ld/i386coff.sh [new file with mode: 0644]

index e3a6e8e28cf5f5b6024183733b75f34dc83ef414..7ce4a443458d5e8dcc811d796cf30796ec69a505 100644 (file)
@@ -1,3 +1,8 @@
+Fri Sep 11 10:24:22 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * Makefile.in, configure.in: modified to support i386-coff
+       * i386coff.sh: new file
+
 Wed Sep  9 11:52:58 1992  Ian Lance Taylor  (ian@cygnus.com)
 
        * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
index 2c3f1f0e30fdc2c703cbece1771bc24a2ed8e202..498d2cc2136702e979248abc510d7b0811411c94 100644 (file)
@@ -119,7 +119,7 @@ ALL_EMULATIONS=em_lnk960.o em_sun3.o em_i386aout.o em_go32.o \
        em_m88kbcs.o em_a29k.o em_news.o em_hp300bsd.o \
        em_h8300hms.o em_ebmon29k.o em_sun4.o em_gld960.o \
        em_m68kcoff.o em_h8300xray.o em_st2000.o em_sa29200.o \
-       em_vanilla.o
+       em_vanilla.o em_i386coff.o
 
 EMULATION_OFILES=${ALL_EMULATIONS}
 #EMULATION_OFILES=em_${EMUL}.o ${OTHER_EMULATIONS}
@@ -240,6 +240,9 @@ em_gld960.c: $(srcdir)/gld960.sh \
 em_m68kcoff.c: $(srcdir)/m68kcoff.sh \
   $(srcdir)/generic.em $(srcdir)/m68kcoff.sc-sh ${GEN_DEPENDS}
        ${GENSCRIPTS} m68kcoff.sh
+em_i386coff.c: $(srcdir)/i386coff.sh \
+  $(srcdir)/generic.em $(srcdir)/i386coff.sc-sh ${GEN_DEPENDS}
+       ${GENSCRIPTS} i386coff.sh
 
 $(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
        $(CC) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(LOADLIBES)
index 249628cdff1175048dbfec8e98e7c345cc0215b8..35cc5e23085077a9689d8b4171ffb947ad5842b4 100644 (file)
@@ -117,6 +117,8 @@ case "${target}" in
                        ;;
   i386-go32-*)         my_target=go32
                        ;;
+  i386-*-coff)          my_target=i386-coff
+                       ;;
   m88k-*-*)            my_target=m88k-bcs
                        ;;
   a29k-*-udi)          my_target=sa29200
diff --git a/ld/i386coff.sh b/ld/i386coff.sh
new file mode 100644 (file)
index 0000000..bbe13bf
--- /dev/null
@@ -0,0 +1,6 @@
+EMULATION_NAME=i386coff
+SCRIPT_NAME=i386coff
+OUTPUT_FORMAT="coff-i386"
+TEXT_START_ADDR=0x1000000
+PAGE_SIZE=0x1000000
+ARCH=i386