This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] handle large deltas with DWARF fixed_advance_pc
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Bob Wilson <bwilson at tensilica dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 9 Jan 2008 16:08:19 +1030
- Subject: Re: [PATCH] handle large deltas with DWARF fixed_advance_pc
- References: <4782BC3D.1010807@tensilica.com>
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