diff --git a/cfi-fix.patch b/cfi-fix.patch new file mode 100644 index 0000000..59bf1f8 --- /dev/null +++ b/cfi-fix.patch @@ -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 diff --git a/elfutils-0.172.tar.bz2 b/elfutils-0.172.tar.bz2 deleted file mode 100644 index dc4a95f..0000000 --- a/elfutils-0.172.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:779c99e6344c4982bbab60b8d276cec3d468151c758905f9a44ba6b6edaa0e24 -size 8601066 diff --git a/elfutils-0.172.tar.bz2.sig b/elfutils-0.172.tar.bz2.sig deleted file mode 100644 index 1fb9ba1..0000000 Binary files a/elfutils-0.172.tar.bz2.sig and /dev/null differ diff --git a/elfutils-0.173.tar.bz2 b/elfutils-0.173.tar.bz2 new file mode 100644 index 0000000..43c4b4b --- /dev/null +++ b/elfutils-0.173.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b76d8c133f68dad46250f5c223482c8299d454a69430d9aa5c19123345a000ff +size 8684782 diff --git a/elfutils-0.173.tar.bz2.sig b/elfutils-0.173.tar.bz2.sig new file mode 100644 index 0000000..82a85ef Binary files /dev/null and b/elfutils-0.173.tar.bz2.sig differ diff --git a/elfutils.changes b/elfutils.changes index 82066f6..25c1ba5 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -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 diff --git a/elfutils.spec b/elfutils.spec index 2d1d816..bbc9dc2 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -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)