add ppc64le support to fix error about gold

(cherry picked from commit 7a11df05671a57df8eda7e49b361e3974a8c721e)
This commit is contained in:
邹鹏 2024-03-13 11:22:08 +08:00 committed by openeuler-sync-bot
parent 0f3b287f05
commit 2d13f70c94

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug} Name: binutils%{?_with_debug:-debug}
Version: 2.41 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 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 URL: https://sourceware.org/binutils
@ -677,10 +677,10 @@ run_target_configuration()
TARGS="--enable-targets=ia64-linux,x86_64-pep" TARGS="--enable-targets=ia64-linux,x86_64-pep"
;; ;;
ppc64-*) ppc64-*)
TARGS="--enable-targets=powerpc64le-linux,spu,x86_64-pep" TARGS="--enable-targets=powerpc64le-linux,x86_64-pep"
;; ;;
ppc64le*) ppc64le*)
TARGS="--enable-targets=powerpc-linux,spu,x86_64-pep" TARGS="--enable-targets=powerpc-linux,x86_64-pep"
;; ;;
*) *)
TARGS="--enable-targets=x86_64-pep" TARGS="--enable-targets=x86_64-pep"
@ -1266,6 +1266,9 @@ exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%changelog %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 * Wed Mar 6 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.41-3
- LoongArch: sync patch from binutils upstream - LoongArch: sync patch from binutils upstream
- LoongArch: Modify inconsistent behavior of ld with --unresolved-symbols=ignore-all - LoongArch: Modify inconsistent behavior of ld with --unresolved-symbols=ignore-all