diff options
author | Mark Wielaard <mjw@redhat.com> | 2012-04-30 14:32:28 +0000 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2012-04-30 14:32:28 +0000 |
commit | 88ebb0a1567bdc11a39c466735d5fd145f326c1b (patch) | |
tree | 7f8af837536e570ffdf4d2d271047eafbb87c0a5 /gas/ChangeLog | |
parent | 45162986de31c02d5100f87195b1fa97357f815a (diff) | |
download | gdb-88ebb0a1567bdc11a39c466735d5fd145f326c1b.zip gdb-88ebb0a1567bdc11a39c466735d5fd145f326c1b.tar.gz gdb-88ebb0a1567bdc11a39c466735d5fd145f326c1b.tar.bz2 |
gas: Make dwarf2dbg.c versions specific and add DW_AT_high_pc case for DWARF 4+.
* 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.
* config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 5eee5d3..7e64233 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,15 @@ +2012-04-26 Mark Wielaard <mjw@redhat.com> + + * 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. + * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it. + 2012-04-27 David S. Miller <davem@davemloft.net> * doc/c-sparc.text: Document %l34 and %h34. |