diff options
author | Per Bothner <per@bothner.com> | 1992-02-17 20:08:20 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1992-02-17 20:08:20 +0000 |
commit | 1584d0697df73819981fac5cb57f8b0061c13ca0 (patch) | |
tree | 60bc4bef13010d766b11831d792878d0a9d4b6a0 /ld | |
parent | 9832e16cc38b91bbe0ea4f7e03ab5584e3f866a6 (diff) | |
download | gdb-1584d0697df73819981fac5cb57f8b0061c13ca0.zip gdb-1584d0697df73819981fac5cb57f8b0061c13ca0.tar.gz gdb-1584d0697df73819981fac5cb57f8b0061c13ca0.tar.bz2 |
New hp300bsd port.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/Makefile.in | 5 | ||||
-rwxr-xr-x | ld/config/hp300bsd.mh | 8 | ||||
-rw-r--r-- | ld/config/hp300bsd.mt | 2 | ||||
-rwxr-xr-x | ld/hp300bsd.sh | 6 |
5 files changed, 25 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 7274d7a..fc8bb5e 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 411b981..55e7be3 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 0000000..496728b --- /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 0000000..9105c52 --- /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 0000000..abdd5eb --- /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 |