* elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.
authorRichard Henderson <rth@redhat.com>
Fri, 4 May 2001 23:22:31 +0000 (23:22 +0000)
committerRichard Henderson <rth@redhat.com>
Fri, 4 May 2001 23:22:31 +0000 (23:22 +0000)
bfd/ChangeLog
bfd/elf64-alpha.c

index 5241b81bf4ca2db197fee7684ec7ac46fd2fde10..80a2f49da7bc62cd3c3211dfa6e85834a2958729 100644 (file)
@@ -1,3 +1,7 @@
+2001-05-04  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.
+
 2001-05-04  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * elf32-arm.h (elf32_arm_final_link_relocate): Set
index bc2314cf1e47bd6849458dd136d1ae49e0893114..06891d3e0e5a3f4f8293b047cafe18dca7188a36 100644 (file)
@@ -566,7 +566,7 @@ static reloc_howto_type elf64_alpha_howto_table[] =
         false,                 /* partial_inplace */
         0xffff,                /* src_mask */
         0xffff,                /* dst_mask */
-        false),                /* pcrel_offset */
+        true),                 /* pcrel_offset */
 
   /* 32 bit PC relative offset.  */
   HOWTO (R_ALPHA_SREL32,       /* type */
@@ -581,7 +581,7 @@ static reloc_howto_type elf64_alpha_howto_table[] =
         false,                 /* partial_inplace */
         0xffffffff,            /* src_mask */
         0xffffffff,            /* dst_mask */
-        false),                /* pcrel_offset */
+        true),                 /* pcrel_offset */
 
   /* A 64 bit PC relative offset.  */
   HOWTO (R_ALPHA_SREL64,       /* type */
@@ -596,7 +596,7 @@ static reloc_howto_type elf64_alpha_howto_table[] =
         false,                 /* partial_inplace */
         MINUS_ONE,             /* src_mask */
         MINUS_ONE,             /* dst_mask */
-        false),                /* pcrel_offset */
+        true),                 /* pcrel_offset */
 
   /* Push a value on the reloc evaluation stack.  */
   /* Not implemented -- it's dumb.  */