OSDN Git Service

* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpsel
authorlaw <law>
Thu, 5 Aug 1999 00:12:21 +0000 (00:12 +0000)
committerlaw <law>
Thu, 5 Aug 1999 00:12:21 +0000 (00:12 +0000)
        and 14bit ertpsel.  Handle 64bit psel.

bfd/ChangeLog
bfd/elf-hppa.h

index 44d52d4..9be0c48 100644 (file)
@@ -1,3 +1,8 @@
+Wed Aug  4 18:08:07 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpsel
+       and 14bit ertpsel.  Handle 64bit psel.
+
 1999-08-04  Mark Mitchell  <mark@codesourcery.com>
 
        * elf32-mips.c (_bfd_mips_elf_relocate_section): Tweak HI16/LO16
index 26c863b..cc72af6 100644 (file)
@@ -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;
            }