From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38707 invoked by alias); 22 Jun 2016 18:23:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 38695 invoked by uid 89); 22 Jun 2016 18:23:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Hx-languages-length:1031, 71151, jumptables X-HELO: mo4-p00-ob.smtp.rzone.de Received: from mo4-p00-ob.smtp.rzone.de (HELO mo4-p00-ob.smtp.rzone.de) (81.169.146.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 22 Jun 2016 18:23:15 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT2k715jHQaJercGOZE+TiTS5oCK5h4xO8xc= X-RZG-CLASS-ID: mo00 Received: from [192.168.2.100] (dslb-084-058-214-210.084.058.pools.vodafone-ip.de [84.58.214.210]) by smtp.strato.de (RZmta 38.6 DYNA|AUTH) with ESMTPSA id z011fas5MINA1Tj (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 22 Jun 2016 20:23:10 +0200 (CEST) Message-ID: <576AD79E.6090209@gjlay.de> Date: Wed, 22 Jun 2016 18:23:00 -0000 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Senthil Kumar Selvaraj CC: gcc-patches@gcc.gnu.org, Denis Chertykov Subject: Re: [Patch, avr] Fix PR 71151 References: <87y46m1h3y.fsf@atmel.com> <5751B5EA.5000108@gjlay.de> <877fe1nrdy.fsf@atmel.com> <87lh258ufn.fsf@atmel.com> In-Reply-To: <87lh258ufn.fsf@atmel.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg01634.txt.bz2 Senthil Kumar Selvaraj schrieb: > Senthil Kumar Selvaraj writes: > >> Georg-Johann Lay writes: >> >>> Senthil Kumar Selvaraj schrieb: >>>> Hi, >>>> >>>> [set JUMP_TABLES_IN_TEXT_SECTION to 1] >> >> I added tests that use linker relaxation and discovered a relaxation bug >> in binutils 2.26 (and later) that messes up symbol values in the >> presence of alignment directives. I'm working on that right now - >> hopefully, it'll get backported to the release branch. >> >> Once that gets upstream, I'll resend the patch - with more tests, and >> incorporating your comments. >> > > There were two binutils bugs (PR ld/20221 and ld/20254) that were > blocking this patch - on enabling, relaxation, jumptables were > getting corrupted. Both of the issues are now fixed, and the fixes > are in master and 2.26 branch. Should we mention in the release notes that Binutils >= 2.26 is needed for avr-gcc >= 6 ? Maybe even check during configure whether an appropriate version of Binutils is used? Johann