+Thu Oct 28 19:08:42 1993 Stan Shebs (shebs@rtl.cygnus.com)
+
+ * configure.in (sparc*-*-lynxos*): New target.
+ * Makefile.in: Add rule for em_sparclynx.c.
+ (ALL_EMULATIONS): Add Lynx emulations.
+ * config/sparc-lynx.mt: New file.
+ * emulparams/sparclynx.sh: New file.
+ * scripttempl/sparccoff.sc: New file.
+
Thu Oct 28 13:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* Makefile.in: Add dependency for $(EMULATION_OFILES).
em_vanilla.o em_i386coff.o em_z8ksim.o em_mipslit.o em_i386bsd.o \
em_mipsbig.o em_mipsbsd.o em_mipsidt.o em_vax.o em_h8500.o \
em_hppaosf.o em_mipsidtl.o em_sh.o em_elf_i386.o em_alpha.o \
+ em_i386lynx.o em_m68klynx.o em_sparclynx.o \
$(OTHER_EMULATIONS)
# This is now set by configure.in.
em_i386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
${GENSCRIPTS} i386lynx
+em_sparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} sparclynx
em_mipslit.c: $(srcdir)/emulparams/mipslit.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
${GENSCRIPTS} mipslit
--- /dev/null
+EMUL=sparclynx
+OTHER_EMULATIONS=em_sparclynx.o
# end-sanitize-v9
sparc*-*-aout) ld_target=sun4 ;;
sparc*-*-elf) ld_target=sun4sol2 ;;
+ sparc*-*-lynxos*) ld_target=sparc-lynx ;;
sparc*-*-solaris2*) ld_target=sun4sol2 ;;
i960-wrs-vxworks*) ld_target=i960 ;;
i960-intel-nindy) ld_target=i960 ;;
exit 1 ;;
hppa*-hp-osf) ld_target=hppaosf ;;
vax-dec-ultrix* | vax-dec-bsd*) ld_target=vax ;;
- mips-dec-ultrix*) ld_target=mips-lit ;;
- mips-sgi-irix*) ld_target=mips-big ;;
- mips-idt-ecoffl*) ld_target=mips-idtl ;;
- mips-idt-ecoff*) ld_target=mips-idt ;;
- mips-dec-bsd*) ld_target=mipsbsd ;;
- mips-*-elf*) ld_target=mipsb-elf32 ;;
+ mips*-dec-ultrix*) ld_target=mips-lit ;;
+ mips*-sgi-irix*) ld_target=mips-big ;;
+ mips*el-idt-ecoff*) ld_target=mips-idtl ;;
+ mips*-idt-ecoff*) ld_target=mips-idt ;;
+ mips*-dec-bsd*) ld_target=mipsbsd ;;
+ mips*-*-elf*) ld_target=mipsb-elf32 ;;
alpha-*-osf*) ld_target=alpha ;;
z8k-*-sim | z8k-*-coff) ld_target=z8ksim ;;
*-*-aout) ld_target=${target_cpu}-${target_vendor} ;;
--- /dev/null
+SCRIPT_NAME=sparccoff
+OUTPUT_FORMAT="coff-sparc-lynx"
+# This is what /lib/init1.o seems to want.
+ENTRY=_main
+# following are dubious
+PAGE_SIZE=0x1000
+TEXT_START_ADDR=0
+NONPAGED_TEXT_START_ADDR=0x1000
+ARCH=sparc