From: Per Bothner Date: Mon, 17 Feb 1992 20:08:20 +0000 (+0000) Subject: New hp300bsd port. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1584d0697df73819981fac5cb57f8b0061c13ca0;p=binutils-gdb.git New hp300bsd port. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 7274d7a8c5d..fc8bb5e4856 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com) + + * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd, + config/mt-hp300bsd: New port to hp300 running BSD. + Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com) Major rewrite of how ld is configured. The major idea diff --git a/ld/Makefile.in b/ld/Makefile.in index 411b981e3b5..55e7be34bae 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -98,7 +98,7 @@ BFDLIB=$(unsubdir)/../bfd$(subdir)/libbfd.a LIBIBERTY=$(unsubdir)/../libiberty$(subdir)/libiberty.a ALL_EMULATIONS=ld__lnk960.o ld__sun3.o ld__i386aout.o \ - ld__m88kbcs.o ld__a29k.o ld__news.o ld__h8300hms.o ld__ebmon29k.o \ + ld__m88kbcs.o ld__a29k.o ld__news.o ld__hp300bsd.o ld__h8300hms.o ld__ebmon29k.o \ ld__sun4.o ld__gld960.o ld__vanilla.o EMULATION_OFILES=${ALL_EMULATIONS} @@ -182,6 +182,9 @@ ld__sun3.c: $(srcdir)/sun3.sh \ ld__news.c: $(srcdir)/news.sh \ $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS} ${GENSCRIPTS} news.sh +ld__hp300bsd.c: $(srcdir)/hp300bsd.sh \ + $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS} + ${GENSCRIPTS} hp300bsd.sh ld__i386aout.c: $(srcdir)/i386aout.sh \ $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS} ${GENSCRIPTS} i386aout.sh diff --git a/ld/config/hp300bsd.mh b/ld/config/hp300bsd.mh new file mode 100755 index 00000000000..496728bf1de --- /dev/null +++ b/ld/config/hp300bsd.mh @@ -0,0 +1,8 @@ +#CC=gcc -ansi -Wall +CC=cc +YACC=yacc -d + + +HOSTING_CRT0=/lib/crt0.o +HOSTING_LIBS=-lc +HOSTING_EMU=LDEMULATION=hp300bsd; export LDEMULATION diff --git a/ld/config/hp300bsd.mt b/ld/config/hp300bsd.mt new file mode 100644 index 00000000000..9105c52ca65 --- /dev/null +++ b/ld/config/hp300bsd.mt @@ -0,0 +1,2 @@ +EMUL=hp300bsd + diff --git a/ld/hp300bsd.sh b/ld/hp300bsd.sh new file mode 100755 index 00000000000..abdd5eb769d --- /dev/null +++ b/ld/hp300bsd.sh @@ -0,0 +1,6 @@ +EMULATION_NAME=hp300bsd +SCRIPT_NAME=aout +OUTPUT_FORMAT="a.out-hp300bsd" +TEXT_START_ADDR=0 +PAGE_SIZE=4096 +ARCH=m68k