This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR gas/10531: Strange assembler warning message on section group
On Wed, 2009-08-19 at 18:20 -0700, H.J. Lu wrote:
> I didn't see the problem with my icc, using the patched
> assembler. Can you provide main.s compiled by your icc?
I tried your patch. Gas isn't emitting a spurious warning anymore, but
it is still emitting bogus debug info, which is what I expected.
To see the problem, just put a breakpoint in the function
out_debug_line. You will see that we hit the breakpoint, even though we
should not, because the input assembly file already has a fully
populated debug_line section.
You patch is doing something useful; it is making sure that gas picks up
up the correct (non-comdat) debug_line section. But it doesn't stop gas
from emitting the bogus debug info.
Jim