aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-07-01 13:02:50 +0000
committerJeff Law <law@redhat.com>1999-07-01 13:02:50 +0000
commit341362b58e76259a44e94b6f7f76e42ddb6bfb55 (patch)
tree06fe07272ed6e25d4446ef1799f77bdf7a05e597
parent17bb48e0f207f43f520fb5bb8c4f8218f0aa1af5 (diff)
downloadgdb-341362b58e76259a44e94b6f7f76e42ddb6bfb55.zip
gdb-341362b58e76259a44e94b6f7f76e42ddb6bfb55.tar.gz
gdb-341362b58e76259a44e94b6f7f76e42ddb6bfb55.tar.bz2
X
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle R_PCREL_CALL with 22bit format.
-rw-r--r--bfd/elf-hppa.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index 9e95183..7138459 100644
--- a/bfd/elf-hppa.h
+++ b/bfd/elf-hppa.h
@@ -480,6 +480,17 @@ _bfd_elf_hppa_gen_reloc_type (abfd, base_type, format, field, ignore, sym)
}
break;
+ case 22:
+ switch (field)
+ {
+ case e_fsel:
+ final_type = R_PARISC_PCREL22F;
+ break;
+ default:
+ return NULL;
+ }
+ break;
+
case 21:
switch (field)
{