This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
alpha !samegp linker fix
- From: Richard Henderson <rth at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 14 Oct 2002 18:06:21 -0700
- Subject: alpha !samegp linker fix
I'm certain this worked at one time. But some cleanup after
that moved the application of addend to value before the
switch statement. Still investigating what other branches
to which this needs to be applied...
r~
* elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
VALUE, not ADDEND.
Index: elf64-alpha.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-alpha.c,v
retrieving revision 1.82
diff -c -p -d -u -r1.82 elf64-alpha.c
--- elf64-alpha.c 11 Oct 2002 08:33:11 -0000 1.82
+++ elf64-alpha.c 15 Oct 2002 00:47:04 -0000
@@ -4577,7 +4577,7 @@ elf64_alpha_relocate_section (output_bfd
case STO_ALPHA_NOPV:
break;
case STO_ALPHA_STD_GPLOAD:
- addend += 8;
+ value += 8;
break;
default:
if (h != NULL)