alpha !samegp linker fix

Richard Henderson rth@redhat.com
Mon Oct 14 18:09:00 GMT 2002


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)



More information about the Binutils mailing list