aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-hppa.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-08-10 18:51:53 +0000
committerJeff Law <law@redhat.com>1999-08-10 18:51:53 +0000
commitfc91f6585b08c2d55317f868d0a1437c1f69b9b9 (patch)
tree54c596b001ee698727fbff4b7af2f96140bfaab8 /bfd/cpu-hppa.c
parent9c492adce5bb8cf1422878cfd5e294fabed9b2b9 (diff)
downloadgdb-fc91f6585b08c2d55317f868d0a1437c1f69b9b9.zip
gdb-fc91f6585b08c2d55317f868d0a1437c1f69b9b9.tar.gz
gdb-fc91f6585b08c2d55317f868d0a1437c1f69b9b9.tar.bz2
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle
R_HPPA_SEGBASE and R_HPPA_SEGREL32. * cpu-hppa.c (bfd_hppa20w_arch): New entry in architecture info list.
Diffstat (limited to 'bfd/cpu-hppa.c')
-rw-r--r--bfd/cpu-hppa.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/bfd/cpu-hppa.c b/bfd/cpu-hppa.c
index 5d26a92..5c17743 100644
--- a/bfd/cpu-hppa.c
+++ b/bfd/cpu-hppa.c
@@ -54,6 +54,23 @@ static const bfd_arch_info_type bfd_hppa20_arch =
&bfd_hppa10_arch,
};
+/* PA2.0 in wide mode */
+static const bfd_arch_info_type bfd_hppa20w_arch =
+{
+ 64, /* 32 bits in a word */
+ 64, /* 32 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_hppa,
+ 25, /* ??? How best to describe wide mode here? */
+ "hppa",
+ "hppa2.0w",
+ 3,
+ false, /* Unless we use 1.1 specific features */
+ bfd_default_compatible,
+ bfd_default_scan ,
+ &bfd_hppa20_arch,
+};
+
const bfd_arch_info_type bfd_hppa_arch =
{
32, /* 32 bits in a word */
@@ -67,5 +84,5 @@ const bfd_arch_info_type bfd_hppa_arch =
false, /* 1.1 specific features used */
bfd_default_compatible,
bfd_default_scan ,
- &bfd_hppa20_arch,
+ &bfd_hppa20w_arch,
};