This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PDP-11 port: ld
I've heard no complaints about my patches so far, so I'll just keep
sending them.
This adds PDP-11 support in the ld subdirectory.
2001-02-15 lars brinkhoff <lars@nocrew.org>
* Makefile.am: Add PDP-11 target.
* configure.tgt: Likewise.
* emulparams/pdp11.sh: New file.
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.52
diff -u -r1.52 Makefile.am
--- Makefile.am 2001/02/10 00:55:50 1.52
+++ Makefile.am 2001/02/15 06:38:38
@@ -208,6 +208,7 @@
enews.o \
ens32knbsd.o \
epc532macha.o \
+ epdp11.o \
epjelf.o \
epjlelf.o \
eppcmacos.o \
@@ -683,6 +684,9 @@
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)"
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.45
diff -u -r1.45 configure.tgt
--- configure.tgt 2001/02/14 18:34:13 1.45
+++ configure.tgt 2001/02/15 06:38:42
@@ -286,6 +286,7 @@
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 -Nu /dev/null emulparams/pdp11.sh
--- /dev/null Mon Jul 20 15:47:02 1998
+++ emulparams/pdp11.sh Wed Feb 14 09:38:34 2001
@@ -0,0 +1,5 @@
+SCRIPT_NAME=aout
+OUTPUT_FORMAT="a.out-pdp11"
+TEXT_START_ADDR=0
+TARGET_PAGE_SIZE=256
+ARCH=pdp11