0.183-1 - Upgrade to upstream 0.183
This commit is contained in:
parent
ceb631d7b4
commit
639afad405
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@
|
||||
/elfutils-0.180.tar.bz2
|
||||
/elfutils-0.181.tar.bz2
|
||||
/elfutils-0.182.tar.bz2
|
||||
/elfutils-0.183.tar.bz2
|
||||
|
@ -1,39 +0,0 @@
|
||||
commit e4d985a3c1c873f77d20fa0cd421458cc2824996
|
||||
Author: Andreas Krebbel <krebbel@linux.ibm.com>
|
||||
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 <krebbel@linux.ibm.com>
|
||||
|
||||
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
|
@ -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 <mjw@fedoraproject.org> - 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 <releng@fedoraproject.org> - 0.182-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (elfutils-0.182.tar.bz2) = 8ab0735bbe11b4383169341bf674ace360038b6ae5239f1d5a991c46260cd4bce545e078735b7de3b8fab132bb5da41f60689ff1b1d7ebccfada117a954a2c81
|
||||
SHA512 (elfutils-0.183.tar.bz2) = bdafdd738a33cebe4f87849e5e6f1133881e77ef71b27faa0f0234ff80e9674f506957898326c2a55fd8438cbd189f7930597d0b4b9ca6c77921cc0cbd83b6b7
|
||||
|
Loading…
Reference in New Issue
Block a user