Correct warning messages about incompatible PowerPC IEEE long double settings.

This commit is contained in:
Nick Clifton 2018-06-12 17:52:29 +01:00
parent f82df77850
commit 24eecafa20
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,17 @@
--- binutils.orig/bfd/elf32-ppc.c 2018-06-12 17:35:40.931551297 +0100
+++ binutils-2.30/bfd/elf32-ppc.c 2018-06-12 17:37:22.252441292 +0100
@@ -4677,12 +4677,12 @@ _bfd_elf_ppc_merge_fp_attributes (bfd *i
_bfd_error_handler
/* xgettext:c-format */
(_("Warning: %B uses IBM long double, "
- "%B uses IEEE long double"), ibfd, obfd);
+ "%B uses IEEE long double"), obfd, ibfd);
else if (out_fp == 3 * 4 && in_fp == 1 * 4)
_bfd_error_handler
/* xgettext:c-format */
(_("Warning: %B uses IBM long double, "
- "%B uses IEEE long double"), obfd, ibfd);
+ "%B uses IEEE long double"), ibfd, obfd);
}
}

View File

@ -69,7 +69,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug} Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.30 Version: 2.30
Release: 22%{?dist} Release: 23%{?dist}
License: GPLv3+ License: GPLv3+
Group: Development/Tools Group: Development/Tools
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -288,6 +288,11 @@ Patch36: binutils-x86-local-version.patch
# Lifetime: Fixed in 2.31 (probably) # Lifetime: Fixed in 2.31 (probably)
Patch37: binutils-fix-testsuite-failures.patch Patch37: binutils-fix-testsuite-failures.patch
# Purpose: Correct warning messages about incompatible PowerPC IEEE
# long double sizes in different binaries.
# Lifetime: Fixed in 2.31.
Patch38: binutils-PowerPC-IEEE-long-double-warnings.patch
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
Provides: bundled(libiberty) Provides: bundled(libiberty)
@ -450,6 +455,7 @@ using libelf instead of BFD.
%patch35 -p1 %patch35 -p1
%patch36 -p1 %patch36 -p1
%patch37 -p1 %patch37 -p1
%patch38 -p1
# We cannot run autotools as there is an exact requirement of autoconf-2.59. # We cannot run autotools as there is an exact requirement of autoconf-2.59.
@ -863,6 +869,9 @@ exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%changelog %changelog
* Tue Jun 12 2018 Nick Clifton <nickc@redhat.com> 2.30-23
- Correct warning messages about incompatible PowerPC IEEE long double settings.
* Fri Jun 01 2018 Nick Clifton <nickc@redhat.com> 2.30-22 * Fri Jun 01 2018 Nick Clifton <nickc@redhat.com> 2.30-22
- Fix handling of local versioned symbols by the x86 linker. (PR 23194) - Fix handling of local versioned symbols by the x86 linker. (PR 23194)
- Fix linker testsuite failures. - Fix linker testsuite failures.