This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Broken .loc directive in GAS
Alan Modra told me that:
I don't see any problem with current gcc-3.3 and mainline, and an older
gcc-3.3. Current mainline gives:
Hmm, strange. I can see the same (broken) output on RedHat 9 with
gcc-3.2.2 and binutils 2.13.90.0.18 20030206 as well. I'll look on it
more on monday.
This comes from RedHat 9:
The File Name Table:
Entry Dir Time Size Name
1 1 0 0 temp.cc
Line Number Statements:
Extended opcode 2: set Address to 0x80483a6
Special opcode 13: advance Address by 0 to 0x80483a6 and Line by 8 to 9
Special opcode 47: advance Address by 3 to 0x80483a9 and Line by 0 to 9
Advance PC by 3 to 80483ac
Extended opcode 1: End of Sequence
Extended opcode 2: set Address to 0x80483a0
Special opcode 13: advance Address by 0 to 0x80483a0 and Line by 8 to 9
Special opcode 47: advance Address by 3 to 0x80483a3 and Line by 0 to 9
Advance PC by 3 to 80483a6
Extended opcode 1: End of Sequence
Extended opcode 2: set Address to 0x8048344
Advance Line by 16 to 17
[...]
Special opcode 89: advance Address by 6 to 0x804838c and Line by 0 to 13
Advance PC by 22 to 80483a2
Extended opcode 1: End of Sequence
Again - last sequence overlaps the beginning of the second one... Could
anyone with RedHat 9 confirm this please? Or is it only an annomaly of
this office?
Michal Ludvig
--
* SuSE CR, s.r.o * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz