aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-hppa.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-08-30 21:30:36 +0000
committerJeff Law <law@redhat.com>1999-08-30 21:30:36 +0000
commit0d571602cae73fe974dd08e88bb2de3d4ef53095 (patch)
tree1b581bc33246b98a07b669e7b154ceaecee8a95d /bfd/elf-hppa.h
parentcb63de9b0329fcc6c7aa1fe2c04072f9f0042234 (diff)
downloadgdb-0d571602cae73fe974dd08e88bb2de3d4ef53095.zip
gdb-0d571602cae73fe974dd08e88bb2de3d4ef53095.tar.gz
gdb-0d571602cae73fe974dd08e88bb2de3d4ef53095.tar.bz2
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Allow both
R_PARISC_DIR32 and R_PARISC_DIR64 regardless of how the tools were configured. * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Declare.
Diffstat (limited to 'bfd/elf-hppa.h')
-rw-r--r--bfd/elf-hppa.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index f3099b8..44d4f51 100644
--- a/bfd/elf-hppa.h
+++ b/bfd/elf-hppa.h
@@ -335,7 +335,11 @@ _bfd_elf_hppa_gen_reloc_type (abfd, base_type, format, field, ignore, sym)
for PA ELF. */
switch (base_type)
{
- case R_HPPA:
+ /* We have been using generic relocation types. However, that may not
+ really make sense. Anyway, we need to support both R_PARISC_DIR64
+ and R_PARISC_DIR32 here. */
+ case R_PARISC_DIR32:
+ case R_PARISC_DIR64:
case R_HPPA_ABS_CALL:
switch (format)
{