Fix assembler to default to DWARF level 3

This commit is contained in:
Nick Clifton 2020-07-30 14:05:32 +01:00
parent a8b0efde87
commit 722dceebdb
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.35
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv3+
URL: https://sourceware.org/binutils
@ -224,7 +224,7 @@ Patch21: binutils-warnings.patch
# Lifetime: Should be fixed in 2.36.
Patch22: binutils-gcc-10-fixes.patch
# Purpose: Default to DWARF level 4 in the assembler.
# Purpose: Default to DWARF level 3 in the assembler.
# Lifetime: Fixed in 2.36.
Patch23: binutils-gas-dwarf-level-4.patch
#----------------------------------------------------------------------------
@ -805,8 +805,8 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Thu Jul 30 2020 Nick Clifton <nickc@redhat.com> - 2.35-4
- Default to DWARF level 4 in the assembler.
* Thu Jul 30 2020 Nick Clifton <nickc@redhat.com> - 2.35-5
- Default to DWARF level 3 in the assembler.
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.35-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild