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

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

Re: gas listing option changes the size of the .eh_frame section


From: Alan Modra
Subject: Re: gas listing option changes the size of the .eh_frame section
Date: Sun, 17 Feb 2002 16:23:33 +1030
User-agent: Mutt/1.3.25i

On Sun, Feb 17, 2002 at 02:26:09AM +0000, Richard Sharman wrote:
> Why does the gas listing option change the size of the .eh_frame section?

Probably because turning on listings puts each line of code in a
separate frag (*) and some expression involving symbols can't be
reduced.  This will disable some eh_frame optimizations (which
didn't happen at all in 2.9.5).

(*) A frag is a fragment of code with a fixed part and possibly a
variable tail.  Used for branch relaxation, .space directives and
any other construct that might cause code size to change.  Since
frags can resize, expressions involving subtraction of two symbols
in the same section but different frags can't be resolved until
late in the assembly process.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



reply via email to

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