public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* alpha !samegp linker fix
@ 2002-10-14 18:09 Richard Henderson
  0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 2002-10-14 18:09 UTC (permalink / raw)
  To: binutils

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-15  1:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 18:09 alpha !samegp linker fix Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).