summaryrefslogtreecommitdiff
path: root/gas/config/tc-ia64.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-03-31 08:02:40 +0000
committerTristan Gingold <gingold@adacore.com>2011-03-31 08:02:40 +0000
commit68c4ae7152e52372811b0e71cc0aa83199c9257b (patch)
treef2c7c751ca04b063c1ac364db936e72e979fc25c /gas/config/tc-ia64.h
parentb895e9dea92c3e46124d5e7eda5b7df689785493 (diff)
downloadbinutils-redhat-68c4ae7152e52372811b0e71cc0aa83199c9257b.tar.gz
2011-03-31 Tristan Gingold <gingold@adacore.com>
* dwarf2dbg.c (DWARF2_VERSION): Define. (out_debug_line): Use it. (out_debug_aranges): Ditto. (out_debug_info): Ditto. * config/tc-ia64.h (DWARF2_VERSION): Override it.
Diffstat (limited to 'gas/config/tc-ia64.h')
-rw-r--r--gas/config/tc-ia64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h
index 1f5771c507..96618e9ab7 100644
--- a/gas/config/tc-ia64.h
+++ b/gas/config/tc-ia64.h
@@ -323,3 +323,8 @@ typedef struct unwind_record
&& (!(FIX)->fx_pcrel \
|| (FIX)->fx_r_type == BFD_RELOC_IA64_PLTOFF22 \
|| TC_FORCE_RELOCATION (FIX)))
+
+/* VMS backtraces expect dwarf version 3. */
+#ifdef TE_VMS
+#define DWARF2_VERSION 3
+#endif