This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]