diff --git a/ld/ChangeLog b/ld/ChangeLog index e3a6e8e28c..7ce4a44345 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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: diff --git a/ld/Makefile.in b/ld/Makefile.in index 2c3f1f0e30..498d2cc213 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -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) diff --git a/ld/configure.in b/ld/configure.in index 249628cdff..35cc5e2308 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -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 index 0000000000..bbe13bfd9c --- /dev/null +++ b/ld/i386coff.sh @@ -0,0 +1,6 @@ +EMULATION_NAME=i386coff +SCRIPT_NAME=i386coff +OUTPUT_FORMAT="coff-i386" +TEXT_START_ADDR=0x1000000 +PAGE_SIZE=0x1000000 +ARCH=i386