add sw_64 support

(cherry picked from commit c6b1e574d3a6cbc3f8d1979cbb88870c7748746e)
This commit is contained in:
Hailiang 2025-03-12 16:02:41 +08:00 committed by openeuler-sync-bot
parent 2a2d350ac0
commit d5ca0a321e
2 changed files with 1288 additions and 2 deletions

1267
add-sw_64-support.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
# -*- rpm-spec from http://elfutils.org/ -*-
Name: elfutils
Version: 0.190
Release: 8
Release: 9
Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
URL: http://elfutils.org/
License: GPLv3+ and (GPLv2+ or LGPLv3+)
@ -11,6 +11,8 @@ Patch0: Fix-segfault-in-eu-ar-m.patch
Patch1: Fix-issue-of-moving-files-by-ar-or-br.patch
Patch2: CVE-2024-25260.patch
Patch3: Backport-fix-handling-of-corefiles-with-non-contiguous-segments.patch
Patch4: add-sw_64-support.patch
Patch6000: backport-CVE-2025-1352.patch
Patch6001: backport-CVE-2025-1365.patch
Patch6002: backport-CVE-2025-1371.patch
@ -175,7 +177,21 @@ The ELF/DWARF file searching functions in libdwfl can query
such servers to download those files on demand.
%prep
%autosetup -n %{name}-%{version} -p1
%setup -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%ifarch sw_64
%patch4 -p1
%endif
%patch6000 -p1
%patch6001 -p1
%patch6002 -p1
%patch6003 -p1
%patch6004 -p1
%patch6005 -p1
%build
%if "%toolchain" == "clang"
@ -330,6 +346,9 @@ exit 0
%systemd_postun_with_restart debuginfod.service
%changelog
* Wed Mar 12 2025 mahailiang <mahailiang@uniontech.com> - 0.190-9
- add sw_64 support
* Sun Feb 16 2025 shixuantong <shixuantong1@huawei.com> - 0.190-8
- fix CVE-2025-1352 CVE-2025-1365 CVE-2025-1371 CVE-2025-1372 CVE-2025-1376 CVE-2025-1377