forked from pool/elfutils
Accepting request 621693 from Base:System
- Update to version 0.173 More fixes for crashes and hangs found by afl-fuzz. In particular various functions now detect and break infinite loops caused by bad DIE tree cycles. readelf: Will now lookup the size and signedness of constant value types to display them correctly (and not just how they were encoded). libdw: New function dwarf_next_lines to read CU-less .debug_line data. dwarf_begin_elf now accepts ELF files containing just .debug_line or .debug_frame sections (which can be read without needing a DIE tree from the .debug_info section). Removed dwarf_getscn_info, which was never implemented. backends: Handle BPF simple relocations. The RISCV backends now handles ABI specific CFI and knows about RISCV register types and names. - add cfi-fix.patch: make build green on arm target (forwarded request 621681 from marxin) OBS-URL: https://build.opensuse.org/request/show/621693 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=67
This commit is contained in:
commit
e747dca220
11
cfi-fix.patch
Normal file
11
cfi-fix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff --git a/tests/run-next-cfi-self.sh b/tests/run-next-cfi-self.sh
|
||||
index 2c42ea3f..fa91b746 100755
|
||||
--- a/tests/run-next-cfi-self.sh
|
||||
+++ b/tests/run-next-cfi-self.sh
|
||||
@@ -18,4 +18,5 @@
|
||||
. $srcdir/test-subr.sh
|
||||
|
||||
# Sanity check toolchain/dwarf_next_cfi
|
||||
-testrun_on_self ${abs_builddir}/next_cfi
|
||||
+testrun_on_self_exe ${abs_builddir}/next_cfi
|
||||
+testrun_on_self_lib ${abs_builddir}/next_cfi
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:779c99e6344c4982bbab60b8d276cec3d468151c758905f9a44ba6b6edaa0e24
|
||||
size 8601066
|
Binary file not shown.
3
elfutils-0.173.tar.bz2
Normal file
3
elfutils-0.173.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b76d8c133f68dad46250f5c223482c8299d454a69430d9aa5c19123345a000ff
|
||||
size 8684782
|
BIN
elfutils-0.173.tar.bz2.sig
Normal file
BIN
elfutils-0.173.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 3 08:27:56 UTC 2018 - mliska@suse.cz
|
||||
|
||||
- Update to version 0.173
|
||||
|
||||
More fixes for crashes and hangs found by afl-fuzz. In particular various
|
||||
functions now detect and break infinite loops caused by bad DIE tree cycles.
|
||||
|
||||
readelf: Will now lookup the size and signedness of constant value types
|
||||
to display them correctly (and not just how they were encoded).
|
||||
|
||||
libdw: New function dwarf_next_lines to read CU-less .debug_line data.
|
||||
dwarf_begin_elf now accepts ELF files containing just .debug_line
|
||||
or .debug_frame sections (which can be read without needing a DIE
|
||||
tree from the .debug_info section).
|
||||
Removed dwarf_getscn_info, which was never implemented.
|
||||
|
||||
backends: Handle BPF simple relocations.
|
||||
The RISCV backends now handles ABI specific CFI and knows about
|
||||
RISCV register types and names.
|
||||
|
||||
- add cfi-fix.patch: make build green on arm target
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 12 08:04:52 UTC 2018 - mliska@suse.cz
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: elfutils
|
||||
Version: 0.172
|
||||
Version: 0.173
|
||||
Release: 0
|
||||
Summary: Higher-level library to access ELF files
|
||||
License: SUSE-GPL-2.0-with-OSI-exception
|
||||
@ -31,6 +31,7 @@ Source1: README-BEFORE-ADDING-PATCHES
|
||||
Source2: baselibs.conf
|
||||
Source3: %{name}.changes
|
||||
Patch1: disable-tests-with-ptrace.patch
|
||||
Patch2: cfi-fix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -135,6 +136,7 @@ applications that require libdw.
|
||||
# qemu does not support ptrace
|
||||
%patch1 -p1
|
||||
%endif
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
# Change DATE/TIME macros to use last change time of elfutils.changes
|
||||
@ -177,7 +179,7 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
|
||||
%postun -n libdw1 -p /sbin/ldconfig
|
||||
|
||||
%check
|
||||
make check V=1
|
||||
make check %{?_smp_mflags} V=1
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user