From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13568 invoked by alias); 27 Apr 2007 18:32:25 -0000 Received: (qmail 13556 invoked by uid 22791); 27 Apr 2007 18:32:24 -0000 X-Spam-Check-By: sourceware.org Received: from hq.tensilica.com (HELO mailapp.tensilica.com) (65.205.227.29) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Apr 2007 19:32:21 +0100 Received: from localhost ([127.0.0.1]) by mailapp.tensilica.com with esmtp (Exim 4.34) id 1HhVEx-000151-28 for binutils@sources.redhat.com; Fri, 27 Apr 2007 11:32:19 -0700 Received: from mailapp.tensilica.com ([127.0.0.1]) by localhost (mailapp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03575-08 for ; Fri, 27 Apr 2007 11:32:18 -0700 (PDT) Received: from heron.hq.tensilica.com ([192.168.11.123]) by mailapp.tensilica.com with esmtp (Exim 4.34) id 1HhVEv-00014g-VB for binutils@sources.redhat.com; Fri, 27 Apr 2007 11:32:18 -0700 Received: from [192.168.11.123] (heron.hq.tensilica.com [192.168.11.123]) by heron.hq.tensilica.com (Postfix) with ESMTP id 91A315ECC8 for ; Fri, 27 Apr 2007 11:32:17 -0700 (PDT) Message-ID: <463241B0.9020002@tensilica.com> Date: Fri, 27 Apr 2007 19:46:00 -0000 From: Bob Wilson User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: binutils@sources.redhat.com Subject: Re: fix Xtensa property tables with relaxation and --gc-sections In-Reply-To: <461E827B.7090907@tensilica.com> Content-Type: multipart/mixed; boundary="------------020409080904020806020200" Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00365.txt.bz2 This is a multi-part message in MIME format. --------------020409080904020806020200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 211 Oops. My previous patch had an extra increment, so it skipped over every other relocation. I've committed this patch to fix it. bfd/ * elf32-xtensa.c (relax_property_section): Remove extra irel increment. --------------020409080904020806020200 Content-Type: text/x-diff; name="bfd-extra-inc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bfd-extra-inc.patch" Content-length: 399 Index: elf32-xtensa.c =================================================================== RCS file: /cvs/src/src/bfd/elf32-xtensa.c,v retrieving revision 1.86 diff -u -r1.86 elf32-xtensa.c --- elf32-xtensa.c 26 Apr 2007 14:46:57 -0000 1.86 +++ elf32-xtensa.c 27 Apr 2007 18:27:18 -0000 @@ -9037,7 +9037,6 @@ break; } irel->r_offset -= removed_bytes; - irel++; } } --------------020409080904020806020200--