1 2023-01-19 Mark Wielaard <mark@klomp.org>
3 * run-debuginfod-query-retry.sh: Use libdebuginfod.so.1 instead
4 of /bin/sh as test file.
6 2022-12-21 Shahab Vahedi <shahab@synopsys.email>
8 * hello_arc_hs4.ko.bz2: New testfile.
9 * run-strip-reloc.sh: Add ARC HS4 test.
10 * Makefile.am (EXTRA_DIST): Add hello_arc_hs4.ko.bz2.
12 2022-11-01 Aaron Merey <amerey@redhat.com>
14 * run-debuginfod-section.sh (RPM_BUILDID): Use buildid from non-zstd
17 2022-10-31 Aaron Merey <amerey@redhat.com>
19 * Makefile.am (TESTS): Add run-debuginfod-section.sh.
20 * run-debuginfod-section.sh: New test.
22 2022-09-20 Yonggang Luo <luoyonggang@gmail.com>
24 * Makefile.am (EXTRA_DIST): Remove debuginfod-rpms/hello2.spec.
25 Add debuginfod-rpms/hello{2,3}.specfile.
26 * tests/debuginfod-rpms/hello2.spec.: Renamed to...
27 * tests/debuginfod-rpms/hello2.specfile: ...this.
28 * tests/debuginfod-rpms/hello3.spec.: Renamed to...
29 * tests/debuginfod-rpms/hello3.specfile: ...this.
31 2022-10-28 Arsen Arsenović <arsen@aarsen.me>
33 * run-readelf-s.sh: Add tests for the --syms alias.
35 2022-10-27 Mark Wielaard <mark@klomp.org>
37 * backtrace-subr.sh: Use grep -E instead of egrep, use grep -F
39 * debuginfod-subr.sh: Likewise.
40 * run-debuginfod-archive-rename.sh: Likewise.
41 * run-debuginfod-extraction-passive.sh: Likewise.
42 * run-debuginfod-response-headers.sh: Likewise.
43 * run-debuginfod-webapi-concurrency.sh: Likewise.
44 * run-strip-test.sh: Likewise.
46 2022-10-16 Mark Wielaard <mark@klomp.org>
48 * dwfl-report-offline-memory.c: Include config.h first.
50 2022-10-16 Mark Wielaard <mark@klomp.org>
52 * dwfl-report-offline-memory.c (main): Check lseek, read and malloc
53 results with correct types.
55 2022-09-13 Aleksei Vetrov <vvvvvv@google.com>
57 * Makefile.am (check_PROGRAMS): Add dwfl-report-offline-memory.
58 (TESTS): Add run-dwfl-report-offline-memory.sh.
59 (EXTRA_DIST): Likewise.
60 (dwfl_report_offline_memory_LDADD): New variable.
61 * dwfl-report-offline-memory.c: New file.
62 * run-dwfl-report-offline-memory.sh: Likewise.
64 2022-09-13 Khem Raj <raj.khem@gmail.com>
66 * Makefile.am (*_LDADD): Add libeu if needed for error.
68 2022-08-26 Mark Wielaard <mark@klomp.org>
70 * run-ar-N.sh: New test.
71 * Makefile.am (TESTS): Add run-ar-N.sh.
72 (EXTRA_DIST): Likewise.
74 2022-09-02 Frank Ch. Eigler <fche@redhat.com>
76 * run-debuginfod-response-headers.sh: Use case-insensitive
77 header name matches. Use socat & sleep for greater
79 * run-debuginfod-sizetime.sh: Update for debuginfod-find -v -v.
81 2022-07-15 Noah Sanci <nsanci@redhat.com>
83 * run-debuginfod-response-headers.sh: Added test
84 to ensure that federated servers pass headers down to
87 2022-08-04 Sergei Trofimovich <slyich@gmail.com>
89 * low_high_pc.c (handle_die): Drop redundant 'lx' suffix.
91 2022-08-01 Mark Wielaard <mark@klomp.org>
93 * run-debuginfod-percent-escape.sh: Add initial scan wait_ready.
95 2022-04-28 Di Chen <dichen@redhat.com>
97 * run-readelf-Dd.sh: New test.
98 * Makefile.am (TESTS): Add run-readelf-Dd.sh.
99 (EXTRA_DIST): Likewise.
101 2022-06-01 Mark Wielaard <mark@klomp.org>
103 * testfile-arm-flags.bz2: New test file.
104 * run-readelf-arm-flags.sh: New test.
105 * Makefile.am (TESTS): Add run-readelf-arm-flags.sh.
106 (EXTRA_DIST): Add readelf-arm-flags.sh and testfile-arm-flags.bz2
108 2022-05-13 Noah Sanci <nsanci@redhat.com>
110 * run-debuginfod-fd-prefetch-caches.sh: Rewritten.
112 2022-06-02 Mark Wielaard <mark@klomp.org>
114 * Makefile.am (TESTS): Add run-debuginfod-federation-metrics.sh
115 only when OLD_LIBMICROHTTPD conditional is not set.
117 2022-04-24 Mark Wielaard <mark@klomp.org>
119 * run-debuginfod-webapi-concurrency.sh: Fix PR number in xfail.
121 2022-04-23 Mark Wielaard <mark@klomp.org>
123 * run-debuginfod-webapi-concurrency.sh: Lower parallel lookups.
125 2022-03-01 Di Chen <dichen@redhat.com>
127 * alldts.c (dtflags): Put DT_NULL last.
128 * run-alldts.sh: NULL comes last.
129 * run-readelf-d.sh: Adjust Dynamic entries, remove DT_NULL
132 2022-04-14 Mark Wielaard <mark@klomp.org>
134 * run-debuginfod-federation-sqlite.sh: Don't try to corrupt
137 2022-04-13 Aaron Merey <amerey@redhat.com>
139 * Makefile.am (TESTS): Remove run-debuginfod-000-permission.sh
140 and add run-debuginfod-negative-cache.sh.
141 (EXTRA_DIST): Likewise.
142 * run-debuginfod-federation-link.sh: Update comments about
144 * run-debuginfod-federation-metrics.sh: Likewise.
145 * run-debuginfod-federation-sqlite.sh: Likewise.
146 * run-debuginfod-tmp-home.sh: Likewise.
148 2022-03-20 Mark Wielaard <mark@klomp.org>
150 * run-large-elf-file.sh: Check elf class of addsections binary.
152 2021-12-17 Mark Wielaard <mark@klomp.org>
154 * run-debuginfod-query-retry.sh: Use /bin/sh instead of /bin/ls.
156 2021-12-09 Frank Ch. Eigler <fche@redhat.com>
158 * debuginfod-subr.sh (xfail): New proc.
159 * run-debuginfod-webapi-concurrency.sh: New test for -C.
160 * Makefile.am: List it.
162 2021-12-04 Mark Wielaard <mark@klomp.org>
164 * Makefile.am (EXTRA_NLIST_CFLAGS): New variable depends on
165 USE_ADDRESS_SANITIZER.
166 (test_nlist_CFLAGS): Add EXTRA_NLIST_CFLAGS.
168 2021-12-04 Mark Wielaard <mark@klomp.org>
170 * varlocs.c (dwarf_encoding_string): Return "<unknown encoding>" instead
172 (dwarf_tag_string): Return "<unknown tag>" instead of NULL.
173 (dwarf_attr_string): Return "<unknown attr>" instead of NULL.
174 (dwarf_form_string): Return "<unknown form>" instead of NULL.
175 (dwarf_opcode_string): Return "<unknown opcode>" instead of NULL.
176 (print_expr): Remove assert.
178 2021-11-18 Mark Wielaard <mark@klomp.org>
180 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add -rdynamic.
182 2021-11-11 Mark Wielaard <mark@klomp.org>
184 * run-debuginfod-000-permission.sh: Don't set DEBUGINFOD_TIMEOUT.
185 * run-debuginfod-archive-groom.sh: Likewise.
186 * run-debuginfod-archive-rename.sh: Likewise.
187 * run-debuginfod-archive-test.sh: Likewise.
188 * run-debuginfod-artifact-running.sh: Likewise.
189 * run-debuginfod-dlopen.sh: Likewise.
190 * run-debuginfod-extraction.sh: Likewise.
191 * run-debuginfod-federation-link.sh: Likewise.
192 * run-debuginfod-federation-metrics.sh: Likewise.
193 * run-debuginfod-federation-sqlite.sh: Likewise.
194 * run-debuginfod-malformed.sh: Likewise.
195 * run-debuginfod-tmp-home.sh: Likewise.
196 * run-debuginfod-writable.sh: Likewise.
198 2021-11-05 Frank Ch. Eigler <fche@redhat.com>
201 * run-debuginfod-extraction-passive.sh: New test.
202 * Makefile.am (TESTS, EXTRA_DIST): Add it.
204 2021-10-20 John M Mellor-Crummey <johnmc@rice.edu>
206 * nvidia_extended_linemap_libdw.c: New file.
207 * run-nvidia-extended-linemap-libdw.sh: New test.
208 * run-nvidia-extended-linemap-readelf.sh: Likewise.
209 * testfile_nvidia_linemap.bz2: New test file.
210 * .gitignore: Add nvidia_extended_linemap_libdw.
211 * Makefile.am (check_PROGRAMS): Add nvidia_extended_linemap_libdw.
212 (TESTS): Add run-nvidia-extended-linemap-libdw.sh and
213 run-nvidia-extended-linemap-readelf.sh
214 (EXTRA_DIST): Likewise and testfile_nvidia_linemap.bz2.
215 (nvidia_extended_linemap_libdw_LDADD): New variable.
217 2021-11-08 Mark Wielaard <mark@klomp.org>
219 * Makefile.am (TESTS): Add run-readelf-fat-lto.sh.
220 (EXTRA_DIST): Add run-readelf-fat-lto.sh and
221 testfile-dwarf5-fat-lto.o.bz2.
222 * run-readelf-fat-lto.sh: New test.
223 * testfile-dwarf5-fat-lto.o.bz2: New test file.
225 2021-11-04 Frank Ch. Eigler <fche@redhat.com>
228 * run-debuginfod-archive-groom.sh: Look for new groom metric.
230 2021-10-23 Frank Ch. Eigler <fche@redhat.com>
233 * run-debuginfod-000-permission.sh, -writable.sh:
234 Correct negative-cache file permission checking.
236 2021-10-06 Mark Wielaard <mark@klomp.org>
238 * show-die-info.c (handle): Handle dwarf_attr_string returning NULL.
240 2021-10-06 Di Chen <dichen@redhat.com>
243 * run-debuginfod-000-permission.sh: Expect artifacttype metrics.
245 2021-09-17 Noah Sanci <nsanci@redhat.com>
247 * run-debuginfod-response-header.sh: removed checking for Connection
248 and Cache-Control in response headers.
250 2021-09-08 Mark Wielaard <mark@klomp.org>
252 * run-varlocs-vars.sh: New test.
253 * testfile-vars-clang-dwarf4-32.o.bz2: New test file.
254 * testfile-vars-clang-dwarf4-64.o.bz2: Likewise.
255 * testfile-vars-clang-dwarf5-32.o.bz2: Likewise.
256 * testfile-vars-clang-dwarf5-64.o.bz2: Likewise.
257 * testfile-vars-gcc-dwarf4-32.o.bz2: Likewise.
258 * testfile-vars-gcc-dwarf4-64.o.bz2: Likewise.
259 * testfile-vars-gcc-dwarf5-32.o.bz2: Likewise.
260 * testfile-vars-gcc-dwarf5-64.o.bz2: Likewise.
261 * Makefile.am (EXTRA_DIST): Add new test and test files.
262 (TESTS): Add run-varlocs-vars.sh.
264 2021-09-09 Mark Wielaard <mark@klomp.org>
266 * debuginfod-subr.sh: set -o functrace.
267 (cleanup): Disable trap 0.
268 (err): Disable trap ERR.
269 * run-debuginfod-fd-prefetch-caches.sh: Use || true when grep -c fails.
271 2021-09-09 Mark Wielaard <mark@klomp.org>
273 * debuginfod-subr.sh: set -o errtrace.
274 (cleanup): Don't fail kill or wait. Only trap on normal exit.
275 (err): Don't fail curl metrics. Call cleanup.
276 * run-debuginfod-federation-link.sh: Use separate client caches
277 for both servers and debuginfod client. Remove duplicate valgrind
279 * run-debuginfod-federation-metrics.sh: Likewise.
280 * run-debuginfod-federation-sqlite.sh: Likewise.
282 2021-09-13 Noah Sanci <nsanci@redhat.com>
284 * Makefile.am: added run-debuginfod-percent-escape.sh to TESTS and
287 2021-09-06 Dmitry V. Levin <ldv@altlinux.org>
289 * elfcopy.c (copy_elf): Remove cast of malloc return value.
291 2021-09-07 Mark Wielaard <mark@klomp.org>
293 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom
294 cycle before making any changes to the scan dirs.
295 * run-debuginfod-archive-rename.sh: Likewise.
296 * run-debuginfod-artifact-running.sh: Wait for initial scan cycle
297 before making any changes to the scan dirs.
298 * run-debuginfod-dlopen.sh: Likewise.
299 * run-debuginfod-extraction.sh: Likewise.
300 * run-debuginfod-federation-link.sh: Don't wait twice for the initial
303 2021-09-06 Mark Wielaard <mark@klomp.org>
305 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom
307 * run-debuginfod-archive-rename.sh: Likewise.
308 * run-debuginfod-federation-sqlite.sh: Likewise.
309 * run-debuginfod-archive-test.sh: Wait for initial scan cycle.
310 * run-debuginfod-artifact-running.sh: Likewise.
311 * run-debuginfod-dlopen.sh: Likewise.
312 * run-debuginfod-extraction.sh: Likewise.
313 * run-debuginfod-federation-link.sh: Likewise.
314 * run-debuginfod-federation-metrics.sh: Likewise.
315 * run-debuginfod-malformed.sh: Likewise.
316 * run-debuginfod-regex.sh: Likewise.
317 * run-debuginfod-tmp-home.sh: Likewise.
318 * run-debuginfod-writable.sh: Likewise.
320 2021-09-06 Mark Wielaard <mark@klomp.org>
322 * run-debuginfod-archive-groom.sh: Set DEBUGINFOD_URLS after starting
324 * run-debuginfod-archive-rename.sh: Likewise.
325 * run-debuginfod-federation-link.sh: Don't set DEBUGINFOD_URLS.
326 * run-debuginfod-federation-sqlite.sh: Likewise.
327 * run-debuginfod-federation-metrics.sh: Add comment why invalid
328 DEBUGINFOD_URLS is set.
330 2021-09-06 Mark Wielaard <mark@klomp.org>
332 * debuginfod-subr.sh (err): Change ports to port in for loop so both
333 PORT1 and PORT2 are used.
334 (get_ports): Simplify port selection by using for 50 for PORT1 and
337 2021-09-06 Mark Wielaard <mark@klomp.org>
339 * run-debuginfod-file.sh: Set DEBUGINFOD_CACHE_PATH. Export
340 correct DEBUGINFOD_URLS.
341 * run-debuginfod-query-retry.sh: Add DEBUGINFOD_CACHE_PATH
344 2021-09-03 Mark Wielaard <mark@klomp.org>
346 * run-debuginfod-000-permission.sh: Set DEBUGINFOD_CACHE_PATH
347 and use an unique sqlite db.
348 * run-debuginfod-archive-groom.sh: Likewise.
349 * run-debuginfod-archive-test.sh: Likewise.
350 * run-debuginfod-dlopen.sh: Likewise.
351 * run-debuginfod-duplicate-urls.sh: Likewise.
352 * run-debuginfod-extraction.sh: Likewise.
353 * run-debuginfod-fd-prefetch-caches.sh: Likewise.
354 * run-debuginfod-malformed.sh: Likewise.
355 * run-debuginfod-sizetime.sh: Likewise.
356 * run-debuginfod-tmp-home.sh: Likewise.
357 * run-debuginfod-writable.sh: Likewise.
359 2021-09-03 Mark Wielaard <mark@klomp.org>
361 * debuginfod-subr.sh (EXTRA_DIST): Add debuginfod-subr.sh.
363 2021-08-20 Noah Sanci <nsanci@redhat.com>
365 * run-debuginfod-response-headers.sh: Ensures custom http response
366 headers are used and functional
367 * Makefile.am: Added the above new file to TESTS and EXTRA_DIST
369 2021-08-28 Mark Wielaard <mark@klomp.org>
371 * run-debuginfod-find.sh: Use ":memory:" for the
372 forwarded-ttl-limit tests.
374 2021-08-28 Mark Wielaard <mark@klomp.org>
376 * run-debuginfod-find.sh: Use clean, separate databases for
377 forwarded-ttl-limit tests.
379 2021-08-20 Di Chen <dichen@redhat.com>
381 * run-debuginfod-find.sh: Add test for X-Forwarded-For hops limit.
383 2021-08-20 Noah Sanci <nsanci@redhat.com>
385 * debuginfod-find.sh: Separated file into
386 run-debuginfod-000-permission.sh,
387 run-debuginfod-archive-groom.sh,
388 run-debuginfod-archive-rename.sh,
389 run-debuginfod-archive-test.sh,
390 run-debuginfod-artifact-running.sh,
391 run-debuginfod-dlopen.sh,
392 run-debuginfod-duplicate-urls.sh,
393 run-debuginfod-extraction.sh,
394 run-debuginfod-fd-prefetch-caches.sh,
395 run-debuginfod-federation-link.sh,
396 run-debuginfod-federation-metrics.sh,
397 run-debuginfod-federation-sqlite.sh,
398 run-debuginfod-file.sh,
399 run-debuginfod-malformed.sh,
400 run-debuginfod-no-urls.sh,
401 run-debuginfod-query-retry.sh,
402 run-debuginfod-regex.sh,
403 run-debuginfod-sizetime.sh,
404 run-debuginfod-tmp-home.sh,
405 run-debuginfod-x-forwarded.sh
406 and run-debuginfod-writable.sh.
407 All files source debuginfod-subr.sh and use the $base variable to find ports.
408 * tests/Makefile.am: Added the above new files to the test suite
409 * tests/debuginfod-subr.sh: Added some general functions for above tests
411 2021-08-04 Mark Wielaard <mark@klomp.org>
414 * backtrace.c (callback_verify): Check for pthread_kill as first
415 frame. Change asserts to fprintf plus abort.
417 2021-07-26 Noah Sanci <nsanci@redhat.com>
420 * run-debuginfod-find.sh: Added a test to ensure that
421 DEBUGINFOD_MAXSIZE and DEBUGINFOD_MAXTIME work properly
422 by searching server and client logs for prompts.
424 2021-07-16 Noah Sanci <nsanci@redhat.com>
427 * run-debuginfod-percent-escape.sh: Added a test ensuring files with %
428 escapable characters in their paths are accessible.
430 2021-07-21 Noah Sanci <nsanci@redhat.com>
432 * run-debuginfod-find.sh: Properly kill $PID4 by waiting for it to
433 finish. Report $PORT3's metrics in err().
435 2021-06-28 Noah Sanci <nsanci@redhat.com>
438 * run-debuginfod-find.sh: Test to ensure options
439 fdcache-prefetch-fds/mbs are set. Check that inc_metric works for lru
440 and prefetch cache metrics.
442 2021-07-06 Alice Zhang <alizhang@redhat.com>
445 * run-debuginfod-find.sh: Add test case for retry mechanism.
447 2021-07-01 Noah Sanci <nsanci@redhat.com>
450 * run-debuginfod-find.sh: Added test case for grooming the database
453 2021-07-09 Noah Sanci <nsanci@redhat.com>
456 * run-debuginfod-find.sh: Wrote test to ensure duplicate urls are in
459 2021-07-08 Mark Wielaard <mark@klomp.org>
461 * Makefile.am (EXTRA_DIST): Fix typo testfile-largealign.bz2 was
464 2021-06-09 Andrei Homescu <ah@immunant.com>
466 * testfile-largealign.o.bz2: New test file.
467 * run-strip-largealign.sh: New test.
468 * Makefile.am (TESTS): Add run-strip-largealign.sh.
469 (EXTRA_DIST): Add run-strip-largealign.sh and
470 testfile-largealign.o.bz2
472 2021-07-02 Mark Wielaard <mark@klomp.org>
474 * run-debuginfo-find.sh: unset VALGRIND_CMD before testing debuginfod
477 2021-06-16 Frank Ch. Eigler <fche@redhat.com>
479 * run-debuginfod-find.sh: Fix intermittent groom/stale failure,
480 due to SIGUSR1/SIGUSR2 races. Trace more.
482 2021-06-15 Frank Ch. Eigler <fche@redhat.com>
484 * run-debuginfod-find.sh (err): Elaborate. Use as the reliable
485 error-report triggering function, rather than "exit 1".
487 2021-06-03 Frank Ch. Eigler <fche@redhat.com>
490 * run-debuginfod-find.sh: Test "after-you" queueing via flooding
491 with concurent curls.
493 2021-05-14 Frank Ch. Eigler <fche@redhat.com>
496 * run-debuginfod-find.sh: Test absence of 404-latch bug in client
499 2021-04-19 Martin Liska <mliska@suse.cz>
501 * dwelf_elf_e_machine_string.c (main): Use startswith.
502 * dwelfgnucompressed.c (main): Likewise.
503 * elfgetchdr.c (main): Likewise.
504 * elfputzdata.c (main): Likewise.
505 * vdsosyms.c (module_callback): Likewise.
507 2021-05-04 Alice Zhang <alizhang@redhat.com>
509 * run-debuginfod-find.sh: Added tests for negative cache files.
511 2021-04-26 Frank Ch. Eigler <fche@redhat.com>
514 * run-debuginfod-find.sh: Add test case for unwriteable cache files.
516 2021-04-23 Omar Sandoval <osandov@fb.com>
518 * run-low_high_pc-dw-form-indirect.sh: New file.
519 * run-readelf-dw-form-indirect.sh: New file.
520 * testfile-dw-form-indirect.bz2: New file.
521 * Makefile.am (TESTS): Add run-low_high_pc-dw-form-indirect.sh and
522 run-readelf-dw-form-indirect.sh.
523 (EXTRA_DIST): Add run-low_high_pc-dw-form-indirect.sh,
524 run-readelf-dw-form-indirect.sh, and testfile-dw-form-indirect.bz2.
526 2021-04-26 Frank Ch. Eigler <fche@redhat.com>
529 * run-debuginfod-find.sh: Add test case for cache cleanup rmdir.
531 2021-04-23 Frank Ch. Eigler <fche@redhat.com>
533 * run-debuginfod-find.sh: Add a tiny test for client object reuse.
534 Add an "errfiles" test construct to ask the framework to print
535 various files in the case of an error.
537 2021-03-30 Frank Ch. Eigler <fche@redhat.com>
539 * run-debuginfod-find.sh: Add thread comm checks.
541 2021-02-17 Timm Bäder <tbaeder@redhat.com>
543 * elfstrmerge.c (main): Move new_data_buf function to...
544 (new_data_buf): ...top-level static function adding fname,
545 ndx, shdrstrnd and shdrnum as arguments.
547 2021-02-17 Timm Bäder <tbaeder@redhat.com>
549 * elfstrmerge.c (main): Move newsecndx function to...
550 (newsecndx): ...top-level static function adding shdrstrndx,
551 shdrnum and fname as arguments.
553 2021-02-25 Frank Ch. Eigler <fche@redhat.com>
555 * run-debuginfod-find.sh: Add bad webapi artifacttype test.
557 2021-02-17 Frank Ch. Eigler <fche@redhat.com>
559 * run-debuginfod-find.sh: Tweak wait_ready() to also print -vvv log of
560 appropriate debuginfod if metric timeout occurs. Focus grooming
561 test carefully at a more deterministic metric.
563 2021-02-12 Mark Wielaard <mark@klomp.org>
565 * run-readelf-types.sh: Add CU start to type offset reference.
567 2021-02-07 Alexander Miller <alex.miller@gmx.de>
569 * Makefile.am (TESTS_ENVIRONMENT): Quote variables.
570 (valgrind_cmd): Unquote variable.
572 2021-02-08 Érico Nogueira <ericonr@disroot.org>
574 * run-debuginfod-find.sh: Check for cpio availability.
576 2021-02-04 Frank Ch. Eigler <fche@redhat.com>
578 * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling.
580 2021-01-31 Sergei Trofimovich <slyfox@gentoo.org>
582 * Makefile.am (TESTS_ENVIRONMENT): export CC variable
583 to tests for use instead of 'gcc'.
584 * run-disasm-x86-64.sh: use ${CC} instead of 'gcc'.
585 * run-disasm-x86.sh: Likewise.
586 * run-strip-g.sh: Likewise.
587 * run-strip-nothing.sh: Likewise.
588 * run-test-includes.sh: Likewise.
590 2021-01-06 Timm Bäder <tbaeder@redhat.com>
592 * zstrptr.c (main): Lift print_strings function up to ...
593 (print_strings): ... here. New file scope function taking
594 Elf_Scn*, Elf* and ndx as arguments.
596 2020-12-20 Dmitry V. Levin <ldv@altlinux.org>
598 * .gitignore: New file.
600 2020-12-12 Mark Wielaard <mark@klomp.org>
602 * testfile-retain.o.bz2: New test file.
603 * run-retain.sh: New test.
604 * Makefile.am (TESTS): Add run-retain.sh.
605 (EXTRA_DIST): Add run-retain.sh and testfile-retain.o.bz2
607 2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
609 * dwflmodtest.c (N_): Remove.
611 2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
613 * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics.
614 * run-lfs-symbols.sh: Likewise.
615 * elfstrmerge.c (main): Fix spelling typos in comments.
616 * dwfl-bug-fd-leak.c: Likewise.
617 * run-readelf-line.sh: Likewise.
618 * run-stack-demangled-test.sh: Likewise.
619 * sectiondump.c (main): Likewise.
620 * varlocs.c (handle_die): Likewise.
622 2020-12-11 Dmitry V. Levin <ldv@altlinux.org>
624 * configure.ac: Remove.
625 * Makefile.am [STANDALONE]: Remove.
626 (check_PROGRAMS): Add msg_tst, system-elf-libelf-test, and $(asm_TESTS)
628 (TESTS): Add msg_tst, system-elf-libelf-test, $(asm_TESTS), and
629 run-disasm-bpf.sh unconditionally.
631 2020-11-23 Frank Ch. Eigler <fche@redhat.com>
633 * run-debuginfod-find.sh: Add sqlite error injection & stats.
635 2020-11-02 Mark Wielaard <mark@klomp.org>
637 * run-debuginfod-find.sh: Create bogus R/nothing.rpm with cyclic
638 symlink instead of chmod 000.
640 2020-11-19 Frank Ch. Eigler <fche@redhat.com>
642 * run-debuginfod-find.sh: Look for http-* metrics.
644 2020-11-01 Érico N. Rolim <erico.erc@gmail.com>
645 Mark Wielaard <mark@klomp.org>
647 * alldts.c (main): Use DEFFILEMODE for open with O_CREAT.
648 * arextract.c (main): Likewise.
649 * ecp.c (main): Likewise for creat.
650 * elfstrtab.c (check_elf): Use DEFFILEMODE for open with O_CREAT,
651 remove mode from open calls without O_CREAT.
652 * emptyfile.c (check_elf): Likewise.
653 * fillfile.c (check_elf): Likewise.
654 * vendorelf.c (check_elf): Likewise.
655 * newdata.c (checkelf): Use DEFFILEMODE for open with O_CREAT.
656 * update{1,2,3,4}.c (main): Likewise.
659 2020-10-31 Mark Wielaard <mark@klomp.org>
661 * dwfl-proc-attach.c (dlopen): New external function override.
663 2020-10-31 Mark Wielaard <mark@klomp.org>
665 * test-wrapper.sh: Use =, not == for string compare.
667 2020-10-29 Mark Wielaard <mark@klomp.org>
669 * test-wrapper.sh: Determine whether the test is a script or not
670 and run binaries directly under valgrind.
671 * dwfl-bug-fd-leak.c (main): Call getrlimit before calling setrlimit.
672 * dwfl-proc-attach.c (main): Call dwfl_end, pthread_cancel and
674 * vdsosyms.c (main): Call dwfl_end.
676 2020-10-31 Frank Ch. Eigler <fche@redhat.com>
678 * run-debuginfod-find.sh: Modify for tweaked/new metrics.
680 2020-10-30 Frank Ch. Eigler <fche@redhat.com>
683 * run-debuginfod-find.sh: Modify test for restored
684 thread_work_total semantics for grooming.
686 2020-10-29 Frank Ch. Eigler <fche@redhat.com>
689 * run-debuginfod-find.sh: Modify test for different
690 thread_work_total semantics for grooming.
692 2020-10-29 Frank Ch. Eigler <fche@redhat.com>
695 * run-debuginfod-find.sh: Add tests for successful archive fetches across
696 renamed RPMs, even without grooming.
698 2020-10-25 Mark Wielaard <mark@klomp.org>
700 * read_unaligned.c: New test.
701 * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned.
702 (read_unaligned_LDADD): New variable.
704 2020-10-28 Tom Tromey <tom@tromey.com>
707 * Makefile.am (check_PROGRAMS, TESTS): Add leb128.
708 (leb128_LDADD): New variable.
709 * leb128.c: New file.
711 2020-10-19 Mark Wielaard <mark@klomp.org>
713 * addrcfi.c (print_register): Make ops_mem 3 elements.
715 2020-10-19 Mark Wielaard <mark@klomp.org>
717 * testfile60.bz2: Removed.
718 * Makefile.am (EXTRA_DIST): Remove testfile60.bz2.
719 * run-allregs.sh: Remove tilegx testfile60 testcase.
721 2020-10-20 Frank Ch. Eigler <fche@redhat.com>
723 PR26756: more prometheus metrics
724 * run-debuginfod-find.sh: Trigger some errors with dummy "nothing.rpm"
725 and check for new metrics.
727 2020-09-18 Mark Wielaard <mark@klomp.org>
729 * run-readelf-compressed-zstd.sh: New test.
730 * Makefile.am (EXTRA_DISTS): Add run-readelf-compressed-zstd.sh.
731 (TESTS): Add run-readelf-compressed-zstd.sh if HAVE_ZSTD.
733 2020-09-03 Mark Wielaard <mark@klomp.org>
735 * run-readelf-frames.sh: New test.
736 * Makefile.am (TESTS): Add run-readelf-frames.sh.
737 (EXTRA_DIST): Likewise.
739 2020-09-03 Mark Wielaard <mark@klomp.org>
741 * testfile-gnu-property-note-aarch64.bz2: New file.
742 * run-readelf-n.sh: Handle testfile-gnu-property-note-aarch64.
743 * Makefile.am (EXTRA_DIST): Add
744 testfile-gnu-property-note-aarch64.bz2.
746 2020-07-19 Mark Wielaard <mark@klomp.org>
748 * asm-tst1.c: Include libebl.h after libasm.h.
749 * asm-tst2.c: Likewise.
750 * asm-tst3.c: Likewise.
751 * asm-tst4.c: Likewise.
752 * asm-tst5.c: Likewise.
753 * asm-tst6.c: Likewise.
754 * asm-tst7.c: Likewise.
755 * asm-tst8.c: Likewise.
756 * asm-tst9.c: Likewise.
758 2020-07-05 Mark Wielaard <mark@klomp.org>
760 * run-test-includes.sh: New test.
761 * Makefile.am (TESTS): Add run-test-includes.sh.
762 (EXTRA_DIST): Likewise.
764 2020-07-03 Alice Zhang <alizhang@redhat.com>
766 * run-debuginfod-find.sh: Add scheme free url testcase.
768 2020-06-19 Mark Wielaard <mark@klomp.org>
770 * Makefile.am (TESTS): Don't add run-debuginfod-find.sh when
773 2020-06-16 Mark Wielaard <mark@klomp.org>
775 * coverage.sh: Use /usr/bin/env bash.
776 * run-ar.sh: Likewise.
777 * run-backtrace-core-aarch64.sh: Likewise.
778 * run-backtrace-core-i386.sh: Likewise.
779 * run-backtrace-core-ppc.sh: Likewise.
780 * run-backtrace-core-s390.sh: Likewise.
781 * run-backtrace-core-s390x.sh: Likewise.
782 * run-backtrace-core-sparc.sh: Likewise.
783 * run-backtrace-core-x32.sh: Likewise.
784 * run-backtrace-core-x86_64.sh: Likewise.
785 * run-backtrace-data.sh: Likewise.
786 * run-backtrace-demangle.sh: Likewise.
787 * run-backtrace-dwarf.sh: Likewise.
788 * run-backtrace-fp-core-aarch64.sh: Likewise.
789 * run-backtrace-fp-core-i386.sh: Likewise.
790 * run-backtrace-fp-core-ppc64le.sh: Likewise.
791 * run-backtrace-fp-core-x86_64.sh: Likewise.
792 * run-backtrace-native-biarch.sh: Likewise.
793 * run-backtrace-native-core-biarch.sh: Likewise.
794 * run-backtrace-native-core.sh: Likewise.
795 * run-backtrace-native.sh: Likewise.
796 * run-debuginfod-find.sh: Likewise.
797 * run-deleted.sh: Likewise.
798 * run-dwelf_elf_e_machine_string.sh: Likewise.
799 * run-large-elf-file.sh: Likewise.
800 * run-lfs-symbols.sh: Likewise.
801 * run-linkmap-cut.sh: Likewise.
803 2020-06-11 Mark Wielaard <mark@klomp.org>
805 * Makefile.am (nlist-test): Add GCOV flags when necessary.
807 2020-06-06 Mark Wielaard <mark@klomp.org>
809 * testfilesyms32.bz2: New test file.
810 * testfilesyms64.bz2: Likewise.
811 * run-nm-syms.sh: New test.
812 * Makefile.am (TESTS): Add run-nm-syms.sh.
813 (EXTRA_DIST): run-nm-syms.sh, testfilesyms32.bz2 and
816 2020-05-08 Mark Wielaard <mark@klomp.org>
818 * elfputzdata.c (main): Explicitly check orig_buf is not NULL
819 before calling memcmp.
821 2020-05-05 Mark Wielaard <mark@klomp.org>
823 * testfile-lto-gcc8.bz2: New test file.
824 * testfile-lto-gcc9.bz2: Likewise.
825 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc8.bz2 and
826 testfile-lto-gcc9.bz2.
827 * run-allfcts.sh: Add testfile-lto-gcc9 and testfile-lto-gcc8
830 2020-05-05 Mark Wielaard <mark@klomp.org>
832 * testfile-lto-gcc10.bz2: New test file.
833 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc10.bz2.
834 * run-allfcts.sh: Add testfile-lto-gcc10 test.
836 2020-04-17 Mark Wielaard <mark@klomp.org>
838 * test-subr.sh (testrun_on_self_obj): New function.
839 * run-varlocs-self.sh: Run testrun_on_self_exe and
840 testrun_on_self_lib with -e, run testrun_on_self_obj with
843 2020-04-17 Mark Wielaard <mark@klomp.org>
845 * Makefile.am (test-nlist$): New goal with minimal CFLAGS.
846 (test_nlist_CFLAGS): New variable.
848 2020-03-28 Frank Ch. Eigler <fche@redhat.com>
850 * run-debuginfod-find.sh: Test timestamps of archive-origin files.
852 2020-03-27 Frank Ch. Eigler <fche@redhat.com>
854 * run-debuginfod-find.sh: Test /path/-based debuginfod-find.
856 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
858 * run-debuginfod-find.sh: Test relay of UA and XFF headers across
859 federating debuginfods.
861 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
863 * run-debuginfod-find.sh: Look for debuginfod's new
864 http_responses_* metrics.
866 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
868 * run-debuginfod-find.sh: Look for bsdtar instead of dpkg.
870 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
872 * run-debuginfod-find.sh: Check for bsdtar zstd capability
873 for running tests against zstd-compressed fedora31 rpms.
875 2020-03-26 Mark Wielaard <mark@klomp.org>
877 * Makefile.am (EXTRA_DIST): Add
878 debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm,
879 debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm,
880 debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm,
881 debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm,
882 debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm,
883 debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm
885 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
887 * debuginfod-rpms/hello3.spec., /fedora31/*: New files with
888 uncanonicalized source paths.
889 * run-debuginfod-find.sh: Test them.
891 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
893 * run-debuginfod-find.sh: Test the more detailed debuginfod
896 2020-03-23 Mark Wielaard <mark@klomp.org>
898 * getphdrnum.c: Include config.h.
899 * run-lfs-symbols.sh: Also check that file exists. Add more logs.
900 Remove ebl modules check.
902 2020-03-22 Omar Sandoval <osandov@fb.com>
903 Mark Wielaard <mark@klomp.org>
905 * getphdrnum.c: New file.
906 * run-getphdrnum.sh: New test.
907 * testfile-phdrs.elf.bz2: New test file.
908 * Makefile.am (check_PROGRAMS): Add getphdrnum.
909 (TESTS): Add run-getphdrnum.sh.
910 (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2.
911 (getphdrnum_LDADD): New variable.
913 2020-03-22 Frank Ch. Eigler <fche@redhat.com>
915 * run-debuginfod-find.sh: Look for URL in default progressfn
916 and from debuginfod-find -v.
918 2020-02-19 Aaron Merey <amerey@redhat.com>
920 * run-debuginfod-find.sh: Run tests for verifying default
921 client cache locations.
923 2020-02-26 Konrad Kleine <kkleine@redhat.com>
925 * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning
928 2020-02-21 Mark Wielaard <mark@klomp.org>
930 * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS.
931 (installed_TESTS_ENVIRONMENT): Likewise.
933 2020-02-19 Aaron Merey <amerey@redhat.com>
935 * run-debuginfod-find.sh: Test that files unrelated to debuginfod
936 survive cache cleaning.
938 2020-02-08 Mark Wielaard <mark@klomp.org>
940 * run-pt_gnu_prop-tests.sh: New test.
941 * testfile_pt_gnu_prop.bz2: New test file.
942 * testfile_pt_gnu_prop32.bz2: Likewise.
943 * Makefile.am (TESTS): Add run-pt_gnu_prop-tests.sh
944 (EXTRA_DISTS): Likewise. Add testfile_pt_gnu_prop.bz2 and
945 testfile_pt_gnu_prop32.bz2.
947 2020-02-05 Frank Ch. Eigler <fche@redhat.com>
949 * debuginfo-tars/*: New test files from Eli Schwartz of ArchLinux.
950 * Makefile.am (EXTRA_DIST): Package them.
951 * run-debuginfod-find.sh: Run basic archive extraction tests.
953 2020-02-03 Frank Ch. Eigler <fche@redhat.com>
955 * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio.
957 2020-01-19 Frank Ch. Eigler <fche@redhat.com>
959 * run-debuginfod-find.sh: Check for proper groom completion count.
961 2020-01-18 Frank Ch. Eigler <fche@redhat.com>
963 * run-debuginfod-find.sh: Test empty source_paths[].
965 2020-01-08 Mark Wielaard <mark@klomp.org>
967 * asm-test?.c: include libebl.h.
969 2020-01-11 Frank Ch. Eigler <fche@redhat.com>
971 * run-debuginfod-find.sh: Test --fdcache* options.
973 2020-01-11 Frank Ch. Eigler <fche@redhat.com>
975 * run-debuginfod-find.sh: Adjust to new work-queue metrics.
977 2020-01-02 Mark Wielaard <mark@klomp.org>
979 * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10.
981 2019-12-22 Frank Ch. Eigler <fche@redhat.com>
983 * debuginfod-debs/*: New test files, based on
984 https://wiki.debian.org/Packaging/Intro.
985 * run-debuginfod-find.sh: Test deb file processing (if dpkg
988 2019-12-04 Frank Ch. Eigler <fche@redhat.com>
990 * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS.
992 2019-12-11 Omar Sandoval <osandov@fb.com>
994 * dwfl-report-segment-coalesce.c: New test.
995 * Makefile.am: Add dwfl-report-segment-coalesce
997 2019-12-06 Mark Wielaard <mark@klomp.org>
999 * run-debuginfod-find.sh: Force -Wl,--build-id.
1001 2019-12-05 Mark Wielaard <mark@klomp.org>
1003 * run-findinfod-find.sh: Run strip under testrun.
1005 2019-12-06 Mark Wielaard <mark@klomp.org>
1007 * backtrace-data.c (main): Add break after assert.
1009 2019-12-05 Mark Wielaard <mark@klomp.org>
1011 * run-elfclassify.sh: Run elfcompress under testrun.
1013 2019-11-26 Mark Wielaard <mark@klomp.org>
1015 * Makefile.am (BUILD_STATIC): Add libraries needed for libdw.
1016 * coverage.sh: Add debuginfod directory, check whether source
1019 2019-11-24 Mark Wielaard <mark@klomp.org>
1021 * run-debuginfod-find.sh: Reduce verbosity. Add new cleanup
1022 function to use with trap. Add wait_ready function to query
1023 metrics instead of sleeping. Calculate rpms and sourcefiles
1026 2019-11-23 Mark Wielaard <mark@klomp.org>
1028 * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1.
1030 2019-11-07 Frank Ch. Eigler <fche@redhat.com>
1032 * run-debuginfod-find.sh: Test debuginfod metrics via curl.
1033 Fix federated testing, asserted by metrics.
1035 2019-11-06 Frank Ch. Eigler <fche@redhat.com>
1037 * run-debuginfod-find.sh: Test debuginfod -L mode. Drop
1038 plain debuginfo-find help-output-comparison.
1040 2019-11-04 Frank Ch. Eigler <fche@redhat.com>
1042 * run-debuginfod-find.sh: Test debuginfod-find -v progress mode.
1044 2019-10-28 Aaron Merey <amerey@redhat.com>
1045 Frank Ch. Eigler <fche@redhat.com>
1047 * run-debuginfod-find.sh, debuginfod_build_id_find.c: New test.
1048 * testfile-debuginfod-*.rpm.bz2: New data files for test.
1049 * Makefile.am: Run it.
1051 2019-11-14 Andreas Schwab <schwab@suse.de>
1053 * run-large-elf-file.sh: Skip if available memory cannot be
1056 2019-11-14 Andreas Schwab <schwab@suse.de>
1058 * dwelf_elf_e_machine_string.c (main): Clear errno before calling
1061 2019-09-02 Mark Wielaard <mark@klomp.org>
1063 * run-readelf-s.sh: Add --dyn-syms case.
1065 2019-09-07 Mark Wielaard <mark@klomp.org>
1067 * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh,
1068 testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2.
1070 2019-08-27 Mark Wielaard <mark@klomp.org>
1072 * run-readelf-test2.sh: Add -x num testcase.
1074 2019-08-29 Mark Wielaard <mark@klomp.org>
1076 * test-subr.sh (self_test_files_exe): replace elfcmp, objdump and
1077 readelf with elfclassify, stack and unstrip.
1078 (self_test_files_lib): Replace libdw.so with libasm.so.
1080 2019-07-05 Omar Sandoval <osandov@fb.com>
1082 * Makefile.am: Remove -ldl.
1083 * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so.
1085 2019-07-26 Florian Weimer <fweimer@redhat.com>
1086 Mark Wielaard <mark@klomp.org>
1088 * run-elfclassify.sh: New test.
1089 * run-elfclassify-self.sh: Likewise.
1090 * Makefile.sh (TESTS): Add run-elfclassify.sh and
1091 run-elfclassify-self.sh.
1092 (EXTRA_DIST): Likewise.
1094 2019-07-16 Mao Han <han_mao@c-sky.com>
1096 * hello_csky.ko.bz2: New testfile.
1097 * run-addrcfi.sh: Add C-SKY testfile.
1098 * run-strip-reloc.sh: Likewise.
1099 * testfilecsky.bz2: New testfile.
1100 * Makefile.am (EXTRA_DIST): Add hello_csky.ko.bz2 and
1103 2019-06-28 Mark Wielaard <mark@klomp.org>
1105 * Makefile.am (check_PROGRAMS): Add dwelf_elf_e_machine_string.
1106 (TESTS): Add run-dwelf_elf_e_machine_string.sh.
1107 (EXTRA_DIST): Likewise.
1108 (dwelf_elf_e_machine_string_LDADD): New variable.
1109 * dwelf_elf_e_machine_string.c: New file.
1110 * run-dwelf_elf_e_machine_string.sh: New test.
1112 2019-07-01 Mark Wielaard <mark@klomp.org>
1114 * run-large-elf-file.sh: Add 2GB to mem_needed when running under
1117 2019-06-18 Mark Wielaard <mark@klomp.org>
1119 * Makefile.am (TESTS): Add run-large-elf-file.sh.
1120 (EXTRA_DIST): Likewise.
1121 * addsections.c (add_sections): Add sec_size argument, use it
1122 as the size of the section data.
1123 (main): Handle extra sec_size argument. Pass to add_sections.
1124 * run-large-elf-file.sh: New test.
1126 2019-06-03 Mark Wielaard <mark@klomp.org>
1128 * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections,
1129 make sure they are actually next to each other.
1131 2019-05-12 Mark Wielaard <mark@klomp.org>
1133 * Makefile.am (check_PROGRAMS): Add elfrdwrnop.
1134 (TESTS): Add run-reverse-sections.sh and
1135 run-reverse-sections-self.sh.
1136 (EXTRA_DIST): Likewise.
1137 (elfrdwrnop): New variable.
1138 * elfcopy.c (copy_elf): Add reverse_off argument. Record offsets
1139 of sections and swap them when possible.
1140 (main): Check for --reverse-off argument. Pass reverse_offs to
1142 * run-reverse-sections.sh: New test.
1143 * run-reverse-sections-self.sh: Likewise.
1144 * elfrdwrnop.c: New file.
1146 2019-05-10 Mark Wielaard <mark@klomp.org>
1148 * Makefile.am (TESTS): Add run-readelf-discr.sh.
1149 (EXTRA_DIST): Likewise and add testfile-rng.debug.bz2 and
1150 testfile-urng.debug.bz2.
1151 * run-readelf-discr.sh: New test.
1152 * testfile-rng.debug.bz2: New test file.
1153 * testfile-urng.debug.bz2: Likewise.
1155 2019-04-30 Mark Wielaard <mark@klomp.org>
1157 * xlate_notes.c: New file.
1158 * run-xlate-note.sh: New test.
1159 * Makefile.am (check_PROGRAMS): Add xlate_notes.
1160 (TESTS): Add run-xlate-note.sh.
1161 (EXTRA_DIST): Likewise.
1162 (xlate_notes_LDADD): New variable.
1164 2019-04-30 Mark Wielaard <mark@klomp.org>
1166 * backtrace-dwarf.c (frame_callback): Explicitly check symname is
1169 2019-04-30 Mark Wielaard <mark@klomp.org>
1171 * backtrace.c (frame_callback): Explicitly check symname is NULL.
1173 2019-03-04 Mark Wielaard <mark@klomp.org>
1175 * backtrace.c (tgkill): Remove define.
1177 2019-01-24 Mark Wielaard <mark@klomp.org>
1179 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
1182 2019-01-31 Mark Wielaard <mark@klomp.org>
1184 * backtrace-child.c (stdarg): Remove assert (errno == 0).
1186 * backtrace-data.c (maps_lookup): Likewise.
1187 (set_initial_registers): Likewise.
1189 * backtrace.c (prepare_thread): Likewise.
1190 (exec_dump): Likewise.
1192 2019-01-29 Yonghong Song <yhs@fb.com>
1194 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse
1197 2019-01-18 Ulf Hermann <ulf.hermann@qt.io>
1199 * run-annobingroup.sh: Use different files for strip output.
1200 * run-strip-test-many.sh: Use different files for strip output,
1201 check results of strip, unstrip, elflint.
1203 2019-01-24 Mark Wielaard <mark@klomp.org>
1205 * addsections.c (add_sections): Change the name of the old shstrtab
1206 section to ".old_shstrtab" and give the old shstrtab name to the
1207 new shstrtab section.
1209 2019-01-09 Ulf Hermann <ulf.hermann@qt.io>
1211 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found.
1213 2018-12-27 Jim Wilson <jimw@sifive.com>
1215 * run-readelf-mixed-corenote.sh: Update with new riscv64 output.
1217 2018-12-02 Mark Wielaard <mark@klomp.org>
1219 * testfile_gnu_props.32le.o.bz2: New testfile.
1220 * testfile_gnu_props.64le.o.bz2: Likewise.
1221 * testfile_gnu_props.32be.o.bz2: Likewise.
1222 * testfile_gnu_props.64be.o.bz2: Likewise.
1223 * Makefile (EXTRA_DIST): Add new testfiles.
1224 * run-readelf-n.sh: Run tests on new testfiles.
1226 2018-11-28 Mark Wielaard <mark@klomp.org>
1228 * backtrace-data.c (main): Improve error message.
1229 * run-backtrace-data.sh: Skip exit 77 return.
1231 2018-11-21 Mark Wielaard <mark@klomp.org>
1233 * backtrace-subr.sh (check_unsupported): Call test_cleanup before
1236 2018-11-17 Mark Wielaard <mark@klomp.org>
1238 * run-strip-version.sh: New test.
1239 * testfile-version.bz2: New test file.
1240 * Makefile.am (TESTS): Add run-strip-version.sh.
1241 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2.
1243 2018-11-09 Mark Wielaard <mark@klomp.org>
1245 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o
1246 testfile-debug-rel-ppc64-g.o.
1248 2018-11-12 Mark Wielaard <mark@klomp.org>
1250 * run-readelf-n.sh: Add testfile-annobingroup.o test.
1252 2018-11-11 Mark Wielaard <mark@klomp.org>
1254 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test
1257 2018-11-04 Mark Wielaard <mark@klomp.org>
1259 * testfile-bpf-reloc.expect.bz2: Update with new expected jump
1262 2018-10-20 Mark Wielaard <mark@klomp.org>
1264 * run-readelf-compressed.sh: New test.
1265 * Makefile.am (TESTS): Add run-readelf-compressed.sh.
1266 (EXTRA_DIST): Likewise.
1268 2018-11-09 Mark Wielaard <mark@klomp.org>
1270 * testfile-debug-rel-ppc64-g.o.bz2: New test file.
1271 * testfile-debug-rel-ppc64-z.o.bz2: Likewise.
1272 * testfile-debug-rel-ppc64.o.bz2: Likewise.
1273 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2,
1274 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2.
1275 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o.
1276 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o.
1278 2018-10-26 Mark Wielaard <mark@klomp.org>
1280 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only.
1282 2018-10-18 Mark Wielaard <mark@klomp.org>
1284 * run-readelf-n.sh: New test.
1285 * testfile-gnu-property-note.bz2: New testfile.
1286 * testfile-gnu-property-note.o.bz2: Likewise.
1287 * Makefile.am (TESTS): Add run-readelf-n.sh.
1288 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2,
1289 testfile-gnu-property-note.o.bz2.
1291 2018-10-12 Mark Wielaard <mark@klomp.org>
1293 * run-readelf-zdebug.sh: Adjust flags output.
1294 * run-readelf-macro.sh: Likewise.
1295 * run-readelf-macros.sh: New test.
1296 * testfile-macros-object.o.bz2: New test file.
1297 * Makefile.am (TESTS): Add run-readelf-macros.sh.
1298 (EXTRA_DIST): Add run-readelf-macros.sh and
1299 testfile-macros-object.o.bz2.
1301 2018-09-12 Mark Wielaard <mark@klomp.org>
1303 * run-annobingroup.sh: Add x86_64 ET_REL testcase.
1304 * testfile-annobingroup-x86_64.o.bz2: New test file.
1305 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2.
1307 2018-09-18 Mark Wielaard <mark@klomp.org>
1309 * backtrace-dwarf.c (thread_callback): Only error when
1310 dwfl_thread_getframes returns an error.
1311 (main): Don't call abort or assert but print an error when
1312 something unexpected happens.
1314 2018-09-13 Mark Wielaard <mark@klomp.org>
1316 * run-strip-test-many.sh: New test.
1317 * Makefile.am (TESTS): Add run-strip-test-many.sh.
1318 (EXTRA_DIST): Likewise.
1320 2018-09-13 Mark Wielaard <mark@klomp.org>
1322 * run-typeiter-many.sh: New test.
1323 * Makefile.am (TESTS): Add run-typeiter-many.sh.
1324 (EXTRA_DIST): Likewise.
1326 2018-09-13 Mark Wielaard <mark@klomp.org>
1328 * run-copymany-sections.sh: New test.
1329 * Makefile.am (TESTS): Add run-copymany-sections.sh.
1330 (EXTRA_DIST): Likewise.
1332 2018-09-12 Mark Wielaard <mark@klomp.org>
1334 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections.
1335 (TESTS): Add run-copyadd-sections.sh.
1336 (EXTRA_DIST): Likewise.
1337 (elfcopy_LDADD): New variable.
1338 (addsections_LDADD): Likewise.
1339 * addsections.c: New file.
1340 * elfcopy.c: Likewise.
1341 * run-copyadd-sections.sh: New test.
1343 2018-09-11 Mark Wielaard <mark@klomp.org>
1345 * backtrace-dwarf.c (main): Add section attribute.
1347 2018-07-24 Mark Wielaard <mark@klomp.org>
1349 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests.
1350 * testfile-annobingroup-i386.o.bz2: New test file.
1351 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2.
1353 2018-07-21 Mark Wielaard <mark@klomp.org>
1355 * run-annobingroup.sh: New test.
1356 * testfile-annobingroup.o.bz2: New test file.
1357 * Makefile.am (TESTS): Add run-annobingroup.sh.
1358 (EXTRA_DIST): Add run-annobingroup.sh and
1359 testfile-annobingroup.o.bz2.
1361 2018-07-19 Andreas Schwab <schwab@suse.de>
1363 * Makefile.am (TESTS): Add run-strip-test12.sh.
1364 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2,
1365 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2.
1366 (run-strip-test11.sh): New file.
1367 (testfile-riscv64.bz2): New file.
1368 (testfile-riscv64-s.bz2): New file.
1369 (testfile-riscv64-core.bz2): New file.
1370 * run-allregs.sh: Add test for testfile-riscv64-core.
1371 * run-readelf-mixed-corenote.sh: Likewise.
1373 2018-07-16 Ulf Hermann <ulf.hermann@qt.io>
1375 * run-strip-reloc.sh: Remove previous testfiles before running the
1378 2018-07-17 Mark Wielaard <mark@klomp.org>
1380 * hello_riscv64.ko.bz2: Updated with debuginfo.
1381 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
1383 2018-07-05 Mark Wielaard <mark@klomp.org>
1385 * next_cfi.c (handle_section): Take a new argument name. Check
1386 whether the section is compressed and uncompress if so.
1387 (main): Check also for .zdebug_frame and pass the name of the
1388 section to handle_section.
1390 2018-07-04 Ross Burton <ross.burton@intel.com>
1392 * addrscopes.c: Remove error.h include, add system.h include.
1393 * allregs.c: Likewise.
1394 * backtrace-data.c: Likewise.
1395 * backtrace-dwarf.c: Likewise.
1396 * backtrace.c: Likewise.
1397 * buildid.c: Likewise.
1398 * debugaltlink.c: Likewise.
1399 * debuglink.c: Likewise.
1400 * deleted.c : Likewise.
1401 * dwarfcfi.c: Likewise.
1402 * dwfl-addr-sect.c: Likewise.
1403 * dwfl-bug-addr-overflow.c: Likewise.
1404 * dwfl-bug-fd-leak.c: Likewise.
1405 * dwfl-bug-getmodules.c: Likewise.
1406 * dwfl-proc-attach.c: Likewise.
1407 * dwfl-report-elf-align.c: Likewise.
1408 * dwfllines.c: Likewise.
1409 * dwflmodtest.c: Likewise.
1410 * dwflsyms.c: Likewise.
1411 * early-offscn.c: Likewise
1413 * elfstrmerge.c: Likewise.
1414 * find-prologues.c: Likewise.
1415 * funcretval.c: Likewise.
1416 * funcscopes.c: Likewise.
1417 * getsrc_die.c: Likewise.
1418 * line2addr.c: Likewise.
1419 * low_high_pc.c: Likewise.
1420 * next_cfi.c: Likewise.
1421 * rdwrmmap.c: Likewise.
1422 * saridx.c: Likewise.
1423 * sectiondump.c: Likewise.
1424 * varlocs.c: Likewise.
1425 * vdsosyms.c: Likewise.
1427 2018-06-28 Mark Wielaard <mark@klomp.org>
1429 * next_cfi.c: New file.
1430 * run-next-cfi.sh: New test.
1431 * run-next-cfi-self.sh: Likewise.
1432 * Makefile.am (check_PROGRAMS): Add next_cfi.
1433 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh.
1434 (EXTRA_DIST): Likewise.
1435 (next_cfi_LDADD): New variable.
1437 2018-06-27 Mark Wielaard <mark@klomp.org>
1439 * dwarf_cfi.c: New file.
1440 * run-dwarfcfi.sh: New test.
1441 * testfile11-debugframe.bz2: New testfile.
1442 * testfile12-debugframe.bz2: Likewise.
1443 * testfileaarch64-debugframe.bz2: Likewise.
1444 * testfilearm-debugframe.bz2: Likewise.
1445 * testfileppc32-debugframe.bz2: Likewise.
1446 * testfileppc64-debugframe.bz2: Likewise.
1447 * Makefile.am (check_PROGRAMS): Add dwarfcfi.
1448 (TESTS): Add run-dwarfcfi.sh.
1449 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2,
1450 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2,
1451 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and
1452 testfileppc64-debugframe.bz2.
1454 2018-06-23 Mark Wielaard <mark@klomp.org>
1456 * varlocs.c (print_expr): Take a new depth argument. Check it isn't
1457 greater than MAX_DEPTH (64). Pass on to print_expr_block.
1458 (print_expr_block): Take a new depth argument. Pass it to print_expr.
1459 (print_expr_block_addrs): Call print_expr_block with zero depth.
1461 2018-06-25 Mark Wielaard <mark@klomp.org>
1463 * next-files.c: New file.
1464 * next-lines.c: Likewise.
1465 * run-next-files.sh: New test.
1466 * run-next-lines.sh: Likewise.
1467 * testfile-only-debug-line.bz2: New test file.
1468 * Makefile.am (check_PROGRAMS): Add next-files and next-lines.
1469 (TESTS): Add run-next-files.sh and run-next-lines.sh.
1470 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and
1471 testfile-only-debug-line.bz2.
1472 (next_lines_LDADD): New variable.
1473 (next_files_LDADD): Likewise.
1475 2018-06-16 Yonghong Song <yhs@fb.com>
1477 * run-reloc-bpf.sh: New test.
1478 * testfile-bpf-reloc.o.bz2: New test file.
1479 * testfile-bpf-reloc.expect.bz2: New test file.
1480 * Makefile.am (TESTS): Add run-reloc-bpf.sh.
1481 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and
1482 testfile-bpf-reloc.expect.bz2.
1484 2018-06-13 Mark Wielaard <mark@klomp.org>
1486 * run-readelf-const-values.sh: New test.
1487 * testfile-const-values.debug.bz2: New test file.
1488 * run-readelf-zdebug-rel.sh: Adjust expected const_value.
1489 * Makefile.am (TESTS): Add run-readelf-const-values.sh.
1490 (EXTRA_DIST): Add run-readelf-const-values.sh and
1491 testfile-const-values.debug.bz2.
1493 2018-06-08 Mark Wielaard <mark@klomp.org>
1495 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
1496 target, do not assert.
1498 2018-06-08 Mark Wielaard <mark@klomp.org>
1500 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
1501 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
1503 2018-06-08 Mark Wielaard <mark@klomp.org>
1505 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
1506 actually is a cfi_debug.
1508 2018-06-07 Mark Wielaard <mark@klomp.org>
1510 * run-readelf-loc.sh: Fix expected output for startx_length.
1512 2018-06-06 Mark Wielaard <mark@klomp.org>
1514 * varlocs.c (print_base_type): Use error, not assert when the DIE
1517 2018-06-02 Mark Wielaard <mark@klomp.org>
1519 * test-subr.sh (self_test_files_exe): Drop shared libraries.
1520 Keep addr2line, elfcmp, objdump and readelf.
1522 2018-05-31 Mark Wielaard <mark@klomp.org>
1524 * run-readelf-types.sh: New test.
1525 * Makefile.am (TESTS): Add run-readelf-types.sh.
1526 (EXTRA_DIST): Likewise.
1528 2018-05-31 Mark Wielaard <mark@klomp.org>
1530 * splitdwarf4-not-split4.dwo.bz2: New test file.
1531 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
1532 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
1533 and testfile-splitdwarf4-not-split4.debug.
1534 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
1535 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
1536 and testfile-splitdwarf4-not-split4.debug.bz2.
1538 2018-05-31 Mark Wielaard <mark@klomp.org>
1540 * test-subr.sh (self_test_files): Split into self_test_files_exe,
1541 self_test_files_lib and self_test_obj.
1542 (testrun_on_self_exe): New function.
1543 (testrun_on_self_lib): Likewise.
1544 * run-get-units-split.sh: Replace testrun_on_self with
1545 testrun_on_self_exe and testrun_on_self_lib.
1546 * run-unit-info.sh: Likewise.
1548 2018-05-31 Mark Wielaard <mark@klomp.org>
1550 * low_high_pc.c (handle_die): Handle NULL name. Print offset and
1552 (main): Check if the cu DIE is a skeleton, then get and handle
1554 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
1555 testfile-splitdwarf-5. Run on all selftest files.
1557 2018-05-31 Mark Wielaard <mark@klomp.org>
1559 * get-units-invalid.c (main): Check dwarf_cuoffset and
1562 2018-05-29 Mark Wielaard <mark@klomp.org>
1564 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
1565 type, gotten through dwarf_get_units.
1566 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
1567 split-dwarf-4, split-dwarf-5 and dwo files.
1569 2018-05-29 Mark Wielaard <mark@klomp.org>
1571 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
1572 * run-varlocs.sh: Likewise.
1574 2018-05-29 Mark Wielaard <mark@klomp.org>
1576 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
1578 2018-05-28 Mark Wielaard <mark@klomp.org>
1580 * run-readelf-info-plus.sh: New test.
1581 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
1582 (EXTRA_DIST): Likewise.
1584 2018-04-29 Mark Wielaard <mark@klomp.org>
1586 * run-readelf-addr.sh: New test.
1587 * Makefile.am (TESTS): Add run-readelf-addr.sh.
1588 (EXTRA_DIST): Likewise.
1590 2018-04-27 Mark Wielaard <mark@klomp.org>
1592 * run-readelf-ranges.sh: Adjust expected output for address base.
1593 * run-readelf-addr.sh: New test.
1594 * Makefile.am (TESTS): Add run-readelf-addr.sh.
1595 (EXTRA_DIST): Likewise.
1597 2018-04-07 Mark Wielaard <mark@klomp.org>
1599 * run-varlocs.sh: Run on testfileranges5.debug and
1600 testsplitfileranges5.debug.
1601 * varlocs.c (is_debug): New bool.
1602 (print_expr): Don't fail on missing CFI for is_debug.
1603 (main): Parse --debug, set is_debug.
1605 2018-04-12 Mark Wielaard <mark@klomp.org>
1607 * run-readelf-loc.sh: Add new testcases.
1609 2018-04-06 Mark Wielaard <mark@klomp.org>
1611 * testfileranges5.debug.bz2: New testfile.
1612 * testfilesplitranges5.debug.bz2: Likewise.
1613 * testfile-ranges-hello5.dwo.bz2: Likewise.
1614 * testfile-ranges-world5.dwo.bz2: Likewise.
1615 * run-dwarf-ranges.sh: Run on testfileranges5.debug.
1616 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
1617 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
1618 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
1619 testfile-ranges-world5.dwo.bz2.
1621 2018-04-11 Mark Wielaard <mark@klomp.org>
1623 * run-readelf-ranges.sh: New test.
1624 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
1625 (EXTRA_DIST): Likewise.
1627 2018-05-21 Mark Wielaard <mark@klomp.org>
1629 * addrx_constx-4.dwo.bz2: New testfile.
1630 * addrx_constx-5.dwo.bz2: Likewise.
1631 * testfile-addrx_constx-4.bz2: Likewise.
1632 * testfile-addrx_constx-5.bz2: Likewise
1633 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
1634 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
1635 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
1636 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
1637 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
1638 (main): Handle split DWARF.
1639 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
1641 2018-05-20 Mark Wielaard <mark@klomp.org>
1643 * unit-info.c: New test.
1644 * run-unit-info.sh: New test runner.
1645 * Makefile.am (check_PROGRAMS): Add unit-info.
1646 (TESTS): Add run-unit-info.sh
1647 (EXTRA_INFO): Likewise.
1648 (unit_info_LDADD): New variable.
1650 2018-05-24 Mark Wielaard <mark@klomp.org>
1652 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
1653 * run-all-dwarf-ranges.sh: Correct expected output.
1655 2018-05-18 Mark Wielaard <mark@klomp.org>
1657 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
1658 (TESTS): Add run-all-dwarf-ranges.sh.
1659 (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
1660 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
1661 and testfile-ranges-world.dwo.bz2.
1662 (all_dwarf_ranges_LDADD): New variable.
1663 * all-dwarf-ranges.c: New test program.
1664 * run-all-dwarf-ranges: New test runner.
1665 * testfile-ranges-hello.dwo.bz2: New test file.
1666 * testfile-ranges-world.dwo.bz2: Likewise.
1667 * testfilesplitranges4.debug.bz2: Likewise.
1669 2018-05-18 Mark Wielaard <mark@klomp.org>
1671 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
1672 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
1673 testfile-hello5.dwo, testfile-world5.dwo.
1675 2018-05-17 Mark Wielaard <mark@klomp.org>
1677 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
1678 (TESTS): Add run-attr-integrate-skel.
1679 (EXTRA_DIST): Likewise.
1680 (attr_integrate_skel_LDADD): New variable.
1681 * attr-integrate-skel.c: New test.
1682 * run-attr-integrate-skel.sh: New test runner.
1684 2018-05-16 Mark Wielaard <mark@klomp.org>
1686 * Makefile.am (check_PROGRAMS): Add get-units-split.
1687 (TESTS): Add run-get-units-split.sh.
1688 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
1689 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
1690 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
1691 testfile-world4.dwo.bz2.
1692 (get_units_split_LDADD): New variable.
1693 * get-units-split.c: New test.
1694 * run-get-units-split.sh: New test runner.
1695 * testfile-dwarf-45.source: Extend with build instructions for new
1697 * testfile-hello4.dwo.bz2: New test file.
1698 * testfile-hello5.dwo.bz2: Likewise.
1699 * testfile-splitdwarf-4.bz2: Likewise.
1700 * testfile-splitdwarf-5.bz2: Likewise.
1701 * testfile-world5.dwo.bz2 and: Likewise.
1702 * testfile-world4.dwo.bz2: Likewise.
1704 2018-05-09 Mark Wielaard <mark@klomp.org>
1706 * run-readelf-zdebug.sh: Adjust test output for new header layout.
1707 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
1708 and testfile-dwarf-5.
1710 2018-05-11 Mark Wielaard <mark@klomp.org>
1712 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
1713 (TESTS): Add run-get-units-invalid.sh.
1714 (EXTRA_DIST): Likewise.
1715 (get_units_invalid_LDADD): New variable.
1716 * get-units-invalid.c: New test program.
1717 * run-get-units-invalid.sh: New test program runner.
1719 2018-05-05 Mark Wielaard <mark@klomp.org>
1721 * testfile-dwarf-45.source: New file.
1722 * testfile-dwarf-4.bz2: New test file.
1723 * testfile-dwarf-5.bz2: Likewise.
1724 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
1726 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
1727 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
1729 2018-04-19 Andreas Schwab <schwab@suse.de>
1731 * hello_riscv64.ko.bz2: New file.
1732 * run-strip-reloc.sh: Test it.
1733 * Makefile.am (EXTRA_DIST): Add it.
1735 2018-04-16 Mark Wielaard <mark@klomp.org>
1737 * testfile-ppc64-min-instr.bz2: New testfile.
1738 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
1739 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
1741 2018-04-11 Mark Wielaard <mark@klomp.org>
1743 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
1745 2018-04-03 Mark Wielaard <mark@klomp.org>
1747 * testfileranges4.debug.bz2: New testfile.
1748 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
1749 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
1751 2018-03-06 Mark Wielaard <mark@klomp.org>
1753 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
1754 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
1755 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
1758 2018-02-16 Mark Wielaard <mark@klomp.org>
1760 * backtrace-subr.sh (check_native_core): Check if there is any core,
1763 2018-02-15 Mark Wielaard <mark@klomp.org>
1765 * backtrace-child.c: Include signal.h after sys/ptrace.h.
1766 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
1769 2018-01-25 Mark Wielaard <mark@klomp.org>
1771 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
1772 (TESTS): Add run-dwarf-die-addr-die.sh.
1773 (EXTRA_DIST): Likewise.
1774 (dwarf_die_addr_die_LDADD): New variable.
1775 * dwarf-die-addr-die.c: New file.
1776 * run-dwarf-die-addr-die.sh: New test.
1778 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
1780 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
1782 2018-01-22 Mark Wielaard <mark@klomp.org>
1784 * allfcts.c (setup_alt): Print warning when alt file couldn't be
1786 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
1787 where it cannot be found by allfcts itself (but it can by libdw).
1789 2018-01-25 Mark Wielaard <mark@klomp.org>
1791 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
1794 2018-01-14 Petr Machata <pmachata@gmail.com>
1796 * testfile-sizes4.o.bz2: New test file.
1797 * testfile-sizes4.s: New test source.
1798 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
1800 2017-12-23 Mark Wielaard <mark@klomp.org>
1802 * backtrace-subr.sh (check_native_core): Use a lock file and try
1803 to extract core using coredumpctl.
1804 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
1806 2017-12-11 Dima Kogan <dima@secretsauce.net>
1808 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
1809 * run-peel-type.sh: Likewise.
1810 * testfile-sizes3.o.bz2: Likewise.
1812 2017-12-07 Mark Wielaard <mark@klomp.org>
1814 * run-readelf-variant.sh: New test.
1815 * testfile-ada-variant.bz2: New testfile.
1816 * Makefile.am (TESTS): Add run-readelf-variant.sh.
1817 (EXTRA_DISTS): Add run-readelf-variant.sh and
1818 testfile-ada-variant.bz2.
1820 2017-11-29 Mark Wielaard <mark@klomp.org>
1822 * run-readelf-loc.sh: Adjust expected loc list output.
1823 * run-readelf-zdebug-rel.sh: Likewise.
1824 * run-readelf-zdebug.sh: Likewise.
1826 2017-11-29 Mark Wielaard <mark@klomp.org>
1828 * run-readelf-loc.sh: Adjust expected range list output.
1829 * run-readelf-zdebug.sh: Likewise.
1831 2017-11-29 Mark Wielaard <mark@klomp.org>
1833 * run-readelf-dwz-multi.sh: Add expected file names.
1834 * run-readelf-zdebug-rel.sh: Likewise.
1836 2017-11-29 Mark Wielaard <mark@klomp.org>
1838 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
1839 * run-readelf-zdebug-rel.sh: Likewise.
1841 2017-11-29 Mark Wielaard <mark@klomp.org>
1843 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
1844 * run-readelf-loc.sh: Likewise.
1845 * run-readelf-zdebug-rel.sh: Likewise.
1846 * run-readelf-zdebug.sh: Likewise.
1848 2017-11-16 Mark Wielaard <mark@klomp.org>
1850 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
1852 2017-11-10 Mark Wielaard <mark@klomp.org>
1854 * run-exprlocs-self.sh: New test.
1855 * run-varlocs-self.sh: Likewise.
1856 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
1857 run-varlocs-self.sh.
1858 (EXTRA_DIST): Likewise.
1859 * varlocs.c (cfi_debug_bias): New global variable.
1860 (is_ET_REL): Likewise.
1861 (print_expr): Don't crash and burn when CFI cannot be found for an
1862 ET_REL file for DW_OP_call_frame_cfa.
1863 (handle_die): If there is no entry_pc pick the lowest pc start range
1865 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
1866 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
1868 2017-11-03 Mark Wielaard <mark@klomp.org>
1870 * run-exprlocs.sh: New test.
1871 * testfile-stridex.bz2: New testfile.
1872 * Makefile.am (TESTS): Add run-exprlocs.sh.
1873 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
1874 * varlocs.c (dwarf_tag_string): New function.
1875 (dwarf_attr_string): Likewise.
1876 (dwarf_form_string): Likewise.
1877 (print_expr): Fix typo in error message.r
1878 Handle DW_OP_GNU_variable_value.
1879 (attr_arg): New struct.
1880 (handle_attr): New function.
1881 (handle_die): Likewise.
1882 (main): Handle --exprlocs argument. Call handle_die.
1884 2017-10-16 Mark Wielaard <mark@klomp.org>
1886 * md5-sha1-test.c: Removed.
1887 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
1889 (md5_sha1_test_LDADD): Removed.
1891 2017-10-04 Mark Wielaard <mark@klomp.org>
1893 * msg_tst.c: Handle ELF_E_INVALID_ELF.
1895 2017-09-10 Mark Wielaard <mark@klomp.org>
1897 * run-ar.sh: New test.
1898 * Makefile.am (TESTS): Add run-ar.sh.
1899 (EXTRA_DIST): Likewise.
1901 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
1903 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
1905 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
1907 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
1909 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
1911 * run-strip-nothing.sh: Add -s.
1913 2017-07-26 Mark Wielaard <mark@klomp.org>
1915 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
1917 2016-10-27 Mark Wielaard <mjw@redhat.com>
1919 * dwarf_default_lower_bound.c: New test.
1920 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
1922 (dwarf_default_lower_bound_LDADD): New variable.
1924 2017-07-21 Mark Wielaard <mark@klomp.org>
1926 * get-lines.c (main): Add dwarf_line_file test.
1928 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
1930 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
1931 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
1933 2017-07-20 Mark Wielaard <mark@klomp.org>
1935 * run-strip-g.sh: New test.
1936 * Makefile.am (TESTS): Add run-strip-g.sh.
1937 (EXTRA_DIST): Likewise.
1939 2017-07-18 Mark Wielaard <mark@klomp.org>
1941 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
1943 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
1945 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
1947 2017-07-14 Mark Wielaard <mark@klomp.org>
1949 * run-strip-remove-keep.sh: New test.
1950 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
1951 (EXTRA_DIST): Likewise.
1953 2017-06-07 Mark Wielaard <mark@klomp.org>
1955 * run-strip-nothing.sh: New test.
1956 * Makefile.am (TESTS): Add run-strip-nothing.sh.
1957 (EXTRA_DIST): Likewise.
1959 2017-06-06 Mark Wielaard <mark@klomp.org>
1961 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
1963 2017-05-30 Mark Wielaard <mark@klomp.org>
1965 * run-backtrace-fp-core-ppc64le.sh: New test.
1966 * backtrace.ppc64le.fp.core.bz2: New test file.
1967 * backtrace.ppc64le.fp.exec.bz2: New testfile.
1968 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
1969 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
1970 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
1971 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
1973 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
1974 Mark Wielaard <mark@klomp.org>
1976 * Makefile.am: Add test for unwinding with frame pointers on aarch64
1977 * backtrace.aarch64.fp.core.bz2: New file
1978 * backtrace.aarch64.fp.exec.bz2: New file
1979 * run-backtrace-fp-core-aarch64.sh: New file
1980 * backtrace-subr.sh (check_err): Allow Invalid register.
1981 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
1983 2017-04-06 Mark Wielaard <mark@klomp.org>
1985 * run-backtrace-fp-core-i386.sh: New test.
1986 * backtrace.i386.fp.core.bz2: New test file.
1987 * backtrace.i386.fp.exec.bz2: New testfile.
1988 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
1989 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
1990 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
1992 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
1994 * Makefile.am: Add test for unwinding with frame pointers on x86_64
1995 * backtrace.x86_64.fp.core.bz2: New file
1996 * backtrace.x86_64.fp.exec.bz2: New file
1997 * run-backtrace-fp-core-x86_64.sh: New file
1999 2017-04-25 Mark Wielaard <mark@klomp.org>
2001 * backtrace-subr.sh (check_backtracegen): New function.
2002 (check_core): Add check_backtracegen call.
2003 * backtrace.ppc.exec.bz2: Regenerated.
2004 * backtrace.ppc.core.bz2: Likewise.
2006 2017-04-24 Mark Wielaard <mark@klomp.org>
2008 * backtrace.c: Remove option to allow unknown symbols in the trace.
2009 * backtrace-substr.sh: Remove option to allow unknown symbols
2010 to check_core() and allow failed symbol lookups in check_err().
2012 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
2014 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
2016 * run-readelf-zdebug-rel.sh: Likewise.
2018 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
2020 * backtrace-child.c: Include sys/ptrace.h only on linux.
2021 * backtrace-dwarf.c: Likewise.
2023 2017-04-05 Mark Wielaard <mark@klomp.org>
2025 * test-subr.sh (testrun_on_self_compressed): New function.
2026 * run-elflint-self.sh: Call testrun_on_self_compressed.
2027 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
2029 2017-03-30 Mark Wielaard <mark@klomp.org>
2031 * peel_type.c: New file.
2032 * run-peel-type.sh: New test.
2033 * Makefile.am (check_PROGRAMS): Add peel_type.c.
2034 (TESTS): Add run-peel-type.sh.
2035 (EXTRA_DIST): Likewise.
2036 (peel_type_LDADD): New variable.
2038 2017-03-27 Mark Wielaard <mark@klomp.org>
2040 * fillfile.c: New file.
2041 * Makefile.am (check_PROGRAMS): Add fillfile.
2043 (fillfile_LDADD): New variable.
2045 2017-02-15 Mark Wielaard <mark@klomp.org>
2047 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
2048 * run-readelf-A.sh: Add testfileppc64.o test.
2050 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
2052 * elfstrmerge.c: Include system.h.
2054 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
2056 * backtrace.c: Add an option to allow unknown symbols in the trace
2057 * backtrace-substr.sh: Add an option to allow unknown symbols
2058 to check_core() and allow failed symbol lookups in check_err()
2060 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
2062 * backtrace-data.c: Don't assert that symbols are found.
2063 The unwinder is allowed to ask for invalid addresses. We deny
2064 such requests, rather than make the test fail.
2066 2016-11-17 Mark Wielaard <mjw@redhat.com>
2068 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
2070 2016-11-02 Mark Wielaard <mjw@redhat.com>
2072 * backtrace-data.c (thread_callback): Add explicit break after error.
2073 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
2075 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
2077 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
2078 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
2079 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
2080 (run-unstrip-test4.sh): New file.
2081 (testfile-strtab.bz2): New file.
2082 (testfile-strtab.stripped.bz2): New file.
2083 (testfile-strtab.debuginfo.bz2): New file.
2085 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
2087 * arextract.c: Remove sys/param.h include, add system.h include.
2089 2016-08-30 Mark Wielaard <mjw@redhat.com>
2091 * Makefile.am (asm_tst?_LDADD): Add libdw.
2093 2016-08-25 Mark Wielaard <mjw@redhat.com>
2095 * backtrace-child.c: Disable and add documentation about why we disable
2096 RAISE_JMP_PATCHING even on x86_64.
2097 * backtrace.c (is_x86_64_native): Rename to...
2098 (use_raise_jmp_patching): ... this.
2099 (callback_verify): Use use_raise_jmp_patching instead of
2101 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
2103 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
2105 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
2106 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
2107 use_raise_jmp_patching instead of is_x86_64_native.
2109 2016-08-24 Mark Wielaard <mjw@redhat.com>
2111 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
2113 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2115 * testfilesparc64attrs.o.bz2: New file.
2116 * run-readelf-A.sh: Check attributes in a sparc object.
2118 2016-08-06 Mark Wielaard <mjw@redhat.com>
2120 * run-strip-reloc.sh: Add explicit compressed and uncompressed
2123 2016-08-10 Richard Henderson <rth@redhat.com>
2125 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
2128 2016-07-08 Mark Wielaard <mjw@redhat.com>
2130 * update3_LDADD: Use libdw instead of libebl.
2131 * update4_LDADD: Likewise.
2132 * alldts_LDADD: Likewise.
2133 * elfstrmerge_LDADD: Likewise.
2134 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
2135 * elfstrmerge.c (release): Likewise.
2137 * update3.c (main): Likewise.
2138 * update4.c (main): Likewise.
2140 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
2142 * Makefile.am (TESTS): Add run-strip-test11.sh.
2143 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
2144 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
2145 (run-strip-test11.sh): New file.
2146 (hello_m68k.ko.bz2): New file.
2147 (testfile-m68k-core.bz2): New file.
2148 (testfile-m68k.bz2): New file.
2149 (testfile-m68k-s.bz2): New file.
2150 * run-allregs.sh: Add test for testfile-m68k-core.
2151 * run-readelf-mixed-corenote.sh: Likewise.
2152 * run-strip-reloc.sh: Add test for hello_m68k.ko.
2154 2016-07-06 Mark Wielaard <mjw@redhat.com>
2156 * Makefile.am (check_PROGRAMS): Add vendorelf.
2158 (vendorelf_LDADD): New variable.
2159 * vendorelf.c: New test.
2160 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
2162 2016-06-24 Mark Wielaard <mjw@redhat.com>
2164 * Makefile.am (check_PROGRAMS): Add emptyfile.
2166 (emptyfile_LDADD): New variable.
2167 * emptyfile.c: New test.
2169 2016-06-28 Richard Henderson <rth@redhat.com>
2171 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
2172 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
2173 testfile-bpf-dis1.o.bz2
2174 (run-disasm-bpf.sh): New file.
2175 (testfile-bpf-dis1.expect.bz2): New file.
2176 (testfile-bpf-dis1.o.bz2): New file.
2178 2016-02-09 Mark Wielaard <mjw@redhat.com>
2180 * testfile-s390x-hash-both.bz2: New testfile.
2181 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
2182 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
2184 2016-02-04 Mark Wielaard <mjw@redhat.com>
2186 * run-strip-nobitsalign.sh: New test.
2187 * testfile-nobitsalign.bz2: New testfile.
2188 * testfile-nobitsalign.strip.bz2: Likewise.
2189 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
2190 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
2191 and testfile-nobitsalign.strip.bz2.
2192 * run-strip-test.sh: Add --gnu to elflint calls.
2194 2016-01-13 Mark Wielaard <mjw@redhat.com>
2196 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
2198 2016-01-13 Mark Wielaard <mjw@redhat.com>
2200 * dwfl-proc-attach.c: Guard linux specific header.
2202 2016-01-13 Mark Wielaard <mjw@redhat.com>
2204 * system-elf-libelf-test.c: New test.
2205 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
2206 (check_PROGRAMS): Likewise.
2207 (system_elf_libelf_test_CPPFLAGS): New variable.
2208 (system_elf_libelf_test_LDADD): Likewise.
2210 2016-01-08 Mark Wielaard <mjw@redhat.com>
2212 * elfputzdata.c (main): Fix parentheses in strncmp test.
2214 2016-01-08 Mark Wielaard <mjw@redhat.com>
2216 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
2218 2016-01-08 Mark Wielaard <mjw@redhat.com>
2220 * Makefile.am (TESTS): Always unconditionally add
2221 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
2223 2015-12-16 Mark Wielaard <mjw@redhat.com>
2225 * run-compress-test.sh: New test.
2226 * Makefile.am (TESTS): Add run-compress-test.sh.
2227 (EXTRA_DISTS): Likewise.
2229 2015-11-26 Mark Wielaard <mjw@redhat.com>
2231 * zstrptr.c: New file.
2232 * run-zstrptr.sh: New test.
2233 * elfputzdata.c (main): (re)compress .shstrtab.
2234 * run-elfputzdata.sh: Expect .shstrtab compression.
2235 * Makefile.am (check_PROGRAMS): Add zstrptr.
2236 (TESTS): Add run-zstrptr.sh.
2237 (EXTRA_DIST): Likewise.
2238 (zstrptr_LDADD): New variable.
2240 2015-10-20 Mark Wielaard <mjw@redhat.com>
2242 * run-readelf-zx.sh: New test.
2243 * run-readelf-zp.sh: Likewise.
2244 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
2245 (EXTRA_DIST): Likewise.
2247 2015-10-21 Mark Wielaard <mjw@redhat.com>
2249 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
2250 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
2251 (EXTRA_DIST: Likewise.
2252 (elfgetzdata_LDADD): New variable.
2253 (elfputzdata_LDADD): Likewise.
2254 * elfgetzdata.c: New file.
2255 * elfputzdata.c: Likewise.
2256 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
2257 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
2258 ELF_E_DECOMPRESS_ERROR.
2259 * run-elfgetzdata.sh: New test.
2260 * run-elfputzdata.sh: Likewise.
2262 2015-10-28 Mark Wielaard <mjw@redhat.com>
2264 * run-readelf-z.sh: New test.
2265 * Makefile.am (TESTS): Add run-readelf-z.sh.
2266 (EXTRA_DIST): Likewise.
2268 2015-10-28 Mark Wielaard <mjw@redhat.com>
2270 * elfgetchdr.c: New file.
2271 * run-elfgetchdr.sh: New test.
2272 * testfile-zgabi32.bz2: New testfile.
2273 * testfile-zgabi32be.bz2: Likewise.
2274 * testfile-zgabi64.bz2: Likewise.
2275 * testfile-zgabi64be.bz2: Likewise.
2276 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
2277 (TESTS): Add run-elfgetchdr.sh.
2278 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
2279 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
2280 (welfgetchdr_LDADD): New variable.
2281 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
2282 and ELF_E_INVALID_SECTION_FLAGS,
2285 2015-10-28 Mark Wielaard <mjw@redhat.com>
2287 * dwelfgnucompressed.c: New file.
2288 * run-dwelfgnucompressed.sh: New test.
2289 * testfile-zgnu32.bz2: New testfile.
2290 * testfile-zgnu64.bz2: Likewise.
2291 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
2292 (TESTS): Add run-dwelfgnucompressed.sh.
2293 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
2294 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
2295 (dwelfgnucompressed_LDADD): New variable.
2297 2015-12-31 Mark Wielaard <mjw@redhat.com>
2299 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
2300 * run-elfstrmerge-test.sh: New test.
2301 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
2302 (EXTRA_DIST): Likewise.
2304 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
2306 * run-backtrace-core-sparc.sh: New file.
2307 * backtrace.sparc.core.bz2: New file.
2308 * backtrace.sparc.exec.bz2: New file.
2309 * Makefile.am (EXTRA_DIST): ... and added all here.
2310 (TESTS): Added run-backtrace-core-sparc.sh.
2312 2015-12-02 Mark Wielaard <mjw@redhat.com>
2314 * Makefile.am (valgrind_cmd): Use --leak-check=full.
2315 * run-backtrace-demangle.sh: Disable valgrind.
2316 * run-stack-demangled-test.sh: Likewise.
2317 * run-stack-d-test.sh: Likewise.
2318 * run-stack-i-test.sh: Likewise.
2320 2015-12-01 Mark Wielaard <mjw@redhat.com>
2322 * test-flag-nobits.c (main): Call elf_end.
2323 * rerequest_tag.c (main): Call dwarf_end.
2324 * funcscopes.c (handle_function): Free scopes.
2325 * dwarf-getstring.c (main): Call dwarf_end.
2326 * allregs.c (main): Free state.info.
2327 * alldts.c (main): Free dyn.
2328 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
2330 * addrscopes.c (handle_address): Free scopes.
2332 2015-10-16 Mark Wielaard <mjw@redhat.com>
2334 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
2335 [BUILD_STATIC] (libelf): Likewise.
2337 2015-10-16 Mark Wielaard <mjw@redhat.com>
2339 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
2341 2015-10-09 Josh Stone <jistone@redhat.com>
2343 * lfs-symbols: New list of LFS-related symbols from lintian.
2344 * testfile-nolfs.bz2: New test binary for sanity checking.
2345 * run-lfs-symbols.sh: New test.
2346 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
2347 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
2349 * alldts.c (main): Replace open64 with open.
2350 * dwarf-getstring.c (main): Likewise.
2351 * arls.c: Include config.h.
2353 * rdwrmmap.c: Likewise.
2354 * test-elf_cntl_gelf_getshdr.c: Likewise.
2355 * test-flag-nobits.c: Include config.h.
2356 (main): Replace open64 with open.
2358 2015-10-09 Mark Wielaard <mjw@redhat.com>
2360 * elfshphehdr.c (check): Rename argument from check to statement.
2361 (check_elf): Likewise.
2363 2015-10-05 Josh Stone <jistone@redhat.com>
2365 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
2367 2015-10-02 Mark Wielaard <mjw@redhat.com>
2369 * elfstrmerge.c: New check program.
2370 * run-strip-strmerge.sh: New test.
2371 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
2372 (EXTRA_DIST): Add run-strip-strmerge.sh
2373 (elfstrmerge_LDADD): New variable.
2375 2015-09-29 Mark Wielaard <mjw@redhat.com>
2377 * elfshphehdr.c: New test.
2378 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
2380 (elfshphehdr_LDADD): New variable.
2382 2015-09-08 Mark Wielaard <mjw@redhat.com>
2384 * dwfl-proc-attach.c: New test.
2385 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
2387 (dwfl_proc_attach_LDADD): New variable.
2388 (dwfl_proc_attach_LDFLAGS): Likewise.
2390 2015-09-04 Chih-Hung Hsieh <chh@google.com>
2392 * varlocs.c (print_base_type): Initialize enctype.
2394 2015-09-04 Chih-Hung Hsieh <chh@google.com>
2396 * md5-sha1-test.c (md5_expected): Removed.
2397 (sha1_expected): Likewise.
2399 2015-09-04 Chih-Hung Hsieh <chh@google.com>
2401 * asm-tst1.c (main): Replace %Z length modifier with %z.
2402 * asm-tst2.c (main): Likewise.
2403 * asm-tst3.c (main): Likewise.
2404 * asm-tst4.c (main): Likewise.
2405 * asm-tst5.c (main): Likewise.
2406 * asm-tst6.c (main): Likewise.
2407 * asm-tst7.c (main): Likewise.
2408 * asm-tst8.c (main): Likewise.
2409 * asm-tst9.c (main): Likewise.
2410 * sectiondump.c (print_bytes): Likewise.
2412 2015-08-14 Mark Wielaard <mjw@redhat.com>
2414 * run-addr2line-alt-debugpath.sh: New test.
2415 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
2416 (EXTRA_DIST): Likewise.
2418 2015-07-29 Mark Wielaard <mjw@redhat.com>
2420 * run-unstrip-test3.sh: New test.
2421 * testfile-info-link.bz2: New file.
2422 * testfile-info-link.debuginfo.bz2: Likewise.
2423 * testfile-info-link.stripped.bz2: Likewise.
2424 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
2425 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
2426 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
2428 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
2430 * tests/run-deleted.sh: Skip when detecting a not implemented
2431 dwfl_linux_proc_attach.
2433 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
2435 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
2438 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
2440 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
2442 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
2444 * tests/backtrace-data.c: Reduce scope of some includes to match their
2446 * tests/backtrace.c: Likewise.
2447 * tests/deleted.c: Likewise.
2449 2015-06-16 Mark Wielaard <mjw@redhat.com>
2451 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
2452 for non-ET_REL files.
2454 2015-05-30 Mark Wielaard <mjw@redhat.com>
2456 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
2457 generated before skipping.
2458 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
2460 * run-backtrace-demangle.sh: Likewise.
2461 * run-stack-demangled-test.sh: Likewise.
2462 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
2464 * run-backtrace-native-core-biarch.sh: Likewise.
2465 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
2467 2015-05-20 Mark Wielaard <mjw@redhat.com>
2469 * run-addr2line-i-test.sh: Add pretty test.
2470 * run-addr2line-test.sh: Likewise.
2472 2015-05-20 Mark Wielaard <mjw@redhat.com>
2474 * run-addr2line-i-demangle-test.sh: New test.
2475 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
2476 (EXTRA_DIST): Likewise.
2478 2015-05-20 Mark Wielaard <mjw@redhat.com>
2480 * run-addr2line-test.sh: Add -a test variants.
2481 * run-addr2line-i-test.sh: Likewise.
2483 2015-05-20 Mark Wielaard <mjw@redhat.com>
2485 * run-addrname-test.sh: Make sure all input addresses are hex.
2487 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
2489 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
2490 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
2492 * backtrace-dwarf.c (main): Likewise.
2493 * backtrace.c (prepare_thread, exec_dump): Likewise.
2495 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
2497 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
2498 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
2499 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
2500 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
2501 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
2503 2015-05-01 Mark Wielaard <mjw@redhat.com>
2505 * run-stack-d-test.sh: Use --raw and mangled output.
2506 * run-stack-i-test.sh: Likewise.
2507 * run-stack-demangled-test.sh: New test.
2508 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
2511 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2513 * Makefile.am (TESTS): Add run-strip-test10.sh.
2514 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
2515 Add testfile-x32-debug.bz2.
2516 * run-strip-test10.sh: New file.
2517 * testfile-x32-d.bz2: Likewise.
2518 * testfile-x32-debug.bz2: Likewise.
2520 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2522 * Makefile.am (TESTS): Add run-strip-test9.sh.
2523 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
2524 * run-strip-test9.sh: New file.
2525 * testfile-x32-s.bz2: Likewise.
2527 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2529 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
2530 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
2531 Add backtrace.x32.exec.bz2.
2532 * backtrace.x32.core.bz2 : New file.
2533 * backtrace.x32.exec.bz2: Likewise.
2534 * run-backtrace-core-x32.sh: Likewise.
2536 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2538 * run-addrcfi.sh: Add a test for testfile-x32.
2539 * testfile-x32.bz2: New file.
2540 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
2542 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2544 * run-allregs.sh: Add a test for testfile-x32-core.
2546 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2548 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
2549 * testfile-x32-core.bz2: New file.
2550 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
2552 2015-03-18 Petr Machata <pmachata@redhat.com>
2554 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
2556 * allregs.c (dwarf_encoding_string): Likewise.
2557 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
2558 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
2560 2015-03-18 Petr Machata <pmachata@redhat.com>
2562 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
2563 debug-ranges-no-lowpc.o.bz2.
2565 2015-03-13 Mark Wielaard <mjw@redhat.com>
2567 * backtrace-dwarf.c: Add explicit includes.
2568 (cleanup_13_abort): Remove unused static declaration.
2569 (thread_callback): Add explicit return.
2571 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
2573 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
2574 instead of PTRACE_POKEUSER.
2575 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
2578 2015-02-18 Mark Wielaard <mjw@redhat.com>
2580 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
2582 2015-02-11 Josh Stone <jistone@redhat.com>
2584 * backtrace.c (exec_dump): Initialize jmp.
2586 2015-02-11 Petr Machata <pmachata@redhat.com>
2588 * run-dwarf-ranges.sh: New test.
2589 * dwarf-ranges.c: New file.
2590 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
2592 2015-01-21 Mark Wielaard <mjw@redhat.com>
2594 * Makefile.am (check_PROGRAMS): Add elfstrtab.
2596 (elfstrtab_LDADD): New variable.
2597 * elfstrtab.c: New test.
2599 2015-01-20 Mark Wielaard <mjw@redhat.com>
2601 * Makefile.am (check_PROGRAMS): Add newdata.
2603 (newdata_LDADD): new variable.
2604 * newdata.c: New test.
2606 2015-01-20 Mark Wielaard <mjw@redhat.com>
2608 * strptr.c: New file.
2609 * run-strptr.sh: New test.
2610 * Makefile.am (check_PROGRAMS): Add strptr.
2611 (TESTS): Add run-strptr.sh.
2612 (EXTRA_DIST): Likewise.
2613 (strptr_LDADD): New variable.
2615 2015-01-15 Mark Wielaard <mjw@redhat.com>
2617 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
2618 * vdsosyms.c (main): Use getpid () instead of getppid ().
2620 2014-12-27 Mark Wielaard <mjw@redhat.com>
2622 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
2623 * funcscopes.c (handle_function): Likewise.
2624 * run-addrscopes.sh: Adjust last address in scope.
2625 * run-funcscopes.sh: Likewise.
2627 2015-01-07 Mark Wielaard <mjw@redhat.com>
2629 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
2631 2015-01-14 Mark Wielaard <mjw@redhat.com>
2633 * testfile-debug-types.bz2: New testfile.
2634 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
2635 * typeiter2.c (main): Print both name and offset of found form DIE.
2636 * run-typeiter.s: Adjust output and add testfile-debug-types.
2638 2014-12-26 Mark Wielaard <mjw@redhat.com>
2640 * run-test-archive64.sh: Add nm test.
2642 2014-12-19 Mark Wielaard <mjw@redhat.com>
2644 * run-deleted.sh: Don't check libfunc on ppc64.
2646 2014-12-19 Mark Wielaard <mjw@redhat.com>
2648 * vdsosyms.c (vdso_seen): Removed.
2649 (vdso_syms): New global.
2650 (module_callback): Set and check vdso_syms.
2651 (main): Return value depends on vdso_syms.
2653 2014-12-19 Mark Wielaard <mjw@redhat.com>
2655 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
2657 * run-deleted.sh: Call check_native_unsupported.
2659 2014-12-18 Mark Wielaard <mjw@redhat.com>
2661 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
2663 2014-12-12 Mark Wielaard <mjw@redhat.com>
2665 * Makefile.am (deleted_lib_so_CFLAGS): Add
2666 -fasynchronous-unwind-tables.
2668 2014-12-11 Josh Stone <jistone@redhat.com>
2670 * run-addr2line-i-lex-test.sh: New test.
2671 * testfile-lex-inlines.bz2: New testfile.
2672 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
2673 testfile-lex-inlines.bz2.
2674 (TESTS): Add run-addr2line-i-lex-test.sh.
2676 2014-12-10 Josh Stone <jistone@redhat.com>
2678 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
2679 preferred over the plain die name.
2681 2014-12-02 Petr Machata <pmachata@redhat.com>
2683 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
2684 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
2685 (main): Initialize off to DWARF_GETMACROS_START when an extra
2686 command line argument is passed.
2687 * testfile-macros-0xff.bz2: New test case.
2688 * testfile-macros-0xff.s: New file (source for the above).
2689 * run-dwarf-getmacros.sh: Add two tests.
2691 2014-11-27 Mark Wielaard <mjw@redhat.com>
2693 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
2695 2014-11-21 Mark Wielaard <mjw@redhat.com>
2697 * run-readelf-A.sh: New test.
2698 * testfileppc32attrs.o.bz2: New test file.
2699 * Makefile.am (TESTS): Add run-readelf-A.sh.
2700 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
2702 2014-11-10 Mark Wielaard <mjw@redhat.com>
2704 * vdsosyms.c: New test.
2705 * Makefile.am (check_PROGRAMS): Add vdsosyms.
2707 (vdsosyms_LDADD): New variable.
2709 2014-09-10 Petr Machata <pmachata@redhat.com>
2711 * dwarf-getmacros.c: Update to use the new macro iteration
2713 * run-dwarf-getmacros.sh: Adjust, add a test that uses
2716 2014-10-06 Mark Wielaard <mjw@redhat.com>
2718 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
2719 * testfile-sizes3.o.bz2: New test file.
2720 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
2722 2014-10-02 Mark Wielaard <mjw@redhat.com>
2724 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
2726 2014-10-02 Mark Wielaard <mjw@redhat.com>
2728 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
2729 (TESTS): Add run-aggregate-size.sh.
2730 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
2731 and testfile-sizes2.o.bz2.
2732 (aggregate_size_LDADD): New variable.
2733 * aggregate_size.c: New file.
2734 * run-aggregate-size.sh: New test.
2735 * testfile-sizes1.o.bz2: New test file.
2736 * testfile-sizes2.o.bz2: Likewise.
2738 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2740 Support NT_FILE for locating files.
2741 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
2742 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
2743 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
2744 * linkmap-cut-lib.so.bz2: New file.
2745 * linkmap-cut.bz2: New file.
2746 * linkmap-cut.core.bz2: New file.
2747 * run-linkmap-cut.sh: New file.
2748 * run-unstrip-n.sh: Update its expected output.
2750 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2752 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
2753 (TESTS, EXTRA_DIST): Add run-deleted.sh.
2754 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
2755 * deleted-lib.c: New file.
2756 * deleted.c: New file.
2757 * run-deleted.sh: New file.
2759 2014-06-15 Mark Wielaard <mjw@redhat.com>
2761 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
2763 2014-06-13 Mark Wielaard <mjw@redhat.com>
2765 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
2768 2014-06-13 Mark Wielaard <mjw@redhat.com>
2770 * backtrace-subr.sh (check_native_unsupported): New function.
2771 (check_native): Call it.
2772 (check_native_core): Likewise.
2773 * run-backtrace-dwarf.sh: Likewise.
2775 2014-06-11 Mark Wielaard <mjw@redhat.com>
2777 * backtrace.c (main): Check that Dwfl was attached by calling
2778 dwfl_pid and printing the error when it is not.
2780 2014-05-18 Mark Wielaard <mjw@redhat.com>
2782 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
2784 * testfile-backtrace-demangle.bz2: Regenerate.
2785 * testfile-backtrace-demangle.core.bz2: Likewise.
2787 2014-05-02 Mark Wielaard <mjw@redhat.com>
2789 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
2790 run-allfcts-multi.sh are now added unconditionally.
2792 2014-05-01 Mark Wielaard <mjw@redhat.com>
2794 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
2797 2014-04-30 Mark Wielaard <mjw@redhat.com>
2799 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
2800 * Makefile.am (check_PROGRAMS): Add buildid.
2801 (TESTS): Add run-buildid.sh.
2802 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
2803 (buildid_LDADD): New variable.
2805 2014-04-24 Florian Weimer <fweimer@redhat.com>
2807 * allfcts.c (setup_alt): New function.
2808 (main): Call it. Implementation additional error checking and
2811 2014-04-24 Florian Weimer <fweimer@redhat.com>
2813 * debugaltlink.c, run-debugaltlink.sh: New files.
2814 * Makefile.am (check_PROGRAMS): Add debugaltlink.
2815 (TESTS): Add run-debugaltlink.sh.
2816 (debugaltlink_LDADD): New variable.
2818 2014-04-11 Mark Wielaard <mjw@redhat.com>
2820 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
2821 (check_PROGRAMS): Add debuglink.
2822 (TESTS): Add run-debuglink.sh
2823 (EXTRA_DIST): Likewise.
2824 (debuglink_LDADD): New.
2825 * debuglink.c: New file.
2826 * run-debuglink.sh: Likewise.
2828 2014-03-23 Mark Wielaard <mjw@redhat.com>
2830 * run-nm-self.sh: Use test = not == for string comparisons.
2832 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
2834 * backtrace.c: Make Linux only.
2835 * backtrace-child.c: Make Linux only.
2836 * backtrace-data.c: Make Linux only.
2837 * backtrace-dwarf.c: Make Linux only.
2838 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
2840 2014-03-14 Mark Wielaard <mjw@redhat.com>
2842 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
2844 * configure.ac: Remove MUDFLAP conditional.
2846 2014-04-09 Mark Wielaard <mjw@redhat.com>
2848 * run-readelf-zdebug.sh: New test.
2849 * testfile-debug.bz2: New testfile.
2850 * testfile-zdebug.bz2: New testfile.
2851 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
2852 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
2853 testfile-zdebug.bz2.
2855 2014-04-10 Mark Wielaard <mjw@redhat.com>
2857 * testfile_i686_core.bz2: New test file.
2858 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
2859 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
2861 2014-04-09 Mark Wielaard <mjw@redhat.com>
2863 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
2864 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
2865 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
2866 * run-backtrace-core-aarch64.sh: New test.
2868 2014-03-11 Josh Stone <jistone@redhat.com>
2870 * testfilebaxmin.bz2: New testfile.
2871 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
2872 * run-readelf-s.sh: Test testfilebaxmin.
2873 * run-dwflsyms.sh: Likewise.
2875 2014-01-26 Mark Wielaard <mjw@redhat.com>
2877 * backtrace-subr.sh (check_unsupported): Special case arm*.
2879 2014-01-25 Mark Wielaard <mjw@redhat.com>
2881 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
2882 location expression: call_frame_cfa stack_value.
2884 2014-01-22 Mark Wielaard <mjw@redhat.com>
2886 * Makefile.am (line2addr_no_Wformat): Removed.
2888 2014-01-21 Mark Wielaard <mjw@redhat.com>
2890 * Makefile.am (TESTS): Add run-stack-i-test.sh.
2891 (EXTRA_DIST): Likewise.
2892 * run-stack-i-test.sh: New test.
2894 2014-01-20 Mark Wielaard <mjw@redhat.com>
2896 * Makefile.am (TESTS): Add run-stack-d-test.sh.
2897 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
2898 testfiledwarfinlines.core.bz2.
2899 * run-stack-d-test.sh: New test.
2900 * testfiledwarfinlines.bz2: New test file.
2901 * testfiledwarfinlines.core.bz2: Likewise.
2903 2014-01-16 Mark Wielaard <mjw@redhat.com>
2905 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
2906 on one ET_REL, one ET_EXEC and one ET_DYN file.
2907 * test-subr.sh (self_test_files): Add two ET_REL files, only add
2908 two libebl ET_DYN backend files.
2910 2014-01-16 Mark Wielaard <mjw@redhat.com>
2912 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
2914 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2916 Fix false FAILs on testsuite with ulimit -c unlimited.
2917 * backtrace-child.c (sigusr2): Call pthread_exit.
2918 (main): Return, do not call abort.
2920 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2922 Fix corruption of non-C++ symbols by the demangler.
2923 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
2924 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
2925 (EXTRA_DIST): Add run-backtrace-demangle.sh,
2926 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
2927 testfile-backtrace-demangle.core.bz2.
2928 * backtrace-demangle.cc: New file.
2929 * run-backtrace-demangle.sh: New file.
2930 * testfile-backtrace-demangle.bz2: New file.
2931 * testfile-backtrace-demangle.cc: New file.
2932 * testfile-backtrace-demangle.core.bz2: New file.
2934 2014-01-07 Matthias Klose <doko@ubuntu.com>
2936 * backtrace-subr.sh (check_native_core): Check to see if core file
2937 was created without ".PID" extension, if so mv core to core.PID.
2938 Skip test if no core file was created or could be found.
2940 2014-01-04 Mark Wielaard <mjw@redhat.com>
2942 * backtrace-data.c (main): Don't assert if raise returns.
2943 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
2944 assume_ptrace_attached true.
2945 (ptrace_detach_stopped): Removed function.
2946 (main): Don't call ptrace_detach_stopped.
2947 * backtrace.c (ptrace_detach_stopped): Removed function.
2948 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
2950 (exec_dump): Don't call ptrace_detach_stopped.
2952 2014-01-04 Mark Wielaard <mjw@redhat.com>
2954 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
2955 if we cannot adjust core ulimit.
2957 2014-01-04 Mark Wielaard <mjw@redhat.com>
2959 * cleanup-13.c (force_unwind_stop): Removed.
2960 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
2961 don't call _Unwind_ForcedUnwind.
2963 2014-01-03 Mark Wielaard <mjw@redhat.com>
2965 * run-addrcfi.sh: Add case for EM_AARCH64.
2966 * testfileaarch64.bz2: New testfile.
2967 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
2969 2013-12-30 Mark Wielaard <mjw@redhat.com>
2971 * backtrace-dwarf.c (report_pid): Explicitly call
2972 dwfl_linux_proc_attach and check for errors.
2973 * backtrace.c (report_pid): Likewise.
2975 2013-12-21 Mark Wielaard <mjw@redhat.com>
2977 * backtrace.c (callback_verify): Only assert that case 5 is the last
2978 instruction of backtracegen on x86_64 native.
2980 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2981 Mark Wielaard <mjw@redhat.com>
2983 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
2984 and testfilebaz*ppc64*.bz2 files.
2985 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
2986 error on dwfl_module_getsymtab error.
2987 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
2988 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
2989 Also print section of actual value if different from sym.
2990 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
2991 Test addr2line -x by showing different sections for address and
2992 found name in testfile66.
2993 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
2994 testfilebaz*ppc64): New tests.
2995 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
2996 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
2997 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
2998 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
2999 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
3000 testfilebaztabppc64.bz2: New test files.
3002 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3004 unwinder: s390 and s390x
3005 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
3006 run-backtrace-core-s390.sh.
3007 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
3008 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
3009 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
3010 * backtrace.s390.core.bz2: New file.
3011 * backtrace.s390.exec.bz2: New file.
3012 * backtrace.s390x.core.bz2: New file.
3013 * backtrace.s390x.exec.bz2: New file.
3014 * run-backtrace-core-s390.sh: New file.
3015 * run-backtrace-core-s390x.sh: New file.
3017 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3019 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
3022 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3025 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
3026 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
3027 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
3028 * backtrace.ppc.core.bz2: New file.
3029 * backtrace.ppc.exec.bz2: New file.
3030 * run-backtrace-core-ppc.sh: New file.
3032 2013-12-10 Mark Wielaard <mjw@redhat.com>
3034 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
3036 2013-12-10 Mark Wielaard <mjw@redhat.com>
3038 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
3039 * backtrace-subr.sh (check_native_core): Disable valgrind while
3041 * run-backtrace-data.sh: Disable valgrind.
3042 * run-backtrace-dwarf.sh: Likewise.
3044 2013-12-09 Mark Wielaard <mjw@redhat.com>
3046 * varlocs.c (print_expr): Update comment to explain empty location
3047 associated with DW_OP_GNU_implicit_pointer.
3049 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3051 Fix test FAIL with -O2.
3052 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
3054 2013-12-05 Mark Wielaard <mjw@redhat.com>
3056 * backtrace-data.c (main): If unsupported also print to stderr.
3057 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
3059 2013-12-04 Mark Wielaard <mjw@redhat.com>
3061 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
3063 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3065 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
3066 backtrace-data and backtrace-dwarf.
3067 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
3068 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
3069 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
3070 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
3071 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
3072 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
3073 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
3074 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
3075 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
3076 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
3077 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
3078 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
3079 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
3080 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
3082 * backtrace-child.c: New file.
3083 * backtrace-data.c: New file.
3084 * backtrace-dwarf.c: New file.
3085 * backtrace-subr.sh: New file.
3086 * backtrace.c: New file.
3087 * cleanup-13.c: New file.
3088 * backtrace.i386.core.bz2: New file.
3089 * backtrace.i386.exec.bz2: New file.
3090 * backtrace.x86_64.core.bz2: New file.
3091 * backtrace.x86_64.exec.bz2: New file.
3092 * run-backtrace-core-i386.sh: New file.
3093 * run-backtrace-core-x86_64.sh: New file.
3094 * run-backtrace-native-biarch.sh: New file.
3095 * run-backtrace-native-core-biarch.sh: New file.
3096 * run-backtrace-native-core.sh: New file.
3097 * run-backtrace-native.sh: New file.
3098 * run-backtrace-data.sh: New file.
3099 * run-backtrace-dwarf.sh: New file.
3101 2013-11-27 Mark Wielaard <mjw@redhat.com>
3103 * dwflsyms.c (gelf_bind_order): New function.
3104 (elf_section_name): Likewise.
3105 (addr_in_section): Likewise.
3106 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
3107 Refine assert using gelf_bind_order. Print elf_section_name. Check
3108 bias with addr_in_section.
3109 * run-dwflsyms.sh: Add section names to expected output.
3111 2013-11-26 Mark Wielaard <mjw@redhat.com>
3113 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
3115 2013-11-25 Petr Machata <pmachata@redhat.com>
3117 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
3118 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
3119 * Makefile.am (EXTRA_DIST): Add these.
3120 (TESTS): Add run-funcretval.sh.
3121 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
3122 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
3123 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
3124 * run-funcretval.sh: New file.
3126 2013-11-18 Josh Stone <jistone@redhat.com>
3128 * testfilebazdbg_plr.bz2: New testfile.
3129 * testfilebazmin_plr.bz2: Likewise.
3130 * Makefile.am (EXTRA_DIST): Add the above files.
3131 * run-dwflsyms.sh: Add prelink -r tests.
3133 2013-11-15 Mark Wielaard <mjw@redhat.com>
3135 * testfilebazmdb.bz2: Regenerated.
3136 * testfilebazmin.bz2: Likewise.
3137 * testfilebazdbg_pl.bz2: New testfile.
3138 * testfilebazmin_pl.bz2: Likewise.
3139 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
3140 testfilebazmin_pl.bz2.
3141 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
3142 print relative address of function symbols.
3143 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
3145 2013-11-01 Michael Forney <mforney@mforney.org>
3147 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
3148 * run-arsymtest.sh: Use NM.
3150 2013-11-05 Mark Wielaard <mjw@redhat.com>
3152 * allfcts.c (main): Correct dwarf_getfuncs return value check.
3154 2013-10-10 Mark Wielaard <mjw@redhat.com>
3155 Josh Stone <jistone@redhat.com>
3157 * run-allfcts-multi.sh: New test.
3158 * test-offset-loop.bz2: New testfile.
3159 * test-offset-loop.alt.bz2: New testfile.
3160 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
3161 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
3162 test-offset-loop.alt.bz2.
3164 2013-10-15 Mark Wielaard <mjw@redhat.com>
3166 * run-unstrip-M.sh: New test.
3167 * Makefile.am (TESTS): Add run-unstrip-M.sh.
3168 (EXTRA_DIST): Likewise.
3170 2013-10-06 Mark Wielaard <mjw@redhat.com>
3172 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
3173 location expression.
3175 2013-10-03 Josh Stone <jistone@redhat.com>
3177 * typeiter2.c: New file, reversing typeiter.c.
3178 * run-typeiter.sh: Also run typeiter2.
3179 * Makefile.am (check_PROGRAMS): Add typeiter2.
3180 (typeiter2_LDADD): New variable.
3182 2013-09-26 Petr Machata <pmachata@redhat.com>
3184 * run-readelf-mixed-corenote.sh: Update output of testfile71
3185 dump--readelf can newly decode the NT_FILE note.
3187 2013-09-26 Petr Machata <pmachata@redhat.com>
3189 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
3190 * run-readelf-mixed-corenote.sh: New test for this file.
3191 * testfile71.bz2: New file.
3193 2013-09-20 Mark Wielaard <mjw@redhat.com>
3195 * allfcts.c (cb): Return DWARF_CB_ABORT.
3196 (main): Iterate over all offsets returned by dwarf_getfuncs.
3197 * run-allfcts.sh: Add nested_funcs and class_func testcases.
3198 * testfile_nested_funcs.bz2: New test file.
3199 * testfile_class_func.bz2: Likewise.
3200 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
3201 testfile_nested_funcs.bz2.
3203 2013-08-30 Mark Wielaard <mjw@redhat.com>
3205 * Makefile.am (check_PROGRAMS): Add varlocs.
3206 (TESTS): Add run-varlocs.sh.
3207 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
3208 testfile_const_type.bz2, testfile_implicit_pointer.c,
3209 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
3210 testfile_entry_value.c, testfile_entry_value.bz2,
3211 testfile_implicit_value.c and testfile_implicit_value.bz2.
3212 (varlocs_LDADD): New.
3213 * run-varlocs: New test.
3214 * testfile_const_type.c: New test source file.
3215 * testfile_entry_value.c: Likewise.
3216 * testfile_implicit_pointer.c: Likewise.
3217 * testfile_implicit_value.c: Likewise.
3218 * testfile_parameter_ref.c: Likewise.
3219 * testfile_const_type.bz2: New test file.
3220 * testfile_entry_value.bz2: Likewise.
3221 * testfile_implicit_pointer.bz2: Likewise.
3222 * testfile_implicit_value.bz2: Likewise.
3223 * testfile_parameter_ref.bz2: Likewise.
3224 * varlocs.c: New test source.
3226 2013-08-29 Mark Wielaard <mjw@redhat.com>
3228 * run-addrcfi.sh: Add case for EM_ARM.
3229 * testfilearm.bz2: New testfile.
3230 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
3232 2013-08-28 Mark Wielaard <mjw@redhat.com>
3234 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
3236 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
3237 * testfiles390.bz2: New testfile.
3238 * testfiles390x.bz2: Likewise.
3239 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
3242 2013-08-28 Mark Wielaard <mjw@redhat.com>
3244 * addrcfi.c (handle_cfi): Use printf not error.
3245 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
3246 * testfileppc32.bz2: New testfile.
3247 * testfileppc64.bz2: Likewise.
3248 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
3251 2013-08-27 Mark Wielaard <mjw@redhat.com>
3253 * run-addrcfi.sh: New test.
3254 * Makefile.am (TESTS): Add run-addrcfi.sh.
3255 (EXTRA_DIST): Likewise.
3256 * addrcfi.c (op_name): New function.
3257 (print_detail): Call and print op_name. Check ops, not result
3258 to check if this is "same value" or "undefined".
3259 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
3261 2013-08-13 Mark Wielaard <mjw@redhat.com>
3263 * run-addr2line-i-test.sh: New test.
3264 * testfile-inlines.bz2: New testfile.
3265 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
3266 testfile-inlines.bz2.
3267 (TESTS): Add run-addr2line-i-test.sh.
3269 2013-08-12 Mark Wielaard <mjw@redhat.com>
3271 * run-addr2line-test.sh: New test.
3272 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
3275 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3277 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
3280 2013-07-02 Mark Wielaard <mjw@redhat.com>
3282 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
3283 testfilenolines.bz2.
3285 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3287 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
3288 test-core.core.bz2 and test-core.exec.bz2.
3289 * run-addrname-test.sh: New test for these files.
3290 * run-unstrip-n.sh: Update expected output. New test for these files.
3291 * test-core-lib.so.bz2: New file.
3292 * test-core.core.bz2: New file.
3293 * test-core.exec.bz2: New file.
3295 2013-05-03 Mark Wielaard <mjw@redhat.com>
3297 * testfilenolines.bz2: New test file.
3298 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
3299 * run-get-lines.sh: Run testrun_compare on testfilenolines.
3301 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3303 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
3305 2013-04-29 Mark Wielaard <mjw@redhat.com>
3307 * test-subr.sh: Don't use pushd, just cd into test-dir.
3308 (exit_cleanup): Don't use popd, just cd .. to get out.
3310 2013-04-27 Mark Wielaard <mjw@redhat.com>
3312 * test-subr.sh (exit_cleanup): New function.
3313 (trap): Use exit_cleanup as argument.
3314 * run-native-test.sh (native_exit): New function.
3315 (trap): For EXIT (0) use native_exit as argument.
3317 2013-04-27 Mark Wielaard <mjw@redhat.com>
3319 * update1.c (main): Use unique tempfile name and unlink file.
3320 * update2.c (main): Likewise.
3321 * update3.c (main): Likewise.
3322 * update4.c (main): Use unique tempfile name.
3324 2013-04-27 Mark Wielaard <mjw@redhat.com>
3326 * run-alldts.sh: Add testfile-alldts to tempfiles.
3327 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
3328 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
3329 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
3330 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
3332 2013-04-26 Mark Wielaard <mjw@redhat.com>
3334 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
3336 (TESTS_ENVIRONMENT): Likewise.
3337 (installed_LOG_COMPILER): New variable defining wrapper.
3338 (LOG_COMPILER): Likewise.
3339 * run-*.sh: Fixup location of input and output files.
3340 * test-subr.sh: Create test_dir, pushd to execute test in.
3341 (trap): Remove test_dir.
3342 (testfiles): Use abs_srcdir.
3343 (installed_testrun): Match on abs_builddir or abs_top_builddir.
3344 (self_test_files): Adjust path.
3346 2013-04-24 Mark Wielaard <mjw@redhat.com>
3348 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
3350 2013-03-25 Mark Wielaard <mjw@redhat.com>
3352 * run-readelf-aranges.sh: New test.
3353 * testfilefoobarbaz.bz2: New test file.
3354 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
3355 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
3357 2013-03-25 Mark Wielaard <mjw@redhat.com>
3359 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
3361 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3363 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
3364 (TESTS): Add run-dwfl-report-elf-align.sh.
3365 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
3366 testfile-dwfl-report-elf-align-shlib.so.bz2 .
3367 (dwfl_report_elf_align_LDADD): New.
3368 * dwfl-report-elf-align.c: New file.
3369 * run-dwfl-report-elf-align.sh: New file.
3370 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
3372 2013-03-12 Mark Wielaard <mjw@redhat.com>
3374 * run-dwfllines.sh: New test.
3375 * dwfllines.c: New test program.
3376 * Makefile.am (TESTS): Add run-dwfllines.sh.
3377 (EXTRA_DIST): Likewise.
3378 (dwfllines_LDADD): New variable.
3380 2013-02-22 Mark Wielaard <mjw@redhat.com>
3382 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
3383 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
3385 2013-02-15 Mark Wielaard <mjw@redhat.com>
3387 * testfile-dwzstr.bz2: New testfile.
3388 * testfile-dwzstr.multi.bz2: Likewise.
3389 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
3390 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
3391 testfile-dwzstr.multi.bz2.
3393 2013-01-30 Mark Wielaard <mjw@redhat.com>
3395 * testfileloc.bz2: New testfile.
3396 * run-readelf-loc.sh: New test.
3397 * Makefile.am (TESTS): Add run-readelf-loc.sh.
3398 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
3400 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3402 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
3403 and s390x core notes.
3404 * testfile67.bz2: New file.
3405 * testfile68.bz2: New file.
3406 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
3408 2013-01-23 Mark Wielaard <mjw@redhat.com>
3410 * testfilebasmin.bz2: New testfile.
3411 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
3412 * run-readelf-s.sh: Test testfilebasmin.
3413 * run-dwflsyms.sh: Likewise.
3415 2013-01-16 Mark Wielaard <mjw@redhat.com>
3417 * Makefile.am (check_PROGRAMS): Add dwflsyms.
3418 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
3419 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
3420 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
3421 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
3422 (dwflsyms_LDADD): New variable.
3424 2013-01-07 Roland McGrath <roland@hack.frob.com>
3426 * run-prelink-addr-test.sh: Use ln -snf.
3428 2012-12-03 Mark Wielaard <mjw@redhat.com>
3430 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
3432 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3434 * run-addrname-test.sh: New test for PIE relocation.
3435 * testfile70.core.bz2: New file.
3436 * testfile70.exec.bz2: New file.
3437 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
3438 testfile70.exec.bz2 .
3440 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3442 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
3443 testfile69.core.bz2 and testfile69.so.bz2 .
3445 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3447 * run-addrname-test.sh: New test for DSO with build-id bias.
3448 * testfile69.core.bz2: New file.
3449 * testfile69.so.bz2: New file.
3451 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3453 * run-addrname-test.sh: New test for core vDSO bias.
3454 * testfile65.bz2: New file.
3456 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3458 * run-addrname-test.sh: New test for symbol preferences.
3459 * testfile64.bz2: New file.
3461 2012-10-01 Mark Wielaard <mjw@redhat.com>
3463 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
3464 * test-wrapper.sh: Export VALGRIND_CMD if available.
3465 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
3466 (installed_testrun): Likewise.
3468 2012-09-24 Petr Machata <pmachata@redhat.com>
3470 * testfile63.bz2: New testfile.
3471 * run-readelf-mixed-corenote.sh: New test.
3472 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
3473 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
3475 2012-09-24 Petr Machata <pmachata@redhat.com>
3477 * testfile62.bz2: New testfile.
3478 * run-readelf-vmcoreinfo.sh: New test.
3479 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
3480 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
3482 2012-09-18 Petr Machata <pmachata@redhat.com>
3484 * testfile61.bz2: New testfile.
3485 * run-allregs.sh: Run reg_test testfile61.
3486 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
3488 2012-08-24 Mark Wielaard <mjw@redhat.com>
3490 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
3492 2012-08-22 Jeff Kenton <jkenton@tilera.com>
3494 * testfile60.bz2: New testfile.
3495 * run-allregs.sh: Run reg_test testfile60.
3497 2012-08-24 Mark Wielaard <mjw@redhat.com>
3499 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
3502 2012-08-16 Mark Wielaard <mjw@redhat.com>
3504 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
3506 * show-die-info.c (tagnames): Removed.
3508 (dwarf_tag_string): New function using known-dwarf macros.
3509 (dwarf_attr_string): Likewise.
3510 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
3511 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
3513 2012-06-27 Mark Wielaard <mjw@redhat.com>
3515 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
3516 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
3517 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
3518 testfile_multi_main.bz2.
3519 * run-readelf-dwz-multi.sh: New test.
3520 * libtestfile_multi_shared.so.bz2: New testfile.
3521 * testfile_multi.dwz.bz2: New testifle.
3522 * testfile_multi_main.bz2: New testifle.
3524 2012-08-01 Petr Machata <pmachata@redhat.com>
3526 * run-test-archive64.sh: New test.
3527 * testarchive64.a.bz2: New testfile.
3528 * Makefile.am (TESTS): Add run-test-archive64.sh.
3529 (EXTRA_DIST): Likewise.
3531 2012-08-01 Mark Wielaard <mjw@redhat.com>
3533 * run-nm-self.sh: New test.
3534 * run-readelf-self.sh: Likewise.
3535 * test-subr.sh (testrun_on_self_quiet): New function.
3536 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
3537 (EXTRA_DIST): Likewise.
3539 2012-08-01 Mark Wielaard <mjw@redhat.com>
3541 * test-subr.sh (self_test_files): New list of files.
3542 (testrun_on_self): New function.
3543 * run-elflint-self.sh: Use testrun_on_self.
3545 2012-07-19 Mark Wielaard <mjw@redhat.com>
3547 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
3548 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
3549 (EXTRA_DIST): Likewise.
3550 (test_elf_cntl_gelf_getshdr_LDADD): New.
3551 test-elf_cntl_gelf_getshdr.c: New test program.
3552 run-elf_cntl_gelf_getshdr.sh: New test script.
3554 2012-07-19 Mark Wielaard <mjw@redhat.com>
3556 * run-elflint-self.sh: runtests on ../backends/*so files.
3558 2012-07-19 Mark Wielaard <mjw@redhat.com>
3560 * run-unstrip-n.sh: test_cleanup.
3561 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
3563 2012-07-11 Mark Wielaard <mjw@redhat.com>
3565 * run-readelf-macro.sh: New test.
3566 * testfilemacro.bz2: New testfile.
3567 * Makefile.am (TESTS): Add run-readelf-macro.sh.
3568 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
3570 2012-06-27 Mark Wielaard <mjw@redhat.com>
3572 * run-readelf-gdb-index.sh: New test.
3573 * testfilegdbindex5.bz2: New testfile.
3574 * testfilegdbindex7.bz2: Likewise.
3575 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
3576 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
3577 testfilegdbindex7.bz2.
3579 2012-07-17 Mark Wielaard <mjw@redhat.com>
3581 * testcore-rtlib-ppc.bz2: New testfile.
3582 * run-unstrip-n.sh: Check new ppc core testfile.
3584 2012-06-26 Mike Frysinger <vapier@gentoo.org>
3586 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
3588 2012-06-26 Mark Wielaard <mjw@redhat.com>
3590 * run-macro-test.sh: New test.
3591 * testfile-macinfo.bz2: New testfile.
3592 * testfile-macros.bz2: Likewise.
3594 2012-05-07 Mark Wielaard <mjw@redhat.com>
3596 * low_high_pc.c: Use proper inttypes in printf formats.
3598 2012-05-11 Mark Wielaard <mjw@redhat.com>
3600 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
3602 2012-05-07 Mark Wielaard <mjw@redhat.com>
3604 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
3606 2012-04-27 Mark Wielaard <mjw@redhat.com>
3608 * Makefile.am (TESTS): Add run-low_high_pc.sh
3609 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
3610 (noinst_PROGRAMS): Add low_high_pc.
3611 (low_high_pc_LDADD): New variable.
3612 * low_high_pc.c: New test.
3614 2012-04-26 Mark Wielaard <mjw@redhat.com>
3616 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
3617 * run-show-ciefde.sh: Removed old libdwarf test.
3618 * show-ciefde.c: Likewise.
3620 2012-04-02 Mark Wielaard <mjw@redhat.com>
3622 * Makefile.am (TESTS): Add run-unstrip-n.sh.
3623 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
3624 * run-unstrip-n.sh: New test.
3625 * testcore-rtlib.bz2: New testfile.
3627 2012-04-02 Mark Wielaard <mjw@redhat.com>
3629 * Makefile.am (TESTS): Add run-readelf-d.sh.
3630 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
3631 * run-readelf-d.sh: New test.
3632 * run-elflint-test.sh: Check new testfile.
3634 2012-03-21 Tom Tromey <tromey@redhat.com>
3636 * typeiter.c: New file.
3637 * run-typeiter.sh: New file.
3638 * testfile59.bz2: New file.
3639 * Makefile.am (noinst_PROGRAMS): Add typeiter.
3640 (TESTS): Add run-typeiter.sh.
3641 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
3642 (typeiter_LDADD): New variable.
3644 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
3646 * run-alldts.sh: testrun ./alldts.
3648 2012-02-21 Roland McGrath <roland@hack.frob.com>
3650 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
3651 * test-subr.sh (installed_testrun): Likewise.
3653 2012-01-18 Roland McGrath <roland@hack.frob.com>
3655 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
3656 it will have been inherited correctly from the test harness.
3657 * asm-tst5.c (main): Likewise.
3658 * asm-tst6.c (main): Likewise.
3659 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
3661 2011-07-09 Roland McGrath <roland@hack.frob.com>
3663 * sha1-tst.c: File removed.
3664 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
3665 (sha1_tst_LDADD): Variable removed.
3667 * md5-sha1-test.c: New file.
3668 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
3669 (md5_sha1_test_LDADD): New variable.
3671 2011-05-30 Mark Wielaard <mjw@redhat.com>
3673 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
3674 run-rerequest_tag.sh
3676 2011-05-24 Mark Wielaard <mjw@redhat.com>
3678 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
3679 * run-strip-reloc.sh: Add hello_s390.ko testcase.
3680 * hello_s390.ko.bz2: New test file.
3682 2011-05-23 Mark Wielaard <mjw@redhat.com>
3684 * Makefile.am (TESTS): Add run-strip-reloc.sh.
3685 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
3686 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
3687 * run-strip-reloc.sh: New test.
3688 * hello_i386.ko.bz2: New test file.
3689 * hello_x86_64.ko.bz2: Likewise.
3690 * hello_ppc64.ko.bz2: Likewise.
3692 2011-05-18 Mark Wielaard <mjw@redhat.com>
3694 * run-strip-groups.sh: New test.
3695 * testfile58.bz2: New test file.
3696 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
3697 (TESTS): Add run-strip-groups.sh.
3698 (EXTRA_DIST): Likewise.
3700 2011-03-28 Marek Polacek <mpolacek@redhat.com>
3702 * alldts.c: New file.
3703 * run-alldts.sh: Use it.
3704 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
3705 (alldts_LDADD): New variable.
3707 2011-03-02 Marek Polacek <mpolacek@redhat.com>
3709 * dwarf-getstring.c: New test.
3710 * run-dwarf-getstring.sh: And its wrapper.
3711 * Makefile.am (EXTRA_DIST): Add and update all.
3713 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3715 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
3716 * run-readelf-twofiles.sh: New file.
3718 2011-02-25 Mark Wielaard <mjw@redhat.com>
3720 * Makefile.am (BUILD_RPATH): Be consistent in naming.
3722 2011-02-02 Josh Stone <jistone@redhat.com>
3724 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
3725 * testfile55-64.bz2, testfile55-64.debug.bz2,
3726 testfile55-64.prelink.bz2, testfile55-32.bz2,
3727 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
3728 * Makefile.am (EXTRA_DIST): Add and update all.
3730 2011-01-12 Roland McGrath <roland@redhat.com>
3732 * run-prelink-addr-test.sh: Make symlinks to find .debug files
3733 corresponding to .noshdrs files.
3735 2011-01-11 Josh Stone <jistone@redhat.com>
3737 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
3738 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
3739 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
3740 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
3741 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
3742 * Makefile.am (EXTRA_DIST): Add and update all.
3744 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
3745 * testfile53.bz2, testfile53.debug.bz2,
3746 testfile53.prelink.bz2: Deleted, so...
3747 * testfile53-64.bz2, testfile53-64.debug.bz2,
3748 testfile53-64.prelink.bz2: Recreated with 64-bit names.
3749 * testfile53-32.bz2, testfile53-32.debug.bz2,
3750 testfile53-32.prelink.bz2: New in 32-bit.
3751 * Makefile.am (EXTRA_DIST): Add and update all.
3753 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
3754 * testfile52.so.bz2, testfile52.so.debug.bz2,
3755 testfile52.prelink.so.bz2: Deleted, so...
3756 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
3757 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
3758 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
3759 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
3760 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
3761 * Makefile.am (EXTRA_DIST): Add and update all.
3763 2011-01-10 Josh Stone <jistone@redhat.com>
3765 * run-prelink-addr-test.sh: New test for prelinked addrs.
3766 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3767 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
3768 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
3769 * testfile53.bz2, testfile53.debug.bz2: New data files.
3770 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
3771 * Makefile.am (EXTRA_DIST): Add them.
3773 2010-06-04 Roland McGrath <roland@redhat.com>
3775 * run-unstrip-test.sh: Also test modifying the file in place.
3777 2010-04-22 Roland McGrath <roland@redhat.com>
3779 * addrcfi.c (handle_cfi): Fix function name in error message.
3780 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
3782 2010-04-14 Roland McGrath <roland@redhat.com>
3784 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
3786 2010-04-10 Ulrich Drepper <drepper@redhat.com>
3788 * msg_tst.c: Adjust expected error message.
3790 2010-04-01 Petr Machata <pmachata@redhat.com>
3792 * test-flag-nobits.c: New test.
3793 * run-test-flag-nobits.sh: And its wrapper.
3794 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
3795 (test_flag_nobits_LDADD): New variable.
3797 2010-02-15 Roland McGrath <roland@redhat.com>
3799 * Makefile.am: Use config/eu.am for common stuff.
3801 * asm-tst9.c (main): Rename local to avoid shadowing another local.
3803 2009-07-22 Roland McGrath <roland@redhat.com>
3805 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
3807 2009-07-08 Roland McGrath <roland@redhat.com>
3809 * addrcfi.c: New file.
3810 * Makefile.am (noinst_PROGRAMS): Add it.
3811 (addrcfi_LDADD): New variable.
3813 2009-05-07 Petr Machata <pmachata@redhat.com>
3815 * testfile51.bz2: New data file.
3816 * dwarf-getmacros.c: New test core.
3817 * run-dwarf-getmacros.sh: New test wrapper.
3818 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
3819 (dwarf_getmacros_LDADD): New variable.
3821 2009-04-23 Ulrich Drepper <drepper@redhat.com>
3823 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
3824 (rdwrmmap_LDADD): Add $(libmudflap).
3826 2009-04-21 Roland McGrath <roland@redhat.com>
3828 * testfile50.bz2: New data file.
3829 * Makefile.am (EXTRA_DIST): Add it.
3830 * run-dwfl-addr-sect.sh: Add a case using it.
3832 2008-12-31 Ulrich Drepper <drepper@redhat.com>
3834 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
3835 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
3836 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
3837 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
3838 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
3839 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
3840 roundss, roundps, roundpd, and roundsd.
3841 * testfile45.S.bz2: Likewise.
3842 * testfile44.expect.bz2: Adjust accordingly.
3843 * testfile45.expect.bz2: Likewise.
3845 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
3846 * testfile45.S.bz2: Likewise.
3847 * testfile44.expect.bz2: Adjust accordingly.
3848 * testfile45.expect.bz2: Likewise.
3850 2008-12-30 Ulrich Drepper <drepper@redhat.com>
3852 * testfile44.S.bz2: Add tests for blendpd and blendps.
3853 * testfile45.S.bz2: Likewise.
3854 * testfile44.expect.bz2: Adjust accordingly.
3855 * testfile45.expect.bz2: Likewise.
3857 2008-12-19 Ulrich Drepper <drepper@redhat.com>
3859 * testfile44.S.bz2: Add tests for AMD 3DNOW.
3860 * testfile45.S.bz2: Likewise.
3861 * testfile44.expect.bz2: Adjust accordingly.
3862 * testfile45.expect.bz2: Likewise.
3864 2008-11-26 Roland McGrath <roland@redhat.com>
3866 * dwfl-bug-getmodules.c: New file.
3867 * Makefile.am (noinst_PROGRAMS): Add it.
3868 (dwfl_bug_getmodules_LDADD): New variable.
3870 2008-09-10 Roland McGrath <roland@redhat.com>
3872 * test-subr.sh (LC_ALL): Export it set to "C".
3873 * run-dwfl-addr-sect.sh: Don't do it here.
3874 * run-strings-test.sh: Likewise.
3876 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
3878 * run-addrname-test.sh: Add a new case.
3879 * testfile49.bz2: New data file.
3880 * Makefile.am (EXTRA_DIST): Add it.
3882 2008-04-10 Roland McGrath <roland@redhat.com>
3884 * testfile48.bz2, testfile48.bz2.debug: New data files.
3885 * Makefile.am (EXTRA_DIST): Add them.
3886 * run-strip-test8.sh: Use them.
3888 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
3890 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
3891 * run-strip-test8.sh: New file.
3892 * testfile47.bz2: New data file.
3893 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3895 2008-03-31 Roland McGrath <roland@redhat.com>
3897 * run-early-offscn.sh: New file.
3898 * early-offscn.c: New file.
3899 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
3900 (early_offscn_LDADD): New variable.
3902 2008-03-19 Roland McGrath <roland@redhat.com>
3904 * run-addrname-test.sh: Add a new case.
3906 2008-02-22 Roland McGrath <roland@redhat.com>
3908 * run-elflint-test.sh: Typo fix.
3910 2008-02-21 Roland McGrath <roland@redhat.com>
3912 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
3913 for the build down to minimum.
3914 * run-disasm-x86-64.sh: Likewise.
3916 2008-02-20 Roland McGrath <roland@redhat.com>
3918 * testfile46.bz2: New data file.
3919 * Makefile.am (EXTRA_DIST): Add it.
3920 * run-elflint-test.sh: Test on it.
3922 2008-02-01 Ulrich Drepper <drepper@redhat.com>
3924 * Makefile.am: Hook up sha1-tst.c.
3925 * sha1-tst.c: New file.
3927 2008-01-21 Roland McGrath <roland@redhat.com>
3929 * testfile45.S.bz2: Add tests for cltq, cqto.
3930 * testfile45.expect.bz2: Adjust.
3932 2008-01-14 Ulrich Drepper <drepper@redhat.com>
3934 * testfile45.S.bz2: Add more tests.
3935 * testfile45.expect.bz2: Adjust.
3937 2008-01-11 Ulrich Drepper <drepper@redhat.com>
3939 * testfile45.expect.bz2: Adjust for adding of address for %rip based
3942 2008-01-10 Ulrich Drepper <drepper@redhat.com>
3944 * testfile45.S.bz2: Add more tests.
3945 * testfile45.expect.bz2: Adjust.
3947 2008-01-08 Ulrich Drepper <drepper@redhat.com>
3949 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
3950 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
3951 run-disasm-x86-64.sh.
3952 * run-disasm-x86-64.sh: New file.
3953 * testfile45.S.bz2: New file.
3954 * testfile45.expect.bz2: New file.
3955 * testfile44.S.bz2: New tests.
3956 * testfile44.expect.bz2: Adjust.
3958 2008-01-04 Ulrich Drepper <drepper@redhat.com>
3960 * testfile44.S.bz2: New tests.
3961 * testfile44.expect.bz2: Adjust.
3963 2008-01-04 Roland McGrath <roland@redhat.com>
3965 * dwfl-bug-fd-leak.c (main): Add a cast.
3967 2008-01-03 Ulrich Drepper <drepper@redhat.com>
3969 * testfile44.S.bz2: New tests.
3970 * testfile44.expect.bz2: Adjust.
3972 2008-01-01 Ulrich Drepper <drepper@redhat.com>
3974 * line2addr.c: Use %m modifier instead of %a to appease gcc.
3976 2008-01-01 Ulrich Drepper <drepper@redhat.com>
3978 * testfile44.S.bz2: New tests.
3979 * testfile44.expect.bz2: Adjust.
3981 2007-12-31 Ulrich Drepper <drepper@redhat.com>
3983 * testfile44.S.bz2: New tests.
3984 * testfile44.expect.bz2: Adjust.
3986 2007-12-30 Ulrich Drepper <drepper@redhat.com>
3988 * testfile44.S.bz2: New tests.
3989 * testfile44.expect.bz2: Adjust.
3991 2007-12-29 Ulrich Drepper <drepper@redhat.com>
3993 * testfile44.s.bz2: New tests.
3994 * testfile44.expect.bz2: Adjust.
3996 2007-12-28 Ulrich Drepper <drepper@redhat.com>
3998 * testfile44.S.bz2: New tests.
3999 * testfile44.expect.bz2: Adjust.
4001 2007-12-27 Ulrich Drepper <drepper@redhat.com>
4003 * testfile44.S.bz2: New tests.
4004 * testfile44.expect.bz2: Adjust.
4006 2007-12-26 Ulrich Drepper <drepper@redhat.com>
4008 * testfile44.S.bz2: New tests.
4009 * testfile44.expect.bz2: Adjust
4011 2007-12-21 Ulrich Drepper <drepper@redhat.com>
4013 * testfile44.S.bz2: More tests.
4014 * testfile44.expect.bz2: Adjust appropriately.
4016 2007-12-19 Ulrich Drepper <drepper@redhat.com>
4018 * Makefile.am (TESTS): Add run-disasm.sh.
4019 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
4020 testfile44.expect.bz2.
4021 * run-disasm.sh: New file.
4022 * testfile44.S.bz2: New file.
4023 * testfile44.expect.bz2: New file.
4025 2007-12-15 Roland McGrath <roland@redhat.com>
4027 * run-allregs.sh: Change expected output for powerpc spefscr.
4029 2007-10-20 Roland McGrath <roland@redhat.com>
4031 * run-dwfl-addr-sect.sh: Change expected output, no errors.
4033 2007-10-19 Roland McGrath <roland@redhat.com>
4035 * dwfl-addr-sect.c (handle_address): Return int.
4036 Don't exit on error, just return nonzero.
4037 (main): Collect results.
4038 * run-dwfl-addr-sect.sh: New file.
4039 * testfile43.bz2: New data file.
4040 * Makefile.am (EXTRA_DIST, TESTS): Add them.
4042 2007-10-18 Roland McGrath <roland@redhat.com>
4044 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
4046 2007-10-16 Roland McGrath <roland@redhat.com>
4048 * test-subr.sh (remove_files): Don't pass -Bb to diff.
4050 2007-10-09 Roland McGrath <roland@redhat.com>
4052 * dwflmodtest.c (print_module): Don't use %p in output.
4053 * run-dwfl-bug-offline-rel.sh: Updated expected output.
4055 2007-10-08 Roland McGrath <roland@redhat.com>
4057 * testfile42.bz2: New data file.
4058 * Makefile.am (EXTRA_DIST): Add it.
4059 * run-elflint-test.sh: New test on that file.
4061 2007-10-04 Roland McGrath <roland@redhat.com>
4063 * run-readelf-test4.sh: New file.
4064 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4066 2007-10-03 Roland McGrath <roland@redhat.com>
4068 * run-readelf-test3.sh: New file.
4069 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4071 2007-10-01 Roland McGrath <roland@redhat.com>
4073 * run-readelf-test2.sh: New file.
4074 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4076 2007-09-11 Roland McGrath <roland@redhat.com>
4078 * run-addrname-test.sh: Add a new case.
4079 * testfile41.bz2: New data file.
4080 * Makefile.am (EXTRA_DIST): Add it.
4082 2007-08-23 Roland McGrath <roland@redhat.com>
4084 * run-allregs.sh: Update expected x86-64 output for %rflags.
4086 2007-08-12 Roland McGrath <roland@redhat.com>
4088 * run-strip-test7.sh: New file.
4089 * testfile39.bz2: New data file.
4090 * testfile40.bz2: New data file.
4091 * testfile40.debug.bz2: New data file.
4092 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4094 2007-08-09 Roland McGrath <roland@redhat.com>
4096 * dwfl-bug-report.c: Fix header inclusion.
4098 2007-08-08 Roland McGrath <roland@redhat.com>
4100 * run-addrname-test.sh: Add a new case using addr2line -S.
4101 * testfile38.bz2: New data file.
4102 * Makefile.am (EXTRA_DIST): Add it.
4104 2007-07-16 Roland McGrath <roland@redhat.com>
4106 * dwfl-bug-report.c: New file.
4107 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
4108 (dwfl_bug_report_LDADD): New variable.
4110 2007-06-06 Roland McGrath <roland@redhat.com>
4112 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
4114 2007-06-05 Ulrich Drepper <drepper@redhat.com>
4116 * Makefile.am (EXTRA_DIST): Add missing line continuation and
4117 testfile37.bz and testfile37.debug.bz2.
4119 2007-05-23 Roland McGrath <roland@redhat.com>
4121 * run-allregs.sh: Update expected Alpha results.
4123 2007-05-18 Roland McGrath <roland@redhat.com>
4125 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
4126 * testfile37.bz2: New data file.
4127 * testfile37.debug.bz2: New data file.
4128 * run-unstrip-test2.sh: New file.
4129 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4131 2007-05-10 Roland McGrath <roland@redhat.com>
4133 * run-dwfl-bug-offline-rel.sh: New file.
4134 * testfile36.bz2: New data file.
4135 * testfile36.debug.bz2: New data file.
4136 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4138 2007-04-28 Roland McGrath <roland@redhat.com>
4140 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
4141 * testfile35.bz2: New data file.
4142 * testfile35.debug.bz2: New data file.
4143 * run-unstrip-test.sh: New file.
4144 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4146 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
4148 2007-04-26 Roland McGrath <roland@redhat.com>
4150 * run-elflint-self.sh: Run all tests even if one fails.
4152 * run-allregs.sh: Add expected output for alpha.
4154 2007-04-24 Roland McGrath <roland@redhat.com>
4156 * run-strip-test.sh: When we saved the debug info, test unstrip too.
4158 2007-04-22 Roland McGrath <roland@redhat.com>
4160 * run-allregs.sh: Update expected register info.
4162 2007-04-16 Roland McGrath <roland@redhat.com>
4164 * dwfl-addr-sect.c: New file.
4165 * Makefile.am (noinst_PROGRAMS): Add it.
4166 (dwfl_addr_sect_LDADD): New variable.
4168 2007-04-05 Roland McGrath <roland@redhat.com>
4170 * get-files.c: Test dwarf_getsrcdirs.
4171 * run-get-files.sh: Update expected output.
4173 2007-04-01 Roland McGrath <roland@redhat.com>
4175 * run-allregs.sh: Updated expected output for x86_64.
4177 2007-03-04 Roland McGrath <roland@redhat.com>
4179 * dwfl-bug-fd-leak.c: New file.
4180 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
4181 (dwfl_bug_fd_leak_LDADD): New variable.
4183 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
4184 show what files have been located.
4186 2007-02-02 Roland McGrath <roland@redhat.com>
4188 * run-addrname-test.sh: New file.
4189 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4190 * testfile34.bz2: New data file.
4191 * Makefile.am (EXTRA_DIST): Add it.
4193 2007-01-20 Roland McGrath <roland@redhat.com>
4195 * testfile33.bz2: New data file.
4196 * Makefile.am (EXTRA_DIST): Add it.
4197 * run-elflint-test.sh: Test on it too.
4199 2007-01-18 Roland McGrath <roland@redhat.com>
4201 * Makefile.am (CFLAGS): Don't molest it.
4203 2007-01-11 Roland McGrath <roland@redhat.com>
4205 * testfile32.bz2: New data file.
4206 * Makefile.am (EXTRA_DIST): Add it.
4207 * run-elflint-test.sh: Test on it too.
4209 2007-02-04 Ulrich Drepper <drepper@redhat.com>
4212 * Makefile (noinst_PROGRAMS): Add arls.
4214 * run-ranlib-test2.sh: Fix type in comment.
4216 2007-01-10 Ulrich Drepper <drepper@redhat.com>
4218 * run-elflint-self.sh (runtest): Show which file has the problem.
4220 2007-01-10 Roland McGrath <roland@redhat.com>
4222 * dwfl-bug-addr-overflow.c: New file.
4223 * Makefile.am (TESTS): Add it.
4224 (dwfl_bug_addr_overflow_LDADD): New variable.
4226 2006-12-17 Roland McGrath <roland@redhat.com>
4228 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
4230 2006-09-05 Roland McGrath <roland@redhat.com>
4232 * run-strings-test.sh: Export LC_ALL=C for the test.
4234 2006-08-29 Roland McGrath <roland@redhat.com>
4236 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
4237 * run-arsymtest.sh: Likewise.
4239 * run-native-test.sh (native.c compilation): Add some braces.
4241 2006-08-22 Roland McGrath <roland@redhat.com>
4243 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
4244 (struct reginfo): New members bits, type.
4245 (one_register, match_register): Update to take new args,
4246 record and display new info.
4247 (main): Display new info.
4248 * run-allregs.sh: Update expected results.
4250 2006-08-03 Roland McGrath <roland@redhat.com>
4252 * run-allregs.sh: Add sparc cases.
4253 * testfile30.bz2: New data file.
4254 * testfile31.bz2: New data file.
4255 * Makefile.am (EXTRA_DIST): Add them.
4257 2006-07-21 Roland McGrath <roland@redhat.com>
4259 * allregs.c (struct reginfo): Increase size of name.
4260 (one_register): Assert that it's big enough.
4262 2006-04-04 Roland McGrath <roland@redhat.com>
4264 * run-bug1-test.sh: Test a second case, to cover both byte orders.
4265 * testfile29.bz2: New file.
4266 * testfile29.rdwr.bz2: New file.
4267 * Makefile.am (EXTRA_DIST): Add them.
4269 2006-04-04 Ulrich Drepper <drepper@redhat.com>
4271 * Makefile.am: Add rules to run run-bug1-test.sh.
4272 * rdwrmmap.c: New file.
4273 * run-bug1-test.sh: New file.
4274 * testfile28.bz2: New file.
4275 * testfile28.rdwr.bz2: New file.
4277 2006-03-09 Roland McGrath <roland@redhat.com>
4279 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
4281 2006-03-01 Roland McGrath <roland@redhat.com>
4283 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
4284 changes matching 3.0 spec.
4286 2006-01-13 Roland McGrath <roland@redhat.com>
4288 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
4289 bash 3.1 whines when it's done in the trap 0 handler.
4291 2006-01-11 Roland McGrath <roland@redhat.com>
4293 * testfile26.bz2: New data file.
4294 * testfile27.bz2: New data file.
4295 * Makefile.am (EXTRA_DIST): Add them.
4296 * run-allregs.sh: Test s390 data.
4298 2005-12-14 Roland McGrath <roland@redhat.com>
4300 * run-native-test.sh: Redirect output from native test process.
4302 2005-12-13 Roland McGrath <roland@redhat.com>
4304 * allregs.c (main): Fail if we find no registers.
4306 * run-native-test.sh: New file.
4307 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4309 2005-12-10 Ulrich Drepper <drepper@redhat.com
4311 * run-readelf-test1.sh: New file.
4312 * Makefile.am (TESTS): Add run-readelf-test1.sh.
4313 (EXTRA_DIST): Likewise.
4315 2005-12-07 Roland McGrath <roland@redhat.com>
4317 * ecp.c (main): Use elf_end to clean up.
4319 2005-11-25 Roland McGrath <roland@redhat.com>
4321 * coverage.sh: Given -v argument, print names of unused files.
4323 * addrscopes.c (main): Use dwfl_end before return.
4324 * allregs.c (main): Likewise.
4325 * find-prologues.c (main): Likewise.
4326 * funcretval.c (main): Likewise.
4327 * funcscopes.c (main): Likewise.
4328 * line2addr.c (main): Likewise.
4330 * run-allregs.sh: New file.
4331 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4333 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
4334 * Makefile.am (allregs_LDADD): Updated.
4336 * allregs.c: New file.
4337 * Makefile.am (noinst_PROGRAMS): Add it.
4338 (allregs_LDADD): New variable.
4340 2005-11-18 Roland McGrath <roland@redhat.com>
4342 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
4343 * test-wrapper.sh: Likewise.
4345 2005-11-17 Roland McGrath <roland@redhat.com>
4347 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
4348 environment for test-wrapper.sh.
4349 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
4350 * test-subr.sh (installed_testrun): Likewise.
4351 Use explicit path in ${bindir}.
4353 * Makefile.am (installcheck-local): Fix typo in last change.
4355 2005-11-16 Roland McGrath <roland@redhat.com>
4357 * configure.ac: New file, for standalone build/dist of test suite.
4358 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
4359 (asm_TESTS): New variable, broken out of ...
4360 (TESTS): ... here. Also remove msg_tst.
4361 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
4362 (installed_TESTS_ENVIRONMENT): New variable.
4363 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
4364 [!STANDALONE] (installcheck-local): Likewise.
4365 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
4366 * addrscopes.c: Include <config.h>.
4367 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
4368 * allfcts.c: Likewise.
4369 * asm-tst1.c: Likewise.
4370 * asm-tst2.c: Likewise.
4371 * asm-tst3.c: Likewise.
4372 * asm-tst4.c: Likewise.
4373 * asm-tst5.c: Likewise.
4374 * asm-tst6.c: Likewise.
4375 * asm-tst7.c: Likewise.
4376 * asm-tst8.c: Likewise.
4377 * asm-tst9.c: Likewise.
4378 * dwflmodtest.c: Likewise.
4379 * find-prologues.c: Likewise.
4380 * funcscopes.c: Likewise.
4381 * get-aranges.c: Likewise.
4382 * get-files.c: Likewise.
4383 * get-lines.c: Likewise.
4384 * get-pubnames.c: Likewise.
4385 * line2addr.c: Likewise.
4386 * newscn.c: Likewise.
4387 * show-abbrev.c: Likewise.
4388 * show-die-info.c: Likewise.
4389 * update3.c: Likewise.
4390 * update4.c: Likewise.
4391 * funcretval.c: Likewise.
4393 * dwflmodtest.c (print_instance): Don't use INTUSE.
4394 (options): Don't use N_ macro.
4396 2005-11-15 Roland McGrath <roland@redhat.com>
4398 * coverage.sh: Look in backends.
4399 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
4400 (TESTS_ENVIRONMENT): Likewise.
4402 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
4403 pass FUNCDIE direclty to dwfl_module_return_value_location.
4405 * Makefile.am (BUILD_RPATH): New variable.
4406 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
4407 (tests_rpath): New variable.
4408 (installcheck-local): Pass it to test-wrapper.sh.
4409 * test-wrapper.sh: In "installed" format, take yes/no value
4410 for elfutils_tests_rpath, which export. When running a test
4411 binary for installcheck, exit 77.
4412 * test-subr.sh (installed_testrun): When running a test binary
4413 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
4415 2005-11-14 Roland McGrath <roland@redhat.com>
4417 * test-subr.sh: New file.
4418 * test-wrapper.sh: New file.
4419 * Makefile.am (EXTRA_DIST): Add them.
4420 (AM_LDFLAGS): Variable removed.
4421 (TESTS_ENVIRONMENT): New variable.
4422 (installcheck-local): New target.
4423 * run-addrscopes.sh: Use test-subr.sh.
4424 * run-allfcts.sh: Likewise.
4425 * run-ecp-test.sh: Likewise.
4426 * run-ecp-test2.sh: Likewise.
4427 * run-elflint-self.sh: Likewise.
4428 * run-elflint-test.sh: Likewise.
4429 * run-find-prologues.sh: Likewise.
4430 * run-funcscopes.sh: Likewise.
4431 * run-get-aranges.sh: Likewise.
4432 * run-get-files.sh: Likewise.
4433 * run-get-lines.sh: Likewise.
4434 * run-get-pubnames.sh: Likewise.
4435 * run-line2addr.sh: Likewise.
4436 * run-ranlib-test.sh: Likewise.
4437 * run-ranlib-test2.sh: Likewise.
4438 * run-show-abbrev.sh: Likewise.
4439 * run-show-ciefde.sh: Likewise.
4440 * run-show-die-info.sh: Likewise.
4441 * run-strings-test.sh: Likewise.
4442 * run-strip-test.sh: Likewise.
4444 2005-11-13 Roland McGrath <roland@redhat.com>
4446 * funcretval.c: New file.
4447 * Makefile.am (noinst_PROGRAMS): Add it.
4448 (funcretval_LDADD): New variable.
4450 2005-11-09 Ulrich Drepper <drepper@redhat.com>
4452 * line2addr.c (handle_module): Add missing parameter to printf.
4454 2005-10-27 Roland McGrath <roland@redhat.com>
4456 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
4457 * funcscopes.c (handle_function): Likewise.
4458 * dwflmodtest.c (print_inline, print_func): Likewise.
4459 * find-prologues.c (handle_function): Likewise.
4461 2005-10-27 Roland McGrath <roland@redhat.com>
4463 * run-find-prologues.sh: New file.
4464 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4466 * find-prologues.c (handle_function): Skip inlines.
4468 2005-10-25 Roland McGrath <roland@redhat.com>
4470 * find-prologues.c: New file.
4471 * Makefile.am (noinst_PROGRAMS): Add it.
4472 (find_prologues_LDADD): New variable.
4474 2005-09-02 Ulrich Drepper <drepper@redhat.com>
4476 * run-strings-test.sh: Remove strings.out in the end.
4478 2005-08-31 Ulrich Drepper <drepper@redhat.com>
4480 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
4481 * run-allfcts.sh: Likewise.
4482 * run-ecp-test.sh: Likewise.
4483 * run-ecp-test2.sh: Likewise.
4484 * run-elflint-test.sh: Likewise.
4485 * run-funcscopes.sh: Likewise.
4486 * run-get-aranges.sh: Likewise.
4487 * run-get-files.sh: Likewise.
4488 * run-get-lines.sh: Likewise.
4489 * run-get-pubnames.sh: Likewise.
4490 * run-line2addr.sh: Likewise.
4491 * run-ranlib-test2.sh: Likewise.
4492 * run-show-abbrev.sh: Likewise.
4493 * run-show-ciefde.sh: Likewise.
4494 * run-show-die-info.sh: Likewise.
4495 * run-strings-test.sh: Likewise.
4496 * run-strip-test.sh: Likewise.
4498 2005-08-30 Ulrich Drepper <drepper@redhat.com>
4500 * coverage.sh: Handle case where there is no .gcno file at all.
4502 2005-08-29 Ulrich Drepper <drepper@redhat.com>
4504 * Makefile.am (EXTRA_DIST): Add coverage.
4505 [GCOV]: Generate coverage summary after the tests ran
4506 * coverage.sh: New file.
4508 2005-08-28 Ulrich Drepper <drepper@redhat.com>
4510 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
4511 (CLEANFILES): Add *.gcno *.gcda *.gconv.
4513 2005-08-28 Ulrich Drepper <drepper@redhat.com>
4515 * run-strings-test.sh: New file.
4516 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4518 2005-08-27 Roland McGrath <roland@redhat.com>
4520 * addrscopes.c (handle_address): Apply bias to PC addresses.
4522 * run-funcscopes.sh: New file.
4523 * testfile25.bz2: New data file.
4524 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4526 2005-08-26 Roland McGrath <roland@redhat.com>
4528 * addrscopes.c (dwarf_diename_integrate): Removed.
4529 (print_vars, handle_address): Use plain dwarf_diename.
4531 2005-08-25 Roland McGrath <roland@redhat.com>
4533 * funcscopes.c: New file.
4534 * Makefile.am (noinst_PROGRAMS): Add it.
4535 (funcscopes_LDADD): New variable.
4537 * run-addrscopes.sh: Add another case.
4538 * testfile24.bz2: New data file.
4539 * Makefile.am (EXTRA_DIST): Add it.
4541 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
4542 pass it to dwarf_getscopes.
4543 (main): Pass it, true when '=' follows an address.
4545 2005-08-24 Roland McGrath <roland@redhat.com>
4547 * line2addr.c (print_address): Omit () for DSOs.
4549 2005-08-24 Ulrich Drepper <drepper@redhat.com>
4551 * run-line2addr.sh: Remove testfile23 in the end.
4553 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
4554 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
4556 2005-08-22 Roland McGrath <roland@redhat.com>
4558 * run-line2addr.sh: Add a case.
4559 * testfile23.bz2: New data file.
4560 * Makefile.am (EXTRA_DIST): Add it.
4562 2005-08-18 Roland McGrath <roland@redhat.com>
4564 * run-addrscopes.sh: New file.
4565 * testfile22.bz2: New data file.
4566 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4568 * addrscopes.c: New file.
4569 * Makefile.am (noinst_PROGRAMS): Add it.
4570 (addrscopes_LDADD): New variable.
4572 2005-08-15 Ulrich Drepper <drepper@redhat.com>
4574 * run-elflint-self.sh: Don't run test if the file doesn't exist.
4576 2005-08-15 Roland McGrath <roland@redhat.com>
4578 * dwflmodtest.c (print_instance, print_inline): New functions.
4579 (print_func): Call print_inline.
4580 (options, parse_opt): Grok -i/--inlines.
4582 2005-08-07 Roland McGrath <roland@redhat.com>
4584 * dwflmodtest.c: Print function details only if -f flag is given.
4586 2005-08-06 Ulrich Drepper <drepper@redhat.com>
4588 * run-elflint-self.sh: New file.
4589 * Makefile.am (TESTS): Add run-elflint-self.sh.
4590 (EXTRA_DIST): Likewise.
4592 * Makefile.am: Link with statis libs if BUILD_STATIC.
4593 (dwflmodtest_LDADD): Also link with -ldl.
4595 2005-08-02 Ulrich Drepper <drepper@redhat.com>
4597 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
4598 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
4600 * asm-tst2.c: Likewise.
4601 * asm-tst3.c: Likewise.
4602 * asm-tst4.c: Likewise.
4603 * asm-tst5.c: Likewise.
4604 * asm-tst6.c: Likewise.
4605 * asm-tst7.c: Likewise.
4606 * asm-tst8.c: Likewise.
4607 * asm-tst9.c: Likewise.
4609 * msg_tst.c: Add new error message.
4611 2005-07-28 Ulrich Drepper <drepper@redhat.com>
4613 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
4615 2005-06-01 Roland McGrath <roland@redhat.com>
4617 * line2addr.c: Rewritten using libdwfl.
4618 * run-line2addr.sh: Update test for changed arguments.
4619 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
4620 (libdwfl): New variable.
4621 (line2addr_LDADD): Use it.
4623 2005-07-28 Roland McGrath <roland@redhat.com>
4625 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
4626 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
4627 (dwflmodtest_LDADD): New variable.
4628 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
4630 2005-07-21 Ulrich Drepper <drepper@redhat.com>
4632 * testfile18.bz2: New file.
4633 * run-elflint-test.sh: New file.
4634 * Makefile.am (TESTS): Add run-elflint-test.sh.
4635 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
4637 2005-05-24 Ulrich Drepper <drepper@redhat.com>
4639 * get-files.c (main): Use correct format specifier.
4641 2005-05-21 Ulrich Drepper <drepper@redhat.com>
4643 * Makefile.am: Add -Wextra to CFLAGS.
4644 * get-files.c: Remove warning this produced.
4645 * get-pubnames.c: Likewise.
4646 * newfile.c: Likewise.
4647 * newscn.c: Likewise.
4648 * scnnames.c: Likewise.
4649 * showptable.c: Likewise.
4650 * test-nlist.c: Likewise.
4651 * update1.c: Likewise.
4652 * update2.c: Likewise.
4653 * update3.c: Likewise.
4654 * update4.c: Likewise.
4656 2005-05-08 Ulrich Drepper <drepper@redhat.com>
4658 * run-line2addr.sh: Remove testfile14 at the end.
4660 * run-strip-test.sh: Remove debuginfo test input file as well.
4662 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
4665 2005-05-03 Roland McGrath <roland@redhat.com>
4667 * run-strip-test.sh: Use variables for test file names.
4668 Optionally produce separate debug file and check it.
4669 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
4670 * run-strip-test3.sh: Likewise.
4671 * run-strip-test4.sh: New file.
4672 * run-strip-test5.sh: New file.
4673 * run-strip-test6.sh: New file.
4674 * testfile15.bz: New file.
4675 * testfile15.debug.bz: New file.
4676 * testfile16.bz: New file.
4677 * testfile16.debug.bz: New file.
4678 * testfile17.bz: New file.
4679 * testfile17.debug.bz: New file.
4680 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4682 2005-04-25 Ulrich Drepper <drepper@redhat.com>
4684 * run-line2addr.sh: Also use testfile14. Adjust for correct
4685 return of multiple matches.
4686 * testfile14.bz2: New file.
4687 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
4689 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
4691 2005-04-04 Roland McGrath <roland@redhat.com>
4693 * line2addr.c (main): Initialize LINES and NLINES before calling
4694 dwarf_getsrc_file, and free LINES afterwards.
4696 * allfcts.c (main): Use size_t for CUHL.
4698 2005-04-04 Ulrich Drepper <drepper@redhat.com>
4700 * line2addr.c: New file.
4701 * run-line2addr.sh: New file.
4702 * Makefile.am: Add rules to build, run, and distribute new code.
4704 2005-04-02 Ulrich Drepper <drepper@redhat.com>
4706 * allfcts.c: New file.
4707 * run-allfcts.sh: New file.
4708 * Makefile.am: Add rules to build, run, and distribute new code.
4710 2005-02-05 Ulrich Drepper <drepper@redhat.com>
4712 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
4713 programs with -lmudflap.
4715 2004-09-25 Ulrich Drepper <drepper@redhat.com>
4717 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
4718 * asm-tst5.c (main): Likewise.
4719 * asm-tst6.c (main): Likewise.
4721 2004-01-17 Ulrich Drepper <drepper@redhat.com>
4723 * Makefile.am: Support building with mudflap.
4725 2004-01-12 Ulrich Drepper <drepper@redhat.com>
4727 * get-aranges.c: Rewrite to use libdw.
4728 * Makefile.am: Reenable get-aranges test.
4730 2004-01-11 Ulrich Drepper <drepper@redhat.com>
4732 * get-lines.c: New file.
4733 * get-files.c: Adjust for libdw.
4734 * run-get-files.sh: Adjust expected result.
4735 * run-get-lines.sh: Likewise.
4736 * Makefile.am: Run get-lines test. Don't run get-aranges and
4737 get-ciefde test for now.
4739 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
4740 change. Print attribute offset information.
4741 * run-show-abbrev.sh: Adjust expected output.
4743 2004-01-09 Ulrich Drepper <drepper@redhat.com>
4745 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
4746 * show-die-info.c: Likewise.
4747 * run-show-die-info.sh: Adjust expected output.
4749 2003-08-13 Ulrich Drepper <drepper@redhat.com>
4751 * Makefile.in: Depend on libebl.a, not libebl.so.
4753 2003-08-11 Ulrich Drepper <drepper@redhat.com>
4755 * Moved to CVS archive.