summaryrefslogtreecommitdiff
path: root/gas/config/tc-ia64.h
diff options
context:
space:
mode:
authormark <mark>2012-04-30 14:32:28 +0000
committermark <mark>2012-04-30 14:32:28 +0000
commitd090ea369c49cf89ecb11801d1262c09f59baf96 (patch)
treefdcaa6a9f41357eeb0cb08f397938eef3a5d1f1a /gas/config/tc-ia64.h
parenta836f2f67f425814ffeed021dcc28be3c9c250e5 (diff)
downloadbinutils-redhat-d090ea369c49cf89ecb11801d1262c09f59baf96.tar.gz
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/tc-ia64.h')
-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 96618e9ab7..7cade49621 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