From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13099 invoked by alias); 15 May 2003 02:02:02 -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 12968 invoked from network); 15 May 2003 02:01:58 -0000 Received: from unknown (HELO iris1.csv.ica.uni-stuttgart.de) (129.69.118.2) by sources.redhat.com with SMTP; 15 May 2003 02:01:58 -0000 Received: from rembrandt.csv.ica.uni-stuttgart.de ([129.69.118.42]) by iris1.csv.ica.uni-stuttgart.de with esmtp (Exim 3.36 #2) id 19G84C-001EoH-00 for binutils@sources.redhat.com; Thu, 15 May 2003 04:01:56 +0200 Received: from ica2_ts by rembrandt.csv.ica.uni-stuttgart.de with local (Exim 3.35 #1 (Debian)) id 19G84B-0003lI-00 for ; Thu, 15 May 2003 04:01:55 +0200 Date: Thu, 15 May 2003 02:02:00 -0000 To: binutils@sources.redhat.com Subject: Re: [PATCH] MIPS gas: Use PIC_CALL_REG instead of uninitialized tempreg Message-ID: <20030515020154.GN8833@rembrandt.csv.ica.uni-stuttgart.de> References: <20030514235218.GI8833@rembrandt.csv.ica.uni-stuttgart.de> <20030515005505.GM8833@rembrandt.csv.ica.uni-stuttgart.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030515005505.GM8833@rembrandt.csv.ica.uni-stuttgart.de> User-Agent: Mutt/1.4i From: Thiemo Seufer X-SW-Source: 2003-05/txt/msg00451.txt.bz2 Thiemo Seufer wrote: [snip] > > 2003-05-15 Thiemo Seufer > > > > /gas/ChangeLog > > * config/tc-mips.c (macro): Don't use uninitialized tempreg. > > This was tested on mips64-linux and mips-sgi-irix6, both without > new regressions. > > I guess it built/passed the testsuite before because the M_JAL_A > case where the code lives in isn't triggered by ususal compiler > generated code. This adds a testcase which fails for the old code. Thiemo 2003-05-15 Thiemo Seufer /gas/testsuite/ChangeLog * gas/mips/jal-newabi.s: New file, testcase for NewABI xgot jal macro. * gas/mips/jal-newabi.d: Likewise. * gas/mips/mips.exp: Add new testcase. diff -BurpNX /bigdisk/src/gcc-exclude source-orig/gas/testsuite/gas/mips/jal-newabi.d source/gas/testsuite/gas/mips/jal-newabi.d --- source-orig/gas/testsuite/gas/mips/jal-newabi.d Thu Jan 1 01:00:00 1970 +++ source/gas/testsuite/gas/mips/jal-newabi.d Thu May 15 03:49:43 2003 @@ -0,0 +1,17 @@ +#objdump: -dr --prefix-addresses --show-raw-insn +#name: MIPS ELF NewABI jal +#as: -n32 -KPIC -xgot + +.*: +file format elf32-n.*mips.* + +Disassembly of section \.text: +00000000