a29k.sc-sh
a29k.sh
aout.sc-sh
+aout-mipsbsd.sc-sh
cdtest-foo.cc
cdtest-foo.h
cdtest-func.cc
h8300xray.sc-sh
h8300xray.sh
i386aout.sh
+i386bsd.sh
i386coff.sc-sh
i386coff.sh
i960.sc-sh
m88kbcs.sh
mips.sc-sh
mipsbig.sh
+mipsbsd.sh
mipslit.sh
mri.c
mri.h
#
#
# $Log$
-# Revision 1.51 1993/02/26 18:53:13 dje
+# 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
# Added initial sparc-v9 support.
#
# Revision 1.50 1993/02/13 10:15:14 zoo
+Sat Feb 27 00:00:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
+
+ * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell,
+ ralphc@pyramid.com.
+ * i386bsd.sh, config/i386bsd.mt: New files.
+ * configure.in, Makefile.in: Added support for mipsbsd and 386bsd.
+
Thu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com)
+ * mri.c: Add extern declaration of strdup.
* ldsym.c (KEEP macro): Add spaces around '=' for the
sake of old (e.g. PCC) compilers.
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_i386coff.o em_z8ksim.o em_mipslit.o
+ em_vanilla.o em_i386coff.o em_z8ksim.o em_mipslit.o em_i386bsd.o \
+ em_mipsbig.o em_mipsbsd.o
EMULATION_OFILES=${ALL_EMULATIONS}
#EMULATION_OFILES=em_${EMUL}.o ${OTHER_EMULATIONS}
em_mipslit.c: $(srcdir)/mipslit.sh \
$(srcdir)/generic.em $(srcdir)/mips.sc-sh ${GEN_DEPENDS}
${GENSCRIPTS} mipslit.sh
+em_i386bsd.c: $(srcdir)/i386bsd.sh \
+ $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
+ ${GENSCRIPTS} i386bsd.sh
+em_mipsbig.c: $(srcdir)/mipsbig.sh \
+ $(srcdir)/generic.em $(srcdir)/mips.sc-sh ${GEN_DEPENDS}
+ ${GENSCRIPTS} mipsbig.sh
+em_mipsbsd.c: $(srcdir)/mipsbsd.sh \
+ $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
+ ${GENSCRIPTS} mipsbsd.sh
$(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
$(CC) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(LOADLIBES)
--- /dev/null
+cat <<EOF
+OUTPUT_FORMAT("${OUTPUT_FORMAT}")
+OUTPUT_ARCH(${ARCH})
+
+${RELOCATING+${LIB_SEARCH_DIRS}}
+${RELOCATING+__DYNAMIC = 0;}
+SECTIONS
+{
+ .text ${RELOCATING+${TEXT_START_ADDR}}:
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ ${RELOCATING+etext = ${DATA_ALIGNMENT};}
+ }
+ .data ${RELOCATING+${DATA_ALIGNMENT}} :
+ {
+ *(.data)
+ ${CONSTRUCTING+CONSTRUCTORS}
+ ${RELOCATING+edata = .;}
+ }
+ .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
+ {
+ *(.bss)
+ *(COMMON)
+ ${RELOCATING+end = . };
+ }
+}
+EOF
hp300.mh
hp300bsd.mt
i386-aout.mt
+i386-bsd.mt
i386-coff.mt
i386v.mt
i960.mt
m68k.mt
m68kv.mt
m88k-bcs.mt
+mipsbsd.mt
mips-big.mt
mips-lit.mt
news.mt
--- /dev/null
+EMUL=i386bsd
--- /dev/null
+EMUL=mipsbsd
;;
sparc*-*-aout) my_target=sun4
;;
+# start-sanitize-v9
+ sparc64*) my_target=sun4
+ ;;
+# end-sanitize-v9
i960-wrs-vxworks*) my_target=i960
;;
i960-intel-nindy) my_target=i960
;;
*-tandem-none) my_target=st2000 # FIXME needs better name
;;
- i386-go32-*) my_target=go32
+ i386-*-go32) my_target=go32
;;
i386-*-sco*) my_target=i386-coff
;;
i386-*-coff) my_target=i386-coff
;;
+ i[34]86-*-bsd) my_target=i386-bsd
+ ;;
i386-*-aout) my_target=i386-aout
;;
i386-*-sysv*) my_target=i386-coff
;;
mips-dec-ultrix*) my_target=mips-lit
;;
+ mips-sgi-irix*) my_target=mips-big
+ ;;
+ mips-dec-bsd*) my_target=mipsbsd
+ ;;
z8k-*sim) my_target=z8ksim
;;
*-*-aout) my_target=${target_cpu}-${target_vendor}
--- /dev/null
+EMULATION_NAME=i386bsd
+SCRIPT_NAME=aout
+OUTPUT_FORMAT="a.out-i386-bsd"
+PAGE_SIZE=0x1000
+TEXT_START_ADDR=0
+NONPAGED_TEXT_START_ADDR=0x1000
+ARCH=i386
--- /dev/null
+EMULATION_NAME=mipsbsd
+SCRIPT_NAME=aout-mipsbsd
+OUTPUT_FORMAT="aout-mips-little"
+TEXT_START_ADDR=0x1020
+PAGE_SIZE=4096
+ARCH=mips