diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-03-31 08:02:41 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-03-31 08:02:41 +0000 |
commit | fc0eebac62d01dc69d81829c0b05622ec1922cf0 (patch) | |
tree | f41ab95e39c875768f0d977330b87da9eb209819 /gas/config | |
parent | 00e98fc7596ff93e1b30d012cecdf7f3025eaea1 (diff) | |
download | gdb-fc0eebac62d01dc69d81829c0b05622ec1922cf0.zip gdb-fc0eebac62d01dc69d81829c0b05622ec1922cf0.tar.gz gdb-fc0eebac62d01dc69d81829c0b05622ec1922cf0.tar.bz2 |
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')
-rw-r--r-- | gas/config/tc-ia64.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h index 1f5771c..96618e9 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 |