specific emulation.
* mipsidt.sh: New file; emulation for IDT MIPS board.
* Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
(em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh.
* config/mips-idt.mt: New file; sets EMUL to mipsidt.
* configure.in (mips-idt-ecoff): New target; uses mips-idt.
mips.sc-sh
mipsbig.sh
mipsbsd.sh
+mipsidt.sh
mipslit.sh
mri.c
mri.h
#
#
# $Log$
-# Revision 1.52 1993/02/28 14:42:15 raeburn
+# Revision 1.53 1993/03/04 20:49:05 ian
+# * mips.sc-sh: Added variables which may be overridden by a
+# specific emulation.
+# * mipsidt.sh: New file; emulation for IDT MIPS board.
+# * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
+# (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh.
+# * config/mips-idt.mt: New file; sets EMUL to mipsidt.
+# * configure.in (mips-idt-ecoff): New target; uses mips-idt.
+#
+# Revision 1.52 1993/02/28 14:42:15 raeburn
# mips-bsd and 386bsd support
#
# Revision 1.51 1993/02/26 18:53:13 dje
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_i386coff.o em_z8ksim.o em_mipslit.o em_i386bsd.o \
- em_mipsbig.o em_mipsbsd.o
+ em_mipsbig.o em_mipsbsd.o em_mipsidt.o
EMULATION_OFILES=${ALL_EMULATIONS}
#EMULATION_OFILES=em_${EMUL}.o ${OTHER_EMULATIONS}
em_mipsbsd.c: $(srcdir)/mipsbsd.sh \
$(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
${GENSCRIPTS} mipsbsd.sh
+em_mipsidt.c: $(srcdir)/mipsidt.sh \
+ $(srcdir)/generic.em $(srcdir)/mips.sc-sh ${GEN_DEPENDS}
+ ${GENSCRIPTS} mipsidt.sh
$(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
$(CC) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(LOADLIBES)
m88k-bcs.mt
mipsbsd.mt
mips-big.mt
+mips-idt.mt
mips-lit.mt
news.mt
ose68.mt
--- /dev/null
+EMUL=mipsidt
-# Linker script for MIPS. This works on a DECstation running Ultrix,
-# and may work on other platforms as well.
+# Linker script for MIPS systems.
# Ian Lance Taylor <ian@cygnus.com>.
+# These variables may be overridden by the emulation file. The
+# defaults are appropriate for a DECstation running Ultrix.
+test -z "$ENTRY" && ENTRY=__start
+test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x400000 + SIZEOF_HEADERS"
+test -z "$DATA_ADDR" && DATA_ADDR=0x10000000
+test -z "$BSS_VAR" && BSS_VAR=
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(__start)
+ENTRY(${ENTRY})
SECTIONS
{
- .text ${RELOCATING+ 0x400000 + SIZEOF_HEADERS} : {
+ .text ${RELOCATING+ ${TEXT_START_ADDR}} : {
*(.init)
${RELOCATING+ eprol = .};
*(.text)
*(.fini)
${RELOCATING+ etext = .};
}
- .rdata ${RELOCATING+ 0x10000000} : {
+ .rdata ${RELOCATING+ ${DATA_ADDR}} : {
*(.rdata)
}
.data ${RELOCATING+ .} : {
*(.sdata)
}
${RELOCATING+ edata = .;}
+ ${BSS_VAR}
.sbss ${RELOCATING+ .} : {
*(.sbss)
*(.scommon)
--- /dev/null
+EMULATION_NAME=mipsidt
+SCRIPT_NAME=mips
+OUTPUT_FORMAT="ecoff-bigmips"
+PAGE_SIZE=0x1000000
+ARCH=mips
+ENTRY=start
+TEXT_START_ADDR=0xa0012000
+DATA_ADDR=.
+BSS_VAR="_fbss = .;"