From d085d01b69d4a054d6ad2e347ffa9d94c57ad5c6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 30 Jul 2020 15:00:38 +0100 Subject: [PATCH] Default to DWARF level 3 in the assembler. * as.c (dwatf_level): Default to level 3 in case version is not set on the command line. --- gas/ChangeLog | 2 +- gas/as.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 355d70d8a1..cba6df5b17 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,6 +1,6 @@ 2020-07-30 Nick Clifton - * as.c (dwatf_level): Default to level 4 in case version is not + * as.c (dwatf_level): Default to level 3 in case version is not set on the command line. 2020-07-28 H.J. Lu diff --git a/gas/as.c b/gas/as.c index c2da78870e..a04e615d35 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. + This defaults to 3 unless overridden 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;