aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-10-15 01:07:52 +0000
committerRichard Henderson <rth@redhat.com>2002-10-15 01:07:52 +0000
commit64e04ecdb7238be11cc4373f9610f74fbe506605 (patch)
tree7e3e8c6623df1b602f82b5cb204b4d99c6727989
parent03bdc404054163a06f7121a2b83d581fca8058ee (diff)
downloadgdb-64e04ecdb7238be11cc4373f9610f74fbe506605.zip
gdb-64e04ecdb7238be11cc4373f9610f74fbe506605.tar.gz
gdb-64e04ecdb7238be11cc4373f9610f74fbe506605.tar.bz2
* elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
VALUE, not ADDEND.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-alpha.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 82064f7..5f15b7e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-14 Richard Henderson <rth@redhat.com>
+
+ * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
+ VALUE, not ADDEND.
+
2002-10-14 Stephen Clarke <stephen.clarke@superh.com>
* elf32-sh.c (elf_sh_link_hash_entry): Replace
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index 5973017..1058a1c 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -4577,7 +4577,7 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section,
case STO_ALPHA_NOPV:
break;
case STO_ALPHA_STD_GPLOAD:
- addend += 8;
+ value += 8;
break;
default:
if (h != NULL)