[PATCH 2/3] gas: Make dwarf2dbg.c versions specific and add DW_AT_high_pc case for DWARF 4+.

Jakub Jelinek jakub@redhat.com
Fri Apr 27 12:40:00 GMT 2012


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



More information about the Binutils mailing list