From 01ca902e2387060dcb4c9784a64cf02d0740d4d6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 9 Aug 2021 19:41:14 +0100 Subject: [PATCH] Ensure that dir[0] contains pwd in gas generated DWARF-5 directory tables. (#1966987) --- binutils.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/binutils.spec b/binutils.spec index 23a1d53..1d7ff5c 100644 --- a/binutils.spec +++ b/binutils.spec @@ -39,7 +39,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?name_cross}%{?_with_debug:-debug} Version: 2.37 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -129,6 +129,12 @@ URL: https://sourceware.org/binutils %bcond_with clang %endif +%if %{with clang} +%global toolchain clang +%else +%global toolchain gcc +%endif + %if %{with bootstrap} %undefine with_docs %undefine with_testsuite @@ -266,6 +272,11 @@ Patch16: binutils-testsuite-fixes.patch # Lifetime: Fixed in 2.38 maybe Patch17: binutils-gold-i386-gnu-property-notes.patch +# Purpose: Ensure that the 0'th entry in DWARF-5 directory tables generated +# by gas contains the current working directory. +# Lifetime: Fixed in 2.38 +Patch18: binutils-dwarf-5-dir0.patch + #---------------------------------------------------------------------------- Provides: bundled(libiberty) @@ -869,6 +880,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Mon Aug 09 2021 Nick Clifton - 2.37-4 +- Ensure that dir[0] contains pwd in gas generated DWARF-5 directory tables. (#1966987) + * Wed Jul 21 2021 Fedora Release Engineering - 2.37-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild