aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-18 23:33:11 +0000
committerNick Clifton <nickc@redhat.com>2001-02-18 23:33:11 +0000
commite135f41bc2c2080a18ec4458a05757e1dc824876 (patch)
tree2b4c79d6629d37f6511d95efe4bdb75d1054736d /ld
parentdc3febfa6ef6fa1bc6a9239f85db6faf6006655c (diff)
downloadgdb-e135f41bc2c2080a18ec4458a05757e1dc824876.zip
gdb-e135f41bc2c2080a18ec4458a05757e1dc824876.tar.gz
gdb-e135f41bc2c2080a18ec4458a05757e1dc824876.tar.bz2
Add PDP-11 support
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/Makefile.am4
-rw-r--r--ld/Makefile.in4
-rw-r--r--ld/configure.tgt1
-rw-r--r--ld/emulparams/pdp11.sh5
-rw-r--r--ld/po/ld.pot16
6 files changed, 28 insertions, 8 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index eeb1990..f03253c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2001-02-18 lars brinkhoff <lars@nocrew.org>
+
+ * Makefile.am: Add PDP-11 target.
+ * configure.tgt: Likewise.
+ * emulparams/pdp11.sh: New file.
+
2001-02-17 David O'Brien <obrien@FreeBSD.org>
* configure.host: Add a generic FreeBSD configuration entry such that
diff --git a/ld/Makefile.am b/ld/Makefile.am
index daa9761..a66cefb 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -208,6 +208,7 @@ ALL_EMULATIONS = \
enews.o \
ens32knbsd.o \
epc532macha.o \
+ epdp11.o \
epjelf.o \
epjlelf.o \
eppcmacos.o \
@@ -683,6 +684,9 @@ ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
+epdp11.c: $(srcdir)/emulparams/pdp11.sh \
+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
epjelf.c: $(srcdir)/emulparams/pjelf.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} pjelf "$(tdir_pjelf)"
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 64a910f..2d25ac9 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -316,6 +316,7 @@ ALL_EMULATIONS = \
enews.o \
ens32knbsd.o \
epc532macha.o \
+ epdp11.o \
epjelf.o \
epjlelf.o \
eppcmacos.o \
@@ -1397,6 +1398,9 @@ ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
+epdp11.c: $(srcdir)/emulparams/pdp11.sh \
+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
epjelf.c: $(srcdir)/emulparams/pjelf.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} pjelf "$(tdir_pjelf)"
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 92b735f..ea96ab8 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -286,6 +286,7 @@ ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
powerpc-*-linux-gnu*) targ_emul=elf32ppclinux;
targ_extra_emuls="elf32ppc elf32ppcsim";
targ_extra_libpath=elf32ppc ;;
+pdp11-*-*) targ_emul=pdp11 ;;
pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;;
pj*-*-*) targ_emul=pjelf ;;
powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-sysv* \
diff --git a/ld/emulparams/pdp11.sh b/ld/emulparams/pdp11.sh
new file mode 100644
index 0000000..aaf955a
--- /dev/null
+++ b/ld/emulparams/pdp11.sh
@@ -0,0 +1,5 @@
+SCRIPT_NAME=aout
+OUTPUT_FORMAT="a.out-pdp11"
+TEXT_START_ADDR=0
+TARGET_PAGE_SIZE=256
+ARCH=pdp11
diff --git a/ld/po/ld.pot b/ld/po/ld.pot
index bdd5798..7d84a72 100644
--- a/ld/po/ld.pot
+++ b/ld/po/ld.pot
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2001-02-06 18:03-0800\n"
+"POT-Creation-Date: 2001-02-18 11:47-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -373,31 +373,31 @@ msgstr ""
msgid "%F%S: undefined symbol `%s' referenced in expression\n"
msgstr ""
-#: ldexp.c:600
+#: ldexp.c:601
msgid "%F%S can not PROVIDE assignment to location counter\n"
msgstr ""
-#: ldexp.c:610
+#: ldexp.c:611
msgid "%F%S invalid assignment to location counter\n"
msgstr ""
-#: ldexp.c:614
+#: ldexp.c:615
msgid "%F%S assignment to location counter invalid outside of SECTION\n"
msgstr ""
-#: ldexp.c:624
+#: ldexp.c:625
msgid "%F%S cannot move location counter backwards (from %V to %V)\n"
msgstr ""
-#: ldexp.c:652
+#: ldexp.c:653
msgid "%P%F:%s: hash creation failed\n"
msgstr ""
-#: ldexp.c:951
+#: ldexp.c:955
msgid "%F%S nonconstant expression for %s\n"
msgstr ""
-#: ldexp.c:984
+#: ldexp.c:988
msgid "%F%S non constant expression for %s\n"
msgstr ""