summaryrefslogtreecommitdiff
path: root/bfd/elf-hppa.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-08-05 00:12:22 +0000
committerJeff Law <law@redhat.com>1999-08-05 00:12:22 +0000
commitab412f7c6cc93cf019732217b807cb3e9791781d (patch)
tree1719d757587eb748e7aab717cda3547029c3053f /bfd/elf-hppa.h
parent9f708690e41b4b09f5496dfcb36c2c281e40f6dd (diff)
downloadbinutils-redhat-ab412f7c6cc93cf019732217b807cb3e9791781d.tar.gz
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpsel
and 14bit ertpsel. Handle 64bit psel.
Diffstat (limited to 'bfd/elf-hppa.h')
-rw-r--r--bfd/elf-hppa.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index 26c863b984..cc72af64bf 100644
--- a/bfd/elf-hppa.h
+++ b/bfd/elf-hppa.h
@@ -349,6 +349,9 @@ _bfd_elf_hppa_gen_reloc_type (abfd, base_type, format, field, ignore, sym)
case e_rtsel:
final_type = R_PARISC_DLTIND14R;
break;
+ case e_rtpsel:
+ final_type = R_PARISC_LTOFF_FPTR14DR;
+ break;
case e_tsel:
final_type = R_PARISC_DLTIND14F;
break;
@@ -385,6 +388,9 @@ _bfd_elf_hppa_gen_reloc_type (abfd, base_type, format, field, ignore, sym)
case e_ltsel:
final_type = R_PARISC_DLTIND21L;
break;
+ case e_ltpsel:
+ final_type = R_PARISC_LTOFF_FPTR21L;
+ break;
case e_lpsel:
final_type = R_PARISC_PLABEL21L;
break;
@@ -414,6 +420,8 @@ _bfd_elf_hppa_gen_reloc_type (abfd, base_type, format, field, ignore, sym)
final_type = R_PARISC_DIR64;
break;
case e_psel:
+ final_type = R_PARISC_FPTR64;
+ break;
default:
return NULL;
}