From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5463 invoked by alias); 15 Oct 2002 01:09:53 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 5450 invoked from network); 15 Oct 2002 01:09:52 -0000 Received: from unknown (HELO splat.sfbay.redhat.com) (12.150.115.200) by sources.redhat.com with SMTP; 15 Oct 2002 01:09:52 -0000 Received: (from rth@localhost) by splat.sfbay.redhat.com (8.11.6/8.11.2) id g9F16LP00981 for binutils@sources.redhat.com; Mon, 14 Oct 2002 18:06:21 -0700 X-Authentication-Warning: splat.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Mon, 14 Oct 2002 18:09:00 -0000 From: Richard Henderson To: binutils@sources.redhat.com Subject: alpha !samegp linker fix Message-ID: <20021015010621.GA488@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2002-10/txt/msg00344.txt.bz2 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)