This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gas 2.20.1 assertion failure when .file directive empty and .stabs directive present
On Tue, Aug 31, 2010 at 09:27:09AM -0700, Raymes Khoury wrote:
> That works. But it seems to me that get_stab_string_offset should
> still return 1 rather than 0 in this case (for the first NULL value
> that gets set). This would also make the assertion correct.
No, returning 1 would be wrong. For this case, .stabstr doesn't yet
have a string stored at offset 1.
--
Alan Modra
Australia Development Lab, IBM