gas dwarf2 assert failure for misaligned sections?

DJ Delorie dj@redhat.com
Tue Dec 3 17:47:00 GMT 2002


> > > I guess we should be emitting a normal error here rather than using
> > > an assert.
> >
> > I tried to get the right file/line info, but by the time we're
> > encoding dwarf2 info (esp wrt relaxing the dwarf2 frags), we've lost
> > track of where the error really occurred.
> 
> Correct line and file info should be in the frag being
> processed.  Passing it or the frag through to out_inc_line_addr
> to emit_inc_line_addr and doesn't help?

I tried implementing this, but the frags were all empty (i.e.  both
fr_file and fr_line were zero).

Is it worth going further, and finding out where those frags are
generated and fill them in?



More information about the Binutils mailing list