aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-05-04 23:22:31 +0000
committerRichard Henderson <rth@redhat.com>2001-05-04 23:22:31 +0000
commit16b65e4ea2e93d5893a07ad6e05ee7131c3ae8ce (patch)
tree0d7a84e381c33907ee13e256debac926894c6ca9
parent66c756c665a4e13c48a8b8d40158806aebd310b1 (diff)
downloadgdb-16b65e4ea2e93d5893a07ad6e05ee7131c3ae8ce.zip
gdb-16b65e4ea2e93d5893a07ad6e05ee7131c3ae8ce.tar.gz
gdb-16b65e4ea2e93d5893a07ad6e05ee7131c3ae8ce.tar.bz2
* elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf64-alpha.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5241b81..80a2f49 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index bc2314c..06891d3 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -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. */