bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in gas-2.12/i386 with -a


From: Alan Modra
Subject: Re: Bug in gas-2.12/i386 with -a
Date: Thu, 6 Jun 2002 20:43:53 +0930
User-agent: Mutt/1.3.25i

On Thu, Jun 06, 2002 at 10:45:28AM +0200, Urs Thuermann wrote:
> Alan Modra <address@hidden> writes:
> 
> > On Sun, May 26, 2002 at 05:34:00PM +0200, Urs Thuermann wrote:
> > > GAS from binutils-2.12 assembles differently depending on wether the
> > > -a option is given or not.
> > 
> > Yes, this is a known problem.  A general solution requires a rewrite
> > of the gas listing code.
> 
> Is that rewrite planned for the nearer future?

Not as far as I know.

> How complex would that be?

Well, the current scheme uses the gas frag structure to store the
source lines as well as the generated code.  The problem is that each
line generates a new frag, and breaking up the generated code
occasionally turns off some optimisations.  You'd need a scheme that
stored multiple source lines within one frag.  Shouldn't be too hard.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]