This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: gas dwarf2 assert failure for misaligned sections?
On Tue, Nov 26, 2002 at 04:18:19PM -0500, DJ Delorie wrote:
> * dwarf2dbg.c (scale_addr_delta): New.
> (size_inc_line_addr): Use it.
> (emit_inc_line_addr): Use it.
OK, except that the following subtraction isn't necessary.
> + /* This just lets us continue processing, to catch other errors
> + and such. */
> + *addr_delta -= *addr_delta % DWARF2_LINE_MIN_INSN_LENGTH;
--
Alan Modra
IBM OzLabs - Linux Technology Centre