Add support for --dwarf-[3|4|5] to assembler command line.
authorNick Clifton <nickc@redhat.com>
Fri, 6 Mar 2020 14:52:14 +0000 (14:52 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 6 Mar 2020 14:52:14 +0000 (14:52 +0000)
commit31bf18645d98b4d3d7357353be840e320649a67d
tree19e76bea23da3a56de6a64b949a4a8f3cd810fbd
parent09f2921cc95466db159cbf0476e1a8eeeee1806b
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.
gas/ChangeLog
gas/as.c
gas/as.h
gas/config/tc-ia64.h
gas/doc/as.texi
gas/dwarf2dbg.c