From 0f4f8764c97ba23c90a9e005bdbce901e69d36a716e65e5b45362b5ed0216fa5 Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Tue, 30 Aug 2016 16:46:39 +0000 Subject: [PATCH] Accepting request 423862 from home:matz2:branches:Base:System Note: this blocks the binutils 2.27 submission so please forward to Factory. - 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. OBS-URL: https://build.opensuse.org/request/show/423862 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=83 --- elfutils-0.166-elfcmp-comp-gcc6.patch | 50 -------------------------- elfutils-0.166.tar.bz2 | 3 -- elfutils-0.166.tar.bz2.sig | Bin 287 -> 0 bytes elfutils-0.167.tar.bz2 | 3 ++ elfutils-0.167.tar.bz2.sig | Bin 0 -> 287 bytes elfutils.changes | 13 +++++++ elfutils.spec | 14 ++++---- 7 files changed, 22 insertions(+), 61 deletions(-) delete mode 100644 elfutils-0.166-elfcmp-comp-gcc6.patch delete mode 100644 elfutils-0.166.tar.bz2 delete mode 100644 elfutils-0.166.tar.bz2.sig create mode 100644 elfutils-0.167.tar.bz2 create mode 100644 elfutils-0.167.tar.bz2.sig 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 c33a1b773a2daa99f25d5e62c2ebaf50499514303683deff4b7a3eabb3cec5a8..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR|L0UQJX0SEvF1p-$6Bo6=z2@r#DW?NT*YHCXb2mq4tEh2&;`@wsu+67L{ zKNOVn@`knUY7{~-&SYixGRoAACFmQLv6lGILebVoWWVi=5=$owC`fRUo#F|yc;drp zXY4n7i0;%(8Z{XLX)}d>N3S#Q1*)+~rjXt$Ggtx|QSN)Dw5WaXA0SOO1E3A&d=&o; za~_~&tIBWiVuS5PG_`{sUu<6rC7)iRap&qoD(JlW^7vk?ZF(?XMyNgRBb=s;* z%TFQ5gWgeH3Lx=aZV}YMJP~@5V@oNGi4rS{K-Q!exZQRflsgVnATClUCA>~FMpdgoVv^Z&kr4rI4L6!84LoIFl z|M4S9amz6G!Fm++gQsQ?gbb#;T$6h*kp$ZT-CZa3Yy2efzxAtKi6s!Tbl?vGu{0w30h{C>c$QV l{H|j)Asr%>%K@ouKik$UJUm#OwZ7$c-ik5FF)eK%c^C9ggunm* literal 0 HcmV?d00001 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