forked from pool/elfutils
Accepting request 345380 from home:namtrac:branches:Base:System
- Update to version 0.164 Drop the following patches, fixed upstream: * elfutils-portability-0.163.patch * elfutils-revert-portability-scanf.patch * elfutils-uninitialized.diff * libebl-prototype-fix.diff Changelog: - strip, unstrip: * Handle ELF files with merged strtab/shstrtab tables. * Handle missing SHF_INFO_LINK section flags. - libelf: * Use int64_t for offsets in libelf.h instead of loff_t. - libdw: * dwarf.h Add preliminary DWARF5 DW_LANG_Haskell. - libdwfl: * dwfl_standard_find_debuginfo now searches any subdir of the binary path under the debuginfo root when the separate debug file couldn't be found by build-id. * dwfl_linux_proc_attach can now be called before any Dwfl_Modules have been reported. - Implement %check OBS-URL: https://build.opensuse.org/request/show/345380 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=73
This commit is contained in:
parent
a79a7670bd
commit
a8451209c2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7c774f1eef329309f3b05e730bdac50013155d437518a2ec0e24871d312f2e23
|
||||
size 6029307
|
3
elfutils-0.164.tar.bz2
Normal file
3
elfutils-0.164.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9683c025928a12d06b7fe812928aa6235249e22d197d086f7084606a48165900
|
||||
size 6065265
|
File diff suppressed because it is too large
Load Diff
@ -1,31 +0,0 @@
|
||||
Index: elfutils-0.155/tests/line2addr.c
|
||||
===================================================================
|
||||
--- elfutils-0.155.orig/tests/line2addr.c
|
||||
+++ elfutils-0.155/tests/line2addr.c
|
||||
@@ -124,7 +124,7 @@ main (int argc, char *argv[])
|
||||
{
|
||||
struct args a = { .arg = argv[cnt] };
|
||||
|
||||
- switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line))
|
||||
+ switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
|
||||
{
|
||||
default:
|
||||
case 0:
|
||||
Index: elfutils-0.155/src/addr2line.c
|
||||
===================================================================
|
||||
--- elfutils-0.155.orig/src/addr2line.c
|
||||
+++ elfutils-0.155/src/addr2line.c
|
||||
@@ -447,10 +447,10 @@ handle_address (const char *string, Dwfl
|
||||
bool parsed = false;
|
||||
int i, j;
|
||||
char *name = NULL;
|
||||
- if (sscanf (string, "(%m[^)])%" PRIiMAX "%n", &name, &addr, &i) == 2
|
||||
+ if (sscanf (string, "(%a[^)])%" PRIiMAX "%n", &name, &addr, &i) == 2
|
||||
&& string[i] == '\0')
|
||||
parsed = adjust_to_section (name, &addr, dwfl);
|
||||
- switch (sscanf (string, "%m[^-+]%n%" PRIiMAX "%n", &name, &i, &addr, &j))
|
||||
+ switch (sscanf (string, "%a[^-+]%n%" PRIiMAX "%n", &name, &i, &addr, &j))
|
||||
{
|
||||
default:
|
||||
break;
|
||||
|
@ -1,17 +0,0 @@
|
||||
---
|
||||
libdwfl/linux-kernel-modules.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/libdwfl/linux-kernel-modules.c
|
||||
+++ b/libdwfl/linux-kernel-modules.c
|
||||
@@ -608,8 +608,8 @@ check_module_notes (Dwfl_Module *mod)
|
||||
int
|
||||
dwfl_linux_kernel_report_kernel (Dwfl *dwfl)
|
||||
{
|
||||
- Dwarf_Addr start;
|
||||
- Dwarf_Addr end;
|
||||
+ Dwarf_Addr start = 0;
|
||||
+ Dwarf_Addr end = 0;
|
||||
inline Dwfl_Module *report (void)
|
||||
{
|
||||
return INTUSE(dwfl_report_module) (dwfl, KERNEL_MODNAME, start, end);
|
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 20 10:15:34 UTC 2015 - idonmez@suse.com
|
||||
|
||||
- Update to version 0.164
|
||||
Drop the following patches, fixed upstream:
|
||||
* elfutils-portability-0.163.patch
|
||||
* elfutils-revert-portability-scanf.patch
|
||||
* elfutils-uninitialized.diff
|
||||
* libebl-prototype-fix.diff
|
||||
|
||||
Changelog:
|
||||
- strip, unstrip:
|
||||
* Handle ELF files with merged strtab/shstrtab tables.
|
||||
* Handle missing SHF_INFO_LINK section flags.
|
||||
- libelf:
|
||||
* Use int64_t for offsets in libelf.h instead of loff_t.
|
||||
- libdw:
|
||||
* dwarf.h Add preliminary DWARF5 DW_LANG_Haskell.
|
||||
- libdwfl:
|
||||
* dwfl_standard_find_debuginfo now searches any subdir of the binary
|
||||
path under the debuginfo root when the separate debug file couldn't
|
||||
be found by build-id.
|
||||
* dwfl_linux_proc_attach can now be called before any Dwfl_Modules
|
||||
have been reported.
|
||||
- Implement %check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 11 17:13:14 UTC 2015 - tonyj@suse.com
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: elfutils
|
||||
Version: 0.163
|
||||
Version: 0.164
|
||||
Release: 0
|
||||
Summary: Higher-level library to access ELF
|
||||
License: SUSE-GPL-2.0-with-OSI-exception
|
||||
@ -29,11 +29,7 @@ Source: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}
|
||||
Source1: README-BEFORE-ADDING-PATCHES
|
||||
Source2: baselibs.conf
|
||||
Source3: %{name}.changes
|
||||
Patch1: https://fedorahosted.org/releases/e/l/%{name}/%{version}/elfutils-portability-%{version}.patch
|
||||
Patch2: elfutils-revert-portability-scanf.patch
|
||||
Patch3: libebl-prototype-fix.diff
|
||||
Patch4: elfutils-uninitialized.diff
|
||||
Patch5: elfutils-0.137-dwarf-header-check-fix.diff
|
||||
Patch1: elfutils-0.137-dwarf-header-check-fix.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -142,10 +138,6 @@ to develop applications that require these.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1 -R
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
# Change DATE/TIME macros to use last change time of elfutils.changes
|
||||
@ -185,6 +177,9 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
|
||||
|
||||
%postun -n libdw1 -p /sbin/ldconfig
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS NOTES README THANKS TODO
|
||||
|
@ -1,39 +0,0 @@
|
||||
From: unknown
|
||||
Upstream: no
|
||||
References: none
|
||||
|
||||
Update from K&R to ANSI prototype. This fix should go upstream.
|
||||
|
||||
---
|
||||
lib/dynamicsizehash.c | 5 +----
|
||||
libebl/eblopenbackend.c | 5 +----
|
||||
2 files changed, 2 insertions(+), 8 deletions(-)
|
||||
|
||||
--- a/libebl/eblopenbackend.c
|
||||
+++ b/libebl/eblopenbackend.c
|
||||
@@ -250,10 +250,7 @@ fill_defaults (Ebl *result)
|
||||
|
||||
/* Find an appropriate backend for the file associated with ELF. */
|
||||
static Ebl *
|
||||
-openbackend (elf, emulation, machine)
|
||||
- Elf *elf;
|
||||
- const char *emulation;
|
||||
- GElf_Half machine;
|
||||
+openbackend (Elf *elf, const char *emulation, GElf_Half machine)
|
||||
{
|
||||
Ebl *result;
|
||||
size_t cnt;
|
||||
--- a/lib/dynamicsizehash.c
|
||||
+++ b/lib/dynamicsizehash.c
|
||||
@@ -44,10 +44,7 @@
|
||||
|
||||
|
||||
static size_t
|
||||
-lookup (htab, hval, val)
|
||||
- NAME *htab;
|
||||
- HASHTYPE hval;
|
||||
- TYPE val __attribute__ ((unused));
|
||||
+lookup (NAME *htab, HASHTYPE hval, TYPE val __attribute__((unused)))
|
||||
{
|
||||
/* First hash function: simply take the modul but prevent zero. Small values
|
||||
can skip the division, which helps performance when this is common. */
|
Loading…
Reference in New Issue
Block a user