Broken .loc directive in GAS

Richard Henderson rth@redhat.com
Thu Jul 10 16:52:00 GMT 2003


On Thu, Jul 10, 2003 at 05:36:08PM +0200, Michal Ludvig wrote:
> What I don't understand are the last two lines in .text section, i.e.
>   Advance PC by 20 to 52
>   Extended opcode 1: End of Sequence
> 
> How does the GAS know it should advance the PC by 20? It probably
> ment something like "Advance PC to the end of the section".

Yes.

> Offset 0x52 points 2 bytes beyond the end of the section ...

Well, that would be a bug, certainly.  Test case?


r~



More information about the Binutils mailing list