From 99e6298ae34554f882b3e35c2e6b1b429f3836cf Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Fri, 11 Sep 1992 17:25:43 +0000 Subject: [PATCH] Support for i386-coff --- ld/ChangeLog | 5 +++++ ld/Makefile.in | 5 ++++- ld/configure.in | 2 ++ ld/i386coff.sh | 6 ++++++ 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 ld/i386coff.sh diff --git a/ld/ChangeLog b/ld/ChangeLog index e3a6e8e28cf..7ce4a443458 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 2c3f1f0e30f..498d2cc2136 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 249628cdff1..35cc5e23085 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 00000000000..bbe13bfd9c3 --- /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 -- 2.30.2