This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/3] gas: Make dwarf2dbg.c versions specific and add DW_AT_high_pc case for DWARF 4+.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Mark Wielaard <mjw at redhat dot com>
- Cc: binutils at sourceware dot org, Alan Modra <amodra at bigpond dot net dot au>, Nick Clifton <nickc at redhat dot com>, Richard Henderson <rth at redhat dot com>, Tom Tromey <tromey at redhat dot com>, Tristan Gingold <gingold at adacore dot com>
- Date: Fri, 27 Apr 2012 14:32:31 +0200
- Subject: Re: [PATCH 2/3] gas: Make dwarf2dbg.c versions specific and add DW_AT_high_pc case for DWARF 4+.
- References: <1335528921-11582-1-git-send-email-mjw@redhat.com> <1335528921-11582-3-git-send-email-mjw@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Apr 27, 2012 at 02:15:20PM +0200, Mark Wielaard wrote:
> * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
> (DWARF2_LINE_VERSION): Likewise.
> (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
> (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
> (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
> DWARF2_VERSION >= 4.
> (out_debug_info): Use difference between start and end as data
> value for DW_AT_high_pc when DWARF2_VERSION >= 4.
Ok, thanks.
Jakub