!25 Add support for ppc64le
From: @peng_zou Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
2e2dee8661
34
add-support-for-ppc64le.patch
Normal file
34
add-support-for-ppc64le.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From b6b3e5b35230685480c72981a3988219cc6cc821 Mon Sep 17 00:00:00 2001
|
||||
From: "peng.zou" <peng.zou@shingroup.cn>
|
||||
Date: Thu, 1 Feb 2024 15:03:12 +0800
|
||||
Subject: [PATCH] add-support-for-ppc64le
|
||||
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index bc58d81..fd3457c 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -45,7 +45,7 @@ case "${host_cpu}" in
|
||||
cris*) HOST_CPU="cris" ;;
|
||||
loongarch*) HOST_CPU="loongarch" ;;
|
||||
mips*) HOST_CPU="mips" ;;
|
||||
- powerpc|powerpc64) HOST_CPU="ppc" ;;
|
||||
+ powerpc|powerpc64*) HOST_CPU="ppc" ;;
|
||||
sun4u|sparc64) HOST_CPU="sparc" ;;
|
||||
s390x) HOST_CPU="s390" ;;
|
||||
i?86|x86_64) HOST_CPU="x86" ;;
|
||||
@@ -215,7 +215,7 @@ if test x"$enable_libunwind" = xyes; then
|
||||
arm*|sa110) UNWIND_ARCH="arm" ;;
|
||||
i?86) UNWIND_ARCH="x86" ;;
|
||||
powerpc) UNWIND_ARCH="ppc32" ;;
|
||||
- powerpc64) UNWIND_ARCH="ppc64" ;;
|
||||
+ powerpc64*) UNWIND_ARCH="ppc64" ;;
|
||||
mips*) UNWIND_ARCH="mips" ;;
|
||||
loongarch*) UNWIND_ARCH="loongarch" ;;
|
||||
*) UNWIND_ARCH="${host_cpu}" ;;
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
name: ltrace
|
||||
Version: 0.7.91
|
||||
Release: 32
|
||||
Release: 33
|
||||
Summary: Trace the Library and System Calls a Program Makes
|
||||
|
||||
License: GPLv2+
|
||||
@ -34,6 +34,7 @@ Patch9005: add-loongarch-support-not-upstream-makefile.patch
|
||||
Patch9006: add-loongarch-support-not-upstream-sysdeps.patch
|
||||
Patch9007: add-sw_64-support-not-upstream-makefile.patch
|
||||
Patch9008: add-sw_64-support-not-upstream-sysdeps.patch
|
||||
Patch9009: add-support-for-ppc64le.patch
|
||||
|
||||
BuildRequires: elfutils-devel dejagnu libselinux-devel autoconf automake libtool
|
||||
|
||||
@ -83,6 +84,9 @@ autoreconf -i
|
||||
%{_mandir}/man5/ltrace.conf.5*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 1 2024 peng.zou <peng.zou@shingroup.cn> - 0.7.91-33
|
||||
- Add support for ppc64le
|
||||
|
||||
* Tue Aug 29 2023 herengui <herengui@kylinsec.com.cn> - 0.7.91-32
|
||||
- add support for loongarch64 and sw_64
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user