1 2022-04-14 Mark Wielaard <mark@klomp.org>
3 * run-debuginfod-federation-sqlite.sh: Don't try to corrupt
6 2022-04-13 Aaron Merey <amerey@redhat.com>
8 * Makefile.am (TESTS): Remove run-debuginfod-000-permission.sh
9 and add run-debuginfod-negative-cache.sh.
10 (EXTRA_DIST): Likewise.
11 * run-debuginfod-federation-link.sh: Update comments about
13 * run-debuginfod-federation-metrics.sh: Likewise.
14 * run-debuginfod-federation-sqlite.sh: Likewise.
15 * run-debuginfod-tmp-home.sh: Likewise.
17 2022-03-20 Mark Wielaard <mark@klomp.org>
19 * run-large-elf-file.sh: Check elf class of addsections binary.
21 2021-12-17 Mark Wielaard <mark@klomp.org>
23 * run-debuginfod-query-retry.sh: Use /bin/sh instead of /bin/ls.
25 2021-12-09 Frank Ch. Eigler <fche@redhat.com>
27 * debuginfod-subr.sh (xfail): New proc.
28 * run-debuginfod-webapi-concurrency.sh: New test for -C.
29 * Makefile.am: List it.
31 2021-12-04 Mark Wielaard <mark@klomp.org>
33 * Makefile.am (EXTRA_NLIST_CFLAGS): New variable depends on
34 USE_ADDRESS_SANITIZER.
35 (test_nlist_CFLAGS): Add EXTRA_NLIST_CFLAGS.
37 2021-12-04 Mark Wielaard <mark@klomp.org>
39 * varlocs.c (dwarf_encoding_string): Return "<unknown encoding>" instead
41 (dwarf_tag_string): Return "<unknown tag>" instead of NULL.
42 (dwarf_attr_string): Return "<unknown attr>" instead of NULL.
43 (dwarf_form_string): Return "<unknown form>" instead of NULL.
44 (dwarf_opcode_string): Return "<unknown opcode>" instead of NULL.
45 (print_expr): Remove assert.
47 2021-11-18 Mark Wielaard <mark@klomp.org>
49 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add -rdynamic.
51 2021-11-11 Mark Wielaard <mark@klomp.org>
53 * run-debuginfod-000-permission.sh: Don't set DEBUGINFOD_TIMEOUT.
54 * run-debuginfod-archive-groom.sh: Likewise.
55 * run-debuginfod-archive-rename.sh: Likewise.
56 * run-debuginfod-archive-test.sh: Likewise.
57 * run-debuginfod-artifact-running.sh: Likewise.
58 * run-debuginfod-dlopen.sh: Likewise.
59 * run-debuginfod-extraction.sh: Likewise.
60 * run-debuginfod-federation-link.sh: Likewise.
61 * run-debuginfod-federation-metrics.sh: Likewise.
62 * run-debuginfod-federation-sqlite.sh: Likewise.
63 * run-debuginfod-malformed.sh: Likewise.
64 * run-debuginfod-tmp-home.sh: Likewise.
65 * run-debuginfod-writable.sh: Likewise.
67 2021-11-05 Frank Ch. Eigler <fche@redhat.com>
70 * run-debuginfod-extraction-passive.sh: New test.
71 * Makefile.am (TESTS, EXTRA_DIST): Add it.
73 2021-10-20 John M Mellor-Crummey <johnmc@rice.edu>
75 * nvidia_extended_linemap_libdw.c: New file.
76 * run-nvidia-extended-linemap-libdw.sh: New test.
77 * run-nvidia-extended-linemap-readelf.sh: Likewise.
78 * testfile_nvidia_linemap.bz2: New test file.
79 * .gitignore: Add nvidia_extended_linemap_libdw.
80 * Makefile.am (check_PROGRAMS): Add nvidia_extended_linemap_libdw.
81 (TESTS): Add run-nvidia-extended-linemap-libdw.sh and
82 run-nvidia-extended-linemap-readelf.sh
83 (EXTRA_DIST): Likewise and testfile_nvidia_linemap.bz2.
84 (nvidia_extended_linemap_libdw_LDADD): New variable.
86 2021-11-08 Mark Wielaard <mark@klomp.org>
88 * Makefile.am (TESTS): Add run-readelf-fat-lto.sh.
89 (EXTRA_DIST): Add run-readelf-fat-lto.sh and
90 testfile-dwarf5-fat-lto.o.bz2.
91 * run-readelf-fat-lto.sh: New test.
92 * testfile-dwarf5-fat-lto.o.bz2: New test file.
94 2021-11-04 Frank Ch. Eigler <fche@redhat.com>
97 * run-debuginfod-archive-groom.sh: Look for new groom metric.
99 2021-10-23 Frank Ch. Eigler <fche@redhat.com>
102 * run-debuginfod-000-permission.sh, -writable.sh:
103 Correct negative-cache file permission checking.
105 2021-10-06 Mark Wielaard <mark@klomp.org>
107 * show-die-info.c (handle): Handle dwarf_attr_string returning NULL.
109 2021-10-06 Di Chen <dichen@redhat.com>
112 * run-debuginfod-000-permission.sh: Expect artifacttype metrics.
114 2021-09-17 Noah Sanci <nsanci@redhat.com>
116 * run-debuginfod-response-header.sh: removed checking for Connection
117 and Cache-Control in response headers.
119 2021-09-08 Mark Wielaard <mark@klomp.org>
121 * run-varlocs-vars.sh: New test.
122 * testfile-vars-clang-dwarf4-32.o.bz2: New test file.
123 * testfile-vars-clang-dwarf4-64.o.bz2: Likewise.
124 * testfile-vars-clang-dwarf5-32.o.bz2: Likewise.
125 * testfile-vars-clang-dwarf5-64.o.bz2: Likewise.
126 * testfile-vars-gcc-dwarf4-32.o.bz2: Likewise.
127 * testfile-vars-gcc-dwarf4-64.o.bz2: Likewise.
128 * testfile-vars-gcc-dwarf5-32.o.bz2: Likewise.
129 * testfile-vars-gcc-dwarf5-64.o.bz2: Likewise.
130 * Makefile.am (EXTRA_DIST): Add new test and test files.
131 (TESTS): Add run-varlocs-vars.sh.
133 2021-09-09 Mark Wielaard <mark@klomp.org>
135 * debuginfod-subr.sh: set -o functrace.
136 (cleanup): Disable trap 0.
137 (err): Disable trap ERR.
138 * run-debuginfod-fd-prefetch-caches.sh: Use || true when grep -c fails.
140 2021-09-09 Mark Wielaard <mark@klomp.org>
142 * debuginfod-subr.sh: set -o errtrace.
143 (cleanup): Don't fail kill or wait. Only trap on normal exit.
144 (err): Don't fail curl metrics. Call cleanup.
145 * run-debuginfod-federation-link.sh: Use separate client caches
146 for both servers and debuginfod client. Remove duplicate valgrind
148 * run-debuginfod-federation-metrics.sh: Likewise.
149 * run-debuginfod-federation-sqlite.sh: Likewise.
151 2021-09-13 Noah Sanci <nsanci@redhat.com>
153 * Makefile.am: added run-debuginfod-percent-escape.sh to TESTS and
156 2021-09-06 Dmitry V. Levin <ldv@altlinux.org>
158 * elfcopy.c (copy_elf): Remove cast of malloc return value.
160 2021-09-07 Mark Wielaard <mark@klomp.org>
162 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom
163 cycle before making any changes to the scan dirs.
164 * run-debuginfod-archive-rename.sh: Likewise.
165 * run-debuginfod-artifact-running.sh: Wait for initial scan cycle
166 before making any changes to the scan dirs.
167 * run-debuginfod-dlopen.sh: Likewise.
168 * run-debuginfod-extraction.sh: Likewise.
169 * run-debuginfod-federation-link.sh: Don't wait twice for the initial
172 2021-09-06 Mark Wielaard <mark@klomp.org>
174 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom
176 * run-debuginfod-archive-rename.sh: Likewise.
177 * run-debuginfod-federation-sqlite.sh: Likewise.
178 * run-debuginfod-archive-test.sh: Wait for initial scan cycle.
179 * run-debuginfod-artifact-running.sh: Likewise.
180 * run-debuginfod-dlopen.sh: Likewise.
181 * run-debuginfod-extraction.sh: Likewise.
182 * run-debuginfod-federation-link.sh: Likewise.
183 * run-debuginfod-federation-metrics.sh: Likewise.
184 * run-debuginfod-malformed.sh: Likewise.
185 * run-debuginfod-regex.sh: Likewise.
186 * run-debuginfod-tmp-home.sh: Likewise.
187 * run-debuginfod-writable.sh: Likewise.
189 2021-09-06 Mark Wielaard <mark@klomp.org>
191 * run-debuginfod-archive-groom.sh: Set DEBUGINFOD_URLS after starting
193 * run-debuginfod-archive-rename.sh: Likewise.
194 * run-debuginfod-federation-link.sh: Don't set DEBUGINFOD_URLS.
195 * run-debuginfod-federation-sqlite.sh: Likewise.
196 * run-debuginfod-federation-metrics.sh: Add comment why invalid
197 DEBUGINFOD_URLS is set.
199 2021-09-06 Mark Wielaard <mark@klomp.org>
201 * debuginfod-subr.sh (err): Change ports to port in for loop so both
202 PORT1 and PORT2 are used.
203 (get_ports): Simplify port selection by using for 50 for PORT1 and
206 2021-09-06 Mark Wielaard <mark@klomp.org>
208 * run-debuginfod-file.sh: Set DEBUGINFOD_CACHE_PATH. Export
209 correct DEBUGINFOD_URLS.
210 * run-debuginfod-query-retry.sh: Add DEBUGINFOD_CACHE_PATH
213 2021-09-03 Mark Wielaard <mark@klomp.org>
215 * run-debuginfod-000-permission.sh: Set DEBUGINFOD_CACHE_PATH
216 and use an unique sqlite db.
217 * run-debuginfod-archive-groom.sh: Likewise.
218 * run-debuginfod-archive-test.sh: Likewise.
219 * run-debuginfod-dlopen.sh: Likewise.
220 * run-debuginfod-duplicate-urls.sh: Likewise.
221 * run-debuginfod-extraction.sh: Likewise.
222 * run-debuginfod-fd-prefetch-caches.sh: Likewise.
223 * run-debuginfod-malformed.sh: Likewise.
224 * run-debuginfod-sizetime.sh: Likewise.
225 * run-debuginfod-tmp-home.sh: Likewise.
226 * run-debuginfod-writable.sh: Likewise.
228 2021-09-03 Mark Wielaard <mark@klomp.org>
230 * debuginfod-subr.sh (EXTRA_DIST): Add debuginfod-subr.sh.
232 2021-08-20 Noah Sanci <nsanci@redhat.com>
234 * run-debuginfod-response-headers.sh: Ensures custom http response
235 headers are used and functional
236 * Makefile.am: Added the above new file to TESTS and EXTRA_DIST
238 2021-08-28 Mark Wielaard <mark@klomp.org>
240 * run-debuginfod-find.sh: Use ":memory:" for the
241 forwarded-ttl-limit tests.
243 2021-08-28 Mark Wielaard <mark@klomp.org>
245 * run-debuginfod-find.sh: Use clean, separate databases for
246 forwarded-ttl-limit tests.
248 2021-08-20 Di Chen <dichen@redhat.com>
250 * run-debuginfod-find.sh: Add test for X-Forwarded-For hops limit.
252 2021-08-20 Noah Sanci <nsanci@redhat.com>
254 * debuginfod-find.sh: Separated file into
255 run-debuginfod-000-permission.sh,
256 run-debuginfod-archive-groom.sh,
257 run-debuginfod-archive-rename.sh,
258 run-debuginfod-archive-test.sh,
259 run-debuginfod-artifact-running.sh,
260 run-debuginfod-dlopen.sh,
261 run-debuginfod-duplicate-urls.sh,
262 run-debuginfod-extraction.sh,
263 run-debuginfod-fd-prefetch-caches.sh,
264 run-debuginfod-federation-link.sh,
265 run-debuginfod-federation-metrics.sh,
266 run-debuginfod-federation-sqlite.sh,
267 run-debuginfod-file.sh,
268 run-debuginfod-malformed.sh,
269 run-debuginfod-no-urls.sh,
270 run-debuginfod-query-retry.sh,
271 run-debuginfod-regex.sh,
272 run-debuginfod-sizetime.sh,
273 run-debuginfod-tmp-home.sh,
274 run-debuginfod-x-forwarded.sh
275 and run-debuginfod-writable.sh.
276 All files source debuginfod-subr.sh and use the $base variable to find ports.
277 * tests/Makefile.am: Added the above new files to the test suite
278 * tests/debuginfod-subr.sh: Added some general functions for above tests
280 2021-08-04 Mark Wielaard <mark@klomp.org>
283 * backtrace.c (callback_verify): Check for pthread_kill as first
284 frame. Change asserts to fprintf plus abort.
286 2021-07-26 Noah Sanci <nsanci@redhat.com>
289 * run-debuginfod-find.sh: Added a test to ensure that
290 DEBUGINFOD_MAXSIZE and DEBUGINFOD_MAXTIME work properly
291 by searching server and client logs for prompts.
293 2021-07-16 Noah Sanci <nsanci@redhat.com>
296 * run-debuginfod-percent-escape.sh: Added a test ensuring files with %
297 escapable characters in their paths are accessible.
299 2021-07-21 Noah Sanci <nsanci@redhat.com>
301 * run-debuginfod-find.sh: Properly kill $PID4 by waiting for it to
302 finish. Report $PORT3's metrics in err().
304 2021-06-28 Noah Sanci <nsanci@redhat.com>
307 * run-debuginfod-find.sh: Test to ensure options
308 fdcache-prefetch-fds/mbs are set. Check that inc_metric works for lru
309 and prefetch cache metrics.
311 2021-07-06 Alice Zhang <alizhang@redhat.com>
314 * run-debuginfod-find.sh: Add test case for retry mechanism.
316 2021-07-01 Noah Sanci <nsanci@redhat.com>
319 * run-debuginfod-find.sh: Added test case for grooming the database
322 2021-07-09 Noah Sanci <nsanci@redhat.com>
325 * run-debuginfod-find.sh: Wrote test to ensure duplicate urls are in
328 2021-07-08 Mark Wielaard <mark@klomp.org>
330 * Makefile.am (EXTRA_DIST): Fix typo testfile-largealign.bz2 was
333 2021-06-09 Andrei Homescu <ah@immunant.com>
335 * testfile-largealign.o.bz2: New test file.
336 * run-strip-largealign.sh: New test.
337 * Makefile.am (TESTS): Add run-strip-largealign.sh.
338 (EXTRA_DIST): Add run-strip-largealign.sh and
339 testfile-largealign.o.bz2
341 2021-07-02 Mark Wielaard <mark@klomp.org>
343 * run-debuginfo-find.sh: unset VALGRIND_CMD before testing debuginfod
346 2021-06-16 Frank Ch. Eigler <fche@redhat.com>
348 * run-debuginfod-find.sh: Fix intermittent groom/stale failure,
349 due to SIGUSR1/SIGUSR2 races. Trace more.
351 2021-06-15 Frank Ch. Eigler <fche@redhat.com>
353 * run-debuginfod-find.sh (err): Elaborate. Use as the reliable
354 error-report triggering function, rather than "exit 1".
356 2021-06-03 Frank Ch. Eigler <fche@redhat.com>
359 * run-debuginfod-find.sh: Test "after-you" queueing via flooding
360 with concurent curls.
362 2021-05-14 Frank Ch. Eigler <fche@redhat.com>
365 * run-debuginfod-find.sh: Test absence of 404-latch bug in client
368 2021-04-19 Martin Liska <mliska@suse.cz>
370 * dwelf_elf_e_machine_string.c (main): Use startswith.
371 * dwelfgnucompressed.c (main): Likewise.
372 * elfgetchdr.c (main): Likewise.
373 * elfputzdata.c (main): Likewise.
374 * vdsosyms.c (module_callback): Likewise.
376 2021-05-04 Alice Zhang <alizhang@redhat.com>
378 * run-debuginfod-find.sh: Added tests for negative cache files.
380 2021-04-26 Frank Ch. Eigler <fche@redhat.com>
383 * run-debuginfod-find.sh: Add test case for unwriteable cache files.
385 2021-04-23 Omar Sandoval <osandov@fb.com>
387 * run-low_high_pc-dw-form-indirect.sh: New file.
388 * run-readelf-dw-form-indirect.sh: New file.
389 * testfile-dw-form-indirect.bz2: New file.
390 * Makefile.am (TESTS): Add run-low_high_pc-dw-form-indirect.sh and
391 run-readelf-dw-form-indirect.sh.
392 (EXTRA_DIST): Add run-low_high_pc-dw-form-indirect.sh,
393 run-readelf-dw-form-indirect.sh, and testfile-dw-form-indirect.bz2.
395 2021-04-26 Frank Ch. Eigler <fche@redhat.com>
398 * run-debuginfod-find.sh: Add test case for cache cleanup rmdir.
400 2021-04-23 Frank Ch. Eigler <fche@redhat.com>
402 * run-debuginfod-find.sh: Add a tiny test for client object reuse.
403 Add an "errfiles" test construct to ask the framework to print
404 various files in the case of an error.
406 2021-03-30 Frank Ch. Eigler <fche@redhat.com>
408 * run-debuginfod-find.sh: Add thread comm checks.
410 2021-02-17 Timm Bäder <tbaeder@redhat.com>
412 * elfstrmerge.c (main): Move new_data_buf function to...
413 (new_data_buf): ...top-level static function adding fname,
414 ndx, shdrstrnd and shdrnum as arguments.
416 2021-02-17 Timm Bäder <tbaeder@redhat.com>
418 * elfstrmerge.c (main): Move newsecndx function to...
419 (newsecndx): ...top-level static function adding shdrstrndx,
420 shdrnum and fname as arguments.
422 2021-02-25 Frank Ch. Eigler <fche@redhat.com>
424 * run-debuginfod-find.sh: Add bad webapi artifacttype test.
426 2021-02-17 Frank Ch. Eigler <fche@redhat.com>
428 * run-debuginfod-find.sh: Tweak wait_ready() to also print -vvv log of
429 appropriate debuginfod if metric timeout occurs. Focus grooming
430 test carefully at a more deterministic metric.
432 2021-02-12 Mark Wielaard <mark@klomp.org>
434 * run-readelf-types.sh: Add CU start to type offset reference.
436 2021-02-07 Alexander Miller <alex.miller@gmx.de>
438 * Makefile.am (TESTS_ENVIRONMENT): Quote variables.
439 (valgrind_cmd): Unquote variable.
441 2021-02-08 Érico Nogueira <ericonr@disroot.org>
443 * run-debuginfod-find.sh: Check for cpio availability.
445 2021-02-04 Frank Ch. Eigler <fche@redhat.com>
447 * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling.
449 2021-01-31 Sergei Trofimovich <slyfox@gentoo.org>
451 * Makefile.am (TESTS_ENVIRONMENT): export CC variable
452 to tests for use instead of 'gcc'.
453 * run-disasm-x86-64.sh: use ${CC} instead of 'gcc'.
454 * run-disasm-x86.sh: Likewise.
455 * run-strip-g.sh: Likewise.
456 * run-strip-nothing.sh: Likewise.
457 * run-test-includes.sh: Likewise.
459 2021-01-06 Timm Bäder <tbaeder@redhat.com>
461 * zstrptr.c (main): Lift print_strings function up to ...
462 (print_strings): ... here. New file scope function taking
463 Elf_Scn*, Elf* and ndx as arguments.
465 2020-12-20 Dmitry V. Levin <ldv@altlinux.org>
467 * .gitignore: New file.
469 2020-12-12 Mark Wielaard <mark@klomp.org>
471 * testfile-retain.o.bz2: New test file.
472 * run-retain.sh: New test.
473 * Makefile.am (TESTS): Add run-retain.sh.
474 (EXTRA_DIST): Add run-retain.sh and testfile-retain.o.bz2
476 2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
478 * dwflmodtest.c (N_): Remove.
480 2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
482 * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics.
483 * run-lfs-symbols.sh: Likewise.
484 * elfstrmerge.c (main): Fix spelling typos in comments.
485 * dwfl-bug-fd-leak.c: Likewise.
486 * run-readelf-line.sh: Likewise.
487 * run-stack-demangled-test.sh: Likewise.
488 * sectiondump.c (main): Likewise.
489 * varlocs.c (handle_die): Likewise.
491 2020-12-11 Dmitry V. Levin <ldv@altlinux.org>
493 * configure.ac: Remove.
494 * Makefile.am [STANDALONE]: Remove.
495 (check_PROGRAMS): Add msg_tst, system-elf-libelf-test, and $(asm_TESTS)
497 (TESTS): Add msg_tst, system-elf-libelf-test, $(asm_TESTS), and
498 run-disasm-bpf.sh unconditionally.
500 2020-11-23 Frank Ch. Eigler <fche@redhat.com>
502 * run-debuginfod-find.sh: Add sqlite error injection & stats.
504 2020-11-02 Mark Wielaard <mark@klomp.org>
506 * run-debuginfod-find.sh: Create bogus R/nothing.rpm with cyclic
507 symlink instead of chmod 000.
509 2020-11-19 Frank Ch. Eigler <fche@redhat.com>
511 * run-debuginfod-find.sh: Look for http-* metrics.
513 2020-11-01 Érico N. Rolim <erico.erc@gmail.com>
514 Mark Wielaard <mark@klomp.org>
516 * alldts.c (main): Use DEFFILEMODE for open with O_CREAT.
517 * arextract.c (main): Likewise.
518 * ecp.c (main): Likewise for creat.
519 * elfstrtab.c (check_elf): Use DEFFILEMODE for open with O_CREAT,
520 remove mode from open calls without O_CREAT.
521 * emptyfile.c (check_elf): Likewise.
522 * fillfile.c (check_elf): Likewise.
523 * vendorelf.c (check_elf): Likewise.
524 * newdata.c (checkelf): Use DEFFILEMODE for open with O_CREAT.
525 * update{1,2,3,4}.c (main): Likewise.
528 2020-10-31 Mark Wielaard <mark@klomp.org>
530 * dwfl-proc-attach.c (dlopen): New external function override.
532 2020-10-31 Mark Wielaard <mark@klomp.org>
534 * test-wrapper.sh: Use =, not == for string compare.
536 2020-10-29 Mark Wielaard <mark@klomp.org>
538 * test-wrapper.sh: Determine whether the test is a script or not
539 and run binaries directly under valgrind.
540 * dwfl-bug-fd-leak.c (main): Call getrlimit before calling setrlimit.
541 * dwfl-proc-attach.c (main): Call dwfl_end, pthread_cancel and
543 * vdsosyms.c (main): Call dwfl_end.
545 2020-10-31 Frank Ch. Eigler <fche@redhat.com>
547 * run-debuginfod-find.sh: Modify for tweaked/new metrics.
549 2020-10-30 Frank Ch. Eigler <fche@redhat.com>
552 * run-debuginfod-find.sh: Modify test for restored
553 thread_work_total semantics for grooming.
555 2020-10-29 Frank Ch. Eigler <fche@redhat.com>
558 * run-debuginfod-find.sh: Modify test for different
559 thread_work_total semantics for grooming.
561 2020-10-29 Frank Ch. Eigler <fche@redhat.com>
564 * run-debuginfod-find.sh: Add tests for successful archive fetches across
565 renamed RPMs, even without grooming.
567 2020-10-25 Mark Wielaard <mark@klomp.org>
569 * read_unaligned.c: New test.
570 * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned.
571 (read_unaligned_LDADD): New variable.
573 2020-10-28 Tom Tromey <tom@tromey.com>
576 * Makefile.am (check_PROGRAMS, TESTS): Add leb128.
577 (leb128_LDADD): New variable.
578 * leb128.c: New file.
580 2020-10-19 Mark Wielaard <mark@klomp.org>
582 * addrcfi.c (print_register): Make ops_mem 3 elements.
584 2020-10-19 Mark Wielaard <mark@klomp.org>
586 * testfile60.bz2: Removed.
587 * Makefile.am (EXTRA_DIST): Remove testfile60.bz2.
588 * run-allregs.sh: Remove tilegx testfile60 testcase.
590 2020-10-20 Frank Ch. Eigler <fche@redhat.com>
592 PR26756: more prometheus metrics
593 * run-debuginfod-find.sh: Trigger some errors with dummy "nothing.rpm"
594 and check for new metrics.
596 2020-09-18 Mark Wielaard <mark@klomp.org>
598 * run-readelf-compressed-zstd.sh: New test.
599 * Makefile.am (EXTRA_DISTS): Add run-readelf-compressed-zstd.sh.
600 (TESTS): Add run-readelf-compressed-zstd.sh if HAVE_ZSTD.
602 2020-09-03 Mark Wielaard <mark@klomp.org>
604 * run-readelf-frames.sh: New test.
605 * Makefile.am (TESTS): Add run-readelf-frames.sh.
606 (EXTRA_DIST): Likewise.
608 2020-09-03 Mark Wielaard <mark@klomp.org>
610 * testfile-gnu-property-note-aarch64.bz2: New file.
611 * run-readelf-n.sh: Handle testfile-gnu-property-note-aarch64.
612 * Makefile.am (EXTRA_DIST): Add
613 testfile-gnu-property-note-aarch64.bz2.
615 2020-07-19 Mark Wielaard <mark@klomp.org>
617 * asm-tst1.c: Include libebl.h after libasm.h.
618 * asm-tst2.c: Likewise.
619 * asm-tst3.c: Likewise.
620 * asm-tst4.c: Likewise.
621 * asm-tst5.c: Likewise.
622 * asm-tst6.c: Likewise.
623 * asm-tst7.c: Likewise.
624 * asm-tst8.c: Likewise.
625 * asm-tst9.c: Likewise.
627 2020-07-05 Mark Wielaard <mark@klomp.org>
629 * run-test-includes.sh: New test.
630 * Makefile.am (TESTS): Add run-test-includes.sh.
631 (EXTRA_DIST): Likewise.
633 2020-07-03 Alice Zhang <alizhang@redhat.com>
635 * run-debuginfod-find.sh: Add scheme free url testcase.
637 2020-06-19 Mark Wielaard <mark@klomp.org>
639 * Makefile.am (TESTS): Don't add run-debuginfod-find.sh when
642 2020-06-16 Mark Wielaard <mark@klomp.org>
644 * coverage.sh: Use /usr/bin/env bash.
645 * run-ar.sh: Likewise.
646 * run-backtrace-core-aarch64.sh: Likewise.
647 * run-backtrace-core-i386.sh: Likewise.
648 * run-backtrace-core-ppc.sh: Likewise.
649 * run-backtrace-core-s390.sh: Likewise.
650 * run-backtrace-core-s390x.sh: Likewise.
651 * run-backtrace-core-sparc.sh: Likewise.
652 * run-backtrace-core-x32.sh: Likewise.
653 * run-backtrace-core-x86_64.sh: Likewise.
654 * run-backtrace-data.sh: Likewise.
655 * run-backtrace-demangle.sh: Likewise.
656 * run-backtrace-dwarf.sh: Likewise.
657 * run-backtrace-fp-core-aarch64.sh: Likewise.
658 * run-backtrace-fp-core-i386.sh: Likewise.
659 * run-backtrace-fp-core-ppc64le.sh: Likewise.
660 * run-backtrace-fp-core-x86_64.sh: Likewise.
661 * run-backtrace-native-biarch.sh: Likewise.
662 * run-backtrace-native-core-biarch.sh: Likewise.
663 * run-backtrace-native-core.sh: Likewise.
664 * run-backtrace-native.sh: Likewise.
665 * run-debuginfod-find.sh: Likewise.
666 * run-deleted.sh: Likewise.
667 * run-dwelf_elf_e_machine_string.sh: Likewise.
668 * run-large-elf-file.sh: Likewise.
669 * run-lfs-symbols.sh: Likewise.
670 * run-linkmap-cut.sh: Likewise.
672 2020-06-11 Mark Wielaard <mark@klomp.org>
674 * Makefile.am (nlist-test): Add GCOV flags when necessary.
676 2020-06-06 Mark Wielaard <mark@klomp.org>
678 * testfilesyms32.bz2: New test file.
679 * testfilesyms64.bz2: Likewise.
680 * run-nm-syms.sh: New test.
681 * Makefile.am (TESTS): Add run-nm-syms.sh.
682 (EXTRA_DIST): run-nm-syms.sh, testfilesyms32.bz2 and
685 2020-05-08 Mark Wielaard <mark@klomp.org>
687 * elfputzdata.c (main): Explicitly check orig_buf is not NULL
688 before calling memcmp.
690 2020-05-05 Mark Wielaard <mark@klomp.org>
692 * testfile-lto-gcc8.bz2: New test file.
693 * testfile-lto-gcc9.bz2: Likewise.
694 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc8.bz2 and
695 testfile-lto-gcc9.bz2.
696 * run-allfcts.sh: Add testfile-lto-gcc9 and testfile-lto-gcc8
699 2020-05-05 Mark Wielaard <mark@klomp.org>
701 * testfile-lto-gcc10.bz2: New test file.
702 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc10.bz2.
703 * run-allfcts.sh: Add testfile-lto-gcc10 test.
705 2020-04-17 Mark Wielaard <mark@klomp.org>
707 * test-subr.sh (testrun_on_self_obj): New function.
708 * run-varlocs-self.sh: Run testrun_on_self_exe and
709 testrun_on_self_lib with -e, run testrun_on_self_obj with
712 2020-04-17 Mark Wielaard <mark@klomp.org>
714 * Makefile.am (test-nlist$): New goal with minimal CFLAGS.
715 (test_nlist_CFLAGS): New variable.
717 2020-03-28 Frank Ch. Eigler <fche@redhat.com>
719 * run-debuginfod-find.sh: Test timestamps of archive-origin files.
721 2020-03-27 Frank Ch. Eigler <fche@redhat.com>
723 * run-debuginfod-find.sh: Test /path/-based debuginfod-find.
725 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
727 * run-debuginfod-find.sh: Test relay of UA and XFF headers across
728 federating debuginfods.
730 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
732 * run-debuginfod-find.sh: Look for debuginfod's new
733 http_responses_* metrics.
735 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
737 * run-debuginfod-find.sh: Look for bsdtar instead of dpkg.
739 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
741 * run-debuginfod-find.sh: Check for bsdtar zstd capability
742 for running tests against zstd-compressed fedora31 rpms.
744 2020-03-26 Mark Wielaard <mark@klomp.org>
746 * Makefile.am (EXTRA_DIST): Add
747 debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm,
748 debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm,
749 debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm,
750 debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm,
751 debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm,
752 debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm
754 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
756 * debuginfod-rpms/hello3.spec., /fedora31/*: New files with
757 uncanonicalized source paths.
758 * run-debuginfod-find.sh: Test them.
760 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
762 * run-debuginfod-find.sh: Test the more detailed debuginfod
765 2020-03-23 Mark Wielaard <mark@klomp.org>
767 * getphdrnum.c: Include config.h.
768 * run-lfs-symbols.sh: Also check that file exists. Add more logs.
769 Remove ebl modules check.
771 2020-03-22 Omar Sandoval <osandov@fb.com>
772 Mark Wielaard <mark@klomp.org>
774 * getphdrnum.c: New file.
775 * run-getphdrnum.sh: New test.
776 * testfile-phdrs.elf.bz2: New test file.
777 * Makefile.am (check_PROGRAMS): Add getphdrnum.
778 (TESTS): Add run-getphdrnum.sh.
779 (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2.
780 (getphdrnum_LDADD): New variable.
782 2020-03-22 Frank Ch. Eigler <fche@redhat.com>
784 * run-debuginfod-find.sh: Look for URL in default progressfn
785 and from debuginfod-find -v.
787 2020-02-19 Aaron Merey <amerey@redhat.com>
789 * run-debuginfod-find.sh: Run tests for verifying default
790 client cache locations.
792 2020-02-26 Konrad Kleine <kkleine@redhat.com>
794 * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning
797 2020-02-21 Mark Wielaard <mark@klomp.org>
799 * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS.
800 (installed_TESTS_ENVIRONMENT): Likewise.
802 2020-02-19 Aaron Merey <amerey@redhat.com>
804 * run-debuginfod-find.sh: Test that files unrelated to debuginfod
805 survive cache cleaning.
807 2020-02-08 Mark Wielaard <mark@klomp.org>
809 * run-pt_gnu_prop-tests.sh: New test.
810 * testfile_pt_gnu_prop.bz2: New test file.
811 * testfile_pt_gnu_prop32.bz2: Likewise.
812 * Makefile.am (TESTS): Add run-pt_gnu_prop-tests.sh
813 (EXTRA_DISTS): Likewise. Add testfile_pt_gnu_prop.bz2 and
814 testfile_pt_gnu_prop32.bz2.
816 2020-02-05 Frank Ch. Eigler <fche@redhat.com>
818 * debuginfo-tars/*: New test files from Eli Schwartz of ArchLinux.
819 * Makefile.am (EXTRA_DIST): Package them.
820 * run-debuginfod-find.sh: Run basic archive extraction tests.
822 2020-02-03 Frank Ch. Eigler <fche@redhat.com>
824 * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio.
826 2020-01-19 Frank Ch. Eigler <fche@redhat.com>
828 * run-debuginfod-find.sh: Check for proper groom completion count.
830 2020-01-18 Frank Ch. Eigler <fche@redhat.com>
832 * run-debuginfod-find.sh: Test empty source_paths[].
834 2020-01-08 Mark Wielaard <mark@klomp.org>
836 * asm-test?.c: include libebl.h.
838 2020-01-11 Frank Ch. Eigler <fche@redhat.com>
840 * run-debuginfod-find.sh: Test --fdcache* options.
842 2020-01-11 Frank Ch. Eigler <fche@redhat.com>
844 * run-debuginfod-find.sh: Adjust to new work-queue metrics.
846 2020-01-02 Mark Wielaard <mark@klomp.org>
848 * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10.
850 2019-12-22 Frank Ch. Eigler <fche@redhat.com>
852 * debuginfod-debs/*: New test files, based on
853 https://wiki.debian.org/Packaging/Intro.
854 * run-debuginfod-find.sh: Test deb file processing (if dpkg
857 2019-12-04 Frank Ch. Eigler <fche@redhat.com>
859 * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS.
861 2019-12-11 Omar Sandoval <osandov@fb.com>
863 * dwfl-report-segment-coalesce.c: New test.
864 * Makefile.am: Add dwfl-report-segment-coalesce
866 2019-12-06 Mark Wielaard <mark@klomp.org>
868 * run-debuginfod-find.sh: Force -Wl,--build-id.
870 2019-12-05 Mark Wielaard <mark@klomp.org>
872 * run-findinfod-find.sh: Run strip under testrun.
874 2019-12-06 Mark Wielaard <mark@klomp.org>
876 * backtrace-data.c (main): Add break after assert.
878 2019-12-05 Mark Wielaard <mark@klomp.org>
880 * run-elfclassify.sh: Run elfcompress under testrun.
882 2019-11-26 Mark Wielaard <mark@klomp.org>
884 * Makefile.am (BUILD_STATIC): Add libraries needed for libdw.
885 * coverage.sh: Add debuginfod directory, check whether source
888 2019-11-24 Mark Wielaard <mark@klomp.org>
890 * run-debuginfod-find.sh: Reduce verbosity. Add new cleanup
891 function to use with trap. Add wait_ready function to query
892 metrics instead of sleeping. Calculate rpms and sourcefiles
895 2019-11-23 Mark Wielaard <mark@klomp.org>
897 * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1.
899 2019-11-07 Frank Ch. Eigler <fche@redhat.com>
901 * run-debuginfod-find.sh: Test debuginfod metrics via curl.
902 Fix federated testing, asserted by metrics.
904 2019-11-06 Frank Ch. Eigler <fche@redhat.com>
906 * run-debuginfod-find.sh: Test debuginfod -L mode. Drop
907 plain debuginfo-find help-output-comparison.
909 2019-11-04 Frank Ch. Eigler <fche@redhat.com>
911 * run-debuginfod-find.sh: Test debuginfod-find -v progress mode.
913 2019-10-28 Aaron Merey <amerey@redhat.com>
914 Frank Ch. Eigler <fche@redhat.com>
916 * run-debuginfod-find.sh, debuginfod_build_id_find.c: New test.
917 * testfile-debuginfod-*.rpm.bz2: New data files for test.
918 * Makefile.am: Run it.
920 2019-11-14 Andreas Schwab <schwab@suse.de>
922 * run-large-elf-file.sh: Skip if available memory cannot be
925 2019-11-14 Andreas Schwab <schwab@suse.de>
927 * dwelf_elf_e_machine_string.c (main): Clear errno before calling
930 2019-09-02 Mark Wielaard <mark@klomp.org>
932 * run-readelf-s.sh: Add --dyn-syms case.
934 2019-09-07 Mark Wielaard <mark@klomp.org>
936 * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh,
937 testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2.
939 2019-08-27 Mark Wielaard <mark@klomp.org>
941 * run-readelf-test2.sh: Add -x num testcase.
943 2019-08-29 Mark Wielaard <mark@klomp.org>
945 * test-subr.sh (self_test_files_exe): replace elfcmp, objdump and
946 readelf with elfclassify, stack and unstrip.
947 (self_test_files_lib): Replace libdw.so with libasm.so.
949 2019-07-05 Omar Sandoval <osandov@fb.com>
951 * Makefile.am: Remove -ldl.
952 * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so.
954 2019-07-26 Florian Weimer <fweimer@redhat.com>
955 Mark Wielaard <mark@klomp.org>
957 * run-elfclassify.sh: New test.
958 * run-elfclassify-self.sh: Likewise.
959 * Makefile.sh (TESTS): Add run-elfclassify.sh and
960 run-elfclassify-self.sh.
961 (EXTRA_DIST): Likewise.
963 2019-07-16 Mao Han <han_mao@c-sky.com>
965 * hello_csky.ko.bz2: New testfile.
966 * run-addrcfi.sh: Add C-SKY testfile.
967 * run-strip-reloc.sh: Likewise.
968 * testfilecsky.bz2: New testfile.
969 * Makefile.am (EXTRA_DIST): Add hello_csky.ko.bz2 and
972 2019-06-28 Mark Wielaard <mark@klomp.org>
974 * Makefile.am (check_PROGRAMS): Add dwelf_elf_e_machine_string.
975 (TESTS): Add run-dwelf_elf_e_machine_string.sh.
976 (EXTRA_DIST): Likewise.
977 (dwelf_elf_e_machine_string_LDADD): New variable.
978 * dwelf_elf_e_machine_string.c: New file.
979 * run-dwelf_elf_e_machine_string.sh: New test.
981 2019-07-01 Mark Wielaard <mark@klomp.org>
983 * run-large-elf-file.sh: Add 2GB to mem_needed when running under
986 2019-06-18 Mark Wielaard <mark@klomp.org>
988 * Makefile.am (TESTS): Add run-large-elf-file.sh.
989 (EXTRA_DIST): Likewise.
990 * addsections.c (add_sections): Add sec_size argument, use it
991 as the size of the section data.
992 (main): Handle extra sec_size argument. Pass to add_sections.
993 * run-large-elf-file.sh: New test.
995 2019-06-03 Mark Wielaard <mark@klomp.org>
997 * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections,
998 make sure they are actually next to each other.
1000 2019-05-12 Mark Wielaard <mark@klomp.org>
1002 * Makefile.am (check_PROGRAMS): Add elfrdwrnop.
1003 (TESTS): Add run-reverse-sections.sh and
1004 run-reverse-sections-self.sh.
1005 (EXTRA_DIST): Likewise.
1006 (elfrdwrnop): New variable.
1007 * elfcopy.c (copy_elf): Add reverse_off argument. Record offsets
1008 of sections and swap them when possible.
1009 (main): Check for --reverse-off argument. Pass reverse_offs to
1011 * run-reverse-sections.sh: New test.
1012 * run-reverse-sections-self.sh: Likewise.
1013 * elfrdwrnop.c: New file.
1015 2019-05-10 Mark Wielaard <mark@klomp.org>
1017 * Makefile.am (TESTS): Add run-readelf-discr.sh.
1018 (EXTRA_DIST): Likewise and add testfile-rng.debug.bz2 and
1019 testfile-urng.debug.bz2.
1020 * run-readelf-discr.sh: New test.
1021 * testfile-rng.debug.bz2: New test file.
1022 * testfile-urng.debug.bz2: Likewise.
1024 2019-04-30 Mark Wielaard <mark@klomp.org>
1026 * xlate_notes.c: New file.
1027 * run-xlate-note.sh: New test.
1028 * Makefile.am (check_PROGRAMS): Add xlate_notes.
1029 (TESTS): Add run-xlate-note.sh.
1030 (EXTRA_DIST): Likewise.
1031 (xlate_notes_LDADD): New variable.
1033 2019-04-30 Mark Wielaard <mark@klomp.org>
1035 * backtrace-dwarf.c (frame_callback): Explicitly check symname is
1038 2019-04-30 Mark Wielaard <mark@klomp.org>
1040 * backtrace.c (frame_callback): Explicitly check symname is NULL.
1042 2019-03-04 Mark Wielaard <mark@klomp.org>
1044 * backtrace.c (tgkill): Remove define.
1046 2019-01-24 Mark Wielaard <mark@klomp.org>
1048 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
1051 2019-01-31 Mark Wielaard <mark@klomp.org>
1053 * backtrace-child.c (stdarg): Remove assert (errno == 0).
1055 * backtrace-data.c (maps_lookup): Likewise.
1056 (set_initial_registers): Likewise.
1058 * backtrace.c (prepare_thread): Likewise.
1059 (exec_dump): Likewise.
1061 2019-01-29 Yonghong Song <yhs@fb.com>
1063 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse
1066 2019-01-18 Ulf Hermann <ulf.hermann@qt.io>
1068 * run-annobingroup.sh: Use different files for strip output.
1069 * run-strip-test-many.sh: Use different files for strip output,
1070 check results of strip, unstrip, elflint.
1072 2019-01-24 Mark Wielaard <mark@klomp.org>
1074 * addsections.c (add_sections): Change the name of the old shstrtab
1075 section to ".old_shstrtab" and give the old shstrtab name to the
1076 new shstrtab section.
1078 2019-01-09 Ulf Hermann <ulf.hermann@qt.io>
1080 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found.
1082 2018-12-27 Jim Wilson <jimw@sifive.com>
1084 * run-readelf-mixed-corenote.sh: Update with new riscv64 output.
1086 2018-12-02 Mark Wielaard <mark@klomp.org>
1088 * testfile_gnu_props.32le.o.bz2: New testfile.
1089 * testfile_gnu_props.64le.o.bz2: Likewise.
1090 * testfile_gnu_props.32be.o.bz2: Likewise.
1091 * testfile_gnu_props.64be.o.bz2: Likewise.
1092 * Makefile (EXTRA_DIST): Add new testfiles.
1093 * run-readelf-n.sh: Run tests on new testfiles.
1095 2018-11-28 Mark Wielaard <mark@klomp.org>
1097 * backtrace-data.c (main): Improve error message.
1098 * run-backtrace-data.sh: Skip exit 77 return.
1100 2018-11-21 Mark Wielaard <mark@klomp.org>
1102 * backtrace-subr.sh (check_unsupported): Call test_cleanup before
1105 2018-11-17 Mark Wielaard <mark@klomp.org>
1107 * run-strip-version.sh: New test.
1108 * testfile-version.bz2: New test file.
1109 * Makefile.am (TESTS): Add run-strip-version.sh.
1110 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2.
1112 2018-11-09 Mark Wielaard <mark@klomp.org>
1114 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o
1115 testfile-debug-rel-ppc64-g.o.
1117 2018-11-12 Mark Wielaard <mark@klomp.org>
1119 * run-readelf-n.sh: Add testfile-annobingroup.o test.
1121 2018-11-11 Mark Wielaard <mark@klomp.org>
1123 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test
1126 2018-11-04 Mark Wielaard <mark@klomp.org>
1128 * testfile-bpf-reloc.expect.bz2: Update with new expected jump
1131 2018-10-20 Mark Wielaard <mark@klomp.org>
1133 * run-readelf-compressed.sh: New test.
1134 * Makefile.am (TESTS): Add run-readelf-compressed.sh.
1135 (EXTRA_DIST): Likewise.
1137 2018-11-09 Mark Wielaard <mark@klomp.org>
1139 * testfile-debug-rel-ppc64-g.o.bz2: New test file.
1140 * testfile-debug-rel-ppc64-z.o.bz2: Likewise.
1141 * testfile-debug-rel-ppc64.o.bz2: Likewise.
1142 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2,
1143 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2.
1144 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o.
1145 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o.
1147 2018-10-26 Mark Wielaard <mark@klomp.org>
1149 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only.
1151 2018-10-18 Mark Wielaard <mark@klomp.org>
1153 * run-readelf-n.sh: New test.
1154 * testfile-gnu-property-note.bz2: New testfile.
1155 * testfile-gnu-property-note.o.bz2: Likewise.
1156 * Makefile.am (TESTS): Add run-readelf-n.sh.
1157 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2,
1158 testfile-gnu-property-note.o.bz2.
1160 2018-10-12 Mark Wielaard <mark@klomp.org>
1162 * run-readelf-zdebug.sh: Adjust flags output.
1163 * run-readelf-macro.sh: Likewise.
1164 * run-readelf-macros.sh: New test.
1165 * testfile-macros-object.o.bz2: New test file.
1166 * Makefile.am (TESTS): Add run-readelf-macros.sh.
1167 (EXTRA_DIST): Add run-readelf-macros.sh and
1168 testfile-macros-object.o.bz2.
1170 2018-09-12 Mark Wielaard <mark@klomp.org>
1172 * run-annobingroup.sh: Add x86_64 ET_REL testcase.
1173 * testfile-annobingroup-x86_64.o.bz2: New test file.
1174 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2.
1176 2018-09-18 Mark Wielaard <mark@klomp.org>
1178 * backtrace-dwarf.c (thread_callback): Only error when
1179 dwfl_thread_getframes returns an error.
1180 (main): Don't call abort or assert but print an error when
1181 something unexpected happens.
1183 2018-09-13 Mark Wielaard <mark@klomp.org>
1185 * run-strip-test-many.sh: New test.
1186 * Makefile.am (TESTS): Add run-strip-test-many.sh.
1187 (EXTRA_DIST): Likewise.
1189 2018-09-13 Mark Wielaard <mark@klomp.org>
1191 * run-typeiter-many.sh: New test.
1192 * Makefile.am (TESTS): Add run-typeiter-many.sh.
1193 (EXTRA_DIST): Likewise.
1195 2018-09-13 Mark Wielaard <mark@klomp.org>
1197 * run-copymany-sections.sh: New test.
1198 * Makefile.am (TESTS): Add run-copymany-sections.sh.
1199 (EXTRA_DIST): Likewise.
1201 2018-09-12 Mark Wielaard <mark@klomp.org>
1203 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections.
1204 (TESTS): Add run-copyadd-sections.sh.
1205 (EXTRA_DIST): Likewise.
1206 (elfcopy_LDADD): New variable.
1207 (addsections_LDADD): Likewise.
1208 * addsections.c: New file.
1209 * elfcopy.c: Likewise.
1210 * run-copyadd-sections.sh: New test.
1212 2018-09-11 Mark Wielaard <mark@klomp.org>
1214 * backtrace-dwarf.c (main): Add section attribute.
1216 2018-07-24 Mark Wielaard <mark@klomp.org>
1218 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests.
1219 * testfile-annobingroup-i386.o.bz2: New test file.
1220 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2.
1222 2018-07-21 Mark Wielaard <mark@klomp.org>
1224 * run-annobingroup.sh: New test.
1225 * testfile-annobingroup.o.bz2: New test file.
1226 * Makefile.am (TESTS): Add run-annobingroup.sh.
1227 (EXTRA_DIST): Add run-annobingroup.sh and
1228 testfile-annobingroup.o.bz2.
1230 2018-07-19 Andreas Schwab <schwab@suse.de>
1232 * Makefile.am (TESTS): Add run-strip-test12.sh.
1233 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2,
1234 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2.
1235 (run-strip-test11.sh): New file.
1236 (testfile-riscv64.bz2): New file.
1237 (testfile-riscv64-s.bz2): New file.
1238 (testfile-riscv64-core.bz2): New file.
1239 * run-allregs.sh: Add test for testfile-riscv64-core.
1240 * run-readelf-mixed-corenote.sh: Likewise.
1242 2018-07-16 Ulf Hermann <ulf.hermann@qt.io>
1244 * run-strip-reloc.sh: Remove previous testfiles before running the
1247 2018-07-17 Mark Wielaard <mark@klomp.org>
1249 * hello_riscv64.ko.bz2: Updated with debuginfo.
1250 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
1252 2018-07-05 Mark Wielaard <mark@klomp.org>
1254 * next_cfi.c (handle_section): Take a new argument name. Check
1255 whether the section is compressed and uncompress if so.
1256 (main): Check also for .zdebug_frame and pass the name of the
1257 section to handle_section.
1259 2018-07-04 Ross Burton <ross.burton@intel.com>
1261 * addrscopes.c: Remove error.h include, add system.h include.
1262 * allregs.c: Likewise.
1263 * backtrace-data.c: Likewise.
1264 * backtrace-dwarf.c: Likewise.
1265 * backtrace.c: Likewise.
1266 * buildid.c: Likewise.
1267 * debugaltlink.c: Likewise.
1268 * debuglink.c: Likewise.
1269 * deleted.c : Likewise.
1270 * dwarfcfi.c: Likewise.
1271 * dwfl-addr-sect.c: Likewise.
1272 * dwfl-bug-addr-overflow.c: Likewise.
1273 * dwfl-bug-fd-leak.c: Likewise.
1274 * dwfl-bug-getmodules.c: Likewise.
1275 * dwfl-proc-attach.c: Likewise.
1276 * dwfl-report-elf-align.c: Likewise.
1277 * dwfllines.c: Likewise.
1278 * dwflmodtest.c: Likewise.
1279 * dwflsyms.c: Likewise.
1280 * early-offscn.c: Likewise
1282 * elfstrmerge.c: Likewise.
1283 * find-prologues.c: Likewise.
1284 * funcretval.c: Likewise.
1285 * funcscopes.c: Likewise.
1286 * getsrc_die.c: Likewise.
1287 * line2addr.c: Likewise.
1288 * low_high_pc.c: Likewise.
1289 * next_cfi.c: Likewise.
1290 * rdwrmmap.c: Likewise.
1291 * saridx.c: Likewise.
1292 * sectiondump.c: Likewise.
1293 * varlocs.c: Likewise.
1294 * vdsosyms.c: Likewise.
1296 2018-06-28 Mark Wielaard <mark@klomp.org>
1298 * next_cfi.c: New file.
1299 * run-next-cfi.sh: New test.
1300 * run-next-cfi-self.sh: Likewise.
1301 * Makefile.am (check_PROGRAMS): Add next_cfi.
1302 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh.
1303 (EXTRA_DIST): Likewise.
1304 (next_cfi_LDADD): New variable.
1306 2018-06-27 Mark Wielaard <mark@klomp.org>
1308 * dwarf_cfi.c: New file.
1309 * run-dwarfcfi.sh: New test.
1310 * testfile11-debugframe.bz2: New testfile.
1311 * testfile12-debugframe.bz2: Likewise.
1312 * testfileaarch64-debugframe.bz2: Likewise.
1313 * testfilearm-debugframe.bz2: Likewise.
1314 * testfileppc32-debugframe.bz2: Likewise.
1315 * testfileppc64-debugframe.bz2: Likewise.
1316 * Makefile.am (check_PROGRAMS): Add dwarfcfi.
1317 (TESTS): Add run-dwarfcfi.sh.
1318 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2,
1319 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2,
1320 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and
1321 testfileppc64-debugframe.bz2.
1323 2018-06-23 Mark Wielaard <mark@klomp.org>
1325 * varlocs.c (print_expr): Take a new depth argument. Check it isn't
1326 greater than MAX_DEPTH (64). Pass on to print_expr_block.
1327 (print_expr_block): Take a new depth argument. Pass it to print_expr.
1328 (print_expr_block_addrs): Call print_expr_block with zero depth.
1330 2018-06-25 Mark Wielaard <mark@klomp.org>
1332 * next-files.c: New file.
1333 * next-lines.c: Likewise.
1334 * run-next-files.sh: New test.
1335 * run-next-lines.sh: Likewise.
1336 * testfile-only-debug-line.bz2: New test file.
1337 * Makefile.am (check_PROGRAMS): Add next-files and next-lines.
1338 (TESTS): Add run-next-files.sh and run-next-lines.sh.
1339 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and
1340 testfile-only-debug-line.bz2.
1341 (next_lines_LDADD): New variable.
1342 (next_files_LDADD): Likewise.
1344 2018-06-16 Yonghong Song <yhs@fb.com>
1346 * run-reloc-bpf.sh: New test.
1347 * testfile-bpf-reloc.o.bz2: New test file.
1348 * testfile-bpf-reloc.expect.bz2: New test file.
1349 * Makefile.am (TESTS): Add run-reloc-bpf.sh.
1350 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and
1351 testfile-bpf-reloc.expect.bz2.
1353 2018-06-13 Mark Wielaard <mark@klomp.org>
1355 * run-readelf-const-values.sh: New test.
1356 * testfile-const-values.debug.bz2: New test file.
1357 * run-readelf-zdebug-rel.sh: Adjust expected const_value.
1358 * Makefile.am (TESTS): Add run-readelf-const-values.sh.
1359 (EXTRA_DIST): Add run-readelf-const-values.sh and
1360 testfile-const-values.debug.bz2.
1362 2018-06-08 Mark Wielaard <mark@klomp.org>
1364 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
1365 target, do not assert.
1367 2018-06-08 Mark Wielaard <mark@klomp.org>
1369 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
1370 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
1372 2018-06-08 Mark Wielaard <mark@klomp.org>
1374 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
1375 actually is a cfi_debug.
1377 2018-06-07 Mark Wielaard <mark@klomp.org>
1379 * run-readelf-loc.sh: Fix expected output for startx_length.
1381 2018-06-06 Mark Wielaard <mark@klomp.org>
1383 * varlocs.c (print_base_type): Use error, not assert when the DIE
1386 2018-06-02 Mark Wielaard <mark@klomp.org>
1388 * test-subr.sh (self_test_files_exe): Drop shared libraries.
1389 Keep addr2line, elfcmp, objdump and readelf.
1391 2018-05-31 Mark Wielaard <mark@klomp.org>
1393 * run-readelf-types.sh: New test.
1394 * Makefile.am (TESTS): Add run-readelf-types.sh.
1395 (EXTRA_DIST): Likewise.
1397 2018-05-31 Mark Wielaard <mark@klomp.org>
1399 * splitdwarf4-not-split4.dwo.bz2: New test file.
1400 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
1401 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
1402 and testfile-splitdwarf4-not-split4.debug.
1403 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
1404 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
1405 and testfile-splitdwarf4-not-split4.debug.bz2.
1407 2018-05-31 Mark Wielaard <mark@klomp.org>
1409 * test-subr.sh (self_test_files): Split into self_test_files_exe,
1410 self_test_files_lib and self_test_obj.
1411 (testrun_on_self_exe): New function.
1412 (testrun_on_self_lib): Likewise.
1413 * run-get-units-split.sh: Replace testrun_on_self with
1414 testrun_on_self_exe and testrun_on_self_lib.
1415 * run-unit-info.sh: Likewise.
1417 2018-05-31 Mark Wielaard <mark@klomp.org>
1419 * low_high_pc.c (handle_die): Handle NULL name. Print offset and
1421 (main): Check if the cu DIE is a skeleton, then get and handle
1423 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
1424 testfile-splitdwarf-5. Run on all selftest files.
1426 2018-05-31 Mark Wielaard <mark@klomp.org>
1428 * get-units-invalid.c (main): Check dwarf_cuoffset and
1431 2018-05-29 Mark Wielaard <mark@klomp.org>
1433 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
1434 type, gotten through dwarf_get_units.
1435 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
1436 split-dwarf-4, split-dwarf-5 and dwo files.
1438 2018-05-29 Mark Wielaard <mark@klomp.org>
1440 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
1441 * run-varlocs.sh: Likewise.
1443 2018-05-29 Mark Wielaard <mark@klomp.org>
1445 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
1447 2018-05-28 Mark Wielaard <mark@klomp.org>
1449 * run-readelf-info-plus.sh: New test.
1450 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
1451 (EXTRA_DIST): Likewise.
1453 2018-04-29 Mark Wielaard <mark@klomp.org>
1455 * run-readelf-addr.sh: New test.
1456 * Makefile.am (TESTS): Add run-readelf-addr.sh.
1457 (EXTRA_DIST): Likewise.
1459 2018-04-27 Mark Wielaard <mark@klomp.org>
1461 * run-readelf-ranges.sh: Adjust expected output for address base.
1462 * run-readelf-addr.sh: New test.
1463 * Makefile.am (TESTS): Add run-readelf-addr.sh.
1464 (EXTRA_DIST): Likewise.
1466 2018-04-07 Mark Wielaard <mark@klomp.org>
1468 * run-varlocs.sh: Run on testfileranges5.debug and
1469 testsplitfileranges5.debug.
1470 * varlocs.c (is_debug): New bool.
1471 (print_expr): Don't fail on missing CFI for is_debug.
1472 (main): Parse --debug, set is_debug.
1474 2018-04-12 Mark Wielaard <mark@klomp.org>
1476 * run-readelf-loc.sh: Add new testcases.
1478 2018-04-06 Mark Wielaard <mark@klomp.org>
1480 * testfileranges5.debug.bz2: New testfile.
1481 * testfilesplitranges5.debug.bz2: Likewise.
1482 * testfile-ranges-hello5.dwo.bz2: Likewise.
1483 * testfile-ranges-world5.dwo.bz2: Likewise.
1484 * run-dwarf-ranges.sh: Run on testfileranges5.debug.
1485 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
1486 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
1487 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
1488 testfile-ranges-world5.dwo.bz2.
1490 2018-04-11 Mark Wielaard <mark@klomp.org>
1492 * run-readelf-ranges.sh: New test.
1493 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
1494 (EXTRA_DIST): Likewise.
1496 2018-05-21 Mark Wielaard <mark@klomp.org>
1498 * addrx_constx-4.dwo.bz2: New testfile.
1499 * addrx_constx-5.dwo.bz2: Likewise.
1500 * testfile-addrx_constx-4.bz2: Likewise.
1501 * testfile-addrx_constx-5.bz2: Likewise
1502 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
1503 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
1504 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
1505 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
1506 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
1507 (main): Handle split DWARF.
1508 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
1510 2018-05-20 Mark Wielaard <mark@klomp.org>
1512 * unit-info.c: New test.
1513 * run-unit-info.sh: New test runner.
1514 * Makefile.am (check_PROGRAMS): Add unit-info.
1515 (TESTS): Add run-unit-info.sh
1516 (EXTRA_INFO): Likewise.
1517 (unit_info_LDADD): New variable.
1519 2018-05-24 Mark Wielaard <mark@klomp.org>
1521 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
1522 * run-all-dwarf-ranges.sh: Correct expected output.
1524 2018-05-18 Mark Wielaard <mark@klomp.org>
1526 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
1527 (TESTS): Add run-all-dwarf-ranges.sh.
1528 (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
1529 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
1530 and testfile-ranges-world.dwo.bz2.
1531 (all_dwarf_ranges_LDADD): New variable.
1532 * all-dwarf-ranges.c: New test program.
1533 * run-all-dwarf-ranges: New test runner.
1534 * testfile-ranges-hello.dwo.bz2: New test file.
1535 * testfile-ranges-world.dwo.bz2: Likewise.
1536 * testfilesplitranges4.debug.bz2: Likewise.
1538 2018-05-18 Mark Wielaard <mark@klomp.org>
1540 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
1541 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
1542 testfile-hello5.dwo, testfile-world5.dwo.
1544 2018-05-17 Mark Wielaard <mark@klomp.org>
1546 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
1547 (TESTS): Add run-attr-integrate-skel.
1548 (EXTRA_DIST): Likewise.
1549 (attr_integrate_skel_LDADD): New variable.
1550 * attr-integrate-skel.c: New test.
1551 * run-attr-integrate-skel.sh: New test runner.
1553 2018-05-16 Mark Wielaard <mark@klomp.org>
1555 * Makefile.am (check_PROGRAMS): Add get-units-split.
1556 (TESTS): Add run-get-units-split.sh.
1557 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
1558 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
1559 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
1560 testfile-world4.dwo.bz2.
1561 (get_units_split_LDADD): New variable.
1562 * get-units-split.c: New test.
1563 * run-get-units-split.sh: New test runner.
1564 * testfile-dwarf-45.source: Extend with build instructions for new
1566 * testfile-hello4.dwo.bz2: New test file.
1567 * testfile-hello5.dwo.bz2: Likewise.
1568 * testfile-splitdwarf-4.bz2: Likewise.
1569 * testfile-splitdwarf-5.bz2: Likewise.
1570 * testfile-world5.dwo.bz2 and: Likewise.
1571 * testfile-world4.dwo.bz2: Likewise.
1573 2018-05-09 Mark Wielaard <mark@klomp.org>
1575 * run-readelf-zdebug.sh: Adjust test output for new header layout.
1576 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
1577 and testfile-dwarf-5.
1579 2018-05-11 Mark Wielaard <mark@klomp.org>
1581 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
1582 (TESTS): Add run-get-units-invalid.sh.
1583 (EXTRA_DIST): Likewise.
1584 (get_units_invalid_LDADD): New variable.
1585 * get-units-invalid.c: New test program.
1586 * run-get-units-invalid.sh: New test program runner.
1588 2018-05-05 Mark Wielaard <mark@klomp.org>
1590 * testfile-dwarf-45.source: New file.
1591 * testfile-dwarf-4.bz2: New test file.
1592 * testfile-dwarf-5.bz2: Likewise.
1593 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
1595 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
1596 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
1598 2018-04-19 Andreas Schwab <schwab@suse.de>
1600 * hello_riscv64.ko.bz2: New file.
1601 * run-strip-reloc.sh: Test it.
1602 * Makefile.am (EXTRA_DIST): Add it.
1604 2018-04-16 Mark Wielaard <mark@klomp.org>
1606 * testfile-ppc64-min-instr.bz2: New testfile.
1607 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
1608 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
1610 2018-04-11 Mark Wielaard <mark@klomp.org>
1612 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
1614 2018-04-03 Mark Wielaard <mark@klomp.org>
1616 * testfileranges4.debug.bz2: New testfile.
1617 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
1618 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
1620 2018-03-06 Mark Wielaard <mark@klomp.org>
1622 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
1623 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
1624 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
1627 2018-02-16 Mark Wielaard <mark@klomp.org>
1629 * backtrace-subr.sh (check_native_core): Check if there is any core,
1632 2018-02-15 Mark Wielaard <mark@klomp.org>
1634 * backtrace-child.c: Include signal.h after sys/ptrace.h.
1635 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
1638 2018-01-25 Mark Wielaard <mark@klomp.org>
1640 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
1641 (TESTS): Add run-dwarf-die-addr-die.sh.
1642 (EXTRA_DIST): Likewise.
1643 (dwarf_die_addr_die_LDADD): New variable.
1644 * dwarf-die-addr-die.c: New file.
1645 * run-dwarf-die-addr-die.sh: New test.
1647 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
1649 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
1651 2018-01-22 Mark Wielaard <mark@klomp.org>
1653 * allfcts.c (setup_alt): Print warning when alt file couldn't be
1655 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
1656 where it cannot be found by allfcts itself (but it can by libdw).
1658 2018-01-25 Mark Wielaard <mark@klomp.org>
1660 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
1663 2018-01-14 Petr Machata <pmachata@gmail.com>
1665 * testfile-sizes4.o.bz2: New test file.
1666 * testfile-sizes4.s: New test source.
1667 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
1669 2017-12-23 Mark Wielaard <mark@klomp.org>
1671 * backtrace-subr.sh (check_native_core): Use a lock file and try
1672 to extract core using coredumpctl.
1673 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
1675 2017-12-11 Dima Kogan <dima@secretsauce.net>
1677 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
1678 * run-peel-type.sh: Likewise.
1679 * testfile-sizes3.o.bz2: Likewise.
1681 2017-12-07 Mark Wielaard <mark@klomp.org>
1683 * run-readelf-variant.sh: New test.
1684 * testfile-ada-variant.bz2: New testfile.
1685 * Makefile.am (TESTS): Add run-readelf-variant.sh.
1686 (EXTRA_DISTS): Add run-readelf-variant.sh and
1687 testfile-ada-variant.bz2.
1689 2017-11-29 Mark Wielaard <mark@klomp.org>
1691 * run-readelf-loc.sh: Adjust expected loc list output.
1692 * run-readelf-zdebug-rel.sh: Likewise.
1693 * run-readelf-zdebug.sh: Likewise.
1695 2017-11-29 Mark Wielaard <mark@klomp.org>
1697 * run-readelf-loc.sh: Adjust expected range list output.
1698 * run-readelf-zdebug.sh: Likewise.
1700 2017-11-29 Mark Wielaard <mark@klomp.org>
1702 * run-readelf-dwz-multi.sh: Add expected file names.
1703 * run-readelf-zdebug-rel.sh: Likewise.
1705 2017-11-29 Mark Wielaard <mark@klomp.org>
1707 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
1708 * run-readelf-zdebug-rel.sh: Likewise.
1710 2017-11-29 Mark Wielaard <mark@klomp.org>
1712 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
1713 * run-readelf-loc.sh: Likewise.
1714 * run-readelf-zdebug-rel.sh: Likewise.
1715 * run-readelf-zdebug.sh: Likewise.
1717 2017-11-16 Mark Wielaard <mark@klomp.org>
1719 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
1721 2017-11-10 Mark Wielaard <mark@klomp.org>
1723 * run-exprlocs-self.sh: New test.
1724 * run-varlocs-self.sh: Likewise.
1725 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
1726 run-varlocs-self.sh.
1727 (EXTRA_DIST): Likewise.
1728 * varlocs.c (cfi_debug_bias): New global variable.
1729 (is_ET_REL): Likewise.
1730 (print_expr): Don't crash and burn when CFI cannot be found for an
1731 ET_REL file for DW_OP_call_frame_cfa.
1732 (handle_die): If there is no entry_pc pick the lowest pc start range
1734 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
1735 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
1737 2017-11-03 Mark Wielaard <mark@klomp.org>
1739 * run-exprlocs.sh: New test.
1740 * testfile-stridex.bz2: New testfile.
1741 * Makefile.am (TESTS): Add run-exprlocs.sh.
1742 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
1743 * varlocs.c (dwarf_tag_string): New function.
1744 (dwarf_attr_string): Likewise.
1745 (dwarf_form_string): Likewise.
1746 (print_expr): Fix typo in error message.r
1747 Handle DW_OP_GNU_variable_value.
1748 (attr_arg): New struct.
1749 (handle_attr): New function.
1750 (handle_die): Likewise.
1751 (main): Handle --exprlocs argument. Call handle_die.
1753 2017-10-16 Mark Wielaard <mark@klomp.org>
1755 * md5-sha1-test.c: Removed.
1756 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
1758 (md5_sha1_test_LDADD): Removed.
1760 2017-10-04 Mark Wielaard <mark@klomp.org>
1762 * msg_tst.c: Handle ELF_E_INVALID_ELF.
1764 2017-09-10 Mark Wielaard <mark@klomp.org>
1766 * run-ar.sh: New test.
1767 * Makefile.am (TESTS): Add run-ar.sh.
1768 (EXTRA_DIST): Likewise.
1770 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
1772 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
1774 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
1776 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
1778 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
1780 * run-strip-nothing.sh: Add -s.
1782 2017-07-26 Mark Wielaard <mark@klomp.org>
1784 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
1786 2016-10-27 Mark Wielaard <mjw@redhat.com>
1788 * dwarf_default_lower_bound.c: New test.
1789 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
1791 (dwarf_default_lower_bound_LDADD): New variable.
1793 2017-07-21 Mark Wielaard <mark@klomp.org>
1795 * get-lines.c (main): Add dwarf_line_file test.
1797 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
1799 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
1800 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
1802 2017-07-20 Mark Wielaard <mark@klomp.org>
1804 * run-strip-g.sh: New test.
1805 * Makefile.am (TESTS): Add run-strip-g.sh.
1806 (EXTRA_DIST): Likewise.
1808 2017-07-18 Mark Wielaard <mark@klomp.org>
1810 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
1812 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
1814 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
1816 2017-07-14 Mark Wielaard <mark@klomp.org>
1818 * run-strip-remove-keep.sh: New test.
1819 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
1820 (EXTRA_DIST): Likewise.
1822 2017-06-07 Mark Wielaard <mark@klomp.org>
1824 * run-strip-nothing.sh: New test.
1825 * Makefile.am (TESTS): Add run-strip-nothing.sh.
1826 (EXTRA_DIST): Likewise.
1828 2017-06-06 Mark Wielaard <mark@klomp.org>
1830 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
1832 2017-05-30 Mark Wielaard <mark@klomp.org>
1834 * run-backtrace-fp-core-ppc64le.sh: New test.
1835 * backtrace.ppc64le.fp.core.bz2: New test file.
1836 * backtrace.ppc64le.fp.exec.bz2: New testfile.
1837 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
1838 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
1839 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
1840 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
1842 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
1843 Mark Wielaard <mark@klomp.org>
1845 * Makefile.am: Add test for unwinding with frame pointers on aarch64
1846 * backtrace.aarch64.fp.core.bz2: New file
1847 * backtrace.aarch64.fp.exec.bz2: New file
1848 * run-backtrace-fp-core-aarch64.sh: New file
1849 * backtrace-subr.sh (check_err): Allow Invalid register.
1850 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
1852 2017-04-06 Mark Wielaard <mark@klomp.org>
1854 * run-backtrace-fp-core-i386.sh: New test.
1855 * backtrace.i386.fp.core.bz2: New test file.
1856 * backtrace.i386.fp.exec.bz2: New testfile.
1857 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
1858 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
1859 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
1861 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
1863 * Makefile.am: Add test for unwinding with frame pointers on x86_64
1864 * backtrace.x86_64.fp.core.bz2: New file
1865 * backtrace.x86_64.fp.exec.bz2: New file
1866 * run-backtrace-fp-core-x86_64.sh: New file
1868 2017-04-25 Mark Wielaard <mark@klomp.org>
1870 * backtrace-subr.sh (check_backtracegen): New function.
1871 (check_core): Add check_backtracegen call.
1872 * backtrace.ppc.exec.bz2: Regenerated.
1873 * backtrace.ppc.core.bz2: Likewise.
1875 2017-04-24 Mark Wielaard <mark@klomp.org>
1877 * backtrace.c: Remove option to allow unknown symbols in the trace.
1878 * backtrace-substr.sh: Remove option to allow unknown symbols
1879 to check_core() and allow failed symbol lookups in check_err().
1881 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
1883 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
1885 * run-readelf-zdebug-rel.sh: Likewise.
1887 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
1889 * backtrace-child.c: Include sys/ptrace.h only on linux.
1890 * backtrace-dwarf.c: Likewise.
1892 2017-04-05 Mark Wielaard <mark@klomp.org>
1894 * test-subr.sh (testrun_on_self_compressed): New function.
1895 * run-elflint-self.sh: Call testrun_on_self_compressed.
1896 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
1898 2017-03-30 Mark Wielaard <mark@klomp.org>
1900 * peel_type.c: New file.
1901 * run-peel-type.sh: New test.
1902 * Makefile.am (check_PROGRAMS): Add peel_type.c.
1903 (TESTS): Add run-peel-type.sh.
1904 (EXTRA_DIST): Likewise.
1905 (peel_type_LDADD): New variable.
1907 2017-03-27 Mark Wielaard <mark@klomp.org>
1909 * fillfile.c: New file.
1910 * Makefile.am (check_PROGRAMS): Add fillfile.
1912 (fillfile_LDADD): New variable.
1914 2017-02-15 Mark Wielaard <mark@klomp.org>
1916 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
1917 * run-readelf-A.sh: Add testfileppc64.o test.
1919 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
1921 * elfstrmerge.c: Include system.h.
1923 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
1925 * backtrace.c: Add an option to allow unknown symbols in the trace
1926 * backtrace-substr.sh: Add an option to allow unknown symbols
1927 to check_core() and allow failed symbol lookups in check_err()
1929 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
1931 * backtrace-data.c: Don't assert that symbols are found.
1932 The unwinder is allowed to ask for invalid addresses. We deny
1933 such requests, rather than make the test fail.
1935 2016-11-17 Mark Wielaard <mjw@redhat.com>
1937 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
1939 2016-11-02 Mark Wielaard <mjw@redhat.com>
1941 * backtrace-data.c (thread_callback): Add explicit break after error.
1942 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
1944 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
1946 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
1947 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
1948 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
1949 (run-unstrip-test4.sh): New file.
1950 (testfile-strtab.bz2): New file.
1951 (testfile-strtab.stripped.bz2): New file.
1952 (testfile-strtab.debuginfo.bz2): New file.
1954 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
1956 * arextract.c: Remove sys/param.h include, add system.h include.
1958 2016-08-30 Mark Wielaard <mjw@redhat.com>
1960 * Makefile.am (asm_tst?_LDADD): Add libdw.
1962 2016-08-25 Mark Wielaard <mjw@redhat.com>
1964 * backtrace-child.c: Disable and add documentation about why we disable
1965 RAISE_JMP_PATCHING even on x86_64.
1966 * backtrace.c (is_x86_64_native): Rename to...
1967 (use_raise_jmp_patching): ... this.
1968 (callback_verify): Use use_raise_jmp_patching instead of
1970 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
1972 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
1974 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
1975 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
1976 use_raise_jmp_patching instead of is_x86_64_native.
1978 2016-08-24 Mark Wielaard <mjw@redhat.com>
1980 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
1982 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1984 * testfilesparc64attrs.o.bz2: New file.
1985 * run-readelf-A.sh: Check attributes in a sparc object.
1987 2016-08-06 Mark Wielaard <mjw@redhat.com>
1989 * run-strip-reloc.sh: Add explicit compressed and uncompressed
1992 2016-08-10 Richard Henderson <rth@redhat.com>
1994 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
1997 2016-07-08 Mark Wielaard <mjw@redhat.com>
1999 * update3_LDADD: Use libdw instead of libebl.
2000 * update4_LDADD: Likewise.
2001 * alldts_LDADD: Likewise.
2002 * elfstrmerge_LDADD: Likewise.
2003 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
2004 * elfstrmerge.c (release): Likewise.
2006 * update3.c (main): Likewise.
2007 * update4.c (main): Likewise.
2009 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
2011 * Makefile.am (TESTS): Add run-strip-test11.sh.
2012 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
2013 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
2014 (run-strip-test11.sh): New file.
2015 (hello_m68k.ko.bz2): New file.
2016 (testfile-m68k-core.bz2): New file.
2017 (testfile-m68k.bz2): New file.
2018 (testfile-m68k-s.bz2): New file.
2019 * run-allregs.sh: Add test for testfile-m68k-core.
2020 * run-readelf-mixed-corenote.sh: Likewise.
2021 * run-strip-reloc.sh: Add test for hello_m68k.ko.
2023 2016-07-06 Mark Wielaard <mjw@redhat.com>
2025 * Makefile.am (check_PROGRAMS): Add vendorelf.
2027 (vendorelf_LDADD): New variable.
2028 * vendorelf.c: New test.
2029 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
2031 2016-06-24 Mark Wielaard <mjw@redhat.com>
2033 * Makefile.am (check_PROGRAMS): Add emptyfile.
2035 (emptyfile_LDADD): New variable.
2036 * emptyfile.c: New test.
2038 2016-06-28 Richard Henderson <rth@redhat.com>
2040 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
2041 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
2042 testfile-bpf-dis1.o.bz2
2043 (run-disasm-bpf.sh): New file.
2044 (testfile-bpf-dis1.expect.bz2): New file.
2045 (testfile-bpf-dis1.o.bz2): New file.
2047 2016-02-09 Mark Wielaard <mjw@redhat.com>
2049 * testfile-s390x-hash-both.bz2: New testfile.
2050 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
2051 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
2053 2016-02-04 Mark Wielaard <mjw@redhat.com>
2055 * run-strip-nobitsalign.sh: New test.
2056 * testfile-nobitsalign.bz2: New testfile.
2057 * testfile-nobitsalign.strip.bz2: Likewise.
2058 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
2059 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
2060 and testfile-nobitsalign.strip.bz2.
2061 * run-strip-test.sh: Add --gnu to elflint calls.
2063 2016-01-13 Mark Wielaard <mjw@redhat.com>
2065 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
2067 2016-01-13 Mark Wielaard <mjw@redhat.com>
2069 * dwfl-proc-attach.c: Guard linux specific header.
2071 2016-01-13 Mark Wielaard <mjw@redhat.com>
2073 * system-elf-libelf-test.c: New test.
2074 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
2075 (check_PROGRAMS): Likewise.
2076 (system_elf_libelf_test_CPPFLAGS): New variable.
2077 (system_elf_libelf_test_LDADD): Likewise.
2079 2016-01-08 Mark Wielaard <mjw@redhat.com>
2081 * elfputzdata.c (main): Fix parentheses in strncmp test.
2083 2016-01-08 Mark Wielaard <mjw@redhat.com>
2085 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
2087 2016-01-08 Mark Wielaard <mjw@redhat.com>
2089 * Makefile.am (TESTS): Always unconditionally add
2090 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
2092 2015-12-16 Mark Wielaard <mjw@redhat.com>
2094 * run-compress-test.sh: New test.
2095 * Makefile.am (TESTS): Add run-compress-test.sh.
2096 (EXTRA_DISTS): Likewise.
2098 2015-11-26 Mark Wielaard <mjw@redhat.com>
2100 * zstrptr.c: New file.
2101 * run-zstrptr.sh: New test.
2102 * elfputzdata.c (main): (re)compress .shstrtab.
2103 * run-elfputzdata.sh: Expect .shstrtab compression.
2104 * Makefile.am (check_PROGRAMS): Add zstrptr.
2105 (TESTS): Add run-zstrptr.sh.
2106 (EXTRA_DIST): Likewise.
2107 (zstrptr_LDADD): New variable.
2109 2015-10-20 Mark Wielaard <mjw@redhat.com>
2111 * run-readelf-zx.sh: New test.
2112 * run-readelf-zp.sh: Likewise.
2113 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
2114 (EXTRA_DIST): Likewise.
2116 2015-10-21 Mark Wielaard <mjw@redhat.com>
2118 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
2119 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
2120 (EXTRA_DIST: Likewise.
2121 (elfgetzdata_LDADD): New variable.
2122 (elfputzdata_LDADD): Likewise.
2123 * elfgetzdata.c: New file.
2124 * elfputzdata.c: Likewise.
2125 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
2126 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
2127 ELF_E_DECOMPRESS_ERROR.
2128 * run-elfgetzdata.sh: New test.
2129 * run-elfputzdata.sh: Likewise.
2131 2015-10-28 Mark Wielaard <mjw@redhat.com>
2133 * run-readelf-z.sh: New test.
2134 * Makefile.am (TESTS): Add run-readelf-z.sh.
2135 (EXTRA_DIST): Likewise.
2137 2015-10-28 Mark Wielaard <mjw@redhat.com>
2139 * elfgetchdr.c: New file.
2140 * run-elfgetchdr.sh: New test.
2141 * testfile-zgabi32.bz2: New testfile.
2142 * testfile-zgabi32be.bz2: Likewise.
2143 * testfile-zgabi64.bz2: Likewise.
2144 * testfile-zgabi64be.bz2: Likewise.
2145 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
2146 (TESTS): Add run-elfgetchdr.sh.
2147 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
2148 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
2149 (welfgetchdr_LDADD): New variable.
2150 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
2151 and ELF_E_INVALID_SECTION_FLAGS,
2154 2015-10-28 Mark Wielaard <mjw@redhat.com>
2156 * dwelfgnucompressed.c: New file.
2157 * run-dwelfgnucompressed.sh: New test.
2158 * testfile-zgnu32.bz2: New testfile.
2159 * testfile-zgnu64.bz2: Likewise.
2160 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
2161 (TESTS): Add run-dwelfgnucompressed.sh.
2162 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
2163 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
2164 (dwelfgnucompressed_LDADD): New variable.
2166 2015-12-31 Mark Wielaard <mjw@redhat.com>
2168 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
2169 * run-elfstrmerge-test.sh: New test.
2170 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
2171 (EXTRA_DIST): Likewise.
2173 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
2175 * run-backtrace-core-sparc.sh: New file.
2176 * backtrace.sparc.core.bz2: New file.
2177 * backtrace.sparc.exec.bz2: New file.
2178 * Makefile.am (EXTRA_DIST): ... and added all here.
2179 (TESTS): Added run-backtrace-core-sparc.sh.
2181 2015-12-02 Mark Wielaard <mjw@redhat.com>
2183 * Makefile.am (valgrind_cmd): Use --leak-check=full.
2184 * run-backtrace-demangle.sh: Disable valgrind.
2185 * run-stack-demangled-test.sh: Likewise.
2186 * run-stack-d-test.sh: Likewise.
2187 * run-stack-i-test.sh: Likewise.
2189 2015-12-01 Mark Wielaard <mjw@redhat.com>
2191 * test-flag-nobits.c (main): Call elf_end.
2192 * rerequest_tag.c (main): Call dwarf_end.
2193 * funcscopes.c (handle_function): Free scopes.
2194 * dwarf-getstring.c (main): Call dwarf_end.
2195 * allregs.c (main): Free state.info.
2196 * alldts.c (main): Free dyn.
2197 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
2199 * addrscopes.c (handle_address): Free scopes.
2201 2015-10-16 Mark Wielaard <mjw@redhat.com>
2203 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
2204 [BUILD_STATIC] (libelf): Likewise.
2206 2015-10-16 Mark Wielaard <mjw@redhat.com>
2208 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
2210 2015-10-09 Josh Stone <jistone@redhat.com>
2212 * lfs-symbols: New list of LFS-related symbols from lintian.
2213 * testfile-nolfs.bz2: New test binary for sanity checking.
2214 * run-lfs-symbols.sh: New test.
2215 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
2216 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
2218 * alldts.c (main): Replace open64 with open.
2219 * dwarf-getstring.c (main): Likewise.
2220 * arls.c: Include config.h.
2222 * rdwrmmap.c: Likewise.
2223 * test-elf_cntl_gelf_getshdr.c: Likewise.
2224 * test-flag-nobits.c: Include config.h.
2225 (main): Replace open64 with open.
2227 2015-10-09 Mark Wielaard <mjw@redhat.com>
2229 * elfshphehdr.c (check): Rename argument from check to statement.
2230 (check_elf): Likewise.
2232 2015-10-05 Josh Stone <jistone@redhat.com>
2234 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
2236 2015-10-02 Mark Wielaard <mjw@redhat.com>
2238 * elfstrmerge.c: New check program.
2239 * run-strip-strmerge.sh: New test.
2240 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
2241 (EXTRA_DIST): Add run-strip-strmerge.sh
2242 (elfstrmerge_LDADD): New variable.
2244 2015-09-29 Mark Wielaard <mjw@redhat.com>
2246 * elfshphehdr.c: New test.
2247 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
2249 (elfshphehdr_LDADD): New variable.
2251 2015-09-08 Mark Wielaard <mjw@redhat.com>
2253 * dwfl-proc-attach.c: New test.
2254 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
2256 (dwfl_proc_attach_LDADD): New variable.
2257 (dwfl_proc_attach_LDFLAGS): Likewise.
2259 2015-09-04 Chih-Hung Hsieh <chh@google.com>
2261 * varlocs.c (print_base_type): Initialize enctype.
2263 2015-09-04 Chih-Hung Hsieh <chh@google.com>
2265 * md5-sha1-test.c (md5_expected): Removed.
2266 (sha1_expected): Likewise.
2268 2015-09-04 Chih-Hung Hsieh <chh@google.com>
2270 * asm-tst1.c (main): Replace %Z length modifier with %z.
2271 * asm-tst2.c (main): Likewise.
2272 * asm-tst3.c (main): Likewise.
2273 * asm-tst4.c (main): Likewise.
2274 * asm-tst5.c (main): Likewise.
2275 * asm-tst6.c (main): Likewise.
2276 * asm-tst7.c (main): Likewise.
2277 * asm-tst8.c (main): Likewise.
2278 * asm-tst9.c (main): Likewise.
2279 * sectiondump.c (print_bytes): Likewise.
2281 2015-08-14 Mark Wielaard <mjw@redhat.com>
2283 * run-addr2line-alt-debugpath.sh: New test.
2284 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
2285 (EXTRA_DIST): Likewise.
2287 2015-07-29 Mark Wielaard <mjw@redhat.com>
2289 * run-unstrip-test3.sh: New test.
2290 * testfile-info-link.bz2: New file.
2291 * testfile-info-link.debuginfo.bz2: Likewise.
2292 * testfile-info-link.stripped.bz2: Likewise.
2293 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
2294 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
2295 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
2297 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
2299 * tests/run-deleted.sh: Skip when detecting a not implemented
2300 dwfl_linux_proc_attach.
2302 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
2304 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
2307 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
2309 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
2311 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
2313 * tests/backtrace-data.c: Reduce scope of some includes to match their
2315 * tests/backtrace.c: Likewise.
2316 * tests/deleted.c: Likewise.
2318 2015-06-16 Mark Wielaard <mjw@redhat.com>
2320 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
2321 for non-ET_REL files.
2323 2015-05-30 Mark Wielaard <mjw@redhat.com>
2325 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
2326 generated before skipping.
2327 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
2329 * run-backtrace-demangle.sh: Likewise.
2330 * run-stack-demangled-test.sh: Likewise.
2331 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
2333 * run-backtrace-native-core-biarch.sh: Likewise.
2334 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
2336 2015-05-20 Mark Wielaard <mjw@redhat.com>
2338 * run-addr2line-i-test.sh: Add pretty test.
2339 * run-addr2line-test.sh: Likewise.
2341 2015-05-20 Mark Wielaard <mjw@redhat.com>
2343 * run-addr2line-i-demangle-test.sh: New test.
2344 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
2345 (EXTRA_DIST): Likewise.
2347 2015-05-20 Mark Wielaard <mjw@redhat.com>
2349 * run-addr2line-test.sh: Add -a test variants.
2350 * run-addr2line-i-test.sh: Likewise.
2352 2015-05-20 Mark Wielaard <mjw@redhat.com>
2354 * run-addrname-test.sh: Make sure all input addresses are hex.
2356 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
2358 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
2359 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
2361 * backtrace-dwarf.c (main): Likewise.
2362 * backtrace.c (prepare_thread, exec_dump): Likewise.
2364 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
2366 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
2367 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
2368 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
2369 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
2370 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
2372 2015-05-01 Mark Wielaard <mjw@redhat.com>
2374 * run-stack-d-test.sh: Use --raw and mangled output.
2375 * run-stack-i-test.sh: Likewise.
2376 * run-stack-demangled-test.sh: New test.
2377 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
2380 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2382 * Makefile.am (TESTS): Add run-strip-test10.sh.
2383 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
2384 Add testfile-x32-debug.bz2.
2385 * run-strip-test10.sh: New file.
2386 * testfile-x32-d.bz2: Likewise.
2387 * testfile-x32-debug.bz2: Likewise.
2389 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2391 * Makefile.am (TESTS): Add run-strip-test9.sh.
2392 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
2393 * run-strip-test9.sh: New file.
2394 * testfile-x32-s.bz2: Likewise.
2396 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2398 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
2399 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
2400 Add backtrace.x32.exec.bz2.
2401 * backtrace.x32.core.bz2 : New file.
2402 * backtrace.x32.exec.bz2: Likewise.
2403 * run-backtrace-core-x32.sh: Likewise.
2405 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2407 * run-addrcfi.sh: Add a test for testfile-x32.
2408 * testfile-x32.bz2: New file.
2409 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
2411 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2413 * run-allregs.sh: Add a test for testfile-x32-core.
2415 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
2417 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
2418 * testfile-x32-core.bz2: New file.
2419 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
2421 2015-03-18 Petr Machata <pmachata@redhat.com>
2423 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
2425 * allregs.c (dwarf_encoding_string): Likewise.
2426 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
2427 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
2429 2015-03-18 Petr Machata <pmachata@redhat.com>
2431 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
2432 debug-ranges-no-lowpc.o.bz2.
2434 2015-03-13 Mark Wielaard <mjw@redhat.com>
2436 * backtrace-dwarf.c: Add explicit includes.
2437 (cleanup_13_abort): Remove unused static declaration.
2438 (thread_callback): Add explicit return.
2440 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
2442 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
2443 instead of PTRACE_POKEUSER.
2444 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
2447 2015-02-18 Mark Wielaard <mjw@redhat.com>
2449 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
2451 2015-02-11 Josh Stone <jistone@redhat.com>
2453 * backtrace.c (exec_dump): Initialize jmp.
2455 2015-02-11 Petr Machata <pmachata@redhat.com>
2457 * run-dwarf-ranges.sh: New test.
2458 * dwarf-ranges.c: New file.
2459 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
2461 2015-01-21 Mark Wielaard <mjw@redhat.com>
2463 * Makefile.am (check_PROGRAMS): Add elfstrtab.
2465 (elfstrtab_LDADD): New variable.
2466 * elfstrtab.c: New test.
2468 2015-01-20 Mark Wielaard <mjw@redhat.com>
2470 * Makefile.am (check_PROGRAMS): Add newdata.
2472 (newdata_LDADD): new variable.
2473 * newdata.c: New test.
2475 2015-01-20 Mark Wielaard <mjw@redhat.com>
2477 * strptr.c: New file.
2478 * run-strptr.sh: New test.
2479 * Makefile.am (check_PROGRAMS): Add strptr.
2480 (TESTS): Add run-strptr.sh.
2481 (EXTRA_DIST): Likewise.
2482 (strptr_LDADD): New variable.
2484 2015-01-15 Mark Wielaard <mjw@redhat.com>
2486 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
2487 * vdsosyms.c (main): Use getpid () instead of getppid ().
2489 2014-12-27 Mark Wielaard <mjw@redhat.com>
2491 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
2492 * funcscopes.c (handle_function): Likewise.
2493 * run-addrscopes.sh: Adjust last address in scope.
2494 * run-funcscopes.sh: Likewise.
2496 2015-01-07 Mark Wielaard <mjw@redhat.com>
2498 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
2500 2015-01-14 Mark Wielaard <mjw@redhat.com>
2502 * testfile-debug-types.bz2: New testfile.
2503 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
2504 * typeiter2.c (main): Print both name and offset of found form DIE.
2505 * run-typeiter.s: Adjust output and add testfile-debug-types.
2507 2014-12-26 Mark Wielaard <mjw@redhat.com>
2509 * run-test-archive64.sh: Add nm test.
2511 2014-12-19 Mark Wielaard <mjw@redhat.com>
2513 * run-deleted.sh: Don't check libfunc on ppc64.
2515 2014-12-19 Mark Wielaard <mjw@redhat.com>
2517 * vdsosyms.c (vdso_seen): Removed.
2518 (vdso_syms): New global.
2519 (module_callback): Set and check vdso_syms.
2520 (main): Return value depends on vdso_syms.
2522 2014-12-19 Mark Wielaard <mjw@redhat.com>
2524 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
2526 * run-deleted.sh: Call check_native_unsupported.
2528 2014-12-18 Mark Wielaard <mjw@redhat.com>
2530 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
2532 2014-12-12 Mark Wielaard <mjw@redhat.com>
2534 * Makefile.am (deleted_lib_so_CFLAGS): Add
2535 -fasynchronous-unwind-tables.
2537 2014-12-11 Josh Stone <jistone@redhat.com>
2539 * run-addr2line-i-lex-test.sh: New test.
2540 * testfile-lex-inlines.bz2: New testfile.
2541 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
2542 testfile-lex-inlines.bz2.
2543 (TESTS): Add run-addr2line-i-lex-test.sh.
2545 2014-12-10 Josh Stone <jistone@redhat.com>
2547 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
2548 preferred over the plain die name.
2550 2014-12-02 Petr Machata <pmachata@redhat.com>
2552 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
2553 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
2554 (main): Initialize off to DWARF_GETMACROS_START when an extra
2555 command line argument is passed.
2556 * testfile-macros-0xff.bz2: New test case.
2557 * testfile-macros-0xff.s: New file (source for the above).
2558 * run-dwarf-getmacros.sh: Add two tests.
2560 2014-11-27 Mark Wielaard <mjw@redhat.com>
2562 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
2564 2014-11-21 Mark Wielaard <mjw@redhat.com>
2566 * run-readelf-A.sh: New test.
2567 * testfileppc32attrs.o.bz2: New test file.
2568 * Makefile.am (TESTS): Add run-readelf-A.sh.
2569 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
2571 2014-11-10 Mark Wielaard <mjw@redhat.com>
2573 * vdsosyms.c: New test.
2574 * Makefile.am (check_PROGRAMS): Add vdsosyms.
2576 (vdsosyms_LDADD): New variable.
2578 2014-09-10 Petr Machata <pmachata@redhat.com>
2580 * dwarf-getmacros.c: Update to use the new macro iteration
2582 * run-dwarf-getmacros.sh: Adjust, add a test that uses
2585 2014-10-06 Mark Wielaard <mjw@redhat.com>
2587 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
2588 * testfile-sizes3.o.bz2: New test file.
2589 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
2591 2014-10-02 Mark Wielaard <mjw@redhat.com>
2593 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
2595 2014-10-02 Mark Wielaard <mjw@redhat.com>
2597 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
2598 (TESTS): Add run-aggregate-size.sh.
2599 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
2600 and testfile-sizes2.o.bz2.
2601 (aggregate_size_LDADD): New variable.
2602 * aggregate_size.c: New file.
2603 * run-aggregate-size.sh: New test.
2604 * testfile-sizes1.o.bz2: New test file.
2605 * testfile-sizes2.o.bz2: Likewise.
2607 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2609 Support NT_FILE for locating files.
2610 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
2611 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
2612 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
2613 * linkmap-cut-lib.so.bz2: New file.
2614 * linkmap-cut.bz2: New file.
2615 * linkmap-cut.core.bz2: New file.
2616 * run-linkmap-cut.sh: New file.
2617 * run-unstrip-n.sh: Update its expected output.
2619 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2621 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
2622 (TESTS, EXTRA_DIST): Add run-deleted.sh.
2623 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
2624 * deleted-lib.c: New file.
2625 * deleted.c: New file.
2626 * run-deleted.sh: New file.
2628 2014-06-15 Mark Wielaard <mjw@redhat.com>
2630 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
2632 2014-06-13 Mark Wielaard <mjw@redhat.com>
2634 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
2637 2014-06-13 Mark Wielaard <mjw@redhat.com>
2639 * backtrace-subr.sh (check_native_unsupported): New function.
2640 (check_native): Call it.
2641 (check_native_core): Likewise.
2642 * run-backtrace-dwarf.sh: Likewise.
2644 2014-06-11 Mark Wielaard <mjw@redhat.com>
2646 * backtrace.c (main): Check that Dwfl was attached by calling
2647 dwfl_pid and printing the error when it is not.
2649 2014-05-18 Mark Wielaard <mjw@redhat.com>
2651 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
2653 * testfile-backtrace-demangle.bz2: Regenerate.
2654 * testfile-backtrace-demangle.core.bz2: Likewise.
2656 2014-05-02 Mark Wielaard <mjw@redhat.com>
2658 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
2659 run-allfcts-multi.sh are now added unconditionally.
2661 2014-05-01 Mark Wielaard <mjw@redhat.com>
2663 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
2666 2014-04-30 Mark Wielaard <mjw@redhat.com>
2668 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
2669 * Makefile.am (check_PROGRAMS): Add buildid.
2670 (TESTS): Add run-buildid.sh.
2671 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
2672 (buildid_LDADD): New variable.
2674 2014-04-24 Florian Weimer <fweimer@redhat.com>
2676 * allfcts.c (setup_alt): New function.
2677 (main): Call it. Implementation additional error checking and
2680 2014-04-24 Florian Weimer <fweimer@redhat.com>
2682 * debugaltlink.c, run-debugaltlink.sh: New files.
2683 * Makefile.am (check_PROGRAMS): Add debugaltlink.
2684 (TESTS): Add run-debugaltlink.sh.
2685 (debugaltlink_LDADD): New variable.
2687 2014-04-11 Mark Wielaard <mjw@redhat.com>
2689 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
2690 (check_PROGRAMS): Add debuglink.
2691 (TESTS): Add run-debuglink.sh
2692 (EXTRA_DIST): Likewise.
2693 (debuglink_LDADD): New.
2694 * debuglink.c: New file.
2695 * run-debuglink.sh: Likewise.
2697 2014-03-23 Mark Wielaard <mjw@redhat.com>
2699 * run-nm-self.sh: Use test = not == for string comparisons.
2701 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
2703 * backtrace.c: Make Linux only.
2704 * backtrace-child.c: Make Linux only.
2705 * backtrace-data.c: Make Linux only.
2706 * backtrace-dwarf.c: Make Linux only.
2707 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
2709 2014-03-14 Mark Wielaard <mjw@redhat.com>
2711 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
2713 * configure.ac: Remove MUDFLAP conditional.
2715 2014-04-09 Mark Wielaard <mjw@redhat.com>
2717 * run-readelf-zdebug.sh: New test.
2718 * testfile-debug.bz2: New testfile.
2719 * testfile-zdebug.bz2: New testfile.
2720 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
2721 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
2722 testfile-zdebug.bz2.
2724 2014-04-10 Mark Wielaard <mjw@redhat.com>
2726 * testfile_i686_core.bz2: New test file.
2727 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
2728 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
2730 2014-04-09 Mark Wielaard <mjw@redhat.com>
2732 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
2733 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
2734 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
2735 * run-backtrace-core-aarch64.sh: New test.
2737 2014-03-11 Josh Stone <jistone@redhat.com>
2739 * testfilebaxmin.bz2: New testfile.
2740 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
2741 * run-readelf-s.sh: Test testfilebaxmin.
2742 * run-dwflsyms.sh: Likewise.
2744 2014-01-26 Mark Wielaard <mjw@redhat.com>
2746 * backtrace-subr.sh (check_unsupported): Special case arm*.
2748 2014-01-25 Mark Wielaard <mjw@redhat.com>
2750 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
2751 location expression: call_frame_cfa stack_value.
2753 2014-01-22 Mark Wielaard <mjw@redhat.com>
2755 * Makefile.am (line2addr_no_Wformat): Removed.
2757 2014-01-21 Mark Wielaard <mjw@redhat.com>
2759 * Makefile.am (TESTS): Add run-stack-i-test.sh.
2760 (EXTRA_DIST): Likewise.
2761 * run-stack-i-test.sh: New test.
2763 2014-01-20 Mark Wielaard <mjw@redhat.com>
2765 * Makefile.am (TESTS): Add run-stack-d-test.sh.
2766 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
2767 testfiledwarfinlines.core.bz2.
2768 * run-stack-d-test.sh: New test.
2769 * testfiledwarfinlines.bz2: New test file.
2770 * testfiledwarfinlines.core.bz2: Likewise.
2772 2014-01-16 Mark Wielaard <mjw@redhat.com>
2774 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
2775 on one ET_REL, one ET_EXEC and one ET_DYN file.
2776 * test-subr.sh (self_test_files): Add two ET_REL files, only add
2777 two libebl ET_DYN backend files.
2779 2014-01-16 Mark Wielaard <mjw@redhat.com>
2781 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
2783 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2785 Fix false FAILs on testsuite with ulimit -c unlimited.
2786 * backtrace-child.c (sigusr2): Call pthread_exit.
2787 (main): Return, do not call abort.
2789 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2791 Fix corruption of non-C++ symbols by the demangler.
2792 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
2793 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
2794 (EXTRA_DIST): Add run-backtrace-demangle.sh,
2795 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
2796 testfile-backtrace-demangle.core.bz2.
2797 * backtrace-demangle.cc: New file.
2798 * run-backtrace-demangle.sh: New file.
2799 * testfile-backtrace-demangle.bz2: New file.
2800 * testfile-backtrace-demangle.cc: New file.
2801 * testfile-backtrace-demangle.core.bz2: New file.
2803 2014-01-07 Matthias Klose <doko@ubuntu.com>
2805 * backtrace-subr.sh (check_native_core): Check to see if core file
2806 was created without ".PID" extension, if so mv core to core.PID.
2807 Skip test if no core file was created or could be found.
2809 2014-01-04 Mark Wielaard <mjw@redhat.com>
2811 * backtrace-data.c (main): Don't assert if raise returns.
2812 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
2813 assume_ptrace_attached true.
2814 (ptrace_detach_stopped): Removed function.
2815 (main): Don't call ptrace_detach_stopped.
2816 * backtrace.c (ptrace_detach_stopped): Removed function.
2817 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
2819 (exec_dump): Don't call ptrace_detach_stopped.
2821 2014-01-04 Mark Wielaard <mjw@redhat.com>
2823 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
2824 if we cannot adjust core ulimit.
2826 2014-01-04 Mark Wielaard <mjw@redhat.com>
2828 * cleanup-13.c (force_unwind_stop): Removed.
2829 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
2830 don't call _Unwind_ForcedUnwind.
2832 2014-01-03 Mark Wielaard <mjw@redhat.com>
2834 * run-addrcfi.sh: Add case for EM_AARCH64.
2835 * testfileaarch64.bz2: New testfile.
2836 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
2838 2013-12-30 Mark Wielaard <mjw@redhat.com>
2840 * backtrace-dwarf.c (report_pid): Explicitly call
2841 dwfl_linux_proc_attach and check for errors.
2842 * backtrace.c (report_pid): Likewise.
2844 2013-12-21 Mark Wielaard <mjw@redhat.com>
2846 * backtrace.c (callback_verify): Only assert that case 5 is the last
2847 instruction of backtracegen on x86_64 native.
2849 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2850 Mark Wielaard <mjw@redhat.com>
2852 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
2853 and testfilebaz*ppc64*.bz2 files.
2854 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
2855 error on dwfl_module_getsymtab error.
2856 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
2857 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
2858 Also print section of actual value if different from sym.
2859 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
2860 Test addr2line -x by showing different sections for address and
2861 found name in testfile66.
2862 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
2863 testfilebaz*ppc64): New tests.
2864 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
2865 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
2866 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
2867 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
2868 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
2869 testfilebaztabppc64.bz2: New test files.
2871 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2873 unwinder: s390 and s390x
2874 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
2875 run-backtrace-core-s390.sh.
2876 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
2877 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
2878 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
2879 * backtrace.s390.core.bz2: New file.
2880 * backtrace.s390.exec.bz2: New file.
2881 * backtrace.s390x.core.bz2: New file.
2882 * backtrace.s390x.exec.bz2: New file.
2883 * run-backtrace-core-s390.sh: New file.
2884 * run-backtrace-core-s390x.sh: New file.
2886 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2888 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
2891 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2894 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
2895 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
2896 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
2897 * backtrace.ppc.core.bz2: New file.
2898 * backtrace.ppc.exec.bz2: New file.
2899 * run-backtrace-core-ppc.sh: New file.
2901 2013-12-10 Mark Wielaard <mjw@redhat.com>
2903 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
2905 2013-12-10 Mark Wielaard <mjw@redhat.com>
2907 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
2908 * backtrace-subr.sh (check_native_core): Disable valgrind while
2910 * run-backtrace-data.sh: Disable valgrind.
2911 * run-backtrace-dwarf.sh: Likewise.
2913 2013-12-09 Mark Wielaard <mjw@redhat.com>
2915 * varlocs.c (print_expr): Update comment to explain empty location
2916 associated with DW_OP_GNU_implicit_pointer.
2918 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2920 Fix test FAIL with -O2.
2921 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
2923 2013-12-05 Mark Wielaard <mjw@redhat.com>
2925 * backtrace-data.c (main): If unsupported also print to stderr.
2926 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
2928 2013-12-04 Mark Wielaard <mjw@redhat.com>
2930 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
2932 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2934 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
2935 backtrace-data and backtrace-dwarf.
2936 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
2937 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
2938 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
2939 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
2940 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
2941 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
2942 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
2943 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
2944 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
2945 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
2946 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
2947 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
2948 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
2949 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
2951 * backtrace-child.c: New file.
2952 * backtrace-data.c: New file.
2953 * backtrace-dwarf.c: New file.
2954 * backtrace-subr.sh: New file.
2955 * backtrace.c: New file.
2956 * cleanup-13.c: New file.
2957 * backtrace.i386.core.bz2: New file.
2958 * backtrace.i386.exec.bz2: New file.
2959 * backtrace.x86_64.core.bz2: New file.
2960 * backtrace.x86_64.exec.bz2: New file.
2961 * run-backtrace-core-i386.sh: New file.
2962 * run-backtrace-core-x86_64.sh: New file.
2963 * run-backtrace-native-biarch.sh: New file.
2964 * run-backtrace-native-core-biarch.sh: New file.
2965 * run-backtrace-native-core.sh: New file.
2966 * run-backtrace-native.sh: New file.
2967 * run-backtrace-data.sh: New file.
2968 * run-backtrace-dwarf.sh: New file.
2970 2013-11-27 Mark Wielaard <mjw@redhat.com>
2972 * dwflsyms.c (gelf_bind_order): New function.
2973 (elf_section_name): Likewise.
2974 (addr_in_section): Likewise.
2975 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
2976 Refine assert using gelf_bind_order. Print elf_section_name. Check
2977 bias with addr_in_section.
2978 * run-dwflsyms.sh: Add section names to expected output.
2980 2013-11-26 Mark Wielaard <mjw@redhat.com>
2982 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
2984 2013-11-25 Petr Machata <pmachata@redhat.com>
2986 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
2987 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
2988 * Makefile.am (EXTRA_DIST): Add these.
2989 (TESTS): Add run-funcretval.sh.
2990 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
2991 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
2992 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
2993 * run-funcretval.sh: New file.
2995 2013-11-18 Josh Stone <jistone@redhat.com>
2997 * testfilebazdbg_plr.bz2: New testfile.
2998 * testfilebazmin_plr.bz2: Likewise.
2999 * Makefile.am (EXTRA_DIST): Add the above files.
3000 * run-dwflsyms.sh: Add prelink -r tests.
3002 2013-11-15 Mark Wielaard <mjw@redhat.com>
3004 * testfilebazmdb.bz2: Regenerated.
3005 * testfilebazmin.bz2: Likewise.
3006 * testfilebazdbg_pl.bz2: New testfile.
3007 * testfilebazmin_pl.bz2: Likewise.
3008 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
3009 testfilebazmin_pl.bz2.
3010 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
3011 print relative address of function symbols.
3012 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
3014 2013-11-01 Michael Forney <mforney@mforney.org>
3016 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
3017 * run-arsymtest.sh: Use NM.
3019 2013-11-05 Mark Wielaard <mjw@redhat.com>
3021 * allfcts.c (main): Correct dwarf_getfuncs return value check.
3023 2013-10-10 Mark Wielaard <mjw@redhat.com>
3024 Josh Stone <jistone@redhat.com>
3026 * run-allfcts-multi.sh: New test.
3027 * test-offset-loop.bz2: New testfile.
3028 * test-offset-loop.alt.bz2: New testfile.
3029 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
3030 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
3031 test-offset-loop.alt.bz2.
3033 2013-10-15 Mark Wielaard <mjw@redhat.com>
3035 * run-unstrip-M.sh: New test.
3036 * Makefile.am (TESTS): Add run-unstrip-M.sh.
3037 (EXTRA_DIST): Likewise.
3039 2013-10-06 Mark Wielaard <mjw@redhat.com>
3041 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
3042 location expression.
3044 2013-10-03 Josh Stone <jistone@redhat.com>
3046 * typeiter2.c: New file, reversing typeiter.c.
3047 * run-typeiter.sh: Also run typeiter2.
3048 * Makefile.am (check_PROGRAMS): Add typeiter2.
3049 (typeiter2_LDADD): New variable.
3051 2013-09-26 Petr Machata <pmachata@redhat.com>
3053 * run-readelf-mixed-corenote.sh: Update output of testfile71
3054 dump--readelf can newly decode the NT_FILE note.
3056 2013-09-26 Petr Machata <pmachata@redhat.com>
3058 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
3059 * run-readelf-mixed-corenote.sh: New test for this file.
3060 * testfile71.bz2: New file.
3062 2013-09-20 Mark Wielaard <mjw@redhat.com>
3064 * allfcts.c (cb): Return DWARF_CB_ABORT.
3065 (main): Iterate over all offsets returned by dwarf_getfuncs.
3066 * run-allfcts.sh: Add nested_funcs and class_func testcases.
3067 * testfile_nested_funcs.bz2: New test file.
3068 * testfile_class_func.bz2: Likewise.
3069 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
3070 testfile_nested_funcs.bz2.
3072 2013-08-30 Mark Wielaard <mjw@redhat.com>
3074 * Makefile.am (check_PROGRAMS): Add varlocs.
3075 (TESTS): Add run-varlocs.sh.
3076 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
3077 testfile_const_type.bz2, testfile_implicit_pointer.c,
3078 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
3079 testfile_entry_value.c, testfile_entry_value.bz2,
3080 testfile_implicit_value.c and testfile_implicit_value.bz2.
3081 (varlocs_LDADD): New.
3082 * run-varlocs: New test.
3083 * testfile_const_type.c: New test source file.
3084 * testfile_entry_value.c: Likewise.
3085 * testfile_implicit_pointer.c: Likewise.
3086 * testfile_implicit_value.c: Likewise.
3087 * testfile_parameter_ref.c: Likewise.
3088 * testfile_const_type.bz2: New test file.
3089 * testfile_entry_value.bz2: Likewise.
3090 * testfile_implicit_pointer.bz2: Likewise.
3091 * testfile_implicit_value.bz2: Likewise.
3092 * testfile_parameter_ref.bz2: Likewise.
3093 * varlocs.c: New test source.
3095 2013-08-29 Mark Wielaard <mjw@redhat.com>
3097 * run-addrcfi.sh: Add case for EM_ARM.
3098 * testfilearm.bz2: New testfile.
3099 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
3101 2013-08-28 Mark Wielaard <mjw@redhat.com>
3103 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
3105 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
3106 * testfiles390.bz2: New testfile.
3107 * testfiles390x.bz2: Likewise.
3108 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
3111 2013-08-28 Mark Wielaard <mjw@redhat.com>
3113 * addrcfi.c (handle_cfi): Use printf not error.
3114 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
3115 * testfileppc32.bz2: New testfile.
3116 * testfileppc64.bz2: Likewise.
3117 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
3120 2013-08-27 Mark Wielaard <mjw@redhat.com>
3122 * run-addrcfi.sh: New test.
3123 * Makefile.am (TESTS): Add run-addrcfi.sh.
3124 (EXTRA_DIST): Likewise.
3125 * addrcfi.c (op_name): New function.
3126 (print_detail): Call and print op_name. Check ops, not result
3127 to check if this is "same value" or "undefined".
3128 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
3130 2013-08-13 Mark Wielaard <mjw@redhat.com>
3132 * run-addr2line-i-test.sh: New test.
3133 * testfile-inlines.bz2: New testfile.
3134 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
3135 testfile-inlines.bz2.
3136 (TESTS): Add run-addr2line-i-test.sh.
3138 2013-08-12 Mark Wielaard <mjw@redhat.com>
3140 * run-addr2line-test.sh: New test.
3141 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
3144 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3146 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
3149 2013-07-02 Mark Wielaard <mjw@redhat.com>
3151 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
3152 testfilenolines.bz2.
3154 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3156 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
3157 test-core.core.bz2 and test-core.exec.bz2.
3158 * run-addrname-test.sh: New test for these files.
3159 * run-unstrip-n.sh: Update expected output. New test for these files.
3160 * test-core-lib.so.bz2: New file.
3161 * test-core.core.bz2: New file.
3162 * test-core.exec.bz2: New file.
3164 2013-05-03 Mark Wielaard <mjw@redhat.com>
3166 * testfilenolines.bz2: New test file.
3167 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
3168 * run-get-lines.sh: Run testrun_compare on testfilenolines.
3170 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3172 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
3174 2013-04-29 Mark Wielaard <mjw@redhat.com>
3176 * test-subr.sh: Don't use pushd, just cd into test-dir.
3177 (exit_cleanup): Don't use popd, just cd .. to get out.
3179 2013-04-27 Mark Wielaard <mjw@redhat.com>
3181 * test-subr.sh (exit_cleanup): New function.
3182 (trap): Use exit_cleanup as argument.
3183 * run-native-test.sh (native_exit): New function.
3184 (trap): For EXIT (0) use native_exit as argument.
3186 2013-04-27 Mark Wielaard <mjw@redhat.com>
3188 * update1.c (main): Use unique tempfile name and unlink file.
3189 * update2.c (main): Likewise.
3190 * update3.c (main): Likewise.
3191 * update4.c (main): Use unique tempfile name.
3193 2013-04-27 Mark Wielaard <mjw@redhat.com>
3195 * run-alldts.sh: Add testfile-alldts to tempfiles.
3196 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
3197 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
3198 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
3199 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
3201 2013-04-26 Mark Wielaard <mjw@redhat.com>
3203 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
3205 (TESTS_ENVIRONMENT): Likewise.
3206 (installed_LOG_COMPILER): New variable defining wrapper.
3207 (LOG_COMPILER): Likewise.
3208 * run-*.sh: Fixup location of input and output files.
3209 * test-subr.sh: Create test_dir, pushd to execute test in.
3210 (trap): Remove test_dir.
3211 (testfiles): Use abs_srcdir.
3212 (installed_testrun): Match on abs_builddir or abs_top_builddir.
3213 (self_test_files): Adjust path.
3215 2013-04-24 Mark Wielaard <mjw@redhat.com>
3217 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
3219 2013-03-25 Mark Wielaard <mjw@redhat.com>
3221 * run-readelf-aranges.sh: New test.
3222 * testfilefoobarbaz.bz2: New test file.
3223 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
3224 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
3226 2013-03-25 Mark Wielaard <mjw@redhat.com>
3228 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
3230 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3232 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
3233 (TESTS): Add run-dwfl-report-elf-align.sh.
3234 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
3235 testfile-dwfl-report-elf-align-shlib.so.bz2 .
3236 (dwfl_report_elf_align_LDADD): New.
3237 * dwfl-report-elf-align.c: New file.
3238 * run-dwfl-report-elf-align.sh: New file.
3239 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
3241 2013-03-12 Mark Wielaard <mjw@redhat.com>
3243 * run-dwfllines.sh: New test.
3244 * dwfllines.c: New test program.
3245 * Makefile.am (TESTS): Add run-dwfllines.sh.
3246 (EXTRA_DIST): Likewise.
3247 (dwfllines_LDADD): New variable.
3249 2013-02-22 Mark Wielaard <mjw@redhat.com>
3251 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
3252 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
3254 2013-02-15 Mark Wielaard <mjw@redhat.com>
3256 * testfile-dwzstr.bz2: New testfile.
3257 * testfile-dwzstr.multi.bz2: Likewise.
3258 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
3259 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
3260 testfile-dwzstr.multi.bz2.
3262 2013-01-30 Mark Wielaard <mjw@redhat.com>
3264 * testfileloc.bz2: New testfile.
3265 * run-readelf-loc.sh: New test.
3266 * Makefile.am (TESTS): Add run-readelf-loc.sh.
3267 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
3269 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3271 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
3272 and s390x core notes.
3273 * testfile67.bz2: New file.
3274 * testfile68.bz2: New file.
3275 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
3277 2013-01-23 Mark Wielaard <mjw@redhat.com>
3279 * testfilebasmin.bz2: New testfile.
3280 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
3281 * run-readelf-s.sh: Test testfilebasmin.
3282 * run-dwflsyms.sh: Likewise.
3284 2013-01-16 Mark Wielaard <mjw@redhat.com>
3286 * Makefile.am (check_PROGRAMS): Add dwflsyms.
3287 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
3288 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
3289 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
3290 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
3291 (dwflsyms_LDADD): New variable.
3293 2013-01-07 Roland McGrath <roland@hack.frob.com>
3295 * run-prelink-addr-test.sh: Use ln -snf.
3297 2012-12-03 Mark Wielaard <mjw@redhat.com>
3299 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
3301 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3303 * run-addrname-test.sh: New test for PIE relocation.
3304 * testfile70.core.bz2: New file.
3305 * testfile70.exec.bz2: New file.
3306 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
3307 testfile70.exec.bz2 .
3309 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3311 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
3312 testfile69.core.bz2 and testfile69.so.bz2 .
3314 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3316 * run-addrname-test.sh: New test for DSO with build-id bias.
3317 * testfile69.core.bz2: New file.
3318 * testfile69.so.bz2: New file.
3320 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3322 * run-addrname-test.sh: New test for core vDSO bias.
3323 * testfile65.bz2: New file.
3325 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3327 * run-addrname-test.sh: New test for symbol preferences.
3328 * testfile64.bz2: New file.
3330 2012-10-01 Mark Wielaard <mjw@redhat.com>
3332 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
3333 * test-wrapper.sh: Export VALGRIND_CMD if available.
3334 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
3335 (installed_testrun): Likewise.
3337 2012-09-24 Petr Machata <pmachata@redhat.com>
3339 * testfile63.bz2: New testfile.
3340 * run-readelf-mixed-corenote.sh: New test.
3341 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
3342 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
3344 2012-09-24 Petr Machata <pmachata@redhat.com>
3346 * testfile62.bz2: New testfile.
3347 * run-readelf-vmcoreinfo.sh: New test.
3348 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
3349 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
3351 2012-09-18 Petr Machata <pmachata@redhat.com>
3353 * testfile61.bz2: New testfile.
3354 * run-allregs.sh: Run reg_test testfile61.
3355 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
3357 2012-08-24 Mark Wielaard <mjw@redhat.com>
3359 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
3361 2012-08-22 Jeff Kenton <jkenton@tilera.com>
3363 * testfile60.bz2: New testfile.
3364 * run-allregs.sh: Run reg_test testfile60.
3366 2012-08-24 Mark Wielaard <mjw@redhat.com>
3368 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
3371 2012-08-16 Mark Wielaard <mjw@redhat.com>
3373 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
3375 * show-die-info.c (tagnames): Removed.
3377 (dwarf_tag_string): New function using known-dwarf macros.
3378 (dwarf_attr_string): Likewise.
3379 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
3380 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
3382 2012-06-27 Mark Wielaard <mjw@redhat.com>
3384 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
3385 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
3386 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
3387 testfile_multi_main.bz2.
3388 * run-readelf-dwz-multi.sh: New test.
3389 * libtestfile_multi_shared.so.bz2: New testfile.
3390 * testfile_multi.dwz.bz2: New testifle.
3391 * testfile_multi_main.bz2: New testifle.
3393 2012-08-01 Petr Machata <pmachata@redhat.com>
3395 * run-test-archive64.sh: New test.
3396 * testarchive64.a.bz2: New testfile.
3397 * Makefile.am (TESTS): Add run-test-archive64.sh.
3398 (EXTRA_DIST): Likewise.
3400 2012-08-01 Mark Wielaard <mjw@redhat.com>
3402 * run-nm-self.sh: New test.
3403 * run-readelf-self.sh: Likewise.
3404 * test-subr.sh (testrun_on_self_quiet): New function.
3405 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
3406 (EXTRA_DIST): Likewise.
3408 2012-08-01 Mark Wielaard <mjw@redhat.com>
3410 * test-subr.sh (self_test_files): New list of files.
3411 (testrun_on_self): New function.
3412 * run-elflint-self.sh: Use testrun_on_self.
3414 2012-07-19 Mark Wielaard <mjw@redhat.com>
3416 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
3417 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
3418 (EXTRA_DIST): Likewise.
3419 (test_elf_cntl_gelf_getshdr_LDADD): New.
3420 test-elf_cntl_gelf_getshdr.c: New test program.
3421 run-elf_cntl_gelf_getshdr.sh: New test script.
3423 2012-07-19 Mark Wielaard <mjw@redhat.com>
3425 * run-elflint-self.sh: runtests on ../backends/*so files.
3427 2012-07-19 Mark Wielaard <mjw@redhat.com>
3429 * run-unstrip-n.sh: test_cleanup.
3430 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
3432 2012-07-11 Mark Wielaard <mjw@redhat.com>
3434 * run-readelf-macro.sh: New test.
3435 * testfilemacro.bz2: New testfile.
3436 * Makefile.am (TESTS): Add run-readelf-macro.sh.
3437 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
3439 2012-06-27 Mark Wielaard <mjw@redhat.com>
3441 * run-readelf-gdb-index.sh: New test.
3442 * testfilegdbindex5.bz2: New testfile.
3443 * testfilegdbindex7.bz2: Likewise.
3444 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
3445 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
3446 testfilegdbindex7.bz2.
3448 2012-07-17 Mark Wielaard <mjw@redhat.com>
3450 * testcore-rtlib-ppc.bz2: New testfile.
3451 * run-unstrip-n.sh: Check new ppc core testfile.
3453 2012-06-26 Mike Frysinger <vapier@gentoo.org>
3455 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
3457 2012-06-26 Mark Wielaard <mjw@redhat.com>
3459 * run-macro-test.sh: New test.
3460 * testfile-macinfo.bz2: New testfile.
3461 * testfile-macros.bz2: Likewise.
3463 2012-05-07 Mark Wielaard <mjw@redhat.com>
3465 * low_high_pc.c: Use proper inttypes in printf formats.
3467 2012-05-11 Mark Wielaard <mjw@redhat.com>
3469 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
3471 2012-05-07 Mark Wielaard <mjw@redhat.com>
3473 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
3475 2012-04-27 Mark Wielaard <mjw@redhat.com>
3477 * Makefile.am (TESTS): Add run-low_high_pc.sh
3478 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
3479 (noinst_PROGRAMS): Add low_high_pc.
3480 (low_high_pc_LDADD): New variable.
3481 * low_high_pc.c: New test.
3483 2012-04-26 Mark Wielaard <mjw@redhat.com>
3485 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
3486 * run-show-ciefde.sh: Removed old libdwarf test.
3487 * show-ciefde.c: Likewise.
3489 2012-04-02 Mark Wielaard <mjw@redhat.com>
3491 * Makefile.am (TESTS): Add run-unstrip-n.sh.
3492 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
3493 * run-unstrip-n.sh: New test.
3494 * testcore-rtlib.bz2: New testfile.
3496 2012-04-02 Mark Wielaard <mjw@redhat.com>
3498 * Makefile.am (TESTS): Add run-readelf-d.sh.
3499 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
3500 * run-readelf-d.sh: New test.
3501 * run-elflint-test.sh: Check new testfile.
3503 2012-03-21 Tom Tromey <tromey@redhat.com>
3505 * typeiter.c: New file.
3506 * run-typeiter.sh: New file.
3507 * testfile59.bz2: New file.
3508 * Makefile.am (noinst_PROGRAMS): Add typeiter.
3509 (TESTS): Add run-typeiter.sh.
3510 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
3511 (typeiter_LDADD): New variable.
3513 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
3515 * run-alldts.sh: testrun ./alldts.
3517 2012-02-21 Roland McGrath <roland@hack.frob.com>
3519 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
3520 * test-subr.sh (installed_testrun): Likewise.
3522 2012-01-18 Roland McGrath <roland@hack.frob.com>
3524 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
3525 it will have been inherited correctly from the test harness.
3526 * asm-tst5.c (main): Likewise.
3527 * asm-tst6.c (main): Likewise.
3528 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
3530 2011-07-09 Roland McGrath <roland@hack.frob.com>
3532 * sha1-tst.c: File removed.
3533 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
3534 (sha1_tst_LDADD): Variable removed.
3536 * md5-sha1-test.c: New file.
3537 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
3538 (md5_sha1_test_LDADD): New variable.
3540 2011-05-30 Mark Wielaard <mjw@redhat.com>
3542 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
3543 run-rerequest_tag.sh
3545 2011-05-24 Mark Wielaard <mjw@redhat.com>
3547 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
3548 * run-strip-reloc.sh: Add hello_s390.ko testcase.
3549 * hello_s390.ko.bz2: New test file.
3551 2011-05-23 Mark Wielaard <mjw@redhat.com>
3553 * Makefile.am (TESTS): Add run-strip-reloc.sh.
3554 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
3555 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
3556 * run-strip-reloc.sh: New test.
3557 * hello_i386.ko.bz2: New test file.
3558 * hello_x86_64.ko.bz2: Likewise.
3559 * hello_ppc64.ko.bz2: Likewise.
3561 2011-05-18 Mark Wielaard <mjw@redhat.com>
3563 * run-strip-groups.sh: New test.
3564 * testfile58.bz2: New test file.
3565 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
3566 (TESTS): Add run-strip-groups.sh.
3567 (EXTRA_DIST): Likewise.
3569 2011-03-28 Marek Polacek <mpolacek@redhat.com>
3571 * alldts.c: New file.
3572 * run-alldts.sh: Use it.
3573 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
3574 (alldts_LDADD): New variable.
3576 2011-03-02 Marek Polacek <mpolacek@redhat.com>
3578 * dwarf-getstring.c: New test.
3579 * run-dwarf-getstring.sh: And its wrapper.
3580 * Makefile.am (EXTRA_DIST): Add and update all.
3582 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3584 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
3585 * run-readelf-twofiles.sh: New file.
3587 2011-02-25 Mark Wielaard <mjw@redhat.com>
3589 * Makefile.am (BUILD_RPATH): Be consistent in naming.
3591 2011-02-02 Josh Stone <jistone@redhat.com>
3593 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
3594 * testfile55-64.bz2, testfile55-64.debug.bz2,
3595 testfile55-64.prelink.bz2, testfile55-32.bz2,
3596 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
3597 * Makefile.am (EXTRA_DIST): Add and update all.
3599 2011-01-12 Roland McGrath <roland@redhat.com>
3601 * run-prelink-addr-test.sh: Make symlinks to find .debug files
3602 corresponding to .noshdrs files.
3604 2011-01-11 Josh Stone <jistone@redhat.com>
3606 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
3607 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
3608 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
3609 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
3610 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
3611 * Makefile.am (EXTRA_DIST): Add and update all.
3613 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
3614 * testfile53.bz2, testfile53.debug.bz2,
3615 testfile53.prelink.bz2: Deleted, so...
3616 * testfile53-64.bz2, testfile53-64.debug.bz2,
3617 testfile53-64.prelink.bz2: Recreated with 64-bit names.
3618 * testfile53-32.bz2, testfile53-32.debug.bz2,
3619 testfile53-32.prelink.bz2: New in 32-bit.
3620 * Makefile.am (EXTRA_DIST): Add and update all.
3622 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
3623 * testfile52.so.bz2, testfile52.so.debug.bz2,
3624 testfile52.prelink.so.bz2: Deleted, so...
3625 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
3626 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
3627 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
3628 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
3629 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
3630 * Makefile.am (EXTRA_DIST): Add and update all.
3632 2011-01-10 Josh Stone <jistone@redhat.com>
3634 * run-prelink-addr-test.sh: New test for prelinked addrs.
3635 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3636 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
3637 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
3638 * testfile53.bz2, testfile53.debug.bz2: New data files.
3639 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
3640 * Makefile.am (EXTRA_DIST): Add them.
3642 2010-06-04 Roland McGrath <roland@redhat.com>
3644 * run-unstrip-test.sh: Also test modifying the file in place.
3646 2010-04-22 Roland McGrath <roland@redhat.com>
3648 * addrcfi.c (handle_cfi): Fix function name in error message.
3649 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
3651 2010-04-14 Roland McGrath <roland@redhat.com>
3653 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
3655 2010-04-10 Ulrich Drepper <drepper@redhat.com>
3657 * msg_tst.c: Adjust expected error message.
3659 2010-04-01 Petr Machata <pmachata@redhat.com>
3661 * test-flag-nobits.c: New test.
3662 * run-test-flag-nobits.sh: And its wrapper.
3663 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
3664 (test_flag_nobits_LDADD): New variable.
3666 2010-02-15 Roland McGrath <roland@redhat.com>
3668 * Makefile.am: Use config/eu.am for common stuff.
3670 * asm-tst9.c (main): Rename local to avoid shadowing another local.
3672 2009-07-22 Roland McGrath <roland@redhat.com>
3674 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
3676 2009-07-08 Roland McGrath <roland@redhat.com>
3678 * addrcfi.c: New file.
3679 * Makefile.am (noinst_PROGRAMS): Add it.
3680 (addrcfi_LDADD): New variable.
3682 2009-05-07 Petr Machata <pmachata@redhat.com>
3684 * testfile51.bz2: New data file.
3685 * dwarf-getmacros.c: New test core.
3686 * run-dwarf-getmacros.sh: New test wrapper.
3687 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
3688 (dwarf_getmacros_LDADD): New variable.
3690 2009-04-23 Ulrich Drepper <drepper@redhat.com>
3692 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
3693 (rdwrmmap_LDADD): Add $(libmudflap).
3695 2009-04-21 Roland McGrath <roland@redhat.com>
3697 * testfile50.bz2: New data file.
3698 * Makefile.am (EXTRA_DIST): Add it.
3699 * run-dwfl-addr-sect.sh: Add a case using it.
3701 2008-12-31 Ulrich Drepper <drepper@redhat.com>
3703 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
3704 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
3705 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
3706 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
3707 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
3708 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
3709 roundss, roundps, roundpd, and roundsd.
3710 * testfile45.S.bz2: Likewise.
3711 * testfile44.expect.bz2: Adjust accordingly.
3712 * testfile45.expect.bz2: Likewise.
3714 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
3715 * testfile45.S.bz2: Likewise.
3716 * testfile44.expect.bz2: Adjust accordingly.
3717 * testfile45.expect.bz2: Likewise.
3719 2008-12-30 Ulrich Drepper <drepper@redhat.com>
3721 * testfile44.S.bz2: Add tests for blendpd and blendps.
3722 * testfile45.S.bz2: Likewise.
3723 * testfile44.expect.bz2: Adjust accordingly.
3724 * testfile45.expect.bz2: Likewise.
3726 2008-12-19 Ulrich Drepper <drepper@redhat.com>
3728 * testfile44.S.bz2: Add tests for AMD 3DNOW.
3729 * testfile45.S.bz2: Likewise.
3730 * testfile44.expect.bz2: Adjust accordingly.
3731 * testfile45.expect.bz2: Likewise.
3733 2008-11-26 Roland McGrath <roland@redhat.com>
3735 * dwfl-bug-getmodules.c: New file.
3736 * Makefile.am (noinst_PROGRAMS): Add it.
3737 (dwfl_bug_getmodules_LDADD): New variable.
3739 2008-09-10 Roland McGrath <roland@redhat.com>
3741 * test-subr.sh (LC_ALL): Export it set to "C".
3742 * run-dwfl-addr-sect.sh: Don't do it here.
3743 * run-strings-test.sh: Likewise.
3745 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
3747 * run-addrname-test.sh: Add a new case.
3748 * testfile49.bz2: New data file.
3749 * Makefile.am (EXTRA_DIST): Add it.
3751 2008-04-10 Roland McGrath <roland@redhat.com>
3753 * testfile48.bz2, testfile48.bz2.debug: New data files.
3754 * Makefile.am (EXTRA_DIST): Add them.
3755 * run-strip-test8.sh: Use them.
3757 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
3759 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
3760 * run-strip-test8.sh: New file.
3761 * testfile47.bz2: New data file.
3762 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3764 2008-03-31 Roland McGrath <roland@redhat.com>
3766 * run-early-offscn.sh: New file.
3767 * early-offscn.c: New file.
3768 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
3769 (early_offscn_LDADD): New variable.
3771 2008-03-19 Roland McGrath <roland@redhat.com>
3773 * run-addrname-test.sh: Add a new case.
3775 2008-02-22 Roland McGrath <roland@redhat.com>
3777 * run-elflint-test.sh: Typo fix.
3779 2008-02-21 Roland McGrath <roland@redhat.com>
3781 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
3782 for the build down to minimum.
3783 * run-disasm-x86-64.sh: Likewise.
3785 2008-02-20 Roland McGrath <roland@redhat.com>
3787 * testfile46.bz2: New data file.
3788 * Makefile.am (EXTRA_DIST): Add it.
3789 * run-elflint-test.sh: Test on it.
3791 2008-02-01 Ulrich Drepper <drepper@redhat.com>
3793 * Makefile.am: Hook up sha1-tst.c.
3794 * sha1-tst.c: New file.
3796 2008-01-21 Roland McGrath <roland@redhat.com>
3798 * testfile45.S.bz2: Add tests for cltq, cqto.
3799 * testfile45.expect.bz2: Adjust.
3801 2008-01-14 Ulrich Drepper <drepper@redhat.com>
3803 * testfile45.S.bz2: Add more tests.
3804 * testfile45.expect.bz2: Adjust.
3806 2008-01-11 Ulrich Drepper <drepper@redhat.com>
3808 * testfile45.expect.bz2: Adjust for adding of address for %rip based
3811 2008-01-10 Ulrich Drepper <drepper@redhat.com>
3813 * testfile45.S.bz2: Add more tests.
3814 * testfile45.expect.bz2: Adjust.
3816 2008-01-08 Ulrich Drepper <drepper@redhat.com>
3818 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
3819 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
3820 run-disasm-x86-64.sh.
3821 * run-disasm-x86-64.sh: New file.
3822 * testfile45.S.bz2: New file.
3823 * testfile45.expect.bz2: New file.
3824 * testfile44.S.bz2: New tests.
3825 * testfile44.expect.bz2: Adjust.
3827 2008-01-04 Ulrich Drepper <drepper@redhat.com>
3829 * testfile44.S.bz2: New tests.
3830 * testfile44.expect.bz2: Adjust.
3832 2008-01-04 Roland McGrath <roland@redhat.com>
3834 * dwfl-bug-fd-leak.c (main): Add a cast.
3836 2008-01-03 Ulrich Drepper <drepper@redhat.com>
3838 * testfile44.S.bz2: New tests.
3839 * testfile44.expect.bz2: Adjust.
3841 2008-01-01 Ulrich Drepper <drepper@redhat.com>
3843 * line2addr.c: Use %m modifier instead of %a to appease gcc.
3845 2008-01-01 Ulrich Drepper <drepper@redhat.com>
3847 * testfile44.S.bz2: New tests.
3848 * testfile44.expect.bz2: Adjust.
3850 2007-12-31 Ulrich Drepper <drepper@redhat.com>
3852 * testfile44.S.bz2: New tests.
3853 * testfile44.expect.bz2: Adjust.
3855 2007-12-30 Ulrich Drepper <drepper@redhat.com>
3857 * testfile44.S.bz2: New tests.
3858 * testfile44.expect.bz2: Adjust.
3860 2007-12-29 Ulrich Drepper <drepper@redhat.com>
3862 * testfile44.s.bz2: New tests.
3863 * testfile44.expect.bz2: Adjust.
3865 2007-12-28 Ulrich Drepper <drepper@redhat.com>
3867 * testfile44.S.bz2: New tests.
3868 * testfile44.expect.bz2: Adjust.
3870 2007-12-27 Ulrich Drepper <drepper@redhat.com>
3872 * testfile44.S.bz2: New tests.
3873 * testfile44.expect.bz2: Adjust.
3875 2007-12-26 Ulrich Drepper <drepper@redhat.com>
3877 * testfile44.S.bz2: New tests.
3878 * testfile44.expect.bz2: Adjust
3880 2007-12-21 Ulrich Drepper <drepper@redhat.com>
3882 * testfile44.S.bz2: More tests.
3883 * testfile44.expect.bz2: Adjust appropriately.
3885 2007-12-19 Ulrich Drepper <drepper@redhat.com>
3887 * Makefile.am (TESTS): Add run-disasm.sh.
3888 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
3889 testfile44.expect.bz2.
3890 * run-disasm.sh: New file.
3891 * testfile44.S.bz2: New file.
3892 * testfile44.expect.bz2: New file.
3894 2007-12-15 Roland McGrath <roland@redhat.com>
3896 * run-allregs.sh: Change expected output for powerpc spefscr.
3898 2007-10-20 Roland McGrath <roland@redhat.com>
3900 * run-dwfl-addr-sect.sh: Change expected output, no errors.
3902 2007-10-19 Roland McGrath <roland@redhat.com>
3904 * dwfl-addr-sect.c (handle_address): Return int.
3905 Don't exit on error, just return nonzero.
3906 (main): Collect results.
3907 * run-dwfl-addr-sect.sh: New file.
3908 * testfile43.bz2: New data file.
3909 * Makefile.am (EXTRA_DIST, TESTS): Add them.
3911 2007-10-18 Roland McGrath <roland@redhat.com>
3913 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
3915 2007-10-16 Roland McGrath <roland@redhat.com>
3917 * test-subr.sh (remove_files): Don't pass -Bb to diff.
3919 2007-10-09 Roland McGrath <roland@redhat.com>
3921 * dwflmodtest.c (print_module): Don't use %p in output.
3922 * run-dwfl-bug-offline-rel.sh: Updated expected output.
3924 2007-10-08 Roland McGrath <roland@redhat.com>
3926 * testfile42.bz2: New data file.
3927 * Makefile.am (EXTRA_DIST): Add it.
3928 * run-elflint-test.sh: New test on that file.
3930 2007-10-04 Roland McGrath <roland@redhat.com>
3932 * run-readelf-test4.sh: New file.
3933 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3935 2007-10-03 Roland McGrath <roland@redhat.com>
3937 * run-readelf-test3.sh: New file.
3938 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3940 2007-10-01 Roland McGrath <roland@redhat.com>
3942 * run-readelf-test2.sh: New file.
3943 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3945 2007-09-11 Roland McGrath <roland@redhat.com>
3947 * run-addrname-test.sh: Add a new case.
3948 * testfile41.bz2: New data file.
3949 * Makefile.am (EXTRA_DIST): Add it.
3951 2007-08-23 Roland McGrath <roland@redhat.com>
3953 * run-allregs.sh: Update expected x86-64 output for %rflags.
3955 2007-08-12 Roland McGrath <roland@redhat.com>
3957 * run-strip-test7.sh: New file.
3958 * testfile39.bz2: New data file.
3959 * testfile40.bz2: New data file.
3960 * testfile40.debug.bz2: New data file.
3961 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3963 2007-08-09 Roland McGrath <roland@redhat.com>
3965 * dwfl-bug-report.c: Fix header inclusion.
3967 2007-08-08 Roland McGrath <roland@redhat.com>
3969 * run-addrname-test.sh: Add a new case using addr2line -S.
3970 * testfile38.bz2: New data file.
3971 * Makefile.am (EXTRA_DIST): Add it.
3973 2007-07-16 Roland McGrath <roland@redhat.com>
3975 * dwfl-bug-report.c: New file.
3976 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
3977 (dwfl_bug_report_LDADD): New variable.
3979 2007-06-06 Roland McGrath <roland@redhat.com>
3981 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
3983 2007-06-05 Ulrich Drepper <drepper@redhat.com>
3985 * Makefile.am (EXTRA_DIST): Add missing line continuation and
3986 testfile37.bz and testfile37.debug.bz2.
3988 2007-05-23 Roland McGrath <roland@redhat.com>
3990 * run-allregs.sh: Update expected Alpha results.
3992 2007-05-18 Roland McGrath <roland@redhat.com>
3994 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
3995 * testfile37.bz2: New data file.
3996 * testfile37.debug.bz2: New data file.
3997 * run-unstrip-test2.sh: New file.
3998 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4000 2007-05-10 Roland McGrath <roland@redhat.com>
4002 * run-dwfl-bug-offline-rel.sh: New file.
4003 * testfile36.bz2: New data file.
4004 * testfile36.debug.bz2: New data file.
4005 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4007 2007-04-28 Roland McGrath <roland@redhat.com>
4009 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
4010 * testfile35.bz2: New data file.
4011 * testfile35.debug.bz2: New data file.
4012 * run-unstrip-test.sh: New file.
4013 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4015 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
4017 2007-04-26 Roland McGrath <roland@redhat.com>
4019 * run-elflint-self.sh: Run all tests even if one fails.
4021 * run-allregs.sh: Add expected output for alpha.
4023 2007-04-24 Roland McGrath <roland@redhat.com>
4025 * run-strip-test.sh: When we saved the debug info, test unstrip too.
4027 2007-04-22 Roland McGrath <roland@redhat.com>
4029 * run-allregs.sh: Update expected register info.
4031 2007-04-16 Roland McGrath <roland@redhat.com>
4033 * dwfl-addr-sect.c: New file.
4034 * Makefile.am (noinst_PROGRAMS): Add it.
4035 (dwfl_addr_sect_LDADD): New variable.
4037 2007-04-05 Roland McGrath <roland@redhat.com>
4039 * get-files.c: Test dwarf_getsrcdirs.
4040 * run-get-files.sh: Update expected output.
4042 2007-04-01 Roland McGrath <roland@redhat.com>
4044 * run-allregs.sh: Updated expected output for x86_64.
4046 2007-03-04 Roland McGrath <roland@redhat.com>
4048 * dwfl-bug-fd-leak.c: New file.
4049 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
4050 (dwfl_bug_fd_leak_LDADD): New variable.
4052 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
4053 show what files have been located.
4055 2007-02-02 Roland McGrath <roland@redhat.com>
4057 * run-addrname-test.sh: New file.
4058 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4059 * testfile34.bz2: New data file.
4060 * Makefile.am (EXTRA_DIST): Add it.
4062 2007-01-20 Roland McGrath <roland@redhat.com>
4064 * testfile33.bz2: New data file.
4065 * Makefile.am (EXTRA_DIST): Add it.
4066 * run-elflint-test.sh: Test on it too.
4068 2007-01-18 Roland McGrath <roland@redhat.com>
4070 * Makefile.am (CFLAGS): Don't molest it.
4072 2007-01-11 Roland McGrath <roland@redhat.com>
4074 * testfile32.bz2: New data file.
4075 * Makefile.am (EXTRA_DIST): Add it.
4076 * run-elflint-test.sh: Test on it too.
4078 2007-02-04 Ulrich Drepper <drepper@redhat.com>
4081 * Makefile (noinst_PROGRAMS): Add arls.
4083 * run-ranlib-test2.sh: Fix type in comment.
4085 2007-01-10 Ulrich Drepper <drepper@redhat.com>
4087 * run-elflint-self.sh (runtest): Show which file has the problem.
4089 2007-01-10 Roland McGrath <roland@redhat.com>
4091 * dwfl-bug-addr-overflow.c: New file.
4092 * Makefile.am (TESTS): Add it.
4093 (dwfl_bug_addr_overflow_LDADD): New variable.
4095 2006-12-17 Roland McGrath <roland@redhat.com>
4097 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
4099 2006-09-05 Roland McGrath <roland@redhat.com>
4101 * run-strings-test.sh: Export LC_ALL=C for the test.
4103 2006-08-29 Roland McGrath <roland@redhat.com>
4105 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
4106 * run-arsymtest.sh: Likewise.
4108 * run-native-test.sh (native.c compilation): Add some braces.
4110 2006-08-22 Roland McGrath <roland@redhat.com>
4112 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
4113 (struct reginfo): New members bits, type.
4114 (one_register, match_register): Update to take new args,
4115 record and display new info.
4116 (main): Display new info.
4117 * run-allregs.sh: Update expected results.
4119 2006-08-03 Roland McGrath <roland@redhat.com>
4121 * run-allregs.sh: Add sparc cases.
4122 * testfile30.bz2: New data file.
4123 * testfile31.bz2: New data file.
4124 * Makefile.am (EXTRA_DIST): Add them.
4126 2006-07-21 Roland McGrath <roland@redhat.com>
4128 * allregs.c (struct reginfo): Increase size of name.
4129 (one_register): Assert that it's big enough.
4131 2006-04-04 Roland McGrath <roland@redhat.com>
4133 * run-bug1-test.sh: Test a second case, to cover both byte orders.
4134 * testfile29.bz2: New file.
4135 * testfile29.rdwr.bz2: New file.
4136 * Makefile.am (EXTRA_DIST): Add them.
4138 2006-04-04 Ulrich Drepper <drepper@redhat.com>
4140 * Makefile.am: Add rules to run run-bug1-test.sh.
4141 * rdwrmmap.c: New file.
4142 * run-bug1-test.sh: New file.
4143 * testfile28.bz2: New file.
4144 * testfile28.rdwr.bz2: New file.
4146 2006-03-09 Roland McGrath <roland@redhat.com>
4148 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
4150 2006-03-01 Roland McGrath <roland@redhat.com>
4152 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
4153 changes matching 3.0 spec.
4155 2006-01-13 Roland McGrath <roland@redhat.com>
4157 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
4158 bash 3.1 whines when it's done in the trap 0 handler.
4160 2006-01-11 Roland McGrath <roland@redhat.com>
4162 * testfile26.bz2: New data file.
4163 * testfile27.bz2: New data file.
4164 * Makefile.am (EXTRA_DIST): Add them.
4165 * run-allregs.sh: Test s390 data.
4167 2005-12-14 Roland McGrath <roland@redhat.com>
4169 * run-native-test.sh: Redirect output from native test process.
4171 2005-12-13 Roland McGrath <roland@redhat.com>
4173 * allregs.c (main): Fail if we find no registers.
4175 * run-native-test.sh: New file.
4176 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4178 2005-12-10 Ulrich Drepper <drepper@redhat.com
4180 * run-readelf-test1.sh: New file.
4181 * Makefile.am (TESTS): Add run-readelf-test1.sh.
4182 (EXTRA_DIST): Likewise.
4184 2005-12-07 Roland McGrath <roland@redhat.com>
4186 * ecp.c (main): Use elf_end to clean up.
4188 2005-11-25 Roland McGrath <roland@redhat.com>
4190 * coverage.sh: Given -v argument, print names of unused files.
4192 * addrscopes.c (main): Use dwfl_end before return.
4193 * allregs.c (main): Likewise.
4194 * find-prologues.c (main): Likewise.
4195 * funcretval.c (main): Likewise.
4196 * funcscopes.c (main): Likewise.
4197 * line2addr.c (main): Likewise.
4199 * run-allregs.sh: New file.
4200 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4202 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
4203 * Makefile.am (allregs_LDADD): Updated.
4205 * allregs.c: New file.
4206 * Makefile.am (noinst_PROGRAMS): Add it.
4207 (allregs_LDADD): New variable.
4209 2005-11-18 Roland McGrath <roland@redhat.com>
4211 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
4212 * test-wrapper.sh: Likewise.
4214 2005-11-17 Roland McGrath <roland@redhat.com>
4216 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
4217 environment for test-wrapper.sh.
4218 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
4219 * test-subr.sh (installed_testrun): Likewise.
4220 Use explicit path in ${bindir}.
4222 * Makefile.am (installcheck-local): Fix typo in last change.
4224 2005-11-16 Roland McGrath <roland@redhat.com>
4226 * configure.ac: New file, for standalone build/dist of test suite.
4227 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
4228 (asm_TESTS): New variable, broken out of ...
4229 (TESTS): ... here. Also remove msg_tst.
4230 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
4231 (installed_TESTS_ENVIRONMENT): New variable.
4232 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
4233 [!STANDALONE] (installcheck-local): Likewise.
4234 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
4235 * addrscopes.c: Include <config.h>.
4236 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
4237 * allfcts.c: Likewise.
4238 * asm-tst1.c: Likewise.
4239 * asm-tst2.c: Likewise.
4240 * asm-tst3.c: Likewise.
4241 * asm-tst4.c: Likewise.
4242 * asm-tst5.c: Likewise.
4243 * asm-tst6.c: Likewise.
4244 * asm-tst7.c: Likewise.
4245 * asm-tst8.c: Likewise.
4246 * asm-tst9.c: Likewise.
4247 * dwflmodtest.c: Likewise.
4248 * find-prologues.c: Likewise.
4249 * funcscopes.c: Likewise.
4250 * get-aranges.c: Likewise.
4251 * get-files.c: Likewise.
4252 * get-lines.c: Likewise.
4253 * get-pubnames.c: Likewise.
4254 * line2addr.c: Likewise.
4255 * newscn.c: Likewise.
4256 * show-abbrev.c: Likewise.
4257 * show-die-info.c: Likewise.
4258 * update3.c: Likewise.
4259 * update4.c: Likewise.
4260 * funcretval.c: Likewise.
4262 * dwflmodtest.c (print_instance): Don't use INTUSE.
4263 (options): Don't use N_ macro.
4265 2005-11-15 Roland McGrath <roland@redhat.com>
4267 * coverage.sh: Look in backends.
4268 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
4269 (TESTS_ENVIRONMENT): Likewise.
4271 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
4272 pass FUNCDIE direclty to dwfl_module_return_value_location.
4274 * Makefile.am (BUILD_RPATH): New variable.
4275 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
4276 (tests_rpath): New variable.
4277 (installcheck-local): Pass it to test-wrapper.sh.
4278 * test-wrapper.sh: In "installed" format, take yes/no value
4279 for elfutils_tests_rpath, which export. When running a test
4280 binary for installcheck, exit 77.
4281 * test-subr.sh (installed_testrun): When running a test binary
4282 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
4284 2005-11-14 Roland McGrath <roland@redhat.com>
4286 * test-subr.sh: New file.
4287 * test-wrapper.sh: New file.
4288 * Makefile.am (EXTRA_DIST): Add them.
4289 (AM_LDFLAGS): Variable removed.
4290 (TESTS_ENVIRONMENT): New variable.
4291 (installcheck-local): New target.
4292 * run-addrscopes.sh: Use test-subr.sh.
4293 * run-allfcts.sh: Likewise.
4294 * run-ecp-test.sh: Likewise.
4295 * run-ecp-test2.sh: Likewise.
4296 * run-elflint-self.sh: Likewise.
4297 * run-elflint-test.sh: Likewise.
4298 * run-find-prologues.sh: Likewise.
4299 * run-funcscopes.sh: Likewise.
4300 * run-get-aranges.sh: Likewise.
4301 * run-get-files.sh: Likewise.
4302 * run-get-lines.sh: Likewise.
4303 * run-get-pubnames.sh: Likewise.
4304 * run-line2addr.sh: Likewise.
4305 * run-ranlib-test.sh: Likewise.
4306 * run-ranlib-test2.sh: Likewise.
4307 * run-show-abbrev.sh: Likewise.
4308 * run-show-ciefde.sh: Likewise.
4309 * run-show-die-info.sh: Likewise.
4310 * run-strings-test.sh: Likewise.
4311 * run-strip-test.sh: Likewise.
4313 2005-11-13 Roland McGrath <roland@redhat.com>
4315 * funcretval.c: New file.
4316 * Makefile.am (noinst_PROGRAMS): Add it.
4317 (funcretval_LDADD): New variable.
4319 2005-11-09 Ulrich Drepper <drepper@redhat.com>
4321 * line2addr.c (handle_module): Add missing parameter to printf.
4323 2005-10-27 Roland McGrath <roland@redhat.com>
4325 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
4326 * funcscopes.c (handle_function): Likewise.
4327 * dwflmodtest.c (print_inline, print_func): Likewise.
4328 * find-prologues.c (handle_function): Likewise.
4330 2005-10-27 Roland McGrath <roland@redhat.com>
4332 * run-find-prologues.sh: New file.
4333 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4335 * find-prologues.c (handle_function): Skip inlines.
4337 2005-10-25 Roland McGrath <roland@redhat.com>
4339 * find-prologues.c: New file.
4340 * Makefile.am (noinst_PROGRAMS): Add it.
4341 (find_prologues_LDADD): New variable.
4343 2005-09-02 Ulrich Drepper <drepper@redhat.com>
4345 * run-strings-test.sh: Remove strings.out in the end.
4347 2005-08-31 Ulrich Drepper <drepper@redhat.com>
4349 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
4350 * run-allfcts.sh: Likewise.
4351 * run-ecp-test.sh: Likewise.
4352 * run-ecp-test2.sh: Likewise.
4353 * run-elflint-test.sh: Likewise.
4354 * run-funcscopes.sh: Likewise.
4355 * run-get-aranges.sh: Likewise.
4356 * run-get-files.sh: Likewise.
4357 * run-get-lines.sh: Likewise.
4358 * run-get-pubnames.sh: Likewise.
4359 * run-line2addr.sh: Likewise.
4360 * run-ranlib-test2.sh: Likewise.
4361 * run-show-abbrev.sh: Likewise.
4362 * run-show-ciefde.sh: Likewise.
4363 * run-show-die-info.sh: Likewise.
4364 * run-strings-test.sh: Likewise.
4365 * run-strip-test.sh: Likewise.
4367 2005-08-30 Ulrich Drepper <drepper@redhat.com>
4369 * coverage.sh: Handle case where there is no .gcno file at all.
4371 2005-08-29 Ulrich Drepper <drepper@redhat.com>
4373 * Makefile.am (EXTRA_DIST): Add coverage.
4374 [GCOV]: Generate coverage summary after the tests ran
4375 * coverage.sh: New file.
4377 2005-08-28 Ulrich Drepper <drepper@redhat.com>
4379 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
4380 (CLEANFILES): Add *.gcno *.gcda *.gconv.
4382 2005-08-28 Ulrich Drepper <drepper@redhat.com>
4384 * run-strings-test.sh: New file.
4385 * Makefile.am (TESTS, EXTRA_DIST): Add it.
4387 2005-08-27 Roland McGrath <roland@redhat.com>
4389 * addrscopes.c (handle_address): Apply bias to PC addresses.
4391 * run-funcscopes.sh: New file.
4392 * testfile25.bz2: New data file.
4393 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4395 2005-08-26 Roland McGrath <roland@redhat.com>
4397 * addrscopes.c (dwarf_diename_integrate): Removed.
4398 (print_vars, handle_address): Use plain dwarf_diename.
4400 2005-08-25 Roland McGrath <roland@redhat.com>
4402 * funcscopes.c: New file.
4403 * Makefile.am (noinst_PROGRAMS): Add it.
4404 (funcscopes_LDADD): New variable.
4406 * run-addrscopes.sh: Add another case.
4407 * testfile24.bz2: New data file.
4408 * Makefile.am (EXTRA_DIST): Add it.
4410 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
4411 pass it to dwarf_getscopes.
4412 (main): Pass it, true when '=' follows an address.
4414 2005-08-24 Roland McGrath <roland@redhat.com>
4416 * line2addr.c (print_address): Omit () for DSOs.
4418 2005-08-24 Ulrich Drepper <drepper@redhat.com>
4420 * run-line2addr.sh: Remove testfile23 in the end.
4422 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
4423 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
4425 2005-08-22 Roland McGrath <roland@redhat.com>
4427 * run-line2addr.sh: Add a case.
4428 * testfile23.bz2: New data file.
4429 * Makefile.am (EXTRA_DIST): Add it.
4431 2005-08-18 Roland McGrath <roland@redhat.com>
4433 * run-addrscopes.sh: New file.
4434 * testfile22.bz2: New data file.
4435 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4437 * addrscopes.c: New file.
4438 * Makefile.am (noinst_PROGRAMS): Add it.
4439 (addrscopes_LDADD): New variable.
4441 2005-08-15 Ulrich Drepper <drepper@redhat.com>
4443 * run-elflint-self.sh: Don't run test if the file doesn't exist.
4445 2005-08-15 Roland McGrath <roland@redhat.com>
4447 * dwflmodtest.c (print_instance, print_inline): New functions.
4448 (print_func): Call print_inline.
4449 (options, parse_opt): Grok -i/--inlines.
4451 2005-08-07 Roland McGrath <roland@redhat.com>
4453 * dwflmodtest.c: Print function details only if -f flag is given.
4455 2005-08-06 Ulrich Drepper <drepper@redhat.com>
4457 * run-elflint-self.sh: New file.
4458 * Makefile.am (TESTS): Add run-elflint-self.sh.
4459 (EXTRA_DIST): Likewise.
4461 * Makefile.am: Link with statis libs if BUILD_STATIC.
4462 (dwflmodtest_LDADD): Also link with -ldl.
4464 2005-08-02 Ulrich Drepper <drepper@redhat.com>
4466 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
4467 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
4469 * asm-tst2.c: Likewise.
4470 * asm-tst3.c: Likewise.
4471 * asm-tst4.c: Likewise.
4472 * asm-tst5.c: Likewise.
4473 * asm-tst6.c: Likewise.
4474 * asm-tst7.c: Likewise.
4475 * asm-tst8.c: Likewise.
4476 * asm-tst9.c: Likewise.
4478 * msg_tst.c: Add new error message.
4480 2005-07-28 Ulrich Drepper <drepper@redhat.com>
4482 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
4484 2005-06-01 Roland McGrath <roland@redhat.com>
4486 * line2addr.c: Rewritten using libdwfl.
4487 * run-line2addr.sh: Update test for changed arguments.
4488 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
4489 (libdwfl): New variable.
4490 (line2addr_LDADD): Use it.
4492 2005-07-28 Roland McGrath <roland@redhat.com>
4494 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
4495 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
4496 (dwflmodtest_LDADD): New variable.
4497 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
4499 2005-07-21 Ulrich Drepper <drepper@redhat.com>
4501 * testfile18.bz2: New file.
4502 * run-elflint-test.sh: New file.
4503 * Makefile.am (TESTS): Add run-elflint-test.sh.
4504 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
4506 2005-05-24 Ulrich Drepper <drepper@redhat.com>
4508 * get-files.c (main): Use correct format specifier.
4510 2005-05-21 Ulrich Drepper <drepper@redhat.com>
4512 * Makefile.am: Add -Wextra to CFLAGS.
4513 * get-files.c: Remove warning this produced.
4514 * get-pubnames.c: Likewise.
4515 * newfile.c: Likewise.
4516 * newscn.c: Likewise.
4517 * scnnames.c: Likewise.
4518 * showptable.c: Likewise.
4519 * test-nlist.c: Likewise.
4520 * update1.c: Likewise.
4521 * update2.c: Likewise.
4522 * update3.c: Likewise.
4523 * update4.c: Likewise.
4525 2005-05-08 Ulrich Drepper <drepper@redhat.com>
4527 * run-line2addr.sh: Remove testfile14 at the end.
4529 * run-strip-test.sh: Remove debuginfo test input file as well.
4531 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
4534 2005-05-03 Roland McGrath <roland@redhat.com>
4536 * run-strip-test.sh: Use variables for test file names.
4537 Optionally produce separate debug file and check it.
4538 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
4539 * run-strip-test3.sh: Likewise.
4540 * run-strip-test4.sh: New file.
4541 * run-strip-test5.sh: New file.
4542 * run-strip-test6.sh: New file.
4543 * testfile15.bz: New file.
4544 * testfile15.debug.bz: New file.
4545 * testfile16.bz: New file.
4546 * testfile16.debug.bz: New file.
4547 * testfile17.bz: New file.
4548 * testfile17.debug.bz: New file.
4549 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4551 2005-04-25 Ulrich Drepper <drepper@redhat.com>
4553 * run-line2addr.sh: Also use testfile14. Adjust for correct
4554 return of multiple matches.
4555 * testfile14.bz2: New file.
4556 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
4558 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
4560 2005-04-04 Roland McGrath <roland@redhat.com>
4562 * line2addr.c (main): Initialize LINES and NLINES before calling
4563 dwarf_getsrc_file, and free LINES afterwards.
4565 * allfcts.c (main): Use size_t for CUHL.
4567 2005-04-04 Ulrich Drepper <drepper@redhat.com>
4569 * line2addr.c: New file.
4570 * run-line2addr.sh: New file.
4571 * Makefile.am: Add rules to build, run, and distribute new code.
4573 2005-04-02 Ulrich Drepper <drepper@redhat.com>
4575 * allfcts.c: New file.
4576 * run-allfcts.sh: New file.
4577 * Makefile.am: Add rules to build, run, and distribute new code.
4579 2005-02-05 Ulrich Drepper <drepper@redhat.com>
4581 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
4582 programs with -lmudflap.
4584 2004-09-25 Ulrich Drepper <drepper@redhat.com>
4586 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
4587 * asm-tst5.c (main): Likewise.
4588 * asm-tst6.c (main): Likewise.
4590 2004-01-17 Ulrich Drepper <drepper@redhat.com>
4592 * Makefile.am: Support building with mudflap.
4594 2004-01-12 Ulrich Drepper <drepper@redhat.com>
4596 * get-aranges.c: Rewrite to use libdw.
4597 * Makefile.am: Reenable get-aranges test.
4599 2004-01-11 Ulrich Drepper <drepper@redhat.com>
4601 * get-lines.c: New file.
4602 * get-files.c: Adjust for libdw.
4603 * run-get-files.sh: Adjust expected result.
4604 * run-get-lines.sh: Likewise.
4605 * Makefile.am: Run get-lines test. Don't run get-aranges and
4606 get-ciefde test for now.
4608 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
4609 change. Print attribute offset information.
4610 * run-show-abbrev.sh: Adjust expected output.
4612 2004-01-09 Ulrich Drepper <drepper@redhat.com>
4614 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
4615 * show-die-info.c: Likewise.
4616 * run-show-die-info.sh: Adjust expected output.
4618 2003-08-13 Ulrich Drepper <drepper@redhat.com>
4620 * Makefile.in: Depend on libebl.a, not libebl.so.
4622 2003-08-11 Ulrich Drepper <drepper@redhat.com>
4624 * Moved to CVS archive.