forked from Imagelibrary/binutils-gdb
Add support for --dwarf-[3|4|5] to assembler command line.
PR 25612 * as.c (dwarf_level): Define. (show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5. (parse_args): Add support for the new options. as.h (dwarf_level): Prototype. * dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version value. * config/tc-ia64.h (DWARF2_VERISION): Update definition. (DWARF2_LINE_VERSION): Remove definition. * doc/as.texi: Document the new options.
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef DWARF2_VERSION
|
||||
#define DWARF2_VERSION 2
|
||||
#define DWARF2_VERSION dwarf_level
|
||||
#endif
|
||||
|
||||
/* The .debug_aranges version has been 2 in DWARF version 2, 3 and 4. */
|
||||
|
||||
Reference in New Issue
Block a user