This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gas dwarf2 assert failure for misaligned sections?


On Tue, 26 Nov 2002, DJ Delorie wrote:

> > 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?

> *************** out_set_addr (seg, frag, ofs)
> *** 596,601 ****
> --- 597,623 ----
> + 	as_bad("unaligned opcodes detected in executable segment");

Space before (.

brgds, H-P



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]