Prevent the generation of DWARF level 0 line number tables...

* as.c (dwarf_level): Initialise to 4 in case this is not set on
	the command line.
This commit is contained in:
Nick Clifton 2020-07-30 08:39:14 +01:00
parent 5a99adb860
commit 4d8ee86073
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2020-07-30 Nick Clifton <nickc@redhat.com>
* as.c (dwarf_level): Initialise to 4 in case this is not set on
the command line.
2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
* testsuite/gas/mips/global-local-symtab-sort-o32.d: New test.

View file

@ -103,7 +103,7 @@ int verbose = 0;
int flag_dwarf_cie_version = -1;
/* The maximum level of DWARF DEBUG information we should manufacture. */
unsigned int dwarf_level = 0;
unsigned int dwarf_level = 4;
#if defined OBJ_ELF || defined OBJ_MAYBE_ELF
int flag_use_elf_stt_common = DEFAULT_GENERATE_ELF_STT_COMMON;