summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-05-11 10:35:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:29 +0100
commit24d99279c582878901ccff36eb059e4786b124da (patch)
treebe5e224635135d7de775bd035ff268f3d55b1852 /meta/recipes-devtools
parenta088a4110751bc6dbad5e48c049158f53284057d (diff)
downloadpoky-24d99279c582878901ccff36eb059e4786b124da.tar.gz
elfutils: Upgrade to 0.166
Has many fixes for compiling it with gcc-6 (From OE-Core rev: 071b6a0c3cdeb3635a8ccfbc708573723308dd68) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-Ignore-differences-between-mips-machine-identifiers.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch)488
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/0001-fix-a-stack-usage-warning.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-fix-a-stack-usage-warning.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-remove-the-unneed-checking.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/0003-Add-mips-n64-relocation-format-hack.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0003-Add-mips-n64-relocation-format-hack.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/aarch64_uio.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/aarch64_uio.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/arm_backend.diff (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/arm_backend.diff)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch41
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/fixheadercheck.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/fixheadercheck.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/hppa_backend.diff (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/hppa_backend.diff)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/kfreebsd_path.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/m68k_backend.diff (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/m68k_backend.diff)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/mips_backend.diff (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/mips_backend.diff)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/mips_readelf_w.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/mips_readelf_w.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/shadow.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/shadow.patch)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/testsuite-ignore-elflint.diff (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/testsuite-ignore-elflint.diff)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.166/uclibc-support.patch (renamed from meta/recipes-devtools/elfutils/elfutils-0.164/uclibc-support.patch)37
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.166.bb (renamed from meta/recipes-devtools/elfutils/elfutils_0.164.bb)6
20 files changed, 306 insertions, 266 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-Ignore-differences-between-mips-machine-identifiers.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch
index 3f110f98fc..3f110f98fc 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-Ignore-differences-between-mips-machine-identifiers.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch
index c8d1c89901..38b31f6a8d 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch
@@ -87,11 +87,11 @@ Upstream-Status: Pending
87 tests/vdsosyms.c | 2 +- 87 tests/vdsosyms.c | 2 +-
88 77 files changed, 109 insertions(+), 73 deletions(-) 88 77 files changed, 109 insertions(+), 73 deletions(-)
89 89
90Index: elfutils-0.164/Makefile.am 90Index: elfutils-0.166/Makefile.am
91=================================================================== 91===================================================================
92--- elfutils-0.164.orig/Makefile.am 92--- elfutils-0.166.orig/Makefile.am
93+++ elfutils-0.164/Makefile.am 93+++ elfutils-0.166/Makefile.am
94@@ -24,7 +24,7 @@ pkginclude_HEADERS = version.h 94@@ -28,7 +28,7 @@ pkginclude_HEADERS = version.h
95 95
96 # Add doc back when we have some real content. 96 # Add doc back when we have some real content.
97 SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libcpu libasm \ 97 SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libcpu libasm \
@@ -100,10 +100,10 @@ Index: elfutils-0.164/Makefile.am
100 100
101 EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \ 101 EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
102 COPYING COPYING-GPLV2 COPYING-LGPLV3 102 COPYING COPYING-GPLV2 COPYING-LGPLV3
103Index: elfutils-0.164/lib/color.c 103Index: elfutils-0.166/lib/color.c
104=================================================================== 104===================================================================
105--- elfutils-0.164.orig/lib/color.c 105--- elfutils-0.166.orig/lib/color.c
106+++ elfutils-0.164/lib/color.c 106+++ elfutils-0.166/lib/color.c
107@@ -32,7 +32,7 @@ 107@@ -32,7 +32,7 @@
108 #endif 108 #endif
109 109
@@ -113,10 +113,10 @@ Index: elfutils-0.164/lib/color.c
113 #include <libintl.h> 113 #include <libintl.h>
114 #include <stdlib.h> 114 #include <stdlib.h>
115 #include <string.h> 115 #include <string.h>
116Index: elfutils-0.164/lib/crc32_file.c 116Index: elfutils-0.166/lib/crc32_file.c
117=================================================================== 117===================================================================
118--- elfutils-0.164.orig/lib/crc32_file.c 118--- elfutils-0.166.orig/lib/crc32_file.c
119+++ elfutils-0.164/lib/crc32_file.c 119+++ elfutils-0.166/lib/crc32_file.c
120@@ -30,12 +30,14 @@ 120@@ -30,12 +30,14 @@
121 # include <config.h> 121 # include <config.h>
122 #endif 122 #endif
@@ -133,10 +133,10 @@ Index: elfutils-0.164/lib/crc32_file.c
133 int 133 int
134 crc32_file (int fd, uint32_t *resp) 134 crc32_file (int fd, uint32_t *resp)
135 { 135 {
136Index: elfutils-0.164/lib/fixedsizehash.h 136Index: elfutils-0.166/lib/fixedsizehash.h
137=================================================================== 137===================================================================
138--- elfutils-0.164.orig/lib/fixedsizehash.h 138--- elfutils-0.166.orig/lib/fixedsizehash.h
139+++ elfutils-0.164/lib/fixedsizehash.h 139+++ elfutils-0.166/lib/fixedsizehash.h
140@@ -30,12 +30,12 @@ 140@@ -30,12 +30,12 @@
141 #include <errno.h> 141 #include <errno.h>
142 #include <stdlib.h> 142 #include <stdlib.h>
@@ -152,10 +152,10 @@ Index: elfutils-0.164/lib/fixedsizehash.h
152 152
153 /* Before including this file the following macros must be defined: 153 /* Before including this file the following macros must be defined:
154 154
155Index: elfutils-0.164/lib/system.h 155Index: elfutils-0.166/lib/system.h
156=================================================================== 156===================================================================
157--- elfutils-0.164.orig/lib/system.h 157--- elfutils-0.166.orig/lib/system.h
158+++ elfutils-0.164/lib/system.h 158+++ elfutils-0.166/lib/system.h
159@@ -49,6 +49,16 @@ 159@@ -49,6 +49,16 @@
160 #else 160 #else
161 # error "Unknown byte order" 161 # error "Unknown byte order"
@@ -173,10 +173,10 @@ Index: elfutils-0.164/lib/system.h
173 173
174 extern void *xmalloc (size_t) __attribute__ ((__malloc__)); 174 extern void *xmalloc (size_t) __attribute__ ((__malloc__));
175 extern void *xcalloc (size_t, size_t) __attribute__ ((__malloc__)); 175 extern void *xcalloc (size_t, size_t) __attribute__ ((__malloc__));
176Index: elfutils-0.164/lib/xmalloc.c 176Index: elfutils-0.166/lib/xmalloc.c
177=================================================================== 177===================================================================
178--- elfutils-0.164.orig/lib/xmalloc.c 178--- elfutils-0.166.orig/lib/xmalloc.c
179+++ elfutils-0.164/lib/xmalloc.c 179+++ elfutils-0.166/lib/xmalloc.c
180@@ -30,7 +30,7 @@ 180@@ -30,7 +30,7 @@
181 # include <config.h> 181 # include <config.h>
182 #endif 182 #endif
@@ -186,10 +186,10 @@ Index: elfutils-0.164/lib/xmalloc.c
186 #include <libintl.h> 186 #include <libintl.h>
187 #include <stddef.h> 187 #include <stddef.h>
188 #include <stdlib.h> 188 #include <stdlib.h>
189Index: elfutils-0.164/libasm/asm_end.c 189Index: elfutils-0.166/libasm/asm_end.c
190=================================================================== 190===================================================================
191--- elfutils-0.164.orig/libasm/asm_end.c 191--- elfutils-0.166.orig/libasm/asm_end.c
192+++ elfutils-0.164/libasm/asm_end.c 192+++ elfutils-0.166/libasm/asm_end.c
193@@ -32,7 +32,7 @@ 193@@ -32,7 +32,7 @@
194 #endif 194 #endif
195 195
@@ -199,10 +199,10 @@ Index: elfutils-0.164/libasm/asm_end.c
199 #include <libintl.h> 199 #include <libintl.h>
200 #include <stdio.h> 200 #include <stdio.h>
201 #include <stdlib.h> 201 #include <stdlib.h>
202Index: elfutils-0.164/libasm/asm_newscn.c 202Index: elfutils-0.166/libasm/asm_newscn.c
203=================================================================== 203===================================================================
204--- elfutils-0.164.orig/libasm/asm_newscn.c 204--- elfutils-0.166.orig/libasm/asm_newscn.c
205+++ elfutils-0.164/libasm/asm_newscn.c 205+++ elfutils-0.166/libasm/asm_newscn.c
206@@ -32,7 +32,7 @@ 206@@ -32,7 +32,7 @@
207 #endif 207 #endif
208 208
@@ -212,10 +212,10 @@ Index: elfutils-0.164/libasm/asm_newscn.c
212 #include <libintl.h> 212 #include <libintl.h>
213 #include <stdlib.h> 213 #include <stdlib.h>
214 #include <string.h> 214 #include <string.h>
215Index: elfutils-0.164/libcpu/i386_gendis.c 215Index: elfutils-0.166/libcpu/i386_gendis.c
216=================================================================== 216===================================================================
217--- elfutils-0.164.orig/libcpu/i386_gendis.c 217--- elfutils-0.166.orig/libcpu/i386_gendis.c
218+++ elfutils-0.164/libcpu/i386_gendis.c 218+++ elfutils-0.166/libcpu/i386_gendis.c
219@@ -31,7 +31,7 @@ 219@@ -31,7 +31,7 @@
220 # include <config.h> 220 # include <config.h>
221 #endif 221 #endif
@@ -225,11 +225,11 @@ Index: elfutils-0.164/libcpu/i386_gendis.c
225 #include <errno.h> 225 #include <errno.h>
226 #include <stdio.h> 226 #include <stdio.h>
227 #include <stdlib.h> 227 #include <stdlib.h>
228Index: elfutils-0.164/libcpu/i386_lex.c 228Index: elfutils-0.166/libcpu/i386_lex.c
229=================================================================== 229===================================================================
230--- elfutils-0.164.orig/libcpu/i386_lex.c 230--- elfutils-0.166.orig/libcpu/i386_lex.c
231+++ elfutils-0.164/libcpu/i386_lex.c 231+++ elfutils-0.166/libcpu/i386_lex.c
232@@ -571,7 +571,7 @@ char *i386_text; 232@@ -578,7 +578,7 @@ char *i386_text;
233 #endif 233 #endif
234 234
235 #include <ctype.h> 235 #include <ctype.h>
@@ -238,10 +238,10 @@ Index: elfutils-0.164/libcpu/i386_lex.c
238 #include <libintl.h> 238 #include <libintl.h>
239 239
240 #include <system.h> 240 #include <system.h>
241Index: elfutils-0.164/libcpu/i386_parse.c 241Index: elfutils-0.166/libcpu/i386_parse.c
242=================================================================== 242===================================================================
243--- elfutils-0.164.orig/libcpu/i386_parse.c 243--- elfutils-0.166.orig/libcpu/i386_parse.c
244+++ elfutils-0.164/libcpu/i386_parse.c 244+++ elfutils-0.166/libcpu/i386_parse.c
245@@ -107,7 +107,7 @@ 245@@ -107,7 +107,7 @@
246 #include <assert.h> 246 #include <assert.h>
247 #include <ctype.h> 247 #include <ctype.h>
@@ -251,23 +251,23 @@ Index: elfutils-0.164/libcpu/i386_parse.c
251 #include <inttypes.h> 251 #include <inttypes.h>
252 #include <libintl.h> 252 #include <libintl.h>
253 #include <math.h> 253 #include <math.h>
254Index: elfutils-0.164/libdw/Makefile.am 254Index: elfutils-0.166/libdw/Makefile.am
255=================================================================== 255===================================================================
256--- elfutils-0.164.orig/libdw/Makefile.am 256--- elfutils-0.166.orig/libdw/Makefile.am
257+++ elfutils-0.164/libdw/Makefile.am 257+++ elfutils-0.166/libdw/Makefile.am
258@@ -117,7 +117,7 @@ libdw.so$(EXEEXT): $(srcdir)/libdw.map l 258@@ -117,7 +117,7 @@ libdw.so$(EXEEXT): $(srcdir)/libdw.map l
259 -Wl,--enable-new-dtags,-rpath,$(pkglibdir) \ 259 -Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
260 -Wl,--version-script,$<,--no-undefined \ 260 -Wl,--version-script,$<,--no-undefined \
261 -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\ 261 -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
262- -ldl $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS) 262- -ldl -lz $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS)
263+ -ldl $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS) -lfts -largp 263+ -ldl -lz $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS) -lfts -largp
264 @$(textrel_check) 264 @$(textrel_check)
265 $(AM_V_at)ln -fs $@ $@.$(VERSION) 265 $(AM_V_at)ln -fs $@ $@.$(VERSION)
266 266
267Index: elfutils-0.164/libdw/libdw_alloc.c 267Index: elfutils-0.166/libdw/libdw_alloc.c
268=================================================================== 268===================================================================
269--- elfutils-0.164.orig/libdw/libdw_alloc.c 269--- elfutils-0.166.orig/libdw/libdw_alloc.c
270+++ elfutils-0.164/libdw/libdw_alloc.c 270+++ elfutils-0.166/libdw/libdw_alloc.c
271@@ -31,11 +31,12 @@ 271@@ -31,11 +31,12 @@
272 # include <config.h> 272 # include <config.h>
273 #endif 273 #endif
@@ -282,11 +282,11 @@ Index: elfutils-0.164/libdw/libdw_alloc.c
282 282
283 283
284 void * 284 void *
285Index: elfutils-0.164/libdwfl/Makefile.am 285Index: elfutils-0.166/libdwfl/Makefile.am
286=================================================================== 286===================================================================
287--- elfutils-0.164.orig/libdwfl/Makefile.am 287--- elfutils-0.166.orig/libdwfl/Makefile.am
288+++ elfutils-0.164/libdwfl/Makefile.am 288+++ elfutils-0.166/libdwfl/Makefile.am
289@@ -86,6 +86,8 @@ libelf = ../libelf/libelf.so 289@@ -84,6 +84,8 @@ libelf = ../libelf/libelf.so
290 libebl = ../libebl/libebl.a 290 libebl = ../libebl/libebl.a
291 libeu = ../lib/libeu.a 291 libeu = ../lib/libeu.a
292 292
@@ -295,10 +295,10 @@ Index: elfutils-0.164/libdwfl/Makefile.am
295 libdwfl_pic_a_SOURCES = 295 libdwfl_pic_a_SOURCES =
296 am_libdwfl_pic_a_OBJECTS = $(libdwfl_a_SOURCES:.c=.os) 296 am_libdwfl_pic_a_OBJECTS = $(libdwfl_a_SOURCES:.c=.os)
297 297
298Index: elfutils-0.164/libdwfl/dwfl_build_id_find_elf.c 298Index: elfutils-0.166/libdwfl/dwfl_build_id_find_elf.c
299=================================================================== 299===================================================================
300--- elfutils-0.164.orig/libdwfl/dwfl_build_id_find_elf.c 300--- elfutils-0.166.orig/libdwfl/dwfl_build_id_find_elf.c
301+++ elfutils-0.164/libdwfl/dwfl_build_id_find_elf.c 301+++ elfutils-0.166/libdwfl/dwfl_build_id_find_elf.c
302@@ -27,6 +27,7 @@ 302@@ -27,6 +27,7 @@
303 not, see <http://www.gnu.org/licenses/>. */ 303 not, see <http://www.gnu.org/licenses/>. */
304 304
@@ -316,10 +316,10 @@ Index: elfutils-0.164/libdwfl/dwfl_build_id_find_elf.c
316 if (*file_name == NULL) 316 if (*file_name == NULL)
317 { 317 {
318 *file_name = name; 318 *file_name = name;
319Index: elfutils-0.164/libdwfl/dwfl_error.c 319Index: elfutils-0.166/libdwfl/dwfl_error.c
320=================================================================== 320===================================================================
321--- elfutils-0.164.orig/libdwfl/dwfl_error.c 321--- elfutils-0.166.orig/libdwfl/dwfl_error.c
322+++ elfutils-0.164/libdwfl/dwfl_error.c 322+++ elfutils-0.166/libdwfl/dwfl_error.c
323@@ -140,6 +140,7 @@ __libdwfl_seterrno (Dwfl_Error error) 323@@ -140,6 +140,7 @@ __libdwfl_seterrno (Dwfl_Error error)
324 const char * 324 const char *
325 dwfl_errmsg (int error) 325 dwfl_errmsg (int error)
@@ -338,10 +338,10 @@ Index: elfutils-0.164/libdwfl/dwfl_error.c
338 case OTHER_ERROR (LIBELF): 338 case OTHER_ERROR (LIBELF):
339 return elf_errmsg (error & 0xffff); 339 return elf_errmsg (error & 0xffff);
340 case OTHER_ERROR (LIBDW): 340 case OTHER_ERROR (LIBDW):
341Index: elfutils-0.164/libdwfl/dwfl_module_getdwarf.c 341Index: elfutils-0.166/libdwfl/dwfl_module_getdwarf.c
342=================================================================== 342===================================================================
343--- elfutils-0.164.orig/libdwfl/dwfl_module_getdwarf.c 343--- elfutils-0.166.orig/libdwfl/dwfl_module_getdwarf.c
344+++ elfutils-0.164/libdwfl/dwfl_module_getdwarf.c 344+++ elfutils-0.166/libdwfl/dwfl_module_getdwarf.c
345@@ -31,6 +31,7 @@ 345@@ -31,6 +31,7 @@
346 #include <fcntl.h> 346 #include <fcntl.h>
347 #include <string.h> 347 #include <string.h>
@@ -350,11 +350,11 @@ Index: elfutils-0.164/libdwfl/dwfl_module_getdwarf.c
350 #include "../libdw/libdwP.h" /* DWARF_E_* values are here. */ 350 #include "../libdw/libdwP.h" /* DWARF_E_* values are here. */
351 #include "../libelf/libelfP.h" 351 #include "../libelf/libelfP.h"
352 352
353Index: elfutils-0.164/libdwfl/find-debuginfo.c 353Index: elfutils-0.166/libdwfl/find-debuginfo.c
354=================================================================== 354===================================================================
355--- elfutils-0.164.orig/libdwfl/find-debuginfo.c 355--- elfutils-0.166.orig/libdwfl/find-debuginfo.c
356+++ elfutils-0.164/libdwfl/find-debuginfo.c 356+++ elfutils-0.166/libdwfl/find-debuginfo.c
357@@ -372,7 +372,7 @@ dwfl_standard_find_debuginfo (Dwfl_Modul 357@@ -385,7 +385,7 @@ dwfl_standard_find_debuginfo (Dwfl_Modul
358 /* If FILE_NAME is a symlink, the debug file might be associated 358 /* If FILE_NAME is a symlink, the debug file might be associated
359 with the symlink target name instead. */ 359 with the symlink target name instead. */
360 360
@@ -363,10 +363,10 @@ Index: elfutils-0.164/libdwfl/find-debuginfo.c
363 if (canon != NULL && strcmp (file_name, canon)) 363 if (canon != NULL && strcmp (file_name, canon))
364 fd = find_debuginfo_in_path (mod, canon, 364 fd = find_debuginfo_in_path (mod, canon,
365 debuglink_file, debuglink_crc, 365 debuglink_file, debuglink_crc,
366Index: elfutils-0.164/libdwfl/libdwfl_crc32_file.c 366Index: elfutils-0.166/libdwfl/libdwfl_crc32_file.c
367=================================================================== 367===================================================================
368--- elfutils-0.164.orig/libdwfl/libdwfl_crc32_file.c 368--- elfutils-0.166.orig/libdwfl/libdwfl_crc32_file.c
369+++ elfutils-0.164/libdwfl/libdwfl_crc32_file.c 369+++ elfutils-0.166/libdwfl/libdwfl_crc32_file.c
370@@ -31,6 +31,16 @@ 370@@ -31,6 +31,16 @@
371 371
372 #define crc32_file attribute_hidden __libdwfl_crc32_file 372 #define crc32_file attribute_hidden __libdwfl_crc32_file
@@ -384,10 +384,10 @@ Index: elfutils-0.164/libdwfl/libdwfl_crc32_file.c
384 #define LIB_SYSTEM_H 1 384 #define LIB_SYSTEM_H 1
385 #include <libdwflP.h> 385 #include <libdwflP.h>
386 #include "../lib/crc32_file.c" 386 #include "../lib/crc32_file.c"
387Index: elfutils-0.164/libdwfl/linux-kernel-modules.c 387Index: elfutils-0.166/libdwfl/linux-kernel-modules.c
388=================================================================== 388===================================================================
389--- elfutils-0.164.orig/libdwfl/linux-kernel-modules.c 389--- elfutils-0.166.orig/libdwfl/linux-kernel-modules.c
390+++ elfutils-0.164/libdwfl/linux-kernel-modules.c 390+++ elfutils-0.166/libdwfl/linux-kernel-modules.c
391@@ -34,6 +34,7 @@ 391@@ -34,6 +34,7 @@
392 #include <config.h> 392 #include <config.h>
393 393
@@ -396,10 +396,10 @@ Index: elfutils-0.164/libdwfl/linux-kernel-modules.c
396 #include <inttypes.h> 396 #include <inttypes.h>
397 #include <errno.h> 397 #include <errno.h>
398 #include <stdio.h> 398 #include <stdio.h>
399Index: elfutils-0.164/libebl/eblopenbackend.c 399Index: elfutils-0.166/libebl/eblopenbackend.c
400=================================================================== 400===================================================================
401--- elfutils-0.164.orig/libebl/eblopenbackend.c 401--- elfutils-0.166.orig/libebl/eblopenbackend.c
402+++ elfutils-0.164/libebl/eblopenbackend.c 402+++ elfutils-0.166/libebl/eblopenbackend.c
403@@ -32,7 +32,7 @@ 403@@ -32,7 +32,7 @@
404 404
405 #include <assert.h> 405 #include <assert.h>
@@ -409,10 +409,10 @@ Index: elfutils-0.164/libebl/eblopenbackend.c
409 #include <libelfP.h> 409 #include <libelfP.h>
410 #include <dwarf.h> 410 #include <dwarf.h>
411 #include <stdlib.h> 411 #include <stdlib.h>
412Index: elfutils-0.164/libebl/eblwstrtab.c 412Index: elfutils-0.166/libebl/eblwstrtab.c
413=================================================================== 413===================================================================
414--- elfutils-0.164.orig/libebl/eblwstrtab.c 414--- elfutils-0.166.orig/libebl/eblwstrtab.c
415+++ elfutils-0.164/libebl/eblwstrtab.c 415+++ elfutils-0.166/libebl/eblwstrtab.c
416@@ -305,7 +305,7 @@ copystrings (struct Ebl_WStrent *nodep, 416@@ -305,7 +305,7 @@ copystrings (struct Ebl_WStrent *nodep,
417 417
418 /* Process the current node. */ 418 /* Process the current node. */
@@ -422,10 +422,10 @@ Index: elfutils-0.164/libebl/eblwstrtab.c
422 *offsetp += nodep->len * sizeof (wchar_t); 422 *offsetp += nodep->len * sizeof (wchar_t);
423 423
424 for (subs = nodep->next; subs != NULL; subs = subs->next) 424 for (subs = nodep->next; subs != NULL; subs = subs->next)
425Index: elfutils-0.164/libelf/elf.h 425Index: elfutils-0.166/libelf/elf.h
426=================================================================== 426===================================================================
427--- elfutils-0.164.orig/libelf/elf.h 427--- elfutils-0.166.orig/libelf/elf.h
428+++ elfutils-0.164/libelf/elf.h 428+++ elfutils-0.166/libelf/elf.h
429@@ -21,7 +21,9 @@ 429@@ -21,7 +21,9 @@
430 430
431 #include <features.h> 431 #include <features.h>
@@ -437,7 +437,7 @@ Index: elfutils-0.164/libelf/elf.h
437 437
438 /* Standard ELF types. */ 438 /* Standard ELF types. */
439 439
440@@ -3552,7 +3554,8 @@ enum 440@@ -3591,7 +3593,8 @@ enum
441 441
442 #define R_TILEGX_NUM 130 442 #define R_TILEGX_NUM 130
443 443
@@ -448,10 +448,10 @@ Index: elfutils-0.164/libelf/elf.h
448+#endif 448+#endif
449 449
450 #endif /* elf.h */ 450 #endif /* elf.h */
451Index: elfutils-0.164/libelf/libelf.h 451Index: elfutils-0.166/libelf/libelf.h
452=================================================================== 452===================================================================
453--- elfutils-0.164.orig/libelf/libelf.h 453--- elfutils-0.166.orig/libelf/libelf.h
454+++ elfutils-0.164/libelf/libelf.h 454+++ elfutils-0.166/libelf/libelf.h
455@@ -29,6 +29,7 @@ 455@@ -29,6 +29,7 @@
456 #ifndef _LIBELF_H 456 #ifndef _LIBELF_H
457 #define _LIBELF_H 1 457 #define _LIBELF_H 1
@@ -460,10 +460,10 @@ Index: elfutils-0.164/libelf/libelf.h
460 #include <stdint.h> 460 #include <stdint.h>
461 #include <sys/types.h> 461 #include <sys/types.h>
462 462
463Index: elfutils-0.164/libelf/libelfP.h 463Index: elfutils-0.166/libelf/libelfP.h
464=================================================================== 464===================================================================
465--- elfutils-0.164.orig/libelf/libelfP.h 465--- elfutils-0.166.orig/libelf/libelfP.h
466+++ elfutils-0.164/libelf/libelfP.h 466+++ elfutils-0.166/libelf/libelfP.h
467@@ -36,6 +36,7 @@ 467@@ -36,6 +36,7 @@
468 468
469 #include <ar.h> 469 #include <ar.h>
@@ -471,11 +471,11 @@ Index: elfutils-0.164/libelf/libelfP.h
471+#include <libelf.h> 471+#include <libelf.h>
472 472
473 #include <errno.h> 473 #include <errno.h>
474 #include <stdint.h> 474 #include <stdbool.h>
475Index: elfutils-0.164/src/addr2line.c 475Index: elfutils-0.166/src/addr2line.c
476=================================================================== 476===================================================================
477--- elfutils-0.164.orig/src/addr2line.c 477--- elfutils-0.166.orig/src/addr2line.c
478+++ elfutils-0.164/src/addr2line.c 478+++ elfutils-0.166/src/addr2line.c
479@@ -23,7 +23,7 @@ 479@@ -23,7 +23,7 @@
480 #include <argp.h> 480 #include <argp.h>
481 #include <assert.h> 481 #include <assert.h>
@@ -485,10 +485,10 @@ Index: elfutils-0.164/src/addr2line.c
485 #include <fcntl.h> 485 #include <fcntl.h>
486 #include <inttypes.h> 486 #include <inttypes.h>
487 #include <libdwfl.h> 487 #include <libdwfl.h>
488Index: elfutils-0.164/src/ar.c 488Index: elfutils-0.166/src/ar.c
489=================================================================== 489===================================================================
490--- elfutils-0.164.orig/src/ar.c 490--- elfutils-0.166.orig/src/ar.c
491+++ elfutils-0.164/src/ar.c 491+++ elfutils-0.166/src/ar.c
492@@ -22,7 +22,7 @@ 492@@ -22,7 +22,7 @@
493 493
494 #include <argp.h> 494 #include <argp.h>
@@ -498,10 +498,10 @@ Index: elfutils-0.164/src/ar.c
498 #include <fcntl.h> 498 #include <fcntl.h>
499 #include <gelf.h> 499 #include <gelf.h>
500 #include <libintl.h> 500 #include <libintl.h>
501Index: elfutils-0.164/src/arlib.c 501Index: elfutils-0.166/src/arlib.c
502=================================================================== 502===================================================================
503--- elfutils-0.164.orig/src/arlib.c 503--- elfutils-0.166.orig/src/arlib.c
504+++ elfutils-0.164/src/arlib.c 504+++ elfutils-0.166/src/arlib.c
505@@ -21,7 +21,7 @@ 505@@ -21,7 +21,7 @@
506 #endif 506 #endif
507 507
@@ -511,10 +511,10 @@ Index: elfutils-0.164/src/arlib.c
511 #include <gelf.h> 511 #include <gelf.h>
512 #include <libintl.h> 512 #include <libintl.h>
513 #include <stdio.h> 513 #include <stdio.h>
514Index: elfutils-0.164/src/arlib2.c 514Index: elfutils-0.166/src/arlib2.c
515=================================================================== 515===================================================================
516--- elfutils-0.164.orig/src/arlib2.c 516--- elfutils-0.166.orig/src/arlib2.c
517+++ elfutils-0.164/src/arlib2.c 517+++ elfutils-0.166/src/arlib2.c
518@@ -20,7 +20,7 @@ 518@@ -20,7 +20,7 @@
519 # include <config.h> 519 # include <config.h>
520 #endif 520 #endif
@@ -524,10 +524,10 @@ Index: elfutils-0.164/src/arlib2.c
524 #include <libintl.h> 524 #include <libintl.h>
525 #include <limits.h> 525 #include <limits.h>
526 #include <string.h> 526 #include <string.h>
527Index: elfutils-0.164/src/elfcmp.c 527Index: elfutils-0.166/src/elfcmp.c
528=================================================================== 528===================================================================
529--- elfutils-0.164.orig/src/elfcmp.c 529--- elfutils-0.166.orig/src/elfcmp.c
530+++ elfutils-0.164/src/elfcmp.c 530+++ elfutils-0.166/src/elfcmp.c
531@@ -23,7 +23,7 @@ 531@@ -23,7 +23,7 @@
532 #include <argp.h> 532 #include <argp.h>
533 #include <assert.h> 533 #include <assert.h>
@@ -537,10 +537,10 @@ Index: elfutils-0.164/src/elfcmp.c
537 #include <fcntl.h> 537 #include <fcntl.h>
538 #include <locale.h> 538 #include <locale.h>
539 #include <libintl.h> 539 #include <libintl.h>
540Index: elfutils-0.164/src/elflint.c 540Index: elfutils-0.166/src/elflint.c
541=================================================================== 541===================================================================
542--- elfutils-0.164.orig/src/elflint.c 542--- elfutils-0.166.orig/src/elflint.c
543+++ elfutils-0.164/src/elflint.c 543+++ elfutils-0.166/src/elflint.c
544@@ -24,7 +24,7 @@ 544@@ -24,7 +24,7 @@
545 #include <assert.h> 545 #include <assert.h>
546 #include <byteswap.h> 546 #include <byteswap.h>
@@ -550,10 +550,10 @@ Index: elfutils-0.164/src/elflint.c
550 #include <fcntl.h> 550 #include <fcntl.h>
551 #include <gelf.h> 551 #include <gelf.h>
552 #include <inttypes.h> 552 #include <inttypes.h>
553Index: elfutils-0.164/src/findtextrel.c 553Index: elfutils-0.166/src/findtextrel.c
554=================================================================== 554===================================================================
555--- elfutils-0.164.orig/src/findtextrel.c 555--- elfutils-0.166.orig/src/findtextrel.c
556+++ elfutils-0.164/src/findtextrel.c 556+++ elfutils-0.166/src/findtextrel.c
557@@ -23,7 +23,7 @@ 557@@ -23,7 +23,7 @@
558 #include <argp.h> 558 #include <argp.h>
559 #include <assert.h> 559 #include <assert.h>
@@ -563,10 +563,10 @@ Index: elfutils-0.164/src/findtextrel.c
563 #include <fcntl.h> 563 #include <fcntl.h>
564 #include <gelf.h> 564 #include <gelf.h>
565 #include <libdw.h> 565 #include <libdw.h>
566Index: elfutils-0.164/src/i386_ld.c 566Index: elfutils-0.166/src/i386_ld.c
567=================================================================== 567===================================================================
568--- elfutils-0.164.orig/src/i386_ld.c 568--- elfutils-0.166.orig/src/i386_ld.c
569+++ elfutils-0.164/src/i386_ld.c 569+++ elfutils-0.166/src/i386_ld.c
570@@ -20,7 +20,7 @@ 570@@ -20,7 +20,7 @@
571 #endif 571 #endif
572 572
@@ -576,10 +576,10 @@ Index: elfutils-0.164/src/i386_ld.c
576 #include <libintl.h> 576 #include <libintl.h>
577 #include <stdlib.h> 577 #include <stdlib.h>
578 #include <string.h> 578 #include <string.h>
579Index: elfutils-0.164/src/ld.c 579Index: elfutils-0.166/src/ld.c
580=================================================================== 580===================================================================
581--- elfutils-0.164.orig/src/ld.c 581--- elfutils-0.166.orig/src/ld.c
582+++ elfutils-0.164/src/ld.c 582+++ elfutils-0.166/src/ld.c
583@@ -21,7 +21,7 @@ 583@@ -21,7 +21,7 @@
584 584
585 #include <argp.h> 585 #include <argp.h>
@@ -589,10 +589,10 @@ Index: elfutils-0.164/src/ld.c
589 #include <fcntl.h> 589 #include <fcntl.h>
590 #include <libelf.h> 590 #include <libelf.h>
591 #include <libintl.h> 591 #include <libintl.h>
592Index: elfutils-0.164/src/ldgeneric.c 592Index: elfutils-0.166/src/ldgeneric.c
593=================================================================== 593===================================================================
594--- elfutils-0.164.orig/src/ldgeneric.c 594--- elfutils-0.166.orig/src/ldgeneric.c
595+++ elfutils-0.164/src/ldgeneric.c 595+++ elfutils-0.166/src/ldgeneric.c
596@@ -23,7 +23,7 @@ 596@@ -23,7 +23,7 @@
597 #include <ctype.h> 597 #include <ctype.h>
598 #include <dlfcn.h> 598 #include <dlfcn.h>
@@ -602,11 +602,11 @@ Index: elfutils-0.164/src/ldgeneric.c
602 #include <fcntl.h> 602 #include <fcntl.h>
603 #include <fnmatch.h> 603 #include <fnmatch.h>
604 #include <gelf.h> 604 #include <gelf.h>
605Index: elfutils-0.164/src/ldlex.c 605Index: elfutils-0.166/src/ldlex.c
606=================================================================== 606===================================================================
607--- elfutils-0.164.orig/src/ldlex.c 607--- elfutils-0.166.orig/src/ldlex.c
608+++ elfutils-0.164/src/ldlex.c 608+++ elfutils-0.166/src/ldlex.c
609@@ -1099,7 +1099,7 @@ char *ldtext; 609@@ -1106,7 +1106,7 @@ char *ldtext;
610 #include <assert.h> 610 #include <assert.h>
611 #include <ctype.h> 611 #include <ctype.h>
612 #include <elf.h> 612 #include <elf.h>
@@ -615,10 +615,10 @@ Index: elfutils-0.164/src/ldlex.c
615 #include <inttypes.h> 615 #include <inttypes.h>
616 #include <libintl.h> 616 #include <libintl.h>
617 #include <stdbool.h> 617 #include <stdbool.h>
618Index: elfutils-0.164/src/ldscript.c 618Index: elfutils-0.166/src/ldscript.c
619=================================================================== 619===================================================================
620--- elfutils-0.164.orig/src/ldscript.c 620--- elfutils-0.166.orig/src/ldscript.c
621+++ elfutils-0.164/src/ldscript.c 621+++ elfutils-0.166/src/ldscript.c
622@@ -95,7 +95,7 @@ 622@@ -95,7 +95,7 @@
623 #endif 623 #endif
624 624
@@ -628,10 +628,10 @@ Index: elfutils-0.164/src/ldscript.c
628 #include <libintl.h> 628 #include <libintl.h>
629 #include <stdbool.h> 629 #include <stdbool.h>
630 #include <stdint.h> 630 #include <stdint.h>
631Index: elfutils-0.164/src/nm.c 631Index: elfutils-0.166/src/nm.c
632=================================================================== 632===================================================================
633--- elfutils-0.164.orig/src/nm.c 633--- elfutils-0.166.orig/src/nm.c
634+++ elfutils-0.164/src/nm.c 634+++ elfutils-0.166/src/nm.c
635@@ -26,7 +26,7 @@ 635@@ -26,7 +26,7 @@
636 #include <ctype.h> 636 #include <ctype.h>
637 #include <dwarf.h> 637 #include <dwarf.h>
@@ -641,10 +641,10 @@ Index: elfutils-0.164/src/nm.c
641 #include <fcntl.h> 641 #include <fcntl.h>
642 #include <gelf.h> 642 #include <gelf.h>
643 #include <inttypes.h> 643 #include <inttypes.h>
644Index: elfutils-0.164/src/objdump.c 644Index: elfutils-0.166/src/objdump.c
645=================================================================== 645===================================================================
646--- elfutils-0.164.orig/src/objdump.c 646--- elfutils-0.166.orig/src/objdump.c
647+++ elfutils-0.164/src/objdump.c 647+++ elfutils-0.166/src/objdump.c
648@@ -21,7 +21,7 @@ 648@@ -21,7 +21,7 @@
649 #endif 649 #endif
650 650
@@ -654,10 +654,10 @@ Index: elfutils-0.164/src/objdump.c
654 #include <fcntl.h> 654 #include <fcntl.h>
655 #include <inttypes.h> 655 #include <inttypes.h>
656 #include <libintl.h> 656 #include <libintl.h>
657Index: elfutils-0.164/src/ranlib.c 657Index: elfutils-0.166/src/ranlib.c
658=================================================================== 658===================================================================
659--- elfutils-0.164.orig/src/ranlib.c 659--- elfutils-0.166.orig/src/ranlib.c
660+++ elfutils-0.164/src/ranlib.c 660+++ elfutils-0.166/src/ranlib.c
661@@ -24,7 +24,7 @@ 661@@ -24,7 +24,7 @@
662 #include <argp.h> 662 #include <argp.h>
663 #include <assert.h> 663 #include <assert.h>
@@ -667,10 +667,10 @@ Index: elfutils-0.164/src/ranlib.c
667 #include <fcntl.h> 667 #include <fcntl.h>
668 #include <gelf.h> 668 #include <gelf.h>
669 #include <libintl.h> 669 #include <libintl.h>
670Index: elfutils-0.164/src/readelf.c 670Index: elfutils-0.166/src/readelf.c
671=================================================================== 671===================================================================
672--- elfutils-0.164.orig/src/readelf.c 672--- elfutils-0.166.orig/src/readelf.c
673+++ elfutils-0.164/src/readelf.c 673+++ elfutils-0.166/src/readelf.c
674@@ -25,7 +25,7 @@ 674@@ -25,7 +25,7 @@
675 #include <ctype.h> 675 #include <ctype.h>
676 #include <dwarf.h> 676 #include <dwarf.h>
@@ -680,10 +680,10 @@ Index: elfutils-0.164/src/readelf.c
680 #include <fcntl.h> 680 #include <fcntl.h>
681 #include <gelf.h> 681 #include <gelf.h>
682 #include <inttypes.h> 682 #include <inttypes.h>
683Index: elfutils-0.164/src/size.c 683Index: elfutils-0.166/src/size.c
684=================================================================== 684===================================================================
685--- elfutils-0.164.orig/src/size.c 685--- elfutils-0.166.orig/src/size.c
686+++ elfutils-0.164/src/size.c 686+++ elfutils-0.166/src/size.c
687@@ -21,7 +21,7 @@ 687@@ -21,7 +21,7 @@
688 #endif 688 #endif
689 689
@@ -693,10 +693,10 @@ Index: elfutils-0.164/src/size.c
693 #include <fcntl.h> 693 #include <fcntl.h>
694 #include <gelf.h> 694 #include <gelf.h>
695 #include <inttypes.h> 695 #include <inttypes.h>
696Index: elfutils-0.164/src/stack.c 696Index: elfutils-0.166/src/stack.c
697=================================================================== 697===================================================================
698--- elfutils-0.164.orig/src/stack.c 698--- elfutils-0.166.orig/src/stack.c
699+++ elfutils-0.164/src/stack.c 699+++ elfutils-0.166/src/stack.c
700@@ -18,7 +18,7 @@ 700@@ -18,7 +18,7 @@
701 #include <config.h> 701 #include <config.h>
702 #include <assert.h> 702 #include <assert.h>
@@ -706,10 +706,10 @@ Index: elfutils-0.164/src/stack.c
706 #include <stdlib.h> 706 #include <stdlib.h>
707 #include <inttypes.h> 707 #include <inttypes.h>
708 #include <stdio.h> 708 #include <stdio.h>
709Index: elfutils-0.164/src/strings.c 709Index: elfutils-0.166/src/strings.c
710=================================================================== 710===================================================================
711--- elfutils-0.164.orig/src/strings.c 711--- elfutils-0.166.orig/src/strings.c
712+++ elfutils-0.164/src/strings.c 712+++ elfutils-0.166/src/strings.c
713@@ -25,7 +25,7 @@ 713@@ -25,7 +25,7 @@
714 #include <ctype.h> 714 #include <ctype.h>
715 #include <endian.h> 715 #include <endian.h>
@@ -719,10 +719,10 @@ Index: elfutils-0.164/src/strings.c
719 #include <fcntl.h> 719 #include <fcntl.h>
720 #include <gelf.h> 720 #include <gelf.h>
721 #include <inttypes.h> 721 #include <inttypes.h>
722Index: elfutils-0.164/src/strip.c 722Index: elfutils-0.166/src/strip.c
723=================================================================== 723===================================================================
724--- elfutils-0.164.orig/src/strip.c 724--- elfutils-0.166.orig/src/strip.c
725+++ elfutils-0.164/src/strip.c 725+++ elfutils-0.166/src/strip.c
726@@ -24,7 +24,7 @@ 726@@ -24,7 +24,7 @@
727 #include <assert.h> 727 #include <assert.h>
728 #include <byteswap.h> 728 #include <byteswap.h>
@@ -732,10 +732,10 @@ Index: elfutils-0.164/src/strip.c
732 #include <fcntl.h> 732 #include <fcntl.h>
733 #include <gelf.h> 733 #include <gelf.h>
734 #include <libelf.h> 734 #include <libelf.h>
735Index: elfutils-0.164/src/unstrip.c 735Index: elfutils-0.166/src/unstrip.c
736=================================================================== 736===================================================================
737--- elfutils-0.164.orig/src/unstrip.c 737--- elfutils-0.166.orig/src/unstrip.c
738+++ elfutils-0.164/src/unstrip.c 738+++ elfutils-0.166/src/unstrip.c
739@@ -31,7 +31,7 @@ 739@@ -31,7 +31,7 @@
740 #include <argp.h> 740 #include <argp.h>
741 #include <assert.h> 741 #include <assert.h>
@@ -745,10 +745,10 @@ Index: elfutils-0.164/src/unstrip.c
745 #include <fcntl.h> 745 #include <fcntl.h>
746 #include <fnmatch.h> 746 #include <fnmatch.h>
747 #include <libintl.h> 747 #include <libintl.h>
748Index: elfutils-0.164/tests/addrscopes.c 748Index: elfutils-0.166/tests/addrscopes.c
749=================================================================== 749===================================================================
750--- elfutils-0.164.orig/tests/addrscopes.c 750--- elfutils-0.166.orig/tests/addrscopes.c
751+++ elfutils-0.164/tests/addrscopes.c 751+++ elfutils-0.166/tests/addrscopes.c
752@@ -25,7 +25,7 @@ 752@@ -25,7 +25,7 @@
753 #include <stdio_ext.h> 753 #include <stdio_ext.h>
754 #include <locale.h> 754 #include <locale.h>
@@ -758,10 +758,10 @@ Index: elfutils-0.164/tests/addrscopes.c
758 #include <string.h> 758 #include <string.h>
759 759
760 760
761Index: elfutils-0.164/tests/allregs.c 761Index: elfutils-0.166/tests/allregs.c
762=================================================================== 762===================================================================
763--- elfutils-0.164.orig/tests/allregs.c 763--- elfutils-0.166.orig/tests/allregs.c
764+++ elfutils-0.164/tests/allregs.c 764+++ elfutils-0.166/tests/allregs.c
765@@ -21,7 +21,7 @@ 765@@ -21,7 +21,7 @@
766 #include <stdio.h> 766 #include <stdio.h>
767 #include <stdlib.h> 767 #include <stdlib.h>
@@ -771,10 +771,10 @@ Index: elfutils-0.164/tests/allregs.c
771 #include <locale.h> 771 #include <locale.h>
772 #include <argp.h> 772 #include <argp.h>
773 #include <assert.h> 773 #include <assert.h>
774Index: elfutils-0.164/tests/backtrace-data.c 774Index: elfutils-0.166/tests/backtrace-data.c
775=================================================================== 775===================================================================
776--- elfutils-0.164.orig/tests/backtrace-data.c 776--- elfutils-0.166.orig/tests/backtrace-data.c
777+++ elfutils-0.164/tests/backtrace-data.c 777+++ elfutils-0.166/tests/backtrace-data.c
778@@ -27,7 +27,7 @@ 778@@ -27,7 +27,7 @@
779 #include <dirent.h> 779 #include <dirent.h>
780 #include <stdlib.h> 780 #include <stdlib.h>
@@ -784,10 +784,10 @@ Index: elfutils-0.164/tests/backtrace-data.c
784 #include <unistd.h> 784 #include <unistd.h>
785 #include <dwarf.h> 785 #include <dwarf.h>
786 #if defined(__x86_64__) && defined(__linux__) 786 #if defined(__x86_64__) && defined(__linux__)
787Index: elfutils-0.164/tests/backtrace-dwarf.c 787Index: elfutils-0.166/tests/backtrace-dwarf.c
788=================================================================== 788===================================================================
789--- elfutils-0.164.orig/tests/backtrace-dwarf.c 789--- elfutils-0.166.orig/tests/backtrace-dwarf.c
790+++ elfutils-0.164/tests/backtrace-dwarf.c 790+++ elfutils-0.166/tests/backtrace-dwarf.c
791@@ -22,7 +22,7 @@ 791@@ -22,7 +22,7 @@
792 #include <stdio_ext.h> 792 #include <stdio_ext.h>
793 #include <locale.h> 793 #include <locale.h>
@@ -797,10 +797,10 @@ Index: elfutils-0.164/tests/backtrace-dwarf.c
797 #include <unistd.h> 797 #include <unistd.h>
798 #include <sys/ptrace.h> 798 #include <sys/ptrace.h>
799 #include <sys/types.h> 799 #include <sys/types.h>
800Index: elfutils-0.164/tests/backtrace.c 800Index: elfutils-0.166/tests/backtrace.c
801=================================================================== 801===================================================================
802--- elfutils-0.164.orig/tests/backtrace.c 802--- elfutils-0.166.orig/tests/backtrace.c
803+++ elfutils-0.164/tests/backtrace.c 803+++ elfutils-0.166/tests/backtrace.c
804@@ -24,7 +24,7 @@ 804@@ -24,7 +24,7 @@
805 #include <dirent.h> 805 #include <dirent.h>
806 #include <stdlib.h> 806 #include <stdlib.h>
@@ -810,10 +810,10 @@ Index: elfutils-0.164/tests/backtrace.c
810 #include <unistd.h> 810 #include <unistd.h>
811 #include <dwarf.h> 811 #include <dwarf.h>
812 #ifdef __linux__ 812 #ifdef __linux__
813Index: elfutils-0.164/tests/buildid.c 813Index: elfutils-0.166/tests/buildid.c
814=================================================================== 814===================================================================
815--- elfutils-0.164.orig/tests/buildid.c 815--- elfutils-0.166.orig/tests/buildid.c
816+++ elfutils-0.164/tests/buildid.c 816+++ elfutils-0.166/tests/buildid.c
817@@ -23,7 +23,7 @@ 817@@ -23,7 +23,7 @@
818 #include ELFUTILS_HEADER(elf) 818 #include ELFUTILS_HEADER(elf)
819 #include ELFUTILS_HEADER(dwelf) 819 #include ELFUTILS_HEADER(dwelf)
@@ -823,10 +823,10 @@ Index: elfutils-0.164/tests/buildid.c
823 #include <string.h> 823 #include <string.h>
824 #include <stdlib.h> 824 #include <stdlib.h>
825 #include <sys/types.h> 825 #include <sys/types.h>
826Index: elfutils-0.164/tests/debugaltlink.c 826Index: elfutils-0.166/tests/debugaltlink.c
827=================================================================== 827===================================================================
828--- elfutils-0.164.orig/tests/debugaltlink.c 828--- elfutils-0.166.orig/tests/debugaltlink.c
829+++ elfutils-0.164/tests/debugaltlink.c 829+++ elfutils-0.166/tests/debugaltlink.c
830@@ -23,7 +23,7 @@ 830@@ -23,7 +23,7 @@
831 #include ELFUTILS_HEADER(dw) 831 #include ELFUTILS_HEADER(dw)
832 #include ELFUTILS_HEADER(dwelf) 832 #include ELFUTILS_HEADER(dwelf)
@@ -836,10 +836,10 @@ Index: elfutils-0.164/tests/debugaltlink.c
836 #include <string.h> 836 #include <string.h>
837 #include <stdlib.h> 837 #include <stdlib.h>
838 #include <sys/types.h> 838 #include <sys/types.h>
839Index: elfutils-0.164/tests/debuglink.c 839Index: elfutils-0.166/tests/debuglink.c
840=================================================================== 840===================================================================
841--- elfutils-0.164.orig/tests/debuglink.c 841--- elfutils-0.166.orig/tests/debuglink.c
842+++ elfutils-0.164/tests/debuglink.c 842+++ elfutils-0.166/tests/debuglink.c
843@@ -21,7 +21,7 @@ 843@@ -21,7 +21,7 @@
844 #include <errno.h> 844 #include <errno.h>
845 #include ELFUTILS_HEADER(dwelf) 845 #include ELFUTILS_HEADER(dwelf)
@@ -849,10 +849,10 @@ Index: elfutils-0.164/tests/debuglink.c
849 #include <string.h> 849 #include <string.h>
850 #include <stdlib.h> 850 #include <stdlib.h>
851 #include <sys/types.h> 851 #include <sys/types.h>
852Index: elfutils-0.164/tests/deleted.c 852Index: elfutils-0.166/tests/deleted.c
853=================================================================== 853===================================================================
854--- elfutils-0.164.orig/tests/deleted.c 854--- elfutils-0.166.orig/tests/deleted.c
855+++ elfutils-0.164/tests/deleted.c 855+++ elfutils-0.166/tests/deleted.c
856@@ -21,7 +21,7 @@ 856@@ -21,7 +21,7 @@
857 #include <unistd.h> 857 #include <unistd.h>
858 #include <assert.h> 858 #include <assert.h>
@@ -862,10 +862,10 @@ Index: elfutils-0.164/tests/deleted.c
862 #include <errno.h> 862 #include <errno.h>
863 #ifdef __linux__ 863 #ifdef __linux__
864 #include <sys/prctl.h> 864 #include <sys/prctl.h>
865Index: elfutils-0.164/tests/dwfl-addr-sect.c 865Index: elfutils-0.166/tests/dwfl-addr-sect.c
866=================================================================== 866===================================================================
867--- elfutils-0.164.orig/tests/dwfl-addr-sect.c 867--- elfutils-0.166.orig/tests/dwfl-addr-sect.c
868+++ elfutils-0.164/tests/dwfl-addr-sect.c 868+++ elfutils-0.166/tests/dwfl-addr-sect.c
869@@ -23,7 +23,7 @@ 869@@ -23,7 +23,7 @@
870 #include <stdio_ext.h> 870 #include <stdio_ext.h>
871 #include <stdlib.h> 871 #include <stdlib.h>
@@ -875,10 +875,10 @@ Index: elfutils-0.164/tests/dwfl-addr-sect.c
875 #include <locale.h> 875 #include <locale.h>
876 #include <argp.h> 876 #include <argp.h>
877 #include ELFUTILS_HEADER(dwfl) 877 #include ELFUTILS_HEADER(dwfl)
878Index: elfutils-0.164/tests/dwfl-bug-addr-overflow.c 878Index: elfutils-0.166/tests/dwfl-bug-addr-overflow.c
879=================================================================== 879===================================================================
880--- elfutils-0.164.orig/tests/dwfl-bug-addr-overflow.c 880--- elfutils-0.166.orig/tests/dwfl-bug-addr-overflow.c
881+++ elfutils-0.164/tests/dwfl-bug-addr-overflow.c 881+++ elfutils-0.166/tests/dwfl-bug-addr-overflow.c
882@@ -20,7 +20,7 @@ 882@@ -20,7 +20,7 @@
883 #include <inttypes.h> 883 #include <inttypes.h>
884 #include <stdio.h> 884 #include <stdio.h>
@@ -888,10 +888,10 @@ Index: elfutils-0.164/tests/dwfl-bug-addr-overflow.c
888 #include <locale.h> 888 #include <locale.h>
889 #include ELFUTILS_HEADER(dwfl) 889 #include ELFUTILS_HEADER(dwfl)
890 890
891Index: elfutils-0.164/tests/dwfl-bug-fd-leak.c 891Index: elfutils-0.166/tests/dwfl-bug-fd-leak.c
892=================================================================== 892===================================================================
893--- elfutils-0.164.orig/tests/dwfl-bug-fd-leak.c 893--- elfutils-0.166.orig/tests/dwfl-bug-fd-leak.c
894+++ elfutils-0.164/tests/dwfl-bug-fd-leak.c 894+++ elfutils-0.166/tests/dwfl-bug-fd-leak.c
895@@ -24,7 +24,7 @@ 895@@ -24,7 +24,7 @@
896 #include <dirent.h> 896 #include <dirent.h>
897 #include <stdlib.h> 897 #include <stdlib.h>
@@ -900,11 +900,11 @@ Index: elfutils-0.164/tests/dwfl-bug-fd-leak.c
900+#include <err.h> 900+#include <err.h>
901 #include <unistd.h> 901 #include <unistd.h>
902 #include <dwarf.h> 902 #include <dwarf.h>
903 #include <sys/resource.h> 903
904Index: elfutils-0.164/tests/dwfl-bug-getmodules.c 904Index: elfutils-0.166/tests/dwfl-bug-getmodules.c
905=================================================================== 905===================================================================
906--- elfutils-0.164.orig/tests/dwfl-bug-getmodules.c 906--- elfutils-0.166.orig/tests/dwfl-bug-getmodules.c
907+++ elfutils-0.164/tests/dwfl-bug-getmodules.c 907+++ elfutils-0.166/tests/dwfl-bug-getmodules.c
908@@ -18,7 +18,7 @@ 908@@ -18,7 +18,7 @@
909 #include <config.h> 909 #include <config.h>
910 #include ELFUTILS_HEADER(dwfl) 910 #include ELFUTILS_HEADER(dwfl)
@@ -914,10 +914,10 @@ Index: elfutils-0.164/tests/dwfl-bug-getmodules.c
914 914
915 static const Dwfl_Callbacks callbacks = 915 static const Dwfl_Callbacks callbacks =
916 { 916 {
917Index: elfutils-0.164/tests/dwfl-report-elf-align.c 917Index: elfutils-0.166/tests/dwfl-report-elf-align.c
918=================================================================== 918===================================================================
919--- elfutils-0.164.orig/tests/dwfl-report-elf-align.c 919--- elfutils-0.166.orig/tests/dwfl-report-elf-align.c
920+++ elfutils-0.164/tests/dwfl-report-elf-align.c 920+++ elfutils-0.166/tests/dwfl-report-elf-align.c
921@@ -20,7 +20,7 @@ 921@@ -20,7 +20,7 @@
922 #include <inttypes.h> 922 #include <inttypes.h>
923 #include <stdio.h> 923 #include <stdio.h>
@@ -927,10 +927,10 @@ Index: elfutils-0.164/tests/dwfl-report-elf-align.c
927 #include <locale.h> 927 #include <locale.h>
928 #include <string.h> 928 #include <string.h>
929 #include <stdlib.h> 929 #include <stdlib.h>
930Index: elfutils-0.164/tests/dwfllines.c 930Index: elfutils-0.166/tests/dwfllines.c
931=================================================================== 931===================================================================
932--- elfutils-0.164.orig/tests/dwfllines.c 932--- elfutils-0.166.orig/tests/dwfllines.c
933+++ elfutils-0.164/tests/dwfllines.c 933+++ elfutils-0.166/tests/dwfllines.c
934@@ -27,7 +27,7 @@ 934@@ -27,7 +27,7 @@
935 #include <stdio.h> 935 #include <stdio.h>
936 #include <stdlib.h> 936 #include <stdlib.h>
@@ -940,10 +940,10 @@ Index: elfutils-0.164/tests/dwfllines.c
940 940
941 int 941 int
942 main (int argc, char *argv[]) 942 main (int argc, char *argv[])
943Index: elfutils-0.164/tests/dwflmodtest.c 943Index: elfutils-0.166/tests/dwflmodtest.c
944=================================================================== 944===================================================================
945--- elfutils-0.164.orig/tests/dwflmodtest.c 945--- elfutils-0.166.orig/tests/dwflmodtest.c
946+++ elfutils-0.164/tests/dwflmodtest.c 946+++ elfutils-0.166/tests/dwflmodtest.c
947@@ -23,7 +23,7 @@ 947@@ -23,7 +23,7 @@
948 #include <stdio_ext.h> 948 #include <stdio_ext.h>
949 #include <stdlib.h> 949 #include <stdlib.h>
@@ -953,10 +953,10 @@ Index: elfutils-0.164/tests/dwflmodtest.c
953 #include <locale.h> 953 #include <locale.h>
954 #include <argp.h> 954 #include <argp.h>
955 #include ELFUTILS_HEADER(dwfl) 955 #include ELFUTILS_HEADER(dwfl)
956Index: elfutils-0.164/tests/dwflsyms.c 956Index: elfutils-0.166/tests/dwflsyms.c
957=================================================================== 957===================================================================
958--- elfutils-0.164.orig/tests/dwflsyms.c 958--- elfutils-0.166.orig/tests/dwflsyms.c
959+++ elfutils-0.164/tests/dwflsyms.c 959+++ elfutils-0.166/tests/dwflsyms.c
960@@ -25,7 +25,7 @@ 960@@ -25,7 +25,7 @@
961 #include <stdio.h> 961 #include <stdio.h>
962 #include <stdio_ext.h> 962 #include <stdio_ext.h>
@@ -966,10 +966,10 @@ Index: elfutils-0.164/tests/dwflsyms.c
966 #include <string.h> 966 #include <string.h>
967 967
968 static const char * 968 static const char *
969Index: elfutils-0.164/tests/early-offscn.c 969Index: elfutils-0.166/tests/early-offscn.c
970=================================================================== 970===================================================================
971--- elfutils-0.164.orig/tests/early-offscn.c 971--- elfutils-0.166.orig/tests/early-offscn.c
972+++ elfutils-0.164/tests/early-offscn.c 972+++ elfutils-0.166/tests/early-offscn.c
973@@ -19,7 +19,7 @@ 973@@ -19,7 +19,7 @@
974 #endif 974 #endif
975 975
@@ -979,10 +979,10 @@ Index: elfutils-0.164/tests/early-offscn.c
979 #include <fcntl.h> 979 #include <fcntl.h>
980 #include <gelf.h> 980 #include <gelf.h>
981 #include <stdio.h> 981 #include <stdio.h>
982Index: elfutils-0.164/tests/ecp.c 982Index: elfutils-0.166/tests/ecp.c
983=================================================================== 983===================================================================
984--- elfutils-0.164.orig/tests/ecp.c 984--- elfutils-0.166.orig/tests/ecp.c
985+++ elfutils-0.164/tests/ecp.c 985+++ elfutils-0.166/tests/ecp.c
986@@ -20,7 +20,7 @@ 986@@ -20,7 +20,7 @@
987 #endif 987 #endif
988 988
@@ -992,10 +992,10 @@ Index: elfutils-0.164/tests/ecp.c
992 #include <fcntl.h> 992 #include <fcntl.h>
993 #include <gelf.h> 993 #include <gelf.h>
994 #include <stdlib.h> 994 #include <stdlib.h>
995Index: elfutils-0.164/tests/find-prologues.c 995Index: elfutils-0.166/tests/find-prologues.c
996=================================================================== 996===================================================================
997--- elfutils-0.164.orig/tests/find-prologues.c 997--- elfutils-0.166.orig/tests/find-prologues.c
998+++ elfutils-0.164/tests/find-prologues.c 998+++ elfutils-0.166/tests/find-prologues.c
999@@ -25,7 +25,7 @@ 999@@ -25,7 +25,7 @@
1000 #include <stdio_ext.h> 1000 #include <stdio_ext.h>
1001 #include <locale.h> 1001 #include <locale.h>
@@ -1005,10 +1005,10 @@ Index: elfutils-0.164/tests/find-prologues.c
1005 #include <string.h> 1005 #include <string.h>
1006 #include <fnmatch.h> 1006 #include <fnmatch.h>
1007 1007
1008Index: elfutils-0.164/tests/funcretval.c 1008Index: elfutils-0.166/tests/funcretval.c
1009=================================================================== 1009===================================================================
1010--- elfutils-0.164.orig/tests/funcretval.c 1010--- elfutils-0.166.orig/tests/funcretval.c
1011+++ elfutils-0.164/tests/funcretval.c 1011+++ elfutils-0.166/tests/funcretval.c
1012@@ -25,7 +25,7 @@ 1012@@ -25,7 +25,7 @@
1013 #include <stdio_ext.h> 1013 #include <stdio_ext.h>
1014 #include <locale.h> 1014 #include <locale.h>
@@ -1018,10 +1018,10 @@ Index: elfutils-0.164/tests/funcretval.c
1018 #include <string.h> 1018 #include <string.h>
1019 #include <fnmatch.h> 1019 #include <fnmatch.h>
1020 1020
1021Index: elfutils-0.164/tests/funcscopes.c 1021Index: elfutils-0.166/tests/funcscopes.c
1022=================================================================== 1022===================================================================
1023--- elfutils-0.164.orig/tests/funcscopes.c 1023--- elfutils-0.166.orig/tests/funcscopes.c
1024+++ elfutils-0.164/tests/funcscopes.c 1024+++ elfutils-0.166/tests/funcscopes.c
1025@@ -25,7 +25,7 @@ 1025@@ -25,7 +25,7 @@
1026 #include <stdio_ext.h> 1026 #include <stdio_ext.h>
1027 #include <locale.h> 1027 #include <locale.h>
@@ -1031,10 +1031,10 @@ Index: elfutils-0.164/tests/funcscopes.c
1031 #include <string.h> 1031 #include <string.h>
1032 #include <fnmatch.h> 1032 #include <fnmatch.h>
1033 1033
1034Index: elfutils-0.164/tests/getsrc_die.c 1034Index: elfutils-0.166/tests/getsrc_die.c
1035=================================================================== 1035===================================================================
1036--- elfutils-0.164.orig/tests/getsrc_die.c 1036--- elfutils-0.166.orig/tests/getsrc_die.c
1037+++ elfutils-0.164/tests/getsrc_die.c 1037+++ elfutils-0.166/tests/getsrc_die.c
1038@@ -19,7 +19,7 @@ 1038@@ -19,7 +19,7 @@
1039 #endif 1039 #endif
1040 1040
@@ -1044,10 +1044,10 @@ Index: elfutils-0.164/tests/getsrc_die.c
1044 #include <fcntl.h> 1044 #include <fcntl.h>
1045 #include <inttypes.h> 1045 #include <inttypes.h>
1046 #include <libelf.h> 1046 #include <libelf.h>
1047Index: elfutils-0.164/tests/line2addr.c 1047Index: elfutils-0.166/tests/line2addr.c
1048=================================================================== 1048===================================================================
1049--- elfutils-0.164.orig/tests/line2addr.c 1049--- elfutils-0.166.orig/tests/line2addr.c
1050+++ elfutils-0.164/tests/line2addr.c 1050+++ elfutils-0.166/tests/line2addr.c
1051@@ -26,7 +26,7 @@ 1051@@ -26,7 +26,7 @@
1052 #include <locale.h> 1052 #include <locale.h>
1053 #include <stdlib.h> 1053 #include <stdlib.h>
@@ -1057,10 +1057,10 @@ Index: elfutils-0.164/tests/line2addr.c
1057 1057
1058 1058
1059 static void 1059 static void
1060Index: elfutils-0.164/tests/low_high_pc.c 1060Index: elfutils-0.166/tests/low_high_pc.c
1061=================================================================== 1061===================================================================
1062--- elfutils-0.164.orig/tests/low_high_pc.c 1062--- elfutils-0.166.orig/tests/low_high_pc.c
1063+++ elfutils-0.164/tests/low_high_pc.c 1063+++ elfutils-0.166/tests/low_high_pc.c
1064@@ -25,7 +25,7 @@ 1064@@ -25,7 +25,7 @@
1065 #include <stdio_ext.h> 1065 #include <stdio_ext.h>
1066 #include <locale.h> 1066 #include <locale.h>
@@ -1070,10 +1070,10 @@ Index: elfutils-0.164/tests/low_high_pc.c
1070 #include <string.h> 1070 #include <string.h>
1071 #include <fnmatch.h> 1071 #include <fnmatch.h>
1072 1072
1073Index: elfutils-0.164/tests/md5-sha1-test.c 1073Index: elfutils-0.166/tests/md5-sha1-test.c
1074=================================================================== 1074===================================================================
1075--- elfutils-0.164.orig/tests/md5-sha1-test.c 1075--- elfutils-0.166.orig/tests/md5-sha1-test.c
1076+++ elfutils-0.164/tests/md5-sha1-test.c 1076+++ elfutils-0.166/tests/md5-sha1-test.c
1077@@ -19,7 +19,7 @@ 1077@@ -19,7 +19,7 @@
1078 #endif 1078 #endif
1079 1079
@@ -1083,10 +1083,10 @@ Index: elfutils-0.164/tests/md5-sha1-test.c
1083 1083
1084 #include "md5.h" 1084 #include "md5.h"
1085 #include "sha1.h" 1085 #include "sha1.h"
1086Index: elfutils-0.164/tests/rdwrmmap.c 1086Index: elfutils-0.166/tests/rdwrmmap.c
1087=================================================================== 1087===================================================================
1088--- elfutils-0.164.orig/tests/rdwrmmap.c 1088--- elfutils-0.166.orig/tests/rdwrmmap.c
1089+++ elfutils-0.164/tests/rdwrmmap.c 1089+++ elfutils-0.166/tests/rdwrmmap.c
1090@@ -19,7 +19,7 @@ 1090@@ -19,7 +19,7 @@
1091 #endif 1091 #endif
1092 1092
@@ -1096,10 +1096,10 @@ Index: elfutils-0.164/tests/rdwrmmap.c
1096 #include <stdio.h> 1096 #include <stdio.h>
1097 #include <fcntl.h> 1097 #include <fcntl.h>
1098 #include <unistd.h> 1098 #include <unistd.h>
1099Index: elfutils-0.164/tests/saridx.c 1099Index: elfutils-0.166/tests/saridx.c
1100=================================================================== 1100===================================================================
1101--- elfutils-0.164.orig/tests/saridx.c 1101--- elfutils-0.166.orig/tests/saridx.c
1102+++ elfutils-0.164/tests/saridx.c 1102+++ elfutils-0.166/tests/saridx.c
1103@@ -17,7 +17,7 @@ 1103@@ -17,7 +17,7 @@
1104 1104
1105 #include <config.h> 1105 #include <config.h>
@@ -1109,10 +1109,10 @@ Index: elfutils-0.164/tests/saridx.c
1109 #include <fcntl.h> 1109 #include <fcntl.h>
1110 #include <gelf.h> 1110 #include <gelf.h>
1111 #include <stdio.h> 1111 #include <stdio.h>
1112Index: elfutils-0.164/tests/sectiondump.c 1112Index: elfutils-0.166/tests/sectiondump.c
1113=================================================================== 1113===================================================================
1114--- elfutils-0.164.orig/tests/sectiondump.c 1114--- elfutils-0.166.orig/tests/sectiondump.c
1115+++ elfutils-0.164/tests/sectiondump.c 1115+++ elfutils-0.166/tests/sectiondump.c
1116@@ -18,7 +18,7 @@ 1116@@ -18,7 +18,7 @@
1117 #include <config.h> 1117 #include <config.h>
1118 1118
@@ -1122,10 +1122,10 @@ Index: elfutils-0.164/tests/sectiondump.c
1122 #include <fcntl.h> 1122 #include <fcntl.h>
1123 #include <gelf.h> 1123 #include <gelf.h>
1124 #include <inttypes.h> 1124 #include <inttypes.h>
1125Index: elfutils-0.164/tests/varlocs.c 1125Index: elfutils-0.166/tests/varlocs.c
1126=================================================================== 1126===================================================================
1127--- elfutils-0.164.orig/tests/varlocs.c 1127--- elfutils-0.166.orig/tests/varlocs.c
1128+++ elfutils-0.164/tests/varlocs.c 1128+++ elfutils-0.166/tests/varlocs.c
1129@@ -25,7 +25,7 @@ 1129@@ -25,7 +25,7 @@
1130 #include <dwarf.h> 1130 #include <dwarf.h>
1131 #include <stdio.h> 1131 #include <stdio.h>
@@ -1135,10 +1135,10 @@ Index: elfutils-0.164/tests/varlocs.c
1135 #include <string.h> 1135 #include <string.h>
1136 #include <sys/types.h> 1136 #include <sys/types.h>
1137 #include <sys/stat.h> 1137 #include <sys/stat.h>
1138Index: elfutils-0.164/tests/vdsosyms.c 1138Index: elfutils-0.166/tests/vdsosyms.c
1139=================================================================== 1139===================================================================
1140--- elfutils-0.164.orig/tests/vdsosyms.c 1140--- elfutils-0.166.orig/tests/vdsosyms.c
1141+++ elfutils-0.164/tests/vdsosyms.c 1141+++ elfutils-0.166/tests/vdsosyms.c
1142@@ -18,7 +18,7 @@ 1142@@ -18,7 +18,7 @@
1143 #include <config.h> 1143 #include <config.h>
1144 #include <assert.h> 1144 #include <assert.h>
@@ -1148,10 +1148,10 @@ Index: elfutils-0.164/tests/vdsosyms.c
1148 #include <inttypes.h> 1148 #include <inttypes.h>
1149 #include <stdio.h> 1149 #include <stdio.h>
1150 #include <string.h> 1150 #include <string.h>
1151Index: elfutils-0.164/libelf/elf_getarsym.c 1151Index: elfutils-0.166/libelf/elf_getarsym.c
1152=================================================================== 1152===================================================================
1153--- elfutils-0.164.orig/libelf/elf_getarsym.c 1153--- elfutils-0.166.orig/libelf/elf_getarsym.c
1154+++ elfutils-0.164/libelf/elf_getarsym.c 1154+++ elfutils-0.166/libelf/elf_getarsym.c
1155@@ -302,7 +302,7 @@ elf_getarsym (Elf *elf, size_t *ptr) 1155@@ -302,7 +302,7 @@ elf_getarsym (Elf *elf, size_t *ptr)
1156 arsym[cnt].as_off = (*u32)[cnt]; 1156 arsym[cnt].as_off = (*u32)[cnt];
1157 1157
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch
index 3754c1c361..3754c1c361 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-fix-a-stack-usage-warning.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-fix-a-stack-usage-warning.patch
index 6923bf7053..6923bf7053 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-fix-a-stack-usage-warning.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-fix-a-stack-usage-warning.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-remove-the-unneed-checking.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch
index 5be92d705a..5be92d705a 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/0001-remove-the-unneed-checking.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch
index 72125c9ff0..72125c9ff0 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/0003-Add-mips-n64-relocation-format-hack.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0003-Add-mips-n64-relocation-format-hack.patch
index 14b7985ce8..14b7985ce8 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/0003-Add-mips-n64-relocation-format-hack.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0003-Add-mips-n64-relocation-format-hack.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/aarch64_uio.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/aarch64_uio.patch
index 38dc57befc..38dc57befc 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/aarch64_uio.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/aarch64_uio.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/arm_backend.diff b/meta/recipes-devtools/elfutils/elfutils-0.166/arm_backend.diff
index 9d47f95f26..9d47f95f26 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/arm_backend.diff
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/arm_backend.diff
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch
new file mode 100644
index 0000000000..6c150bb54c
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch
@@ -0,0 +1,41 @@
1From 836a16fe5b5bab4a3afe2c991c104652775ce3a3 Mon Sep 17 00:00:00 2001
2From: David Abdurachmanov <davidlt@cern.ch>
3Date: Mon, 11 Apr 2016 16:00:57 +0200
4Subject: elfcmp: fix self-comparison error with GCC 6
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Noticed with Fedora 24 Alpha, gcc (GCC) 6.0.0 20160406
10(Red Hat 6.0.0-0.20).
11
12elfcmp.c: In function ‘main’:
13elfcmp.c:364:199: error: self-comparison always evaluates
14to false [-Werror=tautological-compare]
15 if (unlikely (name1 == NULL || name2 == NULL
16
17Signed-off-by: David Abdurachmanov <davidlt@cern.ch>
18---
19
20Upstream-Status: Backport
21
22 src/ChangeLog | 4 ++++
23 src/elfcmp.c | 2 +-
24 2 files changed, 5 insertions(+), 1 deletion(-)
25
26diff --git a/src/elfcmp.c b/src/elfcmp.c
27index 852b92f..7b5d39c 100644
28--- a/src/elfcmp.c
29+++ b/src/elfcmp.c
30@@ -368,7 +368,7 @@ main (int argc, char *argv[])
31 && sym1->st_shndx != SHN_UNDEF)
32 || sym1->st_info != sym2->st_info
33 || sym1->st_other != sym2->st_other
34- || sym1->st_shndx != sym1->st_shndx))
35+ || sym1->st_shndx != sym2->st_shndx))
36 {
37 // XXX Do we want to allow reordered symbol tables?
38 symtab_mismatch:
39--
40cgit v0.12
41
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/fixheadercheck.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/fixheadercheck.patch
index 5de3b24c85..5de3b24c85 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/fixheadercheck.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/fixheadercheck.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/hppa_backend.diff b/meta/recipes-devtools/elfutils/elfutils-0.166/hppa_backend.diff
index 45456715a3..45456715a3 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/hppa_backend.diff
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/hppa_backend.diff
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/kfreebsd_path.patch
index ba454ee77c..ba454ee77c 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/kfreebsd_path.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/m68k_backend.diff b/meta/recipes-devtools/elfutils/elfutils-0.166/m68k_backend.diff
index d73855b601..d73855b601 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/m68k_backend.diff
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/m68k_backend.diff
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/mips_backend.diff b/meta/recipes-devtools/elfutils/elfutils-0.166/mips_backend.diff
index de1237be09..de1237be09 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/mips_backend.diff
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/mips_backend.diff
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/mips_readelf_w.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/mips_readelf_w.patch
index 930d6f664e..930d6f664e 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/mips_readelf_w.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/mips_readelf_w.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/shadow.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/shadow.patch
index d31961f94f..d31961f94f 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/shadow.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/shadow.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/testsuite-ignore-elflint.diff b/meta/recipes-devtools/elfutils/elfutils-0.166/testsuite-ignore-elflint.diff
index eae5796de3..eae5796de3 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/testsuite-ignore-elflint.diff
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/testsuite-ignore-elflint.diff
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/uclibc-support.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/uclibc-support.patch
index 966b70fcc4..62999985cc 100644
--- a/meta/recipes-devtools/elfutils/elfutils-0.164/uclibc-support.patch
+++ b/meta/recipes-devtools/elfutils/elfutils-0.166/uclibc-support.patch
@@ -25,11 +25,11 @@ Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
25 libelf/Makefile.am | 5 +++++ 25 libelf/Makefile.am | 5 +++++
26 4 files changed, 23 insertions(+), 1 deletion(-) 26 4 files changed, 23 insertions(+), 1 deletion(-)
27 27
28Index: elfutils-0.164/configure.ac 28Index: elfutils-0.166/configure.ac
29=================================================================== 29===================================================================
30--- elfutils-0.164.orig/configure.ac 30--- elfutils-0.166.orig/configure.ac
31+++ elfutils-0.164/configure.ac 31+++ elfutils-0.166/configure.ac
32@@ -66,6 +66,14 @@ AS_IF([test "$use_locks" = yes], 32@@ -79,6 +79,14 @@ AS_IF([test "$use_locks" = yes],
33 33
34 AH_TEMPLATE([USE_LOCKS], [Defined if libraries should be thread-safe.]) 34 AH_TEMPLATE([USE_LOCKS], [Defined if libraries should be thread-safe.])
35 35
@@ -44,7 +44,7 @@ Index: elfutils-0.164/configure.ac
44 AC_PROG_CC 44 AC_PROG_CC
45 AC_PROG_RANLIB 45 AC_PROG_RANLIB
46 AC_PROG_YACC 46 AC_PROG_YACC
47@@ -291,18 +299,13 @@ AC_LINK_IFELSE( 47@@ -347,18 +355,13 @@ AC_LINK_IFELSE(
48 ) 48 )
49 49
50 dnl If our libc doesn't provide argp, then test for libargp 50 dnl If our libc doesn't provide argp, then test for libargp
@@ -70,10 +70,10 @@ Index: elfutils-0.164/configure.ac
70 AC_SUBST([argp_LDADD]) 70 AC_SUBST([argp_LDADD])
71 71
72 dnl The directories with content. 72 dnl The directories with content.
73Index: elfutils-0.164/libcpu/Makefile.am 73Index: elfutils-0.166/libcpu/Makefile.am
74=================================================================== 74===================================================================
75--- elfutils-0.164.orig/libcpu/Makefile.am 75--- elfutils-0.166.orig/libcpu/Makefile.am
76+++ elfutils-0.164/libcpu/Makefile.am 76+++ elfutils-0.166/libcpu/Makefile.am
77@@ -80,6 +80,10 @@ i386_parse_CFLAGS = -DNMNES="`wc -l < i3 77@@ -80,6 +80,10 @@ i386_parse_CFLAGS = -DNMNES="`wc -l < i3
78 i386_lex.o: i386_parse.h 78 i386_lex.o: i386_parse.h
79 i386_gendis_LDADD = $(libeu) -lm 79 i386_gendis_LDADD = $(libeu) -lm
@@ -85,10 +85,10 @@ Index: elfutils-0.164/libcpu/Makefile.am
85 i386_parse.h: i386_parse.c ; 85 i386_parse.h: i386_parse.c ;
86 86
87 EXTRA_DIST = defs/i386 87 EXTRA_DIST = defs/i386
88Index: elfutils-0.164/libdw/Makefile.am 88Index: elfutils-0.166/libdw/Makefile.am
89=================================================================== 89===================================================================
90--- elfutils-0.164.orig/libdw/Makefile.am 90--- elfutils-0.166.orig/libdw/Makefile.am
91+++ elfutils-0.164/libdw/Makefile.am 91+++ elfutils-0.166/libdw/Makefile.am
92@@ -102,6 +102,11 @@ endif 92@@ -102,6 +102,11 @@ endif
93 libdw_pic_a_SOURCES = 93 libdw_pic_a_SOURCES =
94 am_libdw_pic_a_OBJECTS = $(libdw_a_SOURCES:.c=.os) 94 am_libdw_pic_a_OBJECTS = $(libdw_a_SOURCES:.c=.os)
@@ -105,21 +105,20 @@ Index: elfutils-0.164/libdw/Makefile.am
105 -Wl,--enable-new-dtags,-rpath,$(pkglibdir) \ 105 -Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
106 -Wl,--version-script,$<,--no-undefined \ 106 -Wl,--version-script,$<,--no-undefined \
107 -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\ 107 -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
108- -ldl $(argp_LDADD) $(zip_LIBS) 108- -ldl -lz $(argp_LDADD) $(zip_LIBS)
109+ -ldl $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS) 109+ -ldl -lz $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS)
110 @$(textrel_check) 110 @$(textrel_check)
111 $(AM_V_at)ln -fs $@ $@.$(VERSION) 111 $(AM_V_at)ln -fs $@ $@.$(VERSION)
112 112
113Index: elfutils-0.164/libelf/Makefile.am 113Index: elfutils-0.166/libelf/Makefile.am
114=================================================================== 114===================================================================
115--- elfutils-0.164.orig/libelf/Makefile.am 115--- elfutils-0.166.orig/libelf/Makefile.am
116+++ elfutils-0.164/libelf/Makefile.am 116+++ elfutils-0.166/libelf/Makefile.am
117@@ -93,7 +93,12 @@ libelf_a_SOURCES = elf_version.c elf_has 117@@ -96,6 +96,11 @@ libelf_pic_a_SOURCES =
118 libelf_pic_a_SOURCES =
119 am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os) 118 am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os)
120 119
120 libelf_so_LDLIBS = -lz
121+ 121+
122 libelf_so_LDLIBS =
123+if USE_UCLIBC 122+if USE_UCLIBC
124+libelf_so_LDLIBS += -lintl 123+libelf_so_LDLIBS += -lintl
125+endif 124+endif
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.164.bb b/meta/recipes-devtools/elfutils/elfutils_0.166.bb
index 4964c05078..5c436d3864 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.164.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.166.bb
@@ -7,9 +7,8 @@ DEPENDS = "libtool bzip2 zlib virtual/libintl"
7DEPENDS_append_libc-musl = " argp-standalone fts " 7DEPENDS_append_libc-musl = " argp-standalone fts "
8 8
9SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/${PV}/${BP}.tar.bz2" 9SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/${PV}/${BP}.tar.bz2"
10 10SRC_URI[md5sum] = "d4e462b7891915dc5326bccefa2024ff"
11SRC_URI[md5sum] = "2e4536c1c48034f188a80789a59114d8" 11SRC_URI[sha256sum] = "3c056914c8a438b210be0d790463b960fc79d234c3f05ce707cbff80e94cba30"
12SRC_URI[sha256sum] = "9683c025928a12d06b7fe812928aa6235249e22d197d086f7084606a48165900"
13 12
14SRC_URI += "\ 13SRC_URI += "\
15 file://dso-link-change.patch \ 14 file://dso-link-change.patch \
@@ -36,6 +35,7 @@ SRC_URI += "\
36 file://0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \ 35 file://0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \
37 file://0003-Add-mips-n64-relocation-format-hack.patch \ 36 file://0003-Add-mips-n64-relocation-format-hack.patch \
38 file://uclibc-support.patch \ 37 file://uclibc-support.patch \
38 file://elfcmp-fix-self-comparision.patch \
39" 39"
40SRC_URI_append_libc-musl = " file://0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch " 40SRC_URI_append_libc-musl = " file://0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch "
41 41