From 0eaf858fb486e936a43a5661374c965a4d09215f Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Feb 02 2021 18:21:03 +0000 Subject: fix --format=avr option (#1907907) --- diff --git a/30-binutils-2.20.1-avr-size.patch b/30-binutils-2.20.1-avr-size.patch index 66210ed..d0c0d60 100644 --- a/30-binutils-2.20.1-avr-size.patch +++ b/30-binutils-2.20.1-avr-size.patch @@ -297,8 +297,8 @@ diff -up avr-binutils-2.35/binutils-2.35/binutils/size.c.avr-size avr-binutils-2 case 's': selected_output_format = FORMAT_SYSV; break; -+ case 'C': -+ case 'c': ++ case 'A': ++ case 'a': + selected_output_format = FORMAT_AVR; + break; case 'G': diff --git a/avr-binutils.spec b/avr-binutils.spec index 86ae94f..404106e 100644 --- a/avr-binutils.spec +++ b/avr-binutils.spec @@ -2,7 +2,7 @@ Name: %{target}-binutils Version: 2.35 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Summary: Cross Compiling GNU binutils targeted at %{target} License: GPLv2+ @@ -81,6 +81,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/libiberty.a ||: %changelog +* Tue Feb 02 2021 Michal Hlavinka - 1:2.35-3 +- fix --format=avr option (#1907907) + * Tue Jan 26 2021 Fedora Release Engineering - 1:2.35-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild