libdw: Handle DW_OP_GNU_uninit in dwarf_getlocation
[platform/upstream/elfutils.git] / tests / ChangeLog
1 2023-02-10  Mark Wielaard  <mark@klomp.org>
2
3         * varlocs.c (print_expr): Handle DW_OP_GNU_uninit.
4
5 2023-02-07  Mark Wielaard  <mark@klomp.org>
6
7         * tests/funcretval.c (handle_function): Check for
8         DW_TAG_unspecified_type.
9
10 2023-02-03  Mark Wielaard  <mark@klomp.org>
11
12         * run-addr2line-C-test.sh: Check ELFUTILS_DISABLE_DEMANGLE.
13
14 2023-01-22  Mark Wielaard  <mark@klomp.org>
15
16         * testfile-inlines-lto.bz2: New testfile.
17         * run-addr2line-i-test.sh: Add new lto inlines test.
18         * Makefile.am (EXTRA_DIST): Add testfile-inlines-lto.bz2.
19
20 2023-01-19  Mark Wielaard  <mark@klomp.org>
21
22         * run-addr2line-C-test.sh: New test.
23         * Makefile.am (TESTS): Add run-addr2line-C-test.sh.
24         (EXTRA_DIST): Likewise.
25
26 2023-01-19  Mark Wielaard  <mark@klomp.org>
27
28         * run-debuginfod-query-retry.sh: Use libdebuginfod.so.1 instead
29         of /bin/sh as test file.
30
31 2022-12-21  Shahab Vahedi  <shahab@synopsys.email>
32
33         * hello_arc_hs4.ko.bz2: New testfile.
34         * run-strip-reloc.sh: Add ARC HS4 test.
35         * Makefile.am (EXTRA_DIST): Add hello_arc_hs4.ko.bz2.
36
37 2022-11-01  Aaron Merey  <amerey@redhat.com>
38
39         * run-debuginfod-section.sh (RPM_BUILDID): Use buildid from non-zstd
40         compressed rpm.
41
42 2022-10-31  Aaron Merey  <amerey@redhat.com>
43
44         * Makefile.am (TESTS): Add run-debuginfod-section.sh.
45         * run-debuginfod-section.sh: New test.
46
47 2022-09-20  Yonggang Luo  <luoyonggang@gmail.com>
48
49         * Makefile.am (EXTRA_DIST): Remove debuginfod-rpms/hello2.spec.
50         Add debuginfod-rpms/hello{2,3}.specfile.
51         * tests/debuginfod-rpms/hello2.spec.: Renamed to...
52         * tests/debuginfod-rpms/hello2.specfile: ...this.
53         * tests/debuginfod-rpms/hello3.spec.: Renamed to...
54         * tests/debuginfod-rpms/hello3.specfile: ...this.
55
56 2022-10-28  Arsen Arsenović  <arsen@aarsen.me>
57
58         * run-readelf-s.sh: Add tests for the --syms alias.
59
60 2022-10-27  Mark Wielaard  <mark@klomp.org>
61
62         * backtrace-subr.sh: Use grep -E instead of egrep, use grep -F
63         instead of fgrep.
64         * debuginfod-subr.sh: Likewise.
65         * run-debuginfod-archive-rename.sh: Likewise.
66         * run-debuginfod-extraction-passive.sh: Likewise.
67         * run-debuginfod-response-headers.sh: Likewise.
68         * run-debuginfod-webapi-concurrency.sh: Likewise.
69         * run-strip-test.sh: Likewise.
70
71 2022-10-16  Mark Wielaard  <mark@klomp.org>
72
73         * dwfl-report-offline-memory.c: Include config.h first.
74
75 2022-10-16  Mark Wielaard  <mark@klomp.org>
76
77         * dwfl-report-offline-memory.c (main): Check lseek, read and malloc
78         results with correct types.
79
80 2022-09-13  Aleksei Vetrov  <vvvvvv@google.com>
81
82         * Makefile.am (check_PROGRAMS): Add dwfl-report-offline-memory.
83         (TESTS): Add run-dwfl-report-offline-memory.sh.
84         (EXTRA_DIST): Likewise.
85         (dwfl_report_offline_memory_LDADD): New variable.
86         * dwfl-report-offline-memory.c: New file.
87         * run-dwfl-report-offline-memory.sh: Likewise.
88
89 2022-09-13  Khem Raj <raj.khem@gmail.com>
90
91         * Makefile.am (*_LDADD): Add libeu if needed for error.
92
93 2022-08-26  Mark Wielaard  <mark@klomp.org>
94
95         * run-ar-N.sh: New test.
96         * Makefile.am (TESTS): Add run-ar-N.sh.
97         (EXTRA_DIST): Likewise.
98
99 2022-09-02  Frank Ch. Eigler  <fche@redhat.com>
100
101         * run-debuginfod-response-headers.sh: Use case-insensitive
102         header name matches.  Use socat & sleep for greater
103         portability.
104         * run-debuginfod-sizetime.sh: Update for debuginfod-find -v -v.
105
106 2022-07-15  Noah Sanci  <nsanci@redhat.com>
107
108         * run-debuginfod-response-headers.sh: Added test
109         to ensure that federated servers pass headers down to
110         queried server.
111
112 2022-08-04  Sergei Trofimovich  <slyich@gmail.com>
113
114         * low_high_pc.c (handle_die): Drop redundant 'lx' suffix.
115
116 2022-08-01  Mark Wielaard  <mark@klomp.org>
117
118         * run-debuginfod-percent-escape.sh: Add initial scan wait_ready.
119
120 2022-04-28  Di Chen  <dichen@redhat.com>
121
122         * run-readelf-Dd.sh: New test.
123         * Makefile.am (TESTS): Add run-readelf-Dd.sh.
124         (EXTRA_DIST): Likewise.
125
126 2022-06-01  Mark Wielaard  <mark@klomp.org>
127
128         * testfile-arm-flags.bz2: New test file.
129         * run-readelf-arm-flags.sh: New test.
130         * Makefile.am (TESTS): Add run-readelf-arm-flags.sh.
131         (EXTRA_DIST): Add readelf-arm-flags.sh and testfile-arm-flags.bz2
132
133 2022-05-13  Noah Sanci  <nsanci@redhat.com>
134
135         * run-debuginfod-fd-prefetch-caches.sh: Rewritten.
136
137 2022-06-02  Mark Wielaard  <mark@klomp.org>
138
139         * Makefile.am (TESTS): Add run-debuginfod-federation-metrics.sh
140         only when OLD_LIBMICROHTTPD conditional is not set.
141
142 2022-04-24  Mark Wielaard  <mark@klomp.org>
143
144         * run-debuginfod-webapi-concurrency.sh: Fix PR number in xfail.
145
146 2022-04-23  Mark Wielaard  <mark@klomp.org>
147
148         * run-debuginfod-webapi-concurrency.sh: Lower parallel lookups.
149
150 2022-03-01  Di Chen <dichen@redhat.com>
151
152         * alldts.c (dtflags): Put DT_NULL last.
153         * run-alldts.sh: NULL comes last.
154         * run-readelf-d.sh: Adjust Dynamic entries, remove DT_NULL
155         padding.
156
157 2022-04-14  Mark Wielaard  <mark@klomp.org>
158
159         * run-debuginfod-federation-sqlite.sh: Don't try to corrupt
160         sqlite database.
161
162 2022-04-13  Aaron Merey  <amerey@redhat.com>
163
164         * Makefile.am (TESTS): Remove run-debuginfod-000-permission.sh
165         and add run-debuginfod-negative-cache.sh.
166         (EXTRA_DIST): Likewise.
167         * run-debuginfod-federation-link.sh: Update comments about
168         negative-hit file.
169         * run-debuginfod-federation-metrics.sh: Likewise.
170         * run-debuginfod-federation-sqlite.sh: Likewise.
171         * run-debuginfod-tmp-home.sh: Likewise.
172
173 2022-03-20  Mark Wielaard  <mark@klomp.org>
174
175         * run-large-elf-file.sh: Check elf class of addsections binary.
176
177 2021-12-17  Mark Wielaard  <mark@klomp.org>
178
179         * run-debuginfod-query-retry.sh: Use /bin/sh instead of /bin/ls.
180
181 2021-12-09  Frank Ch. Eigler  <fche@redhat.com>
182
183         * debuginfod-subr.sh (xfail): New proc.
184         * run-debuginfod-webapi-concurrency.sh: New test for -C.
185         * Makefile.am: List it.
186
187 2021-12-04  Mark Wielaard  <mark@klomp.org>
188
189         * Makefile.am (EXTRA_NLIST_CFLAGS): New variable depends on
190         USE_ADDRESS_SANITIZER.
191         (test_nlist_CFLAGS): Add EXTRA_NLIST_CFLAGS.
192
193 2021-12-04  Mark Wielaard  <mark@klomp.org>
194
195         * varlocs.c (dwarf_encoding_string): Return "<unknown encoding>" instead
196         of NULL.
197         (dwarf_tag_string): Return "<unknown tag>" instead of NULL.
198         (dwarf_attr_string): Return "<unknown attr>" instead of NULL.
199         (dwarf_form_string): Return "<unknown form>" instead of NULL.
200         (dwarf_opcode_string): Return "<unknown opcode>" instead of NULL.
201         (print_expr): Remove assert.
202
203 2021-11-18  Mark Wielaard  <mark@klomp.org>
204
205         * Makefile.am (dwfl_proc_attach_LDFLAGS): Add -rdynamic.
206
207 2021-11-11  Mark Wielaard  <mark@klomp.org>
208
209         * run-debuginfod-000-permission.sh: Don't set DEBUGINFOD_TIMEOUT.
210         * run-debuginfod-archive-groom.sh: Likewise.
211         * run-debuginfod-archive-rename.sh: Likewise.
212         * run-debuginfod-archive-test.sh: Likewise.
213         * run-debuginfod-artifact-running.sh: Likewise.
214         * run-debuginfod-dlopen.sh: Likewise.
215         * run-debuginfod-extraction.sh: Likewise.
216         * run-debuginfod-federation-link.sh: Likewise.
217         * run-debuginfod-federation-metrics.sh: Likewise.
218         * run-debuginfod-federation-sqlite.sh: Likewise.
219         * run-debuginfod-malformed.sh: Likewise.
220         * run-debuginfod-tmp-home.sh: Likewise.
221         * run-debuginfod-writable.sh: Likewise.
222
223 2021-11-05  Frank Ch. Eigler  <fche@redhat.com>
224
225         PR28430
226         * run-debuginfod-extraction-passive.sh: New test.
227         * Makefile.am (TESTS, EXTRA_DIST): Add it.
228
229 2021-10-20  John M Mellor-Crummey  <johnmc@rice.edu>
230
231         * nvidia_extended_linemap_libdw.c: New file.
232         * run-nvidia-extended-linemap-libdw.sh: New test.
233         * run-nvidia-extended-linemap-readelf.sh: Likewise.
234         * testfile_nvidia_linemap.bz2: New test file.
235         * .gitignore: Add nvidia_extended_linemap_libdw.
236         * Makefile.am (check_PROGRAMS): Add nvidia_extended_linemap_libdw.
237         (TESTS): Add run-nvidia-extended-linemap-libdw.sh and
238         run-nvidia-extended-linemap-readelf.sh
239         (EXTRA_DIST): Likewise and testfile_nvidia_linemap.bz2.
240         (nvidia_extended_linemap_libdw_LDADD): New variable.
241
242 2021-11-08  Mark Wielaard  <mark@klomp.org>
243
244         * Makefile.am (TESTS): Add run-readelf-fat-lto.sh.
245         (EXTRA_DIST): Add run-readelf-fat-lto.sh and
246         testfile-dwarf5-fat-lto.o.bz2.
247         * run-readelf-fat-lto.sh: New test.
248         * testfile-dwarf5-fat-lto.o.bz2: New test file.
249
250 2021-11-04  Frank Ch. Eigler  <fche@redhat.com>
251
252         PR28514
253         * run-debuginfod-archive-groom.sh: Look for new groom metric.
254
255 2021-10-23  Frank Ch. Eigler  <fche@redhat.com>
256
257         PR28240
258         * run-debuginfod-000-permission.sh, -writable.sh:
259         Correct negative-cache file permission checking.
260
261 2021-10-06  Mark Wielaard  <mark@klomp.org>
262
263         * show-die-info.c (handle): Handle dwarf_attr_string returning NULL.
264
265 2021-10-06  Di Chen <dichen@redhat.com>
266
267         PR28242
268         * run-debuginfod-000-permission.sh: Expect artifacttype metrics.
269
270 2021-09-17  Noah Sanci  <nsanci@redhat.com>
271
272         * run-debuginfod-response-header.sh: removed checking for Connection
273         and Cache-Control in response headers.
274
275 2021-09-08  Mark Wielaard  <mark@klomp.org>
276
277         * run-varlocs-vars.sh: New test.
278         * testfile-vars-clang-dwarf4-32.o.bz2: New test file.
279         * testfile-vars-clang-dwarf4-64.o.bz2: Likewise.
280         * testfile-vars-clang-dwarf5-32.o.bz2: Likewise.
281         * testfile-vars-clang-dwarf5-64.o.bz2: Likewise.
282         * testfile-vars-gcc-dwarf4-32.o.bz2: Likewise.
283         * testfile-vars-gcc-dwarf4-64.o.bz2: Likewise.
284         * testfile-vars-gcc-dwarf5-32.o.bz2: Likewise.
285         * testfile-vars-gcc-dwarf5-64.o.bz2: Likewise.
286         * Makefile.am (EXTRA_DIST): Add new test and test files.
287         (TESTS): Add run-varlocs-vars.sh.
288
289 2021-09-09  Mark Wielaard  <mark@klomp.org>
290
291         * debuginfod-subr.sh: set -o functrace.
292         (cleanup): Disable trap 0.
293         (err): Disable trap ERR.
294         * run-debuginfod-fd-prefetch-caches.sh: Use || true when grep -c fails.
295
296 2021-09-09  Mark Wielaard  <mark@klomp.org>
297
298         * debuginfod-subr.sh: set -o errtrace.
299         (cleanup): Don't fail kill or wait. Only trap on normal exit.
300         (err): Don't fail curl metrics. Call cleanup.
301         * run-debuginfod-federation-link.sh: Use separate client caches
302         for both servers and debuginfod client. Remove duplicate valgrind
303         disabling.
304         * run-debuginfod-federation-metrics.sh: Likewise.
305         * run-debuginfod-federation-sqlite.sh: Likewise.
306
307 2021-09-13  Noah Sanci  <nsanci@redhat.com>
308
309         * Makefile.am: added run-debuginfod-percent-escape.sh to TESTS and
310         EXTRA_DIST.
311
312 2021-09-06  Dmitry V. Levin  <ldv@altlinux.org>
313
314         * elfcopy.c (copy_elf): Remove cast of malloc return value.
315
316 2021-09-07  Mark Wielaard  <mark@klomp.org>
317
318         * run-debuginfod-archive-groom.sh: Wait for initial scan and groom
319         cycle before making any changes to the scan dirs.
320         * run-debuginfod-archive-rename.sh: Likewise.
321         * run-debuginfod-artifact-running.sh: Wait for initial scan cycle
322         before making any changes to the scan dirs.
323         * run-debuginfod-dlopen.sh: Likewise.
324         * run-debuginfod-extraction.sh: Likewise.
325         * run-debuginfod-federation-link.sh: Don't wait twice for the initial
326         scan.
327
328 2021-09-06  Mark Wielaard  <mark@klomp.org>
329
330         * run-debuginfod-archive-groom.sh: Wait for initial scan and groom
331         cycle.
332         * run-debuginfod-archive-rename.sh: Likewise.
333         * run-debuginfod-federation-sqlite.sh: Likewise.
334         * run-debuginfod-archive-test.sh: Wait for initial scan cycle.
335         * run-debuginfod-artifact-running.sh: Likewise.
336         * run-debuginfod-dlopen.sh: Likewise.
337         * run-debuginfod-extraction.sh: Likewise.
338         * run-debuginfod-federation-link.sh: Likewise.
339         * run-debuginfod-federation-metrics.sh: Likewise.
340         * run-debuginfod-malformed.sh: Likewise.
341         * run-debuginfod-regex.sh: Likewise.
342         * run-debuginfod-tmp-home.sh: Likewise.
343         * run-debuginfod-writable.sh: Likewise.
344
345 2021-09-06  Mark Wielaard  <mark@klomp.org>
346
347         * run-debuginfod-archive-groom.sh: Set DEBUGINFOD_URLS after starting
348         debuginfod server.
349         * run-debuginfod-archive-rename.sh: Likewise.
350         * run-debuginfod-federation-link.sh: Don't set DEBUGINFOD_URLS.
351         * run-debuginfod-federation-sqlite.sh: Likewise.
352         * run-debuginfod-federation-metrics.sh: Add comment why invalid
353         DEBUGINFOD_URLS is set.
354
355 2021-09-06  Mark Wielaard  <mark@klomp.org>
356
357         * debuginfod-subr.sh (err): Change ports to port in for loop so both
358         PORT1 and PORT2 are used.
359         (get_ports): Simplify port selection by using for 50 for PORT1 and
360         second 50 for PORT2.
361
362 2021-09-06  Mark Wielaard  <mark@klomp.org>
363
364         * run-debuginfod-file.sh: Set DEBUGINFOD_CACHE_PATH. Export
365         correct DEBUGINFOD_URLS.
366         * run-debuginfod-query-retry.sh: Add DEBUGINFOD_CACHE_PATH
367         to env.
368
369 2021-09-03  Mark Wielaard  <mark@klomp.org>
370
371         * run-debuginfod-000-permission.sh: Set DEBUGINFOD_CACHE_PATH
372         and use an unique sqlite db.
373         * run-debuginfod-archive-groom.sh: Likewise.
374         * run-debuginfod-archive-test.sh: Likewise.
375         * run-debuginfod-dlopen.sh: Likewise.
376         * run-debuginfod-duplicate-urls.sh: Likewise.
377         * run-debuginfod-extraction.sh: Likewise.
378         * run-debuginfod-fd-prefetch-caches.sh: Likewise.
379         * run-debuginfod-malformed.sh: Likewise.
380         * run-debuginfod-sizetime.sh: Likewise.
381         * run-debuginfod-tmp-home.sh: Likewise.
382         * run-debuginfod-writable.sh: Likewise.
383
384 2021-09-03  Mark Wielaard  <mark@klomp.org>
385
386         * debuginfod-subr.sh (EXTRA_DIST): Add debuginfod-subr.sh.
387
388 2021-08-20  Noah Sanci  <nsanci@redhat.com>
389
390         * run-debuginfod-response-headers.sh: Ensures custom http response
391         headers are used and functional
392         * Makefile.am: Added the above new file to TESTS and EXTRA_DIST
393
394 2021-08-28  Mark Wielaard  <mark@klomp.org>
395
396         * run-debuginfod-find.sh: Use ":memory:" for the
397         forwarded-ttl-limit tests.
398
399 2021-08-28  Mark Wielaard  <mark@klomp.org>
400
401         * run-debuginfod-find.sh: Use clean, separate databases for
402         forwarded-ttl-limit tests.
403
404 2021-08-20  Di Chen  <dichen@redhat.com>
405
406         * run-debuginfod-find.sh: Add test for X-Forwarded-For hops limit.
407
408 2021-08-20  Noah Sanci  <nsanci@redhat.com>
409
410         * debuginfod-find.sh: Separated file into 
411         run-debuginfod-000-permission.sh, 
412         run-debuginfod-archive-groom.sh,
413         run-debuginfod-archive-rename.sh,
414         run-debuginfod-archive-test.sh,
415         run-debuginfod-artifact-running.sh,
416         run-debuginfod-dlopen.sh,
417         run-debuginfod-duplicate-urls.sh,
418         run-debuginfod-extraction.sh,
419         run-debuginfod-fd-prefetch-caches.sh,
420         run-debuginfod-federation-link.sh,
421         run-debuginfod-federation-metrics.sh,
422         run-debuginfod-federation-sqlite.sh,
423         run-debuginfod-file.sh,
424         run-debuginfod-malformed.sh,
425         run-debuginfod-no-urls.sh,
426         run-debuginfod-query-retry.sh,
427         run-debuginfod-regex.sh,
428         run-debuginfod-sizetime.sh,
429         run-debuginfod-tmp-home.sh,
430         run-debuginfod-x-forwarded.sh
431         and run-debuginfod-writable.sh.
432         All files source debuginfod-subr.sh and use the $base variable to find ports.
433         * tests/Makefile.am: Added the above new files to the test suite
434         * tests/debuginfod-subr.sh: Added some general functions for above tests
435
436 2021-08-04  Mark Wielaard  <mark@klomp.org>
437
438         PR28190
439         * backtrace.c (callback_verify): Check for pthread_kill as first
440         frame. Change asserts to fprintf plus abort.
441
442 2021-07-26  Noah Sanci  <nsanci@redhat.com>
443
444         PR27982
445         * run-debuginfod-find.sh: Added a test to ensure that
446         DEBUGINFOD_MAXSIZE and DEBUGINFOD_MAXTIME work properly
447         by searching server and client logs for prompts.
448
449 2021-07-16  Noah Sanci  <nsanci@redhat.com>
450
451         PR28034
452         * run-debuginfod-percent-escape.sh: Added a test ensuring files with %
453         escapable characters in their paths are accessible.
454
455 2021-07-21  Noah Sanci <nsanci@redhat.com>
456
457         * run-debuginfod-find.sh: Properly kill $PID4 by waiting for it to
458         finish. Report $PORT3's metrics in err().
459
460 2021-06-28  Noah Sanci <nsanci@redhat.com>
461
462         PR25978
463         * run-debuginfod-find.sh: Test to ensure options
464         fdcache-prefetch-fds/mbs are set. Check that inc_metric works for lru
465         and prefetch cache metrics.
466
467 2021-07-06  Alice Zhang  <alizhang@redhat.com>
468
469         PR27531
470         * run-debuginfod-find.sh: Add test case for retry mechanism.
471
472 2021-07-01  Noah Sanci <nsanci@redhat.com>
473
474         PR2711
475         * run-debuginfod-find.sh: Added test case for grooming the database
476         using regexes. 
477
478 2021-07-09  Noah Sanci  <nsanci@redhat.com>
479
480         PR27983
481         * run-debuginfod-find.sh: Wrote test to ensure duplicate urls are in
482         fact not checked.
483
484 2021-07-08  Mark Wielaard  <mark@klomp.org>
485
486         * Makefile.am (EXTRA_DIST): Fix typo testfile-largealign.bz2 was
487         was missing .o.
488
489 2021-06-09  Andrei Homescu  <ah@immunant.com>
490
491         * testfile-largealign.o.bz2: New test file.
492         * run-strip-largealign.sh: New test.
493         * Makefile.am (TESTS): Add run-strip-largealign.sh.
494         (EXTRA_DIST): Add run-strip-largealign.sh and
495         testfile-largealign.o.bz2
496
497 2021-07-02  Mark Wielaard  <mark@klomp.org>
498
499         * run-debuginfo-find.sh: unset VALGRIND_CMD before testing debuginfod
500         client cache.
501
502 2021-06-16  Frank Ch. Eigler <fche@redhat.com>
503
504         * run-debuginfod-find.sh: Fix intermittent groom/stale failure,
505         due to SIGUSR1/SIGUSR2 races.  Trace more.
506
507 2021-06-15  Frank Ch. Eigler <fche@redhat.com>
508
509         * run-debuginfod-find.sh (err): Elaborate.  Use as the reliable
510         error-report triggering function, rather than "exit 1".
511
512 2021-06-03  Frank Ch. Eigler <fche@redhat.com>
513
514         PR27863
515         * run-debuginfod-find.sh: Test "after-you" queueing via flooding
516         with concurent curls.
517
518 2021-05-14  Frank Ch. Eigler <fche@redhat.com>
519
520         PR27859
521         * run-debuginfod-find.sh: Test absence of 404-latch bug in client
522         curl handle reuse.
523
524 2021-04-19  Martin Liska  <mliska@suse.cz>
525
526         * dwelf_elf_e_machine_string.c (main): Use startswith.
527         * dwelfgnucompressed.c (main): Likewise.
528         * elfgetchdr.c (main): Likewise.
529         * elfputzdata.c (main): Likewise.
530         * vdsosyms.c (module_callback): Likewise.
531
532 2021-05-04  Alice Zhang  <alizhang@redhat.com>
533
534         * run-debuginfod-find.sh: Added tests for negative cache files.
535
536 2021-04-26  Frank Ch. Eigler <fche@redhat.com>
537
538         PR27571
539         * run-debuginfod-find.sh: Add test case for unwriteable cache files.
540
541 2021-04-23  Omar Sandoval  <osandov@fb.com>
542
543         * run-low_high_pc-dw-form-indirect.sh: New file.
544         * run-readelf-dw-form-indirect.sh: New file.
545         * testfile-dw-form-indirect.bz2: New file.
546         * Makefile.am (TESTS): Add run-low_high_pc-dw-form-indirect.sh and
547         run-readelf-dw-form-indirect.sh.
548         (EXTRA_DIST): Add run-low_high_pc-dw-form-indirect.sh,
549         run-readelf-dw-form-indirect.sh, and testfile-dw-form-indirect.bz2.
550
551 2021-04-26  Frank Ch. Eigler <fche@redhat.com>
552
553         PR26125
554         * run-debuginfod-find.sh: Add test case for cache cleanup rmdir.
555
556 2021-04-23  Frank Ch. Eigler  <fche@redhat.com>
557
558         * run-debuginfod-find.sh: Add a tiny test for client object reuse.
559         Add an "errfiles" test construct to ask the framework to print
560         various files in the case of an error.
561
562 2021-03-30  Frank Ch. Eigler  <fche@redhat.com>
563
564         * run-debuginfod-find.sh: Add thread comm checks.
565
566 2021-02-17  Timm Bäder  <tbaeder@redhat.com>
567
568         * elfstrmerge.c (main): Move new_data_buf function to...
569         (new_data_buf): ...top-level static function adding fname,
570         ndx, shdrstrnd and shdrnum as arguments.
571
572 2021-02-17  Timm Bäder  <tbaeder@redhat.com>
573
574         * elfstrmerge.c (main): Move newsecndx function to...
575         (newsecndx): ...top-level static function adding shdrstrndx,
576         shdrnum and fname as arguments.
577
578 2021-02-25  Frank Ch. Eigler <fche@redhat.com>
579
580         * run-debuginfod-find.sh: Add bad webapi artifacttype test.
581
582 2021-02-17  Frank Ch. Eigler <fche@redhat.com>
583
584         * run-debuginfod-find.sh: Tweak wait_ready() to also print -vvv log of
585         appropriate debuginfod if metric timeout occurs.  Focus grooming
586         test carefully at a more deterministic metric.
587
588 2021-02-12  Mark Wielaard  <mark@klomp.org>
589
590         * run-readelf-types.sh: Add CU start to type offset reference.
591
592 2021-02-07  Alexander Miller  <alex.miller@gmx.de>
593
594         * Makefile.am (TESTS_ENVIRONMENT): Quote variables.
595         (valgrind_cmd): Unquote variable.
596
597 2021-02-08  Ã‰rico Nogueira  <ericonr@disroot.org>
598
599         * run-debuginfod-find.sh: Check for cpio availability.
600
601 2021-02-04  Frank Ch. Eigler <fche@redhat.com>
602
603         * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling.
604
605 2021-01-31  Sergei Trofimovich  <slyfox@gentoo.org>
606
607         * Makefile.am (TESTS_ENVIRONMENT): export CC variable
608         to tests for use instead of 'gcc'.
609         * run-disasm-x86-64.sh: use ${CC} instead of 'gcc'.
610         * run-disasm-x86.sh: Likewise.
611         * run-strip-g.sh: Likewise.
612         * run-strip-nothing.sh: Likewise.
613         * run-test-includes.sh: Likewise.
614
615 2021-01-06  Timm Bäder  <tbaeder@redhat.com>
616
617         * zstrptr.c (main): Lift print_strings function up to ...
618         (print_strings): ... here. New file scope function taking
619         Elf_Scn*, Elf* and ndx as arguments.
620
621 2020-12-20  Dmitry V. Levin  <ldv@altlinux.org>
622
623         * .gitignore: New file.
624
625 2020-12-12  Mark Wielaard  <mark@klomp.org>
626
627         * testfile-retain.o.bz2: New test file.
628         * run-retain.sh: New test.
629         * Makefile.am (TESTS): Add run-retain.sh.
630         (EXTRA_DIST): Add run-retain.sh and testfile-retain.o.bz2
631
632 2020-12-16  Dmitry V. Levin  <ldv@altlinux.org>
633
634         * dwflmodtest.c (N_): Remove.
635
636 2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
637
638         * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics.
639         * run-lfs-symbols.sh: Likewise.
640         * elfstrmerge.c (main): Fix spelling typos in comments.
641         * dwfl-bug-fd-leak.c: Likewise.
642         * run-readelf-line.sh: Likewise.
643         * run-stack-demangled-test.sh: Likewise.
644         * sectiondump.c (main): Likewise.
645         * varlocs.c (handle_die): Likewise.
646
647 2020-12-11  Dmitry V. Levin  <ldv@altlinux.org>
648
649         * configure.ac: Remove.
650         * Makefile.am [STANDALONE]: Remove.
651         (check_PROGRAMS): Add msg_tst, system-elf-libelf-test, and $(asm_TESTS)
652         unconditionally.
653         (TESTS): Add msg_tst, system-elf-libelf-test, $(asm_TESTS), and
654         run-disasm-bpf.sh unconditionally.
655
656 2020-11-23  Frank Ch. Eigler  <fche@redhat.com>
657
658         * run-debuginfod-find.sh: Add sqlite error injection & stats.
659
660 2020-11-02  Mark Wielaard  <mark@klomp.org>
661
662         * run-debuginfod-find.sh: Create bogus R/nothing.rpm with cyclic
663         symlink instead of chmod 000.
664
665 2020-11-19  Frank Ch. Eigler  <fche@redhat.com>
666
667         * run-debuginfod-find.sh: Look for http-* metrics.
668
669 2020-11-01  Ã‰rico N. Rolim  <erico.erc@gmail.com>
670             Mark Wielaard  <mark@klomp.org>
671
672         * alldts.c (main): Use DEFFILEMODE for open with O_CREAT.
673         * arextract.c (main): Likewise.
674         * ecp.c (main): Likewise for creat.
675         * elfstrtab.c (check_elf): Use DEFFILEMODE for open with O_CREAT,
676         remove mode from open calls without O_CREAT.
677         * emptyfile.c (check_elf): Likewise.
678         * fillfile.c (check_elf): Likewise.
679         * vendorelf.c (check_elf): Likewise.
680         * newdata.c (checkelf): Use DEFFILEMODE for open with O_CREAT.
681         * update{1,2,3,4}.c (main): Likewise.
682         *
683
684 2020-10-31  Mark Wielaard  <mark@klomp.org>
685
686         * dwfl-proc-attach.c (dlopen): New external function override.
687
688 2020-10-31  Mark Wielaard  <mark@klomp.org>
689
690         * test-wrapper.sh: Use =, not == for string compare.
691
692 2020-10-29  Mark Wielaard  <mark@klomp.org>
693
694         * test-wrapper.sh: Determine whether the test is a script or not
695         and run binaries directly under valgrind.
696         * dwfl-bug-fd-leak.c (main): Call getrlimit before calling setrlimit.
697         * dwfl-proc-attach.c (main): Call dwfl_end, pthread_cancel and
698         pthread_join.
699         * vdsosyms.c (main): Call dwfl_end.
700
701 2020-10-31  Frank Ch. Eigler  <fche@redhat.com>
702
703         * run-debuginfod-find.sh: Modify for tweaked/new metrics.
704
705 2020-10-30  Frank Ch. Eigler  <fche@redhat.com>
706
707         PR26775
708         * run-debuginfod-find.sh: Modify test for restored
709         thread_work_total semantics for grooming.
710
711 2020-10-29  Frank Ch. Eigler  <fche@redhat.com>
712
713         PR26775
714         * run-debuginfod-find.sh: Modify test for different
715         thread_work_total semantics for grooming.
716
717 2020-10-29  Frank Ch. Eigler  <fche@redhat.com>
718
719         PR26810
720         * run-debuginfod-find.sh: Add tests for successful archive fetches across
721         renamed RPMs, even without grooming.
722
723 2020-10-25  Mark Wielaard  <mark@klomp.org>
724
725         * read_unaligned.c: New test.
726         * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned.
727         (read_unaligned_LDADD): New variable.
728
729 2020-10-28  Tom Tromey  <tom@tromey.com>
730
731         PR26773
732         * Makefile.am (check_PROGRAMS, TESTS): Add leb128.
733         (leb128_LDADD): New variable.
734         * leb128.c: New file.
735
736 2020-10-19  Mark Wielaard  <mark@klomp.org>
737
738         * addrcfi.c (print_register): Make ops_mem 3 elements.
739
740 2020-10-19  Mark Wielaard  <mark@klomp.org>
741
742         * testfile60.bz2: Removed.
743         * Makefile.am (EXTRA_DIST): Remove testfile60.bz2.
744         * run-allregs.sh: Remove tilegx testfile60 testcase.
745
746 2020-10-20  Frank Ch. Eigler  <fche@redhat.com>
747
748         PR26756: more prometheus metrics
749         * run-debuginfod-find.sh: Trigger some errors with dummy "nothing.rpm"
750         and check for new metrics.
751
752 2020-09-18  Mark Wielaard  <mark@klomp.org>
753
754         * run-readelf-compressed-zstd.sh: New test.
755         * Makefile.am (EXTRA_DISTS): Add run-readelf-compressed-zstd.sh.
756         (TESTS): Add run-readelf-compressed-zstd.sh if HAVE_ZSTD.
757
758 2020-09-03  Mark Wielaard  <mark@klomp.org>
759
760         * run-readelf-frames.sh: New test.
761         * Makefile.am (TESTS): Add run-readelf-frames.sh.
762         (EXTRA_DIST): Likewise.
763
764 2020-09-03  Mark Wielaard  <mark@klomp.org>
765
766         * testfile-gnu-property-note-aarch64.bz2: New file.
767         * run-readelf-n.sh: Handle testfile-gnu-property-note-aarch64.
768         * Makefile.am (EXTRA_DIST): Add
769         testfile-gnu-property-note-aarch64.bz2.
770
771 2020-07-19  Mark Wielaard  <mark@klomp.org>
772
773         * asm-tst1.c: Include libebl.h after libasm.h.
774         * asm-tst2.c: Likewise.
775         * asm-tst3.c: Likewise.
776         * asm-tst4.c: Likewise.
777         * asm-tst5.c: Likewise.
778         * asm-tst6.c: Likewise.
779         * asm-tst7.c: Likewise.
780         * asm-tst8.c: Likewise.
781         * asm-tst9.c: Likewise.
782
783 2020-07-05  Mark Wielaard  <mark@klomp.org>
784
785         * run-test-includes.sh: New test.
786         * Makefile.am (TESTS): Add run-test-includes.sh.
787         (EXTRA_DIST): Likewise.
788
789 2020-07-03  Alice Zhang  <alizhang@redhat.com>
790
791         * run-debuginfod-find.sh: Add scheme free url testcase.
792
793 2020-06-19  Mark Wielaard  <mark@klomp.org>
794
795         * Makefile.am (TESTS): Don't add run-debuginfod-find.sh when
796         DUMMY_LIBDEBUGINFOD.
797
798 2020-06-16  Mark Wielaard  <mark@klomp.org>
799
800         * coverage.sh: Use /usr/bin/env bash.
801         * run-ar.sh: Likewise.
802         * run-backtrace-core-aarch64.sh: Likewise.
803         * run-backtrace-core-i386.sh: Likewise.
804         * run-backtrace-core-ppc.sh: Likewise.
805         * run-backtrace-core-s390.sh: Likewise.
806         * run-backtrace-core-s390x.sh: Likewise.
807         * run-backtrace-core-sparc.sh: Likewise.
808         * run-backtrace-core-x32.sh: Likewise.
809         * run-backtrace-core-x86_64.sh: Likewise.
810         * run-backtrace-data.sh: Likewise.
811         * run-backtrace-demangle.sh: Likewise.
812         * run-backtrace-dwarf.sh: Likewise.
813         * run-backtrace-fp-core-aarch64.sh: Likewise.
814         * run-backtrace-fp-core-i386.sh: Likewise.
815         * run-backtrace-fp-core-ppc64le.sh: Likewise.
816         * run-backtrace-fp-core-x86_64.sh: Likewise.
817         * run-backtrace-native-biarch.sh: Likewise.
818         * run-backtrace-native-core-biarch.sh: Likewise.
819         * run-backtrace-native-core.sh: Likewise.
820         * run-backtrace-native.sh: Likewise.
821         * run-debuginfod-find.sh: Likewise.
822         * run-deleted.sh: Likewise.
823         * run-dwelf_elf_e_machine_string.sh: Likewise.
824         * run-large-elf-file.sh: Likewise.
825         * run-lfs-symbols.sh: Likewise.
826         * run-linkmap-cut.sh: Likewise.
827
828 2020-06-11  Mark Wielaard  <mark@klomp.org>
829
830         * Makefile.am (nlist-test): Add GCOV flags when necessary.
831
832 2020-06-06  Mark Wielaard  <mark@klomp.org>
833
834         * testfilesyms32.bz2: New test file.
835         * testfilesyms64.bz2: Likewise.
836         * run-nm-syms.sh: New test.
837         * Makefile.am (TESTS): Add run-nm-syms.sh.
838         (EXTRA_DIST): run-nm-syms.sh, testfilesyms32.bz2 and
839         testfilesyms64.bz2
840
841 2020-05-08  Mark Wielaard  <mark@klomp.org>
842
843         * elfputzdata.c (main): Explicitly check orig_buf is not NULL
844         before calling memcmp.
845
846 2020-05-05  Mark Wielaard  <mark@klomp.org>
847
848         * testfile-lto-gcc8.bz2: New test file.
849         * testfile-lto-gcc9.bz2: Likewise.
850         * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc8.bz2 and
851         testfile-lto-gcc9.bz2.
852         * run-allfcts.sh: Add testfile-lto-gcc9 and testfile-lto-gcc8
853         tests.
854
855 2020-05-05  Mark Wielaard  <mark@klomp.org>
856
857         * testfile-lto-gcc10.bz2: New test file.
858         * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc10.bz2.
859         * run-allfcts.sh: Add testfile-lto-gcc10 test.
860
861 2020-04-17  Mark Wielaard  <mark@klomp.org>
862
863         * test-subr.sh (testrun_on_self_obj): New function.
864         * run-varlocs-self.sh: Run testrun_on_self_exe and
865         testrun_on_self_lib with -e, run testrun_on_self_obj with
866         --exprlocs -e.
867
868 2020-04-17  Mark Wielaard  <mark@klomp.org>
869
870         * Makefile.am (test-nlist$): New goal with minimal CFLAGS.
871         (test_nlist_CFLAGS): New variable.
872
873 2020-03-28  Frank Ch. Eigler  <fche@redhat.com>
874
875         * run-debuginfod-find.sh: Test timestamps of archive-origin files.
876
877 2020-03-27  Frank Ch. Eigler  <fche@redhat.com>
878
879         * run-debuginfod-find.sh: Test /path/-based debuginfod-find.
880
881 2020-03-24  Frank Ch. Eigler  <fche@redhat.com>
882
883         * run-debuginfod-find.sh: Test relay of UA and XFF headers across
884         federating debuginfods.
885
886 2020-03-26  Frank Ch. Eigler <fche@redhat.com>
887
888         * run-debuginfod-find.sh: Look for debuginfod's new
889         http_responses_* metrics.
890
891 2020-03-26  Frank Ch. Eigler <fche@redhat.com>
892
893         * run-debuginfod-find.sh: Look for bsdtar instead of dpkg.
894
895 2020-03-26  Frank Ch. Eigler  <fche@redhat.com>
896
897         * run-debuginfod-find.sh: Check for bsdtar zstd capability
898         for running tests against zstd-compressed fedora31 rpms.
899
900 2020-03-26  Mark Wielaard  <mark@klomp.org>
901
902         * Makefile.am (EXTRA_DIST): Add
903         debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm,
904         debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm,
905         debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm,
906         debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm,
907         debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm,
908         debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm
909
910 2020-03-24  Frank Ch. Eigler  <fche@redhat.com>
911
912         * debuginfod-rpms/hello3.spec., /fedora31/*: New files with
913         uncanonicalized source paths.
914         * run-debuginfod-find.sh: Test them.
915
916 2020-03-24  Frank Ch. Eigler  <fche@redhat.com>
917
918         * run-debuginfod-find.sh: Test the more detailed debuginfod
919         webapi log format.
920
921 2020-03-23  Mark Wielaard  <mark@klomp.org>
922
923         * getphdrnum.c: Include config.h.
924         * run-lfs-symbols.sh: Also check that file exists. Add more logs.
925         Remove ebl modules check.
926
927 2020-03-22  Omar Sandoval  <osandov@fb.com>
928             Mark Wielaard  <mark@klomp.org>
929
930         * getphdrnum.c: New file.
931         * run-getphdrnum.sh: New test.
932         * testfile-phdrs.elf.bz2: New test file.
933         * Makefile.am (check_PROGRAMS): Add getphdrnum.
934         (TESTS): Add run-getphdrnum.sh.
935         (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2.
936         (getphdrnum_LDADD): New variable.
937
938 2020-03-22  Frank Ch. Eigler  <fche@redhat.com>
939
940         * run-debuginfod-find.sh: Look for URL in default progressfn
941         and from debuginfod-find -v.
942
943 2020-02-19  Aaron Merey  <amerey@redhat.com>
944
945         * run-debuginfod-find.sh: Run tests for verifying default
946         client cache locations.
947
948 2020-02-26  Konrad Kleine <kkleine@redhat.com>
949
950         * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning
951         with "file://"
952
953 2020-02-21  Mark Wielaard  <mark@klomp.org>
954
955         * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS.
956         (installed_TESTS_ENVIRONMENT): Likewise.
957
958 2020-02-19  Aaron Merey  <amerey@redhat.com>
959
960         * run-debuginfod-find.sh: Test that files unrelated to debuginfod
961         survive cache cleaning.
962
963 2020-02-08  Mark Wielaard  <mark@klomp.org>
964
965         * run-pt_gnu_prop-tests.sh: New test.
966         * testfile_pt_gnu_prop.bz2: New test file.
967         * testfile_pt_gnu_prop32.bz2: Likewise.
968         * Makefile.am (TESTS): Add run-pt_gnu_prop-tests.sh
969         (EXTRA_DISTS): Likewise. Add testfile_pt_gnu_prop.bz2 and
970         testfile_pt_gnu_prop32.bz2.
971
972 2020-02-05  Frank Ch. Eigler  <fche@redhat.com>
973
974         * debuginfo-tars/*: New test files from Eli Schwartz of ArchLinux.
975         * Makefile.am (EXTRA_DIST): Package them.
976         * run-debuginfod-find.sh: Run basic archive extraction tests.
977
978 2020-02-03  Frank Ch. Eigler  <fche@redhat.com>
979
980         * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio.
981
982 2020-01-19  Frank Ch. Eigler  <fche@redhat.com>
983
984         * run-debuginfod-find.sh: Check for proper groom completion count.
985
986 2020-01-18  Frank Ch. Eigler  <fche@redhat.com>
987
988         * run-debuginfod-find.sh: Test empty source_paths[].
989
990 2020-01-08  Mark Wielaard  <mark@klomp.org>
991
992         * asm-test?.c: include libebl.h.
993
994 2020-01-11  Frank Ch. Eigler  <fche@redhat.com>
995
996         * run-debuginfod-find.sh: Test --fdcache* options.
997
998 2020-01-11  Frank Ch. Eigler  <fche@redhat.com>
999
1000         * run-debuginfod-find.sh: Adjust to new work-queue metrics.
1001
1002 2020-01-02  Mark Wielaard  <mark@klomp.org>
1003
1004         * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10.
1005
1006 2019-12-22  Frank Ch. Eigler  <fche@redhat.com>
1007
1008         * debuginfod-debs/*: New test files, based on
1009         https://wiki.debian.org/Packaging/Intro.
1010         * run-debuginfod-find.sh: Test deb file processing (if dpkg
1011         installed).
1012
1013 2019-12-04  Frank Ch. Eigler  <fche@redhat.com>
1014
1015         * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS.
1016
1017 2019-12-11  Omar Sandoval  <osandov@fb.com>
1018
1019         * dwfl-report-segment-coalesce.c: New test.
1020         * Makefile.am: Add dwfl-report-segment-coalesce
1021
1022 2019-12-06  Mark Wielaard  <mark@klomp.org>
1023
1024         * run-debuginfod-find.sh: Force -Wl,--build-id.
1025
1026 2019-12-05  Mark Wielaard  <mark@klomp.org>
1027
1028         * run-findinfod-find.sh: Run strip under testrun.
1029
1030 2019-12-06  Mark Wielaard  <mark@klomp.org>
1031
1032         * backtrace-data.c (main): Add break after assert.
1033
1034 2019-12-05  Mark Wielaard  <mark@klomp.org>
1035
1036         * run-elfclassify.sh: Run elfcompress under testrun.
1037
1038 2019-11-26  Mark Wielaard  <mark@klomp.org>
1039
1040         * Makefile.am (BUILD_STATIC): Add libraries needed for libdw.
1041         * coverage.sh: Add debuginfod directory, check whether source
1042         is .c or cxx.
1043
1044 2019-11-24  Mark Wielaard  <mark@klomp.org>
1045
1046         * run-debuginfod-find.sh: Reduce verbosity. Add new cleanup
1047         function to use with trap. Add wait_ready function to query
1048         metrics instead of sleeping. Calculate rpms and sourcefiles
1049         to check.
1050
1051 2019-11-23  Mark Wielaard  <mark@klomp.org>
1052
1053         * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1.
1054
1055 2019-11-07  Frank Ch. Eigler  <fche@redhat.com>
1056
1057         * run-debuginfod-find.sh: Test debuginfod metrics via curl.
1058         Fix federated testing, asserted by metrics.
1059
1060 2019-11-06  Frank Ch. Eigler  <fche@redhat.com>
1061
1062         * run-debuginfod-find.sh: Test debuginfod -L mode.  Drop
1063         plain debuginfo-find help-output-comparison.
1064
1065 2019-11-04  Frank Ch. Eigler  <fche@redhat.com>
1066
1067         * run-debuginfod-find.sh: Test debuginfod-find -v progress mode.
1068
1069 2019-10-28  Aaron Merey  <amerey@redhat.com>
1070             Frank Ch. Eigler  <fche@redhat.com>
1071
1072         * run-debuginfod-find.sh, debuginfod_build_id_find.c: New test.
1073         * testfile-debuginfod-*.rpm.bz2: New data files for test.
1074         * Makefile.am: Run it.
1075
1076 2019-11-14  Andreas Schwab  <schwab@suse.de>
1077
1078         * run-large-elf-file.sh: Skip if available memory cannot be
1079         determined.
1080
1081 2019-11-14  Andreas Schwab  <schwab@suse.de>
1082
1083         * dwelf_elf_e_machine_string.c (main): Clear errno before calling
1084         strtol.
1085
1086 2019-09-02  Mark Wielaard  <mark@klomp.org>
1087
1088         * run-readelf-s.sh: Add --dyn-syms case.
1089
1090 2019-09-07  Mark Wielaard  <mark@klomp.org>
1091
1092         * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh,
1093         testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2.
1094
1095 2019-08-27  Mark Wielaard  <mark@klomp.org>
1096
1097         * run-readelf-test2.sh: Add -x num testcase.
1098
1099 2019-08-29  Mark Wielaard  <mark@klomp.org>
1100
1101         * test-subr.sh (self_test_files_exe): replace elfcmp, objdump and
1102         readelf with elfclassify, stack and unstrip.
1103         (self_test_files_lib): Replace libdw.so with libasm.so.
1104
1105 2019-07-05  Omar Sandoval  <osandov@fb.com>
1106
1107         * Makefile.am: Remove -ldl.
1108         * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so.
1109
1110 2019-07-26  Florian Weimer  <fweimer@redhat.com>
1111             Mark Wielaard  <mark@klomp.org>
1112
1113         * run-elfclassify.sh: New test.
1114         * run-elfclassify-self.sh: Likewise.
1115         * Makefile.sh (TESTS): Add run-elfclassify.sh and
1116         run-elfclassify-self.sh.
1117         (EXTRA_DIST): Likewise.
1118
1119 2019-07-16  Mao Han  <han_mao@c-sky.com>
1120
1121         * hello_csky.ko.bz2: New testfile.
1122         * run-addrcfi.sh: Add C-SKY testfile.
1123         * run-strip-reloc.sh: Likewise.
1124         * testfilecsky.bz2: New testfile.
1125         * Makefile.am (EXTRA_DIST): Add hello_csky.ko.bz2 and
1126         testfilecsky.bz2.
1127
1128 2019-06-28  Mark Wielaard  <mark@klomp.org>
1129
1130         * Makefile.am (check_PROGRAMS): Add dwelf_elf_e_machine_string.
1131         (TESTS): Add run-dwelf_elf_e_machine_string.sh.
1132         (EXTRA_DIST): Likewise.
1133         (dwelf_elf_e_machine_string_LDADD): New variable.
1134         * dwelf_elf_e_machine_string.c: New file.
1135         * run-dwelf_elf_e_machine_string.sh: New test.
1136
1137 2019-07-01  Mark Wielaard  <mark@klomp.org>
1138
1139         * run-large-elf-file.sh: Add 2GB to mem_needed when running under
1140         valgrind.
1141
1142 2019-06-18  Mark Wielaard  <mark@klomp.org>
1143
1144         * Makefile.am (TESTS): Add run-large-elf-file.sh.
1145         (EXTRA_DIST): Likewise.
1146         * addsections.c (add_sections): Add sec_size argument, use it
1147         as the size of the section data.
1148         (main): Handle extra sec_size argument. Pass to add_sections.
1149         * run-large-elf-file.sh: New test.
1150
1151 2019-06-03  Mark Wielaard  <mark@klomp.org>
1152
1153         * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections,
1154         make sure they are actually next to each other.
1155
1156 2019-05-12  Mark Wielaard  <mark@klomp.org>
1157
1158         * Makefile.am (check_PROGRAMS): Add elfrdwrnop.
1159         (TESTS): Add run-reverse-sections.sh and
1160         run-reverse-sections-self.sh.
1161         (EXTRA_DIST): Likewise.
1162         (elfrdwrnop): New variable.
1163         * elfcopy.c (copy_elf): Add reverse_off argument. Record offsets
1164         of sections and swap them when possible.
1165         (main): Check for --reverse-off argument. Pass reverse_offs to
1166         copy_elf.
1167         * run-reverse-sections.sh: New test.
1168         * run-reverse-sections-self.sh: Likewise.
1169         * elfrdwrnop.c: New file.
1170
1171 2019-05-10  Mark Wielaard  <mark@klomp.org>
1172
1173         * Makefile.am (TESTS): Add run-readelf-discr.sh.
1174         (EXTRA_DIST): Likewise and add testfile-rng.debug.bz2 and
1175         testfile-urng.debug.bz2.
1176         * run-readelf-discr.sh: New test.
1177         * testfile-rng.debug.bz2: New test file.
1178         * testfile-urng.debug.bz2: Likewise.
1179
1180 2019-04-30  Mark Wielaard  <mark@klomp.org>
1181
1182         * xlate_notes.c: New file.
1183         * run-xlate-note.sh: New test.
1184         * Makefile.am (check_PROGRAMS): Add xlate_notes.
1185         (TESTS): Add run-xlate-note.sh.
1186         (EXTRA_DIST): Likewise.
1187         (xlate_notes_LDADD): New variable.
1188
1189 2019-04-30  Mark Wielaard  <mark@klomp.org>
1190
1191         * backtrace-dwarf.c (frame_callback): Explicitly check symname is
1192         NULL.
1193
1194 2019-04-30  Mark Wielaard  <mark@klomp.org>
1195
1196         * backtrace.c (frame_callback): Explicitly check symname is NULL.
1197
1198 2019-03-04  Mark Wielaard  <mark@klomp.org>
1199
1200         * backtrace.c (tgkill): Remove define.
1201
1202 2019-01-24  Mark Wielaard  <mark@klomp.org>
1203
1204         * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
1205         !INSTALL_ELFH.
1206
1207 2019-01-31  Mark Wielaard  <mark@klomp.org>
1208
1209         * backtrace-child.c (stdarg): Remove assert (errno == 0).
1210         (main): Likewise.
1211         * backtrace-data.c (maps_lookup): Likewise.
1212         (set_initial_registers): Likewise.
1213         (main): Likewise.
1214         * backtrace.c (prepare_thread): Likewise.
1215         (exec_dump): Likewise.
1216
1217 2019-01-29  Yonghong Song  <yhs@fb.com>
1218
1219         * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse
1220         inode number.
1221
1222 2019-01-18  Ulf Hermann <ulf.hermann@qt.io>
1223
1224         * run-annobingroup.sh: Use different files for strip output.
1225         * run-strip-test-many.sh: Use different files for strip output,
1226         check results of strip, unstrip, elflint.
1227
1228 2019-01-24  Mark Wielaard  <mark@klomp.org>
1229
1230         * addsections.c (add_sections): Change the name of the old shstrtab
1231         section to ".old_shstrtab" and give the old shstrtab name to the
1232         new shstrtab section.
1233
1234 2019-01-09  Ulf Hermann <ulf.hermann@qt.io>
1235
1236         * run-readelf-compressed.sh: Skip if USE_BZIP2 not found.
1237
1238 2018-12-27  Jim Wilson  <jimw@sifive.com>
1239
1240         * run-readelf-mixed-corenote.sh: Update with new riscv64 output.
1241
1242 2018-12-02  Mark Wielaard  <mark@klomp.org>
1243
1244         * testfile_gnu_props.32le.o.bz2: New testfile.
1245         * testfile_gnu_props.64le.o.bz2: Likewise.
1246         * testfile_gnu_props.32be.o.bz2: Likewise.
1247         * testfile_gnu_props.64be.o.bz2: Likewise.
1248         * Makefile (EXTRA_DIST): Add new testfiles.
1249         * run-readelf-n.sh: Run tests on new testfiles.
1250
1251 2018-11-28  Mark Wielaard  <mark@klomp.org>
1252
1253         * backtrace-data.c (main): Improve error message.
1254         * run-backtrace-data.sh: Skip exit 77 return.
1255
1256 2018-11-21  Mark Wielaard  <mark@klomp.org>
1257
1258         * backtrace-subr.sh (check_unsupported): Call test_cleanup before
1259         exit.
1260
1261 2018-11-17  Mark Wielaard  <mark@klomp.org>
1262
1263         * run-strip-version.sh: New test.
1264         * testfile-version.bz2: New test file.
1265         * Makefile.am (TESTS): Add run-strip-version.sh.
1266         (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2.
1267
1268 2018-11-09  Mark Wielaard  <mark@klomp.org>
1269
1270         * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o
1271         testfile-debug-rel-ppc64-g.o.
1272
1273 2018-11-12  Mark Wielaard  <mark@klomp.org>
1274
1275         * run-readelf-n.sh: Add testfile-annobingroup.o test.
1276
1277 2018-11-11  Mark Wielaard  <mark@klomp.org>
1278
1279         * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test
1280         for NT_VERSION.
1281
1282 2018-11-04  Mark Wielaard  <mark@klomp.org>
1283
1284         * testfile-bpf-reloc.expect.bz2: Update with new expected jump
1285         variants.
1286
1287 2018-10-20  Mark Wielaard  <mark@klomp.org>
1288
1289         * run-readelf-compressed.sh: New test.
1290         * Makefile.am (TESTS): Add run-readelf-compressed.sh.
1291         (EXTRA_DIST): Likewise.
1292
1293 2018-11-09  Mark Wielaard  <mark@klomp.org>
1294
1295         * testfile-debug-rel-ppc64-g.o.bz2: New test file.
1296         * testfile-debug-rel-ppc64-z.o.bz2: Likewise.
1297         * testfile-debug-rel-ppc64.o.bz2: Likewise.
1298         * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2,
1299         testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2.
1300         * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o.
1301         * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o.
1302
1303 2018-10-26  Mark Wielaard  <mark@klomp.org>
1304
1305         * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only.
1306
1307 2018-10-18  Mark Wielaard  <mark@klomp.org>
1308
1309         * run-readelf-n.sh: New test.
1310         * testfile-gnu-property-note.bz2: New testfile.
1311         * testfile-gnu-property-note.o.bz2: Likewise.
1312         * Makefile.am (TESTS): Add run-readelf-n.sh.
1313         (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2,
1314         testfile-gnu-property-note.o.bz2.
1315
1316 2018-10-12  Mark Wielaard  <mark@klomp.org>
1317
1318         * run-readelf-zdebug.sh: Adjust flags output.
1319         * run-readelf-macro.sh: Likewise.
1320         * run-readelf-macros.sh: New test.
1321         * testfile-macros-object.o.bz2: New test file.
1322         * Makefile.am (TESTS): Add run-readelf-macros.sh.
1323         (EXTRA_DIST): Add run-readelf-macros.sh and
1324         testfile-macros-object.o.bz2.
1325
1326 2018-09-12  Mark Wielaard  <mark@klomp.org>
1327
1328         * run-annobingroup.sh: Add x86_64 ET_REL testcase.
1329         * testfile-annobingroup-x86_64.o.bz2: New test file.
1330         * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2.
1331
1332 2018-09-18  Mark Wielaard  <mark@klomp.org>
1333
1334         * backtrace-dwarf.c (thread_callback): Only error when
1335         dwfl_thread_getframes returns an error.
1336         (main): Don't call abort or assert but print an error when
1337         something unexpected happens.
1338
1339 2018-09-13  Mark Wielaard  <mark@klomp.org>
1340
1341         * run-strip-test-many.sh: New test.
1342         * Makefile.am (TESTS): Add run-strip-test-many.sh.
1343         (EXTRA_DIST): Likewise.
1344
1345 2018-09-13  Mark Wielaard  <mark@klomp.org>
1346
1347         * run-typeiter-many.sh: New test.
1348         * Makefile.am (TESTS): Add run-typeiter-many.sh.
1349         (EXTRA_DIST): Likewise.
1350
1351 2018-09-13  Mark Wielaard  <mark@klomp.org>
1352
1353         * run-copymany-sections.sh: New test.
1354         * Makefile.am (TESTS): Add run-copymany-sections.sh.
1355         (EXTRA_DIST): Likewise.
1356
1357 2018-09-12  Mark Wielaard  <mark@klomp.org>
1358
1359         * Makefile.am (check_PROGRAMS): Add elfcopy and addsections.
1360         (TESTS): Add run-copyadd-sections.sh.
1361         (EXTRA_DIST): Likewise.
1362         (elfcopy_LDADD): New variable.
1363         (addsections_LDADD): Likewise.
1364         * addsections.c: New file.
1365         * elfcopy.c: Likewise.
1366         * run-copyadd-sections.sh: New test.
1367
1368 2018-09-11  Mark Wielaard  <mark@klomp.org>
1369
1370         * backtrace-dwarf.c (main): Add section attribute.
1371
1372 2018-07-24  Mark Wielaard  <mark@klomp.org>
1373
1374         * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests.
1375         * testfile-annobingroup-i386.o.bz2: New test file.
1376         * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2.
1377
1378 2018-07-21  Mark Wielaard  <mark@klomp.org>
1379
1380         * run-annobingroup.sh: New test.
1381         * testfile-annobingroup.o.bz2: New test file.
1382         * Makefile.am (TESTS): Add run-annobingroup.sh.
1383         (EXTRA_DIST): Add run-annobingroup.sh and
1384         testfile-annobingroup.o.bz2.
1385
1386 2018-07-19  Andreas Schwab  <schwab@suse.de>
1387
1388         * Makefile.am (TESTS): Add run-strip-test12.sh.
1389         (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2,
1390         testfile-riscv64-s.bz2, testfile-riscv64-core.bz2.
1391         (run-strip-test11.sh): New file.
1392         (testfile-riscv64.bz2): New file.
1393         (testfile-riscv64-s.bz2): New file.
1394         (testfile-riscv64-core.bz2): New file.
1395         * run-allregs.sh: Add test for testfile-riscv64-core.
1396         * run-readelf-mixed-corenote.sh: Likewise.
1397
1398 2018-07-16  Ulf Hermann  <ulf.hermann@qt.io>
1399
1400         * run-strip-reloc.sh: Remove previous testfiles before running the
1401         next test.
1402
1403 2018-07-17  Mark Wielaard  <mark@klomp.org>
1404
1405         * hello_riscv64.ko.bz2: Updated with debuginfo.
1406         * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
1407
1408 2018-07-05  Mark Wielaard  <mark@klomp.org>
1409
1410         * next_cfi.c (handle_section): Take a new argument name. Check
1411         whether the section is compressed and uncompress if so.
1412         (main): Check also for .zdebug_frame and pass the name of the
1413         section to handle_section.
1414
1415 2018-07-04  Ross Burton <ross.burton@intel.com>
1416
1417         * addrscopes.c: Remove error.h include, add system.h include.
1418         * allregs.c: Likewise.
1419         * backtrace-data.c: Likewise.
1420         * backtrace-dwarf.c: Likewise.
1421         * backtrace.c: Likewise.
1422         * buildid.c: Likewise.
1423         * debugaltlink.c: Likewise.
1424         * debuglink.c: Likewise.
1425         * deleted.c : Likewise.
1426         * dwarfcfi.c: Likewise.
1427         * dwfl-addr-sect.c: Likewise.
1428         * dwfl-bug-addr-overflow.c: Likewise.
1429         * dwfl-bug-fd-leak.c: Likewise.
1430         * dwfl-bug-getmodules.c: Likewise.
1431         * dwfl-proc-attach.c: Likewise.
1432         * dwfl-report-elf-align.c: Likewise.
1433         * dwfllines.c: Likewise.
1434         * dwflmodtest.c: Likewise.
1435         * dwflsyms.c: Likewise.
1436         * early-offscn.c: Likewise
1437         * ecp.c: Likewise.
1438         * elfstrmerge.c: Likewise.
1439         * find-prologues.c: Likewise.
1440         * funcretval.c: Likewise.
1441         * funcscopes.c: Likewise.
1442         * getsrc_die.c: Likewise.
1443         * line2addr.c: Likewise.
1444         * low_high_pc.c: Likewise.
1445         * next_cfi.c: Likewise.
1446         * rdwrmmap.c: Likewise.
1447         * saridx.c: Likewise.
1448         * sectiondump.c: Likewise.
1449         * varlocs.c: Likewise.
1450         * vdsosyms.c: Likewise.
1451
1452 2018-06-28  Mark Wielaard  <mark@klomp.org>
1453
1454         * next_cfi.c: New file.
1455         * run-next-cfi.sh: New test.
1456         * run-next-cfi-self.sh: Likewise.
1457         * Makefile.am (check_PROGRAMS): Add next_cfi.
1458         (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh.
1459         (EXTRA_DIST): Likewise.
1460         (next_cfi_LDADD): New variable.
1461
1462 2018-06-27  Mark Wielaard  <mark@klomp.org>
1463
1464         * dwarf_cfi.c: New file.
1465         * run-dwarfcfi.sh: New test.
1466         * testfile11-debugframe.bz2: New testfile.
1467         * testfile12-debugframe.bz2: Likewise.
1468         * testfileaarch64-debugframe.bz2: Likewise.
1469         * testfilearm-debugframe.bz2: Likewise.
1470         * testfileppc32-debugframe.bz2: Likewise.
1471         * testfileppc64-debugframe.bz2: Likewise.
1472         * Makefile.am (check_PROGRAMS): Add dwarfcfi.
1473         (TESTS): Add run-dwarfcfi.sh.
1474         (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2,
1475         testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2,
1476         testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and
1477         testfileppc64-debugframe.bz2.
1478
1479 2018-06-23  Mark Wielaard  <mark@klomp.org>
1480
1481         * varlocs.c (print_expr): Take a new depth argument. Check it isn't
1482         greater than MAX_DEPTH (64). Pass on to print_expr_block.
1483         (print_expr_block): Take a new depth argument. Pass it to print_expr.
1484         (print_expr_block_addrs): Call print_expr_block with zero depth.
1485
1486 2018-06-25  Mark Wielaard  <mark@klomp.org>
1487
1488         * next-files.c: New file.
1489         * next-lines.c: Likewise.
1490         * run-next-files.sh: New test.
1491         * run-next-lines.sh: Likewise.
1492         * testfile-only-debug-line.bz2: New test file.
1493         * Makefile.am (check_PROGRAMS): Add next-files and next-lines.
1494         (TESTS): Add run-next-files.sh and run-next-lines.sh.
1495         (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and
1496         testfile-only-debug-line.bz2.
1497         (next_lines_LDADD): New variable.
1498         (next_files_LDADD): Likewise.
1499
1500 2018-06-16  Yonghong Song  <yhs@fb.com>
1501
1502         * run-reloc-bpf.sh: New test.
1503         * testfile-bpf-reloc.o.bz2: New test file.
1504         * testfile-bpf-reloc.expect.bz2: New test file.
1505         * Makefile.am (TESTS): Add run-reloc-bpf.sh.
1506         (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and
1507         testfile-bpf-reloc.expect.bz2.
1508
1509 2018-06-13  Mark Wielaard  <mark@klomp.org>
1510
1511         * run-readelf-const-values.sh: New test.
1512         * testfile-const-values.debug.bz2: New test file.
1513         * run-readelf-zdebug-rel.sh: Adjust expected const_value.
1514         * Makefile.am (TESTS): Add run-readelf-const-values.sh.
1515         (EXTRA_DIST): Add run-readelf-const-values.sh and
1516         testfile-const-values.debug.bz2.
1517
1518 2018-06-08  Mark Wielaard  <mark@klomp.org>
1519
1520         * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
1521         target, do not assert.
1522
1523 2018-06-08  Mark Wielaard  <mark@klomp.org>
1524
1525         * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
1526         * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
1527
1528 2018-06-08  Mark Wielaard  <mark@klomp.org>
1529
1530         * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
1531         actually is a cfi_debug.
1532
1533 2018-06-07  Mark Wielaard  <mark@klomp.org>
1534
1535         * run-readelf-loc.sh: Fix expected output for startx_length.
1536
1537 2018-06-06  Mark Wielaard  <mark@klomp.org>
1538
1539         * varlocs.c (print_base_type): Use error, not assert when the DIE
1540         isn't a base type.
1541
1542 2018-06-02  Mark Wielaard  <mark@klomp.org>
1543
1544         * test-subr.sh (self_test_files_exe): Drop shared libraries.
1545         Keep addr2line, elfcmp, objdump and readelf.
1546
1547 2018-05-31  Mark Wielaard  <mark@klomp.org>
1548
1549         * run-readelf-types.sh: New test.
1550         * Makefile.am (TESTS): Add run-readelf-types.sh.
1551         (EXTRA_DIST): Likewise.
1552
1553 2018-05-31  Mark Wielaard  <mark@klomp.org>
1554
1555         * splitdwarf4-not-split4.dwo.bz2: New test file.
1556         * testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
1557         * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
1558         and testfile-splitdwarf4-not-split4.debug.
1559         * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
1560         * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
1561         and testfile-splitdwarf4-not-split4.debug.bz2.
1562
1563 2018-05-31  Mark Wielaard  <mark@klomp.org>
1564
1565         * test-subr.sh (self_test_files): Split into self_test_files_exe,
1566         self_test_files_lib and self_test_obj.
1567         (testrun_on_self_exe): New function.
1568         (testrun_on_self_lib): Likewise.
1569         * run-get-units-split.sh: Replace testrun_on_self with
1570         testrun_on_self_exe and testrun_on_self_lib.
1571         * run-unit-info.sh: Likewise.
1572
1573 2018-05-31  Mark Wielaard  <mark@klomp.org>
1574
1575         * low_high_pc.c (handle_die): Handle NULL name. Print offset and
1576         name of die.
1577         (main): Check if the cu DIE is a skeleton, then get and handle
1578         the split subdie.
1579         * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
1580         testfile-splitdwarf-5. Run on all selftest files.
1581
1582 2018-05-31  Mark Wielaard  <mark@klomp.org>
1583
1584         * get-units-invalid.c (main): Check dwarf_cuoffset and
1585         dwarf_dieoffset.
1586
1587 2018-05-29  Mark Wielaard  <mark@klomp.org>
1588
1589         * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
1590         type, gotten through dwarf_get_units.
1591         * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
1592         split-dwarf-4, split-dwarf-5 and dwo files.
1593
1594 2018-05-29  Mark Wielaard  <mark@klomp.org>
1595
1596         * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
1597         * run-varlocs.sh: Likewise.
1598
1599 2018-05-29  Mark Wielaard  <mark@klomp.org>
1600
1601         * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
1602
1603 2018-05-28  Mark Wielaard  <mark@klomp.org>
1604
1605         * run-readelf-info-plus.sh: New test.
1606         * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
1607         (EXTRA_DIST): Likewise.
1608
1609 2018-04-29  Mark Wielaard  <mark@klomp.org>
1610
1611         * run-readelf-addr.sh: New test.
1612         * Makefile.am (TESTS): Add run-readelf-addr.sh.
1613         (EXTRA_DIST): Likewise.
1614
1615 2018-04-27  Mark Wielaard  <mark@klomp.org>
1616
1617         * run-readelf-ranges.sh: Adjust expected output for address base.
1618         * run-readelf-addr.sh: New test.
1619         * Makefile.am (TESTS): Add run-readelf-addr.sh.
1620         (EXTRA_DIST): Likewise.
1621
1622 2018-04-07  Mark Wielaard  <mark@klomp.org>
1623
1624         * run-varlocs.sh: Run on testfileranges5.debug and
1625         testsplitfileranges5.debug.
1626         * varlocs.c (is_debug): New bool.
1627         (print_expr): Don't fail on missing CFI for is_debug.
1628         (main): Parse --debug, set is_debug.
1629
1630 2018-04-12  Mark Wielaard  <mark@klomp.org>
1631
1632         * run-readelf-loc.sh: Add new testcases.
1633
1634 2018-04-06  Mark Wielaard  <mark@klomp.org>
1635
1636         * testfileranges5.debug.bz2: New testfile.
1637         * testfilesplitranges5.debug.bz2: Likewise.
1638         * testfile-ranges-hello5.dwo.bz2: Likewise.
1639         * testfile-ranges-world5.dwo.bz2: Likewise.
1640         * run-dwarf-ranges.sh: Run on testfileranges5.debug.
1641         * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
1642         * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
1643         testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
1644         testfile-ranges-world5.dwo.bz2.
1645
1646 2018-04-11  Mark Wielaard  <mark@klomp.org>
1647
1648         * run-readelf-ranges.sh: New test.
1649         * Makefile.am (TESTS): Add run-readelf-ranges.sh.
1650         (EXTRA_DIST): Likewise.
1651
1652 2018-05-21  Mark Wielaard  <mark@klomp.org>
1653
1654         * addrx_constx-4.dwo.bz2: New testfile.
1655         * addrx_constx-5.dwo.bz2: Likewise.
1656         * testfile-addrx_constx-4.bz2: Likewise.
1657         * testfile-addrx_constx-5.bz2: Likewise
1658         * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
1659         testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
1660         * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
1661         * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
1662         DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
1663         (main): Handle split DWARF.
1664         * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
1665
1666 2018-05-20  Mark Wielaard  <mark@klomp.org>
1667
1668         * unit-info.c: New test.
1669         * run-unit-info.sh: New test runner.
1670         * Makefile.am (check_PROGRAMS): Add unit-info.
1671         (TESTS): Add run-unit-info.sh
1672         (EXTRA_INFO): Likewise.
1673         (unit_info_LDADD): New variable.
1674
1675 2018-05-24  Mark Wielaard  <mark@klomp.org>
1676
1677         * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
1678         * run-all-dwarf-ranges.sh: Correct expected output.
1679
1680 2018-05-18  Mark Wielaard  <mark@klomp.org>
1681
1682         * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
1683         (TESTS): Add run-all-dwarf-ranges.sh.
1684         (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
1685         testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
1686         and testfile-ranges-world.dwo.bz2.
1687         (all_dwarf_ranges_LDADD): New variable.
1688         * all-dwarf-ranges.c: New test program.
1689         * run-all-dwarf-ranges: New test runner.
1690         * testfile-ranges-hello.dwo.bz2: New test file.
1691         * testfile-ranges-world.dwo.bz2: Likewise.
1692         * testfilesplitranges4.debug.bz2: Likewise.
1693
1694 2018-05-18  Mark Wielaard  <mark@klomp.org>
1695
1696         * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
1697         testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
1698         testfile-hello5.dwo, testfile-world5.dwo.
1699
1700 2018-05-17  Mark Wielaard  <mark@klomp.org>
1701
1702         * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
1703         (TESTS): Add run-attr-integrate-skel.
1704         (EXTRA_DIST): Likewise.
1705         (attr_integrate_skel_LDADD): New variable.
1706         * attr-integrate-skel.c: New test.
1707         * run-attr-integrate-skel.sh: New test runner.
1708
1709 2018-05-16  Mark Wielaard  <mark@klomp.org>
1710
1711         * Makefile.am (check_PROGRAMS): Add get-units-split.
1712         (TESTS): Add run-get-units-split.sh.
1713         (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
1714         testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
1715         testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
1716         testfile-world4.dwo.bz2.
1717         (get_units_split_LDADD): New variable.
1718         * get-units-split.c: New test.
1719         * run-get-units-split.sh: New test runner.
1720         * testfile-dwarf-45.source: Extend with build instructions for new
1721         test files.
1722         * testfile-hello4.dwo.bz2: New test file.
1723         * testfile-hello5.dwo.bz2: Likewise.
1724         * testfile-splitdwarf-4.bz2: Likewise.
1725         * testfile-splitdwarf-5.bz2: Likewise.
1726         * testfile-world5.dwo.bz2 and: Likewise.
1727         * testfile-world4.dwo.bz2: Likewise.
1728
1729 2018-05-09  Mark Wielaard  <mark@klomp.org>
1730
1731         * run-readelf-zdebug.sh: Adjust test output for new header layout.
1732         * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
1733         and testfile-dwarf-5.
1734
1735 2018-05-11  Mark Wielaard  <mark@klomp.org>
1736
1737         * Makefile.am (check_PROGRAMS): Add get-units-invalid.
1738         (TESTS): Add run-get-units-invalid.sh.
1739         (EXTRA_DIST): Likewise.
1740         (get_units_invalid_LDADD): New variable.
1741         * get-units-invalid.c: New test program.
1742         * run-get-units-invalid.sh: New test program runner.
1743
1744 2018-05-05  Mark Wielaard  <mark@klomp.org>
1745
1746         * testfile-dwarf-45.source: New file.
1747         * testfile-dwarf-4.bz2: New test file.
1748         * testfile-dwarf-5.bz2: Likewise.
1749         * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
1750         testfile-dwarf-5.
1751         * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
1752         testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
1753
1754 2018-04-19  Andreas Schwab  <schwab@suse.de>
1755
1756         * hello_riscv64.ko.bz2: New file.
1757         * run-strip-reloc.sh: Test it.
1758         * Makefile.am (EXTRA_DIST): Add it.
1759
1760 2018-04-16  Mark Wielaard  <mark@klomp.org>
1761
1762         * testfile-ppc64-min-instr.bz2: New testfile.
1763         * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
1764         * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
1765
1766 2018-04-11  Mark Wielaard  <mark@klomp.org>
1767
1768         * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
1769
1770 2018-04-03  Mark Wielaard  <mark@klomp.org>
1771
1772         * testfileranges4.debug.bz2: New testfile.
1773         * run-dwarf-ranges.sh: Run on testfileranges4.debug.
1774         * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
1775
1776 2018-03-06  Mark Wielaard  <mark@klomp.org>
1777
1778         * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
1779         DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
1780         DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
1781         DW_OP_const_type.
1782
1783 2018-02-16  Mark Wielaard  <mark@klomp.org>
1784
1785         * backtrace-subr.sh (check_native_core): Check if there is any core,
1786         if so, use it.
1787
1788 2018-02-15  Mark Wielaard  <mark@klomp.org>
1789
1790         * backtrace-child.c: Include signal.h after sys/ptrace.h.
1791         * backtrace-dwarf.c: Include sys/wait.h and signal.h after
1792         sys/ptrace.h.
1793
1794 2018-01-25  Mark Wielaard  <mark@klomp.org>
1795
1796         * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
1797         (TESTS): Add run-dwarf-die-addr-die.sh.
1798         (EXTRA_DIST): Likewise.
1799         (dwarf_die_addr_die_LDADD): New variable.
1800         * dwarf-die-addr-die.c: New file.
1801         * run-dwarf-die-addr-die.sh: New test.
1802
1803 2018-02-09  Joshua Watt  <JPEWhacker@gmail.com>
1804
1805         * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
1806
1807 2018-01-22  Mark Wielaard  <mark@klomp.org>
1808
1809         * allfcts.c (setup_alt): Print warning when alt file couldn't be
1810         found.
1811         * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
1812         where it cannot be found by allfcts itself (but it can by libdw).
1813
1814 2018-01-25  Mark Wielaard  <mark@klomp.org>
1815
1816         * elfstrmerge.c (main): Initialize and check symtabshdr instead of
1817         symtabndx.
1818
1819 2018-01-14  Petr Machata  <pmachata@gmail.com>
1820
1821         * testfile-sizes4.o.bz2: New test file.
1822         * testfile-sizes4.s: New test source.
1823         * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
1824
1825 2017-12-23  Mark Wielaard  <mark@klomp.org>
1826
1827         * backtrace-subr.sh (check_native_core): Use a lock file and try
1828         to extract core using coredumpctl.
1829         * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
1830
1831 2017-12-11  Dima Kogan  <dima@secretsauce.net>
1832
1833         * run-aggregate-size.sh: Added check for multi-dimensional arrays.
1834         * run-peel-type.sh: Likewise.
1835         * testfile-sizes3.o.bz2: Likewise.
1836
1837 2017-12-07  Mark Wielaard  <mark@klomp.org>
1838
1839         * run-readelf-variant.sh: New test.
1840         * testfile-ada-variant.bz2: New testfile.
1841         * Makefile.am (TESTS): Add run-readelf-variant.sh.
1842         (EXTRA_DISTS): Add run-readelf-variant.sh and
1843         testfile-ada-variant.bz2.
1844
1845 2017-11-29  Mark Wielaard  <mark@klomp.org>
1846
1847         * run-readelf-loc.sh: Adjust expected loc list output.
1848         * run-readelf-zdebug-rel.sh: Likewise.
1849         * run-readelf-zdebug.sh: Likewise.
1850
1851 2017-11-29  Mark Wielaard  <mark@klomp.org>
1852
1853         * run-readelf-loc.sh: Adjust expected range list output.
1854         * run-readelf-zdebug.sh: Likewise.
1855
1856 2017-11-29  Mark Wielaard  <mark@klomp.org>
1857
1858         * run-readelf-dwz-multi.sh: Add expected file names.
1859         * run-readelf-zdebug-rel.sh: Likewise.
1860
1861 2017-11-29  Mark Wielaard  <mark@klomp.org>
1862
1863         * run-readelf-dwz-multi.sh: Add expected abbrev codes.
1864         * run-readelf-zdebug-rel.sh: Likewise.
1865
1866 2017-11-29  Mark Wielaard  <mark@klomp.org>
1867
1868         * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
1869         * run-readelf-loc.sh: Likewise.
1870         * run-readelf-zdebug-rel.sh: Likewise.
1871         * run-readelf-zdebug.sh: Likewise.
1872
1873 2017-11-16  Mark Wielaard  <mark@klomp.org>
1874
1875         * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
1876
1877 2017-11-10  Mark Wielaard  <mark@klomp.org>
1878
1879         * run-exprlocs-self.sh: New test.
1880         * run-varlocs-self.sh: Likewise.
1881         * Makefile.am (TESTS) Add run-exprlocs-self.sh and
1882         run-varlocs-self.sh.
1883         (EXTRA_DIST): Likewise.
1884         * varlocs.c (cfi_debug_bias): New global variable.
1885         (is_ET_REL): Likewise.
1886         (print_expr): Don't crash and burn when CFI cannot be found for an
1887         ET_REL file for DW_OP_call_frame_cfa.
1888         (handle_die): If there is no entry_pc pick the lowest pc start range
1889         for the DIE.
1890         (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
1891         and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
1892
1893 2017-11-03  Mark Wielaard  <mark@klomp.org>
1894
1895         * run-exprlocs.sh: New test.
1896         * testfile-stridex.bz2: New testfile.
1897         * Makefile.am (TESTS): Add run-exprlocs.sh.
1898         (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
1899         * varlocs.c (dwarf_tag_string): New function.
1900         (dwarf_attr_string): Likewise.
1901         (dwarf_form_string): Likewise.
1902         (print_expr): Fix typo in error message.r
1903         Handle DW_OP_GNU_variable_value.
1904         (attr_arg): New struct.
1905         (handle_attr): New function.
1906         (handle_die): Likewise.
1907         (main): Handle --exprlocs argument. Call handle_die.
1908
1909 2017-10-16  Mark Wielaard  <mark@klomp.org>
1910
1911         * md5-sha1-test.c: Removed.
1912         * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
1913         (TESTS): Likewise.
1914         (md5_sha1_test_LDADD): Removed.
1915
1916 2017-10-04  Mark Wielaard  <mark@klomp.org>
1917
1918         * msg_tst.c: Handle ELF_E_INVALID_ELF.
1919
1920 2017-09-10  Mark Wielaard  <mark@klomp.org>
1921
1922         * run-ar.sh: New test.
1923         * Makefile.am (TESTS): Add run-ar.sh.
1924         (EXTRA_DIST): Likewise.
1925
1926 2017-08-18  Ulf Hermann <ulf.hermann@qt.io>
1927
1928         * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
1929
1930 2017-04-27  Ulf Hermann <ulf.hermann@qt.io>
1931
1932         * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
1933
1934 2017-08-08  Dmitry V. Levin <ldv@altlinux.org>
1935
1936         * run-strip-nothing.sh: Add -s.
1937
1938 2017-07-26  Mark Wielaard  <mark@klomp.org>
1939
1940         * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
1941
1942 2016-10-27  Mark Wielaard  <mjw@redhat.com>
1943
1944         * dwarf_default_lower_bound.c: New test.
1945         * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
1946         (TESTS): Likewise.
1947         (dwarf_default_lower_bound_LDADD): New variable.
1948
1949 2017-07-21  Mark Wielaard  <mark@klomp.org>
1950
1951         * get-lines.c (main): Add dwarf_line_file test.
1952
1953 2017-07-19  Gustavo Romero <gromero@linux.vnet.ibm.com>
1954
1955         * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
1956         * run-allregs.sh: Update generic SPRs names to HTM SPRs names
1957
1958 2017-07-20  Mark Wielaard  <mark@klomp.org>
1959
1960         * run-strip-g.sh: New test.
1961         * Makefile.am (TESTS): Add run-strip-g.sh.
1962         (EXTRA_DIST): Likewise.
1963
1964 2017-07-18  Mark Wielaard  <mark@klomp.org>
1965
1966         * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
1967
1968 2017-05-04  Ulf Hermann  <ulf.hermann@qt.io>
1969
1970         * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
1971
1972 2017-07-14  Mark Wielaard  <mark@klomp.org>
1973
1974         * run-strip-remove-keep.sh: New test.
1975         * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
1976         (EXTRA_DIST): Likewise.
1977
1978 2017-06-07  Mark Wielaard  <mark@klomp.org>
1979
1980         * run-strip-nothing.sh: New test.
1981         * Makefile.am (TESTS): Add run-strip-nothing.sh.
1982         (EXTRA_DIST): Likewise.
1983
1984 2017-06-06  Mark Wielaard  <mark@klomp.org>
1985
1986         * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
1987
1988 2017-05-30  Mark Wielaard  <mark@klomp.org>
1989
1990         * run-backtrace-fp-core-ppc64le.sh: New test.
1991         * backtrace.ppc64le.fp.core.bz2: New test file.
1992         * backtrace.ppc64le.fp.exec.bz2: New testfile.
1993         * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
1994         * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
1995         (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
1996         backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
1997
1998 2017-02-13  Ulf Hermann  <ulf.hermann@qt.io>
1999             Mark Wielaard  <mark@klomp.org>
2000
2001         * Makefile.am: Add test for unwinding with frame pointers on aarch64
2002         * backtrace.aarch64.fp.core.bz2: New file
2003         * backtrace.aarch64.fp.exec.bz2: New file
2004         * run-backtrace-fp-core-aarch64.sh: New file
2005         * backtrace-subr.sh (check_err): Allow Invalid register.
2006         * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
2007
2008 2017-04-06  Mark Wielaard  <mark@klomp.org>
2009
2010         * run-backtrace-fp-core-i386.sh: New test.
2011         * backtrace.i386.fp.core.bz2: New test file.
2012         * backtrace.i386.fp.exec.bz2: New testfile.
2013         * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
2014         (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
2015         backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
2016
2017 2017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
2018
2019         * Makefile.am: Add test for unwinding with frame pointers on x86_64
2020         * backtrace.x86_64.fp.core.bz2: New file
2021         * backtrace.x86_64.fp.exec.bz2: New file
2022         * run-backtrace-fp-core-x86_64.sh: New file
2023
2024 2017-04-25  Mark Wielaard  <mark@klomp.org>
2025
2026         * backtrace-subr.sh (check_backtracegen): New function.
2027         (check_core): Add check_backtracegen call.
2028         * backtrace.ppc.exec.bz2: Regenerated.
2029         * backtrace.ppc.core.bz2: Likewise.
2030
2031 2017-04-24  Mark Wielaard  <mark@klomp.org>
2032
2033         * backtrace.c: Remove option to allow unknown symbols in the trace.
2034         * backtrace-substr.sh: Remove option to allow unknown symbols
2035         to check_core() and allow failed symbol lookups in check_err().
2036
2037 2017-04-20  Ulf Hermann <ulf.hermann@qt.io>
2038
2039         * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
2040         that are set.
2041         * run-readelf-zdebug-rel.sh: Likewise.
2042
2043 2017-04-20  Ulf Hermann <ulf.hermann@qt.io>
2044
2045         * backtrace-child.c: Include sys/ptrace.h only on linux.
2046         * backtrace-dwarf.c: Likewise.
2047
2048 2017-04-05  Mark Wielaard  <mark@klomp.org>
2049
2050         * test-subr.sh (testrun_on_self_compressed): New function.
2051         * run-elflint-self.sh: Call testrun_on_self_compressed.
2052         * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
2053
2054 2017-03-30  Mark Wielaard  <mark@klomp.org>
2055
2056         * peel_type.c: New file.
2057         * run-peel-type.sh: New test.
2058         * Makefile.am (check_PROGRAMS): Add peel_type.c.
2059         (TESTS): Add run-peel-type.sh.
2060         (EXTRA_DIST): Likewise.
2061         (peel_type_LDADD): New variable.
2062
2063 2017-03-27  Mark Wielaard  <mark@klomp.org>
2064
2065         * fillfile.c: New file.
2066         * Makefile.am (check_PROGRAMS): Add fillfile.
2067         (TESTS): Likewise.
2068         (fillfile_LDADD): New variable.
2069
2070 2017-02-15  Mark Wielaard  <mark@klomp.org>
2071
2072         * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
2073         * run-readelf-A.sh: Add testfileppc64.o test.
2074
2075 2017-02-15  Ulf Hermann  <ulf.hermann@qt.io>
2076
2077         * elfstrmerge.c: Include system.h.
2078
2079 2017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
2080
2081         * backtrace.c: Add an option to allow unknown symbols in the trace
2082         * backtrace-substr.sh: Add an option to allow unknown symbols
2083         to check_core() and allow failed symbol lookups in check_err()
2084
2085 2017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
2086
2087         * backtrace-data.c: Don't assert that symbols are found.
2088         The unwinder is allowed to ask for invalid addresses. We deny
2089         such requests, rather than make the test fail.
2090
2091 2016-11-17  Mark Wielaard  <mjw@redhat.com>
2092
2093         * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
2094
2095 2016-11-02  Mark Wielaard  <mjw@redhat.com>
2096
2097         * backtrace-data.c (thread_callback): Add explicit break after error.
2098         * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
2099
2100 2016-10-22  Kevin Cernekee  <cernekee@chromium.org>
2101
2102         * Makefile.am (TESTS): Add run-unstrip-test4.sh.
2103         (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
2104         testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
2105         (run-unstrip-test4.sh): New file.
2106         (testfile-strtab.bz2): New file.
2107         (testfile-strtab.stripped.bz2): New file.
2108         (testfile-strtab.debuginfo.bz2): New file.
2109
2110 2016-10-11  Akihiko Odaki  <akihiko.odaki.4i@stu.hosei.ac.jp>
2111
2112         * arextract.c: Remove sys/param.h include, add system.h include.
2113
2114 2016-08-30  Mark Wielaard  <mjw@redhat.com>
2115
2116         * Makefile.am (asm_tst?_LDADD): Add libdw.
2117
2118 2016-08-25  Mark Wielaard  <mjw@redhat.com>
2119
2120         * backtrace-child.c: Disable and add documentation about why we disable
2121         RAISE_JMP_PATCHING even on x86_64.
2122         * backtrace.c (is_x86_64_native): Rename to...
2123         (use_raise_jmp_patching): ... this.
2124         (callback_verify): Use use_raise_jmp_patching instead of
2125         is_x86_64_native.
2126         (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
2127         path.
2128         (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
2129         conditional.
2130         (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
2131         RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
2132         use_raise_jmp_patching instead of is_x86_64_native.
2133
2134 2016-08-24  Mark Wielaard  <mjw@redhat.com>
2135
2136         * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
2137
2138 2016-08-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2139
2140         * testfilesparc64attrs.o.bz2: New file.
2141         * run-readelf-A.sh: Check attributes in a sparc object.
2142
2143 2016-08-06  Mark Wielaard  <mjw@redhat.com>
2144
2145         * run-strip-reloc.sh: Add explicit compressed and uncompressed
2146         test cases.
2147
2148 2016-08-10  Richard Henderson  <rth@redhat.com>
2149
2150         * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
2151         output.
2152
2153 2016-07-08  Mark Wielaard  <mjw@redhat.com>
2154
2155         * update3_LDADD: Use libdw instead of libebl.
2156         * update4_LDADD: Likewise.
2157         * alldts_LDADD: Likewise.
2158         * elfstrmerge_LDADD: Likewise.
2159         * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
2160         * elfstrmerge.c (release): Likewise.
2161         (main): Likewise.
2162         * update3.c (main): Likewise.
2163         * update4.c (main): Likewise.
2164
2165 2016-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2166
2167         * Makefile.am (TESTS): Add run-strip-test11.sh.
2168         (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
2169         testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
2170         (run-strip-test11.sh): New file.
2171         (hello_m68k.ko.bz2): New file.
2172         (testfile-m68k-core.bz2): New file.
2173         (testfile-m68k.bz2): New file.
2174         (testfile-m68k-s.bz2): New file.
2175         * run-allregs.sh: Add test for testfile-m68k-core.
2176         * run-readelf-mixed-corenote.sh: Likewise.
2177         * run-strip-reloc.sh: Add test for hello_m68k.ko.
2178
2179 2016-07-06  Mark Wielaard  <mjw@redhat.com>
2180
2181         * Makefile.am (check_PROGRAMS): Add vendorelf.
2182         (TESTS): Likewise.
2183         (vendorelf_LDADD): New variable.
2184         * vendorelf.c: New test.
2185         * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
2186
2187 2016-06-24  Mark Wielaard  <mjw@redhat.com>
2188
2189         * Makefile.am (check_PROGRAMS): Add emptyfile.
2190         (TESTS): Likewise.
2191         (emptyfile_LDADD): New variable.
2192         * emptyfile.c: New test.
2193
2194 2016-06-28  Richard Henderson  <rth@redhat.com>
2195
2196         * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
2197         (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
2198         testfile-bpf-dis1.o.bz2
2199         (run-disasm-bpf.sh): New file.
2200         (testfile-bpf-dis1.expect.bz2): New file.
2201         (testfile-bpf-dis1.o.bz2): New file.
2202
2203 2016-02-09  Mark Wielaard  <mjw@redhat.com>
2204
2205         * testfile-s390x-hash-both.bz2: New testfile.
2206         * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
2207         * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
2208
2209 2016-02-04  Mark Wielaard  <mjw@redhat.com>
2210
2211         * run-strip-nobitsalign.sh: New test.
2212         * testfile-nobitsalign.bz2: New testfile.
2213         * testfile-nobitsalign.strip.bz2: Likewise.
2214         * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
2215         (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
2216         and testfile-nobitsalign.strip.bz2.
2217         * run-strip-test.sh: Add --gnu to elflint calls.
2218
2219 2016-01-13  Mark Wielaard  <mjw@redhat.com>
2220
2221         * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
2222
2223 2016-01-13  Mark Wielaard  <mjw@redhat.com>
2224
2225         * dwfl-proc-attach.c: Guard linux specific header.
2226
2227 2016-01-13  Mark Wielaard  <mjw@redhat.com>
2228
2229         * system-elf-libelf-test.c: New test.
2230         * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
2231         (check_PROGRAMS): Likewise.
2232         (system_elf_libelf_test_CPPFLAGS): New variable.
2233         (system_elf_libelf_test_LDADD): Likewise.
2234
2235 2016-01-08  Mark Wielaard  <mjw@redhat.com>
2236
2237         * elfputzdata.c (main): Fix parentheses in strncmp test.
2238
2239 2016-01-08  Mark Wielaard  <mjw@redhat.com>
2240
2241         * elfputzdata.c (main): Use PRId64 to print 64 bit value.
2242
2243 2016-01-08  Mark Wielaard  <mjw@redhat.com>
2244
2245         * Makefile.am (TESTS): Always unconditionally add
2246         run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
2247
2248 2015-12-16  Mark Wielaard  <mjw@redhat.com>
2249
2250         * run-compress-test.sh: New test.
2251         * Makefile.am (TESTS): Add run-compress-test.sh.
2252         (EXTRA_DISTS): Likewise.
2253
2254 2015-11-26  Mark Wielaard  <mjw@redhat.com>
2255
2256         * zstrptr.c: New file.
2257         * run-zstrptr.sh: New test.
2258         * elfputzdata.c (main): (re)compress .shstrtab.
2259         * run-elfputzdata.sh: Expect .shstrtab compression.
2260         * Makefile.am (check_PROGRAMS): Add zstrptr.
2261         (TESTS): Add run-zstrptr.sh.
2262         (EXTRA_DIST): Likewise.
2263         (zstrptr_LDADD): New variable.
2264
2265 2015-10-20  Mark Wielaard  <mjw@redhat.com>
2266
2267         * run-readelf-zx.sh: New test.
2268         * run-readelf-zp.sh: Likewise.
2269         * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
2270         (EXTRA_DIST): Likewise.
2271
2272 2015-10-21  Mark Wielaard  <mjw@redhat.com>
2273
2274         * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
2275         (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
2276         (EXTRA_DIST: Likewise.
2277         (elfgetzdata_LDADD): New variable.
2278         (elfputzdata_LDADD): Likewise.
2279         * elfgetzdata.c: New file.
2280         * elfputzdata.c: Likewise.
2281         * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
2282         ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
2283         ELF_E_DECOMPRESS_ERROR.
2284         * run-elfgetzdata.sh: New test.
2285         * run-elfputzdata.sh: Likewise.
2286
2287 2015-10-28  Mark Wielaard  <mjw@redhat.com>
2288
2289         * run-readelf-z.sh: New test.
2290         * Makefile.am (TESTS): Add run-readelf-z.sh.
2291         (EXTRA_DIST): Likewise.
2292
2293 2015-10-28  Mark Wielaard  <mjw@redhat.com>
2294
2295         * elfgetchdr.c: New file.
2296         * run-elfgetchdr.sh: New test.
2297         * testfile-zgabi32.bz2: New testfile.
2298         * testfile-zgabi32be.bz2: Likewise.
2299         * testfile-zgabi64.bz2: Likewise.
2300         * testfile-zgabi64be.bz2: Likewise.
2301         * Makefile.am (check_PROGRAMS): Add elfgetchdr.
2302         (TESTS): Add run-elfgetchdr.sh.
2303         (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
2304         testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
2305         (welfgetchdr_LDADD): New variable.
2306         * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
2307         and ELF_E_INVALID_SECTION_FLAGS,
2308
2309
2310 2015-10-28  Mark Wielaard  <mjw@redhat.com>
2311
2312         * dwelfgnucompressed.c: New file.
2313         * run-dwelfgnucompressed.sh: New test.
2314         * testfile-zgnu32.bz2: New testfile.
2315         * testfile-zgnu64.bz2: Likewise.
2316         * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
2317         (TESTS): Add run-dwelfgnucompressed.sh.
2318         (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
2319         testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
2320         (dwelfgnucompressed_LDADD): New variable.
2321
2322 2015-12-31  Mark Wielaard  <mjw@redhat.com>
2323
2324         * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
2325         * run-elfstrmerge-test.sh: New test.
2326         * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
2327         (EXTRA_DIST): Likewise.
2328
2329 2015-12-08  Jose E. Marchesi  <jose.marchesi@oracle.com>
2330
2331         * run-backtrace-core-sparc.sh: New file.
2332         * backtrace.sparc.core.bz2: New file.
2333         * backtrace.sparc.exec.bz2: New file.
2334         * Makefile.am (EXTRA_DIST): ... and added all here.
2335         (TESTS): Added run-backtrace-core-sparc.sh.
2336
2337 2015-12-02  Mark Wielaard  <mjw@redhat.com>
2338
2339         * Makefile.am (valgrind_cmd): Use --leak-check=full.
2340         * run-backtrace-demangle.sh: Disable valgrind.
2341         * run-stack-demangled-test.sh: Likewise.
2342         * run-stack-d-test.sh: Likewise.
2343         * run-stack-i-test.sh: Likewise.
2344
2345 2015-12-01  Mark Wielaard  <mjw@redhat.com>
2346
2347         * test-flag-nobits.c (main): Call elf_end.
2348         * rerequest_tag.c (main): Call dwarf_end.
2349         * funcscopes.c (handle_function): Free scopes.
2350         * dwarf-getstring.c (main): Call dwarf_end.
2351         * allregs.c (main): Free state.info.
2352         * alldts.c (main): Free dyn.
2353         * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
2354         calls.
2355         * addrscopes.c (handle_address): Free scopes.
2356
2357 2015-10-16  Mark Wielaard  <mjw@redhat.com>
2358
2359         * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
2360         [BUILD_STATIC] (libelf): Likewise.
2361
2362 2015-10-16  Mark Wielaard  <mjw@redhat.com>
2363
2364         * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
2365
2366 2015-10-09  Josh Stone  <jistone@redhat.com>
2367
2368         * lfs-symbols: New list of LFS-related symbols from lintian.
2369         * testfile-nolfs.bz2: New test binary for sanity checking.
2370         * run-lfs-symbols.sh: New test.
2371         * Makefile.am (TESTS): Add run-lfs-symbols.sh.
2372         (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
2373         run-lfs-symbols.sh.
2374         * alldts.c (main): Replace open64 with open.
2375         * dwarf-getstring.c (main): Likewise.
2376         * arls.c: Include config.h.
2377         * ecp.c: Likewise.
2378         * rdwrmmap.c: Likewise.
2379         * test-elf_cntl_gelf_getshdr.c: Likewise.
2380         * test-flag-nobits.c: Include config.h.
2381         (main): Replace open64 with open.
2382
2383 2015-10-09  Mark Wielaard  <mjw@redhat.com>
2384
2385         * elfshphehdr.c (check): Rename argument from check to statement.
2386         (check_elf): Likewise.
2387
2388 2015-10-05  Josh Stone  <jistone@redhat.com>
2389
2390         * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
2391
2392 2015-10-02  Mark Wielaard  <mjw@redhat.com>
2393
2394         * elfstrmerge.c: New check program.
2395         * run-strip-strmerge.sh: New test.
2396         * Makefile.am (check_PROGRAMS): Add elfstrmerge.
2397         (EXTRA_DIST): Add run-strip-strmerge.sh
2398         (elfstrmerge_LDADD): New variable.
2399
2400 2015-09-29  Mark Wielaard  <mjw@redhat.com>
2401
2402         * elfshphehdr.c: New test.
2403         * Makefile.am (check_PROGRAMS): Add elfshphehdr.
2404         (TESTS): Likewise.
2405         (elfshphehdr_LDADD): New variable.
2406
2407 2015-09-08  Mark Wielaard  <mjw@redhat.com>
2408
2409         * dwfl-proc-attach.c: New test.
2410         * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
2411         (TESTS): Likewise.
2412         (dwfl_proc_attach_LDADD): New variable.
2413         (dwfl_proc_attach_LDFLAGS): Likewise.
2414
2415 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
2416
2417         * varlocs.c (print_base_type): Initialize enctype.
2418
2419 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
2420
2421         * md5-sha1-test.c (md5_expected): Removed.
2422         (sha1_expected): Likewise.
2423
2424 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
2425
2426         * asm-tst1.c (main): Replace %Z length modifier with %z.
2427         * asm-tst2.c (main): Likewise.
2428         * asm-tst3.c (main): Likewise.
2429         * asm-tst4.c (main): Likewise.
2430         * asm-tst5.c (main): Likewise.
2431         * asm-tst6.c (main): Likewise.
2432         * asm-tst7.c (main): Likewise.
2433         * asm-tst8.c (main): Likewise.
2434         * asm-tst9.c (main): Likewise.
2435         * sectiondump.c (print_bytes): Likewise.
2436
2437 2015-08-14  Mark Wielaard  <mjw@redhat.com>
2438
2439         * run-addr2line-alt-debugpath.sh: New test.
2440         * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
2441         (EXTRA_DIST): Likewise.
2442
2443 2015-07-29  Mark Wielaard  <mjw@redhat.com>
2444
2445         * run-unstrip-test3.sh: New test.
2446         * testfile-info-link.bz2: New file.
2447         * testfile-info-link.debuginfo.bz2: Likewise.
2448         * testfile-info-link.stripped.bz2: Likewise.
2449         * Makefile.am (TESTS): Add run-unstrip-test3.sh.
2450         (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
2451         testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
2452
2453 2015-06-27  Pino Toscano  <toscano.pino@tiscali.it>
2454
2455         * tests/run-deleted.sh: Skip when detecting a not implemented
2456         dwfl_linux_proc_attach.
2457
2458 2015-06-27  Pino Toscano  <toscano.pino@tiscali.it>
2459
2460         * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
2461         dwfl_addrmodule.
2462
2463 2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
2464
2465         * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
2466
2467 2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
2468
2469         * tests/backtrace-data.c: Reduce scope of some includes to match their
2470         usage.
2471         * tests/backtrace.c: Likewise.
2472         * tests/deleted.c: Likewise.
2473
2474 2015-06-16  Mark Wielaard  <mjw@redhat.com>
2475
2476         * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
2477         for non-ET_REL files.
2478
2479 2015-05-30  Mark Wielaard  <mjw@redhat.com>
2480
2481         * backtrace-subr.sh (check_native_core): Notice core file couldn't be
2482         generated before skipping.
2483         * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
2484         before skipping.
2485         * run-backtrace-demangle.sh: Likewise.
2486         * run-stack-demangled-test.sh: Likewise.
2487         * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
2488         before skipping.
2489         * run-backtrace-native-core-biarch.sh: Likewise.
2490         * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
2491
2492 2015-05-20  Mark Wielaard  <mjw@redhat.com>
2493
2494         * run-addr2line-i-test.sh: Add pretty test.
2495         * run-addr2line-test.sh: Likewise.
2496
2497 2015-05-20  Mark Wielaard  <mjw@redhat.com>
2498
2499         * run-addr2line-i-demangle-test.sh: New test.
2500         * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
2501         (EXTRA_DIST): Likewise.
2502
2503 2015-05-20  Mark Wielaard  <mjw@redhat.com>
2504
2505         * run-addr2line-test.sh: Add -a test variants.
2506         * run-addr2line-i-test.sh: Likewise.
2507
2508 2015-05-20  Mark Wielaard  <mjw@redhat.com>
2509
2510         * run-addrname-test.sh: Make sure all input addresses are hex.
2511
2512 2015-05-04  Max Filippov  <jcmvbkbc@gmail.com>
2513
2514         * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
2515         * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
2516         (main): Likewise.
2517         * backtrace-dwarf.c (main): Likewise.
2518         * backtrace.c (prepare_thread, exec_dump): Likewise.
2519
2520 2015-05-04  Anthony G. Basile  <blueness@gentoo.org>
2521
2522         * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
2523         (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
2524         (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
2525         (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
2526         (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
2527
2528 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2529
2530         * run-stack-d-test.sh: Use --raw and mangled output.
2531         * run-stack-i-test.sh: Likewise.
2532         * run-stack-demangled-test.sh: New test.
2533         * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
2534         (TESTS): Likewise.
2535
2536 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
2537
2538         * Makefile.am (TESTS): Add run-strip-test10.sh.
2539         (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
2540         Add testfile-x32-debug.bz2.
2541         * run-strip-test10.sh: New file.
2542         * testfile-x32-d.bz2: Likewise.
2543         * testfile-x32-debug.bz2: Likewise.
2544
2545 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
2546
2547         * Makefile.am (TESTS): Add run-strip-test9.sh.
2548         (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
2549         * run-strip-test9.sh: New file.
2550         * testfile-x32-s.bz2: Likewise.
2551
2552 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
2553
2554         * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
2555         (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
2556         Add backtrace.x32.exec.bz2.
2557         * backtrace.x32.core.bz2 : New file.
2558         * backtrace.x32.exec.bz2: Likewise.
2559         * run-backtrace-core-x32.sh: Likewise.
2560
2561 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
2562
2563         * run-addrcfi.sh: Add a test for testfile-x32.
2564         * testfile-x32.bz2: New file.
2565         * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
2566
2567 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
2568
2569         * run-allregs.sh: Add a test for testfile-x32-core.
2570
2571 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
2572
2573         * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
2574         * testfile-x32-core.bz2: New file.
2575         * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
2576
2577 2015-03-18  Petr Machata  <pmachata@redhat.com>
2578
2579         * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
2580         the API changes.
2581         * allregs.c (dwarf_encoding_string): Likewise.
2582         * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
2583         * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
2584
2585 2015-03-18  Petr Machata  <pmachata@redhat.com>
2586
2587         * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
2588         debug-ranges-no-lowpc.o.bz2.
2589
2590 2015-03-13  Mark Wielaard  <mjw@redhat.com>
2591
2592         * backtrace-dwarf.c: Add explicit includes.
2593         (cleanup_13_abort): Remove unused static declaration.
2594         (thread_callback): Add explicit return.
2595
2596 2015-03-13  H.J. Lu  <hjl.tools@gmail.com>
2597
2598         * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
2599         instead of PTRACE_POKEUSER.
2600         (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
2601         is_x86_64_native.
2602
2603 2015-02-18  Mark Wielaard  <mjw@redhat.com>
2604
2605         * newdata.c (check_section_data): Use PRId64 for printing loff_t.
2606
2607 2015-02-11  Josh Stone  <jistone@redhat.com>
2608
2609         * backtrace.c (exec_dump): Initialize jmp.
2610
2611 2015-02-11  Petr Machata  <pmachata@redhat.com>
2612
2613         * run-dwarf-ranges.sh: New test.
2614         * dwarf-ranges.c: New file.
2615         * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
2616
2617 2015-01-21  Mark Wielaard  <mjw@redhat.com>
2618
2619         * Makefile.am (check_PROGRAMS): Add elfstrtab.
2620         (TESTS): Likewise.
2621         (elfstrtab_LDADD): New variable.
2622         * elfstrtab.c: New test.
2623
2624 2015-01-20  Mark Wielaard  <mjw@redhat.com>
2625
2626         * Makefile.am (check_PROGRAMS): Add newdata.
2627         (TESTS): Likewise.
2628         (newdata_LDADD): new variable.
2629         * newdata.c: New test.
2630
2631 2015-01-20  Mark Wielaard  <mjw@redhat.com>
2632
2633         * strptr.c: New file.
2634         * run-strptr.sh: New test.
2635         * Makefile.am (check_PROGRAMS): Add strptr.
2636         (TESTS): Add run-strptr.sh.
2637         (EXTRA_DIST): Likewise.
2638         (strptr_LDADD): New variable.
2639
2640 2015-01-15  Mark Wielaard  <mjw@redhat.com>
2641
2642         * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
2643         * vdsosyms.c (main): Use getpid () instead of getppid ().
2644
2645 2014-12-27  Mark Wielaard  <mjw@redhat.com>
2646
2647         * addrscopes.c (handle_address): Last address in scope is highpc - 1.
2648         * funcscopes.c (handle_function): Likewise.
2649         * run-addrscopes.sh: Adjust last address in scope.
2650         * run-funcscopes.sh: Likewise.
2651
2652 2015-01-07  Mark Wielaard  <mjw@redhat.com>
2653
2654         * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
2655
2656 2015-01-14  Mark Wielaard  <mjw@redhat.com>
2657
2658         * testfile-debug-types.bz2: New testfile.
2659         * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
2660         * typeiter2.c (main): Print both name and offset of found form DIE.
2661         * run-typeiter.s: Adjust output and add testfile-debug-types.
2662
2663 2014-12-26  Mark Wielaard  <mjw@redhat.com>
2664
2665         * run-test-archive64.sh: Add nm test.
2666
2667 2014-12-19  Mark Wielaard  <mjw@redhat.com>
2668
2669         * run-deleted.sh: Don't check libfunc on ppc64.
2670
2671 2014-12-19  Mark Wielaard  <mjw@redhat.com>
2672
2673         * vdsosyms.c (vdso_seen): Removed.
2674         (vdso_syms): New global.
2675         (module_callback): Set and check vdso_syms.
2676         (main): Return value depends on vdso_syms.
2677
2678 2014-12-19  Mark Wielaard  <mjw@redhat.com>
2679
2680         * backtrace-subr.sh (check_native_unsupported): Relax special ARM
2681         grep a little.
2682         * run-deleted.sh: Call check_native_unsupported.
2683
2684 2014-12-18  Mark Wielaard  <mjw@redhat.com>
2685
2686         * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
2687
2688 2014-12-12  Mark Wielaard  <mjw@redhat.com>
2689
2690         * Makefile.am (deleted_lib_so_CFLAGS): Add
2691         -fasynchronous-unwind-tables.
2692
2693 2014-12-11  Josh Stone  <jistone@redhat.com>
2694
2695         * run-addr2line-i-lex-test.sh: New test.
2696         * testfile-lex-inlines.bz2: New testfile.
2697         * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
2698         testfile-lex-inlines.bz2.
2699         (TESTS): Add run-addr2line-i-lex-test.sh.
2700
2701 2014-12-10  Josh Stone  <jistone@redhat.com>
2702
2703         * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
2704         preferred over the plain die name.
2705
2706 2014-12-02  Petr Machata  <pmachata@redhat.com>
2707
2708         * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
2709         DW_MACRO_GNU_undef_indirect opcodes.  Add a default branch.
2710         (main): Initialize off to DWARF_GETMACROS_START when an extra
2711         command line argument is passed.
2712         * testfile-macros-0xff.bz2: New test case.
2713         * testfile-macros-0xff.s: New file (source for the above).
2714         * run-dwarf-getmacros.sh: Add two tests.
2715
2716 2014-11-27  Mark Wielaard  <mjw@redhat.com>
2717
2718         * vdsosyms.c (main): Call dwfl_linux_proc_attach.
2719
2720 2014-11-21  Mark Wielaard  <mjw@redhat.com>
2721
2722         * run-readelf-A.sh: New test.
2723         * testfileppc32attrs.o.bz2: New test file.
2724         * Makefile.am (TESTS): Add run-readelf-A.sh.
2725         (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
2726
2727 2014-11-10  Mark Wielaard  <mjw@redhat.com>
2728
2729         * vdsosyms.c: New test.
2730         * Makefile.am (check_PROGRAMS): Add vdsosyms.
2731         (TESTS): Likewise.
2732         (vdsosyms_LDADD): New variable.
2733
2734 2014-09-10  Petr Machata  <pmachata@redhat.com>
2735
2736         * dwarf-getmacros.c: Update to use the new macro iteration
2737         interfaces.
2738         * run-dwarf-getmacros.sh: Adjust, add a test that uses
2739         testfile-macros.
2740
2741 2014-10-06  Mark Wielaard  <mjw@redhat.com>
2742
2743         * run-aggregate-size.sh: Add testfile-sizes3.o test case.
2744         * testfile-sizes3.o.bz2: New test file.
2745         * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
2746
2747 2014-10-02  Mark Wielaard  <mjw@redhat.com>
2748
2749         * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
2750
2751 2014-10-02  Mark Wielaard  <mjw@redhat.com>
2752
2753         * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
2754         (TESTS): Add run-aggregate-size.sh.
2755         (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
2756         and testfile-sizes2.o.bz2.
2757         (aggregate_size_LDADD): New variable.
2758         * aggregate_size.c: New file.
2759         * run-aggregate-size.sh: New test.
2760         * testfile-sizes1.o.bz2: New test file.
2761         * testfile-sizes2.o.bz2: Likewise.
2762
2763 2014-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2764
2765         Support NT_FILE for locating files.
2766         * Makefile.am (TESTS): Add run-linkmap-cut.sh.
2767         (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
2768         linkmap-cut.bz2 and linkmap-cut.core.bz2 .
2769         * linkmap-cut-lib.so.bz2: New file.
2770         * linkmap-cut.bz2: New file.
2771         * linkmap-cut.core.bz2: New file.
2772         * run-linkmap-cut.sh: New file.
2773         * run-unstrip-n.sh: Update its expected output.
2774
2775 2014-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2776
2777         * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
2778         (TESTS, EXTRA_DIST): Add run-deleted.sh.
2779         (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
2780         * deleted-lib.c: New file.
2781         * deleted.c: New file.
2782         * run-deleted.sh: New file.
2783
2784 2014-06-15  Mark Wielaard  <mjw@redhat.com>
2785
2786         * backtrace.c (frame_callback): Error on seeing more than 16 frames.
2787
2788 2014-06-13  Mark Wielaard  <mjw@redhat.com>
2789
2790         * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
2791         frame symname.
2792
2793 2014-06-13  Mark Wielaard  <mjw@redhat.com>
2794
2795         * backtrace-subr.sh (check_native_unsupported): New function.
2796         (check_native): Call it.
2797         (check_native_core): Likewise.
2798         * run-backtrace-dwarf.sh: Likewise.
2799
2800 2014-06-11  Mark Wielaard  <mjw@redhat.com>
2801
2802         * backtrace.c (main): Check that Dwfl was attached by calling
2803         dwfl_pid and printing the error when it is not.
2804
2805 2014-05-18  Mark Wielaard  <mjw@redhat.com>
2806
2807         * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
2808         (f): Likewise.
2809         * testfile-backtrace-demangle.bz2: Regenerate.
2810         * testfile-backtrace-demangle.core.bz2: Likewise.
2811
2812 2014-05-02  Mark Wielaard  <mjw@redhat.com>
2813
2814         * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
2815         run-allfcts-multi.sh are now added unconditionally.
2816
2817 2014-05-01  Mark Wielaard  <mjw@redhat.com>
2818
2819         * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
2820         subdir.
2821
2822 2014-04-30  Mark Wielaard  <mjw@redhat.com>
2823
2824         * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
2825         * Makefile.am (check_PROGRAMS): Add buildid.
2826         (TESTS): Add run-buildid.sh.
2827         (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
2828         (buildid_LDADD): New variable.
2829
2830 2014-04-24  Florian Weimer  <fweimer@redhat.com>
2831
2832         * allfcts.c (setup_alt): New function.
2833         (main): Call it.  Implementation additional error checking and
2834         reporting.
2835
2836 2014-04-24  Florian Weimer  <fweimer@redhat.com>
2837
2838         * debugaltlink.c, run-debugaltlink.sh: New files.
2839         * Makefile.am (check_PROGRAMS): Add debugaltlink.
2840         (TESTS): Add run-debugaltlink.sh.
2841         (debugaltlink_LDADD): New variable.
2842
2843 2014-04-11  Mark Wielaard  <mjw@redhat.com>
2844
2845         * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
2846         (check_PROGRAMS): Add debuglink.
2847         (TESTS): Add run-debuglink.sh
2848         (EXTRA_DIST): Likewise.
2849         (debuglink_LDADD): New.
2850         * debuglink.c: New file.
2851         * run-debuglink.sh: Likewise.
2852
2853 2014-03-23  Mark Wielaard  <mjw@redhat.com>
2854
2855         * run-nm-self.sh: Use test = not == for string comparisons.
2856
2857 2014-04-22  Kurt Roeckx  <kurt@roeckx.be>
2858
2859         * backtrace.c: Make Linux only.
2860         * backtrace-child.c: Make Linux only.
2861         * backtrace-data.c: Make Linux only.
2862         * backtrace-dwarf.c: Make Linux only.
2863         * backtrace-subr.sh: Skip core file unwinding tests when not supported.
2864
2865 2014-03-14  Mark Wielaard  <mjw@redhat.com>
2866
2867         * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
2868         LDADD lines.
2869         * configure.ac: Remove MUDFLAP conditional.
2870
2871 2014-04-09  Mark Wielaard  <mjw@redhat.com>
2872
2873         * run-readelf-zdebug.sh: New test.
2874         * testfile-debug.bz2: New testfile.
2875         * testfile-zdebug.bz2: New testfile.
2876         * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
2877         (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
2878         testfile-zdebug.bz2.
2879
2880 2014-04-10  Mark Wielaard  <mjw@redhat.com>
2881
2882         * testfile_i686_core.bz2: New test file.
2883         * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
2884         * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
2885
2886 2014-04-09  Mark Wielaard  <mjw@redhat.com>
2887
2888         * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
2889         (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
2890         backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
2891         * run-backtrace-core-aarch64.sh: New test.
2892
2893 2014-03-11  Josh Stone  <jistone@redhat.com>
2894
2895         * testfilebaxmin.bz2: New testfile.
2896         * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
2897         * run-readelf-s.sh: Test testfilebaxmin.
2898         * run-dwflsyms.sh: Likewise.
2899
2900 2014-01-26  Mark Wielaard  <mjw@redhat.com>
2901
2902         * backtrace-subr.sh (check_unsupported): Special case arm*.
2903
2904 2014-01-25  Mark Wielaard  <mjw@redhat.com>
2905
2906         * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
2907         location expression: call_frame_cfa stack_value.
2908
2909 2014-01-22  Mark Wielaard  <mjw@redhat.com>
2910
2911         * Makefile.am (line2addr_no_Wformat): Removed.
2912
2913 2014-01-21  Mark Wielaard  <mjw@redhat.com>
2914
2915         * Makefile.am (TESTS): Add run-stack-i-test.sh.
2916         (EXTRA_DIST): Likewise.
2917         * run-stack-i-test.sh: New test.
2918
2919 2014-01-20  Mark Wielaard  <mjw@redhat.com>
2920
2921         * Makefile.am (TESTS): Add run-stack-d-test.sh.
2922         (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
2923         testfiledwarfinlines.core.bz2.
2924         * run-stack-d-test.sh: New test.
2925         * testfiledwarfinlines.bz2: New test file.
2926         * testfiledwarfinlines.core.bz2: Likewise.
2927
2928 2014-01-16  Mark Wielaard  <mjw@redhat.com>
2929
2930         * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
2931         on one ET_REL, one ET_EXEC and one ET_DYN file.
2932         * test-subr.sh (self_test_files): Add two ET_REL files, only add
2933         two libebl ET_DYN backend files.
2934
2935 2014-01-16  Mark Wielaard  <mjw@redhat.com>
2936
2937         * run-backtrace-demangle.sh: Check exitcode and max number of frames.
2938
2939 2014-01-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2940
2941         Fix false FAILs on testsuite with ulimit -c unlimited.
2942         * backtrace-child.c (sigusr2): Call pthread_exit.
2943         (main): Return, do not call abort.
2944
2945 2014-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2946
2947         Fix corruption of non-C++ symbols by the demangler.
2948         * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
2949         <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
2950         (EXTRA_DIST): Add run-backtrace-demangle.sh,
2951         testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
2952         testfile-backtrace-demangle.core.bz2.
2953         * backtrace-demangle.cc: New file.
2954         * run-backtrace-demangle.sh: New file.
2955         * testfile-backtrace-demangle.bz2: New file.
2956         * testfile-backtrace-demangle.cc: New file.
2957         * testfile-backtrace-demangle.core.bz2: New file.
2958
2959 2014-01-07  Matthias Klose <doko@ubuntu.com>
2960
2961         * backtrace-subr.sh (check_native_core): Check to see if core file
2962         was created without ".PID" extension, if so mv core to core.PID.
2963         Skip test if no core file was created or could be found.
2964
2965 2014-01-04  Mark Wielaard  <mjw@redhat.com>
2966
2967         * backtrace-data.c (main): Don't assert if raise returns.
2968         * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
2969         assume_ptrace_attached true.
2970         (ptrace_detach_stopped): Removed function.
2971         (main): Don't call ptrace_detach_stopped.
2972         * backtrace.c (ptrace_detach_stopped): Removed function.
2973         (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
2974         true.
2975         (exec_dump): Don't call ptrace_detach_stopped.
2976
2977 2014-01-04  Mark Wielaard  <mjw@redhat.com>
2978
2979         * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
2980         if we cannot adjust core ulimit.
2981
2982 2014-01-04  Mark Wielaard  <mjw@redhat.com>
2983
2984         * cleanup-13.c (force_unwind_stop): Removed.
2985         (force_unwind): Just call abort. Don't setup _Unwind_Exception and
2986         don't call _Unwind_ForcedUnwind.
2987
2988 2014-01-03  Mark Wielaard  <mjw@redhat.com>
2989
2990         * run-addrcfi.sh: Add case for EM_AARCH64.
2991         * testfileaarch64.bz2: New testfile.
2992         * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
2993
2994 2013-12-30  Mark Wielaard  <mjw@redhat.com>
2995
2996         * backtrace-dwarf.c (report_pid): Explicitly call
2997         dwfl_linux_proc_attach and check for errors.
2998         * backtrace.c (report_pid): Likewise.
2999
3000 2013-12-21  Mark Wielaard  <mjw@redhat.com>
3001
3002         * backtrace.c (callback_verify): Only assert that case 5 is the last
3003         instruction of backtracegen on x86_64 native.
3004
3005 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
3006             Mark Wielaard  <mjw@redhat.com>
3007
3008         * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
3009         and testfilebaz*ppc64*.bz2 files.
3010         * dwflsyms.c (list_syms): Remove unused from parameter mod_name.  Print
3011         error on dwfl_module_getsymtab error.
3012         (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
3013         Compare values for non-ET_REL. Use dwfl_module_addrinfo.
3014         Also print section of actual value if different from sym.
3015         * run-addrname-test.sh (testfile66, testfile66.core): New tests.
3016         Test addr2line -x by showing different sections for address and
3017         found name in testfile66.
3018         * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
3019         testfilebaz*ppc64): New tests.
3020         * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
3021         testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
3022         testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
3023         testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
3024         testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
3025         testfilebaztabppc64.bz2: New test files.
3026
3027 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
3028
3029         unwinder: s390 and s390x
3030         * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
3031         run-backtrace-core-s390.sh.
3032         (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
3033         backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
3034         run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
3035         * backtrace.s390.core.bz2: New file.
3036         * backtrace.s390.exec.bz2: New file.
3037         * backtrace.s390x.core.bz2: New file.
3038         * backtrace.s390x.exec.bz2: New file.
3039         * run-backtrace-core-s390.sh: New file.
3040         * run-backtrace-core-s390x.sh: New file.
3041
3042 2013-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3043
3044         * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
3045         code.
3046
3047 2013-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3048
3049         unwinder: ppc
3050         * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
3051         (EXTRA_DIST): Add backtrace.ppc.core.bz2,
3052         backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
3053         * backtrace.ppc.core.bz2: New file.
3054         * backtrace.ppc.exec.bz2: New file.
3055         * run-backtrace-core-ppc.sh: New file.
3056
3057 2013-12-10  Mark Wielaard  <mjw@redhat.com>
3058
3059         * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
3060
3061 2013-12-10  Mark Wielaard  <mjw@redhat.com>
3062
3063         * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
3064         * backtrace-subr.sh (check_native_core): Disable valgrind while
3065         dumping core.
3066         * run-backtrace-data.sh: Disable valgrind.
3067         * run-backtrace-dwarf.sh: Likewise.
3068
3069 2013-12-09  Mark Wielaard  <mjw@redhat.com>
3070
3071         * varlocs.c (print_expr): Update comment to explain empty location
3072         associated with DW_OP_GNU_implicit_pointer.
3073
3074 2013-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3075
3076         Fix test FAIL with -O2.
3077         * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
3078
3079 2013-12-05  Mark Wielaard  <mjw@redhat.com>
3080
3081         * backtrace-data.c (main): If unsupported also print to stderr.
3082         * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
3083
3084 2013-12-04  Mark Wielaard  <mjw@redhat.com>
3085
3086         * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
3087
3088 2013-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3089
3090         * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
3091         backtrace-data and backtrace-dwarf.
3092         (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
3093         (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
3094         run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
3095         run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
3096         run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
3097         <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
3098         (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
3099         cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
3100         run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
3101         run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
3102         backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
3103         backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
3104         (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
3105         (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
3106         New.
3107         * backtrace-child.c: New file.
3108         * backtrace-data.c: New file.
3109         * backtrace-dwarf.c: New file.
3110         * backtrace-subr.sh: New file.
3111         * backtrace.c: New file.
3112         * cleanup-13.c: New file.
3113         * backtrace.i386.core.bz2: New file.
3114         * backtrace.i386.exec.bz2: New file.
3115         * backtrace.x86_64.core.bz2: New file.
3116         * backtrace.x86_64.exec.bz2: New file.
3117         * run-backtrace-core-i386.sh: New file.
3118         * run-backtrace-core-x86_64.sh: New file.
3119         * run-backtrace-native-biarch.sh: New file.
3120         * run-backtrace-native-core-biarch.sh: New file.
3121         * run-backtrace-native-core.sh: New file.
3122         * run-backtrace-native.sh: New file.
3123         * run-backtrace-data.sh: New file.
3124         * run-backtrace-dwarf.sh: New file.
3125
3126 2013-11-27  Mark Wielaard  <mjw@redhat.com>
3127
3128         * dwflsyms.c (gelf_bind_order): New function.
3129         (elf_section_name): Likewise.
3130         (addr_in_section): Likewise.
3131         (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
3132         Refine assert using gelf_bind_order. Print elf_section_name. Check
3133         bias with addr_in_section.
3134         * run-dwflsyms.sh: Add section names to expected output.
3135
3136 2013-11-26  Mark Wielaard  <mjw@redhat.com>
3137
3138         * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
3139
3140 2013-11-25  Petr Machata  <pmachata@redhat.com>
3141
3142         * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
3143         * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
3144         * Makefile.am (EXTRA_DIST): Add these.
3145         (TESTS): Add run-funcretval.sh.
3146         * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
3147         * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
3148         * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
3149         * run-funcretval.sh: New file.
3150
3151 2013-11-18  Josh Stone  <jistone@redhat.com>
3152
3153         * testfilebazdbg_plr.bz2: New testfile.
3154         * testfilebazmin_plr.bz2: Likewise.
3155         * Makefile.am (EXTRA_DIST): Add the above files.
3156         * run-dwflsyms.sh: Add prelink -r tests.
3157
3158 2013-11-15  Mark Wielaard  <mjw@redhat.com>
3159
3160         * testfilebazmdb.bz2: Regenerated.
3161         * testfilebazmin.bz2: Likewise.
3162         * testfilebazdbg_pl.bz2: New testfile.
3163         * testfilebazmin_pl.bz2: Likewise.
3164         * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
3165         testfilebazmin_pl.bz2.
3166         * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
3167         print relative address of function symbols.
3168         * run-dwflsyms.sh: Add prelink tests and adjust expected output.
3169
3170 2013-11-01  Michael Forney  <mforney@mforney.org>
3171
3172         * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
3173         * run-arsymtest.sh: Use NM.
3174
3175 2013-11-05  Mark Wielaard  <mjw@redhat.com>
3176
3177         * allfcts.c (main): Correct dwarf_getfuncs return value check.
3178
3179 2013-10-10  Mark Wielaard  <mjw@redhat.com>
3180             Josh Stone  <jistone@redhat.com>
3181
3182         * run-allfcts-multi.sh: New test.
3183         * test-offset-loop.bz2: New testfile.
3184         * test-offset-loop.alt.bz2: New testfile.
3185         * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
3186         (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
3187         test-offset-loop.alt.bz2.
3188
3189 2013-10-15  Mark Wielaard  <mjw@redhat.com>
3190
3191         * run-unstrip-M.sh: New test.
3192         * Makefile.am (TESTS): Add run-unstrip-M.sh.
3193         (EXTRA_DIST): Likewise.
3194
3195 2013-10-06  Mark Wielaard  <mjw@redhat.com>
3196
3197         * run-addrcfi.sh: Remove nop from expected ppc and ppc64
3198         location expression.
3199
3200 2013-10-03  Josh Stone  <jistone@redhat.com>
3201
3202         * typeiter2.c: New file, reversing typeiter.c.
3203         * run-typeiter.sh: Also run typeiter2.
3204         * Makefile.am (check_PROGRAMS): Add typeiter2.
3205         (typeiter2_LDADD): New variable.
3206
3207 2013-09-26  Petr Machata  <pmachata@redhat.com>
3208
3209         * run-readelf-mixed-corenote.sh: Update output of testfile71
3210         dump--readelf can newly decode the NT_FILE note.
3211
3212 2013-09-26  Petr Machata  <pmachata@redhat.com>
3213
3214         * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
3215         * run-readelf-mixed-corenote.sh: New test for this file.
3216         * testfile71.bz2: New file.
3217
3218 2013-09-20  Mark Wielaard  <mjw@redhat.com>
3219
3220         * allfcts.c (cb): Return DWARF_CB_ABORT.
3221         (main): Iterate over all offsets returned by dwarf_getfuncs.
3222         * run-allfcts.sh: Add nested_funcs and class_func testcases.
3223         * testfile_nested_funcs.bz2: New test file.
3224         * testfile_class_func.bz2: Likewise.
3225         * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
3226         testfile_nested_funcs.bz2.
3227
3228 2013-08-30  Mark Wielaard  <mjw@redhat.com>
3229
3230         * Makefile.am (check_PROGRAMS): Add varlocs.
3231         (TESTS): Add run-varlocs.sh.
3232         (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
3233         testfile_const_type.bz2, testfile_implicit_pointer.c,
3234         testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
3235         testfile_entry_value.c, testfile_entry_value.bz2,
3236         testfile_implicit_value.c and testfile_implicit_value.bz2.
3237         (varlocs_LDADD): New.
3238         * run-varlocs: New test.
3239         * testfile_const_type.c: New test source file.
3240         * testfile_entry_value.c: Likewise.
3241         * testfile_implicit_pointer.c: Likewise.
3242         * testfile_implicit_value.c: Likewise.
3243         * testfile_parameter_ref.c: Likewise.
3244         * testfile_const_type.bz2: New test file.
3245         * testfile_entry_value.bz2: Likewise.
3246         * testfile_implicit_pointer.bz2: Likewise.
3247         * testfile_implicit_value.bz2: Likewise.
3248         * testfile_parameter_ref.bz2: Likewise.
3249         * varlocs.c: New test source.
3250
3251 2013-08-29  Mark Wielaard  <mjw@redhat.com>
3252
3253         * run-addrcfi.sh: Add case for EM_ARM.
3254         * testfilearm.bz2: New testfile.
3255         * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
3256
3257 2013-08-28  Mark Wielaard  <mjw@redhat.com>
3258
3259         * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
3260         completely missing.
3261         * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
3262         * testfiles390.bz2: New testfile.
3263         * testfiles390x.bz2: Likewise.
3264         * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
3265         testfiles390x.bz2.
3266
3267 2013-08-28  Mark Wielaard  <mjw@redhat.com>
3268
3269         * addrcfi.c (handle_cfi): Use printf not error.
3270         * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
3271         * testfileppc32.bz2: New testfile.
3272         * testfileppc64.bz2: Likewise.
3273         * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
3274         testfileppc64.bz2.
3275
3276 2013-08-27  Mark Wielaard  <mjw@redhat.com>
3277
3278         * run-addrcfi.sh: New test.
3279         * Makefile.am (TESTS): Add run-addrcfi.sh.
3280         (EXTRA_DIST): Likewise.
3281         * addrcfi.c (op_name): New function.
3282         (print_detail): Call and print op_name. Check ops, not result
3283         to check if this is "same value" or "undefined".
3284         (handle_cfi): Make sure cfa_ops doesn't point to NULL.
3285
3286 2013-08-13  Mark Wielaard  <mjw@redhat.com>
3287
3288         * run-addr2line-i-test.sh: New test.
3289         * testfile-inlines.bz2: New testfile.
3290         * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
3291         testfile-inlines.bz2.
3292         (TESTS): Add run-addr2line-i-test.sh.
3293
3294 2013-08-12  Mark Wielaard  <mjw@redhat.com>
3295
3296         * run-addr2line-test.sh: New test.
3297         * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
3298         (TESTS): Likewise.
3299
3300 2013-07-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
3301
3302         * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
3303         the entries.
3304
3305 2013-07-02  Mark Wielaard  <mjw@redhat.com>
3306
3307         * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
3308         testfilenolines.bz2.
3309
3310 2013-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3311
3312         * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
3313         test-core.core.bz2 and test-core.exec.bz2.
3314         * run-addrname-test.sh: New test for these files.
3315         * run-unstrip-n.sh: Update expected output.  New test for these files.
3316         * test-core-lib.so.bz2: New file.
3317         * test-core.core.bz2: New file.
3318         * test-core.exec.bz2: New file.
3319
3320 2013-05-03  Mark Wielaard  <mjw@redhat.com>
3321
3322         * testfilenolines.bz2: New test file.
3323         * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
3324         * run-get-lines.sh: Run testrun_compare on testfilenolines.
3325
3326 2013-04-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3327
3328         * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
3329
3330 2013-04-29  Mark Wielaard  <mjw@redhat.com>
3331
3332         * test-subr.sh: Don't use pushd, just cd into test-dir.
3333         (exit_cleanup): Don't use popd, just cd .. to get out.
3334
3335 2013-04-27  Mark Wielaard  <mjw@redhat.com>
3336
3337         * test-subr.sh (exit_cleanup): New function.
3338         (trap): Use exit_cleanup as argument.
3339         * run-native-test.sh (native_exit): New function.
3340         (trap): For EXIT (0) use native_exit as argument.
3341
3342 2013-04-27  Mark Wielaard  <mjw@redhat.com>
3343
3344         * update1.c (main): Use unique tempfile name and unlink file.
3345         * update2.c (main): Likewise.
3346         * update3.c (main): Likewise.
3347         * update4.c (main): Use unique tempfile name.
3348
3349 2013-04-27  Mark Wielaard  <mjw@redhat.com>
3350
3351         * run-alldts.sh: Add testfile-alldts to tempfiles.
3352         * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
3353         * run-macro-test.sh: Add readelf.macros.out to tempfiles.
3354         * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
3355         and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
3356
3357 2013-04-26  Mark Wielaard  <mjw@redhat.com>
3358
3359         * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
3360         remove wrapper.
3361         (TESTS_ENVIRONMENT): Likewise.
3362         (installed_LOG_COMPILER): New variable defining wrapper.
3363         (LOG_COMPILER): Likewise.
3364         * run-*.sh: Fixup location of input and output files.
3365         * test-subr.sh: Create test_dir, pushd to execute test in.
3366         (trap): Remove test_dir.
3367         (testfiles): Use abs_srcdir.
3368         (installed_testrun): Match on abs_builddir or abs_top_builddir.
3369         (self_test_files): Adjust path.
3370
3371 2013-04-24  Mark Wielaard  <mjw@redhat.com>
3372
3373         * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
3374
3375 2013-03-25  Mark Wielaard  <mjw@redhat.com>
3376
3377         * run-readelf-aranges.sh: New test.
3378         * testfilefoobarbaz.bz2: New test file.
3379         * Makefile.am (TESTS): Add run-readelf-aranges.sh.
3380         (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
3381
3382 2013-03-25  Mark Wielaard  <mjw@redhat.com>
3383
3384         * run-readelf-dwz-multi.sh: Expect high_pc also as address.
3385
3386 2013-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3387
3388         * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
3389         (TESTS): Add run-dwfl-report-elf-align.sh.
3390         (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
3391         testfile-dwfl-report-elf-align-shlib.so.bz2 .
3392         (dwfl_report_elf_align_LDADD): New.
3393         * dwfl-report-elf-align.c: New file.
3394         * run-dwfl-report-elf-align.sh: New file.
3395         * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
3396
3397 2013-03-12  Mark Wielaard  <mjw@redhat.com>
3398
3399         * run-dwfllines.sh: New test.
3400         * dwfllines.c: New test program.
3401         * Makefile.am (TESTS): Add run-dwfllines.sh.
3402         (EXTRA_DIST): Likewise.
3403         (dwfllines_LDADD): New variable.
3404
3405 2013-02-22  Mark Wielaard  <mjw@redhat.com>
3406
3407         * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
3408         (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
3409
3410 2013-02-15  Mark Wielaard  <mjw@redhat.com>
3411
3412         * testfile-dwzstr.bz2: New testfile.
3413         * testfile-dwzstr.multi.bz2: Likewise.
3414         * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
3415         * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
3416         testfile-dwzstr.multi.bz2.
3417
3418 2013-01-30  Mark Wielaard  <mjw@redhat.com>
3419
3420         * testfileloc.bz2: New testfile.
3421         * run-readelf-loc.sh: New test.
3422         * Makefile.am (TESTS): Add run-readelf-loc.sh.
3423         (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
3424
3425 2013-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3426
3427         * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
3428         and s390x core notes.
3429         * testfile67.bz2: New file.
3430         * testfile68.bz2: New file.
3431         * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
3432
3433 2013-01-23  Mark Wielaard  <mjw@redhat.com>
3434
3435         * testfilebasmin.bz2: New testfile.
3436         * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
3437         * run-readelf-s.sh: Test testfilebasmin.
3438         * run-dwflsyms.sh: Likewise.
3439
3440 2013-01-16  Mark Wielaard  <mjw@redhat.com>
3441
3442         * Makefile.am (check_PROGRAMS): Add dwflsyms.
3443         (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
3444         (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
3445         testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
3446         testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
3447         (dwflsyms_LDADD): New variable.
3448
3449 2013-01-07  Roland McGrath  <roland@hack.frob.com>
3450
3451         * run-prelink-addr-test.sh: Use ln -snf.
3452
3453 2012-12-03  Mark Wielaard  <mjw@redhat.com>
3454
3455         * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
3456
3457 2012-11-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3458
3459         * run-addrname-test.sh: New test for PIE relocation.
3460         * testfile70.core.bz2: New file.
3461         * testfile70.exec.bz2: New file.
3462         * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
3463         testfile70.exec.bz2 .
3464
3465 2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3466
3467         * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
3468         testfile69.core.bz2 and testfile69.so.bz2 .
3469
3470 2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3471
3472         * run-addrname-test.sh: New test for DSO with build-id bias.
3473         * testfile69.core.bz2: New file.
3474         * testfile69.so.bz2: New file.
3475
3476 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
3477
3478         * run-addrname-test.sh: New test for core vDSO bias.
3479         * testfile65.bz2: New file.
3480
3481 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
3482
3483         * run-addrname-test.sh: New test for symbol preferences.
3484         * testfile64.bz2: New file.
3485
3486 2012-10-01  Mark Wielaard  <mjw@redhat.com>
3487
3488         * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
3489         * test-wrapper.sh: Export VALGRIND_CMD if available.
3490         * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
3491         (installed_testrun): Likewise.
3492
3493 2012-09-24  Petr Machata  <pmachata@redhat.com>
3494
3495         * testfile63.bz2: New testfile.
3496         * run-readelf-mixed-corenote.sh: New test.
3497         * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
3498         (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
3499
3500 2012-09-24  Petr Machata  <pmachata@redhat.com>
3501
3502         * testfile62.bz2: New testfile.
3503         * run-readelf-vmcoreinfo.sh: New test.
3504         * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
3505         (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
3506
3507 2012-09-18  Petr Machata  <pmachata@redhat.com>
3508
3509         * testfile61.bz2: New testfile.
3510         * run-allregs.sh: Run reg_test testfile61.
3511         * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
3512
3513 2012-08-24  Mark Wielaard  <mjw@redhat.com>
3514
3515         * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
3516
3517 2012-08-22  Jeff Kenton  <jkenton@tilera.com>
3518
3519         * testfile60.bz2: New testfile.
3520         * run-allregs.sh: Run reg_test testfile60.
3521
3522 2012-08-24  Mark Wielaard  <mjw@redhat.com>
3523
3524         * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
3525         ENABLE_DWZ.
3526
3527 2012-08-16  Mark Wielaard  <mjw@redhat.com>
3528
3529         * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
3530         macros.
3531         * show-die-info.c (tagnames): Removed.
3532         (attrs): Removed.
3533         (dwarf_tag_string): New function using known-dwarf macros.
3534         (dwarf_attr_string): Likewise.
3535         (handle): Call dwarf_tag_string and dwarf_attr_string instead.
3536         * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
3537
3538 2012-06-27  Mark Wielaard  <mjw@redhat.com>
3539
3540         * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
3541         (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
3542         libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
3543         testfile_multi_main.bz2.
3544         * run-readelf-dwz-multi.sh: New test.
3545         * libtestfile_multi_shared.so.bz2: New testfile.
3546         * testfile_multi.dwz.bz2: New testifle.
3547         * testfile_multi_main.bz2: New testifle.
3548
3549 2012-08-01  Petr Machata  <pmachata@redhat.com>
3550
3551         * run-test-archive64.sh: New test.
3552         * testarchive64.a.bz2: New testfile.
3553         * Makefile.am (TESTS): Add run-test-archive64.sh.
3554         (EXTRA_DIST): Likewise.
3555
3556 2012-08-01  Mark Wielaard  <mjw@redhat.com>
3557
3558         * run-nm-self.sh: New test.
3559         * run-readelf-self.sh: Likewise.
3560         * test-subr.sh (testrun_on_self_quiet): New function.
3561         * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
3562         (EXTRA_DIST): Likewise.
3563
3564 2012-08-01  Mark Wielaard  <mjw@redhat.com>
3565
3566         * test-subr.sh (self_test_files): New list of files.
3567         (testrun_on_self): New function.
3568         * run-elflint-self.sh: Use testrun_on_self.
3569
3570 2012-07-19  Mark Wielaard  <mjw@redhat.com>
3571
3572         * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
3573         (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
3574         (EXTRA_DIST): Likewise.
3575         (test_elf_cntl_gelf_getshdr_LDADD): New.
3576         test-elf_cntl_gelf_getshdr.c: New test program.
3577         run-elf_cntl_gelf_getshdr.sh: New test script.
3578
3579 2012-07-19  Mark Wielaard  <mjw@redhat.com>
3580
3581         * run-elflint-self.sh: runtests on ../backends/*so files.
3582
3583 2012-07-19  Mark Wielaard  <mjw@redhat.com>
3584
3585         * run-unstrip-n.sh: test_cleanup.
3586         * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
3587
3588 2012-07-11  Mark Wielaard  <mjw@redhat.com>
3589
3590         * run-readelf-macro.sh: New test.
3591         * testfilemacro.bz2: New testfile.
3592         * Makefile.am (TESTS): Add run-readelf-macro.sh.
3593         (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
3594
3595 2012-06-27  Mark Wielaard  <mjw@redhat.com>
3596
3597         * run-readelf-gdb-index.sh: New test.
3598         * testfilegdbindex5.bz2: New testfile.
3599         * testfilegdbindex7.bz2: Likewise.
3600         * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
3601         (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
3602         testfilegdbindex7.bz2.
3603
3604 2012-07-17  Mark Wielaard  <mjw@redhat.com>
3605
3606         * testcore-rtlib-ppc.bz2: New testfile.
3607         * run-unstrip-n.sh: Check new ppc core testfile.
3608
3609 2012-06-26  Mike Frysinger  <vapier@gentoo.org>
3610
3611         * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
3612
3613 2012-06-26  Mark Wielaard  <mjw@redhat.com>
3614
3615         * run-macro-test.sh: New test.
3616         * testfile-macinfo.bz2: New testfile.
3617         * testfile-macros.bz2: Likewise.
3618
3619 2012-05-07  Mark Wielaard  <mjw@redhat.com>
3620
3621         * low_high_pc.c: Use proper inttypes in printf formats.
3622
3623 2012-05-11  Mark Wielaard  <mjw@redhat.com>
3624
3625         * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
3626
3627 2012-05-07  Mark Wielaard  <mjw@redhat.com>
3628
3629         * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
3630
3631 2012-04-27  Mark Wielaard  <mjw@redhat.com>
3632
3633         * Makefile.am (TESTS): Add run-low_high_pc.sh
3634         (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
3635         (noinst_PROGRAMS): Add low_high_pc.
3636         (low_high_pc_LDADD): New variable.
3637         * low_high_pc.c: New test.
3638
3639 2012-04-26  Mark Wielaard  <mjw@redhat.com>
3640
3641         * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
3642         * run-show-ciefde.sh: Removed old libdwarf test.
3643         * show-ciefde.c: Likewise.
3644
3645 2012-04-02  Mark Wielaard  <mjw@redhat.com>
3646
3647         * Makefile.am (TESTS): Add run-unstrip-n.sh.
3648         (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
3649         * run-unstrip-n.sh: New test.
3650         * testcore-rtlib.bz2: New testfile.
3651
3652 2012-04-02  Mark Wielaard  <mjw@redhat.com>
3653
3654         * Makefile.am (TESTS): Add run-readelf-d.sh.
3655         (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
3656         * run-readelf-d.sh: New test.
3657         * run-elflint-test.sh: Check new testfile.
3658
3659 2012-03-21  Tom Tromey  <tromey@redhat.com>
3660
3661         * typeiter.c: New file.
3662         * run-typeiter.sh: New file.
3663         * testfile59.bz2: New file.
3664         * Makefile.am (noinst_PROGRAMS): Add typeiter.
3665         (TESTS): Add run-typeiter.sh.
3666         (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
3667         (typeiter_LDADD): New variable.
3668
3669 2012-02-21  Kurt Roeckx  <kurt@roeckx.be>
3670
3671         * run-alldts.sh: testrun ./alldts.
3672
3673 2012-02-21  Roland McGrath  <roland@hack.frob.com>
3674
3675         * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
3676         * test-subr.sh (installed_testrun): Likewise.
3677
3678 2012-01-18  Roland McGrath  <roland@hack.frob.com>
3679
3680         * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
3681         it will have been inherited correctly from the test harness.
3682         * asm-tst5.c (main): Likewise.
3683         * asm-tst6.c (main): Likewise.
3684         Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
3685
3686 2011-07-09  Roland McGrath  <roland@hack.frob.com>
3687
3688         * sha1-tst.c: File removed.
3689         * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
3690         (sha1_tst_LDADD): Variable removed.
3691
3692         * md5-sha1-test.c: New file.
3693         * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
3694         (md5_sha1_test_LDADD): New variable.
3695
3696 2011-05-30  Mark Wielaard  <mjw@redhat.com>
3697
3698         * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
3699         run-rerequest_tag.sh
3700
3701 2011-05-24  Mark Wielaard  <mjw@redhat.com>
3702
3703         * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
3704         * run-strip-reloc.sh: Add hello_s390.ko testcase.
3705         * hello_s390.ko.bz2: New test file.
3706
3707 2011-05-23  Mark Wielaard  <mjw@redhat.com>
3708
3709         * Makefile.am (TESTS): Add run-strip-reloc.sh.
3710         (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
3711         hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
3712         * run-strip-reloc.sh: New test.
3713         * hello_i386.ko.bz2: New test file.
3714         * hello_x86_64.ko.bz2: Likewise.
3715         * hello_ppc64.ko.bz2: Likewise.
3716
3717 2011-05-18  Mark Wielaard  <mjw@redhat.com>
3718
3719         * run-strip-groups.sh: New test.
3720         * testfile58.bz2: New test file.
3721         * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
3722         (TESTS): Add run-strip-groups.sh.
3723         (EXTRA_DIST): Likewise.
3724
3725 2011-03-28  Marek Polacek  <mpolacek@redhat.com>
3726
3727         * alldts.c: New file.
3728         * run-alldts.sh: Use it.
3729         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
3730         (alldts_LDADD): New variable.
3731
3732 2011-03-02  Marek Polacek  <mpolacek@redhat.com>
3733
3734         * dwarf-getstring.c: New test.
3735         * run-dwarf-getstring.sh: And its wrapper.
3736         * Makefile.am (EXTRA_DIST): Add and update all.
3737
3738 2011-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3739
3740         * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
3741         * run-readelf-twofiles.sh: New file.
3742
3743 2011-02-25  Mark Wielaard  <mjw@redhat.com>
3744
3745         * Makefile.am (BUILD_RPATH): Be consistent in naming.
3746
3747 2011-02-02  Josh Stone  <jistone@redhat.com>
3748
3749         * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
3750         * testfile55-64.bz2, testfile55-64.debug.bz2,
3751         testfile55-64.prelink.bz2, testfile55-32.bz2,
3752         testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
3753         * Makefile.am (EXTRA_DIST): Add and update all.
3754
3755 2011-01-12  Roland McGrath  <roland@redhat.com>
3756
3757         * run-prelink-addr-test.sh: Make symlinks to find .debug files
3758         corresponding to .noshdrs files.
3759
3760 2011-01-11  Josh Stone  <jistone@redhat.com>
3761
3762         * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
3763         * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
3764         testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
3765         testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
3766         testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
3767         * Makefile.am (EXTRA_DIST): Add and update all.
3768
3769         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
3770         * testfile53.bz2, testfile53.debug.bz2,
3771         testfile53.prelink.bz2: Deleted, so...
3772         * testfile53-64.bz2, testfile53-64.debug.bz2,
3773         testfile53-64.prelink.bz2: Recreated with 64-bit names.
3774         * testfile53-32.bz2, testfile53-32.debug.bz2,
3775         testfile53-32.prelink.bz2: New in 32-bit.
3776         * Makefile.am (EXTRA_DIST): Add and update all.
3777
3778         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
3779         * testfile52.so.bz2, testfile52.so.debug.bz2,
3780         testfile52.prelink.so.bz2: Deleted, so...
3781         * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
3782         testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
3783         * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
3784         * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
3785         testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
3786         * Makefile.am (EXTRA_DIST): Add and update all.
3787
3788 2011-01-10  Josh Stone  <jistone@redhat.com>
3789
3790         * run-prelink-addr-test.sh: New test for prelinked addrs.
3791         * Makefile.am (TESTS, EXTRA_DIST): Add it.
3792         * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
3793         * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
3794         * testfile53.bz2, testfile53.debug.bz2: New data files.
3795         * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
3796         * Makefile.am (EXTRA_DIST): Add them.
3797
3798 2010-06-04  Roland McGrath  <roland@redhat.com>
3799
3800         * run-unstrip-test.sh: Also test modifying the file in place.
3801
3802 2010-04-22  Roland McGrath  <roland@redhat.com>
3803
3804         * addrcfi.c (handle_cfi): Fix function name in error message.
3805         Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
3806
3807 2010-04-14  Roland McGrath  <roland@redhat.com>
3808
3809         * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
3810
3811 2010-04-10  Ulrich Drepper  <drepper@redhat.com>
3812
3813         * msg_tst.c: Adjust expected error message.
3814
3815 2010-04-01  Petr Machata  <pmachata@redhat.com>
3816
3817         * test-flag-nobits.c: New test.
3818         * run-test-flag-nobits.sh: And its wrapper.
3819         * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
3820         (test_flag_nobits_LDADD): New variable.
3821
3822 2010-02-15  Roland McGrath  <roland@redhat.com>
3823
3824         * Makefile.am: Use config/eu.am for common stuff.
3825
3826         * asm-tst9.c (main): Rename local to avoid shadowing another local.
3827
3828 2009-07-22  Roland McGrath  <roland@redhat.com>
3829
3830         * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
3831
3832 2009-07-08  Roland McGrath  <roland@redhat.com>
3833
3834         * addrcfi.c: New file.
3835         * Makefile.am (noinst_PROGRAMS): Add it.
3836         (addrcfi_LDADD): New variable.
3837
3838 2009-05-07  Petr Machata  <pmachata@redhat.com>
3839
3840         * testfile51.bz2: New data file.
3841         * dwarf-getmacros.c: New test core.
3842         * run-dwarf-getmacros.sh: New test wrapper.
3843         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
3844         (dwarf_getmacros_LDADD): New variable.
3845
3846 2009-04-23  Ulrich Drepper  <drepper@redhat.com>
3847
3848         * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
3849         (rdwrmmap_LDADD): Add $(libmudflap).
3850
3851 2009-04-21  Roland McGrath  <roland@redhat.com>
3852
3853         * testfile50.bz2: New data file.
3854         * Makefile.am (EXTRA_DIST): Add it.
3855         * run-dwfl-addr-sect.sh: Add a case using it.
3856
3857 2008-12-31  Ulrich Drepper  <drepper@redhat.com>
3858
3859         * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
3860         mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
3861         pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
3862         pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
3863         pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
3864         pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
3865         roundss, roundps, roundpd, and roundsd.
3866         * testfile45.S.bz2: Likewise.
3867         * testfile44.expect.bz2: Adjust accordingly.
3868         * testfile45.expect.bz2: Likewise.
3869
3870         * testfile44.S.bz2: Add tests for blendvpd and blendvps.
3871         * testfile45.S.bz2: Likewise.
3872         * testfile44.expect.bz2: Adjust accordingly.
3873         * testfile45.expect.bz2: Likewise.
3874
3875 2008-12-30  Ulrich Drepper  <drepper@redhat.com>
3876
3877         * testfile44.S.bz2: Add tests for blendpd and blendps.
3878         * testfile45.S.bz2: Likewise.
3879         * testfile44.expect.bz2: Adjust accordingly.
3880         * testfile45.expect.bz2: Likewise.
3881
3882 2008-12-19  Ulrich Drepper  <drepper@redhat.com>
3883
3884         * testfile44.S.bz2: Add tests for AMD 3DNOW.
3885         * testfile45.S.bz2: Likewise.
3886         * testfile44.expect.bz2: Adjust accordingly.
3887         * testfile45.expect.bz2: Likewise.
3888
3889 2008-11-26  Roland McGrath  <roland@redhat.com>
3890
3891         * dwfl-bug-getmodules.c: New file.
3892         * Makefile.am (noinst_PROGRAMS): Add it.
3893         (dwfl_bug_getmodules_LDADD): New variable.
3894
3895 2008-09-10  Roland McGrath  <roland@redhat.com>
3896
3897         * test-subr.sh (LC_ALL): Export it set to "C".
3898         * run-dwfl-addr-sect.sh: Don't do it here.
3899         * run-strings-test.sh: Likewise.
3900
3901 2008-08-21  Denys Vlasenko  <dvlasenk@redhat.com>
3902
3903         * run-addrname-test.sh: Add a new case.
3904         * testfile49.bz2: New data file.
3905         * Makefile.am (EXTRA_DIST): Add it.
3906
3907 2008-04-10  Roland McGrath  <roland@redhat.com>
3908
3909         * testfile48.bz2, testfile48.bz2.debug: New data files.
3910         * Makefile.am (EXTRA_DIST): Add them.
3911         * run-strip-test8.sh: Use them.
3912
3913         * testfile16.bz2, testfile16.debug.bz2: Replace data files.
3914
3915         * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
3916         * run-strip-test8.sh: New file.
3917         * testfile47.bz2: New data file.
3918         * Makefile.am (TESTS, EXTRA_DIST): Add them.
3919
3920 2008-03-31  Roland McGrath  <roland@redhat.com>
3921
3922         * run-early-offscn.sh: New file.
3923         * early-offscn.c: New file.
3924         * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
3925         (early_offscn_LDADD): New variable.
3926
3927 2008-03-19  Roland McGrath  <roland@redhat.com>
3928
3929         * run-addrname-test.sh: Add a new case.
3930
3931 2008-02-22  Roland McGrath  <roland@redhat.com>
3932
3933         * run-elflint-test.sh: Typo fix.
3934
3935 2008-02-21  Roland McGrath  <roland@redhat.com>
3936
3937         * run-disasm-x86.sh: Use uname instead of arch, keep tools required
3938         for the build down to minimum.
3939         * run-disasm-x86-64.sh: Likewise.
3940
3941 2008-02-20  Roland McGrath  <roland@redhat.com>
3942
3943         * testfile46.bz2: New data file.
3944         * Makefile.am (EXTRA_DIST): Add it.
3945         * run-elflint-test.sh: Test on it.
3946
3947 2008-02-01  Ulrich Drepper  <drepper@redhat.com>
3948
3949         * Makefile.am: Hook up sha1-tst.c.
3950         * sha1-tst.c: New file.
3951
3952 2008-01-21  Roland McGrath  <roland@redhat.com>
3953
3954         * testfile45.S.bz2: Add tests for cltq, cqto.
3955         * testfile45.expect.bz2: Adjust.
3956
3957 2008-01-14  Ulrich Drepper  <drepper@redhat.com>
3958
3959         * testfile45.S.bz2: Add more tests.
3960         * testfile45.expect.bz2: Adjust.
3961
3962 2008-01-11  Ulrich Drepper  <drepper@redhat.com>
3963
3964         * testfile45.expect.bz2: Adjust for adding of address for %rip based
3965         address mode.
3966
3967 2008-01-10  Ulrich Drepper  <drepper@redhat.com>
3968
3969         * testfile45.S.bz2: Add more tests.
3970         * testfile45.expect.bz2: Adjust.
3971
3972 2008-01-08  Ulrich Drepper  <drepper@redhat.com>
3973
3974         * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
3975         (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
3976         run-disasm-x86-64.sh.
3977         * run-disasm-x86-64.sh: New file.
3978         * testfile45.S.bz2: New file.
3979         * testfile45.expect.bz2: New file.
3980         * testfile44.S.bz2: New tests.
3981         * testfile44.expect.bz2: Adjust.
3982
3983 2008-01-04  Ulrich Drepper  <drepper@redhat.com>
3984
3985         * testfile44.S.bz2: New tests.
3986         * testfile44.expect.bz2: Adjust.
3987
3988 2008-01-04  Roland McGrath  <roland@redhat.com>
3989
3990         * dwfl-bug-fd-leak.c (main): Add a cast.
3991
3992 2008-01-03  Ulrich Drepper  <drepper@redhat.com>
3993
3994         * testfile44.S.bz2: New tests.
3995         * testfile44.expect.bz2: Adjust.
3996
3997 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
3998
3999         * line2addr.c: Use %m modifier instead of %a to appease gcc.
4000
4001 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
4002
4003         * testfile44.S.bz2: New tests.
4004         * testfile44.expect.bz2: Adjust.
4005
4006 2007-12-31  Ulrich Drepper  <drepper@redhat.com>
4007
4008         * testfile44.S.bz2: New tests.
4009         * testfile44.expect.bz2: Adjust.
4010
4011 2007-12-30  Ulrich Drepper  <drepper@redhat.com>
4012
4013         * testfile44.S.bz2: New tests.
4014         * testfile44.expect.bz2: Adjust.
4015
4016 2007-12-29  Ulrich Drepper  <drepper@redhat.com>
4017
4018         * testfile44.s.bz2: New tests.
4019         * testfile44.expect.bz2: Adjust.
4020
4021 2007-12-28  Ulrich Drepper  <drepper@redhat.com>
4022
4023         * testfile44.S.bz2: New tests.
4024         * testfile44.expect.bz2: Adjust.
4025
4026 2007-12-27  Ulrich Drepper  <drepper@redhat.com>
4027
4028         * testfile44.S.bz2: New tests.
4029         * testfile44.expect.bz2: Adjust.
4030
4031 2007-12-26  Ulrich Drepper  <drepper@redhat.com>
4032
4033         * testfile44.S.bz2: New tests.
4034         * testfile44.expect.bz2: Adjust
4035
4036 2007-12-21  Ulrich Drepper  <drepper@redhat.com>
4037
4038         * testfile44.S.bz2: More tests.
4039         * testfile44.expect.bz2: Adjust appropriately.
4040
4041 2007-12-19  Ulrich Drepper  <drepper@redhat.com>
4042
4043         * Makefile.am (TESTS): Add run-disasm.sh.
4044         (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
4045         testfile44.expect.bz2.
4046         * run-disasm.sh: New file.
4047         * testfile44.S.bz2: New file.
4048         * testfile44.expect.bz2: New file.
4049
4050 2007-12-15  Roland McGrath  <roland@redhat.com>
4051
4052         * run-allregs.sh: Change expected output for powerpc spefscr.
4053
4054 2007-10-20  Roland McGrath  <roland@redhat.com>
4055
4056         * run-dwfl-addr-sect.sh: Change expected output, no errors.
4057
4058 2007-10-19  Roland McGrath  <roland@redhat.com>
4059
4060         * dwfl-addr-sect.c (handle_address): Return int.
4061         Don't exit on error, just return nonzero.
4062         (main): Collect results.
4063         * run-dwfl-addr-sect.sh: New file.
4064         * testfile43.bz2: New data file.
4065         * Makefile.am (EXTRA_DIST, TESTS): Add them.
4066
4067 2007-10-18  Roland McGrath  <roland@redhat.com>
4068
4069         * run-allregs.sh: Update expected ppc output for vrsave/vscr.
4070
4071 2007-10-16  Roland McGrath  <roland@redhat.com>
4072
4073         * test-subr.sh (remove_files): Don't pass -Bb to diff.
4074
4075 2007-10-09  Roland McGrath  <roland@redhat.com>
4076
4077         * dwflmodtest.c (print_module): Don't use %p in output.
4078         * run-dwfl-bug-offline-rel.sh: Updated expected output.
4079
4080 2007-10-08  Roland McGrath  <roland@redhat.com>
4081
4082         * testfile42.bz2: New data file.
4083         * Makefile.am (EXTRA_DIST): Add it.
4084         * run-elflint-test.sh: New test on that file.
4085
4086 2007-10-04  Roland McGrath  <roland@redhat.com>
4087
4088         * run-readelf-test4.sh: New file.
4089         * Makefile.am (TESTS, EXTRA_DIST): Add it.
4090
4091 2007-10-03  Roland McGrath  <roland@redhat.com>
4092
4093         * run-readelf-test3.sh: New file.
4094         * Makefile.am (TESTS, EXTRA_DIST): Add it.
4095
4096 2007-10-01  Roland McGrath  <roland@redhat.com>
4097
4098         * run-readelf-test2.sh: New file.
4099         * Makefile.am (TESTS, EXTRA_DIST): Add it.
4100
4101 2007-09-11  Roland McGrath  <roland@redhat.com>
4102
4103         * run-addrname-test.sh: Add a new case.
4104         * testfile41.bz2: New data file.
4105         * Makefile.am (EXTRA_DIST): Add it.
4106
4107 2007-08-23  Roland McGrath  <roland@redhat.com>
4108
4109         * run-allregs.sh: Update expected x86-64 output for %rflags.
4110
4111 2007-08-12  Roland McGrath  <roland@redhat.com>
4112
4113         * run-strip-test7.sh: New file.
4114         * testfile39.bz2: New data file.
4115         * testfile40.bz2: New data file.
4116         * testfile40.debug.bz2: New data file.
4117         * Makefile.am (TESTS, EXTRA_DIST): Add them.
4118
4119 2007-08-09  Roland McGrath  <roland@redhat.com>
4120
4121         * dwfl-bug-report.c: Fix header inclusion.
4122
4123 2007-08-08  Roland McGrath  <roland@redhat.com>
4124
4125         * run-addrname-test.sh: Add a new case using addr2line -S.
4126         * testfile38.bz2: New data file.
4127         * Makefile.am (EXTRA_DIST): Add it.
4128
4129 2007-07-16  Roland McGrath  <roland@redhat.com>
4130
4131         * dwfl-bug-report.c: New file.
4132         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
4133         (dwfl_bug_report_LDADD): New variable.
4134
4135 2007-06-06  Roland McGrath  <roland@redhat.com>
4136
4137         * run-unstrip-test.sh: Declare testfile.unstrip for removal.
4138
4139 2007-06-05  Ulrich Drepper  <drepper@redhat.com>
4140
4141         * Makefile.am (EXTRA_DIST): Add missing line continuation and
4142         testfile37.bz and testfile37.debug.bz2.
4143
4144 2007-05-23  Roland McGrath  <roland@redhat.com>
4145
4146         * run-allregs.sh: Update expected Alpha results.
4147
4148 2007-05-18  Roland McGrath  <roland@redhat.com>
4149
4150         * run-strip-test4.sh (stripped, debugfile): Use new reference files.
4151         * testfile37.bz2: New data file.
4152         * testfile37.debug.bz2: New data file.
4153         * run-unstrip-test2.sh: New file.
4154         * Makefile.am (TESTS, EXTRA_DIST): Add them.
4155
4156 2007-05-10  Roland McGrath  <roland@redhat.com>
4157
4158         * run-dwfl-bug-offline-rel.sh: New file.
4159         * testfile36.bz2: New data file.
4160         * testfile36.debug.bz2: New data file.
4161         * Makefile.am (TESTS, EXTRA_DIST): Add them.
4162
4163 2007-04-28  Roland McGrath  <roland@redhat.com>
4164
4165         * run-strip-test6.sh (stripped, debugfile): Use new reference files.
4166         * testfile35.bz2: New data file.
4167         * testfile35.debug.bz2: New data file.
4168         * run-unstrip-test.sh: New file.
4169         * Makefile.am (TESTS, EXTRA_DIST): Add them.
4170
4171         * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
4172
4173 2007-04-26  Roland McGrath  <roland@redhat.com>
4174
4175         * run-elflint-self.sh: Run all tests even if one fails.
4176
4177         * run-allregs.sh: Add expected output for alpha.
4178
4179 2007-04-24  Roland McGrath  <roland@redhat.com>
4180
4181         * run-strip-test.sh: When we saved the debug info, test unstrip too.
4182
4183 2007-04-22  Roland McGrath  <roland@redhat.com>
4184
4185         * run-allregs.sh: Update expected register info.
4186
4187 2007-04-16  Roland McGrath  <roland@redhat.com>
4188
4189         * dwfl-addr-sect.c: New file.
4190         * Makefile.am (noinst_PROGRAMS): Add it.
4191         (dwfl_addr_sect_LDADD): New variable.
4192
4193 2007-04-05  Roland McGrath  <roland@redhat.com>
4194
4195         * get-files.c: Test dwarf_getsrcdirs.
4196         * run-get-files.sh: Update expected output.
4197
4198 2007-04-01  Roland McGrath  <roland@redhat.com>
4199
4200         * run-allregs.sh: Updated expected output for x86_64.
4201
4202 2007-03-04  Roland McGrath  <roland@redhat.com>
4203
4204         * dwfl-bug-fd-leak.c: New file.
4205         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
4206         (dwfl_bug_fd_leak_LDADD): New variable.
4207
4208         * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
4209         show what files have been located.
4210
4211 2007-02-02  Roland McGrath  <roland@redhat.com>
4212
4213         * run-addrname-test.sh: New file.
4214         * Makefile.am (TESTS, EXTRA_DIST): Add it.
4215         * testfile34.bz2: New data file.
4216         * Makefile.am (EXTRA_DIST): Add it.
4217
4218 2007-01-20  Roland McGrath  <roland@redhat.com>
4219
4220         * testfile33.bz2: New data file.
4221         * Makefile.am (EXTRA_DIST): Add it.
4222         * run-elflint-test.sh: Test on it too.
4223
4224 2007-01-18  Roland McGrath  <roland@redhat.com>
4225
4226         * Makefile.am (CFLAGS): Don't molest it.
4227
4228 2007-01-11  Roland McGrath  <roland@redhat.com>
4229
4230         * testfile32.bz2: New data file.
4231         * Makefile.am (EXTRA_DIST): Add it.
4232         * run-elflint-test.sh: Test on it too.
4233
4234 2007-02-04  Ulrich Drepper  <drepper@redhat.com>
4235
4236         * arls.c: New file.
4237         * Makefile (noinst_PROGRAMS): Add arls.
4238
4239         * run-ranlib-test2.sh: Fix type in comment.
4240
4241 2007-01-10  Ulrich Drepper  <drepper@redhat.com>
4242
4243         * run-elflint-self.sh (runtest): Show which file has the problem.
4244
4245 2007-01-10  Roland McGrath  <roland@redhat.com>
4246
4247         * dwfl-bug-addr-overflow.c: New file.
4248         * Makefile.am (TESTS): Add it.
4249         (dwfl_bug_addr_overflow_LDADD): New variable.
4250
4251 2006-12-17  Roland McGrath  <roland@redhat.com>
4252
4253         * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
4254
4255 2006-09-05  Roland McGrath  <roland@redhat.com>
4256
4257         * run-strings-test.sh: Export LC_ALL=C for the test.
4258
4259 2006-08-29  Roland McGrath  <roland@redhat.com>
4260
4261         * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
4262         * run-arsymtest.sh: Likewise.
4263
4264         * run-native-test.sh (native.c compilation): Add some braces.
4265
4266 2006-08-22  Roland McGrath  <roland@redhat.com>
4267
4268         * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
4269         (struct reginfo): New members bits, type.
4270         (one_register, match_register): Update to take new args,
4271         record and display new info.
4272         (main): Display new info.
4273         * run-allregs.sh: Update expected results.
4274
4275 2006-08-03  Roland McGrath  <roland@redhat.com>
4276
4277         * run-allregs.sh: Add sparc cases.
4278         * testfile30.bz2: New data file.
4279         * testfile31.bz2: New data file.
4280         * Makefile.am (EXTRA_DIST): Add them.
4281
4282 2006-07-21  Roland McGrath  <roland@redhat.com>
4283
4284         * allregs.c (struct reginfo): Increase size of name.
4285         (one_register): Assert that it's big enough.
4286
4287 2006-04-04  Roland McGrath  <roland@redhat.com>
4288
4289         * run-bug1-test.sh: Test a second case, to cover both byte orders.
4290         * testfile29.bz2: New file.
4291         * testfile29.rdwr.bz2: New file.
4292         * Makefile.am (EXTRA_DIST): Add them.
4293
4294 2006-04-04  Ulrich Drepper  <drepper@redhat.com>
4295
4296         * Makefile.am: Add rules to run run-bug1-test.sh.
4297         * rdwrmmap.c: New file.
4298         * run-bug1-test.sh: New file.
4299         * testfile28.bz2: New file.
4300         * testfile28.rdwr.bz2: New file.
4301
4302 2006-03-09  Roland McGrath  <roland@redhat.com>
4303
4304         * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
4305
4306 2006-03-01  Roland McGrath  <roland@redhat.com>
4307
4308         * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
4309         changes matching 3.0 spec.
4310
4311 2006-01-13  Roland McGrath  <roland@redhat.com>
4312
4313         * run-native-test.sh: Do kill -9 and reap explicitly at end, since
4314         bash 3.1 whines when it's done in the trap 0 handler.
4315
4316 2006-01-11  Roland McGrath  <roland@redhat.com>
4317
4318         * testfile26.bz2: New data file.
4319         * testfile27.bz2: New data file.
4320         * Makefile.am (EXTRA_DIST): Add them.
4321         * run-allregs.sh: Test s390 data.
4322
4323 2005-12-14  Roland McGrath  <roland@redhat.com>
4324
4325         * run-native-test.sh: Redirect output from native test process.
4326
4327 2005-12-13  Roland McGrath  <roland@redhat.com>
4328
4329         * allregs.c (main): Fail if we find no registers.
4330
4331         * run-native-test.sh: New file.
4332         * Makefile.am (TESTS, EXTRA_DIST): Add it.
4333
4334 2005-12-10  Ulrich Drepper  <drepper@redhat.com
4335
4336         * run-readelf-test1.sh: New file.
4337         * Makefile.am (TESTS): Add run-readelf-test1.sh.
4338         (EXTRA_DIST): Likewise.
4339
4340 2005-12-07  Roland McGrath  <roland@redhat.com>
4341
4342         * ecp.c (main): Use elf_end to clean up.
4343
4344 2005-11-25  Roland McGrath  <roland@redhat.com>
4345
4346         * coverage.sh: Given -v argument, print names of unused files.
4347
4348         * addrscopes.c (main): Use dwfl_end before return.
4349         * allregs.c (main): Likewise.
4350         * find-prologues.c (main): Likewise.
4351         * funcretval.c (main): Likewise.
4352         * funcscopes.c (main): Likewise.
4353         * line2addr.c (main): Likewise.
4354
4355         * run-allregs.sh: New file.
4356         * Makefile.am (TESTS, EXTRA_DIST): Add it.
4357
4358         * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
4359         * Makefile.am (allregs_LDADD): Updated.
4360
4361         * allregs.c: New file.
4362         * Makefile.am (noinst_PROGRAMS): Add it.
4363         (allregs_LDADD): New variable.
4364
4365 2005-11-18  Roland McGrath  <roland@redhat.com>
4366
4367         * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
4368         * test-wrapper.sh: Likewise.
4369
4370 2005-11-17  Roland McGrath  <roland@redhat.com>
4371
4372         * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
4373         environment for test-wrapper.sh.
4374         * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
4375         * test-subr.sh (installed_testrun): Likewise.
4376         Use explicit path in ${bindir}.
4377
4378         * Makefile.am (installcheck-local): Fix typo in last change.
4379
4380 2005-11-16  Roland McGrath  <roland@redhat.com>
4381
4382         * configure.ac: New file, for standalone build/dist of test suite.
4383         * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
4384         (asm_TESTS): New variable, broken out of ...
4385         (TESTS): ... here.  Also remove msg_tst.
4386         [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
4387         (installed_TESTS_ENVIRONMENT): New variable.
4388         [STANDALONE] (TESTS_ENVIRONMENT): Use that.
4389         [!STANDALONE] (installcheck-local): Likewise.
4390         [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
4391         * addrscopes.c: Include <config.h>.
4392         Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
4393         * allfcts.c: Likewise.
4394         * asm-tst1.c: Likewise.
4395         * asm-tst2.c: Likewise.
4396         * asm-tst3.c: Likewise.
4397         * asm-tst4.c: Likewise.
4398         * asm-tst5.c: Likewise.
4399         * asm-tst6.c: Likewise.
4400         * asm-tst7.c: Likewise.
4401         * asm-tst8.c: Likewise.
4402         * asm-tst9.c: Likewise.
4403         * dwflmodtest.c: Likewise.
4404         * find-prologues.c: Likewise.
4405         * funcscopes.c: Likewise.
4406         * get-aranges.c: Likewise.
4407         * get-files.c: Likewise.
4408         * get-lines.c: Likewise.
4409         * get-pubnames.c: Likewise.
4410         * line2addr.c: Likewise.
4411         * newscn.c: Likewise.
4412         * show-abbrev.c: Likewise.
4413         * show-die-info.c: Likewise.
4414         * update3.c: Likewise.
4415         * update4.c: Likewise.
4416         * funcretval.c: Likewise.
4417
4418         * dwflmodtest.c (print_instance): Don't use INTUSE.
4419         (options): Don't use N_ macro.
4420
4421 2005-11-15  Roland McGrath  <roland@redhat.com>
4422
4423         * coverage.sh: Look in backends.
4424         * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
4425         (TESTS_ENVIRONMENT): Likewise.
4426
4427         * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
4428         pass FUNCDIE direclty to dwfl_module_return_value_location.
4429
4430         * Makefile.am (BUILD_RPATH): New variable.
4431         [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
4432         (tests_rpath): New variable.
4433         (installcheck-local): Pass it to test-wrapper.sh.
4434         * test-wrapper.sh: In "installed" format, take yes/no value
4435         for elfutils_tests_rpath, which export.  When running a test
4436         binary for installcheck, exit 77.
4437         * test-subr.sh (installed_testrun): When running a test binary
4438         for installcheck, exit 77 if $elfutils_tests_rpath = yes.
4439
4440 2005-11-14  Roland McGrath  <roland@redhat.com>
4441
4442         * test-subr.sh: New file.
4443         * test-wrapper.sh: New file.
4444         * Makefile.am (EXTRA_DIST): Add them.
4445         (AM_LDFLAGS): Variable removed.
4446         (TESTS_ENVIRONMENT): New variable.
4447         (installcheck-local): New target.
4448         * run-addrscopes.sh: Use test-subr.sh.
4449         * run-allfcts.sh: Likewise.
4450         * run-ecp-test.sh: Likewise.
4451         * run-ecp-test2.sh: Likewise.
4452         * run-elflint-self.sh: Likewise.
4453         * run-elflint-test.sh: Likewise.
4454         * run-find-prologues.sh: Likewise.
4455         * run-funcscopes.sh: Likewise.
4456         * run-get-aranges.sh: Likewise.
4457         * run-get-files.sh: Likewise.
4458         * run-get-lines.sh: Likewise.
4459         * run-get-pubnames.sh: Likewise.
4460         * run-line2addr.sh: Likewise.
4461         * run-ranlib-test.sh: Likewise.
4462         * run-ranlib-test2.sh: Likewise.
4463         * run-show-abbrev.sh: Likewise.
4464         * run-show-ciefde.sh: Likewise.
4465         * run-show-die-info.sh: Likewise.
4466         * run-strings-test.sh: Likewise.
4467         * run-strip-test.sh: Likewise.
4468
4469 2005-11-13  Roland McGrath  <roland@redhat.com>
4470
4471         * funcretval.c: New file.
4472         * Makefile.am (noinst_PROGRAMS): Add it.
4473         (funcretval_LDADD): New variable.
4474
4475 2005-11-09  Ulrich Drepper  <drepper@redhat.com>
4476
4477         * line2addr.c (handle_module): Add missing parameter to printf.
4478
4479 2005-10-27  Roland McGrath  <roland@redhat.com>
4480
4481         * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
4482         * funcscopes.c (handle_function): Likewise.
4483         * dwflmodtest.c (print_inline, print_func): Likewise.
4484         * find-prologues.c (handle_function): Likewise.
4485
4486 2005-10-27  Roland McGrath  <roland@redhat.com>
4487
4488         * run-find-prologues.sh: New file.
4489         * Makefile.am (TESTS, EXTRA_DIST): Add it.
4490
4491         * find-prologues.c (handle_function): Skip inlines.
4492
4493 2005-10-25  Roland McGrath  <roland@redhat.com>
4494
4495         * find-prologues.c: New file.
4496         * Makefile.am (noinst_PROGRAMS): Add it.
4497         (find_prologues_LDADD): New variable.
4498
4499 2005-09-02  Ulrich Drepper  <drepper@redhat.com>
4500
4501         * run-strings-test.sh: Remove strings.out in the end.
4502
4503 2005-08-31  Ulrich Drepper  <drepper@redhat.com>
4504
4505         * run-addrscopes.sh: Use correct exit code if test cannot be performed.
4506         * run-allfcts.sh: Likewise.
4507         * run-ecp-test.sh: Likewise.
4508         * run-ecp-test2.sh: Likewise.
4509         * run-elflint-test.sh: Likewise.
4510         * run-funcscopes.sh: Likewise.
4511         * run-get-aranges.sh: Likewise.
4512         * run-get-files.sh: Likewise.
4513         * run-get-lines.sh: Likewise.
4514         * run-get-pubnames.sh: Likewise.
4515         * run-line2addr.sh: Likewise.
4516         * run-ranlib-test2.sh: Likewise.
4517         * run-show-abbrev.sh: Likewise.
4518         * run-show-ciefde.sh: Likewise.
4519         * run-show-die-info.sh: Likewise.
4520         * run-strings-test.sh: Likewise.
4521         * run-strip-test.sh: Likewise.
4522
4523 2005-08-30  Ulrich Drepper  <drepper@redhat.com>
4524
4525         * coverage.sh: Handle case where there is no .gcno file at all.
4526
4527 2005-08-29  Ulrich Drepper  <drepper@redhat.com>
4528
4529         * Makefile.am (EXTRA_DIST): Add coverage.
4530         [GCOV]: Generate coverage summary after the tests ran
4531         * coverage.sh: New file.
4532
4533 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
4534
4535         * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
4536         (CLEANFILES): Add *.gcno *.gcda *.gconv.
4537
4538 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
4539
4540         * run-strings-test.sh: New file.
4541         * Makefile.am (TESTS, EXTRA_DIST): Add it.
4542
4543 2005-08-27  Roland McGrath  <roland@redhat.com>
4544
4545         * addrscopes.c (handle_address): Apply bias to PC addresses.
4546
4547         * run-funcscopes.sh: New file.
4548         * testfile25.bz2: New data file.
4549         * Makefile.am (TESTS, EXTRA_DIST): Add them.
4550
4551 2005-08-26  Roland McGrath  <roland@redhat.com>
4552
4553         * addrscopes.c (dwarf_diename_integrate): Removed.
4554         (print_vars, handle_address): Use plain dwarf_diename.
4555
4556 2005-08-25  Roland McGrath  <roland@redhat.com>
4557
4558         * funcscopes.c: New file.
4559         * Makefile.am (noinst_PROGRAMS): Add it.
4560         (funcscopes_LDADD): New variable.
4561
4562         * run-addrscopes.sh: Add another case.
4563         * testfile24.bz2: New data file.
4564         * Makefile.am (EXTRA_DIST): Add it.
4565
4566         * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
4567         pass it to dwarf_getscopes.
4568         (main): Pass it, true when '=' follows an address.
4569
4570 2005-08-24  Roland McGrath  <roland@redhat.com>
4571
4572         * line2addr.c (print_address): Omit () for DSOs.
4573
4574 2005-08-24  Ulrich Drepper  <drepper@redhat.com>
4575
4576         * run-line2addr.sh: Remove testfile23 in the end.
4577
4578         * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
4579         [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
4580
4581 2005-08-22  Roland McGrath  <roland@redhat.com>
4582
4583         * run-line2addr.sh: Add a case.
4584         * testfile23.bz2: New data file.
4585         * Makefile.am (EXTRA_DIST): Add it.
4586
4587 2005-08-18  Roland McGrath  <roland@redhat.com>
4588
4589         * run-addrscopes.sh: New file.
4590         * testfile22.bz2: New data file.
4591         * Makefile.am (TESTS, EXTRA_DIST): Add them.
4592
4593         * addrscopes.c: New file.
4594         * Makefile.am (noinst_PROGRAMS): Add it.
4595         (addrscopes_LDADD): New variable.
4596
4597 2005-08-15  Ulrich Drepper  <drepper@redhat.com>
4598
4599         * run-elflint-self.sh: Don't run test if the file doesn't exist.
4600
4601 2005-08-15  Roland McGrath  <roland@redhat.com>
4602
4603         * dwflmodtest.c (print_instance, print_inline): New functions.
4604         (print_func): Call print_inline.
4605         (options, parse_opt): Grok -i/--inlines.
4606
4607 2005-08-07  Roland McGrath  <roland@redhat.com>
4608
4609         * dwflmodtest.c: Print function details only if -f flag is given.
4610
4611 2005-08-06  Ulrich Drepper  <drepper@redhat.com>
4612
4613         * run-elflint-self.sh: New file.
4614         * Makefile.am (TESTS): Add run-elflint-self.sh.
4615         (EXTRA_DIST): Likewise.
4616
4617         * Makefile.am: Link with statis libs if BUILD_STATIC.
4618         (dwflmodtest_LDADD): Also link with -ldl.
4619
4620 2005-08-02  Ulrich Drepper  <drepper@redhat.com>
4621
4622         * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
4623         * asm-tst1.c: Adjust for new asm_begin interface.  Open backend
4624         library first.
4625         * asm-tst2.c: Likewise.
4626         * asm-tst3.c: Likewise.
4627         * asm-tst4.c: Likewise.
4628         * asm-tst5.c: Likewise.
4629         * asm-tst6.c: Likewise.
4630         * asm-tst7.c: Likewise.
4631         * asm-tst8.c: Likewise.
4632         * asm-tst9.c: Likewise.
4633
4634         * msg_tst.c: Add new error message.
4635
4636 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
4637
4638         * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
4639
4640 2005-06-01  Roland McGrath  <roland@redhat.com>
4641
4642         * line2addr.c: Rewritten using libdwfl.
4643         * run-line2addr.sh: Update test for changed arguments.
4644         * Makefile.am (INCLUDES): Add libdwfl source directory to path.
4645         (libdwfl): New variable.
4646         (line2addr_LDADD): Use it.
4647
4648 2005-07-28  Roland McGrath  <roland@redhat.com>
4649
4650         * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
4651         * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
4652         (dwflmodtest_LDADD): New variable.
4653         (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
4654
4655 2005-07-21  Ulrich Drepper  <drepper@redhat.com>
4656
4657         * testfile18.bz2: New file.
4658         * run-elflint-test.sh: New file.
4659         * Makefile.am (TESTS): Add run-elflint-test.sh.
4660         (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
4661
4662 2005-05-24  Ulrich Drepper  <drepper@redhat.com>
4663
4664         * get-files.c (main): Use correct format specifier.
4665
4666 2005-05-21  Ulrich Drepper  <drepper@redhat.com>
4667
4668         * Makefile.am: Add -Wextra to CFLAGS.
4669         * get-files.c: Remove warning this produced.
4670         * get-pubnames.c: Likewise.
4671         * newfile.c: Likewise.
4672         * newscn.c: Likewise.
4673         * scnnames.c: Likewise.
4674         * showptable.c: Likewise.
4675         * test-nlist.c: Likewise.
4676         * update1.c: Likewise.
4677         * update2.c: Likewise.
4678         * update3.c: Likewise.
4679         * update4.c: Likewise.
4680
4681 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
4682
4683         * run-line2addr.sh: Remove testfile14 at the end.
4684
4685         * run-strip-test.sh: Remove debuginfo test input file as well.
4686
4687         * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
4688         .bz, not .bz2.
4689
4690 2005-05-03  Roland McGrath  <roland@redhat.com>
4691
4692         * run-strip-test.sh: Use variables for test file names.
4693         Optionally produce separate debug file and check it.
4694         * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
4695         * run-strip-test3.sh: Likewise.
4696         * run-strip-test4.sh: New file.
4697         * run-strip-test5.sh: New file.
4698         * run-strip-test6.sh: New file.
4699         * testfile15.bz: New file.
4700         * testfile15.debug.bz: New file.
4701         * testfile16.bz: New file.
4702         * testfile16.debug.bz: New file.
4703         * testfile17.bz: New file.
4704         * testfile17.debug.bz: New file.
4705         * Makefile.am (TESTS, EXTRA_DIST): Add them.
4706
4707 2005-04-25  Ulrich Drepper  <drepper@redhat.com>
4708
4709         * run-line2addr.sh: Also use testfile14.  Adjust for correct
4710         return of multiple matches.
4711         * testfile14.bz2: New file.
4712         * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
4713
4714         * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
4715
4716 2005-04-04  Roland McGrath  <roland@redhat.com>
4717
4718         * line2addr.c (main): Initialize LINES and NLINES before calling
4719         dwarf_getsrc_file, and free LINES afterwards.
4720
4721         * allfcts.c (main): Use size_t for CUHL.
4722
4723 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
4724
4725         * line2addr.c: New file.
4726         * run-line2addr.sh: New file.
4727         * Makefile.am: Add rules to build, run, and distribute new code.
4728
4729 2005-04-02  Ulrich Drepper  <drepper@redhat.com>
4730
4731         * allfcts.c: New file.
4732         * run-allfcts.sh: New file.
4733         * Makefile.am: Add rules to build, run, and distribute new code.
4734
4735 2005-02-05  Ulrich Drepper  <drepper@redhat.com>
4736
4737         * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.  Link all test
4738         programs with -lmudflap.
4739
4740 2004-09-25  Ulrich Drepper  <drepper@redhat.com>
4741
4742         * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
4743         * asm-tst5.c (main): Likewise.
4744         * asm-tst6.c (main): Likewise.
4745
4746 2004-01-17  Ulrich Drepper  <drepper@redhat.com>
4747
4748         * Makefile.am: Support building with mudflap.
4749
4750 2004-01-12  Ulrich Drepper  <drepper@redhat.com>
4751
4752         * get-aranges.c: Rewrite to use libdw.
4753         * Makefile.am: Reenable get-aranges test.
4754
4755 2004-01-11  Ulrich Drepper  <drepper@redhat.com>
4756
4757         * get-lines.c: New file.
4758         * get-files.c: Adjust for libdw.
4759         * run-get-files.sh: Adjust expected result.
4760         * run-get-lines.sh: Likewise.
4761         * Makefile.am: Run get-lines test.  Don't run get-aranges and
4762         get-ciefde test for now.
4763
4764         * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
4765         change.  Print attribute offset information.
4766         * run-show-abbrev.sh: Adjust expected output.
4767
4768 2004-01-09  Ulrich Drepper  <drepper@redhat.com>
4769
4770         * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
4771         * show-die-info.c: Likewise.
4772         * run-show-die-info.sh: Adjust expected output.
4773
4774 2003-08-13  Ulrich Drepper  <drepper@redhat.com>
4775
4776         * Makefile.in: Depend on libebl.a, not libebl.so.
4777
4778 2003-08-11  Ulrich Drepper  <drepper@redhat.com>
4779
4780         * Moved to CVS archive.