aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-02-02 18:36:04 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-02-02 18:36:04 +0000
commit006336b8fe982ec814ddd2a61f181078a9b6345d (patch)
treededb397a8ed2c9df9590d7e1c4c8c8e46799e924 /ld
parentfffee0be3ff1c86d1c3f0b1565c0a61abb9cc585 (diff)
downloadgdb-006336b8fe982ec814ddd2a61f181078a9b6345d.zip
gdb-006336b8fe982ec814ddd2a61f181078a9b6345d.tar.gz
gdb-006336b8fe982ec814ddd2a61f181078a9b6345d.tar.bz2
bfd:
* config.bfd (hppa*-*-netbsd*): New target. gas: * configure.in (hppa-*-netbsd*): New target. * configure: Regenerate. * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. ld: * 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.
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"