This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] MIPS/gas: Fix numbers output by sprintf_vma ()
- From: Thiemo Seufer <ths at networkno dot de>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 28 May 2005 23:47:54 +0200
- Subject: Re: [PATCH] MIPS/gas: Fix numbers output by sprintf_vma ()
- References: <Pine.LNX.4.61L.0505232140160.4541@blysk.ds.pg.gda.pl>
Maciej W. Rozycki wrote:
> Hello,
>
> I've recently run the test suite for mipsel-linux-gnu and I've discovered
> upon the update to use sprintf_vma() strings used for outputting numbers
> haven't been updated to produce valid hexadecimals numbers and test cases
> haven't been modified to expect more leading zeroes.
>
> Here's a fix. Tested natively for mipsel-linux-gnu.
>
> gas/:
> 2005-05-23 Maciej W. Rozycki <macro@linux-mips.org>
>
> * config/tc-mips.c (load_register): Add leading "0x" to the
> output of sprintf_vma().
> (macro): Likewise.
>
> gas/testsuite/:
> 2005-05-23 Maciej W. Rozycki <macro@linux-mips.org>
>
> * gas/mips/ldstla-32-1.l: Update to handle leading zeroes.
> * gas/mips/ldstla-32-mips3-1.l: Likewise.
>
> OK to apply? For 2.16? -- since it's a regression.
Ok for trunk.
Thiemo