diff options
author | Nick Clifton <nickc@redhat.com> | 2020-03-06 14:52:14 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-06 14:52:14 +0000 |
commit | 31bf18645d98b4d3d7357353be840e320649a67d (patch) | |
tree | 19e76bea23da3a56de6a64b949a4a8f3cd810fbd /gas/doc/as.texi | |
parent | 09f2921cc95466db159cbf0476e1a8eeeee1806b (diff) | |
download | binutils-31bf18645d98b4d3d7357353be840e320649a67d.zip binutils-31bf18645d98b4d3d7357353be840e320649a67d.tar.gz binutils-31bf18645d98b4d3d7357353be840e320649a67d.tar.bz2 |
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.
Diffstat (limited to 'gas/doc/as.texi')
-rw-r--r-- | gas/doc/as.texi | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi index e97042c..ff0ef63 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -230,7 +230,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. [@b{--compress-debug-sections}] [@b{--nocompress-debug-sections}] [@b{--debug-prefix-map} @var{old}=@var{new}] [@b{--defsym} @var{sym}=@var{val}] [@b{-f}] [@b{-g}] [@b{--gstabs}] - [@b{--gstabs+}] [@b{--gdwarf-2}] [@b{--gdwarf-sections}] + [@b{--gstabs+}] [@b{--gdwarf-<N>}] [@b{--gdwarf-sections}] [@b{--gdwarf-cie-version}=@var{VERSION}] [@b{--help}] [@b{-I} @var{dir}] [@b{-J}] [@b{-K}] [@b{-L}] [@b{--listing-lhs-width}=@var{NUM}] @@ -763,6 +763,27 @@ Generate DWARF2 debugging information for each assembler line. This may help debugging assembler code, if the debugger can handle it. Note---this option is only supported by some targets, not all of them. +@item --gdwarf-3 +This option is the same as the @option{--gdwarf-2} option, except that it +allows for the possibility of the generation of extra debug information as per +version 3 of the DWARF specification. Note - enabling this option does not +guarantee the generation of any extra infortmation, the choice to do so is on a +per target basis. + +@item --gdwarf-4 +This option is the same as the @option{--gdwarf-2} option, except that it +allows for the possibility of the generation of extra debug information as per +version 4 of the DWARF specification. Note - enabling this option does not +guarantee the generation of any extra infortmation, the choice to do so is on a +per target basis. + +@item --gdwarf-5 +This option is the same as the @option{--gdwarf-2} option, except that it +allows for the possibility of the generation of extra debug information as per +version 4 of the DWARF specification. Note - enabling this option does not +guarantee the generation of any extra infortmation, the choice to do so is on a +per target basis. + @item --gdwarf-sections Instead of creating a .debug_line section, create a series of .debug_line.@var{foo} sections where @var{foo} is the name of the |