Fredrik Fornwall
7 years ago
7 changed files with 21 additions and 75 deletions
@ -1,12 +0,0 @@ |
|||
diff -u -r ../elfutils-0.166/src/elfcompress.c ./src/elfcompress.c
|
|||
--- ../elfutils-0.166/src/elfcompress.c 2016-03-02 11:25:38.000000000 -0500
|
|||
+++ ./src/elfcompress.c 2016-05-04 14:33:03.812183632 -0400
|
|||
@@ -166,7 +166,7 @@
|
|||
struct section_pattern *pattern = patterns; |
|||
while (pattern != NULL) |
|||
{ |
|||
- if (fnmatch (pattern->pattern, name, FNM_EXTMATCH) == 0)
|
|||
+ if (fnmatch (pattern->pattern, name, 0) == 0)
|
|||
return true; |
|||
pattern = pattern->next; |
|||
} |
@ -1,38 +0,0 @@ |
|||
diff -u -r ../elfutils-0.166/src/readelf.c ./src/readelf.c
|
|||
--- ../elfutils-0.166/src/readelf.c 2016-03-02 11:25:38.000000000 -0500
|
|||
+++ ./src/readelf.c 2016-05-04 14:13:42.967553723 -0400
|
|||
@@ -43,6 +43,7 @@
|
|||
#include <sys/param.h> |
|||
#include <sys/stat.h> |
|||
#include <signal.h> |
|||
+#include <qsort_r.h>
|
|||
|
|||
#include <system.h> |
|||
#include "../libelf/libelfP.h" |
|||
@@ -6128,7 +6129,7 @@
|
|||
|
|||
printf (" %*s%-20s (%s) %s\n", |
|||
(int) (level * 2), "", dwarf_attr_name (attr), |
|||
- dwarf_form_name (form), nl_langinfo (flag ? YESSTR : NOSTR));
|
|||
+ dwarf_form_name (form), flag ? "yes" : "no");
|
|||
break; |
|||
|
|||
case DW_FORM_flag_present: |
|||
@@ -6136,7 +6137,7 @@
|
|||
break; |
|||
printf (" %*s%-20s (%s) %s\n", |
|||
(int) (level * 2), "", dwarf_attr_name (attr), |
|||
- dwarf_form_name (form), nl_langinfo (YESSTR));
|
|||
+ dwarf_form_name (form), "yes");
|
|||
break; |
|||
|
|||
case DW_FORM_exprloc: |
|||
@@ -7646,7 +7647,7 @@
|
|||
if (readp + 1 > readendp) |
|||
goto invalid_data; |
|||
val = *readp++; |
|||
- printf (" %s", nl_langinfo (val != 0 ? YESSTR : NOSTR));
|
|||
+ printf (" %s", val != 0 ? "yes" : "no");
|
|||
break; |
|||
|
|||
case DW_FORM_string: |
@ -0,0 +1,11 @@ |
|||
diff -u -r ../elfutils-0.170/src/readelf.c ./src/readelf.c
|
|||
--- ../elfutils-0.170/src/readelf.c 2017-08-02 14:06:25.000000000 +0200
|
|||
+++ ./src/readelf.c 2017-12-10 01:14:25.898858528 +0100
|
|||
@@ -43,6 +43,7 @@
|
|||
#include <unistd.h> |
|||
#include <sys/stat.h> |
|||
#include <signal.h> |
|||
+#include <qsort_r.h>
|
|||
|
|||
#include <libeu.h> |
|||
#include <system.h> |
Loading…
Reference in new issue