summaryrefslogtreecommitdiff
path: root/ld/emulparams/hppanbsd.sh
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2004-07-27 22:30:25 +0000
committerJason Thorpe <thorpej@netbsd.org>2004-07-27 22:30:25 +0000
commit9ecf1e50b69edcaf6ab753ed4659db9b3dd1f244 (patch)
tree59c0f9c73a87bc4b5e8516bd0278ca79cb0b3991 /ld/emulparams/hppanbsd.sh
parent8734d1c9a3c159a8dafdacb67bb5fc9687bfd7aa (diff)
downloadbinutils-redhat-9ecf1e50b69edcaf6ab753ed4659db9b3dd1f244.tar.gz
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".
Diffstat (limited to 'ld/emulparams/hppanbsd.sh')
-rw-r--r--ld/emulparams/hppanbsd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emulparams/hppanbsd.sh b/ld/emulparams/hppanbsd.sh
index 3f376b4760..dcc6a932ce 100644
--- a/ld/emulparams/hppanbsd.sh
+++ b/ld/emulparams/hppanbsd.sh
@@ -3,3 +3,4 @@
. ${srcdir}/emulparams/hppalinux.sh
+OUTPUT_FORMAT="elf32-hppa-netbsd"