forked from pool/elfutils
Accepting request 18356 from Base:System
Copy from Base:System/elfutils based on submit request 18356 from user rguenther OBS-URL: https://build.opensuse.org/request/show/18356 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=10
This commit is contained in:
commit
c563cd8269
@ -1,6 +1,8 @@
|
|||||||
--- src/addr2line.c-dist 2008-12-05 08:42:12.000000000 +0100
|
Index: src/addr2line.c
|
||||||
+++ src/addr2line.c 2008-12-05 08:45:22.000000000 +0100
|
===================================================================
|
||||||
@@ -373,8 +373,8 @@ handle_address (const char *string, Dwfl
|
--- src/addr2line.c.orig 2009-04-21 16:50:01.000000000 +0200
|
||||||
|
+++ src/addr2line.c 2009-08-20 13:11:58.000000000 +0200
|
||||||
|
@@ -446,11 +446,11 @@ handle_address (const char *string, Dwfl
|
||||||
{
|
{
|
||||||
bool parsed = false;
|
bool parsed = false;
|
||||||
int n;
|
int n;
|
||||||
@ -9,18 +11,13 @@
|
|||||||
+ char name[4096]; /* FIXME */
|
+ char name[4096]; /* FIXME */
|
||||||
+ if (sscanf (string, "(%[^)])%" PRIiMAX "%n", name, &addr, &n) == 2
|
+ if (sscanf (string, "(%[^)])%" PRIiMAX "%n", name, &addr, &n) == 2
|
||||||
&& string[n] == '\0')
|
&& string[n] == '\0')
|
||||||
{
|
parsed = adjust_to_section (name, &addr, dwfl);
|
||||||
/* It was (section)+offset. This makes sense if there is
|
|
||||||
@@ -415,7 +415,7 @@ handle_address (const char *string, Dwfl
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
- else if (sscanf (string, "%m[^-+]%" PRIiMAX "%n", &name, &addr, &n) == 2
|
- else if (sscanf (string, "%m[^-+]%" PRIiMAX "%n", &name, &addr, &n) == 2
|
||||||
+ else if (sscanf (string, "%[^-+]%" PRIiMAX "%n", name, &addr, &n) == 2
|
+ else if (sscanf (string, "%[^-+]%" PRIiMAX "%n", &name, &addr, &n) == 2
|
||||||
&& string[n] == '\0')
|
&& string[n] == '\0')
|
||||||
{
|
{
|
||||||
/* It was symbol+offset. */
|
/* It was symbol+offset. */
|
||||||
@@ -436,7 +436,6 @@ handle_address (const char *string, Dwfl
|
@@ -471,7 +471,6 @@ handle_address (const char *string, Dwfl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 20 13:13:21 CEST 2009 - rguenther@suse.de
|
||||||
|
|
||||||
|
- Fix elfutils-old-scanf-fix.diff patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 13 16:11:47 CEST 2009 - tiwai@suse.de
|
Thu Aug 13 16:11:47 CEST 2009 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
Name: elfutils
|
Name: elfutils
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Version: 0.142
|
Version: 0.142
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Higher-level library to access ELF
|
Summary: Higher-level library to access ELF
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://elfutils.fedorahosted.org
|
Url: http://elfutils.fedorahosted.org
|
||||||
|
Loading…
Reference in New Issue
Block a user