diff --git a/elfutils-0.166-elfcmp-comp-gcc6.patch b/elfutils-0.166-elfcmp-comp-gcc6.patch deleted file mode 100644 index b6fc5f7..0000000 --- a/elfutils-0.166-elfcmp-comp-gcc6.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 836a16fe5b5bab4a3afe2c991c104652775ce3a3 Mon Sep 17 00:00:00 2001 -From: David Abdurachmanov -Date: Mon, 11 Apr 2016 16:00:57 +0200 -Subject: [PATCH] elfcmp: fix self-comparison error with GCC 6 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Noticed with Fedora 24 Alpha, gcc (GCC) 6.0.0 20160406 -(Red Hat 6.0.0-0.20). - -elfcmp.c: In function ‘main’: -elfcmp.c:364:199: error: self-comparison always evaluates -to false [-Werror=tautological-compare] - if (unlikely (name1 == NULL || name2 == NULL - -Signed-off-by: David Abdurachmanov ---- - src/ChangeLog | 4 ++++ - src/elfcmp.c | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/ChangeLog b/src/ChangeLog -index f74b5dc..bdc9d13 100644 ---- a/src/ChangeLog -+++ b/src/ChangeLog -@@ -1,3 +1,7 @@ -+2016-04-11 David Abdurachmanov -+ -+ * elfcmp.c (main): Fix self-comparison error with GCC 6. -+ - 2016-03-21 Mark Wielaard - - * nm.c (show_symbols): Check for malloc size argument overflow. -diff --git a/src/elfcmp.c b/src/elfcmp.c -index 852b92f..7b5d39c 100644 ---- a/src/elfcmp.c -+++ b/src/elfcmp.c -@@ -368,7 +368,7 @@ main (int argc, char *argv[]) - && sym1->st_shndx != SHN_UNDEF) - || sym1->st_info != sym2->st_info - || sym1->st_other != sym2->st_other -- || sym1->st_shndx != sym1->st_shndx)) -+ || sym1->st_shndx != sym2->st_shndx)) - { - // XXX Do we want to allow reordered symbol tables? - symtab_mismatch: --- -1.8.3.1 - diff --git a/elfutils-0.166.tar.bz2 b/elfutils-0.166.tar.bz2 deleted file mode 100644 index 5186903..0000000 --- a/elfutils-0.166.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c056914c8a438b210be0d790463b960fc79d234c3f05ce707cbff80e94cba30 -size 6496225 diff --git a/elfutils-0.166.tar.bz2.sig b/elfutils-0.166.tar.bz2.sig deleted file mode 100644 index c33a1b7..0000000 Binary files a/elfutils-0.166.tar.bz2.sig and /dev/null differ diff --git a/elfutils-0.167.tar.bz2 b/elfutils-0.167.tar.bz2 new file mode 100644 index 0000000..1069a65 --- /dev/null +++ b/elfutils-0.167.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f300087c42b6f35591163b48246b4098ce39c4c6f5d55a83023c903c5776553 +size 6456047 diff --git a/elfutils-0.167.tar.bz2.sig b/elfutils-0.167.tar.bz2.sig new file mode 100644 index 0000000..4f58112 Binary files /dev/null and b/elfutils-0.167.tar.bz2.sig differ diff --git a/elfutils.changes b/elfutils.changes index 7423b17..e0177c6 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Aug 30 15:14:51 UTC 2016 - matz@suse.com + +- Update to version 0.167: + libasm: Add eBPF disassembler for EM_BPF files. + backends: Add m68k and BPF backends. + ld: Removed. + dwelf: Add ELF/DWARF string table creation functions. dwelf_strtab_init, + dwelf_strtab_add, dwelf_strtab_add_len, dwelf_strtab_finalize, + dwelf_strent_off, dwelf_strent_str and dwelf_strtab_free. + Support compressed sections from binutils 2.27. +- Remove patch elfutils-0.166-elfcmp-comp-gcc6.patch: included upstream. + ------------------------------------------------------------------- Mon Jul 11 09:16:14 UTC 2016 - schwab@suse.de diff --git a/elfutils.spec b/elfutils.spec index 63242c2..411a695 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -17,7 +17,7 @@ Name: elfutils -Version: 0.166 +Version: 0.167 Release: 0 Summary: Higher-level library to access ELF License: SUSE-GPL-2.0-with-OSI-exception @@ -31,8 +31,7 @@ Source1: README-BEFORE-ADDING-PATCHES Source2: baselibs.conf Source3: %{name}.changes Patch1: elfutils-0.137-dwarf-header-check-fix.diff -Patch2: elfutils-0.166-elfcmp-comp-gcc6.patch -Patch3: disable-tests-with-ptrace.patch +Patch2: disable-tests-with-ptrace.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -52,7 +51,7 @@ Summary: A collection of utilities and DSOs to handle compiled objects Group: System/Libraries %description -n libasm1 -Elfutils is a collection of utilities, including ld (a linker), nm (for +Elfutils is a collection of utilities, including nm (for listing symbols from object files), size (for listing the section sizes of an object or archive file), strip (for discarding symbols), readline (the see the raw ELF file structures), and elflint (to check for @@ -66,7 +65,7 @@ Requires: glibc-devel Requires: libasm1 = %{version} %description -n libasm-devel -Elfutils is a collection of utilities, including ld (a linker), nm (for +Elfutils is a collection of utilities, including nm (for listing symbols from object files), size (for listing the section sizes of an object or archive file), strip (for discarding symbols), readline (the see the raw ELF file structures), and elflint (to check for @@ -80,7 +79,7 @@ Provides: libebl = %{version} Obsoletes: libebl < %{version} %description -n libebl1 -Elfutils is a collection of utilities, including ld (a linker), nm (for +Elfutils is a collection of utilities, including nm (for listing symbols from object files), size (for listing the section sizes of an object or archive file), strip (for discarding symbols), readline (the see the raw ELF file structures), and elflint (to check for @@ -141,10 +140,9 @@ to develop applications that require these. %prep %setup -q %patch1 -p1 -%patch2 -p1 %if 0%{?qemu_user_space_build} # qemu does not support ptrace -%patch3 -p1 +%patch2 -p1 %endif %build