aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2012-04-30 14:32:28 +0000
committerMark Wielaard <mjw@redhat.com>2012-04-30 14:32:28 +0000
commit88ebb0a1567bdc11a39c466735d5fd145f326c1b (patch)
tree7f8af837536e570ffdf4d2d271047eafbb87c0a5 /gas/config
parent45162986de31c02d5100f87195b1fa97357f815a (diff)
downloadgdb-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/config')
-rw-r--r--gas/config/tc-ia64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h
index 96618e9..7cade49 100644
--- a/gas/config/tc-ia64.h
+++ b/gas/config/tc-ia64.h
@@ -327,4 +327,5 @@ typedef struct unwind_record
/* VMS backtraces expect dwarf version 3. */
#ifdef TE_VMS
#define DWARF2_VERSION 3
+#define DWARF2_LINE_VERSION 3
#endif