summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-03-23 06:34:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-28 12:09:51 +0100
commitf67a0bae8bc22d227f73579b2bc780719bbdeb1b (patch)
tree690fbd70d135b224a5b1e9a7f0a69a43efced6ef /meta/recipes-devtools/elfutils
parent442ec58c9066303c053d7ad138c1ad699963c0e9 (diff)
downloadpoky-f67a0bae8bc22d227f73579b2bc780719bbdeb1b.tar.gz
elfutils: Fix gcc compile time alignment errors
Allow devtool to organize the SRC_URI (From OE-Core rev: 49aae1d75ff1c6a9643c30a8cc5776a2ffa83dd3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.170.bb40
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch34
-rw-r--r--meta/recipes-devtools/elfutils/files/0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch144
3 files changed, 124 insertions, 94 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.170.bb b/meta/recipes-devtools/elfutils/elfutils_0.170.bb
index 9242aea26b..54d341d190 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.170.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.170.bb
@@ -5,35 +5,33 @@ LICENSE = "(GPLv3 & Elfutils-Exception)"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6DEPENDS = "libtool bzip2 zlib virtual/libintl" 6DEPENDS = "libtool bzip2 zlib virtual/libintl"
7DEPENDS_append_libc-musl = " argp-standalone fts " 7DEPENDS_append_libc-musl = " argp-standalone fts "
8SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2" 8SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
9 file://0001-dso-link-change.patch \
10 file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \
11 file://0003-fixheadercheck.patch \
12 file://0004-Disable-the-test-to-convert-euc-jp.patch \
13 file://0005-fix-a-stack-usage-warning.patch \
14 file://0006-Fix-build-on-aarch64-musl.patch \
15 file://0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch \
16 file://0001-libasm-may-link-with-libbz2-if-found.patch \
17 file://debian/hppa_backend.diff \
18 file://debian/arm_backend.diff \
19 file://debian/mips_backend.patch \
20 file://debian/mips_readelf_w.patch \
21 file://debian/0001-Ignore-differences-between-mips-machine-identifiers.patch \
22 file://debian/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \
23 file://debian/0003-Add-mips-n64-relocation-format-hack.patch \
24 file://0001-Use-fallthrough-attribute.patch \
25 file://0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch \
26 "
9SRC_URI[md5sum] = "03599aee98c9b726c7a732a2dd0245d5" 27SRC_URI[md5sum] = "03599aee98c9b726c7a732a2dd0245d5"
10SRC_URI[sha256sum] = "1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066" 28SRC_URI[sha256sum] = "1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066"
11 29
12SRC_URI += "\
13 file://0001-dso-link-change.patch \
14 file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \
15 file://0003-fixheadercheck.patch \
16 file://0004-Disable-the-test-to-convert-euc-jp.patch \
17 file://0005-fix-a-stack-usage-warning.patch \
18 file://0006-Fix-build-on-aarch64-musl.patch \
19 file://0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch \
20 file://0001-libasm-may-link-with-libbz2-if-found.patch \
21"
22SRC_URI_append_libc-musl = " file://0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch" 30SRC_URI_append_libc-musl = " file://0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch"
23 31
24# Pick patches from debian 32# Pick patches from debian
25# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.168-0.2.debian.tar.xz 33# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.168-0.2.debian.tar.xz
26SRC_URI += "\
27 file://debian/hppa_backend.diff \
28 file://debian/arm_backend.diff \
29 file://debian/mips_backend.patch \
30 file://debian/mips_readelf_w.patch \
31 file://debian/0001-Ignore-differences-between-mips-machine-identifiers.patch \
32 file://debian/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \
33 file://debian/0003-Add-mips-n64-relocation-format-hack.patch \
34"
35# Fix fallthrough with GCC7 34# Fix fallthrough with GCC7
36SRC_URI += "file://0001-Use-fallthrough-attribute.patch"
37 35
38# The buildsystem wants to generate 2 .h files from source using a binary it just built, 36# The buildsystem wants to generate 2 .h files from source using a binary it just built,
39# which can not pass the cross compiling, so let's work around it by adding 2 .h files 37# which can not pass the cross compiling, so let's work around it by adding 2 .h files
diff --git a/meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch b/meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
new file mode 100644
index 0000000000..cf4d1dfe75
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
@@ -0,0 +1,34 @@
1From 732913a8c35c7b25c0cbf6903cab1ad6b602b525 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 22 Mar 2018 22:44:03 -0700
4Subject: [PATCH] Ensure that packed structs follow the gcc memory layout
5
6Partial backport of
7https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d
8
9Helps fixing alignment errors e.g.
10linux-core-note.c:116:1: error: alignment 2 of 'struct m68k_prstatus
11' is less than 4 [-Werror=packed-not-aligned]
12 ;
13 ^
14
15Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d]
16
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 backends/linux-core-note.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/backends/linux-core-note.c b/backends/linux-core-note.c
23index 5f06c896..9faae4c3 100644
24--- a/backends/linux-core-note.c
25+++ b/backends/linux-core-note.c
26@@ -111,7 +111,7 @@ struct EBLHOOK(prstatus)
27 FIELD (INT, pr_fpvalid);
28 }
29 #ifdef ALIGN_PRSTATUS
30- __attribute__ ((packed, aligned (ALIGN_PRSTATUS)))
31+ attribute_packed __attribute__ ((aligned (ALIGN_PRSTATUS)))
32 #endif
33 ;
34
diff --git a/meta/recipes-devtools/elfutils/files/0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch b/meta/recipes-devtools/elfutils/files/0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch
index 8864d44369..a42ce7b358 100644
--- a/meta/recipes-devtools/elfutils/files/0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch
+++ b/meta/recipes-devtools/elfutils/files/0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch
@@ -1,4 +1,4 @@
1From 010b0c57e748440eb1ceb3d977875f2488d2b4ce Mon Sep 17 00:00:00 2001 1From ef0981744669149a00dd0439a54dac30de7b56a7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 16 Aug 2017 10:06:26 +0800 3Date: Wed, 16 Aug 2017 10:06:26 +0800
4Subject: [PATCH] build: Provide alternatives for glibc assumptions helps 4Subject: [PATCH] build: Provide alternatives for glibc assumptions helps
@@ -10,6 +10,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
10Rebase to 0.170 10Rebase to 0.170
11 11
12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13
13--- 14---
14 Makefile.am | 2 +- 15 Makefile.am | 2 +-
15 lib/color.c | 3 ++- 16 lib/color.c | 3 ++-
@@ -83,7 +84,7 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
83 69 files changed, 95 insertions(+), 64 deletions(-) 84 69 files changed, 95 insertions(+), 64 deletions(-)
84 85
85diff --git a/Makefile.am b/Makefile.am 86diff --git a/Makefile.am b/Makefile.am
86index 2ff444e..41f77df 100644 87index 2ff444e7..41f77df8 100644
87--- a/Makefile.am 88--- a/Makefile.am
88+++ b/Makefile.am 89+++ b/Makefile.am
89@@ -28,7 +28,7 @@ pkginclude_HEADERS = version.h 90@@ -28,7 +28,7 @@ pkginclude_HEADERS = version.h
@@ -96,7 +97,7 @@ index 2ff444e..41f77df 100644
96 EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \ 97 EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
97 COPYING COPYING-GPLV2 COPYING-LGPLV3 98 COPYING COPYING-GPLV2 COPYING-LGPLV3
98diff --git a/lib/color.c b/lib/color.c 99diff --git a/lib/color.c b/lib/color.c
99index f62389d..a2a84b4 100644 100index f62389d5..a2a84b46 100644
100--- a/lib/color.c 101--- a/lib/color.c
101+++ b/lib/color.c 102+++ b/lib/color.c
102@@ -32,13 +32,14 @@ 103@@ -32,13 +32,14 @@
@@ -116,7 +117,7 @@ index f62389d..a2a84b4 100644
116 /* Prototype for option handler. */ 117 /* Prototype for option handler. */
117 static error_t parse_opt (int key, char *arg, struct argp_state *state); 118 static error_t parse_opt (int key, char *arg, struct argp_state *state);
118diff --git a/lib/fixedsizehash.h b/lib/fixedsizehash.h 119diff --git a/lib/fixedsizehash.h b/lib/fixedsizehash.h
119index dac2a5f..43016fc 100644 120index dac2a5f5..43016fc3 100644
120--- a/lib/fixedsizehash.h 121--- a/lib/fixedsizehash.h
121+++ b/lib/fixedsizehash.h 122+++ b/lib/fixedsizehash.h
122@@ -30,7 +30,6 @@ 123@@ -30,7 +30,6 @@
@@ -128,7 +129,7 @@ index dac2a5f..43016fc 100644
128 #include <system.h> 129 #include <system.h>
129 130
130diff --git a/lib/system.h b/lib/system.h 131diff --git a/lib/system.h b/lib/system.h
131index 9203335..1a60131 100644 132index 92033355..1a601319 100644
132--- a/lib/system.h 133--- a/lib/system.h
133+++ b/lib/system.h 134+++ b/lib/system.h
134@@ -50,6 +50,16 @@ 135@@ -50,6 +50,16 @@
@@ -149,7 +150,7 @@ index 9203335..1a60131 100644
149 #ifndef MAX 150 #ifndef MAX
150 #define MAX(m, n) ((m) < (n) ? (n) : (m)) 151 #define MAX(m, n) ((m) < (n) ? (n) : (m))
151diff --git a/lib/xmalloc.c b/lib/xmalloc.c 152diff --git a/lib/xmalloc.c b/lib/xmalloc.c
152index 0cde384..217b054 100644 153index 0cde384f..217b0541 100644
153--- a/lib/xmalloc.c 154--- a/lib/xmalloc.c
154+++ b/lib/xmalloc.c 155+++ b/lib/xmalloc.c
155@@ -30,7 +30,7 @@ 156@@ -30,7 +30,7 @@
@@ -162,7 +163,7 @@ index 0cde384..217b054 100644
162 #include <stddef.h> 163 #include <stddef.h>
163 #include <stdlib.h> 164 #include <stdlib.h>
164diff --git a/libasm/asm_end.c b/libasm/asm_end.c 165diff --git a/libasm/asm_end.c b/libasm/asm_end.c
165index ced24f5..4ad918c 100644 166index ced24f50..4ad918c4 100644
166--- a/libasm/asm_end.c 167--- a/libasm/asm_end.c
167+++ b/libasm/asm_end.c 168+++ b/libasm/asm_end.c
168@@ -32,7 +32,7 @@ 169@@ -32,7 +32,7 @@
@@ -175,7 +176,7 @@ index ced24f5..4ad918c 100644
175 #include <stdio.h> 176 #include <stdio.h>
176 #include <stdlib.h> 177 #include <stdlib.h>
177diff --git a/libasm/asm_newscn.c b/libasm/asm_newscn.c 178diff --git a/libasm/asm_newscn.c b/libasm/asm_newscn.c
178index ddbb25d..74a598d 100644 179index ddbb25df..74a598d9 100644
179--- a/libasm/asm_newscn.c 180--- a/libasm/asm_newscn.c
180+++ b/libasm/asm_newscn.c 181+++ b/libasm/asm_newscn.c
181@@ -32,7 +32,7 @@ 182@@ -32,7 +32,7 @@
@@ -188,7 +189,7 @@ index ddbb25d..74a598d 100644
188 #include <stdlib.h> 189 #include <stdlib.h>
189 #include <string.h> 190 #include <string.h>
190diff --git a/libcpu/i386_gendis.c b/libcpu/i386_gendis.c 191diff --git a/libcpu/i386_gendis.c b/libcpu/i386_gendis.c
191index aae5eae..6d76016 100644 192index aae5eae6..6d760165 100644
192--- a/libcpu/i386_gendis.c 193--- a/libcpu/i386_gendis.c
193+++ b/libcpu/i386_gendis.c 194+++ b/libcpu/i386_gendis.c
194@@ -31,7 +31,7 @@ 195@@ -31,7 +31,7 @@
@@ -201,7 +202,7 @@ index aae5eae..6d76016 100644
201 #include <stdio.h> 202 #include <stdio.h>
202 #include <stdlib.h> 203 #include <stdlib.h>
203diff --git a/libcpu/i386_lex.c b/libcpu/i386_lex.c 204diff --git a/libcpu/i386_lex.c b/libcpu/i386_lex.c
204index ba5f4aa..b1e4191 100644 205index ba5f4aa5..b1e41916 100644
205--- a/libcpu/i386_lex.c 206--- a/libcpu/i386_lex.c
206+++ b/libcpu/i386_lex.c 207+++ b/libcpu/i386_lex.c
207@@ -577,7 +577,7 @@ char *i386_text; 208@@ -577,7 +577,7 @@ char *i386_text;
@@ -214,7 +215,7 @@ index ba5f4aa..b1e4191 100644
214 215
215 #include <libeu.h> 216 #include <libeu.h>
216diff --git a/libcpu/i386_parse.c b/libcpu/i386_parse.c 217diff --git a/libcpu/i386_parse.c b/libcpu/i386_parse.c
217index ef1ac35..48f2e64 100644 218index 6fa7ce3d..bb270061 100644
218--- a/libcpu/i386_parse.c 219--- a/libcpu/i386_parse.c
219+++ b/libcpu/i386_parse.c 220+++ b/libcpu/i386_parse.c
220@@ -107,7 +107,7 @@ 221@@ -107,7 +107,7 @@
@@ -227,7 +228,7 @@ index ef1ac35..48f2e64 100644
227 #include <libintl.h> 228 #include <libintl.h>
228 #include <math.h> 229 #include <math.h>
229diff --git a/libdw/Makefile.am b/libdw/Makefile.am 230diff --git a/libdw/Makefile.am b/libdw/Makefile.am
230index ff8c291..89e792a 100644 231index ff8c291e..89e792aa 100644
231--- a/libdw/Makefile.am 232--- a/libdw/Makefile.am
232+++ b/libdw/Makefile.am 233+++ b/libdw/Makefile.am
233@@ -105,7 +105,8 @@ am_libdw_pic_a_OBJECTS = $(libdw_a_SOURCES:.c=.os) 234@@ -105,7 +105,8 @@ am_libdw_pic_a_OBJECTS = $(libdw_a_SOURCES:.c=.os)
@@ -241,7 +242,7 @@ index ff8c291..89e792a 100644
241 libdw.so$(EXEEXT): $(srcdir)/libdw.map $(libdw_so_LIBS) $(libdw_so_DEPS) 242 libdw.so$(EXEEXT): $(srcdir)/libdw.map $(libdw_so_LIBS) $(libdw_so_DEPS)
242 # The rpath is necessary for libebl because its $ORIGIN use will 243 # The rpath is necessary for libebl because its $ORIGIN use will
243diff --git a/libdw/libdw_alloc.c b/libdw/libdw_alloc.c 244diff --git a/libdw/libdw_alloc.c b/libdw/libdw_alloc.c
244index 28a8cf6..29aeb3f 100644 245index 28a8cf6e..29aeb3f7 100644
245--- a/libdw/libdw_alloc.c 246--- a/libdw/libdw_alloc.c
246+++ b/libdw/libdw_alloc.c 247+++ b/libdw/libdw_alloc.c
247@@ -31,7 +31,7 @@ 248@@ -31,7 +31,7 @@
@@ -254,7 +255,7 @@ index 28a8cf6..29aeb3f 100644
254 #include <stdlib.h> 255 #include <stdlib.h>
255 #include "libdwP.h" 256 #include "libdwP.h"
256diff --git a/libdwfl/dwfl_build_id_find_elf.c b/libdwfl/dwfl_build_id_find_elf.c 257diff --git a/libdwfl/dwfl_build_id_find_elf.c b/libdwfl/dwfl_build_id_find_elf.c
257index ee0c164..b06ab59 100644 258index ee0c1646..b06ab596 100644
258--- a/libdwfl/dwfl_build_id_find_elf.c 259--- a/libdwfl/dwfl_build_id_find_elf.c
259+++ b/libdwfl/dwfl_build_id_find_elf.c 260+++ b/libdwfl/dwfl_build_id_find_elf.c
260@@ -31,6 +31,7 @@ 261@@ -31,6 +31,7 @@
@@ -275,7 +276,7 @@ index ee0c164..b06ab59 100644
275 { 276 {
276 *file_name = name; 277 *file_name = name;
277diff --git a/libdwfl/dwfl_error.c b/libdwfl/dwfl_error.c 278diff --git a/libdwfl/dwfl_error.c b/libdwfl/dwfl_error.c
278index 7bcf61c..c345797 100644 279index 7bcf61cc..c345797a 100644
279--- a/libdwfl/dwfl_error.c 280--- a/libdwfl/dwfl_error.c
280+++ b/libdwfl/dwfl_error.c 281+++ b/libdwfl/dwfl_error.c
281@@ -140,6 +140,7 @@ __libdwfl_seterrno (Dwfl_Error error) 282@@ -140,6 +140,7 @@ __libdwfl_seterrno (Dwfl_Error error)
@@ -297,7 +298,7 @@ index 7bcf61c..c345797 100644
297 return elf_errmsg (error & 0xffff); 298 return elf_errmsg (error & 0xffff);
298 case OTHER_ERROR (LIBDW): 299 case OTHER_ERROR (LIBDW):
299diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c 300diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c
300index 9775ace..511c4a6 100644 301index 9775aced..511c4a6a 100644
301--- a/libdwfl/dwfl_module_getdwarf.c 302--- a/libdwfl/dwfl_module_getdwarf.c
302+++ b/libdwfl/dwfl_module_getdwarf.c 303+++ b/libdwfl/dwfl_module_getdwarf.c
303@@ -35,6 +35,7 @@ 304@@ -35,6 +35,7 @@
@@ -309,7 +310,7 @@ index 9775ace..511c4a6 100644
309 #include "../libelf/libelfP.h" 310 #include "../libelf/libelfP.h"
310 #include "system.h" 311 #include "system.h"
311diff --git a/libdwfl/find-debuginfo.c b/libdwfl/find-debuginfo.c 312diff --git a/libdwfl/find-debuginfo.c b/libdwfl/find-debuginfo.c
312index 6d5a42a..9267788 100644 313index 6d5a42a6..9267788d 100644
313--- a/libdwfl/find-debuginfo.c 314--- a/libdwfl/find-debuginfo.c
314+++ b/libdwfl/find-debuginfo.c 315+++ b/libdwfl/find-debuginfo.c
315@@ -389,7 +389,7 @@ dwfl_standard_find_debuginfo (Dwfl_Module *mod, 316@@ -389,7 +389,7 @@ dwfl_standard_find_debuginfo (Dwfl_Module *mod,
@@ -322,7 +323,7 @@ index 6d5a42a..9267788 100644
322 fd = find_debuginfo_in_path (mod, canon, 323 fd = find_debuginfo_in_path (mod, canon,
323 debuglink_file, debuglink_crc, 324 debuglink_file, debuglink_crc,
324diff --git a/libdwfl/libdwfl_crc32_file.c b/libdwfl/libdwfl_crc32_file.c 325diff --git a/libdwfl/libdwfl_crc32_file.c b/libdwfl/libdwfl_crc32_file.c
325index f849128..6f0aca1 100644 326index f849128d..6f0aca1b 100644
326--- a/libdwfl/libdwfl_crc32_file.c 327--- a/libdwfl/libdwfl_crc32_file.c
327+++ b/libdwfl/libdwfl_crc32_file.c 328+++ b/libdwfl/libdwfl_crc32_file.c
328@@ -29,6 +29,15 @@ 329@@ -29,6 +29,15 @@
@@ -342,7 +343,7 @@ index f849128..6f0aca1 100644
342 #define crc32 __libdwfl_crc32 343 #define crc32 __libdwfl_crc32
343 #include <libdwflP.h> 344 #include <libdwflP.h>
344diff --git a/libdwfl/linux-kernel-modules.c b/libdwfl/linux-kernel-modules.c 345diff --git a/libdwfl/linux-kernel-modules.c b/libdwfl/linux-kernel-modules.c
345index 9d0fef2..9fc09b8 100644 346index 9d0fef2c..9fc09b88 100644
346--- a/libdwfl/linux-kernel-modules.c 347--- a/libdwfl/linux-kernel-modules.c
347+++ b/libdwfl/linux-kernel-modules.c 348+++ b/libdwfl/linux-kernel-modules.c
348@@ -40,6 +40,7 @@ 349@@ -40,6 +40,7 @@
@@ -354,7 +355,7 @@ index 9d0fef2..9fc09b8 100644
354 #include <errno.h> 355 #include <errno.h>
355 #include <stdio.h> 356 #include <stdio.h>
356diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c 357diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c
357index 5371396..2e66dfd 100644 358index 53713963..2e66dfdd 100644
358--- a/libebl/eblopenbackend.c 359--- a/libebl/eblopenbackend.c
359+++ b/libebl/eblopenbackend.c 360+++ b/libebl/eblopenbackend.c
360@@ -32,7 +32,7 @@ 361@@ -32,7 +32,7 @@
@@ -367,7 +368,7 @@ index 5371396..2e66dfd 100644
367 #include <dwarf.h> 368 #include <dwarf.h>
368 #include <stdlib.h> 369 #include <stdlib.h>
369diff --git a/libelf/elf.h b/libelf/elf.h 370diff --git a/libelf/elf.h b/libelf/elf.h
370index 5cf2b93..990b3af 100644 371index 5cf2b934..990b3afb 100644
371--- a/libelf/elf.h 372--- a/libelf/elf.h
372+++ b/libelf/elf.h 373+++ b/libelf/elf.h
373@@ -21,7 +21,9 @@ 374@@ -21,7 +21,9 @@
@@ -392,7 +393,7 @@ index 5cf2b93..990b3af 100644
392 393
393 #endif /* elf.h */ 394 #endif /* elf.h */
394diff --git a/libelf/libelf.h b/libelf/libelf.h 395diff --git a/libelf/libelf.h b/libelf/libelf.h
395index 547c0f5..dd78799 100644 396index 547c0f50..dd78799e 100644
396--- a/libelf/libelf.h 397--- a/libelf/libelf.h
397+++ b/libelf/libelf.h 398+++ b/libelf/libelf.h
398@@ -29,6 +29,7 @@ 399@@ -29,6 +29,7 @@
@@ -404,7 +405,7 @@ index 547c0f5..dd78799 100644
404 #include <sys/types.h> 405 #include <sys/types.h>
405 406
406diff --git a/libelf/libelfP.h b/libelf/libelfP.h 407diff --git a/libelf/libelfP.h b/libelf/libelfP.h
407index 7ee6625..5840899 100644 408index 7ee6625a..58408997 100644
408--- a/libelf/libelfP.h 409--- a/libelf/libelfP.h
409+++ b/libelf/libelfP.h 410+++ b/libelf/libelfP.h
410@@ -32,6 +32,7 @@ 411@@ -32,6 +32,7 @@
@@ -416,7 +417,7 @@ index 7ee6625..5840899 100644
416 #include <errno.h> 417 #include <errno.h>
417 #include <stdbool.h> 418 #include <stdbool.h>
418diff --git a/src/addr2line.c b/src/addr2line.c 419diff --git a/src/addr2line.c b/src/addr2line.c
419index ba414a7..04b7116 100644 420index 444ee52c..9596fa67 100644
420--- a/src/addr2line.c 421--- a/src/addr2line.c
421+++ b/src/addr2line.c 422+++ b/src/addr2line.c
422@@ -23,7 +23,7 @@ 423@@ -23,7 +23,7 @@
@@ -429,7 +430,7 @@ index ba414a7..04b7116 100644
429 #include <inttypes.h> 430 #include <inttypes.h>
430 #include <libdwfl.h> 431 #include <libdwfl.h>
431diff --git a/src/ar.c b/src/ar.c 432diff --git a/src/ar.c b/src/ar.c
432index ec32cee..4efd729 100644 433index ec32cee5..4efd729c 100644
433--- a/src/ar.c 434--- a/src/ar.c
434+++ b/src/ar.c 435+++ b/src/ar.c
435@@ -22,7 +22,7 @@ 436@@ -22,7 +22,7 @@
@@ -442,7 +443,7 @@ index ec32cee..4efd729 100644
442 #include <gelf.h> 443 #include <gelf.h>
443 #include <libintl.h> 444 #include <libintl.h>
444diff --git a/src/arlib.c b/src/arlib.c 445diff --git a/src/arlib.c b/src/arlib.c
445index e0839aa..1143658 100644 446index e0839aab..1143658f 100644
446--- a/src/arlib.c 447--- a/src/arlib.c
447+++ b/src/arlib.c 448+++ b/src/arlib.c
448@@ -21,7 +21,7 @@ 449@@ -21,7 +21,7 @@
@@ -455,7 +456,7 @@ index e0839aa..1143658 100644
455 #include <inttypes.h> 456 #include <inttypes.h>
456 #include <libintl.h> 457 #include <libintl.h>
457diff --git a/src/arlib2.c b/src/arlib2.c 458diff --git a/src/arlib2.c b/src/arlib2.c
458index 553fc57..46443d0 100644 459index 553fc57b..46443d0e 100644
459--- a/src/arlib2.c 460--- a/src/arlib2.c
460+++ b/src/arlib2.c 461+++ b/src/arlib2.c
461@@ -20,7 +20,7 @@ 462@@ -20,7 +20,7 @@
@@ -468,7 +469,7 @@ index 553fc57..46443d0 100644
468 #include <limits.h> 469 #include <limits.h>
469 #include <string.h> 470 #include <string.h>
470diff --git a/src/elfcmp.c b/src/elfcmp.c 471diff --git a/src/elfcmp.c b/src/elfcmp.c
471index 5046420..cff183f 100644 472index 50464207..cff183fa 100644
472--- a/src/elfcmp.c 473--- a/src/elfcmp.c
473+++ b/src/elfcmp.c 474+++ b/src/elfcmp.c
474@@ -23,7 +23,7 @@ 475@@ -23,7 +23,7 @@
@@ -481,7 +482,7 @@ index 5046420..cff183f 100644
481 #include <locale.h> 482 #include <locale.h>
482 #include <libintl.h> 483 #include <libintl.h>
483diff --git a/src/elflint.c b/src/elflint.c 484diff --git a/src/elflint.c b/src/elflint.c
484index 51e53c2..da0b0dc 100644 485index df1b3a03..67d8d134 100644
485--- a/src/elflint.c 486--- a/src/elflint.c
486+++ b/src/elflint.c 487+++ b/src/elflint.c
487@@ -24,7 +24,7 @@ 488@@ -24,7 +24,7 @@
@@ -494,7 +495,7 @@ index 51e53c2..da0b0dc 100644
494 #include <gelf.h> 495 #include <gelf.h>
495 #include <inttypes.h> 496 #include <inttypes.h>
496diff --git a/src/findtextrel.c b/src/findtextrel.c 497diff --git a/src/findtextrel.c b/src/findtextrel.c
497index 8f1e239..71463af 100644 498index 8f1e239a..71463af3 100644
498--- a/src/findtextrel.c 499--- a/src/findtextrel.c
499+++ b/src/findtextrel.c 500+++ b/src/findtextrel.c
500@@ -23,7 +23,7 @@ 501@@ -23,7 +23,7 @@
@@ -507,7 +508,7 @@ index 8f1e239..71463af 100644
507 #include <gelf.h> 508 #include <gelf.h>
508 #include <libdw.h> 509 #include <libdw.h>
509diff --git a/src/nm.c b/src/nm.c 510diff --git a/src/nm.c b/src/nm.c
510index 969c6d3..3113c04 100644 511index 969c6d35..3113c04c 100644
511--- a/src/nm.c 512--- a/src/nm.c
512+++ b/src/nm.c 513+++ b/src/nm.c
513@@ -26,7 +26,7 @@ 514@@ -26,7 +26,7 @@
@@ -520,7 +521,7 @@ index 969c6d3..3113c04 100644
520 #include <gelf.h> 521 #include <gelf.h>
521 #include <inttypes.h> 522 #include <inttypes.h>
522diff --git a/src/objdump.c b/src/objdump.c 523diff --git a/src/objdump.c b/src/objdump.c
523index 860cfac..61e67bf 100644 524index 0dd9a6aa..9c8bf149 100644
524--- a/src/objdump.c 525--- a/src/objdump.c
525+++ b/src/objdump.c 526+++ b/src/objdump.c
526@@ -21,7 +21,7 @@ 527@@ -21,7 +21,7 @@
@@ -533,7 +534,7 @@ index 860cfac..61e67bf 100644
533 #include <inttypes.h> 534 #include <inttypes.h>
534 #include <libintl.h> 535 #include <libintl.h>
535diff --git a/src/ranlib.c b/src/ranlib.c 536diff --git a/src/ranlib.c b/src/ranlib.c
536index cc0ee23..ae851e4 100644 537index cc0ee233..ae851e40 100644
537--- a/src/ranlib.c 538--- a/src/ranlib.c
538+++ b/src/ranlib.c 539+++ b/src/ranlib.c
539@@ -24,7 +24,7 @@ 540@@ -24,7 +24,7 @@
@@ -546,7 +547,7 @@ index cc0ee23..ae851e4 100644
546 #include <gelf.h> 547 #include <gelf.h>
547 #include <libintl.h> 548 #include <libintl.h>
548diff --git a/src/readelf.c b/src/readelf.c 549diff --git a/src/readelf.c b/src/readelf.c
549index 346eccd..c831aa8 100644 550index 6a27e7e0..4759a965 100644
550--- a/src/readelf.c 551--- a/src/readelf.c
551+++ b/src/readelf.c 552+++ b/src/readelf.c
552@@ -25,7 +25,7 @@ 553@@ -25,7 +25,7 @@
@@ -559,7 +560,7 @@ index 346eccd..c831aa8 100644
559 #include <gelf.h> 560 #include <gelf.h>
560 #include <inttypes.h> 561 #include <inttypes.h>
561diff --git a/src/size.c b/src/size.c 562diff --git a/src/size.c b/src/size.c
562index ad8dbcb..fd83be0 100644 563index ad8dbcbb..fd83be06 100644
563--- a/src/size.c 564--- a/src/size.c
564+++ b/src/size.c 565+++ b/src/size.c
565@@ -21,7 +21,7 @@ 566@@ -21,7 +21,7 @@
@@ -572,7 +573,7 @@ index ad8dbcb..fd83be0 100644
572 #include <gelf.h> 573 #include <gelf.h>
573 #include <inttypes.h> 574 #include <inttypes.h>
574diff --git a/src/stack.c b/src/stack.c 575diff --git a/src/stack.c b/src/stack.c
575index 6f2ff69..6da0243 100644 576index 6f2ff69f..6da0243d 100644
576--- a/src/stack.c 577--- a/src/stack.c
577+++ b/src/stack.c 578+++ b/src/stack.c
578@@ -18,7 +18,7 @@ 579@@ -18,7 +18,7 @@
@@ -585,7 +586,7 @@ index 6f2ff69..6da0243 100644
585 #include <inttypes.h> 586 #include <inttypes.h>
586 #include <stdio.h> 587 #include <stdio.h>
587diff --git a/src/strings.c b/src/strings.c 588diff --git a/src/strings.c b/src/strings.c
588index d214356..76cb26b 100644 589index 03d0f133..5c311cbd 100644
589--- a/src/strings.c 590--- a/src/strings.c
590+++ b/src/strings.c 591+++ b/src/strings.c
591@@ -25,7 +25,7 @@ 592@@ -25,7 +25,7 @@
@@ -598,7 +599,7 @@ index d214356..76cb26b 100644
598 #include <gelf.h> 599 #include <gelf.h>
599 #include <inttypes.h> 600 #include <inttypes.h>
600diff --git a/src/strip.c b/src/strip.c 601diff --git a/src/strip.c b/src/strip.c
601index c7830ec..0d7f148 100644 602index c7830ec6..0d7f148d 100644
602--- a/src/strip.c 603--- a/src/strip.c
603+++ b/src/strip.c 604+++ b/src/strip.c
604@@ -24,7 +24,7 @@ 605@@ -24,7 +24,7 @@
@@ -611,7 +612,7 @@ index c7830ec..0d7f148 100644
611 #include <fnmatch.h> 612 #include <fnmatch.h>
612 #include <gelf.h> 613 #include <gelf.h>
613diff --git a/src/unstrip.c b/src/unstrip.c 614diff --git a/src/unstrip.c b/src/unstrip.c
614index 5074909..3d4f952 100644 615index 50749093..3d4f9525 100644
615--- a/src/unstrip.c 616--- a/src/unstrip.c
616+++ b/src/unstrip.c 617+++ b/src/unstrip.c
617@@ -31,7 +31,7 @@ 618@@ -31,7 +31,7 @@
@@ -624,7 +625,7 @@ index 5074909..3d4f952 100644
624 #include <fnmatch.h> 625 #include <fnmatch.h>
625 #include <libintl.h> 626 #include <libintl.h>
626diff --git a/tests/addrscopes.c b/tests/addrscopes.c 627diff --git a/tests/addrscopes.c b/tests/addrscopes.c
627index 791569f..54f4311 100644 628index 791569f5..54f4311b 100644
628--- a/tests/addrscopes.c 629--- a/tests/addrscopes.c
629+++ b/tests/addrscopes.c 630+++ b/tests/addrscopes.c
630@@ -25,7 +25,7 @@ 631@@ -25,7 +25,7 @@
@@ -637,7 +638,7 @@ index 791569f..54f4311 100644
637 638
638 639
639diff --git a/tests/allregs.c b/tests/allregs.c 640diff --git a/tests/allregs.c b/tests/allregs.c
640index 286f7e3..c9de089 100644 641index 286f7e3c..c9de0897 100644
641--- a/tests/allregs.c 642--- a/tests/allregs.c
642+++ b/tests/allregs.c 643+++ b/tests/allregs.c
643@@ -21,7 +21,7 @@ 644@@ -21,7 +21,7 @@
@@ -650,7 +651,7 @@ index 286f7e3..c9de089 100644
650 #include <argp.h> 651 #include <argp.h>
651 #include <assert.h> 652 #include <assert.h>
652diff --git a/tests/backtrace-data.c b/tests/backtrace-data.c 653diff --git a/tests/backtrace-data.c b/tests/backtrace-data.c
653index a387d8f..955c27d 100644 654index a387d8ff..955c27d1 100644
654--- a/tests/backtrace-data.c 655--- a/tests/backtrace-data.c
655+++ b/tests/backtrace-data.c 656+++ b/tests/backtrace-data.c
656@@ -27,7 +27,7 @@ 657@@ -27,7 +27,7 @@
@@ -663,7 +664,7 @@ index a387d8f..955c27d 100644
663 #include <dwarf.h> 664 #include <dwarf.h>
664 #if defined(__x86_64__) && defined(__linux__) 665 #if defined(__x86_64__) && defined(__linux__)
665diff --git a/tests/backtrace-dwarf.c b/tests/backtrace-dwarf.c 666diff --git a/tests/backtrace-dwarf.c b/tests/backtrace-dwarf.c
666index 2dc8a9a..24ca7fb 100644 667index 2dc8a9a2..24ca7fb0 100644
667--- a/tests/backtrace-dwarf.c 668--- a/tests/backtrace-dwarf.c
668+++ b/tests/backtrace-dwarf.c 669+++ b/tests/backtrace-dwarf.c
669@@ -22,7 +22,7 @@ 670@@ -22,7 +22,7 @@
@@ -676,7 +677,7 @@ index 2dc8a9a..24ca7fb 100644
676 #include <sys/types.h> 677 #include <sys/types.h>
677 #include <sys/wait.h> 678 #include <sys/wait.h>
678diff --git a/tests/backtrace.c b/tests/backtrace.c 679diff --git a/tests/backtrace.c b/tests/backtrace.c
679index 21abe8a..d733248 100644 680index f5dd761f..a93a8f03 100644
680--- a/tests/backtrace.c 681--- a/tests/backtrace.c
681+++ b/tests/backtrace.c 682+++ b/tests/backtrace.c
682@@ -24,7 +24,7 @@ 683@@ -24,7 +24,7 @@
@@ -689,7 +690,7 @@ index 21abe8a..d733248 100644
689 #include <dwarf.h> 690 #include <dwarf.h>
690 #ifdef __linux__ 691 #ifdef __linux__
691diff --git a/tests/buildid.c b/tests/buildid.c 692diff --git a/tests/buildid.c b/tests/buildid.c
692index 87c1877..2953e6b 100644 693index 87c18773..2953e6bb 100644
693--- a/tests/buildid.c 694--- a/tests/buildid.c
694+++ b/tests/buildid.c 695+++ b/tests/buildid.c
695@@ -23,7 +23,7 @@ 696@@ -23,7 +23,7 @@
@@ -702,7 +703,7 @@ index 87c1877..2953e6b 100644
702 #include <stdlib.h> 703 #include <stdlib.h>
703 #include <sys/types.h> 704 #include <sys/types.h>
704diff --git a/tests/debugaltlink.c b/tests/debugaltlink.c 705diff --git a/tests/debugaltlink.c b/tests/debugaltlink.c
705index 6d97d50..ee7e559 100644 706index 6d97d500..ee7e559e 100644
706--- a/tests/debugaltlink.c 707--- a/tests/debugaltlink.c
707+++ b/tests/debugaltlink.c 708+++ b/tests/debugaltlink.c
708@@ -23,7 +23,7 @@ 709@@ -23,7 +23,7 @@
@@ -715,7 +716,7 @@ index 6d97d50..ee7e559 100644
715 #include <stdlib.h> 716 #include <stdlib.h>
716 #include <sys/types.h> 717 #include <sys/types.h>
717diff --git a/tests/debuglink.c b/tests/debuglink.c 718diff --git a/tests/debuglink.c b/tests/debuglink.c
718index 935d102..741cb81 100644 719index 935d1029..741cb814 100644
719--- a/tests/debuglink.c 720--- a/tests/debuglink.c
720+++ b/tests/debuglink.c 721+++ b/tests/debuglink.c
721@@ -21,7 +21,7 @@ 722@@ -21,7 +21,7 @@
@@ -728,7 +729,7 @@ index 935d102..741cb81 100644
728 #include <stdlib.h> 729 #include <stdlib.h>
729 #include <sys/types.h> 730 #include <sys/types.h>
730diff --git a/tests/deleted.c b/tests/deleted.c 731diff --git a/tests/deleted.c b/tests/deleted.c
731index 6be35bc..0190711 100644 732index 6be35bc2..01907113 100644
732--- a/tests/deleted.c 733--- a/tests/deleted.c
733+++ b/tests/deleted.c 734+++ b/tests/deleted.c
734@@ -21,7 +21,7 @@ 735@@ -21,7 +21,7 @@
@@ -741,7 +742,7 @@ index 6be35bc..0190711 100644
741 #ifdef __linux__ 742 #ifdef __linux__
742 #include <sys/prctl.h> 743 #include <sys/prctl.h>
743diff --git a/tests/dwfl-addr-sect.c b/tests/dwfl-addr-sect.c 744diff --git a/tests/dwfl-addr-sect.c b/tests/dwfl-addr-sect.c
744index 21e470a..1ea1e3b 100644 745index 21e470a3..1ea1e3b2 100644
745--- a/tests/dwfl-addr-sect.c 746--- a/tests/dwfl-addr-sect.c
746+++ b/tests/dwfl-addr-sect.c 747+++ b/tests/dwfl-addr-sect.c
747@@ -23,7 +23,7 @@ 748@@ -23,7 +23,7 @@
@@ -754,7 +755,7 @@ index 21e470a..1ea1e3b 100644
754 #include <argp.h> 755 #include <argp.h>
755 #include ELFUTILS_HEADER(dwfl) 756 #include ELFUTILS_HEADER(dwfl)
756diff --git a/tests/dwfl-bug-addr-overflow.c b/tests/dwfl-bug-addr-overflow.c 757diff --git a/tests/dwfl-bug-addr-overflow.c b/tests/dwfl-bug-addr-overflow.c
757index aa8030e..02c8bef 100644 758index aa8030e1..02c8bef9 100644
758--- a/tests/dwfl-bug-addr-overflow.c 759--- a/tests/dwfl-bug-addr-overflow.c
759+++ b/tests/dwfl-bug-addr-overflow.c 760+++ b/tests/dwfl-bug-addr-overflow.c
760@@ -20,7 +20,7 @@ 761@@ -20,7 +20,7 @@
@@ -767,7 +768,7 @@ index aa8030e..02c8bef 100644
767 #include ELFUTILS_HEADER(dwfl) 768 #include ELFUTILS_HEADER(dwfl)
768 769
769diff --git a/tests/dwfl-bug-fd-leak.c b/tests/dwfl-bug-fd-leak.c 770diff --git a/tests/dwfl-bug-fd-leak.c b/tests/dwfl-bug-fd-leak.c
770index 689cdd7..5973da3 100644 771index 689cdd79..5973da39 100644
771--- a/tests/dwfl-bug-fd-leak.c 772--- a/tests/dwfl-bug-fd-leak.c
772+++ b/tests/dwfl-bug-fd-leak.c 773+++ b/tests/dwfl-bug-fd-leak.c
773@@ -24,7 +24,7 @@ 774@@ -24,7 +24,7 @@
@@ -780,7 +781,7 @@ index 689cdd7..5973da3 100644
780 #include <dwarf.h> 781 #include <dwarf.h>
781 782
782diff --git a/tests/dwfl-bug-getmodules.c b/tests/dwfl-bug-getmodules.c 783diff --git a/tests/dwfl-bug-getmodules.c b/tests/dwfl-bug-getmodules.c
783index 1ee989f..fd62e65 100644 784index 1ee989f8..fd62e653 100644
784--- a/tests/dwfl-bug-getmodules.c 785--- a/tests/dwfl-bug-getmodules.c
785+++ b/tests/dwfl-bug-getmodules.c 786+++ b/tests/dwfl-bug-getmodules.c
786@@ -18,7 +18,7 @@ 787@@ -18,7 +18,7 @@
@@ -793,7 +794,7 @@ index 1ee989f..fd62e65 100644
793 static const Dwfl_Callbacks callbacks = 794 static const Dwfl_Callbacks callbacks =
794 { 795 {
795diff --git a/tests/dwfl-report-elf-align.c b/tests/dwfl-report-elf-align.c 796diff --git a/tests/dwfl-report-elf-align.c b/tests/dwfl-report-elf-align.c
796index a4e97d3..f471587 100644 797index a4e97d3c..f471587c 100644
797--- a/tests/dwfl-report-elf-align.c 798--- a/tests/dwfl-report-elf-align.c
798+++ b/tests/dwfl-report-elf-align.c 799+++ b/tests/dwfl-report-elf-align.c
799@@ -20,7 +20,7 @@ 800@@ -20,7 +20,7 @@
@@ -806,7 +807,7 @@ index a4e97d3..f471587 100644
806 #include <string.h> 807 #include <string.h>
807 #include <stdlib.h> 808 #include <stdlib.h>
808diff --git a/tests/dwfllines.c b/tests/dwfllines.c 809diff --git a/tests/dwfllines.c b/tests/dwfllines.c
809index 90379dd..cbdf6c4 100644 810index 90379dd2..cbdf6c4c 100644
810--- a/tests/dwfllines.c 811--- a/tests/dwfllines.c
811+++ b/tests/dwfllines.c 812+++ b/tests/dwfllines.c
812@@ -27,7 +27,7 @@ 813@@ -27,7 +27,7 @@
@@ -819,7 +820,7 @@ index 90379dd..cbdf6c4 100644
819 int 820 int
820 main (int argc, char *argv[]) 821 main (int argc, char *argv[])
821diff --git a/tests/dwflmodtest.c b/tests/dwflmodtest.c 822diff --git a/tests/dwflmodtest.c b/tests/dwflmodtest.c
822index 0027f96..e68d3bc 100644 823index 0027f96b..e68d3bca 100644
823--- a/tests/dwflmodtest.c 824--- a/tests/dwflmodtest.c
824+++ b/tests/dwflmodtest.c 825+++ b/tests/dwflmodtest.c
825@@ -23,7 +23,7 @@ 826@@ -23,7 +23,7 @@
@@ -832,7 +833,7 @@ index 0027f96..e68d3bc 100644
832 #include <argp.h> 833 #include <argp.h>
833 #include ELFUTILS_HEADER(dwfl) 834 #include ELFUTILS_HEADER(dwfl)
834diff --git a/tests/dwflsyms.c b/tests/dwflsyms.c 835diff --git a/tests/dwflsyms.c b/tests/dwflsyms.c
835index 49ac334..cf07830 100644 836index 49ac3346..cf078301 100644
836--- a/tests/dwflsyms.c 837--- a/tests/dwflsyms.c
837+++ b/tests/dwflsyms.c 838+++ b/tests/dwflsyms.c
838@@ -25,7 +25,7 @@ 839@@ -25,7 +25,7 @@
@@ -845,7 +846,7 @@ index 49ac334..cf07830 100644
845 846
846 static const char * 847 static const char *
847diff --git a/tests/early-offscn.c b/tests/early-offscn.c 848diff --git a/tests/early-offscn.c b/tests/early-offscn.c
848index 924cb9e..6f60d5a 100644 849index 924cb9ef..6f60d5a3 100644
849--- a/tests/early-offscn.c 850--- a/tests/early-offscn.c
850+++ b/tests/early-offscn.c 851+++ b/tests/early-offscn.c
851@@ -19,7 +19,7 @@ 852@@ -19,7 +19,7 @@
@@ -858,7 +859,7 @@ index 924cb9e..6f60d5a 100644
858 #include <gelf.h> 859 #include <gelf.h>
859 #include <stdio.h> 860 #include <stdio.h>
860diff --git a/tests/ecp.c b/tests/ecp.c 861diff --git a/tests/ecp.c b/tests/ecp.c
861index 38a6859..743cea5 100644 862index 38a6859e..743cea5d 100644
862--- a/tests/ecp.c 863--- a/tests/ecp.c
863+++ b/tests/ecp.c 864+++ b/tests/ecp.c
864@@ -20,7 +20,7 @@ 865@@ -20,7 +20,7 @@
@@ -871,7 +872,7 @@ index 38a6859..743cea5 100644
871 #include <gelf.h> 872 #include <gelf.h>
872 #include <stdlib.h> 873 #include <stdlib.h>
873diff --git a/tests/find-prologues.c b/tests/find-prologues.c 874diff --git a/tests/find-prologues.c b/tests/find-prologues.c
874index ba8ae37..76f5f04 100644 875index ba8ae371..76f5f047 100644
875--- a/tests/find-prologues.c 876--- a/tests/find-prologues.c
876+++ b/tests/find-prologues.c 877+++ b/tests/find-prologues.c
877@@ -25,7 +25,7 @@ 878@@ -25,7 +25,7 @@
@@ -884,7 +885,7 @@ index ba8ae37..76f5f04 100644
884 #include <fnmatch.h> 885 #include <fnmatch.h>
885 886
886diff --git a/tests/funcretval.c b/tests/funcretval.c 887diff --git a/tests/funcretval.c b/tests/funcretval.c
887index 8d19d11..c8aaa93 100644 888index 8d19d117..c8aaa93d 100644
888--- a/tests/funcretval.c 889--- a/tests/funcretval.c
889+++ b/tests/funcretval.c 890+++ b/tests/funcretval.c
890@@ -25,7 +25,7 @@ 891@@ -25,7 +25,7 @@
@@ -897,7 +898,7 @@ index 8d19d11..c8aaa93 100644
897 #include <fnmatch.h> 898 #include <fnmatch.h>
898 899
899diff --git a/tests/funcscopes.c b/tests/funcscopes.c 900diff --git a/tests/funcscopes.c b/tests/funcscopes.c
900index 9c90185..dbccb89 100644 901index 9c901858..dbccb89e 100644
901--- a/tests/funcscopes.c 902--- a/tests/funcscopes.c
902+++ b/tests/funcscopes.c 903+++ b/tests/funcscopes.c
903@@ -25,7 +25,7 @@ 904@@ -25,7 +25,7 @@
@@ -910,7 +911,7 @@ index 9c90185..dbccb89 100644
910 #include <fnmatch.h> 911 #include <fnmatch.h>
911 912
912diff --git a/tests/getsrc_die.c b/tests/getsrc_die.c 913diff --git a/tests/getsrc_die.c b/tests/getsrc_die.c
913index 055aede..9c394dd 100644 914index 055aede0..9c394dd0 100644
914--- a/tests/getsrc_die.c 915--- a/tests/getsrc_die.c
915+++ b/tests/getsrc_die.c 916+++ b/tests/getsrc_die.c
916@@ -19,7 +19,7 @@ 917@@ -19,7 +19,7 @@
@@ -923,7 +924,7 @@ index 055aede..9c394dd 100644
923 #include <inttypes.h> 924 #include <inttypes.h>
924 #include <libelf.h> 925 #include <libelf.h>
925diff --git a/tests/line2addr.c b/tests/line2addr.c 926diff --git a/tests/line2addr.c b/tests/line2addr.c
926index e0d65d3..9bf0023 100644 927index e0d65d3d..9bf0023b 100644
927--- a/tests/line2addr.c 928--- a/tests/line2addr.c
928+++ b/tests/line2addr.c 929+++ b/tests/line2addr.c
929@@ -26,7 +26,7 @@ 930@@ -26,7 +26,7 @@
@@ -936,7 +937,7 @@ index e0d65d3..9bf0023 100644
936 937
937 static void 938 static void
938diff --git a/tests/low_high_pc.c b/tests/low_high_pc.c 939diff --git a/tests/low_high_pc.c b/tests/low_high_pc.c
939index d0f4302..8da4fbd 100644 940index d0f43023..8da4fbdf 100644
940--- a/tests/low_high_pc.c 941--- a/tests/low_high_pc.c
941+++ b/tests/low_high_pc.c 942+++ b/tests/low_high_pc.c
942@@ -25,7 +25,7 @@ 943@@ -25,7 +25,7 @@
@@ -949,7 +950,7 @@ index d0f4302..8da4fbd 100644
949 #include <fnmatch.h> 950 #include <fnmatch.h>
950 951
951diff --git a/tests/md5-sha1-test.c b/tests/md5-sha1-test.c 952diff --git a/tests/md5-sha1-test.c b/tests/md5-sha1-test.c
952index d50355e..3c41f40 100644 953index d50355e9..3c41f40b 100644
953--- a/tests/md5-sha1-test.c 954--- a/tests/md5-sha1-test.c
954+++ b/tests/md5-sha1-test.c 955+++ b/tests/md5-sha1-test.c
955@@ -19,7 +19,7 @@ 956@@ -19,7 +19,7 @@
@@ -962,7 +963,7 @@ index d50355e..3c41f40 100644
962 #include "md5.h" 963 #include "md5.h"
963 #include "sha1.h" 964 #include "sha1.h"
964diff --git a/tests/rdwrmmap.c b/tests/rdwrmmap.c 965diff --git a/tests/rdwrmmap.c b/tests/rdwrmmap.c
965index 6f027df..1ce5e6e 100644 966index 6f027dfe..1ce5e6ed 100644
966--- a/tests/rdwrmmap.c 967--- a/tests/rdwrmmap.c
967+++ b/tests/rdwrmmap.c 968+++ b/tests/rdwrmmap.c
968@@ -19,7 +19,7 @@ 969@@ -19,7 +19,7 @@
@@ -975,7 +976,7 @@ index 6f027df..1ce5e6e 100644
975 #include <fcntl.h> 976 #include <fcntl.h>
976 #include <unistd.h> 977 #include <unistd.h>
977diff --git a/tests/saridx.c b/tests/saridx.c 978diff --git a/tests/saridx.c b/tests/saridx.c
978index 8a450d8..b387801 100644 979index 8a450d82..b3878013 100644
979--- a/tests/saridx.c 980--- a/tests/saridx.c
980+++ b/tests/saridx.c 981+++ b/tests/saridx.c
981@@ -17,7 +17,7 @@ 982@@ -17,7 +17,7 @@
@@ -988,7 +989,7 @@ index 8a450d8..b387801 100644
988 #include <gelf.h> 989 #include <gelf.h>
989 #include <stdio.h> 990 #include <stdio.h>
990diff --git a/tests/sectiondump.c b/tests/sectiondump.c 991diff --git a/tests/sectiondump.c b/tests/sectiondump.c
991index 3033fed..8e888db 100644 992index 3033fedc..8e888db3 100644
992--- a/tests/sectiondump.c 993--- a/tests/sectiondump.c
993+++ b/tests/sectiondump.c 994+++ b/tests/sectiondump.c
994@@ -18,7 +18,7 @@ 995@@ -18,7 +18,7 @@
@@ -1001,7 +1002,7 @@ index 3033fed..8e888db 100644
1001 #include <gelf.h> 1002 #include <gelf.h>
1002 #include <inttypes.h> 1003 #include <inttypes.h>
1003diff --git a/tests/varlocs.c b/tests/varlocs.c 1004diff --git a/tests/varlocs.c b/tests/varlocs.c
1004index c3fba89..e043ea2 100644 1005index c3fba89e..e043ea2c 100644
1005--- a/tests/varlocs.c 1006--- a/tests/varlocs.c
1006+++ b/tests/varlocs.c 1007+++ b/tests/varlocs.c
1007@@ -25,7 +25,7 @@ 1008@@ -25,7 +25,7 @@
@@ -1014,7 +1015,7 @@ index c3fba89..e043ea2 100644
1014 #include <sys/types.h> 1015 #include <sys/types.h>
1015 #include <sys/stat.h> 1016 #include <sys/stat.h>
1016diff --git a/tests/vdsosyms.c b/tests/vdsosyms.c 1017diff --git a/tests/vdsosyms.c b/tests/vdsosyms.c
1017index b876c10..afb2823 100644 1018index b876c10b..afb28232 100644
1018--- a/tests/vdsosyms.c 1019--- a/tests/vdsosyms.c
1019+++ b/tests/vdsosyms.c 1020+++ b/tests/vdsosyms.c
1020@@ -18,7 +18,7 @@ 1021@@ -18,7 +18,7 @@
@@ -1026,6 +1027,3 @@ index b876c10..afb2823 100644
1026 #include <inttypes.h> 1027 #include <inttypes.h>
1027 #include <stdio.h> 1028 #include <stdio.h>
1028 #include <string.h> 1029 #include <string.h>
1029--
10301.8.3.1
1031