forked from pool/elfutils
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
This commit is contained in:
parent
794a2bdf98
commit
0f4f8764c9
@ -1,50 +0,0 @@
|
||||
From 836a16fe5b5bab4a3afe2c991c104652775ce3a3 Mon Sep 17 00:00:00 2001
|
||||
From: David Abdurachmanov <davidlt@cern.ch>
|
||||
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 <davidlt@cern.ch>
|
||||
---
|
||||
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 <davidlt@cern.ch>
|
||||
+
|
||||
+ * elfcmp.c (main): Fix self-comparison error with GCC 6.
|
||||
+
|
||||
2016-03-21 Mark Wielaard <mjw@redhat.com>
|
||||
|
||||
* 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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c056914c8a438b210be0d790463b960fc79d234c3f05ce707cbff80e94cba30
|
||||
size 6496225
|
Binary file not shown.
3
elfutils-0.167.tar.bz2
Normal file
3
elfutils-0.167.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3f300087c42b6f35591163b48246b4098ce39c4c6f5d55a83023c903c5776553
|
||||
size 6456047
|
BIN
elfutils-0.167.tar.bz2.sig
Normal file
BIN
elfutils-0.167.tar.bz2.sig
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user