summaryrefslogtreecommitdiff
path: root/meta
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:40:51 +0100
commit071b6a0c3cdeb3635a8ccfbc708573723308dd68 (patch)
treeab2fa605fdcb5737f5a163fa7fde39aa14e02fd2 /meta
parent3fdecff96dd7516605ec9248b2a39de4db81306f (diff)
downloadopenembedded-core-071b6a0c3cdeb3635a8ccfbc708573723308dd68.tar.gz
openembedded-core-071b6a0c3cdeb3635a8ccfbc708573723308dd68.tar.bz2
openembedded-core-071b6a0c3cdeb3635a8ccfbc708573723308dd68.zip
elfutils: Upgrade to 0.166
Has many fixes for compiling it with gcc-6 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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
tests/vdsosyms.c | 2 +-
77 files changed, 109 insertions(+), 73 deletions(-)
-Index: elfutils-0.164/Makefile.am
+Index: elfutils-0.166/Makefile.am
===================================================================
---- elfutils-0.164.orig/Makefile.am
-+++ elfutils-0.164/Makefile.am
-@@ -24,7 +24,7 @@ pkginclude_HEADERS = version.h
+--- elfutils-0.166.orig/Makefile.am
++++ elfutils-0.166/Makefile.am
+@@ -28,7 +28,7 @@ pkginclude_HEADERS = version.h
# Add doc back when we have some real content.
SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libcpu libasm \
@@ -100,10 +100,10 @@ Index: elfutils-0.164/Makefile.am
EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
COPYING COPYING-GPLV2 COPYING-LGPLV3
-Index: elfutils-0.164/lib/color.c
+Index: elfutils-0.166/lib/color.c
===================================================================
---- elfutils-0.164.orig/lib/color.c
-+++ elfutils-0.164/lib/color.c
+--- elfutils-0.166.orig/lib/color.c
++++ elfutils-0.166/lib/color.c
@@ -32,7 +32,7 @@
#endif
@@ -113,10 +113,10 @@ Index: elfutils-0.164/lib/color.c
#include <libintl.h>
#include <stdlib.h>
#include <string.h>
-Index: elfutils-0.164/lib/crc32_file.c
+Index: elfutils-0.166/lib/crc32_file.c
===================================================================
---- elfutils-0.164.orig/lib/crc32_file.c
-+++ elfutils-0.164/lib/crc32_file.c
+--- elfutils-0.166.orig/lib/crc32_file.c
++++ elfutils-0.166/lib/crc32_file.c
@@ -30,12 +30,14 @@
# include <config.h>
#endif
@@ -133,10 +133,10 @@ Index: elfutils-0.164/lib/crc32_file.c
int
crc32_file (int fd, uint32_t *resp)
{
-Index: elfutils-0.164/lib/fixedsizehash.h
+Index: elfutils-0.166/lib/fixedsizehash.h
===================================================================
---- elfutils-0.164.orig/lib/fixedsizehash.h
-+++ elfutils-0.164/lib/fixedsizehash.h
+--- elfutils-0.166.orig/lib/fixedsizehash.h
++++ elfutils-0.166/lib/fixedsizehash.h
@@ -30,12 +30,12 @@
#include <errno.h>
#include <stdlib.h>
@@ -152,10 +152,10 @@ Index: elfutils-0.164/lib/fixedsizehash.h
/* Before including this file the following macros must be defined:
-Index: elfutils-0.164/lib/system.h
+Index: elfutils-0.166/lib/system.h
===================================================================
---- elfutils-0.164.orig/lib/system.h
-+++ elfutils-0.164/lib/system.h
+--- elfutils-0.166.orig/lib/system.h
++++ elfutils-0.166/lib/system.h
@@ -49,6 +49,16 @@
#else
# error "Unknown byte order"
@@ -173,10 +173,10 @@ Index: elfutils-0.164/lib/system.h
extern void *xmalloc (size_t) __attribute__ ((__malloc__));
extern void *xcalloc (size_t, size_t) __attribute__ ((__malloc__));
-Index: elfutils-0.164/lib/xmalloc.c
+Index: elfutils-0.166/lib/xmalloc.c
===================================================================
---- elfutils-0.164.orig/lib/xmalloc.c
-+++ elfutils-0.164/lib/xmalloc.c
+--- elfutils-0.166.orig/lib/xmalloc.c
++++ elfutils-0.166/lib/xmalloc.c
@@ -30,7 +30,7 @@
# include <config.h>
#endif
@@ -186,10 +186,10 @@ Index: elfutils-0.164/lib/xmalloc.c
#include <libintl.h>
#include <stddef.h>
#include <stdlib.h>
-Index: elfutils-0.164/libasm/asm_end.c
+Index: elfutils-0.166/libasm/asm_end.c
===================================================================
---- elfutils-0.164.orig/libasm/asm_end.c
-+++ elfutils-0.164/libasm/asm_end.c
+--- elfutils-0.166.orig/libasm/asm_end.c
++++ elfutils-0.166/libasm/asm_end.c
@@ -32,7 +32,7 @@
#endif
@@ -199,10 +199,10 @@ Index: elfutils-0.164/libasm/asm_end.c
#include <libintl.h>
#include <stdio.h>
#include <stdlib.h>
-Index: elfutils-0.164/libasm/asm_newscn.c
+Index: elfutils-0.166/libasm/asm_newscn.c
===================================================================
---- elfutils-0.164.orig/libasm/asm_newscn.c
-+++ elfutils-0.164/libasm/asm_newscn.c
+--- elfutils-0.166.orig/libasm/asm_newscn.c
++++ elfutils-0.166/libasm/asm_newscn.c
@@ -32,7 +32,7 @@
#endif
@@ -212,10 +212,10 @@ Index: elfutils-0.164/libasm/asm_newscn.c
#include <libintl.h>
#include <stdlib.h>
#include <string.h>
-Index: elfutils-0.164/libcpu/i386_gendis.c
+Index: elfutils-0.166/libcpu/i386_gendis.c
===================================================================
---- elfutils-0.164.orig/libcpu/i386_gendis.c
-+++ elfutils-0.164/libcpu/i386_gendis.c
+--- elfutils-0.166.orig/libcpu/i386_gendis.c
++++ elfutils-0.166/libcpu/i386_gendis.c
@@ -31,7 +31,7 @@
# include <config.h>
#endif
@@ -225,11 +225,11 @@ Index: elfutils-0.164/libcpu/i386_gendis.c
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-Index: elfutils-0.164/libcpu/i386_lex.c
+Index: elfutils-0.166/libcpu/i386_lex.c
===================================================================
---- elfutils-0.164.orig/libcpu/i386_lex.c
-+++ elfutils-0.164/libcpu/i386_lex.c
-@@ -571,7 +571,7 @@ char *i386_text;
+--- elfutils-0.166.orig/libcpu/i386_lex.c
++++ elfutils-0.166/libcpu/i386_lex.c
+@@ -578,7 +578,7 @@ char *i386_text;
#endif
#include <ctype.h>
@@ -238,10 +238,10 @@ Index: elfutils-0.164/libcpu/i386_lex.c
#include <libintl.h>
#include <system.h>
-Index: elfutils-0.164/libcpu/i386_parse.c
+Index: elfutils-0.166/libcpu/i386_parse.c
===================================================================
---- elfutils-0.164.orig/libcpu/i386_parse.c
-+++ elfutils-0.164/libcpu/i386_parse.c
+--- elfutils-0.166.orig/libcpu/i386_parse.c
++++ elfutils-0.166/libcpu/i386_parse.c
@@ -107,7 +107,7 @@
#include <assert.h>
#include <ctype.h>
@@ -251,23 +251,23 @@ Index: elfutils-0.164/libcpu/i386_parse.c
#include <inttypes.h>
#include <libintl.h>
#include <math.h>
-Index: elfutils-0.164/libdw/Makefile.am
+Index: elfutils-0.166/libdw/Makefile.am
===================================================================
---- elfutils-0.164.orig/libdw/Makefile.am
-+++ elfutils-0.164/libdw/Makefile.am
+--- elfutils-0.166.orig/libdw/Makefile.am
++++ elfutils-0.166/libdw/Makefile.am
@@ -117,7 +117,7 @@ libdw.so$(EXEEXT): $(srcdir)/libdw.map l
-Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
-Wl,--version-script,$<,--no-undefined \
-Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
-- -ldl $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS)
-+ -ldl $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS) -lfts -largp
+- -ldl -lz $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS)
++ -ldl -lz $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS) -lfts -largp
@$(textrel_check)
$(AM_V_at)ln -fs $@ $@.$(VERSION)
-Index: elfutils-0.164/libdw/libdw_alloc.c
+Index: elfutils-0.166/libdw/libdw_alloc.c
===================================================================
---- elfutils-0.164.orig/libdw/libdw_alloc.c
-+++ elfutils-0.164/libdw/libdw_alloc.c
+--- elfutils-0.166.orig/libdw/libdw_alloc.c
++++ elfutils-0.166/libdw/libdw_alloc.c
@@ -31,11 +31,12 @@
# include <config.h>
#endif
@@ -282,11 +282,11 @@ Index: elfutils-0.164/libdw/libdw_alloc.c
void *
-Index: elfutils-0.164/libdwfl/Makefile.am
+Index: elfutils-0.166/libdwfl/Makefile.am
===================================================================
---- elfutils-0.164.orig/libdwfl/Makefile.am
-+++ elfutils-0.164/libdwfl/Makefile.am
-@@ -86,6 +86,8 @@ libelf = ../libelf/libelf.so
+--- elfutils-0.166.orig/libdwfl/Makefile.am
++++ elfutils-0.166/libdwfl/Makefile.am
+@@ -84,6 +84,8 @@ libelf = ../libelf/libelf.so
libebl = ../libebl/libebl.a
libeu = ../lib/libeu.a
@@ -295,10 +295,10 @@ Index: elfutils-0.164/libdwfl/Makefile.am
libdwfl_pic_a_SOURCES =
am_libdwfl_pic_a_OBJECTS = $(libdwfl_a_SOURCES:.c=.os)
-Index: elfutils-0.164/libdwfl/dwfl_build_id_find_elf.c
+Index: elfutils-0.166/libdwfl/dwfl_build_id_find_elf.c
===================================================================
---- elfutils-0.164.orig/libdwfl/dwfl_build_id_find_elf.c
-+++ elfutils-0.164/libdwfl/dwfl_build_id_find_elf.c
+--- elfutils-0.166.orig/libdwfl/dwfl_build_id_find_elf.c
++++ elfutils-0.166/libdwfl/dwfl_build_id_find_elf.c
@@ -27,6 +27,7 @@
not, see <http://www.gnu.org/licenses/>. */
@@ -316,10 +316,10 @@ Index: elfutils-0.164/libdwfl/dwfl_build_id_find_elf.c
if (*file_name == NULL)
{
*file_name = name;
-Index: elfutils-0.164/libdwfl/dwfl_error.c
+Index: elfutils-0.166/libdwfl/dwfl_error.c
===================================================================
---- elfutils-0.164.orig/libdwfl/dwfl_error.c
-+++ elfutils-0.164/libdwfl/dwfl_error.c
+--- elfutils-0.166.orig/libdwfl/dwfl_error.c
++++ elfutils-0.166/libdwfl/dwfl_error.c
@@ -140,6 +140,7 @@ __libdwfl_seterrno (Dwfl_Error error)
const char *
dwfl_errmsg (int error)
@@ -338,10 +338,10 @@ Index: elfutils-0.164/libdwfl/dwfl_error.c
case OTHER_ERROR (LIBELF):
return elf_errmsg (error & 0xffff);
case OTHER_ERROR (LIBDW):
-Index: elfutils-0.164/libdwfl/dwfl_module_getdwarf.c
+Index: elfutils-0.166/libdwfl/dwfl_module_getdwarf.c
===================================================================
---- elfutils-0.164.orig/libdwfl/dwfl_module_getdwarf.c
-+++ elfutils-0.164/libdwfl/dwfl_module_getdwarf.c
+--- elfutils-0.166.orig/libdwfl/dwfl_module_getdwarf.c
++++ elfutils-0.166/libdwfl/dwfl_module_getdwarf.c
@@ -31,6 +31,7 @@
#include <fcntl.h>
#include <string.h>
@@ -350,11 +350,11 @@ Index: elfutils-0.164/libdwfl/dwfl_module_getdwarf.c
#include "../libdw/libdwP.h" /* DWARF_E_* values are here. */
#include "../libelf/libelfP.h"
-Index: elfutils-0.164/libdwfl/find-debuginfo.c
+Index: elfutils-0.166/libdwfl/find-debuginfo.c
===================================================================
---- elfutils-0.164.orig/libdwfl/find-debuginfo.c
-+++ elfutils-0.164/libdwfl/find-debuginfo.c
-@@ -372,7 +372,7 @@ dwfl_standard_find_debuginfo (Dwfl_Modul
+--- elfutils-0.166.orig/libdwfl/find-debuginfo.c
++++ elfutils-0.166/libdwfl/find-debuginfo.c
+@@ -385,7 +385,7 @@ dwfl_standard_find_debuginfo (Dwfl_Modul
/* If FILE_NAME is a symlink, the debug file might be associated
with the symlink target name instead. */
@@ -363,10 +363,10 @@ Index: elfutils-0.164/libdwfl/find-debuginfo.c
if (canon != NULL && strcmp (file_name, canon))
fd = find_debuginfo_in_path (mod, canon,
debuglink_file, debuglink_crc,
-Index: elfutils-0.164/libdwfl/libdwfl_crc32_file.c
+Index: elfutils-0.166/libdwfl/libdwfl_crc32_file.c
===================================================================
---- elfutils-0.164.orig/libdwfl/libdwfl_crc32_file.c
-+++ elfutils-0.164/libdwfl/libdwfl_crc32_file.c
+--- elfutils-0.166.orig/libdwfl/libdwfl_crc32_file.c
++++ elfutils-0.166/libdwfl/libdwfl_crc32_file.c
@@ -31,6 +31,16 @@
#define crc32_file attribute_hidden __libdwfl_crc32_file
@@ -384,10 +384,10 @@ Index: elfutils-0.164/libdwfl/libdwfl_crc32_file.c
#define LIB_SYSTEM_H 1
#include <libdwflP.h>
#include "../lib/crc32_file.c"
-Index: elfutils-0.164/libdwfl/linux-kernel-modules.c
+Index: elfutils-0.166/libdwfl/linux-kernel-modules.c
===================================================================
---- elfutils-0.164.orig/libdwfl/linux-kernel-modules.c
-+++ elfutils-0.164/libdwfl/linux-kernel-modules.c
+--- elfutils-0.166.orig/libdwfl/linux-kernel-modules.c
++++ elfutils-0.166/libdwfl/linux-kernel-modules.c
@@ -34,6 +34,7 @@
#include <config.h>
@@ -396,10 +396,10 @@ Index: elfutils-0.164/libdwfl/linux-kernel-modules.c
#include <inttypes.h>
#include <errno.h>
#include <stdio.h>
-Index: elfutils-0.164/libebl/eblopenbackend.c
+Index: elfutils-0.166/libebl/eblopenbackend.c
===================================================================
---- elfutils-0.164.orig/libebl/eblopenbackend.c
-+++ elfutils-0.164/libebl/eblopenbackend.c
+--- elfutils-0.166.orig/libebl/eblopenbackend.c
++++ elfutils-0.166/libebl/eblopenbackend.c
@@ -32,7 +32,7 @@
#include <assert.h>
@@ -409,10 +409,10 @@ Index: elfutils-0.164/libebl/eblopenbackend.c
#include <libelfP.h>
#include <dwarf.h>
#include <stdlib.h>
-Index: elfutils-0.164/libebl/eblwstrtab.c
+Index: elfutils-0.166/libebl/eblwstrtab.c
===================================================================
---- elfutils-0.164.orig/libebl/eblwstrtab.c
-+++ elfutils-0.164/libebl/eblwstrtab.c
+--- elfutils-0.166.orig/libebl/eblwstrtab.c
++++ elfutils-0.166/libebl/eblwstrtab.c
@@ -305,7 +305,7 @@ copystrings (struct Ebl_WStrent *nodep,
/* Process the current node. */
@@ -422,10 +422,10 @@ Index: elfutils-0.164/libebl/eblwstrtab.c
*offsetp += nodep->len * sizeof (wchar_t);
for (subs = nodep->next; subs != NULL; subs = subs->next)
-Index: elfutils-0.164/libelf/elf.h
+Index: elfutils-0.166/libelf/elf.h
===================================================================
---- elfutils-0.164.orig/libelf/elf.h
-+++ elfutils-0.164/libelf/elf.h
+--- elfutils-0.166.orig/libelf/elf.h
++++ elfutils-0.166/libelf/elf.h
@@ -21,7 +21,9 @@
#include <features.h>
@@ -437,7 +437,7 @@ Index: elfutils-0.164/libelf/elf.h
/* Standard ELF types. */
-@@ -3552,7 +3554,8 @@ enum
+@@ -3591,7 +3593,8 @@ enum
#define R_TILEGX_NUM 130
@@ -448,10 +448,10 @@ Index: elfutils-0.164/libelf/elf.h
+#endif
#endif /* elf.h */
-Index: elfutils-0.164/libelf/libelf.h
+Index: elfutils-0.166/libelf/libelf.h
===================================================================
---- elfutils-0.164.orig/libelf/libelf.h
-+++ elfutils-0.164/libelf/libelf.h
+--- elfutils-0.166.orig/libelf/libelf.h
++++ elfutils-0.166/libelf/libelf.h
@@ -29,6 +29,7 @@
#ifndef _LIBELF_H
#define _LIBELF_H 1
@@ -460,10 +460,10 @@ Index: elfutils-0.164/libelf/libelf.h
#include <stdint.h>
#include <sys/types.h>
-Index: elfutils-0.164/libelf/libelfP.h
+Index: elfutils-0.166/libelf/libelfP.h
===================================================================
---- elfutils-0.164.orig/libelf/libelfP.h
-+++ elfutils-0.164/libelf/libelfP.h
+--- elfutils-0.166.orig/libelf/libelfP.h
++++ elfutils-0.166/libelf/libelfP.h
@@ -36,6 +36,7 @@
#include <ar.h>
@@ -471,11 +471,11 @@ Index: elfutils-0.164/libelf/libelfP.h
+#include <libelf.h>
#include <errno.h>
- #include <stdint.h>
-Index: elfutils-0.164/src/addr2line.c
+ #include <stdbool.h>
+Index: elfutils-0.166/src/addr2line.c
===================================================================
---- elfutils-0.164.orig/src/addr2line.c
-+++ elfutils-0.164/src/addr2line.c
+--- elfutils-0.166.orig/src/addr2line.c
++++ elfutils-0.166/src/addr2line.c
@@ -23,7 +23,7 @@
#include <argp.h>
#include <assert.h>
@@ -485,10 +485,10 @@ Index: elfutils-0.164/src/addr2line.c
#include <fcntl.h>
#include <inttypes.h>
#include <libdwfl.h>
-Index: elfutils-0.164/src/ar.c
+Index: elfutils-0.166/src/ar.c
===================================================================
---- elfutils-0.164.orig/src/ar.c
-+++ elfutils-0.164/src/ar.c
+--- elfutils-0.166.orig/src/ar.c
++++ elfutils-0.166/src/ar.c
@@ -22,7 +22,7 @@
#include <argp.h>
@@ -498,10 +498,10 @@ Index: elfutils-0.164/src/ar.c
#include <fcntl.h>
#include <gelf.h>
#include <libintl.h>
-Index: elfutils-0.164/src/arlib.c
+Index: elfutils-0.166/src/arlib.c
===================================================================
---- elfutils-0.164.orig/src/arlib.c
-+++ elfutils-0.164/src/arlib.c
+--- elfutils-0.166.orig/src/arlib.c
++++ elfutils-0.166/src/arlib.c
@@ -21,7 +21,7 @@
#endif
@@ -511,10 +511,10 @@ Index: elfutils-0.164/src/arlib.c
#include <gelf.h>
#include <libintl.h>
#include <stdio.h>
-Index: elfutils-0.164/src/arlib2.c
+Index: elfutils-0.166/src/arlib2.c
===================================================================
---- elfutils-0.164.orig/src/arlib2.c
-+++ elfutils-0.164/src/arlib2.c
+--- elfutils-0.166.orig/src/arlib2.c
++++ elfutils-0.166/src/arlib2.c
@@ -20,7 +20,7 @@
# include <config.h>
#endif
@@ -524,10 +524,10 @@ Index: elfutils-0.164/src/arlib2.c
#include <libintl.h>
#include <limits.h>
#include <string.h>
-Index: elfutils-0.164/src/elfcmp.c
+Index: elfutils-0.166/src/elfcmp.c
===================================================================
---- elfutils-0.164.orig/src/elfcmp.c
-+++ elfutils-0.164/src/elfcmp.c
+--- elfutils-0.166.orig/src/elfcmp.c
++++ elfutils-0.166/src/elfcmp.c
@@ -23,7 +23,7 @@
#include <argp.h>
#include <assert.h>
@@ -537,10 +537,10 @@ Index: elfutils-0.164/src/elfcmp.c
#include <fcntl.h>
#include <locale.h>
#include <libintl.h>
-Index: elfutils-0.164/src/elflint.c
+Index: elfutils-0.166/src/elflint.c
===================================================================
---- elfutils-0.164.orig/src/elflint.c
-+++ elfutils-0.164/src/elflint.c
+--- elfutils-0.166.orig/src/elflint.c
++++ elfutils-0.166/src/elflint.c
@@ -24,7 +24,7 @@
#include <assert.h>
#include <byteswap.h>
@@ -550,10 +550,10 @@ Index: elfutils-0.164/src/elflint.c
#include <fcntl.h>
#include <gelf.h>
#include <inttypes.h>
-Index: elfutils-0.164/src/findtextrel.c
+Index: elfutils-0.166/src/findtextrel.c
===================================================================
---- elfutils-0.164.orig/src/findtextrel.c
-+++ elfutils-0.164/src/findtextrel.c
+--- elfutils-0.166.orig/src/findtextrel.c
++++ elfutils-0.166/src/findtextrel.c
@@ -23,7 +23,7 @@
#include <argp.h>
#include <assert.h>
@@ -563,10 +563,10 @@ Index: elfutils-0.164/src/findtextrel.c
#include <fcntl.h>
#include <gelf.h>
#include <libdw.h>
-Index: elfutils-0.164/src/i386_ld.c
+Index: elfutils-0.166/src/i386_ld.c
===================================================================
---- elfutils-0.164.orig/src/i386_ld.c
-+++ elfutils-0.164/src/i386_ld.c
+--- elfutils-0.166.orig/src/i386_ld.c
++++ elfutils-0.166/src/i386_ld.c
@@ -20,7 +20,7 @@
#endif
@@ -576,10 +576,10 @@ Index: elfutils-0.164/src/i386_ld.c
#include <libintl.h>
#include <stdlib.h>
#include <string.h>
-Index: elfutils-0.164/src/ld.c
+Index: elfutils-0.166/src/ld.c
===================================================================
---- elfutils-0.164.orig/src/ld.c
-+++ elfutils-0.164/src/ld.c
+--- elfutils-0.166.orig/src/ld.c
++++ elfutils-0.166/src/ld.c
@@ -21,7 +21,7 @@
#include <argp.h>
@@ -589,10 +589,10 @@ Index: elfutils-0.164/src/ld.c
#include <fcntl.h>
#include <libelf.h>
#include <libintl.h>
-Index: elfutils-0.164/src/ldgeneric.c
+Index: elfutils-0.166/src/ldgeneric.c
===================================================================
---- elfutils-0.164.orig/src/ldgeneric.c
-+++ elfutils-0.164/src/ldgeneric.c
+--- elfutils-0.166.orig/src/ldgeneric.c
++++ elfutils-0.166/src/ldgeneric.c
@@ -23,7 +23,7 @@
#include <ctype.h>
#include <dlfcn.h>
@@ -602,11 +602,11 @@ Index: elfutils-0.164/src/ldgeneric.c
#include <fcntl.h>
#include <fnmatch.h>
#include <gelf.h>
-Index: elfutils-0.164/src/ldlex.c
+Index: elfutils-0.166/src/ldlex.c
===================================================================
---- elfutils-0.164.orig/src/ldlex.c
-+++ elfutils-0.164/src/ldlex.c
-@@ -1099,7 +1099,7 @@ char *ldtext;
+--- elfutils-0.166.orig/src/ldlex.c
++++ elfutils-0.166/src/ldlex.c
+@@ -1106,7 +1106,7 @@ char *ldtext;
#include <assert.h>
#include <ctype.h>
#include <elf.h>
@@ -615,10 +615,10 @@ Index: elfutils-0.164/src/ldlex.c
#include <inttypes.h>
#include <libintl.h>
#include <stdbool.h>
-Index: elfutils-0.164/src/ldscript.c
+Index: elfutils-0.166/src/ldscript.c
===================================================================
---- elfutils-0.164.orig/src/ldscript.c
-+++ elfutils-0.164/src/ldscript.c
+--- elfutils-0.166.orig/src/ldscript.c
++++ elfutils-0.166/src/ldscript.c
@@ -95,7 +95,7 @@
#endif
@@ -628,10 +628,10 @@ Index: elfutils-0.164/src/ldscript.c
#include <libintl.h>
#include <stdbool.h>
#include <stdint.h>
-Index: elfutils-0.164/src/nm.c
+Index: elfutils-0.166/src/nm.c
===================================================================
---- elfutils-0.164.orig/src/nm.c
-+++ elfutils-0.164/src/nm.c
+--- elfutils-0.166.orig/src/nm.c
++++ elfutils-0.166/src/nm.c
@@ -26,7 +26,7 @@
#include <ctype.h>
#include <dwarf.h>
@@ -641,10 +641,10 @@ Index: elfutils-0.164/src/nm.c
#include <fcntl.h>
#include <gelf.h>
#include <inttypes.h>
-Index: elfutils-0.164/src/objdump.c
+Index: elfutils-0.166/src/objdump.c
===================================================================
---- elfutils-0.164.orig/src/objdump.c
-+++ elfutils-0.164/src/objdump.c
+--- elfutils-0.166.orig/src/objdump.c
++++ elfutils-0.166/src/objdump.c
@@ -21,7 +21,7 @@
#endif
@@ -654,10 +654,10 @@ Index: elfutils-0.164/src/objdump.c
#include <fcntl.h>
#include <inttypes.h>
#include <libintl.h>
-Index: elfutils-0.164/src/ranlib.c
+Index: elfutils-0.166/src/ranlib.c
===================================================================
---- elfutils-0.164.orig/src/ranlib.c
-+++ elfutils-0.164/src/ranlib.c
+--- elfutils-0.166.orig/src/ranlib.c
++++ elfutils-0.166/src/ranlib.c
@@ -24,7 +24,7 @@
#include <argp.h>
#include <assert.h>
@@ -667,10 +667,10 @@ Index: elfutils-0.164/src/ranlib.c
#include <fcntl.h>
#include <gelf.h>
#include <libintl.h>
-Index: elfutils-0.164/src/readelf.c
+Index: elfutils-0.166/src/readelf.c
===================================================================
---- elfutils-0.164.orig/src/readelf.c
-+++ elfutils-0.164/src/readelf.c
+--- elfutils-0.166.orig/src/readelf.c
++++ elfutils-0.166/src/readelf.c
@@ -25,7 +25,7 @@
#include <ctype.h>
#include <dwarf.h>
@@ -680,10 +680,10 @@ Index: elfutils-0.164/src/readelf.c
#include <fcntl.h>
#include <gelf.h>
#include <inttypes.h>
-Index: elfutils-0.164/src/size.c
+Index: elfutils-0.166/src/size.c
===================================================================
---- elfutils-0.164.orig/src/size.c
-+++ elfutils-0.164/src/size.c
+--- elfutils-0.166.orig/src/size.c
++++ elfutils-0.166/src/size.c
@@ -21,7 +21,7 @@
#endif
@@ -693,10 +693,10 @@ Index: elfutils-0.164/src/size.c
#include <fcntl.h>
#include <gelf.h>
#include <inttypes.h>
-Index: elfutils-0.164/src/stack.c
+Index: elfutils-0.166/src/stack.c
===================================================================
---- elfutils-0.164.orig/src/stack.c
-+++ elfutils-0.164/src/stack.c
+--- elfutils-0.166.orig/src/stack.c
++++ elfutils-0.166/src/stack.c
@@ -18,7 +18,7 @@
#include <config.h>
#include <assert.h>
@@ -706,10 +706,10 @@ Index: elfutils-0.164/src/stack.c
#include <stdlib.h>
#include <inttypes.h>
#include <stdio.h>
-Index: elfutils-0.164/src/strings.c
+Index: elfutils-0.166/src/strings.c
===================================================================
---- elfutils-0.164.orig/src/strings.c
-+++ elfutils-0.164/src/strings.c
+--- elfutils-0.166.orig/src/strings.c
++++ elfutils-0.166/src/strings.c
@@ -25,7 +25,7 @@
#include <ctype.h>
#include <endian.h>
@@ -719,10 +719,10 @@ Index: elfutils-0.164/src/strings.c
#include <fcntl.h>
#include <gelf.h>
#include <inttypes.h>
-Index: elfutils-0.164/src/strip.c
+Index: elfutils-0.166/src/strip.c
===================================================================
---- elfutils-0.164.orig/src/strip.c
-+++ elfutils-0.164/src/strip.c
+--- elfutils-0.166.orig/src/strip.c
++++ elfutils-0.166/src/strip.c
@@ -24,7 +24,7 @@
#include <assert.h>
#include <byteswap.h>
@@ -732,10 +732,10 @@ Index: elfutils-0.164/src/strip.c
#include <fcntl.h>
#include <gelf.h>
#include <libelf.h>
-Index: elfutils-0.164/src/unstrip.c
+Index: elfutils-0.166/src/unstrip.c
===================================================================
---- elfutils-0.164.orig/src/unstrip.c
-+++ elfutils-0.164/src/unstrip.c
+--- elfutils-0.166.orig/src/unstrip.c
++++ elfutils-0.166/src/unstrip.c
@@ -31,7 +31,7 @@
#include <argp.h>
#include <assert.h>
@@ -745,10 +745,10 @@ Index: elfutils-0.164/src/unstrip.c
#include <fcntl.h>
#include <fnmatch.h>
#include <libintl.h>
-Index: elfutils-0.164/tests/addrscopes.c
+Index: elfutils-0.166/tests/addrscopes.c
===================================================================
---- elfutils-0.164.orig/tests/addrscopes.c
-+++ elfutils-0.164/tests/addrscopes.c
+--- elfutils-0.166.orig/tests/addrscopes.c
++++ elfutils-0.166/tests/addrscopes.c
@@ -25,7 +25,7 @@
#include <stdio_ext.h>
#include <locale.h>
@@ -758,10 +758,10 @@ Index: elfutils-0.164/tests/addrscopes.c
#include <string.h>
-Index: elfutils-0.164/tests/allregs.c
+Index: elfutils-0.166/tests/allregs.c
===================================================================
---- elfutils-0.164.orig/tests/allregs.c
-+++ elfutils-0.164/tests/allregs.c
+--- elfutils-0.166.orig/tests/allregs.c
++++ elfutils-0.166/tests/allregs.c
@@ -21,7 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
@@ -771,10 +771,10 @@ Index: elfutils-0.164/tests/allregs.c
#include <locale.h>
#include <argp.h>
#include <assert.h>
-Index: elfutils-0.164/tests/backtrace-data.c
+Index: elfutils-0.166/tests/backtrace-data.c
===================================================================
---- elfutils-0.164.orig/tests/backtrace-data.c
-+++ elfutils-0.164/tests/backtrace-data.c
+--- elfutils-0.166.orig/tests/backtrace-data.c
++++ elfutils-0.166/tests/backtrace-data.c
@@ -27,7 +27,7 @@
#include <dirent.h>
#include <stdlib.h>
@@ -784,10 +784,10 @@ Index: elfutils-0.164/tests/backtrace-data.c
#include <unistd.h>
#include <dwarf.h>
#if defined(__x86_64__) && defined(__linux__)
-Index: elfutils-0.164/tests/backtrace-dwarf.c
+Index: elfutils-0.166/tests/backtrace-dwarf.c
===================================================================
---- elfutils-0.164.orig/tests/backtrace-dwarf.c
-+++ elfutils-0.164/tests/backtrace-dwarf.c
+--- elfutils-0.166.orig/tests/backtrace-dwarf.c
++++ elfutils-0.166/tests/backtrace-dwarf.c
@@ -22,7 +22,7 @@
#include <stdio_ext.h>
#include <locale.h>
@@ -797,10 +797,10 @@ Index: elfutils-0.164/tests/backtrace-dwarf.c
#include <unistd.h>
#include <sys/ptrace.h>
#include <sys/types.h>
-Index: elfutils-0.164/tests/backtrace.c
+Index: elfutils-0.166/tests/backtrace.c
===================================================================
---- elfutils-0.164.orig/tests/backtrace.c
-+++ elfutils-0.164/tests/backtrace.c
+--- elfutils-0.166.orig/tests/backtrace.c
++++ elfutils-0.166/tests/backtrace.c
@@ -24,7 +24,7 @@
#include <dirent.h>
#include <stdlib.h>
@@ -810,10 +810,10 @@ Index: elfutils-0.164/tests/backtrace.c
#include <unistd.h>
#include <dwarf.h>
#ifdef __linux__
-Index: elfutils-0.164/tests/buildid.c
+Index: elfutils-0.166/tests/buildid.c