From d62f898ae75f2fe61fb5cb63dc33e0e3af1f7e79 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 24 Aug 2020 15:12:48 +0100 Subject: [PATCH] Rename the PPC xvcvbf16sp instruction to xvcvbf16spn. --- ...ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch | 32 +++++++++++++++++++ binutils.spec | 17 +++++++--- 2 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 binutils-ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch diff --git a/binutils-ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch b/binutils-ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch new file mode 100644 index 0000000..f629071 --- /dev/null +++ b/binutils-ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch @@ -0,0 +1,32 @@ +diff -rup binutils.orig/gas/testsuite/gas/ppc/vsx4.d binutils-2.35/gas/testsuite/gas/ppc/vsx4.d +--- binutils.orig/gas/testsuite/gas/ppc/vsx4.d 2020-08-24 13:52:14.230454823 +0100 ++++ binutils-2.35/gas/testsuite/gas/ppc/vsx4.d 2020-08-24 13:54:15.331718297 +0100 +@@ -7,6 +7,6 @@ + Disassembly of section \.text: + + 0+0 : +-.*: (f0 50 6f 6f|6f 6f 50 f0) xvcvbf16sp vs34,vs45 ++.*: (f0 50 6f 6f|6f 6f 50 f0) xvcvbf16spn vs34,vs45 + .*: (f1 f1 27 6f|6f 27 f1 f1) xvcvspbf16 vs47,vs36 + #pass +diff -rup binutils.orig/gas/testsuite/gas/ppc/vsx4.s binutils-2.35/gas/testsuite/gas/ppc/vsx4.s +--- binutils.orig/gas/testsuite/gas/ppc/vsx4.s 2020-08-24 13:52:14.230454823 +0100 ++++ binutils-2.35/gas/testsuite/gas/ppc/vsx4.s 2020-08-24 13:54:27.779642594 +0100 +@@ -1,4 +1,4 @@ + .text + vsx4: +- xvcvbf16sp 34,45 ++ xvcvbf16spn 34,45 + xvcvspbf16 47,36 +diff -rup binutils.orig/opcodes/ppc-opc.c binutils-2.35/opcodes/ppc-opc.c +--- binutils.orig/opcodes/ppc-opc.c 2020-08-24 13:52:13.709457991 +0100 ++++ binutils-2.35/opcodes/ppc-opc.c 2020-08-24 13:53:46.810891761 +0100 +@@ -8306,7 +8306,7 @@ const struct powerpc_opcode powerpc_opco + {"xvxexpsp", XX2VA(60,475,8),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}}, + {"xvxsigsp", XX2VA(60,475,9),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}}, + {"xxbrw", XX2VA(60,475,15),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}}, +-{"xvcvbf16sp", XX2VA(60,475,16),XX2_MASK, PPCVSX4, PPCVLE, {XT6, XB6}}, ++{"xvcvbf16spn", XX2VA(60,475,16),XX2_MASK, PPCVSX4, PPCVLE, {XT6, XB6}}, + {"xvcvspbf16", XX2VA(60,475,17),XX2_MASK, PPCVSX4, PPCVLE, {XT6, XB6}}, + {"xxbrd", XX2VA(60,475,23),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}}, + {"xvcvhpsp", XX2VA(60,475,24),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}}, diff --git a/binutils.spec b/binutils.spec index 09318e6..4c20fcf 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: 10%{?dist} +Release: 11%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -185,21 +185,21 @@ Patch09: binutils-do-not-link-with-static-libstdc++.patch Patch10: binutils-attach-to-group.patch # Purpose: Allow OS specific sections in section groups. -# Lifetime: Fixed in 2.35 (maybe) +# Lifetime: Fixed in 2.36 (maybe) Patch12: binutils-special-sections-in-groups.patch # Purpose: Fix linker testsuite failures. -# Lifetime: Fixed in 2.35 (maybe) +# Lifetime: Fixed in 2.36 (maybe) Patch13: binutils-fix-testsuite-failures.patch # Purpose: Stop gold from aborting when input sections with the same name # have different flags. -# Lifetime: Fixed in 2.35 (maybe) +# Lifetime: Fixed in 2.36 (maybe) Patch14: binutils-gold-mismatched-section-flags.patch # Purpose: Add a check to the GOLD linker for a corrupt input file # with a fuzzed section offset. -# Lifetime: Fixed in 2.35 (maybe) +# Lifetime: Fixed in 2.36 (maybe) Patch15: binutils-CVE-2019-1010204.patch # Purpose: Change the gold configuration script to only warn about @@ -237,6 +237,10 @@ Patch24: binutils-aarch64-plt-sh_entsize.patch Patch25: binutils-add-sym-cache-to-elf-link-hash.patch Patch26: binutils-elf-add-objects.patch +# Purpose: Rename the PPC xvcvbf16sp instruction to xvcvbf16spn +# Lifetime: Fixed in 2.36 +Patch27: binutils-ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch + #---------------------------------------------------------------------------- Provides: bundled(libiberty) @@ -810,6 +814,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Mon Aug 24 2020 Nick Clifton - 2.35-11 +- Rename the PPC xvcvbf16sp instruction to xvcvbf16spn. + * Fri Jul 31 2020 Jeff Law - 2.35-10 - Re-enable LTO