From e637dcf08be9705ba8161b22b49a9785813e6973 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 28 Feb 1993 14:46:25 +0000 Subject: [PATCH] mips-bsd and 386bsd support --- ld/.Sanitize | 8 +++++++- ld/ChangeLog | 8 ++++++++ ld/Makefile.in | 12 +++++++++++- ld/aout-mipsbsd.sc-sh | 28 ++++++++++++++++++++++++++++ ld/config/.Sanitize | 2 ++ ld/config/i386-bsd.mt | 1 + ld/config/mipsbsd.mt | 1 + ld/configure.in | 12 +++++++++++- ld/i386bsd.sh | 7 +++++++ ld/mipsbsd.sh | 6 ++++++ 10 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 ld/aout-mipsbsd.sc-sh create mode 100644 ld/config/i386-bsd.mt create mode 100644 ld/config/mipsbsd.mt create mode 100644 ld/i386bsd.sh create mode 100644 ld/mipsbsd.sh diff --git a/ld/.Sanitize b/ld/.Sanitize index f11aecd171a..e5c729e7334 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -36,6 +36,7 @@ TODO a29k.sc-sh a29k.sh aout.sc-sh +aout-mipsbsd.sc-sh cdtest-foo.cc cdtest-foo.h cdtest-func.cc @@ -61,6 +62,7 @@ h8300xray.em h8300xray.sc-sh h8300xray.sh i386aout.sh +i386bsd.sh i386coff.sc-sh i386coff.sh i960.sc-sh @@ -105,6 +107,7 @@ m88kbcs.sc-sh m88kbcs.sh mips.sc-sh mipsbig.sh +mipsbsd.sh mipslit.sh mri.c mri.h @@ -158,7 +161,10 @@ fi # # # $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 diff --git a/ld/ChangeLog b/ld/ChangeLog index 2c048880104..f86384026a2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,13 @@ +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. diff --git a/ld/Makefile.in b/ld/Makefile.in index 9c1328e6802..e0dad2d3b92 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -119,7 +119,8 @@ 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_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} @@ -258,6 +259,15 @@ em_i386coff.c: $(srcdir)/i386coff.sh \ 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) diff --git a/ld/aout-mipsbsd.sc-sh b/ld/aout-mipsbsd.sc-sh new file mode 100644 index 00000000000..687579448e5 --- /dev/null +++ b/ld/aout-mipsbsd.sc-sh @@ -0,0 +1,28 @@ +cat <