!275 [sync] PR-273: add ppc64le support to fix error about gold

From: @openeuler-sync-bot 
Reviewed-by: @eastb233 
Signed-off-by: @eastb233
This commit is contained in:
openeuler-ci-bot 2024-03-21 11:31:57 +00:00 committed by Gitee
commit 46971c5d22
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug}
Version: 2.41
Release: 3
Release: 4
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils
@ -677,10 +677,10 @@ run_target_configuration()
TARGS="--enable-targets=ia64-linux,x86_64-pep"
;;
ppc64-*)
TARGS="--enable-targets=powerpc64le-linux,spu,x86_64-pep"
TARGS="--enable-targets=powerpc64le-linux,x86_64-pep"
;;
ppc64le*)
TARGS="--enable-targets=powerpc-linux,spu,x86_64-pep"
TARGS="--enable-targets=powerpc-linux,x86_64-pep"
;;
*)
TARGS="--enable-targets=x86_64-pep"
@ -1266,6 +1266,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Wed Mar 13 2024 peng.zou <peng.zou@shingroup.cn> - 2.41-4
- add ppc64le support to fix error about gold
* Wed Mar 6 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.41-3
- LoongArch: sync patch from binutils upstream
- LoongArch: Modify inconsistent behavior of ld with --unresolved-symbols=ignore-all