aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2004-07-29 03:48:13 +0000
committerJason Thorpe <thorpej@netbsd.org>2004-07-29 03:48:13 +0000
commite7fbc2bf98c9a29fa479efe08fd7d77fd163d7b9 (patch)
tree0f4c0dd2354f7189939bfc7295b298c49c4a3014
parent11e7cc767d862f2df7e403de688d80057908bfd9 (diff)
downloadgdb-e7fbc2bf98c9a29fa479efe08fd7d77fd163d7b9.zip
gdb-e7fbc2bf98c9a29fa479efe08fd7d77fd163d7b9.tar.gz
gdb-e7fbc2bf98c9a29fa479efe08fd7d77fd163d7b9.tar.bz2
bfd:
* config.bfd (hppa*-*-netbsd*): Set targ_defvec to bfd_elf32_hppa_nbsd_vec. Add bfd_elf32_hppa_linux_vec to targ_selvecs. * configure.in (bfd_elf32_hppa_nbsd_vec): Add case. * configure: Regenerate. * elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd" case that accepts OSABI=NetBSD and OSABI=SysV. (elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to the base of .got or .data (if .got does not exist). (elf32_hppa_post_process_headers): For elf32-hppa-netbsd, set OSABI=NetBSD. (TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case. (TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case. * targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration. (_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec. gas: * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd" for TE_NetBSD. ld: * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
-rw-r--r--bfd/config.bfd6
-rw-r--r--gas/ChangeLog5
-rw-r--r--ld/ChangeLog4
3 files changed, 14 insertions, 1 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index c8c08ed..89455cf 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -384,10 +384,14 @@ case "${targ}" in
;;
#endif
- hppa*-*-linux-gnu* | hppa*-*-netbsd*)
+ hppa*-*-linux-gnu*)
targ_defvec=bfd_elf32_hppa_linux_vec
targ_selvecs=bfd_elf32_hppa_vec
;;
+ hppa*-*-netbsd*)
+ targ_defvec=bfd_elf32_hppa_nbsd_vec
+ targ_selvecs="bfd_elf32_hppa_vec bfd_elf32_hppa_linux_vec"
+ ;;
hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-sysv4* | hppa*-*-rtems* | hppa*-*-openbsd*)
targ_defvec=bfd_elf32_hppa_vec
targ_selvecs=bfd_elf32_hppa_linux_vec
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7777c6f..1da1150 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
+ for TE_NetBSD.
+
2004-07-27 Alan Modra <amodra@bigpond.net.au>
* config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0759c57..9e2bfae 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
+
2004-07-26 Dmitry Diky <diwil@spec.ru>
* Makefile.am: Add new subtargets: msp430x1610, msp430x1611,