[PATCH] handle large deltas with DWARF fixed_advance_pc
Alan Modra
amodra@bigpond.net.au
Thu Jan 10 09:20:00 GMT 2008
On Mon, Jan 07, 2008 at 03:56:45PM -0800, Bob Wilson wrote:
> gas/
> * dwarf2dbg.c (out_sleb128): Delete.
> (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
> (out_fixed_inc_line_addr): Delete.
> (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
> size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
> (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
> (process_entries): Remove calls to out_fixed_inc_line_addr. When
> DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
> * read.h (emit_expr_fix): New prototype.
> * read.c (emit_expr): Move code to emit_expr_fix and use it here.
> (emit_expr_fix): New.
>
> testsuite/
> * gas/lns/lns.exp: Run new lns-big-delta test for targets that set
> DWARF2_USE_FIXED_ADVANCE_PC.
> * gas/lns/lns-big-delta.s: New.
> * gas/lns/lns-big-delta.d: New.
OK.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list