Broken GAS DWARF tests

Nick Clifton nickc@redhat.com
Thu Jul 30 14:02:15 GMT 2020


Hi Guys.

>   Of course it broke a couple of the assembler tests.  So now I am actually testing
>   a local fix before checking that in.  My apologese for any inconvenience this
>   oversight has caused.

Ok, I have checked in the patch below to fix my snafu.

Cheers
  Nick

gas/ChangeLog
2020-07-30  Nick Clifton  <nickc@redhat.com>

	* as.c (dwatf_level): Default to level 3 in case version is not
	set on the command line.

diff --git a/gas/as.c b/gas/as.c
index c2da78870e..e4cf1364cb 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -102,8 +102,9 @@ int verbose = 0;
    MD_AFTER_PARSE_ARGS.  */
 int flag_dwarf_cie_version = -1;
 
-/* The maximum level of DWARF DEBUG information we should manufacture.  */
-unsigned int dwarf_level = 4;
+/* The maximum level of DWARF DEBUG information we should manufacture.
+   The default is 3 unless changes by a command line option.  */
+unsigned int dwarf_level = 3;
 
 #if defined OBJ_ELF || defined OBJ_MAYBE_ELF
 int flag_use_elf_stt_common = DEFAULT_GENERATE_ELF_STT_COMMON;



More information about the Binutils mailing list