From 639afad4058ad0cb00b564b4d000e3dd8196e478 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 7 Feb 2021 20:39:39 +0100 Subject: [PATCH] 0.183-1 - Upgrade to upstream 0.183 --- .gitignore | 1 + elfutils-0.182-s390-pid_memory_read.patch | 39 ----------------------- elfutils.spec | 20 +++++++++--- sources | 2 +- 4 files changed, 18 insertions(+), 44 deletions(-) delete mode 100644 elfutils-0.182-s390-pid_memory_read.patch diff --git a/.gitignore b/.gitignore index d0ad04a..710bb51 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /elfutils-0.180.tar.bz2 /elfutils-0.181.tar.bz2 /elfutils-0.182.tar.bz2 +/elfutils-0.183.tar.bz2 diff --git a/elfutils-0.182-s390-pid_memory_read.patch b/elfutils-0.182-s390-pid_memory_read.patch deleted file mode 100644 index 2c056cb..0000000 --- a/elfutils-0.182-s390-pid_memory_read.patch +++ /dev/null @@ -1,39 +0,0 @@ -commit e4d985a3c1c873f77d20fa0cd421458cc2824996 -Author: Andreas Krebbel -Date: Thu Nov 19 20:32:24 2020 +0100 - - IBM Z: Fix endianess problem in pid_memory_read - - The cached reads lack the big endian adjustments done in the fallback - path. - - Signed-off-by: Andreas Krebbel - -diff --git a/libdwfl/linux-pid-attach.c b/libdwfl/linux-pid-attach.c -index 3a6af997..b23139d9 100644 ---- a/libdwfl/linux-pid-attach.c -+++ b/libdwfl/linux-pid-attach.c -@@ -193,14 +193,22 @@ pid_memory_read (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Word *result, void *arg) - { - struct __libdwfl_pid_arg *pid_arg = arg; - pid_t tid = pid_arg->tid_attached; -+ Dwfl_Process *process = dwfl->process; - assert (tid > 0); - - #ifdef HAVE_PROCESS_VM_READV - if (read_cached_memory (pid_arg, addr, result)) -+ { -+#if SIZEOF_LONG == 8 -+# if BYTE_ORDER == BIG_ENDIAN -+ if (ebl_get_elfclass (process->ebl) == ELFCLASS32) -+ *result >>= 32; -+# endif -+#endif - return true; -+ } - #endif - -- Dwfl_Process *process = dwfl->process; - if (ebl_get_elfclass (process->ebl) == ELFCLASS64) - { - #if SIZEOF_LONG == 8 diff --git a/elfutils.spec b/elfutils.spec index c69043a..e7d7922 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,6 +1,6 @@ Name: elfutils -Version: 0.182 -%global baserelease 3 +Version: 0.183 +%global baserelease 1 Release: %{baserelease}%{?dist} URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ @@ -49,6 +49,7 @@ BuildRequires: curl BuildRequires: automake BuildRequires: autoconf +BuildRequires: gettext-devel %global _gnu %{nil} %global _program_prefix eu- @@ -60,7 +61,6 @@ BuildRequires: autoconf %endif # Patches -Patch1: elfutils-0.182-s390-pid_memory_read.patch %description Elfutils is a collection of utilities, including stack (to show @@ -230,7 +230,6 @@ such servers to download those files on demand. %setup -q # Apply patches -%patch1 -p1 autoreconf -f -v -i @@ -410,6 +409,19 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog +* Mon Feb 8 2021 Mark Wielaard - 0.183-1 +- Upgrade to upstream 0.183 + - debuginfod: New thread-busy metric and more detailed error metrics. + New --fdcache-mintmp and tracking of filesystem freespace. + - debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h can + be used to dlopen the libdebuginfod.so library. + New function debuginfod_set_verbose_fd and DEBUGINFOD_VERBOSE + environment variable. + - config: profile.sh and profile.csh won't export DEBUGINFOD_URLS + unless configured --enable-debuginfod-urls[=URLS] + - elflint, readelf: Recognize SHF_GNU_RETAIN. + Handle SHT_X86_64_UNWIND as valid relocation target type. + * Tue Jan 26 2021 Fedora Release Engineering - 0.182-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 8697cd9..9e0e03d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (elfutils-0.182.tar.bz2) = 8ab0735bbe11b4383169341bf674ace360038b6ae5239f1d5a991c46260cd4bce545e078735b7de3b8fab132bb5da41f60689ff1b1d7ebccfada117a954a2c81 +SHA512 (elfutils-0.183.tar.bz2) = bdafdd738a33cebe4f87849e5e6f1133881e77ef71b27faa0f0234ff80e9674f506957898326c2a55fd8438cbd189f7930597d0b4b9ca6c77921cc0cbd83b6b7