1 2023-02-10 Mark Wielaard <mark@klomp.org>
3 * varlocs.c (print_expr): Handle DW_OP_GNU_uninit.
5 2023-02-07 Mark Wielaard <mark@klomp.org>
7 * tests/funcretval.c (handle_function): Check for
8 DW_TAG_unspecified_type.
10 2023-02-03 Mark Wielaard <mark@klomp.org>
12 * run-addr2line-C-test.sh: Check ELFUTILS_DISABLE_DEMANGLE.
14 2023-01-22 Mark Wielaard <mark@klomp.org>
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.
20 2023-01-19 Mark Wielaard <mark@klomp.org>
22 * run-addr2line-C-test.sh: New test.
23 * Makefile.am (TESTS): Add run-addr2line-C-test.sh.
24 (EXTRA_DIST): Likewise.
26 2023-01-19 Mark Wielaard <mark@klomp.org>
28 * run-debuginfod-query-retry.sh: Use libdebuginfod.so.1 instead
29 of /bin/sh as test file.
31 2022-12-21 Shahab Vahedi <shahab@synopsys.email>
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.
37 2022-11-01 Aaron Merey <amerey@redhat.com>
39 * run-debuginfod-section.sh (RPM_BUILDID): Use buildid from non-zstd
42 2022-10-31 Aaron Merey <amerey@redhat.com>
44 * Makefile.am (TESTS): Add run-debuginfod-section.sh.
45 * run-debuginfod-section.sh: New test.
47 2022-09-20 Yonggang Luo <luoyonggang@gmail.com>
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.
56 2022-10-28 Arsen Arsenović <arsen@aarsen.me>
58 * run-readelf-s.sh: Add tests for the --syms alias.
60 2022-10-27 Mark Wielaard <mark@klomp.org>
62 * backtrace-subr.sh: Use grep -E instead of egrep, use grep -F
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.
71 2022-10-16 Mark Wielaard <mark@klomp.org>
73 * dwfl-report-offline-memory.c: Include config.h first.
75 2022-10-16 Mark Wielaard <mark@klomp.org>
77 * dwfl-report-offline-memory.c (main): Check lseek, read and malloc
78 results with correct types.
80 2022-09-13 Aleksei Vetrov <vvvvvv@google.com>
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.
89 2022-09-13 Khem Raj <raj.khem@gmail.com>
91 * Makefile.am (*_LDADD): Add libeu if needed for error.
93 2022-08-26 Mark Wielaard <mark@klomp.org>
95 * run-ar-N.sh: New test.
96 * Makefile.am (TESTS): Add run-ar-N.sh.
97 (EXTRA_DIST): Likewise.
99 2022-09-02 Frank Ch. Eigler <fche@redhat.com>
101 * run-debuginfod-response-headers.sh: Use case-insensitive
102 header name matches. Use socat & sleep for greater
104 * run-debuginfod-sizetime.sh: Update for debuginfod-find -v -v.
106 2022-07-15 Noah Sanci <nsanci@redhat.com>
108 * run-debuginfod-response-headers.sh: Added test
109 to ensure that federated servers pass headers down to
112 2022-08-04 Sergei Trofimovich <slyich@gmail.com>
114 * low_high_pc.c (handle_die): Drop redundant 'lx' suffix.
116 2022-08-01 Mark Wielaard <mark@klomp.org>
118 * run-debuginfod-percent-escape.sh: Add initial scan wait_ready.
120 2022-04-28 Di Chen <dichen@redhat.com>
122 * run-readelf-Dd.sh: New test.
123 * Makefile.am (TESTS): Add run-readelf-Dd.sh.
124 (EXTRA_DIST): Likewise.
126 2022-06-01 Mark Wielaard <mark@klomp.org>
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
133 2022-05-13 Noah Sanci <nsanci@redhat.com>
135 * run-debuginfod-fd-prefetch-caches.sh: Rewritten.
137 2022-06-02 Mark Wielaard <mark@klomp.org>
139 * Makefile.am (TESTS): Add run-debuginfod-federation-metrics.sh
140 only when OLD_LIBMICROHTTPD conditional is not set.
142 2022-04-24 Mark Wielaard <mark@klomp.org>
144 * run-debuginfod-webapi-concurrency.sh: Fix PR number in xfail.
146 2022-04-23 Mark Wielaard <mark@klomp.org>
148 * run-debuginfod-webapi-concurrency.sh: Lower parallel lookups.
150 2022-03-01 Di Chen <dichen@redhat.com>
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
157 2022-04-14 Mark Wielaard <mark@klomp.org>
159 * run-debuginfod-federation-sqlite.sh: Don't try to corrupt
162 2022-04-13 Aaron Merey <amerey@redhat.com>
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
169 * run-debuginfod-federation-metrics.sh: Likewise.
170 * run-debuginfod-federation-sqlite.sh: Likewise.
171 * run-debuginfod-tmp-home.sh: Likewise.
173 2022-03-20 Mark Wielaard <mark@klomp.org>
175 * run-large-elf-file.sh: Check elf class of addsections binary.
177 2021-12-17 Mark Wielaard <mark@klomp.org>
179 * run-debuginfod-query-retry.sh: Use /bin/sh instead of /bin/ls.
181 2021-12-09 Frank Ch. Eigler <fche@redhat.com>
183 * debuginfod-subr.sh (xfail): New proc.
184 * run-debuginfod-webapi-concurrency.sh: New test for -C.
185 * Makefile.am: List it.
187 2021-12-04 Mark Wielaard <mark@klomp.org>
189 * Makefile.am (EXTRA_NLIST_CFLAGS): New variable depends on
190 USE_ADDRESS_SANITIZER.
191 (test_nlist_CFLAGS): Add EXTRA_NLIST_CFLAGS.
193 2021-12-04 Mark Wielaard <mark@klomp.org>
195 * varlocs.c (dwarf_encoding_string): Return "<unknown encoding>" instead
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.
203 2021-11-18 Mark Wielaard <mark@klomp.org>
205 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add -rdynamic.
207 2021-11-11 Mark Wielaard <mark@klomp.org>
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.
223 2021-11-05 Frank Ch. Eigler <fche@redhat.com>
226 * run-debuginfod-extraction-passive.sh: New test.
227 * Makefile.am (TESTS, EXTRA_DIST): Add it.
229 2021-10-20 John M Mellor-Crummey <johnmc@rice.edu>
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.
242 2021-11-08 Mark Wielaard <mark@klomp.org>
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.
250 2021-11-04 Frank Ch. Eigler <fche@redhat.com>
253 * run-debuginfod-archive-groom.sh: Look for new groom metric.
255 2021-10-23 Frank Ch. Eigler <fche@redhat.com>
258 * run-debuginfod-000-permission.sh, -writable.sh:
259 Correct negative-cache file permission checking.
261 2021-10-06 Mark Wielaard <mark@klomp.org>
263 * show-die-info.c (handle): Handle dwarf_attr_string returning NULL.
265 2021-10-06 Di Chen <dichen@redhat.com>
268 * run-debuginfod-000-permission.sh: Expect artifacttype metrics.
270 2021-09-17 Noah Sanci <nsanci@redhat.com>
272 * run-debuginfod-response-header.sh: removed checking for Connection
273 and Cache-Control in response headers.
275 2021-09-08 Mark Wielaard <mark@klomp.org>
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.
289 2021-09-09 Mark Wielaard <mark@klomp.org>
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.
296 2021-09-09 Mark Wielaard <mark@klomp.org>
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
304 * run-debuginfod-federation-metrics.sh: Likewise.
305 * run-debuginfod-federation-sqlite.sh: Likewise.
307 2021-09-13 Noah Sanci <nsanci@redhat.com>
309 * Makefile.am: added run-debuginfod-percent-escape.sh to TESTS and
312 2021-09-06 Dmitry V. Levin <ldv@altlinux.org>
314 * elfcopy.c (copy_elf): Remove cast of malloc return value.
316 2021-09-07 Mark Wielaard <mark@klomp.org>
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
328 2021-09-06 Mark Wielaard <mark@klomp.org>
330 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom
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.
345 2021-09-06 Mark Wielaard <mark@klomp.org>
347 * run-debuginfod-archive-groom.sh: Set DEBUGINFOD_URLS after starting
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.
355 2021-09-06 Mark Wielaard <mark@klomp.org>
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
362 2021-09-06 Mark Wielaard <mark@klomp.org>
364 * run-debuginfod-file.sh: Set DEBUGINFOD_CACHE_PATH. Export
365 correct DEBUGINFOD_URLS.
366 * run-debuginfod-query-retry.sh: Add DEBUGINFOD_CACHE_PATH
369 2021-09-03 Mark Wielaard <mark@klomp.org>
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.
384 2021-09-03 Mark Wielaard <mark@klomp.org>
386 * debuginfod-subr.sh (EXTRA_DIST): Add debuginfod-subr.sh.
388 2021-08-20 Noah Sanci <nsanci@redhat.com>
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
394 2021-08-28 Mark Wielaard <mark@klomp.org>
396 * run-debuginfod-find.sh: Use ":memory:" for the
397 forwarded-ttl-limit tests.
399 2021-08-28 Mark Wielaard <mark@klomp.org>
401 * run-debuginfod-find.sh: Use clean, separate databases for
402 forwarded-ttl-limit tests.
404 2021-08-20 Di Chen <dichen@redhat.com>
406 * run-debuginfod-find.sh: Add test for X-Forwarded-For hops limit.
408 2021-08-20 Noah Sanci <nsanci@redhat.com>
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
436 2021-08-04 Mark Wielaard <mark@klomp.org>
439 * backtrace.c (callback_verify): Check for pthread_kill as first
440 frame. Change asserts to fprintf plus abort.
442 2021-07-26 Noah Sanci <nsanci@redhat.com>
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.
449 2021-07-16 Noah Sanci <nsanci@redhat.com>
452 * run-debuginfod-percent-escape.sh: Added a test ensuring files with %
453 escapable characters in their paths are accessible.
455 2021-07-21 Noah Sanci <nsanci@redhat.com>
457 * run-debuginfod-find.sh: Properly kill $PID4 by waiting for it to
458 finish. Report $PORT3's metrics in err().
460 2021-06-28 Noah Sanci <nsanci@redhat.com>
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.
467 2021-07-06 Alice Zhang <alizhang@redhat.com>
470 * run-debuginfod-find.sh: Add test case for retry mechanism.
472 2021-07-01 Noah Sanci <nsanci@redhat.com>
475 * run-debuginfod-find.sh: Added test case for grooming the database
478 2021-07-09 Noah Sanci <nsanci@redhat.com>
481 * run-debuginfod-find.sh: Wrote test to ensure duplicate urls are in
484 2021-07-08 Mark Wielaard <mark@klomp.org>
486 * Makefile.am (EXTRA_DIST): Fix typo testfile-largealign.bz2 was
489 2021-06-09 Andrei Homescu <ah@immunant.com>
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
497 2021-07-02 Mark Wielaard <mark@klomp.org>
499 * run-debuginfo-find.sh: unset VALGRIND_CMD before testing debuginfod
502 2021-06-16 Frank Ch. Eigler <fche@redhat.com>
504 * run-debuginfod-find.sh: Fix intermittent groom/stale failure,
505 due to SIGUSR1/SIGUSR2 races. Trace more.
507 2021-06-15 Frank Ch. Eigler <fche@redhat.com>
509 * run-debuginfod-find.sh (err): Elaborate. Use as the reliable
510 error-report triggering function, rather than "exit 1".
512 2021-06-03 Frank Ch. Eigler <fche@redhat.com>
515 * run-debuginfod-find.sh: Test "after-you" queueing via flooding
516 with concurent curls.
518 2021-05-14 Frank Ch. Eigler <fche@redhat.com>
521 * run-debuginfod-find.sh: Test absence of 404-latch bug in client
524 2021-04-19 Martin Liska <mliska@suse.cz>
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.
532 2021-05-04 Alice Zhang <alizhang@redhat.com>
534 * run-debuginfod-find.sh: Added tests for negative cache files.
536 2021-04-26 Frank Ch. Eigler <fche@redhat.com>
539 * run-debuginfod-find.sh: Add test case for unwriteable cache files.
541 2021-04-23 Omar Sandoval <osandov@fb.com>
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.
551 2021-04-26 Frank Ch. Eigler <fche@redhat.com>
554 * run-debuginfod-find.sh: Add test case for cache cleanup rmdir.
556 2021-04-23 Frank Ch. Eigler <fche@redhat.com>
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.
562 2021-03-30 Frank Ch. Eigler <fche@redhat.com>
564 * run-debuginfod-find.sh: Add thread comm checks.
566 2021-02-17 Timm Bäder <tbaeder@redhat.com>
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.
572 2021-02-17 Timm Bäder <tbaeder@redhat.com>
574 * elfstrmerge.c (main): Move newsecndx function to...
575 (newsecndx): ...top-level static function adding shdrstrndx,
576 shdrnum and fname as arguments.
578 2021-02-25 Frank Ch. Eigler <fche@redhat.com>
580 * run-debuginfod-find.sh: Add bad webapi artifacttype test.
582 2021-02-17 Frank Ch. Eigler <fche@redhat.com>
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.
588 2021-02-12 Mark Wielaard <mark@klomp.org>
590 * run-readelf-types.sh: Add CU start to type offset reference.
592 2021-02-07 Alexander Miller <alex.miller@gmx.de>
594 * Makefile.am (TESTS_ENVIRONMENT): Quote variables.
595 (valgrind_cmd): Unquote variable.
597 2021-02-08 Érico Nogueira <ericonr@disroot.org>
599 * run-debuginfod-find.sh: Check for cpio availability.
601 2021-02-04 Frank Ch. Eigler <fche@redhat.com>
603 * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling.
605 2021-01-31 Sergei Trofimovich <slyfox@gentoo.org>
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.
615 2021-01-06 Timm Bäder <tbaeder@redhat.com>
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.
621 2020-12-20 Dmitry V. Levin <ldv@altlinux.org>
623 * .gitignore: New file.
625 2020-12-12 Mark Wielaard <mark@klomp.org>
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
632 2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
634 * dwflmodtest.c (N_): Remove.
636 2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
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.
647 2020-12-11 Dmitry V. Levin <ldv@altlinux.org>
649 * configure.ac: Remove.
650 * Makefile.am [STANDALONE]: Remove.
651 (check_PROGRAMS): Add msg_tst, system-elf-libelf-test, and $(asm_TESTS)
653 (TESTS): Add msg_tst, system-elf-libelf-test, $(asm_TESTS), and
654 run-disasm-bpf.sh unconditionally.
656 2020-11-23 Frank Ch. Eigler <fche@redhat.com>
658 * run-debuginfod-find.sh: Add sqlite error injection & stats.
660 2020-11-02 Mark Wielaard <mark@klomp.org>
662 * run-debuginfod-find.sh: Create bogus R/nothing.rpm with cyclic
663 symlink instead of chmod 000.
665 2020-11-19 Frank Ch. Eigler <fche@redhat.com>
667 * run-debuginfod-find.sh: Look for http-* metrics.
669 2020-11-01 Érico N. Rolim <erico.erc@gmail.com>
670 Mark Wielaard <mark@klomp.org>
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.
684 2020-10-31 Mark Wielaard <mark@klomp.org>
686 * dwfl-proc-attach.c (dlopen): New external function override.
688 2020-10-31 Mark Wielaard <mark@klomp.org>
690 * test-wrapper.sh: Use =, not == for string compare.
692 2020-10-29 Mark Wielaard <mark@klomp.org>
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
699 * vdsosyms.c (main): Call dwfl_end.
701 2020-10-31 Frank Ch. Eigler <fche@redhat.com>
703 * run-debuginfod-find.sh: Modify for tweaked/new metrics.
705 2020-10-30 Frank Ch. Eigler <fche@redhat.com>
708 * run-debuginfod-find.sh: Modify test for restored
709 thread_work_total semantics for grooming.
711 2020-10-29 Frank Ch. Eigler <fche@redhat.com>
714 * run-debuginfod-find.sh: Modify test for different
715 thread_work_total semantics for grooming.
717 2020-10-29 Frank Ch. Eigler <fche@redhat.com>
720 * run-debuginfod-find.sh: Add tests for successful archive fetches across
721 renamed RPMs, even without grooming.
723 2020-10-25 Mark Wielaard <mark@klomp.org>
725 * read_unaligned.c: New test.
726 * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned.
727 (read_unaligned_LDADD): New variable.
729 2020-10-28 Tom Tromey <tom@tromey.com>
732 * Makefile.am (check_PROGRAMS, TESTS): Add leb128.
733 (leb128_LDADD): New variable.
734 * leb128.c: New file.
736 2020-10-19 Mark Wielaard <mark@klomp.org>
738 * addrcfi.c (print_register): Make ops_mem 3 elements.
740 2020-10-19 Mark Wielaard <mark@klomp.org>
742 * testfile60.bz2: Removed.
743 * Makefile.am (EXTRA_DIST): Remove testfile60.bz2.
744 * run-allregs.sh: Remove tilegx testfile60 testcase.
746 2020-10-20 Frank Ch. Eigler <fche@redhat.com>
748 PR26756: more prometheus metrics
749 * run-debuginfod-find.sh: Trigger some errors with dummy "nothing.rpm"
750 and check for new metrics.
752 2020-09-18 Mark Wielaard <mark@klomp.org>
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.
758 2020-09-03 Mark Wielaard <mark@klomp.org>
760 * run-readelf-frames.sh: New test.
761 * Makefile.am (TESTS): Add run-readelf-frames.sh.
762 (EXTRA_DIST): Likewise.
764 2020-09-03 Mark Wielaard <mark@klomp.org>
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.
771 2020-07-19 Mark Wielaard <mark@klomp.org>
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.
783 2020-07-05 Mark Wielaard <mark@klomp.org>
785 * run-test-includes.sh: New test.
786 * Makefile.am (TESTS): Add run-test-includes.sh.
787 (EXTRA_DIST): Likewise.
789 2020-07-03 Alice Zhang <alizhang@redhat.com>
791 * run-debuginfod-find.sh: Add scheme free url testcase.
793 2020-06-19 Mark Wielaard <mark@klomp.org>
795 * Makefile.am (TESTS): Don't add run-debuginfod-find.sh when
798 2020-06-16 Mark Wielaard <mark@klomp.org>
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.
828 2020-06-11 Mark Wielaard <mark@klomp.org>
830 * Makefile.am (nlist-test): Add GCOV flags when necessary.
832 2020-06-06 Mark Wielaard <mark@klomp.org>
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
841 2020-05-08 Mark Wielaard <mark@klomp.org>
843 * elfputzdata.c (main): Explicitly check orig_buf is not NULL
844 before calling memcmp.
846 2020-05-05 Mark Wielaard <mark@klomp.org>
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
855 2020-05-05 Mark Wielaard <mark@klomp.org>
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.
861 2020-04-17 Mark Wielaard <mark@klomp.org>
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
868 2020-04-17 Mark Wielaard <mark@klomp.org>
870 * Makefile.am (test-nlist$): New goal with minimal CFLAGS.
871 (test_nlist_CFLAGS): New variable.
873 2020-03-28 Frank Ch. Eigler <fche@redhat.com>
875 * run-debuginfod-find.sh: Test timestamps of archive-origin files.
877 2020-03-27 Frank Ch. Eigler <fche@redhat.com>
879 * run-debuginfod-find.sh: Test /path/-based debuginfod-find.
881 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
883 * run-debuginfod-find.sh: Test relay of UA and XFF headers across
884 federating debuginfods.
886 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
888 * run-debuginfod-find.sh: Look for debuginfod's new
889 http_responses_* metrics.
891 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
893 * run-debuginfod-find.sh: Look for bsdtar instead of dpkg.
895 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
897 * run-debuginfod-find.sh: Check for bsdtar zstd capability
898 for running tests against zstd-compressed fedora31 rpms.
900 2020-03-26 Mark Wielaard <mark@klomp.org>
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
910 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
912 * debuginfod-rpms/hello3.spec., /fedora31/*: New files with
913 uncanonicalized source paths.
914 * run-debuginfod-find.sh: Test them.
916 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
918 * run-debuginfod-find.sh: Test the more detailed debuginfod
921 2020-03-23 Mark Wielaard <mark@klomp.org>
923 * getphdrnum.c: Include config.h.
924 * run-lfs-symbols.sh: Also check that file exists. Add more logs.
925 Remove ebl modules check.
927 2020-03-22 Omar Sandoval <osandov@fb.com>
928 Mark Wielaard <mark@klomp.org>
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.
938 2020-03-22 Frank Ch. Eigler <fche@redhat.com>
940 * run-debuginfod-find.sh: Look for URL in default progressfn
941 and from debuginfod-find -v.
943 2020-02-19 Aaron Merey <amerey@redhat.com>
945 * run-debuginfod-find.sh: Run tests for verifying default
946 client cache locations.
948 2020-02-26 Konrad Kleine <kkleine@redhat.com>
950 * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning
953 2020-02-21 Mark Wielaard <mark@klomp.org>
955 * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS.
956 (installed_TESTS_ENVIRONMENT): Likewise.
958 2020-02-19 Aaron Merey <amerey@redhat.com>
960 * run-debuginfod-find.sh: Test that files unrelated to debuginfod
961 survive cache cleaning.
963 2020-02-08 Mark Wielaard <mark@klomp.org>
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.
972 2020-02-05 Frank Ch. Eigler <fche@redhat.com>
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.
978 2020-02-03 Frank Ch. Eigler <fche@redhat.com>
980 * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio.
982 2020-01-19 Frank Ch. Eigler <fche@redhat.com>
984 * run-debuginfod-find.sh: Check for proper groom completion count.
986 2020-01-18 Frank Ch. Eigler <fche@redhat.com>
988 * run-debuginfod-find.sh: Test empty source_paths[].
990 2020-01-08 Mark Wielaard <mark@klomp.org>
992 * asm-test?.c: include libebl.h.
994 2020-01-11 Frank Ch. Eigler <fche@redhat.com>
996 * run-debuginfod-find.sh: Test --fdcache* options.
998 2020-01-11 Frank Ch. Eigler <fche@redhat.com>
1000 * run-debuginfod-find.sh: Adjust to new work-queue metrics.
1002 2020-01-02 Mark Wielaard <mark@klomp.org>
1004 * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10.
1006 2019-12-22 Frank Ch. Eigler <fche@redhat.com>
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
1013 2019-12-04 Frank Ch. Eigler <fche@redhat.com>
1015 * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS.
1017 2019-12-11 Omar Sandoval <osandov@fb.com>
1019 * dwfl-report-segment-coalesce.c: New test.
1020 * Makefile.am: Add dwfl-report-segment-coalesce
1022 2019-12-06 Mark Wielaard <mark@klomp.org>
1024 * run-debuginfod-find.sh: Force -Wl,--build-id.
1026 2019-12-05 Mark Wielaard <mark@klomp.org>
1028 * run-findinfod-find.sh: Run strip under testrun.
1030 2019-12-06 Mark Wielaard <mark@klomp.org>
1032 * backtrace-data.c (main): Add break after assert.
1034 2019-12-05 Mark Wielaard <mark@klomp.org>
1036 * run-elfclassify.sh: Run elfcompress under testrun.
1038 2019-11-26 Mark Wielaard <mark@klomp.org>
1040 * Makefile.am (BUILD_STATIC): Add libraries needed for libdw.
1041 * coverage.sh: Add debuginfod directory, check whether source
1044 2019-11-24 Mark Wielaard <mark@klomp.org>
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
1051 2019-11-23 Mark Wielaard <mark@klomp.org>
1053 * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1.
1055 2019-11-07 Frank Ch. Eigler <fche@redhat.com>
1057 * run-debuginfod-find.sh: Test debuginfod metrics via curl.
1058 Fix federated testing, asserted by metrics.
1060 2019-11-06 Frank Ch. Eigler <fche@redhat.com>
1062 * run-debuginfod-find.sh: Test debuginfod -L mode. Drop
1063 plain debuginfo-find help-output-comparison.
1065 2019-11-04 Frank Ch. Eigler <fche@redhat.com>
1067 * run-debuginfod-find.sh: Test debuginfod-find -v progress mode.
1069 2019-10-28 Aaron Merey <amerey@redhat.com>
1070 Frank Ch. Eigler <fche@redhat.com>
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.
1076 2019-11-14 Andreas Schwab <schwab@suse.de>
1078 * run-large-elf-file.sh: Skip if available memory cannot be
1081 2019-11-14 Andreas Schwab <schwab@suse.de>
1083 * dwelf_elf_e_machine_string.c (main): Clear errno before calling
1086 2019-09-02 Mark Wielaard <mark@klomp.org>
1088 * run-readelf-s.sh: Add --dyn-syms case.
1090 2019-09-07 Mark Wielaard <mark@klomp.org>
1092 * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh,
1093 testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2.
1095 2019-08-27 Mark Wielaard <mark@klomp.org>
1097 * run-readelf-test2.sh: Add -x num testcase.
1099 2019-08-29 Mark Wielaard <mark@klomp.org>
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.
1105 2019-07-05 Omar Sandoval <osandov@fb.com>
1107 * Makefile.am: Remove -ldl.
1108 * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so.
1110 2019-07-26 Florian Weimer <fweimer@redhat.com>
1111 Mark Wielaard <mark@klomp.org>
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.
1119 2019-07-16 Mao Han <han_mao@c-sky.com>
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
1128 2019-06-28 Mark Wielaard <mark@klomp.org>
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.
1137 2019-07-01 Mark Wielaard <mark@klomp.org>
1139 * run-large-elf-file.sh: Add 2GB to mem_needed when running under
1142 2019-06-18 Mark Wielaard <mark@klomp.org>
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.
1151 2019-06-03 Mark Wielaard <mark@klomp.org>
1153 * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections,
1154 make sure they are actually next to each other.
1156 2019-05-12 Mark Wielaard <mark@klomp.org>
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
1167 * run-reverse-sections.sh: New test.
1168 * run-reverse-sections-self.sh: Likewise.
1169 * elfrdwrnop.c: New file.
1171 2019-05-10 Mark Wielaard <mark@klomp.org>
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.
1180 2019-04-30 Mark Wielaard <mark@klomp.org>
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.
1189 2019-04-30 Mark Wielaard <mark@klomp.org>
1191 * backtrace-dwarf.c (frame_callback): Explicitly check symname is
1194 2019-04-30 Mark Wielaard <mark@klomp.org>
1196 * backtrace.c (frame_callback): Explicitly check symname is NULL.
1198 2019-03-04 Mark Wielaard <mark@klomp.org>
1200 * backtrace.c (tgkill): Remove define.
1202 2019-01-24 Mark Wielaard <mark@klomp.org>
1204 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
1207 2019-01-31 Mark Wielaard <mark@klomp.org>
1209 * backtrace-child.c (stdarg): Remove assert (errno == 0).
1211 * backtrace-data.c (maps_lookup): Likewise.
1212 (set_initial_registers): Likewise.
1214 * backtrace.c (prepare_thread): Likewise.
1215 (exec_dump): Likewise.
1217 2019-01-29 Yonghong Song <yhs@fb.com>
1219 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse
1222 2019-01-18 Ulf Hermann <ulf.hermann@qt.io>
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.
1228 2019-01-24 Mark Wielaard <mark@klomp.org>
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.
1234 2019-01-09 Ulf Hermann <ulf.hermann@qt.io>
1236 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found.
1238 2018-12-27 Jim Wilson <jimw@sifive.com>
1240 * run-readelf-mixed-corenote.sh: Update with new riscv64 output.
1242 2018-12-02 Mark Wielaard <mark@klomp.org>
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.
1251 2018-11-28 Mark Wielaard <mark@klomp.org>
1253 * backtrace-data.c (main): Improve error message.
1254 * run-backtrace-data.sh: Skip exit 77 return.
1256 2018-11-21 Mark Wielaard <mark@klomp.org>
1258 * backtrace-subr.sh (check_unsupported): Call test_cleanup before
1261 2018-11-17 Mark Wielaard <mark@klomp.org>
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.
1268 2018-11-09 Mark Wielaard <mark@klomp.org>
1270 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o
1271 testfile-debug-rel-ppc64-g.o.
1273 2018-11-12 Mark Wielaard <mark@klomp.org>
1275 * run-readelf-n.sh: Add testfile-annobingroup.o test.
1277 2018-11-11 Mark Wielaard <mark@klomp.org>
1279 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test
1282 2018-11-04 Mark Wielaard <mark@klomp.org>
1284 * testfile-bpf-reloc.expect.bz2: Update with new expected jump
1287 2018-10-20 Mark Wielaard <mark@klomp.org>
1289 * run-readelf-compressed.sh: New test.
1290 * Makefile.am (TESTS): Add run-readelf-compressed.sh.
1291 (EXTRA_DIST): Likewise.
1293 2018-11-09 Mark Wielaard <mark@klomp.org>
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.
1303 2018-10-26 Mark Wielaard <mark@klomp.org>
1305 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only.
1307 2018-10-18 Mark Wielaard <mark@klomp.org>
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.
1316 2018-10-12 Mark Wielaard <mark@klomp.org>
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.
1326 2018-09-12 Mark Wielaard <mark@klomp.org>
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.
1332 2018-09-18 Mark Wielaard <mark@klomp.org>
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.
1339 2018-09-13 Mark Wielaard <mark@klomp.org>
1341 * run-strip-test-many.sh: New test.
1342 * Makefile.am (TESTS): Add run-strip-test-many.sh.
1343 (EXTRA_DIST): Likewise.
1345 2018-09-13 Mark Wielaard <mark@klomp.org>
1347 * run-typeiter-many.sh: New test.
1348 * Makefile.am (TESTS): Add run-typeiter-many.sh.
1349 (EXTRA_DIST): Likewise.
1351 2018-09-13 Mark Wielaard <mark@klomp.org>
1353 * run-copymany-sections.sh: New test.
1354 * Makefile.am (TESTS): Add run-copymany-sections.sh.
1355 (EXTRA_DIST): Likewise.
1357 2018-09-12 Mark Wielaard <mark@klomp.org>
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.
1368 2018-09-11 Mark Wielaard <mark@klomp.org>
1370 * backtrace-dwarf.c (main): Add section attribute.
1372 2018-07-24 Mark Wielaard <mark@klomp.org>
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.
1378 2018-07-21 Mark Wielaard <mark@klomp.org>
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.
1386 2018-07-19 Andreas Schwab <schwab@suse.de>
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.
1398 2018-07-16 Ulf Hermann <ulf.hermann@qt.io>
1400 * run-strip-reloc.sh: Remove previous testfiles before running the
1403 2018-07-17 Mark Wielaard <mark@klomp.org>
1405 * hello_riscv64.ko.bz2: Updated with debuginfo.
1406 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
1408 2018-07-05 Mark Wielaard <mark@klomp.org>
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.
1415 2018-07-04 Ross Burton <ross.burton@intel.com>
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
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.
1452 2018-06-28 Mark Wielaard <mark@klomp.org>
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.
1462 2018-06-27 Mark Wielaard <mark@klomp.org>
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.
1479 2018-06-23 Mark Wielaard <mark@klomp.org>
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.
1486 2018-06-25 Mark Wielaard <mark@klomp.org>
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.
1500 2018-06-16 Yonghong Song <yhs@fb.com>
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.
1509 2018-06-13 Mark Wielaard <mark@klomp.org>
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.
1518 2018-06-08 Mark Wielaard <mark@klomp.org>
1520 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
1521 target, do not assert.
1523 2018-06-08 Mark Wielaard <mark@klomp.org>
1525 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
1526 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
1528 2018-06-08 Mark Wielaard <mark@klomp.org>
1530 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
1531 actually is a cfi_debug.
1533 2018-06-07 Mark Wielaard <mark@klomp.org>
1535 * run-readelf-loc.sh: Fix expected output for startx_length.
1537 2018-06-06 Mark Wielaard <mark@klomp.org>
1539 * varlocs.c (print_base_type): Use error, not assert when the DIE
1542 2018-06-02 Mark Wielaard <mark@klomp.org>
1544 * test-subr.sh (self_test_files_exe): Drop shared libraries.
1545 Keep addr2line, elfcmp, objdump and readelf.
1547 2018-05-31 Mark Wielaard <mark@klomp.org>
1549 * run-readelf-types.sh: New test.
1550 * Makefile.am (TESTS): Add run-readelf-types.sh.
1551 (EXTRA_DIST): Likewise.
1553 2018-05-31 Mark Wielaard <mark@klomp.org>
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.
1563 2018-05-31 Mark Wielaard <mark@klomp.org>
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.
1573 2018-05-31 Mark Wielaard <mark@klomp.org>
1575 * low_high_pc.c (handle_die): Handle NULL name. Print offset and
1577 (main): Check if the cu DIE is a skeleton, then get and handle
1579 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
1580 testfile-splitdwarf-5. Run on all selftest files.
1582 2018-05-31 Mark Wielaard <mark@klomp.org>
1584 * get-units-invalid.c (main): Check dwarf_cuoffset and
1587 2018-05-29 Mark Wielaard <mark@klomp.org>
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.
1594 2018-05-29 Mark Wielaard <mark@klomp.org>
1596 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
1597 * run-varlocs.sh: Likewise.
1599 2018-05-29 Mark Wielaard <mark@klomp.org>
1601 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
1603 2018-05-28 Mark Wielaard <mark@klomp.org>
1605 * run-readelf-info-plus.sh: New test.
1606 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
1607 (EXTRA_DIST): Likewise.
1609 2018-04-29 Mark Wielaard <mark@klomp.org>
1611 * run-readelf-addr.sh: New test.
1612 * Makefile.am (TESTS): Add run-readelf-addr.sh.
1613 (EXTRA_DIST): Likewise.
1615 2018-04-27 Mark Wielaard <mark@klomp.org>
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.
1622 2018-04-07 Mark Wielaard <mark@klomp.org>
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.
1630 2018-04-12 Mark Wielaard <mark@klomp.org>
1632 * run-readelf-loc.sh: Add new testcases.
1634 2018-04-06 Mark Wielaard <mark@klomp.org>
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.
1646 2018-04-11 Mark Wielaard <mark@klomp.org>
1648 * run-readelf-ranges.sh: New test.
1649 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
1650 (EXTRA_DIST): Likewise.
1652 2018-05-21 Mark Wielaard <mark@klomp.org>
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.
1666 2018-05-20 Mark Wielaard <mark@klomp.org>
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.
1675 2018-05-24 Mark Wielaard <mark@klomp.org>
1677 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
1678 * run-all-dwarf-ranges.sh: Correct expected output.
1680 2018-05-18 Mark Wielaard <mark@klomp.org>
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.
1694 2018-05-18 Mark Wielaard <mark@klomp.org>
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.
1700 2018-05-17 Mark Wielaard <mark@klomp.org>
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.
1709 2018-05-16 Mark Wielaard <mark@klomp.org>
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
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.
1729 2018-05-09 Mark Wielaard <mark@klomp.org>
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.
1735 2018-05-11 Mark Wielaard <mark@klomp.org>
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.
1744 2018-05-05 Mark Wielaard <mark@klomp.org>
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
1751 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
1752 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
1754 2018-04-19 Andreas Schwab <schwab@suse.de>
1756 * hello_riscv64.ko.bz2: New file.
1757 * run-strip-reloc.sh: Test it.
1758 * Makefile.am (EXTRA_DIST): Add it.
1760 2018-04-16 Mark Wielaard <mark@klomp.org>
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.
1766 2018-04-11 Mark Wielaard <mark@klomp.org>
1768 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
1770 2018-04-03 Mark Wielaard <mark@klomp.org>
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.
1776 2018-03-06 Mark Wielaard <mark@klomp.org>
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
1783 2018-02-16 Mark Wielaard <mark@klomp.org>
1785 * backtrace-subr.sh (check_native_core): Check if there is any core,
1788 2018-02-15 Mark Wielaard <mark@klomp.org>
1790 * backtrace-child.c: Include signal.h after sys/ptrace.h.
1791 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
1794 2018-01-25 Mark Wielaard <mark@klomp.org>
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.
1803 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
1805 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
1807 2018-01-22 Mark Wielaard <mark@klomp.org>
1809 * allfcts.c (setup_alt): Print warning when alt file couldn't be
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).
1814 2018-01-25 Mark Wielaard <mark@klomp.org>
1816 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
1819 2018-01-14 Petr Machata <pmachata@gmail.com>
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.
1825 2017-12-23 Mark Wielaard <mark@klomp.org>
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.
1831 2017-12-11 Dima Kogan <dima@secretsauce.net>
1833 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
1834 * run-peel-type.sh: Likewise.
1835 * testfile-sizes3.o.bz2: Likewise.
1837 2017-12-07 Mark Wielaard <mark@klomp.org>
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.
1845 2017-11-29 Mark Wielaard <mark@klomp.org>
1847 * run-readelf-loc.sh: Adjust expected loc list output.
1848 * run-readelf-zdebug-rel.sh: Likewise.
1849 * run-readelf-zdebug.sh: Likewise.
1851 2017-11-29 Mark Wielaard <mark@klomp.org>
1853 * run-readelf-loc.sh: Adjust expected range list output.
1854 * run-readelf-zdebug.sh: Likewise.
1856 2017-11-29 Mark Wielaard <mark@klomp.org>
1858 * run-readelf-dwz-multi.sh: Add expected file names.
1859 * run-readelf-zdebug-rel.sh: Likewise.
1861 2017-11-29 Mark Wielaard <mark@klomp.org>
1863 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
1864 * run-readelf-zdebug-rel.sh: Likewise.
1866 2017-11-29 Mark Wielaard <mark@klomp.org>
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.
1873 2017-11-16 Mark Wielaard <mark@klomp.org>
1875 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
1877 2017-11-10 Mark Wielaard <mark@klomp.org>
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
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.
1893 2017-11-03 Mark Wielaard <mark@klomp.org>
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.
1909 2017-10-16 Mark Wielaard <mark@klomp.org>
1911 * md5-sha1-test.c: Removed.
1912 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
1914 (md5_sha1_test_LDADD): Removed.
1916 2017-10-04 Mark Wielaard <mark@klomp.org>
1918 * msg_tst.c: Handle ELF_E_INVALID_ELF.
1920 2017-09-10 Mark Wielaard <mark@klomp.org>
1922 * run-ar.sh: New test.
1923 * Makefile.am (TESTS): Add run-ar.sh.
1924 (EXTRA_DIST): Likewise.
1926 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
1928 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
1930 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
1932 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
1934 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
1936 * run-strip-nothing.sh: Add -s.
1938 2017-07-26 Mark Wielaard <mark@klomp.org>
1940 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
1942 2016-10-27 Mark Wielaard <mjw@redhat.com>
1944 * dwarf_default_lower_bound.c: New test.
1945 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
1947 (dwarf_default_lower_bound_LDADD): New variable.
1949 2017-07-21 Mark Wielaard <mark@klomp.org>
1951 * get-lines.c (main): Add dwarf_line_file test.
1953 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
1955 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
1956 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
1958 2017-07-20 Mark Wielaard <mark@klomp.org>
1960 * run-strip-g.sh: New test.
1961 * Makefile.am (TESTS): Add run-strip-g.sh.
1962 (EXTRA_DIST): Likewise.
1964 2017-07-18 Mark Wielaard <mark@klomp.org>
1966 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
1968 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
1970 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
1972 2017-07-14 Mark Wielaard <mark@klomp.org>
1974 * run-strip-remove-keep.sh: New test.
1975 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
1976 (EXTRA_DIST): Likewise.
1978 2017-06-07 Mark Wielaard <mark@klomp.org>
1980 * run-strip-nothing.sh: New test.
1981 * Makefile.am (TESTS): Add run-strip-nothing.sh.
1982 (EXTRA_DIST): Likewise.
1984 2017-06-06 Mark Wielaard <mark@klomp.org>
1986 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
1988 2017-05-30 Mark Wielaard <mark@klomp.org>
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.
1998 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
1999 Mark Wielaard <mark@klomp.org>
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.
2008 2017-04-06 Mark Wielaard <mark@klomp.org>
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.
2017 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
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
2024 2017-04-25 Mark Wielaard <mark@klomp.org>
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.
2031 2017-04-24 Mark Wielaard <mark@klomp.org>
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().
2037 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
2039 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
2041 * run-readelf-zdebug-rel.sh: Likewise.
2043 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
2045 * backtrace-child.c: Include sys/ptrace.h only on linux.
2046 * backtrace-dwarf.c: Likewise.
2048 2017-04-05 Mark Wielaard <mark@klomp.org>
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.
2054 2017-03-30 Mark Wielaard <mark@klomp.org>
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.
2063 2017-03-27 Mark Wielaard <mark@klomp.org>
2065 * fillfile.c: New file.
2066 * Makefile.am (check_PROGRAMS): Add fillfile.
2068 (fillfile_LDADD): New variable.
2070 2017-02-15 Mark Wielaard <mark@klomp.org>
2072 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
2073 * run-readelf-A.sh: Add testfileppc64.o test.
2075 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
2077 * elfstrmerge.c: Include system.h.
2079 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
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()
2085 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
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.
2091 2016-11-17 Mark Wielaard <mjw@redhat.com>
2093 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
2095 2016-11-02 Mark Wielaard <mjw@redhat.com>
2097 * backtrace-data.c (thread_callback): Add explicit break after error.
2098 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
2100 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
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.
2110 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
2112 * arextract.c: Remove sys/param.h include, add system.h include.
2114 2016-08-30 Mark Wielaard <mjw@redhat.com>
2116 * Makefile.am (asm_tst?_LDADD): Add libdw.
2118 2016-08-25 Mark Wielaard <mjw@redhat.com>
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
2126 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
2128 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
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.
2134 2016-08-24 Mark Wielaard <mjw@redhat.com>
2136 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
2138 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2140 * testfilesparc64attrs.o.bz2: New file.
2141 * run-readelf-A.sh: Check attributes in a sparc object.
2143 2016-08-06 Mark Wielaard <mjw@redhat.com>
2145 * run-strip-reloc.sh: Add explicit compressed and uncompressed
2148 2016-08-10 Richard Henderson <rth@redhat.com>
2150 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
2153 2016-07-08 Mark Wielaard <mjw@redhat.com>
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.
2162 * update3.c (main): Likewise.
2163 * update4.c (main): Likewise.
2165 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
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.
2179 2016-07-06 Mark Wielaard <mjw@redhat.com>
2181 * Makefile.am (check_PROGRAMS): Add vendorelf.
2183 (vendorelf_LDADD): New variable.
2184 * vendorelf.c: New test.
2185 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
2187 2016-06-24 Mark Wielaard <mjw@redhat.com>
2189 * Makefile.am (check_PROGRAMS): Add emptyfile.
2191 (emptyfile_LDADD): New variable.
2192 * emptyfile.c: New test.
2194 2016-06-28 Richard Henderson <rth@redhat.com>
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.
2203 2016-02-09 Mark Wielaard <mjw@redhat.com>
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.
2209 2016-02-04 Mark Wielaard <mjw@redhat.com>
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.
2219 2016-01-13 Mark Wielaard <mjw@redhat.com>
2221 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
2223 2016-01-13 Mark Wielaard <mjw@redhat.com>
2225 * dwfl-proc-attach.c: Guard linux specific header.
2227 2016-01-13 Mark Wielaard <mjw@redhat.com>
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.
2235 2016-01-08 Mark Wielaard <mjw@redhat.com>
2237 * elfputzdata.c (main): Fix parentheses in strncmp test.
2239 2016-01-08 Mark Wielaard <mjw@redhat.com>
2241 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
2243 2016-01-08 Mark Wielaard <mjw@redhat.com>
2245 * Makefile.am (TESTS): Always unconditionally add
2246 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
2248 2015-12-16 Mark Wielaard <mjw@redhat.com>
2250 * run-compress-test.sh: New test.
2251 * Makefile.am (TESTS): Add run-compress-test.sh.
2252 (EXTRA_DISTS): Likewise.
2254 2015-11-26 Mark Wielaard <mjw@redhat.com>
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.
2265 2015-10-20 Mark Wielaard <mjw@redhat.com>
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.
2272 2015-10-21 Mark Wielaard <mjw@redhat.com>
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.
2287 2015-10-28 Mark Wielaard <mjw@redhat.com>
2289 * run-readelf-z.sh: New test.
2290 * Makefile.am (TESTS): Add run-readelf-z.sh.
2291 (EXTRA_DIST): Likewise.
2293 2015-10-28 Mark Wielaard <mjw@redhat.com>
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,
2310 2015-10-28 Mark Wielaard <mjw@redhat.com>
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.
2322 2015-12-31 Mark Wielaard <mjw@redhat.com>
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.
2329 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
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.
2337 2015-12-02 Mark Wielaard <mjw@redhat.com>
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.
2345 2015-12-01 Mark Wielaard <mjw@redhat.com>
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
2355 * addrscopes.c (handle_address): Free scopes.
2357 2015-10-16 Mark Wielaard <mjw@redhat.com>
2359 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
2360 [BUILD_STATIC] (libelf): Likewise.
2362 2015-10-16 Mark Wielaard <mjw@redhat.com>
2364 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
2366 2015-10-09 Josh Stone <jistone@redhat.com>
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
2374 * alldts.c (main): Replace open64 with open.
2375 * dwarf-getstring.c (main): Likewise.
2376 * arls.c: Include config.h.
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.
2383 2015-10-09 Mark Wielaard <mjw@redhat.com>
2385 * elfshphehdr.c (check): Rename argument from check to statement.
2386 (check_elf): Likewise.
2388 2015-10-05 Josh Stone <jistone@redhat.com>
2390 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
2392 2015-10-02 Mark Wielaard <mjw@redhat.com>
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.
2400 2015-09-29 Mark Wielaard <mjw@redhat.com>
2402 * elfshphehdr.c: New test.
2403 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
2405 (elfshphehdr_LDADD): New variable.
2407 2015-09-08 Mark Wielaard <mjw@redhat.com>
2409 * dwfl-proc-attach.c: New test.
2410 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
2412 (dwfl_proc_attach_LDADD): New variable.
2413 (dwfl_proc_attach_LDFLAGS): Likewise.
2415 2015-09-04 Chih-Hung Hsieh <chh@google.com>
2417 * varlocs.c (print_base_type): Initialize enctype.
2419 2015-09-04 Chih-Hung Hsieh <chh@google.com>
2421 * md5-sha1-test.c (md5_expected): Removed.
2422 (sha1_expected): Likewise.
2424 2015-09-04 Chih-Hung Hsieh <chh@google.com>
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.
2437 2015-08-14 Mark Wielaard <mjw@redhat.com>
2439 * run-addr2line-alt-debugpath.sh: New test.
2440 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
2441 (EXTRA_DIST): Likewise.
2443 2015-07-29 Mark Wielaard <mjw@redhat.com>
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.
2453 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
2455 * tests/run-deleted.sh: Skip when detecting a not implemented
2456 dwfl_linux_proc_attach.
2458 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
2460 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
2463 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
2465 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
2467 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
2469 * tests/backtrace-data.c: Reduce scope of some includes to match their
2471 * tests/backtrace.c: Likewise.
2472 * tests/deleted.c: Likewise.
2474 2015-06-16 Mark Wielaard <mjw@redhat.com>
2476 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
2477 for non-ET_REL files.
2479 2015-05-30 Mark Wielaard <mjw@redhat.com>
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
2485 * run-backtrace-demangle.sh: Likewise.
2486 * run-stack-demangled-test.sh: Likewise.
2487 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
2489 * run-backtrace-native-core-biarch.sh: Likewise.
2490 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
2492 2015-05-20 Mark Wielaard <mjw@redhat.com>
2494 * run-addr2line-i-test.sh: Add pretty test.
2495 * run-addr2line-test.sh: Likewise.
2497 2015-05-20 Mark Wielaard <mjw@redhat.com>
2499 * run-addr2line-i-demangle-test.sh: New test.
2500 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
2501 (EXTRA_DIST): Likewise.
2503 2015-05-20 Mark Wielaard <mjw@redhat.com>
2505 * run-addr2line-test.sh: Add -a test variants.
2506 * run-addr2line-i-test.sh: Likewise.
2508 2015-05-20 Mark Wielaard <mjw@redhat.com>
2510 * run-addrname-test.sh: Make sure all input addresses are hex.
2512 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
2514 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
2515 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
2517 * backtrace-dwarf.c (main): Likewise.
2518 * backtrace.c (prepare_thread, exec_dump): Likewise.
2520 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
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).
2528 2015-05-01 Mark Wielaard <mjw@redhat.com>
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.
2536 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
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.
2545 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
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.
2552 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
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.
2561 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
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.
2567 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2569 * run-allregs.sh: Add a test for testfile-x32-core.
2571 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
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.
2577 2015-03-18 Petr Machata <pmachata@redhat.com>
2579 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
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.
2585 2015-03-18 Petr Machata <pmachata@redhat.com>
2587 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
2588 debug-ranges-no-lowpc.o.bz2.
2590 2015-03-13 Mark Wielaard <mjw@redhat.com>
2592 * backtrace-dwarf.c: Add explicit includes.
2593 (cleanup_13_abort): Remove unused static declaration.
2594 (thread_callback): Add explicit return.
2596 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
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
2603 2015-02-18 Mark Wielaard <mjw@redhat.com>
2605 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
2607 2015-02-11 Josh Stone <jistone@redhat.com>
2609 * backtrace.c (exec_dump): Initialize jmp.
2611 2015-02-11 Petr Machata <pmachata@redhat.com>
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.
2617 2015-01-21 Mark Wielaard <mjw@redhat.com>
2619 * Makefile.am (check_PROGRAMS): Add elfstrtab.
2621 (elfstrtab_LDADD): New variable.
2622 * elfstrtab.c: New test.
2624 2015-01-20 Mark Wielaard <mjw@redhat.com>
2626 * Makefile.am (check_PROGRAMS): Add newdata.
2628 (newdata_LDADD): new variable.
2629 * newdata.c: New test.
2631 2015-01-20 Mark Wielaard <mjw@redhat.com>
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.
2640 2015-01-15 Mark Wielaard <mjw@redhat.com>
2642 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
2643 * vdsosyms.c (main): Use getpid () instead of getppid ().
2645 2014-12-27 Mark Wielaard <mjw@redhat.com>
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.
2652 2015-01-07 Mark Wielaard <mjw@redhat.com>
2654 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
2656 2015-01-14 Mark Wielaard <mjw@redhat.com>
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.
2663 2014-12-26 Mark Wielaard <mjw@redhat.com>
2665 * run-test-archive64.sh: Add nm test.
2667 2014-12-19 Mark Wielaard <mjw@redhat.com>
2669 * run-deleted.sh: Don't check libfunc on ppc64.
2671 2014-12-19 Mark Wielaard <mjw@redhat.com>
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.
2678 2014-12-19 Mark Wielaard <mjw@redhat.com>
2680 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
2682 * run-deleted.sh: Call check_native_unsupported.
2684 2014-12-18 Mark Wielaard <mjw@redhat.com>
2686 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
2688 2014-12-12 Mark Wielaard <mjw@redhat.com>
2690 * Makefile.am (deleted_lib_so_CFLAGS): Add
2691 -fasynchronous-unwind-tables.
2693 2014-12-11 Josh Stone <jistone@redhat.com>
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.
2701 2014-12-10 Josh Stone <jistone@redhat.com>
2703 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
2704 preferred over the plain die name.
2706 2014-12-02 Petr Machata <pmachata@redhat.com>
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.
2716 2014-11-27 Mark Wielaard <mjw@redhat.com>
2718 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
2720 2014-11-21 Mark Wielaard <mjw@redhat.com>
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.
2727 2014-11-10 Mark Wielaard <mjw@redhat.com>
2729 * vdsosyms.c: New test.
2730 * Makefile.am (check_PROGRAMS): Add vdsosyms.
2732 (vdsosyms_LDADD): New variable.
2734 2014-09-10 Petr Machata <pmachata@redhat.com>
2736 * dwarf-getmacros.c: Update to use the new macro iteration
2738 * run-dwarf-getmacros.sh: Adjust, add a test that uses
2741 2014-10-06 Mark Wielaard <mjw@redhat.com>
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.
2747 2014-10-02 Mark Wielaard <mjw@redhat.com>
2749 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
2751 2014-10-02 Mark Wielaard <mjw@redhat.com>
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.
2763 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
2775 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
2784 2014-06-15 Mark Wielaard <mjw@redhat.com>
2786 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
2788 2014-06-13 Mark Wielaard <mjw@redhat.com>
2790 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
2793 2014-06-13 Mark Wielaard <mjw@redhat.com>
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.
2800 2014-06-11 Mark Wielaard <mjw@redhat.com>
2802 * backtrace.c (main): Check that Dwfl was attached by calling
2803 dwfl_pid and printing the error when it is not.
2805 2014-05-18 Mark Wielaard <mjw@redhat.com>
2807 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
2809 * testfile-backtrace-demangle.bz2: Regenerate.
2810 * testfile-backtrace-demangle.core.bz2: Likewise.
2812 2014-05-02 Mark Wielaard <mjw@redhat.com>
2814 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
2815 run-allfcts-multi.sh are now added unconditionally.
2817 2014-05-01 Mark Wielaard <mjw@redhat.com>
2819 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
2822 2014-04-30 Mark Wielaard <mjw@redhat.com>
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.
2830 2014-04-24 Florian Weimer <fweimer@redhat.com>
2832 * allfcts.c (setup_alt): New function.
2833 (main): Call it. Implementation additional error checking and
2836 2014-04-24 Florian Weimer <fweimer@redhat.com>
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.
2843 2014-04-11 Mark Wielaard <mjw@redhat.com>
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.
2853 2014-03-23 Mark Wielaard <mjw@redhat.com>
2855 * run-nm-self.sh: Use test = not == for string comparisons.
2857 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
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.
2865 2014-03-14 Mark Wielaard <mjw@redhat.com>
2867 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
2869 * configure.ac: Remove MUDFLAP conditional.
2871 2014-04-09 Mark Wielaard <mjw@redhat.com>
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.
2880 2014-04-10 Mark Wielaard <mjw@redhat.com>
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
2886 2014-04-09 Mark Wielaard <mjw@redhat.com>
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.
2893 2014-03-11 Josh Stone <jistone@redhat.com>
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.
2900 2014-01-26 Mark Wielaard <mjw@redhat.com>
2902 * backtrace-subr.sh (check_unsupported): Special case arm*.
2904 2014-01-25 Mark Wielaard <mjw@redhat.com>
2906 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
2907 location expression: call_frame_cfa stack_value.
2909 2014-01-22 Mark Wielaard <mjw@redhat.com>
2911 * Makefile.am (line2addr_no_Wformat): Removed.
2913 2014-01-21 Mark Wielaard <mjw@redhat.com>
2915 * Makefile.am (TESTS): Add run-stack-i-test.sh.
2916 (EXTRA_DIST): Likewise.
2917 * run-stack-i-test.sh: New test.
2919 2014-01-20 Mark Wielaard <mjw@redhat.com>
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.
2928 2014-01-16 Mark Wielaard <mjw@redhat.com>
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.
2935 2014-01-16 Mark Wielaard <mjw@redhat.com>
2937 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
2939 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
2945 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
2959 2014-01-07 Matthias Klose <doko@ubuntu.com>
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.
2965 2014-01-04 Mark Wielaard <mjw@redhat.com>
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
2975 (exec_dump): Don't call ptrace_detach_stopped.
2977 2014-01-04 Mark Wielaard <mjw@redhat.com>
2979 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
2980 if we cannot adjust core ulimit.
2982 2014-01-04 Mark Wielaard <mjw@redhat.com>
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.
2988 2014-01-03 Mark Wielaard <mjw@redhat.com>
2990 * run-addrcfi.sh: Add case for EM_AARCH64.
2991 * testfileaarch64.bz2: New testfile.
2992 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
2994 2013-12-30 Mark Wielaard <mjw@redhat.com>
2996 * backtrace-dwarf.c (report_pid): Explicitly call
2997 dwfl_linux_proc_attach and check for errors.
2998 * backtrace.c (report_pid): Likewise.
3000 2013-12-21 Mark Wielaard <mjw@redhat.com>
3002 * backtrace.c (callback_verify): Only assert that case 5 is the last
3003 instruction of backtracegen on x86_64 native.
3005 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3006 Mark Wielaard <mjw@redhat.com>
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.
3027 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3042 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3044 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
3047 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3057 2013-12-10 Mark Wielaard <mjw@redhat.com>
3059 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
3061 2013-12-10 Mark Wielaard <mjw@redhat.com>
3063 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
3064 * backtrace-subr.sh (check_native_core): Disable valgrind while
3066 * run-backtrace-data.sh: Disable valgrind.
3067 * run-backtrace-dwarf.sh: Likewise.
3069 2013-12-09 Mark Wielaard <mjw@redhat.com>
3071 * varlocs.c (print_expr): Update comment to explain empty location
3072 associated with DW_OP_GNU_implicit_pointer.
3074 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3076 Fix test FAIL with -O2.
3077 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
3079 2013-12-05 Mark Wielaard <mjw@redhat.com>
3081 * backtrace-data.c (main): If unsupported also print to stderr.
3082 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
3084 2013-12-04 Mark Wielaard <mjw@redhat.com>
3086 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
3088 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
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):
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.
3126 2013-11-27 Mark Wielaard <mjw@redhat.com>
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.
3136 2013-11-26 Mark Wielaard <mjw@redhat.com>
3138 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
3140 2013-11-25 Petr Machata <pmachata@redhat.com>
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.
3151 2013-11-18 Josh Stone <jistone@redhat.com>
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.
3158 2013-11-15 Mark Wielaard <mjw@redhat.com>
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.
3170 2013-11-01 Michael Forney <mforney@mforney.org>
3172 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
3173 * run-arsymtest.sh: Use NM.
3175 2013-11-05 Mark Wielaard <mjw@redhat.com>
3177 * allfcts.c (main): Correct dwarf_getfuncs return value check.
3179 2013-10-10 Mark Wielaard <mjw@redhat.com>
3180 Josh Stone <jistone@redhat.com>
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.
3189 2013-10-15 Mark Wielaard <mjw@redhat.com>
3191 * run-unstrip-M.sh: New test.
3192 * Makefile.am (TESTS): Add run-unstrip-M.sh.
3193 (EXTRA_DIST): Likewise.
3195 2013-10-06 Mark Wielaard <mjw@redhat.com>
3197 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
3198 location expression.
3200 2013-10-03 Josh Stone <jistone@redhat.com>
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.
3207 2013-09-26 Petr Machata <pmachata@redhat.com>
3209 * run-readelf-mixed-corenote.sh: Update output of testfile71
3210 dump--readelf can newly decode the NT_FILE note.
3212 2013-09-26 Petr Machata <pmachata@redhat.com>
3214 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
3215 * run-readelf-mixed-corenote.sh: New test for this file.
3216 * testfile71.bz2: New file.
3218 2013-09-20 Mark Wielaard <mjw@redhat.com>
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.
3228 2013-08-30 Mark Wielaard <mjw@redhat.com>
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.
3251 2013-08-29 Mark Wielaard <mjw@redhat.com>
3253 * run-addrcfi.sh: Add case for EM_ARM.
3254 * testfilearm.bz2: New testfile.
3255 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
3257 2013-08-28 Mark Wielaard <mjw@redhat.com>
3259 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
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
3267 2013-08-28 Mark Wielaard <mjw@redhat.com>
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
3276 2013-08-27 Mark Wielaard <mjw@redhat.com>
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.
3286 2013-08-13 Mark Wielaard <mjw@redhat.com>
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.
3294 2013-08-12 Mark Wielaard <mjw@redhat.com>
3296 * run-addr2line-test.sh: New test.
3297 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
3300 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3302 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
3305 2013-07-02 Mark Wielaard <mjw@redhat.com>
3307 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
3308 testfilenolines.bz2.
3310 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3320 2013-05-03 Mark Wielaard <mjw@redhat.com>
3322 * testfilenolines.bz2: New test file.
3323 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
3324 * run-get-lines.sh: Run testrun_compare on testfilenolines.
3326 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3328 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
3330 2013-04-29 Mark Wielaard <mjw@redhat.com>
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.
3335 2013-04-27 Mark Wielaard <mjw@redhat.com>
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.
3342 2013-04-27 Mark Wielaard <mjw@redhat.com>
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.
3349 2013-04-27 Mark Wielaard <mjw@redhat.com>
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.
3357 2013-04-26 Mark Wielaard <mjw@redhat.com>
3359 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
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.
3371 2013-04-24 Mark Wielaard <mjw@redhat.com>
3373 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
3375 2013-03-25 Mark Wielaard <mjw@redhat.com>
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.
3382 2013-03-25 Mark Wielaard <mjw@redhat.com>
3384 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
3386 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3397 2013-03-12 Mark Wielaard <mjw@redhat.com>
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.
3405 2013-02-22 Mark Wielaard <mjw@redhat.com>
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.
3410 2013-02-15 Mark Wielaard <mjw@redhat.com>
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.
3418 2013-01-30 Mark Wielaard <mjw@redhat.com>
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.
3425 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
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 .
3433 2013-01-23 Mark Wielaard <mjw@redhat.com>
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.
3440 2013-01-16 Mark Wielaard <mjw@redhat.com>
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.
3449 2013-01-07 Roland McGrath <roland@hack.frob.com>
3451 * run-prelink-addr-test.sh: Use ln -snf.
3453 2012-12-03 Mark Wielaard <mjw@redhat.com>
3455 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
3457 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
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 .
3465 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3467 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
3468 testfile69.core.bz2 and testfile69.so.bz2 .
3470 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3476 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3478 * run-addrname-test.sh: New test for core vDSO bias.
3479 * testfile65.bz2: New file.
3481 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3483 * run-addrname-test.sh: New test for symbol preferences.
3484 * testfile64.bz2: New file.
3486 2012-10-01 Mark Wielaard <mjw@redhat.com>
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.
3493 2012-09-24 Petr Machata <pmachata@redhat.com>
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.
3500 2012-09-24 Petr Machata <pmachata@redhat.com>
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.
3507 2012-09-18 Petr Machata <pmachata@redhat.com>
3509 * testfile61.bz2: New testfile.
3510 * run-allregs.sh: Run reg_test testfile61.
3511 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
3513 2012-08-24 Mark Wielaard <mjw@redhat.com>
3515 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
3517 2012-08-22 Jeff Kenton <jkenton@tilera.com>
3519 * testfile60.bz2: New testfile.
3520 * run-allregs.sh: Run reg_test testfile60.
3522 2012-08-24 Mark Wielaard <mjw@redhat.com>
3524 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
3527 2012-08-16 Mark Wielaard <mjw@redhat.com>
3529 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
3531 * show-die-info.c (tagnames): 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.
3538 2012-06-27 Mark Wielaard <mjw@redhat.com>
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.
3549 2012-08-01 Petr Machata <pmachata@redhat.com>
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.
3556 2012-08-01 Mark Wielaard <mjw@redhat.com>
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.
3564 2012-08-01 Mark Wielaard <mjw@redhat.com>
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.
3570 2012-07-19 Mark Wielaard <mjw@redhat.com>
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.
3579 2012-07-19 Mark Wielaard <mjw@redhat.com>
3581 * run-elflint-self.sh: runtests on ../backends/*so files.
3583 2012-07-19 Mark Wielaard <mjw@redhat.com>
3585 * run-unstrip-n.sh: test_cleanup.
3586 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
3588 2012-07-11 Mark Wielaard <mjw@redhat.com>
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.
3595 2012-06-27 Mark Wielaard <mjw@redhat.com>
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.
3604 2012-07-17 Mark Wielaard <mjw@redhat.com>
3606 * testcore-rtlib-ppc.bz2: New testfile.
3607 * run-unstrip-n.sh: Check new ppc core testfile.
3609 2012-06-26 Mike Frysinger <vapier@gentoo.org>
3611 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
3613 2012-06-26 Mark Wielaard <mjw@redhat.com>
3615 * run-macro-test.sh: New test.
3616 * testfile-macinfo.bz2: New testfile.
3617 * testfile-macros.bz2: Likewise.
3619 2012-05-07 Mark Wielaard <mjw@redhat.com>
3621 * low_high_pc.c: Use proper inttypes in printf formats.
3623 2012-05-11 Mark Wielaard <mjw@redhat.com>
3625 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
3627 2012-05-07 Mark Wielaard <mjw@redhat.com>
3629 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
3631 2012-04-27 Mark Wielaard <mjw@redhat.com>
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.
3639 2012-04-26 Mark Wielaard <mjw@redhat.com>
3641 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
3642 * run-show-ciefde.sh: Removed old libdwarf test.
3643 * show-ciefde.c: Likewise.
3645 2012-04-02 Mark Wielaard <mjw@redhat.com>
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.
3652 2012-04-02 Mark Wielaard <mjw@redhat.com>
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.
3659 2012-03-21 Tom Tromey <tromey@redhat.com>
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.
3669 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
3671 * run-alldts.sh: testrun ./alldts.
3673 2012-02-21 Roland McGrath <roland@hack.frob.com>
3675 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
3676 * test-subr.sh (installed_testrun): Likewise.
3678 2012-01-18 Roland McGrath <roland@hack.frob.com>
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>.
3686 2011-07-09 Roland McGrath <roland@hack.frob.com>
3688 * sha1-tst.c: File removed.
3689 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
3690 (sha1_tst_LDADD): Variable removed.
3692 * md5-sha1-test.c: New file.
3693 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
3694 (md5_sha1_test_LDADD): New variable.
3696 2011-05-30 Mark Wielaard <mjw@redhat.com>
3698 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
3699 run-rerequest_tag.sh
3701 2011-05-24 Mark Wielaard <mjw@redhat.com>
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.
3707 2011-05-23 Mark Wielaard <mjw@redhat.com>
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.
3717 2011-05-18 Mark Wielaard <mjw@redhat.com>
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.
3725 2011-03-28 Marek Polacek <mpolacek@redhat.com>
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.
3732 2011-03-02 Marek Polacek <mpolacek@redhat.com>
3734 * dwarf-getstring.c: New test.
3735 * run-dwarf-getstring.sh: And its wrapper.
3736 * Makefile.am (EXTRA_DIST): Add and update all.
3738 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3740 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
3741 * run-readelf-twofiles.sh: New file.
3743 2011-02-25 Mark Wielaard <mjw@redhat.com>
3745 * Makefile.am (BUILD_RPATH): Be consistent in naming.
3747 2011-02-02 Josh Stone <jistone@redhat.com>
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.
3755 2011-01-12 Roland McGrath <roland@redhat.com>
3757 * run-prelink-addr-test.sh: Make symlinks to find .debug files
3758 corresponding to .noshdrs files.
3760 2011-01-11 Josh Stone <jistone@redhat.com>
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.
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.
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.
3788 2011-01-10 Josh Stone <jistone@redhat.com>
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.
3798 2010-06-04 Roland McGrath <roland@redhat.com>
3800 * run-unstrip-test.sh: Also test modifying the file in place.
3802 2010-04-22 Roland McGrath <roland@redhat.com>
3804 * addrcfi.c (handle_cfi): Fix function name in error message.
3805 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
3807 2010-04-14 Roland McGrath <roland@redhat.com>
3809 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
3811 2010-04-10 Ulrich Drepper <drepper@redhat.com>
3813 * msg_tst.c: Adjust expected error message.
3815 2010-04-01 Petr Machata <pmachata@redhat.com>
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.
3822 2010-02-15 Roland McGrath <roland@redhat.com>
3824 * Makefile.am: Use config/eu.am for common stuff.
3826 * asm-tst9.c (main): Rename local to avoid shadowing another local.
3828 2009-07-22 Roland McGrath <roland@redhat.com>
3830 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
3832 2009-07-08 Roland McGrath <roland@redhat.com>
3834 * addrcfi.c: New file.
3835 * Makefile.am (noinst_PROGRAMS): Add it.
3836 (addrcfi_LDADD): New variable.
3838 2009-05-07 Petr Machata <pmachata@redhat.com>
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.
3846 2009-04-23 Ulrich Drepper <drepper@redhat.com>
3848 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
3849 (rdwrmmap_LDADD): Add $(libmudflap).
3851 2009-04-21 Roland McGrath <roland@redhat.com>
3853 * testfile50.bz2: New data file.
3854 * Makefile.am (EXTRA_DIST): Add it.
3855 * run-dwfl-addr-sect.sh: Add a case using it.
3857 2008-12-31 Ulrich Drepper <drepper@redhat.com>
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.
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.
3875 2008-12-30 Ulrich Drepper <drepper@redhat.com>
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.
3882 2008-12-19 Ulrich Drepper <drepper@redhat.com>
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.
3889 2008-11-26 Roland McGrath <roland@redhat.com>
3891 * dwfl-bug-getmodules.c: New file.
3892 * Makefile.am (noinst_PROGRAMS): Add it.
3893 (dwfl_bug_getmodules_LDADD): New variable.
3895 2008-09-10 Roland McGrath <roland@redhat.com>
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.
3901 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
3903 * run-addrname-test.sh: Add a new case.
3904 * testfile49.bz2: New data file.
3905 * Makefile.am (EXTRA_DIST): Add it.
3907 2008-04-10 Roland McGrath <roland@redhat.com>
3909 * testfile48.bz2, testfile48.bz2.debug: New data files.
3910 * Makefile.am (EXTRA_DIST): Add them.
3911 * run-strip-test8.sh: Use them.
3913 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
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.
3920 2008-03-31 Roland McGrath <roland@redhat.com>
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.
3927 2008-03-19 Roland McGrath <roland@redhat.com>
3929 * run-addrname-test.sh: Add a new case.
3931 2008-02-22 Roland McGrath <roland@redhat.com>
3933 * run-elflint-test.sh: Typo fix.
3935 2008-02-21 Roland McGrath <roland@redhat.com>
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.
3941 2008-02-20 Roland McGrath <roland@redhat.com>
3943 * testfile46.bz2: New data file.
3944 * Makefile.am (EXTRA_DIST): Add it.
3945 * run-elflint-test.sh: Test on it.
3947 2008-02-01 Ulrich Drepper <drepper@redhat.com>
3949 * Makefile.am: Hook up sha1-tst.c.
3950 * sha1-tst.c: New file.
3952 2008-01-21 Roland McGrath <roland@redhat.com>
3954 * testfile45.S.bz2: Add tests for cltq, cqto.
3955 * testfile45.expect.bz2: Adjust.
3957 2008-01-14 Ulrich Drepper <drepper@redhat.com>
3959 * testfile45.S.bz2: Add more tests.
3960 * testfile45.expect.bz2: Adjust.
3962 2008-01-11 Ulrich Drepper <drepper@redhat.com>
3964 * testfile45.expect.bz2: Adjust for adding of address for %rip based
3967 2008-01-10 Ulrich Drepper <drepper@redhat.com>
3969 * testfile45.S.bz2: Add more tests.
3970 * testfile45.expect.bz2: Adjust.
3972 2008-01-08 Ulrich Drepper <drepper@redhat.com>
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.
3983 2008-01-04 Ulrich Drepper <drepper@redhat.com>
3985 * testfile44.S.bz2: New tests.
3986 * testfile44.expect.bz2: Adjust.
3988 2008-01-04 Roland McGrath <roland@redhat.com>
3990 * dwfl-bug-fd-leak.c (main): Add a cast.
3992 2008-01-03 Ulrich Drepper <drepper@redhat.com>
3994 * testfile44.S.bz2: New tests.
3995 * testfile44.expect.bz2: Adjust.
3997 2008-01-01 Ulrich Drepper <drepper@redhat.com>
3999 * line2addr.c: Use %m modifier instead of %a to appease gcc.
4001 2008-01-01 Ulrich Drepper <drepper@redhat.com>
4003 * testfile44.S.bz2: New tests.
4004 * testfile44.expect.bz2: Adjust.
4006 2007-12-31 Ulrich Drepper <drepper@redhat.com>
4008 * testfile44.S.bz2: New tests.
4009 * testfile44.expect.bz2: Adjust.
4011 2007-12-30 Ulrich Drepper <drepper@redhat.com>
4013 * testfile44.S.bz2: New tests.
4014 * testfile44.expect.bz2: Adjust.
4016 2007-12-29 Ulrich Drepper <drepper@redhat.com>
4018 * testfile44.s.bz2: New tests.
4019 * testfile44.expect.bz2: Adjust.
4021 2007-12-28 Ulrich Drepper <drepper@redhat.com>
4023 * testfile44.S.bz2: New tests.
4024 * testfile44.expect.bz2: Adjust.
4026 2007-12-27 Ulrich Drepper <drepper@redhat.com>
4028 * testfile44.S.bz2: New tests.
4029 * testfile44.expect.bz2: Adjust.
4031 2007-12-26 Ulrich Drepper <drepper@redhat.com>
4033 * testfile44.S.bz2: New tests.
4034 * testfile44.expect.bz2: Adjust
4036 2007-12-21 Ulrich Drepper <drepper@redhat.com>
4038 * testfile44.S.bz2: More tests.
4039 * testfile44.expect.bz2: Adjust appropriately.
4041 2007-12-19 Ulrich Drepper <drepper@redhat.com>
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.
4050 2007-12-15 Roland McGrath <roland@redhat.com>
4052 * run-allregs.sh: Change expected output for powerpc spefscr.
4054 2007-10-20 Roland McGrath <roland@redhat.com>
4056 * run-dwfl-addr-sect.sh: Change expected output, no errors.
4058 2007-10-19 Roland McGrath <roland@redhat.com>
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.
4067 2007-10-18 Roland McGrath <roland@redhat.com>
4069 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
4071 2007-10-16 Roland McGrath <roland@redhat.com>
4073 * test-subr.sh (remove_files): Don't pass -Bb to diff.
4075 2007-10-09 Roland McGrath <roland@redhat.com>
4077 * dwflmodtest.c (print_module): Don't use %p in output.
4078 * run-dwfl-bug-offline-rel.sh: Updated expected output.
4080 2007-10-08 Roland McGrath <roland@redhat.com>
4082 * testfile42.bz2: New data file.
4083 * Makefile.am (EXTRA_DIST): Add it.
4084 * run-elflint-test.sh: New test on that file.
4086 2007-10-04 Roland McGrath <roland@redhat.com>
4088 * run-readelf-test4.sh: New file.
4089 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4091 2007-10-03 Roland McGrath <roland@redhat.com>
4093 * run-readelf-test3.sh: New file.
4094 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4096 2007-10-01 Roland McGrath <roland@redhat.com>
4098 * run-readelf-test2.sh: New file.
4099 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4101 2007-09-11 Roland McGrath <roland@redhat.com>
4103 * run-addrname-test.sh: Add a new case.
4104 * testfile41.bz2: New data file.
4105 * Makefile.am (EXTRA_DIST): Add it.
4107 2007-08-23 Roland McGrath <roland@redhat.com>
4109 * run-allregs.sh: Update expected x86-64 output for %rflags.
4111 2007-08-12 Roland McGrath <roland@redhat.com>
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.
4119 2007-08-09 Roland McGrath <roland@redhat.com>
4121 * dwfl-bug-report.c: Fix header inclusion.
4123 2007-08-08 Roland McGrath <roland@redhat.com>
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.
4129 2007-07-16 Roland McGrath <roland@redhat.com>
4131 * dwfl-bug-report.c: New file.
4132 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
4133 (dwfl_bug_report_LDADD): New variable.
4135 2007-06-06 Roland McGrath <roland@redhat.com>
4137 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
4139 2007-06-05 Ulrich Drepper <drepper@redhat.com>
4141 * Makefile.am (EXTRA_DIST): Add missing line continuation and
4142 testfile37.bz and testfile37.debug.bz2.
4144 2007-05-23 Roland McGrath <roland@redhat.com>
4146 * run-allregs.sh: Update expected Alpha results.
4148 2007-05-18 Roland McGrath <roland@redhat.com>
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.
4156 2007-05-10 Roland McGrath <roland@redhat.com>
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.
4163 2007-04-28 Roland McGrath <roland@redhat.com>
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.
4171 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
4173 2007-04-26 Roland McGrath <roland@redhat.com>
4175 * run-elflint-self.sh: Run all tests even if one fails.
4177 * run-allregs.sh: Add expected output for alpha.
4179 2007-04-24 Roland McGrath <roland@redhat.com>
4181 * run-strip-test.sh: When we saved the debug info, test unstrip too.
4183 2007-04-22 Roland McGrath <roland@redhat.com>
4185 * run-allregs.sh: Update expected register info.
4187 2007-04-16 Roland McGrath <roland@redhat.com>
4189 * dwfl-addr-sect.c: New file.
4190 * Makefile.am (noinst_PROGRAMS): Add it.
4191 (dwfl_addr_sect_LDADD): New variable.
4193 2007-04-05 Roland McGrath <roland@redhat.com>
4195 * get-files.c: Test dwarf_getsrcdirs.
4196 * run-get-files.sh: Update expected output.
4198 2007-04-01 Roland McGrath <roland@redhat.com>
4200 * run-allregs.sh: Updated expected output for x86_64.
4202 2007-03-04 Roland McGrath <roland@redhat.com>
4204 * dwfl-bug-fd-leak.c: New file.
4205 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
4206 (dwfl_bug_fd_leak_LDADD): New variable.
4208 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
4209 show what files have been located.
4211 2007-02-02 Roland McGrath <roland@redhat.com>
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.
4218 2007-01-20 Roland McGrath <roland@redhat.com>
4220 * testfile33.bz2: New data file.
4221 * Makefile.am (EXTRA_DIST): Add it.
4222 * run-elflint-test.sh: Test on it too.
4224 2007-01-18 Roland McGrath <roland@redhat.com>
4226 * Makefile.am (CFLAGS): Don't molest it.
4228 2007-01-11 Roland McGrath <roland@redhat.com>
4230 * testfile32.bz2: New data file.
4231 * Makefile.am (EXTRA_DIST): Add it.
4232 * run-elflint-test.sh: Test on it too.
4234 2007-02-04 Ulrich Drepper <drepper@redhat.com>
4237 * Makefile (noinst_PROGRAMS): Add arls.
4239 * run-ranlib-test2.sh: Fix type in comment.
4241 2007-01-10 Ulrich Drepper <drepper@redhat.com>
4243 * run-elflint-self.sh (runtest): Show which file has the problem.
4245 2007-01-10 Roland McGrath <roland@redhat.com>
4247 * dwfl-bug-addr-overflow.c: New file.
4248 * Makefile.am (TESTS): Add it.
4249 (dwfl_bug_addr_overflow_LDADD): New variable.
4251 2006-12-17 Roland McGrath <roland@redhat.com>
4253 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
4255 2006-09-05 Roland McGrath <roland@redhat.com>
4257 * run-strings-test.sh: Export LC_ALL=C for the test.
4259 2006-08-29 Roland McGrath <roland@redhat.com>
4261 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
4262 * run-arsymtest.sh: Likewise.
4264 * run-native-test.sh (native.c compilation): Add some braces.
4266 2006-08-22 Roland McGrath <roland@redhat.com>
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.
4275 2006-08-03 Roland McGrath <roland@redhat.com>
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.
4282 2006-07-21 Roland McGrath <roland@redhat.com>
4284 * allregs.c (struct reginfo): Increase size of name.
4285 (one_register): Assert that it's big enough.
4287 2006-04-04 Roland McGrath <roland@redhat.com>
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.
4294 2006-04-04 Ulrich Drepper <drepper@redhat.com>
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.
4302 2006-03-09 Roland McGrath <roland@redhat.com>
4304 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
4306 2006-03-01 Roland McGrath <roland@redhat.com>
4308 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
4309 changes matching 3.0 spec.
4311 2006-01-13 Roland McGrath <roland@redhat.com>
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.
4316 2006-01-11 Roland McGrath <roland@redhat.com>
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.
4323 2005-12-14 Roland McGrath <roland@redhat.com>
4325 * run-native-test.sh: Redirect output from native test process.
4327 2005-12-13 Roland McGrath <roland@redhat.com>
4329 * allregs.c (main): Fail if we find no registers.
4331 * run-native-test.sh: New file.
4332 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4334 2005-12-10 Ulrich Drepper <drepper@redhat.com
4336 * run-readelf-test1.sh: New file.
4337 * Makefile.am (TESTS): Add run-readelf-test1.sh.
4338 (EXTRA_DIST): Likewise.
4340 2005-12-07 Roland McGrath <roland@redhat.com>
4342 * ecp.c (main): Use elf_end to clean up.
4344 2005-11-25 Roland McGrath <roland@redhat.com>
4346 * coverage.sh: Given -v argument, print names of unused files.
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.
4355 * run-allregs.sh: New file.
4356 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4358 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
4359 * Makefile.am (allregs_LDADD): Updated.
4361 * allregs.c: New file.
4362 * Makefile.am (noinst_PROGRAMS): Add it.
4363 (allregs_LDADD): New variable.
4365 2005-11-18 Roland McGrath <roland@redhat.com>
4367 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
4368 * test-wrapper.sh: Likewise.
4370 2005-11-17 Roland McGrath <roland@redhat.com>
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}.
4378 * Makefile.am (installcheck-local): Fix typo in last change.
4380 2005-11-16 Roland McGrath <roland@redhat.com>
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.
4418 * dwflmodtest.c (print_instance): Don't use INTUSE.
4419 (options): Don't use N_ macro.
4421 2005-11-15 Roland McGrath <roland@redhat.com>
4423 * coverage.sh: Look in backends.
4424 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
4425 (TESTS_ENVIRONMENT): Likewise.
4427 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
4428 pass FUNCDIE direclty to dwfl_module_return_value_location.
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.
4440 2005-11-14 Roland McGrath <roland@redhat.com>
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.
4469 2005-11-13 Roland McGrath <roland@redhat.com>
4471 * funcretval.c: New file.
4472 * Makefile.am (noinst_PROGRAMS): Add it.
4473 (funcretval_LDADD): New variable.
4475 2005-11-09 Ulrich Drepper <drepper@redhat.com>
4477 * line2addr.c (handle_module): Add missing parameter to printf.
4479 2005-10-27 Roland McGrath <roland@redhat.com>
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.
4486 2005-10-27 Roland McGrath <roland@redhat.com>
4488 * run-find-prologues.sh: New file.
4489 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4491 * find-prologues.c (handle_function): Skip inlines.
4493 2005-10-25 Roland McGrath <roland@redhat.com>
4495 * find-prologues.c: New file.
4496 * Makefile.am (noinst_PROGRAMS): Add it.
4497 (find_prologues_LDADD): New variable.
4499 2005-09-02 Ulrich Drepper <drepper@redhat.com>
4501 * run-strings-test.sh: Remove strings.out in the end.
4503 2005-08-31 Ulrich Drepper <drepper@redhat.com>
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.
4523 2005-08-30 Ulrich Drepper <drepper@redhat.com>
4525 * coverage.sh: Handle case where there is no .gcno file at all.
4527 2005-08-29 Ulrich Drepper <drepper@redhat.com>
4529 * Makefile.am (EXTRA_DIST): Add coverage.
4530 [GCOV]: Generate coverage summary after the tests ran
4531 * coverage.sh: New file.
4533 2005-08-28 Ulrich Drepper <drepper@redhat.com>
4535 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
4536 (CLEANFILES): Add *.gcno *.gcda *.gconv.
4538 2005-08-28 Ulrich Drepper <drepper@redhat.com>
4540 * run-strings-test.sh: New file.
4541 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4543 2005-08-27 Roland McGrath <roland@redhat.com>
4545 * addrscopes.c (handle_address): Apply bias to PC addresses.
4547 * run-funcscopes.sh: New file.
4548 * testfile25.bz2: New data file.
4549 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4551 2005-08-26 Roland McGrath <roland@redhat.com>
4553 * addrscopes.c (dwarf_diename_integrate): Removed.
4554 (print_vars, handle_address): Use plain dwarf_diename.
4556 2005-08-25 Roland McGrath <roland@redhat.com>
4558 * funcscopes.c: New file.
4559 * Makefile.am (noinst_PROGRAMS): Add it.
4560 (funcscopes_LDADD): New variable.
4562 * run-addrscopes.sh: Add another case.
4563 * testfile24.bz2: New data file.
4564 * Makefile.am (EXTRA_DIST): Add it.
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.
4570 2005-08-24 Roland McGrath <roland@redhat.com>
4572 * line2addr.c (print_address): Omit () for DSOs.
4574 2005-08-24 Ulrich Drepper <drepper@redhat.com>
4576 * run-line2addr.sh: Remove testfile23 in the end.
4578 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
4579 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
4581 2005-08-22 Roland McGrath <roland@redhat.com>
4583 * run-line2addr.sh: Add a case.
4584 * testfile23.bz2: New data file.
4585 * Makefile.am (EXTRA_DIST): Add it.
4587 2005-08-18 Roland McGrath <roland@redhat.com>
4589 * run-addrscopes.sh: New file.
4590 * testfile22.bz2: New data file.
4591 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4593 * addrscopes.c: New file.
4594 * Makefile.am (noinst_PROGRAMS): Add it.
4595 (addrscopes_LDADD): New variable.
4597 2005-08-15 Ulrich Drepper <drepper@redhat.com>
4599 * run-elflint-self.sh: Don't run test if the file doesn't exist.
4601 2005-08-15 Roland McGrath <roland@redhat.com>
4603 * dwflmodtest.c (print_instance, print_inline): New functions.
4604 (print_func): Call print_inline.
4605 (options, parse_opt): Grok -i/--inlines.
4607 2005-08-07 Roland McGrath <roland@redhat.com>
4609 * dwflmodtest.c: Print function details only if -f flag is given.
4611 2005-08-06 Ulrich Drepper <drepper@redhat.com>
4613 * run-elflint-self.sh: New file.
4614 * Makefile.am (TESTS): Add run-elflint-self.sh.
4615 (EXTRA_DIST): Likewise.
4617 * Makefile.am: Link with statis libs if BUILD_STATIC.
4618 (dwflmodtest_LDADD): Also link with -ldl.
4620 2005-08-02 Ulrich Drepper <drepper@redhat.com>
4622 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
4623 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
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.
4634 * msg_tst.c: Add new error message.
4636 2005-07-28 Ulrich Drepper <drepper@redhat.com>
4638 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
4640 2005-06-01 Roland McGrath <roland@redhat.com>
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.
4648 2005-07-28 Roland McGrath <roland@redhat.com>
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.
4655 2005-07-21 Ulrich Drepper <drepper@redhat.com>
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.
4662 2005-05-24 Ulrich Drepper <drepper@redhat.com>
4664 * get-files.c (main): Use correct format specifier.
4666 2005-05-21 Ulrich Drepper <drepper@redhat.com>
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.
4681 2005-05-08 Ulrich Drepper <drepper@redhat.com>
4683 * run-line2addr.sh: Remove testfile14 at the end.
4685 * run-strip-test.sh: Remove debuginfo test input file as well.
4687 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
4690 2005-05-03 Roland McGrath <roland@redhat.com>
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.
4707 2005-04-25 Ulrich Drepper <drepper@redhat.com>
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.
4714 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
4716 2005-04-04 Roland McGrath <roland@redhat.com>
4718 * line2addr.c (main): Initialize LINES and NLINES before calling
4719 dwarf_getsrc_file, and free LINES afterwards.
4721 * allfcts.c (main): Use size_t for CUHL.
4723 2005-04-04 Ulrich Drepper <drepper@redhat.com>
4725 * line2addr.c: New file.
4726 * run-line2addr.sh: New file.
4727 * Makefile.am: Add rules to build, run, and distribute new code.
4729 2005-04-02 Ulrich Drepper <drepper@redhat.com>
4731 * allfcts.c: New file.
4732 * run-allfcts.sh: New file.
4733 * Makefile.am: Add rules to build, run, and distribute new code.
4735 2005-02-05 Ulrich Drepper <drepper@redhat.com>
4737 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
4738 programs with -lmudflap.
4740 2004-09-25 Ulrich Drepper <drepper@redhat.com>
4742 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
4743 * asm-tst5.c (main): Likewise.
4744 * asm-tst6.c (main): Likewise.
4746 2004-01-17 Ulrich Drepper <drepper@redhat.com>
4748 * Makefile.am: Support building with mudflap.
4750 2004-01-12 Ulrich Drepper <drepper@redhat.com>
4752 * get-aranges.c: Rewrite to use libdw.
4753 * Makefile.am: Reenable get-aranges test.
4755 2004-01-11 Ulrich Drepper <drepper@redhat.com>
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.
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.
4768 2004-01-09 Ulrich Drepper <drepper@redhat.com>
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.
4774 2003-08-13 Ulrich Drepper <drepper@redhat.com>
4776 * Makefile.in: Depend on libebl.a, not libebl.so.
4778 2003-08-11 Ulrich Drepper <drepper@redhat.com>
4780 * Moved to CVS archive.