package/elfutils: bump version to 0.194

Removed patch which is included in this release.

Release notes:
https://sourceware.org/git/?p=elfutils.git;a=blob;f=NEWS;h=922a15cce7163b2bee605a26132d833dc0c29074;hb=eb7f17d5016a75c6fdb6431aff1c1804d8c290e4

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2025-10-26 11:29:25 +01:00
committed by Julien Olivain
parent 5740cfdd5c
commit 625daed19c
3 changed files with 3 additions and 56 deletions

View File

@@ -1,53 +0,0 @@
From d05241ce690018548857199bd34d7734c7164679 Mon Sep 17 00:00:00 2001
From: Serhei Makarov <serhei@serhei.io>
Date: Mon, 5 May 2025 12:08:55 -0400
Subject: [PATCH] PR32930 backends/: guard asm/perf_regs.h include
asm/perf_regs.h is an arch-specific linux include, not present on
architectures like hppa and m68k that lack perf_events support.
Only one place we need to fix; others already guard the include by
architecture, or use architecture-independent headers (e.g.
linux/perf_events.h).
* backends/libebl_PERF_FLAGS.h: Only include asm/perf_regs.h on
architectures where we use it.
Signed-off-by: Serhei Makarov <serhei@serhei.io>
Upstream: d05241ce690018548857199bd34d7734c7164679
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
backends/libebl_PERF_FLAGS.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/backends/libebl_PERF_FLAGS.h b/backends/libebl_PERF_FLAGS.h
index 2ed45f0f..51c20ea6 100644
--- a/backends/libebl_PERF_FLAGS.h
+++ b/backends/libebl_PERF_FLAGS.h
@@ -32,8 +32,12 @@
#define _LIBEBL_PERF_FLAGS_H 1
#if defined(__linux__)
+/* XXX Need to exclude __linux__ arches without perf_regs.h. */
+#if defined(__x86_64__) || defined(__i386__)
+/* || defined(other_architecture)... */
# include <asm/perf_regs.h>
#endif
+#endif
#if defined(_ASM_X86_PERF_REGS_H)
/* See the code in x86_initreg_sample.c for list of required regs and
@@ -49,8 +53,8 @@
see the code in tools/perf/util/intel-pt.c intel_pt_add_gp_regs()
and note how regs are added in the same order as the perf_regs.h enum. */
#else
-/* Since asm/perf_regs.h gives the register layout for a different arch,
- we can't unwind x86_64 frames. */
+/* Since asm/perf_regs.h is absent, or gives the register layout for a
+ different arch, we can't unwind i386 and x86_64 frames. */
#define PERF_FRAME_REGISTERS_I386 0
#define PERF_FRAME_REGISTERS_X86_64 0
#endif
--
2.50.1

View File

@@ -1,5 +1,5 @@
# From https://sourceware.org/elfutils/ftp/0.193/sha512.sum
sha512 557e328e3de0d2a69d09c15a9333f705f3233584e2c6a7d3ce855d06a12dc129e69168d6be64082803630397bd64e1660a8b5324d4f162d17922e10ddb367d76 elfutils-0.193.tar.bz2
# From https://sourceware.org/elfutils/ftp/0.194/sha512.sum
sha512 5d00502f61b92643bf61dc61da4ddded36c423466388d992bcd388c5208761b8ed9db1a01492c085cd0984eef30c08f895a8e307e78e0df8df40b56ae35b78a5 elfutils-0.194.tar.bz2
# Locally calculated
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING-GPLV2

View File

@@ -4,7 +4,7 @@
#
################################################################################
ELFUTILS_VERSION = 0.193
ELFUTILS_VERSION = 0.194
ELFUTILS_SOURCE = elfutils-$(ELFUTILS_VERSION).tar.bz2
ELFUTILS_SITE = https://sourceware.org/elfutils/ftp/$(ELFUTILS_VERSION)
ELFUTILS_INSTALL_STAGING = YES