From 722dceebdb4eba17f48aed36d593e042d8f792f9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 30 Jul 2020 14:05:32 +0100 Subject: [PATCH] Fix assembler to default to DWARF level 3 --- binutils-gas-dwarf-level-4.patch | 2 +- binutils.spec | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/binutils-gas-dwarf-level-4.patch b/binutils-gas-dwarf-level-4.patch index a8432f8..acdaaf4 100644 --- a/binutils-gas-dwarf-level-4.patch +++ b/binutils-gas-dwarf-level-4.patch @@ -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; diff --git a/binutils.spec b/binutils.spec index 0214390..1a56f87 100644 --- a/binutils.spec +++ b/binutils.spec @@ -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 - 2.35-4 -- Default to DWARF level 4 in the assembler. +* Thu Jul 30 2020 Nick Clifton - 2.35-5 +- Default to DWARF level 3 in the assembler. * Mon Jul 27 2020 Fedora Release Engineering - 2.35-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild