From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30974 invoked by alias); 28 Feb 2011 15:53:02 -0000 Received: (qmail 30962 invoked by uid 22791); 28 Feb 2011 15:53:01 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Feb 2011 15:52:56 +0000 Received: (qmail 31393 invoked from network); 28 Feb 2011 15:52:53 -0000 Received: from unknown (HELO tp.orcam.me.uk) (macro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Feb 2011 15:52:53 -0000 Date: Mon, 28 Feb 2011 15:53:00 -0000 From: "Maciej W. Rozycki" To: Richard Sandiford cc: binutils@sourceware.org Subject: Re: [PATCH] MIPS/GAS: Correct $at usage in PIC branch relaxation In-Reply-To: <87pqqfqhm2.fsf@firetop.home> Message-ID: References: <87pqqfqhm2.fsf@firetop.home> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 2011-02/txt/msg00405.txt.bz2 On Sat, 26 Feb 2011, Richard Sandiford wrote: > > 2011-02-24 Maciej W. Rozycki > > > > gas/ > > * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary > > register to use. > > (RELAX_BRANCH_UNCOND): Adjust accordingly. > > (RELAX_BRANCH_LIKELY): Likewise. > > (RELAX_BRANCH_LINK): Likewise. > > (RELAX_BRANCH_TOOFAR): Likewise. > > (RELAX_BRANCH_AT): New macro. > > (append_insn): Encode the temporary register to use in standard > > MIPS branch relaxation. > > (relaxed_branch_length): Update according to changes to > > RELAX_BRANCH_ENCODE. > > (md_convert_frag): Use the encoded register as the temporary. > > > > gas/testsuite/ > > * gas/mips/relax-at.d: New test for branch relaxation with .set > > at. > > * gas/mips/relax.s: Update to support the new test. > > * gas/mips/relax.l: Update accordingly. > > * gas/mips/relax.d: Update for multi-arch invocation. > > * gas/mips/mips.exp: Run the new test. Adjust to run "relax" > > across all applicable architectures. > > OK, thanks. Applied, thanks. Maciej