aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog11
-rw-r--r--ld/Makefile.am6
-rw-r--r--ld/Makefile.in6
-rw-r--r--ld/configure.tgt1
-rw-r--r--ld/emulparams/hppalinux.sh3
-rw-r--r--ld/emulparams/hppanbsd.sh3
6 files changed, 30 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index becfd47..7b46215 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,14 @@
+2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
+ (ehppanbsd.c): New rule.
+ * Makefile.in: Regenerate.
+ * configure.tgt (hppa*-*-netbsd*): New target.
+ * emulparams/hppalinux.sh: Add comment to check other files
+ that source this file it is modified, and list which
+ files that do.
+ * emulparams/hppanbsd.sh: New file.
+
2002-02-01 Geoffrey Keating <geoffk@redhat.com>
* scripttempl/xstormy16.sc: Don't allocate extra space for the
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 7ba7d06..38fe6021 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -184,6 +184,7 @@ ALL_EMULATIONS = \
ehp3hpux.o \
ehppaelf.o \
ehppalinux.o \
+ ehppanbsd.o \
ei386aout.o \
ei386beos.o \
ei386bsd.o \
@@ -662,6 +663,11 @@ ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
+ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
+ $(srcdir)/emulparams/hppaelf.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
+ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
diff --git a/ld/Makefile.in b/ld/Makefile.in
index c4d35ac..d38180c 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -293,6 +293,7 @@ ALL_EMULATIONS = \
ehp3hpux.o \
ehppaelf.o \
ehppalinux.o \
+ ehppanbsd.o \
ei386aout.o \
ei386beos.o \
ei386bsd.o \
@@ -1383,6 +1384,11 @@ ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
+ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
+ $(srcdir)/emulparams/hppaelf.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
+ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
diff --git a/ld/configure.tgt b/ld/configure.tgt
index e41bb11..e1d6ea0 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -304,6 +304,7 @@ hppa*64*-*) targ_emul=elf64hppa ;;
hppa*-*-linux-gnu*) targ_emul=hppalinux ;;
hppa*-*-*elf*) targ_emul=hppaelf ;;
hppa*-*-lites*) targ_emul=hppaelf ;;
+hppa*-*-netbsd*) targ_emul=hppanbsd ;;
hppa*-*-rtems*) targ_emul=hppaelf ;;
vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
mips*-*-pe) targ_emul=mipspe ;
diff --git a/ld/emulparams/hppalinux.sh b/ld/emulparams/hppalinux.sh
index a4c4904..08309b3 100644
--- a/ld/emulparams/hppalinux.sh
+++ b/ld/emulparams/hppalinux.sh
@@ -1,3 +1,6 @@
+# If you change this file, please also look at files which source this one:
+# hppanbsd.sh
+
SCRIPT_NAME=elf
ELFSIZE=32
OUTPUT_FORMAT="elf32-hppa-linux"
diff --git a/ld/emulparams/hppanbsd.sh b/ld/emulparams/hppanbsd.sh
new file mode 100644
index 0000000..e2279cf
--- /dev/null
+++ b/ld/emulparams/hppanbsd.sh
@@ -0,0 +1,3 @@
+. ${srcdir}/emulparams/hppalinux.sh
+
+OUTPUT_FORMAT="elf32-hppa"