New hp300bsd port.
authorPer Bothner <per@bothner.com>
Mon, 17 Feb 1992 20:08:20 +0000 (20:08 +0000)
committerPer Bothner <per@bothner.com>
Mon, 17 Feb 1992 20:08:20 +0000 (20:08 +0000)
ld/ChangeLog
ld/Makefile.in
ld/config/hp300bsd.mh [new file with mode: 0755]
ld/config/hp300bsd.mt [new file with mode: 0644]
ld/hp300bsd.sh [new file with mode: 0755]

index 7274d7a8c5d20ac26f726c26dc98b6c508b8dd2c..fc8bb5e4856e5c1261ac56ced37f68523d4f8f69 100644 (file)
@@ -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
index 411b981e3b5128c3062abf906e3b6e14dd40db77..55e7be34bae1a5b6321b50080b7fca547a8d0ec0 100644 (file)
@@ -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 (executable)
index 0000000..496728b
--- /dev/null
@@ -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 (file)
index 0000000..9105c52
--- /dev/null
@@ -0,0 +1,2 @@
+EMUL=hp300bsd
+
diff --git a/ld/hp300bsd.sh b/ld/hp300bsd.sh
new file mode 100755 (executable)
index 0000000..abdd5eb
--- /dev/null
@@ -0,0 +1,6 @@
+EMULATION_NAME=hp300bsd
+SCRIPT_NAME=aout
+OUTPUT_FORMAT="a.out-hp300bsd"
+TEXT_START_ADDR=0
+PAGE_SIZE=4096
+ARCH=m68k