diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2004-07-27 22:30:25 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2004-07-27 22:30:25 +0000 |
commit | 225247f09fa353923f236db2c1e4c7fea74ac63e (patch) | |
tree | aca12be4ba1a4ae35fcba22ab8a16610efb67a50 /bfd/targets.c | |
parent | ld-h8300/h8300.exp: Addition of new test case to check relaxation for H8S tar... (diff) | |
download | binutils-gdb-225247f09fa353923f236db2c1e4c7fea74ac63e.tar.gz binutils-gdb-225247f09fa353923f236db2c1e4c7fea74ac63e.tar.bz2 binutils-gdb-225247f09fa353923f236db2c1e4c7fea74ac63e.zip |
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 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index a08cd0b5103..e3357c59f60 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -546,6 +546,7 @@ extern const bfd_target bfd_elf32_frv_vec; extern const bfd_target bfd_elf32_frvfdpic_vec; extern const bfd_target bfd_elf32_h8300_vec; extern const bfd_target bfd_elf32_hppa_linux_vec; +extern const bfd_target bfd_elf32_hppa_nbsd_vec; extern const bfd_target bfd_elf32_hppa_vec; extern const bfd_target bfd_elf32_i370_vec; extern const bfd_target bfd_elf32_i386_freebsd_vec; @@ -841,6 +842,7 @@ static const bfd_target * const _bfd_target_vector[] = { &bfd_elf32_frvfdpic_vec, &bfd_elf32_h8300_vec, &bfd_elf32_hppa_linux_vec, + &bfd_elf32_hppa_nbsd_vec, &bfd_elf32_hppa_vec, &bfd_elf32_i370_vec, &bfd_elf32_i386_freebsd_vec, |