1 2021-01-31 Sergei Trofimovich <slyfox@gentoo.org>
3 * Makefile.am (TESTS_ENVIRONMENT): export CC variable
4 to tests for use instead of 'gcc'.
5 * run-disasm-x86-64.sh: use ${CC} instead of 'gcc'.
6 * run-disasm-x86.sh: Likewise.
7 * run-strip-g.sh: Likewise.
8 * run-strip-nothing.sh: Likewise.
9 * run-test-includes.sh: Likewise.
11 2021-01-06 Timm Bäder <tbaeder@redhat.com>
13 * zstrptr.c (main): Lift print_strings function up to ...
14 (print_strings): ... here. New file scope function taking
15 Elf_Scn*, Elf* and ndx as arguments.
17 2020-12-20 Dmitry V. Levin <ldv@altlinux.org>
19 * .gitignore: New file.
21 2020-12-12 Mark Wielaard <mark@klomp.org>
23 * testfile-retain.o.bz2: New test file.
24 * run-retain.sh: New test.
25 * Makefile.am (TESTS): Add run-retain.sh.
26 (EXTRA_DIST): Add run-retain.sh and testfile-retain.o.bz2
28 2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
30 * dwflmodtest.c (N_): Remove.
32 2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
34 * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics.
35 * run-lfs-symbols.sh: Likewise.
36 * elfstrmerge.c (main): Fix spelling typos in comments.
37 * dwfl-bug-fd-leak.c: Likewise.
38 * run-readelf-line.sh: Likewise.
39 * run-stack-demangled-test.sh: Likewise.
40 * sectiondump.c (main): Likewise.
41 * varlocs.c (handle_die): Likewise.
43 2020-12-11 Dmitry V. Levin <ldv@altlinux.org>
45 * configure.ac: Remove.
46 * Makefile.am [STANDALONE]: Remove.
47 (check_PROGRAMS): Add msg_tst, system-elf-libelf-test, and $(asm_TESTS)
49 (TESTS): Add msg_tst, system-elf-libelf-test, $(asm_TESTS), and
50 run-disasm-bpf.sh unconditionally.
52 2020-11-23 Frank Ch. Eigler <fche@redhat.com>
54 * run-debuginfod-find.sh: Add sqlite error injection & stats.
56 2020-11-02 Mark Wielaard <mark@klomp.org>
58 * run-debuginfod-find.sh: Create bogus R/nothing.rpm with cyclic
59 symlink instead of chmod 000.
61 2020-11-19 Frank Ch. Eigler <fche@redhat.com>
63 * run-debuginfod-find.sh: Look for http-* metrics.
65 2020-11-01 Érico N. Rolim <erico.erc@gmail.com>
66 Mark Wielaard <mark@klomp.org>
68 * alldts.c (main): Use DEFFILEMODE for open with O_CREAT.
69 * arextract.c (main): Likewise.
70 * ecp.c (main): Likewise for creat.
71 * elfstrtab.c (check_elf): Use DEFFILEMODE for open with O_CREAT,
72 remove mode from open calls without O_CREAT.
73 * emptyfile.c (check_elf): Likewise.
74 * fillfile.c (check_elf): Likewise.
75 * vendorelf.c (check_elf): Likewise.
76 * newdata.c (checkelf): Use DEFFILEMODE for open with O_CREAT.
77 * update{1,2,3,4}.c (main): Likewise.
80 2020-10-31 Mark Wielaard <mark@klomp.org>
82 * dwfl-proc-attach.c (dlopen): New external function override.
84 2020-10-31 Mark Wielaard <mark@klomp.org>
86 * test-wrapper.sh: Use =, not == for string compare.
88 2020-10-29 Mark Wielaard <mark@klomp.org>
90 * test-wrapper.sh: Determine whether the test is a script or not
91 and run binaries directly under valgrind.
92 * dwfl-bug-fd-leak.c (main): Call getrlimit before calling setrlimit.
93 * dwfl-proc-attach.c (main): Call dwfl_end, pthread_cancel and
95 * vdsosyms.c (main): Call dwfl_end.
97 2020-10-31 Frank Ch. Eigler <fche@redhat.com>
99 * run-debuginfod-find.sh: Modify for tweaked/new metrics.
101 2020-10-30 Frank Ch. Eigler <fche@redhat.com>
104 * run-debuginfod-find.sh: Modify test for restored
105 thread_work_total semantics for grooming.
107 2020-10-29 Frank Ch. Eigler <fche@redhat.com>
110 * run-debuginfod-find.sh: Modify test for different
111 thread_work_total semantics for grooming.
113 2020-10-29 Frank Ch. Eigler <fche@redhat.com>
116 * run-debuginfod-find.sh: Add tests for successful archive fetches across
117 renamed RPMs, even without grooming.
119 2020-10-25 Mark Wielaard <mark@klomp.org>
121 * read_unaligned.c: New test.
122 * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned.
123 (read_unaligned_LDADD): New variable.
125 2020-10-28 Tom Tromey <tom@tromey.com>
128 * Makefile.am (check_PROGRAMS, TESTS): Add leb128.
129 (leb128_LDADD): New variable.
130 * leb128.c: New file.
132 2020-10-19 Mark Wielaard <mark@klomp.org>
134 * addrcfi.c (print_register): Make ops_mem 3 elements.
136 2020-10-19 Mark Wielaard <mark@klomp.org>
138 * testfile60.bz2: Removed.
139 * Makefile.am (EXTRA_DIST): Remove testfile60.bz2.
140 * run-allregs.sh: Remove tilegx testfile60 testcase.
142 2020-10-20 Frank Ch. Eigler <fche@redhat.com>
144 PR26756: more prometheus metrics
145 * run-debuginfod-find.sh: Trigger some errors with dummy "nothing.rpm"
146 and check for new metrics.
148 2020-09-18 Mark Wielaard <mark@klomp.org>
150 * run-readelf-compressed-zstd.sh: New test.
151 * Makefile.am (EXTRA_DISTS): Add run-readelf-compressed-zstd.sh.
152 (TESTS): Add run-readelf-compressed-zstd.sh if HAVE_ZSTD.
154 2020-09-03 Mark Wielaard <mark@klomp.org>
156 * run-readelf-frames.sh: New test.
157 * Makefile.am (TESTS): Add run-readelf-frames.sh.
158 (EXTRA_DIST): Likewise.
160 2020-09-03 Mark Wielaard <mark@klomp.org>
162 * testfile-gnu-property-note-aarch64.bz2: New file.
163 * run-readelf-n.sh: Handle testfile-gnu-property-note-aarch64.
164 * Makefile.am (EXTRA_DIST): Add
165 testfile-gnu-property-note-aarch64.bz2.
167 2020-07-19 Mark Wielaard <mark@klomp.org>
169 * asm-tst1.c: Include libebl.h after libasm.h.
170 * asm-tst2.c: Likewise.
171 * asm-tst3.c: Likewise.
172 * asm-tst4.c: Likewise.
173 * asm-tst5.c: Likewise.
174 * asm-tst6.c: Likewise.
175 * asm-tst7.c: Likewise.
176 * asm-tst8.c: Likewise.
177 * asm-tst9.c: Likewise.
179 2020-07-05 Mark Wielaard <mark@klomp.org>
181 * run-test-includes.sh: New test.
182 * Makefile.am (TESTS): Add run-test-includes.sh.
183 (EXTRA_DIST): Likewise.
185 2020-07-03 Alice Zhang <alizhang@redhat.com>
187 * run-debuginfod-find.sh: Add scheme free url testcase.
189 2020-06-19 Mark Wielaard <mark@klomp.org>
191 * Makefile.am (TESTS): Don't add run-debuginfod-find.sh when
194 2020-06-16 Mark Wielaard <mark@klomp.org>
196 * coverage.sh: Use /usr/bin/env bash.
197 * run-ar.sh: Likewise.
198 * run-backtrace-core-aarch64.sh: Likewise.
199 * run-backtrace-core-i386.sh: Likewise.
200 * run-backtrace-core-ppc.sh: Likewise.
201 * run-backtrace-core-s390.sh: Likewise.
202 * run-backtrace-core-s390x.sh: Likewise.
203 * run-backtrace-core-sparc.sh: Likewise.
204 * run-backtrace-core-x32.sh: Likewise.
205 * run-backtrace-core-x86_64.sh: Likewise.
206 * run-backtrace-data.sh: Likewise.
207 * run-backtrace-demangle.sh: Likewise.
208 * run-backtrace-dwarf.sh: Likewise.
209 * run-backtrace-fp-core-aarch64.sh: Likewise.
210 * run-backtrace-fp-core-i386.sh: Likewise.
211 * run-backtrace-fp-core-ppc64le.sh: Likewise.
212 * run-backtrace-fp-core-x86_64.sh: Likewise.
213 * run-backtrace-native-biarch.sh: Likewise.
214 * run-backtrace-native-core-biarch.sh: Likewise.
215 * run-backtrace-native-core.sh: Likewise.
216 * run-backtrace-native.sh: Likewise.
217 * run-debuginfod-find.sh: Likewise.
218 * run-deleted.sh: Likewise.
219 * run-dwelf_elf_e_machine_string.sh: Likewise.
220 * run-large-elf-file.sh: Likewise.
221 * run-lfs-symbols.sh: Likewise.
222 * run-linkmap-cut.sh: Likewise.
224 2020-06-11 Mark Wielaard <mark@klomp.org>
226 * Makefile.am (nlist-test): Add GCOV flags when necessary.
228 2020-06-06 Mark Wielaard <mark@klomp.org>
230 * testfilesyms32.bz2: New test file.
231 * testfilesyms64.bz2: Likewise.
232 * run-nm-syms.sh: New test.
233 * Makefile.am (TESTS): Add run-nm-syms.sh.
234 (EXTRA_DIST): run-nm-syms.sh, testfilesyms32.bz2 and
237 2020-05-08 Mark Wielaard <mark@klomp.org>
239 * elfputzdata.c (main): Explicitly check orig_buf is not NULL
240 before calling memcmp.
242 2020-05-05 Mark Wielaard <mark@klomp.org>
244 * testfile-lto-gcc8.bz2: New test file.
245 * testfile-lto-gcc9.bz2: Likewise.
246 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc8.bz2 and
247 testfile-lto-gcc9.bz2.
248 * run-allfcts.sh: Add testfile-lto-gcc9 and testfile-lto-gcc8
251 2020-05-05 Mark Wielaard <mark@klomp.org>
253 * testfile-lto-gcc10.bz2: New test file.
254 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc10.bz2.
255 * run-allfcts.sh: Add testfile-lto-gcc10 test.
257 2020-04-17 Mark Wielaard <mark@klomp.org>
259 * test-subr.sh (testrun_on_self_obj): New function.
260 * run-varlocs-self.sh: Run testrun_on_self_exe and
261 testrun_on_self_lib with -e, run testrun_on_self_obj with
264 2020-04-17 Mark Wielaard <mark@klomp.org>
266 * Makefile.am (test-nlist$): New goal with minimal CFLAGS.
267 (test_nlist_CFLAGS): New variable.
269 2020-03-28 Frank Ch. Eigler <fche@redhat.com>
271 * run-debuginfod-find.sh: Test timestamps of archive-origin files.
273 2020-03-27 Frank Ch. Eigler <fche@redhat.com>
275 * run-debuginfod-find.sh: Test /path/-based debuginfod-find.
277 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
279 * run-debuginfod-find.sh: Test relay of UA and XFF headers across
280 federating debuginfods.
282 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
284 * run-debuginfod-find.sh: Look for debuginfod's new
285 http_responses_* metrics.
287 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
289 * run-debuginfod-find.sh: Look for bsdtar instead of dpkg.
291 2020-03-26 Frank Ch. Eigler <fche@redhat.com>
293 * run-debuginfod-find.sh: Check for bsdtar zstd capability
294 for running tests against zstd-compressed fedora31 rpms.
296 2020-03-26 Mark Wielaard <mark@klomp.org>
298 * Makefile.am (EXTRA_DIST): Add
299 debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm,
300 debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm,
301 debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm,
302 debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm,
303 debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm,
304 debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm
306 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
308 * debuginfod-rpms/hello3.spec., /fedora31/*: New files with
309 uncanonicalized source paths.
310 * run-debuginfod-find.sh: Test them.
312 2020-03-24 Frank Ch. Eigler <fche@redhat.com>
314 * run-debuginfod-find.sh: Test the more detailed debuginfod
317 2020-03-23 Mark Wielaard <mark@klomp.org>
319 * getphdrnum.c: Include config.h.
320 * run-lfs-symbols.sh: Also check that file exists. Add more logs.
321 Remove ebl modules check.
323 2020-03-22 Omar Sandoval <osandov@fb.com>
324 Mark Wielaard <mark@klomp.org>
326 * getphdrnum.c: New file.
327 * run-getphdrnum.sh: New test.
328 * testfile-phdrs.elf.bz2: New test file.
329 * Makefile.am (check_PROGRAMS): Add getphdrnum.
330 (TESTS): Add run-getphdrnum.sh.
331 (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2.
332 (getphdrnum_LDADD): New variable.
334 2020-03-22 Frank Ch. Eigler <fche@redhat.com>
336 * run-debuginfod-find.sh: Look for URL in default progressfn
337 and from debuginfod-find -v.
339 2020-02-19 Aaron Merey <amerey@redhat.com>
341 * run-debuginfod-find.sh: Run tests for verifying default
342 client cache locations.
344 2020-02-26 Konrad Kleine <kkleine@redhat.com>
346 * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning
349 2020-02-21 Mark Wielaard <mark@klomp.org>
351 * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS.
352 (installed_TESTS_ENVIRONMENT): Likewise.
354 2020-02-19 Aaron Merey <amerey@redhat.com>
356 * run-debuginfod-find.sh: Test that files unrelated to debuginfod
357 survive cache cleaning.
359 2020-02-08 Mark Wielaard <mark@klomp.org>
361 * run-pt_gnu_prop-tests.sh: New test.
362 * testfile_pt_gnu_prop.bz2: New test file.
363 * testfile_pt_gnu_prop32.bz2: Likewise.
364 * Makefile.am (TESTS): Add run-pt_gnu_prop-tests.sh
365 (EXTRA_DISTS): Likewise. Add testfile_pt_gnu_prop.bz2 and
366 testfile_pt_gnu_prop32.bz2.
368 2020-02-05 Frank Ch. Eigler <fche@redhat.com>
370 * debuginfo-tars/*: New test files from Eli Schwartz of ArchLinux.
371 * Makefile.am (EXTRA_DIST): Package them.
372 * run-debuginfod-find.sh: Run basic archive extraction tests.
374 2020-02-03 Frank Ch. Eigler <fche@redhat.com>
376 * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio.
378 2020-01-19 Frank Ch. Eigler <fche@redhat.com>
380 * run-debuginfod-find.sh: Check for proper groom completion count.
382 2020-01-18 Frank Ch. Eigler <fche@redhat.com>
384 * run-debuginfod-find.sh: Test empty source_paths[].
386 2020-01-08 Mark Wielaard <mark@klomp.org>
388 * asm-test?.c: include libebl.h.
390 2020-01-11 Frank Ch. Eigler <fche@redhat.com>
392 * run-debuginfod-find.sh: Test --fdcache* options.
394 2020-01-11 Frank Ch. Eigler <fche@redhat.com>
396 * run-debuginfod-find.sh: Adjust to new work-queue metrics.
398 2020-01-02 Mark Wielaard <mark@klomp.org>
400 * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10.
402 2019-12-22 Frank Ch. Eigler <fche@redhat.com>
404 * debuginfod-debs/*: New test files, based on
405 https://wiki.debian.org/Packaging/Intro.
406 * run-debuginfod-find.sh: Test deb file processing (if dpkg
409 2019-12-04 Frank Ch. Eigler <fche@redhat.com>
411 * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS.
413 2019-12-11 Omar Sandoval <osandov@fb.com>
415 * dwfl-report-segment-coalesce.c: New test.
416 * Makefile.am: Add dwfl-report-segment-coalesce
418 2019-12-06 Mark Wielaard <mark@klomp.org>
420 * run-debuginfod-find.sh: Force -Wl,--build-id.
422 2019-12-05 Mark Wielaard <mark@klomp.org>
424 * run-findinfod-find.sh: Run strip under testrun.
426 2019-12-06 Mark Wielaard <mark@klomp.org>
428 * backtrace-data.c (main): Add break after assert.
430 2019-12-05 Mark Wielaard <mark@klomp.org>
432 * run-elfclassify.sh: Run elfcompress under testrun.
434 2019-11-26 Mark Wielaard <mark@klomp.org>
436 * Makefile.am (BUILD_STATIC): Add libraries needed for libdw.
437 * coverage.sh: Add debuginfod directory, check whether source
440 2019-11-24 Mark Wielaard <mark@klomp.org>
442 * run-debuginfod-find.sh: Reduce verbosity. Add new cleanup
443 function to use with trap. Add wait_ready function to query
444 metrics instead of sleeping. Calculate rpms and sourcefiles
447 2019-11-23 Mark Wielaard <mark@klomp.org>
449 * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1.
451 2019-11-07 Frank Ch. Eigler <fche@redhat.com>
453 * run-debuginfod-find.sh: Test debuginfod metrics via curl.
454 Fix federated testing, asserted by metrics.
456 2019-11-06 Frank Ch. Eigler <fche@redhat.com>
458 * run-debuginfod-find.sh: Test debuginfod -L mode. Drop
459 plain debuginfo-find help-output-comparison.
461 2019-11-04 Frank Ch. Eigler <fche@redhat.com>
463 * run-debuginfod-find.sh: Test debuginfod-find -v progress mode.
465 2019-10-28 Aaron Merey <amerey@redhat.com>
466 Frank Ch. Eigler <fche@redhat.com>
468 * run-debuginfod-find.sh, debuginfod_build_id_find.c: New test.
469 * testfile-debuginfod-*.rpm.bz2: New data files for test.
470 * Makefile.am: Run it.
472 2019-11-14 Andreas Schwab <schwab@suse.de>
474 * run-large-elf-file.sh: Skip if available memory cannot be
477 2019-11-14 Andreas Schwab <schwab@suse.de>
479 * dwelf_elf_e_machine_string.c (main): Clear errno before calling
482 2019-09-02 Mark Wielaard <mark@klomp.org>
484 * run-readelf-s.sh: Add --dyn-syms case.
486 2019-09-07 Mark Wielaard <mark@klomp.org>
488 * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh,
489 testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2.
491 2019-08-27 Mark Wielaard <mark@klomp.org>
493 * run-readelf-test2.sh: Add -x num testcase.
495 2019-08-29 Mark Wielaard <mark@klomp.org>
497 * test-subr.sh (self_test_files_exe): replace elfcmp, objdump and
498 readelf with elfclassify, stack and unstrip.
499 (self_test_files_lib): Replace libdw.so with libasm.so.
501 2019-07-05 Omar Sandoval <osandov@fb.com>
503 * Makefile.am: Remove -ldl.
504 * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so.
506 2019-07-26 Florian Weimer <fweimer@redhat.com>
507 Mark Wielaard <mark@klomp.org>
509 * run-elfclassify.sh: New test.
510 * run-elfclassify-self.sh: Likewise.
511 * Makefile.sh (TESTS): Add run-elfclassify.sh and
512 run-elfclassify-self.sh.
513 (EXTRA_DIST): Likewise.
515 2019-07-16 Mao Han <han_mao@c-sky.com>
517 * hello_csky.ko.bz2: New testfile.
518 * run-addrcfi.sh: Add C-SKY testfile.
519 * run-strip-reloc.sh: Likewise.
520 * testfilecsky.bz2: New testfile.
521 * Makefile.am (EXTRA_DIST): Add hello_csky.ko.bz2 and
524 2019-06-28 Mark Wielaard <mark@klomp.org>
526 * Makefile.am (check_PROGRAMS): Add dwelf_elf_e_machine_string.
527 (TESTS): Add run-dwelf_elf_e_machine_string.sh.
528 (EXTRA_DIST): Likewise.
529 (dwelf_elf_e_machine_string_LDADD): New variable.
530 * dwelf_elf_e_machine_string.c: New file.
531 * run-dwelf_elf_e_machine_string.sh: New test.
533 2019-07-01 Mark Wielaard <mark@klomp.org>
535 * run-large-elf-file.sh: Add 2GB to mem_needed when running under
538 2019-06-18 Mark Wielaard <mark@klomp.org>
540 * Makefile.am (TESTS): Add run-large-elf-file.sh.
541 (EXTRA_DIST): Likewise.
542 * addsections.c (add_sections): Add sec_size argument, use it
543 as the size of the section data.
544 (main): Handle extra sec_size argument. Pass to add_sections.
545 * run-large-elf-file.sh: New test.
547 2019-06-03 Mark Wielaard <mark@klomp.org>
549 * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections,
550 make sure they are actually next to each other.
552 2019-05-12 Mark Wielaard <mark@klomp.org>
554 * Makefile.am (check_PROGRAMS): Add elfrdwrnop.
555 (TESTS): Add run-reverse-sections.sh and
556 run-reverse-sections-self.sh.
557 (EXTRA_DIST): Likewise.
558 (elfrdwrnop): New variable.
559 * elfcopy.c (copy_elf): Add reverse_off argument. Record offsets
560 of sections and swap them when possible.
561 (main): Check for --reverse-off argument. Pass reverse_offs to
563 * run-reverse-sections.sh: New test.
564 * run-reverse-sections-self.sh: Likewise.
565 * elfrdwrnop.c: New file.
567 2019-05-10 Mark Wielaard <mark@klomp.org>
569 * Makefile.am (TESTS): Add run-readelf-discr.sh.
570 (EXTRA_DIST): Likewise and add testfile-rng.debug.bz2 and
571 testfile-urng.debug.bz2.
572 * run-readelf-discr.sh: New test.
573 * testfile-rng.debug.bz2: New test file.
574 * testfile-urng.debug.bz2: Likewise.
576 2019-04-30 Mark Wielaard <mark@klomp.org>
578 * xlate_notes.c: New file.
579 * run-xlate-note.sh: New test.
580 * Makefile.am (check_PROGRAMS): Add xlate_notes.
581 (TESTS): Add run-xlate-note.sh.
582 (EXTRA_DIST): Likewise.
583 (xlate_notes_LDADD): New variable.
585 2019-04-30 Mark Wielaard <mark@klomp.org>
587 * backtrace-dwarf.c (frame_callback): Explicitly check symname is
590 2019-04-30 Mark Wielaard <mark@klomp.org>
592 * backtrace.c (frame_callback): Explicitly check symname is NULL.
594 2019-03-04 Mark Wielaard <mark@klomp.org>
596 * backtrace.c (tgkill): Remove define.
598 2019-01-24 Mark Wielaard <mark@klomp.org>
600 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
603 2019-01-31 Mark Wielaard <mark@klomp.org>
605 * backtrace-child.c (stdarg): Remove assert (errno == 0).
607 * backtrace-data.c (maps_lookup): Likewise.
608 (set_initial_registers): Likewise.
610 * backtrace.c (prepare_thread): Likewise.
611 (exec_dump): Likewise.
613 2019-01-29 Yonghong Song <yhs@fb.com>
615 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse
618 2019-01-18 Ulf Hermann <ulf.hermann@qt.io>
620 * run-annobingroup.sh: Use different files for strip output.
621 * run-strip-test-many.sh: Use different files for strip output,
622 check results of strip, unstrip, elflint.
624 2019-01-24 Mark Wielaard <mark@klomp.org>
626 * addsections.c (add_sections): Change the name of the old shstrtab
627 section to ".old_shstrtab" and give the old shstrtab name to the
628 new shstrtab section.
630 2019-01-09 Ulf Hermann <ulf.hermann@qt.io>
632 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found.
634 2018-12-27 Jim Wilson <jimw@sifive.com>
636 * run-readelf-mixed-corenote.sh: Update with new riscv64 output.
638 2018-12-02 Mark Wielaard <mark@klomp.org>
640 * testfile_gnu_props.32le.o.bz2: New testfile.
641 * testfile_gnu_props.64le.o.bz2: Likewise.
642 * testfile_gnu_props.32be.o.bz2: Likewise.
643 * testfile_gnu_props.64be.o.bz2: Likewise.
644 * Makefile (EXTRA_DIST): Add new testfiles.
645 * run-readelf-n.sh: Run tests on new testfiles.
647 2018-11-28 Mark Wielaard <mark@klomp.org>
649 * backtrace-data.c (main): Improve error message.
650 * run-backtrace-data.sh: Skip exit 77 return.
652 2018-11-21 Mark Wielaard <mark@klomp.org>
654 * backtrace-subr.sh (check_unsupported): Call test_cleanup before
657 2018-11-17 Mark Wielaard <mark@klomp.org>
659 * run-strip-version.sh: New test.
660 * testfile-version.bz2: New test file.
661 * Makefile.am (TESTS): Add run-strip-version.sh.
662 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2.
664 2018-11-09 Mark Wielaard <mark@klomp.org>
666 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o
667 testfile-debug-rel-ppc64-g.o.
669 2018-11-12 Mark Wielaard <mark@klomp.org>
671 * run-readelf-n.sh: Add testfile-annobingroup.o test.
673 2018-11-11 Mark Wielaard <mark@klomp.org>
675 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test
678 2018-11-04 Mark Wielaard <mark@klomp.org>
680 * testfile-bpf-reloc.expect.bz2: Update with new expected jump
683 2018-10-20 Mark Wielaard <mark@klomp.org>
685 * run-readelf-compressed.sh: New test.
686 * Makefile.am (TESTS): Add run-readelf-compressed.sh.
687 (EXTRA_DIST): Likewise.
689 2018-11-09 Mark Wielaard <mark@klomp.org>
691 * testfile-debug-rel-ppc64-g.o.bz2: New test file.
692 * testfile-debug-rel-ppc64-z.o.bz2: Likewise.
693 * testfile-debug-rel-ppc64.o.bz2: Likewise.
694 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2,
695 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2.
696 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o.
697 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o.
699 2018-10-26 Mark Wielaard <mark@klomp.org>
701 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only.
703 2018-10-18 Mark Wielaard <mark@klomp.org>
705 * run-readelf-n.sh: New test.
706 * testfile-gnu-property-note.bz2: New testfile.
707 * testfile-gnu-property-note.o.bz2: Likewise.
708 * Makefile.am (TESTS): Add run-readelf-n.sh.
709 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2,
710 testfile-gnu-property-note.o.bz2.
712 2018-10-12 Mark Wielaard <mark@klomp.org>
714 * run-readelf-zdebug.sh: Adjust flags output.
715 * run-readelf-macro.sh: Likewise.
716 * run-readelf-macros.sh: New test.
717 * testfile-macros-object.o.bz2: New test file.
718 * Makefile.am (TESTS): Add run-readelf-macros.sh.
719 (EXTRA_DIST): Add run-readelf-macros.sh and
720 testfile-macros-object.o.bz2.
722 2018-09-12 Mark Wielaard <mark@klomp.org>
724 * run-annobingroup.sh: Add x86_64 ET_REL testcase.
725 * testfile-annobingroup-x86_64.o.bz2: New test file.
726 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2.
728 2018-09-18 Mark Wielaard <mark@klomp.org>
730 * backtrace-dwarf.c (thread_callback): Only error when
731 dwfl_thread_getframes returns an error.
732 (main): Don't call abort or assert but print an error when
733 something unexpected happens.
735 2018-09-13 Mark Wielaard <mark@klomp.org>
737 * run-strip-test-many.sh: New test.
738 * Makefile.am (TESTS): Add run-strip-test-many.sh.
739 (EXTRA_DIST): Likewise.
741 2018-09-13 Mark Wielaard <mark@klomp.org>
743 * run-typeiter-many.sh: New test.
744 * Makefile.am (TESTS): Add run-typeiter-many.sh.
745 (EXTRA_DIST): Likewise.
747 2018-09-13 Mark Wielaard <mark@klomp.org>
749 * run-copymany-sections.sh: New test.
750 * Makefile.am (TESTS): Add run-copymany-sections.sh.
751 (EXTRA_DIST): Likewise.
753 2018-09-12 Mark Wielaard <mark@klomp.org>
755 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections.
756 (TESTS): Add run-copyadd-sections.sh.
757 (EXTRA_DIST): Likewise.
758 (elfcopy_LDADD): New variable.
759 (addsections_LDADD): Likewise.
760 * addsections.c: New file.
761 * elfcopy.c: Likewise.
762 * run-copyadd-sections.sh: New test.
764 2018-09-11 Mark Wielaard <mark@klomp.org>
766 * backtrace-dwarf.c (main): Add section attribute.
768 2018-07-24 Mark Wielaard <mark@klomp.org>
770 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests.
771 * testfile-annobingroup-i386.o.bz2: New test file.
772 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2.
774 2018-07-21 Mark Wielaard <mark@klomp.org>
776 * run-annobingroup.sh: New test.
777 * testfile-annobingroup.o.bz2: New test file.
778 * Makefile.am (TESTS): Add run-annobingroup.sh.
779 (EXTRA_DIST): Add run-annobingroup.sh and
780 testfile-annobingroup.o.bz2.
782 2018-07-19 Andreas Schwab <schwab@suse.de>
784 * Makefile.am (TESTS): Add run-strip-test12.sh.
785 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2,
786 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2.
787 (run-strip-test11.sh): New file.
788 (testfile-riscv64.bz2): New file.
789 (testfile-riscv64-s.bz2): New file.
790 (testfile-riscv64-core.bz2): New file.
791 * run-allregs.sh: Add test for testfile-riscv64-core.
792 * run-readelf-mixed-corenote.sh: Likewise.
794 2018-07-16 Ulf Hermann <ulf.hermann@qt.io>
796 * run-strip-reloc.sh: Remove previous testfiles before running the
799 2018-07-17 Mark Wielaard <mark@klomp.org>
801 * hello_riscv64.ko.bz2: Updated with debuginfo.
802 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
804 2018-07-05 Mark Wielaard <mark@klomp.org>
806 * next_cfi.c (handle_section): Take a new argument name. Check
807 whether the section is compressed and uncompress if so.
808 (main): Check also for .zdebug_frame and pass the name of the
809 section to handle_section.
811 2018-07-04 Ross Burton <ross.burton@intel.com>
813 * addrscopes.c: Remove error.h include, add system.h include.
814 * allregs.c: Likewise.
815 * backtrace-data.c: Likewise.
816 * backtrace-dwarf.c: Likewise.
817 * backtrace.c: Likewise.
818 * buildid.c: Likewise.
819 * debugaltlink.c: Likewise.
820 * debuglink.c: Likewise.
821 * deleted.c : Likewise.
822 * dwarfcfi.c: Likewise.
823 * dwfl-addr-sect.c: Likewise.
824 * dwfl-bug-addr-overflow.c: Likewise.
825 * dwfl-bug-fd-leak.c: Likewise.
826 * dwfl-bug-getmodules.c: Likewise.
827 * dwfl-proc-attach.c: Likewise.
828 * dwfl-report-elf-align.c: Likewise.
829 * dwfllines.c: Likewise.
830 * dwflmodtest.c: Likewise.
831 * dwflsyms.c: Likewise.
832 * early-offscn.c: Likewise
834 * elfstrmerge.c: Likewise.
835 * find-prologues.c: Likewise.
836 * funcretval.c: Likewise.
837 * funcscopes.c: Likewise.
838 * getsrc_die.c: Likewise.
839 * line2addr.c: Likewise.
840 * low_high_pc.c: Likewise.
841 * next_cfi.c: Likewise.
842 * rdwrmmap.c: Likewise.
843 * saridx.c: Likewise.
844 * sectiondump.c: Likewise.
845 * varlocs.c: Likewise.
846 * vdsosyms.c: Likewise.
848 2018-06-28 Mark Wielaard <mark@klomp.org>
850 * next_cfi.c: New file.
851 * run-next-cfi.sh: New test.
852 * run-next-cfi-self.sh: Likewise.
853 * Makefile.am (check_PROGRAMS): Add next_cfi.
854 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh.
855 (EXTRA_DIST): Likewise.
856 (next_cfi_LDADD): New variable.
858 2018-06-27 Mark Wielaard <mark@klomp.org>
860 * dwarf_cfi.c: New file.
861 * run-dwarfcfi.sh: New test.
862 * testfile11-debugframe.bz2: New testfile.
863 * testfile12-debugframe.bz2: Likewise.
864 * testfileaarch64-debugframe.bz2: Likewise.
865 * testfilearm-debugframe.bz2: Likewise.
866 * testfileppc32-debugframe.bz2: Likewise.
867 * testfileppc64-debugframe.bz2: Likewise.
868 * Makefile.am (check_PROGRAMS): Add dwarfcfi.
869 (TESTS): Add run-dwarfcfi.sh.
870 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2,
871 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2,
872 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and
873 testfileppc64-debugframe.bz2.
875 2018-06-23 Mark Wielaard <mark@klomp.org>
877 * varlocs.c (print_expr): Take a new depth argument. Check it isn't
878 greater than MAX_DEPTH (64). Pass on to print_expr_block.
879 (print_expr_block): Take a new depth argument. Pass it to print_expr.
880 (print_expr_block_addrs): Call print_expr_block with zero depth.
882 2018-06-25 Mark Wielaard <mark@klomp.org>
884 * next-files.c: New file.
885 * next-lines.c: Likewise.
886 * run-next-files.sh: New test.
887 * run-next-lines.sh: Likewise.
888 * testfile-only-debug-line.bz2: New test file.
889 * Makefile.am (check_PROGRAMS): Add next-files and next-lines.
890 (TESTS): Add run-next-files.sh and run-next-lines.sh.
891 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and
892 testfile-only-debug-line.bz2.
893 (next_lines_LDADD): New variable.
894 (next_files_LDADD): Likewise.
896 2018-06-16 Yonghong Song <yhs@fb.com>
898 * run-reloc-bpf.sh: New test.
899 * testfile-bpf-reloc.o.bz2: New test file.
900 * testfile-bpf-reloc.expect.bz2: New test file.
901 * Makefile.am (TESTS): Add run-reloc-bpf.sh.
902 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and
903 testfile-bpf-reloc.expect.bz2.
905 2018-06-13 Mark Wielaard <mark@klomp.org>
907 * run-readelf-const-values.sh: New test.
908 * testfile-const-values.debug.bz2: New test file.
909 * run-readelf-zdebug-rel.sh: Adjust expected const_value.
910 * Makefile.am (TESTS): Add run-readelf-const-values.sh.
911 (EXTRA_DIST): Add run-readelf-const-values.sh and
912 testfile-const-values.debug.bz2.
914 2018-06-08 Mark Wielaard <mark@klomp.org>
916 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
917 target, do not assert.
919 2018-06-08 Mark Wielaard <mark@klomp.org>
921 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
922 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
924 2018-06-08 Mark Wielaard <mark@klomp.org>
926 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
927 actually is a cfi_debug.
929 2018-06-07 Mark Wielaard <mark@klomp.org>
931 * run-readelf-loc.sh: Fix expected output for startx_length.
933 2018-06-06 Mark Wielaard <mark@klomp.org>
935 * varlocs.c (print_base_type): Use error, not assert when the DIE
938 2018-06-02 Mark Wielaard <mark@klomp.org>
940 * test-subr.sh (self_test_files_exe): Drop shared libraries.
941 Keep addr2line, elfcmp, objdump and readelf.
943 2018-05-31 Mark Wielaard <mark@klomp.org>
945 * run-readelf-types.sh: New test.
946 * Makefile.am (TESTS): Add run-readelf-types.sh.
947 (EXTRA_DIST): Likewise.
949 2018-05-31 Mark Wielaard <mark@klomp.org>
951 * splitdwarf4-not-split4.dwo.bz2: New test file.
952 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
953 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
954 and testfile-splitdwarf4-not-split4.debug.
955 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
956 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
957 and testfile-splitdwarf4-not-split4.debug.bz2.
959 2018-05-31 Mark Wielaard <mark@klomp.org>
961 * test-subr.sh (self_test_files): Split into self_test_files_exe,
962 self_test_files_lib and self_test_obj.
963 (testrun_on_self_exe): New function.
964 (testrun_on_self_lib): Likewise.
965 * run-get-units-split.sh: Replace testrun_on_self with
966 testrun_on_self_exe and testrun_on_self_lib.
967 * run-unit-info.sh: Likewise.
969 2018-05-31 Mark Wielaard <mark@klomp.org>
971 * low_high_pc.c (handle_die): Handle NULL name. Print offset and
973 (main): Check if the cu DIE is a skeleton, then get and handle
975 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
976 testfile-splitdwarf-5. Run on all selftest files.
978 2018-05-31 Mark Wielaard <mark@klomp.org>
980 * get-units-invalid.c (main): Check dwarf_cuoffset and
983 2018-05-29 Mark Wielaard <mark@klomp.org>
985 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
986 type, gotten through dwarf_get_units.
987 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
988 split-dwarf-4, split-dwarf-5 and dwo files.
990 2018-05-29 Mark Wielaard <mark@klomp.org>
992 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
993 * run-varlocs.sh: Likewise.
995 2018-05-29 Mark Wielaard <mark@klomp.org>
997 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
999 2018-05-28 Mark Wielaard <mark@klomp.org>
1001 * run-readelf-info-plus.sh: New test.
1002 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
1003 (EXTRA_DIST): Likewise.
1005 2018-04-29 Mark Wielaard <mark@klomp.org>
1007 * run-readelf-addr.sh: New test.
1008 * Makefile.am (TESTS): Add run-readelf-addr.sh.
1009 (EXTRA_DIST): Likewise.
1011 2018-04-27 Mark Wielaard <mark@klomp.org>
1013 * run-readelf-ranges.sh: Adjust expected output for address base.
1014 * run-readelf-addr.sh: New test.
1015 * Makefile.am (TESTS): Add run-readelf-addr.sh.
1016 (EXTRA_DIST): Likewise.
1018 2018-04-07 Mark Wielaard <mark@klomp.org>
1020 * run-varlocs.sh: Run on testfileranges5.debug and
1021 testsplitfileranges5.debug.
1022 * varlocs.c (is_debug): New bool.
1023 (print_expr): Don't fail on missing CFI for is_debug.
1024 (main): Parse --debug, set is_debug.
1026 2018-04-12 Mark Wielaard <mark@klomp.org>
1028 * run-readelf-loc.sh: Add new testcases.
1030 2018-04-06 Mark Wielaard <mark@klomp.org>
1032 * testfileranges5.debug.bz2: New testfile.
1033 * testfilesplitranges5.debug.bz2: Likewise.
1034 * testfile-ranges-hello5.dwo.bz2: Likewise.
1035 * testfile-ranges-world5.dwo.bz2: Likewise.
1036 * run-dwarf-ranges.sh: Run on testfileranges5.debug.
1037 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
1038 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
1039 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
1040 testfile-ranges-world5.dwo.bz2.
1042 2018-04-11 Mark Wielaard <mark@klomp.org>
1044 * run-readelf-ranges.sh: New test.
1045 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
1046 (EXTRA_DIST): Likewise.
1048 2018-05-21 Mark Wielaard <mark@klomp.org>
1050 * addrx_constx-4.dwo.bz2: New testfile.
1051 * addrx_constx-5.dwo.bz2: Likewise.
1052 * testfile-addrx_constx-4.bz2: Likewise.
1053 * testfile-addrx_constx-5.bz2: Likewise
1054 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
1055 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
1056 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
1057 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
1058 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
1059 (main): Handle split DWARF.
1060 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
1062 2018-05-20 Mark Wielaard <mark@klomp.org>
1064 * unit-info.c: New test.
1065 * run-unit-info.sh: New test runner.
1066 * Makefile.am (check_PROGRAMS): Add unit-info.
1067 (TESTS): Add run-unit-info.sh
1068 (EXTRA_INFO): Likewise.
1069 (unit_info_LDADD): New variable.
1071 2018-05-24 Mark Wielaard <mark@klomp.org>
1073 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
1074 * run-all-dwarf-ranges.sh: Correct expected output.
1076 2018-05-18 Mark Wielaard <mark@klomp.org>
1078 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
1079 (TESTS): Add run-all-dwarf-ranges.sh.
1080 (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
1081 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
1082 and testfile-ranges-world.dwo.bz2.
1083 (all_dwarf_ranges_LDADD): New variable.
1084 * all-dwarf-ranges.c: New test program.
1085 * run-all-dwarf-ranges: New test runner.
1086 * testfile-ranges-hello.dwo.bz2: New test file.
1087 * testfile-ranges-world.dwo.bz2: Likewise.
1088 * testfilesplitranges4.debug.bz2: Likewise.
1090 2018-05-18 Mark Wielaard <mark@klomp.org>
1092 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
1093 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
1094 testfile-hello5.dwo, testfile-world5.dwo.
1096 2018-05-17 Mark Wielaard <mark@klomp.org>
1098 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
1099 (TESTS): Add run-attr-integrate-skel.
1100 (EXTRA_DIST): Likewise.
1101 (attr_integrate_skel_LDADD): New variable.
1102 * attr-integrate-skel.c: New test.
1103 * run-attr-integrate-skel.sh: New test runner.
1105 2018-05-16 Mark Wielaard <mark@klomp.org>
1107 * Makefile.am (check_PROGRAMS): Add get-units-split.
1108 (TESTS): Add run-get-units-split.sh.
1109 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
1110 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
1111 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
1112 testfile-world4.dwo.bz2.
1113 (get_units_split_LDADD): New variable.
1114 * get-units-split.c: New test.
1115 * run-get-units-split.sh: New test runner.
1116 * testfile-dwarf-45.source: Extend with build instructions for new
1118 * testfile-hello4.dwo.bz2: New test file.
1119 * testfile-hello5.dwo.bz2: Likewise.
1120 * testfile-splitdwarf-4.bz2: Likewise.
1121 * testfile-splitdwarf-5.bz2: Likewise.
1122 * testfile-world5.dwo.bz2 and: Likewise.
1123 * testfile-world4.dwo.bz2: Likewise.
1125 2018-05-09 Mark Wielaard <mark@klomp.org>
1127 * run-readelf-zdebug.sh: Adjust test output for new header layout.
1128 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
1129 and testfile-dwarf-5.
1131 2018-05-11 Mark Wielaard <mark@klomp.org>
1133 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
1134 (TESTS): Add run-get-units-invalid.sh.
1135 (EXTRA_DIST): Likewise.
1136 (get_units_invalid_LDADD): New variable.
1137 * get-units-invalid.c: New test program.
1138 * run-get-units-invalid.sh: New test program runner.
1140 2018-05-05 Mark Wielaard <mark@klomp.org>
1142 * testfile-dwarf-45.source: New file.
1143 * testfile-dwarf-4.bz2: New test file.
1144 * testfile-dwarf-5.bz2: Likewise.
1145 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
1147 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
1148 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
1150 2018-04-19 Andreas Schwab <schwab@suse.de>
1152 * hello_riscv64.ko.bz2: New file.
1153 * run-strip-reloc.sh: Test it.
1154 * Makefile.am (EXTRA_DIST): Add it.
1156 2018-04-16 Mark Wielaard <mark@klomp.org>
1158 * testfile-ppc64-min-instr.bz2: New testfile.
1159 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
1160 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
1162 2018-04-11 Mark Wielaard <mark@klomp.org>
1164 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
1166 2018-04-03 Mark Wielaard <mark@klomp.org>
1168 * testfileranges4.debug.bz2: New testfile.
1169 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
1170 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
1172 2018-03-06 Mark Wielaard <mark@klomp.org>
1174 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
1175 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
1176 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
1179 2018-02-16 Mark Wielaard <mark@klomp.org>
1181 * backtrace-subr.sh (check_native_core): Check if there is any core,
1184 2018-02-15 Mark Wielaard <mark@klomp.org>
1186 * backtrace-child.c: Include signal.h after sys/ptrace.h.
1187 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
1190 2018-01-25 Mark Wielaard <mark@klomp.org>
1192 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
1193 (TESTS): Add run-dwarf-die-addr-die.sh.
1194 (EXTRA_DIST): Likewise.
1195 (dwarf_die_addr_die_LDADD): New variable.
1196 * dwarf-die-addr-die.c: New file.
1197 * run-dwarf-die-addr-die.sh: New test.
1199 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
1201 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
1203 2018-01-22 Mark Wielaard <mark@klomp.org>
1205 * allfcts.c (setup_alt): Print warning when alt file couldn't be
1207 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
1208 where it cannot be found by allfcts itself (but it can by libdw).
1210 2018-01-25 Mark Wielaard <mark@klomp.org>
1212 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
1215 2018-01-14 Petr Machata <pmachata@gmail.com>
1217 * testfile-sizes4.o.bz2: New test file.
1218 * testfile-sizes4.s: New test source.
1219 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
1221 2017-12-23 Mark Wielaard <mark@klomp.org>
1223 * backtrace-subr.sh (check_native_core): Use a lock file and try
1224 to extract core using coredumpctl.
1225 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
1227 2017-12-11 Dima Kogan <dima@secretsauce.net>
1229 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
1230 * run-peel-type.sh: Likewise.
1231 * testfile-sizes3.o.bz2: Likewise.
1233 2017-12-07 Mark Wielaard <mark@klomp.org>
1235 * run-readelf-variant.sh: New test.
1236 * testfile-ada-variant.bz2: New testfile.
1237 * Makefile.am (TESTS): Add run-readelf-variant.sh.
1238 (EXTRA_DISTS): Add run-readelf-variant.sh and
1239 testfile-ada-variant.bz2.
1241 2017-11-29 Mark Wielaard <mark@klomp.org>
1243 * run-readelf-loc.sh: Adjust expected loc list output.
1244 * run-readelf-zdebug-rel.sh: Likewise.
1245 * run-readelf-zdebug.sh: Likewise.
1247 2017-11-29 Mark Wielaard <mark@klomp.org>
1249 * run-readelf-loc.sh: Adjust expected range list output.
1250 * run-readelf-zdebug.sh: Likewise.
1252 2017-11-29 Mark Wielaard <mark@klomp.org>
1254 * run-readelf-dwz-multi.sh: Add expected file names.
1255 * run-readelf-zdebug-rel.sh: Likewise.
1257 2017-11-29 Mark Wielaard <mark@klomp.org>
1259 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
1260 * run-readelf-zdebug-rel.sh: Likewise.
1262 2017-11-29 Mark Wielaard <mark@klomp.org>
1264 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
1265 * run-readelf-loc.sh: Likewise.
1266 * run-readelf-zdebug-rel.sh: Likewise.
1267 * run-readelf-zdebug.sh: Likewise.
1269 2017-11-16 Mark Wielaard <mark@klomp.org>
1271 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
1273 2017-11-10 Mark Wielaard <mark@klomp.org>
1275 * run-exprlocs-self.sh: New test.
1276 * run-varlocs-self.sh: Likewise.
1277 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
1278 run-varlocs-self.sh.
1279 (EXTRA_DIST): Likewise.
1280 * varlocs.c (cfi_debug_bias): New global variable.
1281 (is_ET_REL): Likewise.
1282 (print_expr): Don't crash and burn when CFI cannot be found for an
1283 ET_REL file for DW_OP_call_frame_cfa.
1284 (handle_die): If there is no entry_pc pick the lowest pc start range
1286 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
1287 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
1289 2017-11-03 Mark Wielaard <mark@klomp.org>
1291 * run-exprlocs.sh: New test.
1292 * testfile-stridex.bz2: New testfile.
1293 * Makefile.am (TESTS): Add run-exprlocs.sh.
1294 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
1295 * varlocs.c (dwarf_tag_string): New function.
1296 (dwarf_attr_string): Likewise.
1297 (dwarf_form_string): Likewise.
1298 (print_expr): Fix typo in error message.r
1299 Handle DW_OP_GNU_variable_value.
1300 (attr_arg): New struct.
1301 (handle_attr): New function.
1302 (handle_die): Likewise.
1303 (main): Handle --exprlocs argument. Call handle_die.
1305 2017-10-16 Mark Wielaard <mark@klomp.org>
1307 * md5-sha1-test.c: Removed.
1308 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
1310 (md5_sha1_test_LDADD): Removed.
1312 2017-10-04 Mark Wielaard <mark@klomp.org>
1314 * msg_tst.c: Handle ELF_E_INVALID_ELF.
1316 2017-09-10 Mark Wielaard <mark@klomp.org>
1318 * run-ar.sh: New test.
1319 * Makefile.am (TESTS): Add run-ar.sh.
1320 (EXTRA_DIST): Likewise.
1322 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
1324 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
1326 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
1328 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
1330 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
1332 * run-strip-nothing.sh: Add -s.
1334 2017-07-26 Mark Wielaard <mark@klomp.org>
1336 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
1338 2016-10-27 Mark Wielaard <mjw@redhat.com>
1340 * dwarf_default_lower_bound.c: New test.
1341 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
1343 (dwarf_default_lower_bound_LDADD): New variable.
1345 2017-07-21 Mark Wielaard <mark@klomp.org>
1347 * get-lines.c (main): Add dwarf_line_file test.
1349 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
1351 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
1352 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
1354 2017-07-20 Mark Wielaard <mark@klomp.org>
1356 * run-strip-g.sh: New test.
1357 * Makefile.am (TESTS): Add run-strip-g.sh.
1358 (EXTRA_DIST): Likewise.
1360 2017-07-18 Mark Wielaard <mark@klomp.org>
1362 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
1364 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
1366 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
1368 2017-07-14 Mark Wielaard <mark@klomp.org>
1370 * run-strip-remove-keep.sh: New test.
1371 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
1372 (EXTRA_DIST): Likewise.
1374 2017-06-07 Mark Wielaard <mark@klomp.org>
1376 * run-strip-nothing.sh: New test.
1377 * Makefile.am (TESTS): Add run-strip-nothing.sh.
1378 (EXTRA_DIST): Likewise.
1380 2017-06-06 Mark Wielaard <mark@klomp.org>
1382 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
1384 2017-05-30 Mark Wielaard <mark@klomp.org>
1386 * run-backtrace-fp-core-ppc64le.sh: New test.
1387 * backtrace.ppc64le.fp.core.bz2: New test file.
1388 * backtrace.ppc64le.fp.exec.bz2: New testfile.
1389 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
1390 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
1391 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
1392 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
1394 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
1395 Mark Wielaard <mark@klomp.org>
1397 * Makefile.am: Add test for unwinding with frame pointers on aarch64
1398 * backtrace.aarch64.fp.core.bz2: New file
1399 * backtrace.aarch64.fp.exec.bz2: New file
1400 * run-backtrace-fp-core-aarch64.sh: New file
1401 * backtrace-subr.sh (check_err): Allow Invalid register.
1402 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
1404 2017-04-06 Mark Wielaard <mark@klomp.org>
1406 * run-backtrace-fp-core-i386.sh: New test.
1407 * backtrace.i386.fp.core.bz2: New test file.
1408 * backtrace.i386.fp.exec.bz2: New testfile.
1409 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
1410 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
1411 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
1413 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
1415 * Makefile.am: Add test for unwinding with frame pointers on x86_64
1416 * backtrace.x86_64.fp.core.bz2: New file
1417 * backtrace.x86_64.fp.exec.bz2: New file
1418 * run-backtrace-fp-core-x86_64.sh: New file
1420 2017-04-25 Mark Wielaard <mark@klomp.org>
1422 * backtrace-subr.sh (check_backtracegen): New function.
1423 (check_core): Add check_backtracegen call.
1424 * backtrace.ppc.exec.bz2: Regenerated.
1425 * backtrace.ppc.core.bz2: Likewise.
1427 2017-04-24 Mark Wielaard <mark@klomp.org>
1429 * backtrace.c: Remove option to allow unknown symbols in the trace.
1430 * backtrace-substr.sh: Remove option to allow unknown symbols
1431 to check_core() and allow failed symbol lookups in check_err().
1433 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
1435 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
1437 * run-readelf-zdebug-rel.sh: Likewise.
1439 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
1441 * backtrace-child.c: Include sys/ptrace.h only on linux.
1442 * backtrace-dwarf.c: Likewise.
1444 2017-04-05 Mark Wielaard <mark@klomp.org>
1446 * test-subr.sh (testrun_on_self_compressed): New function.
1447 * run-elflint-self.sh: Call testrun_on_self_compressed.
1448 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
1450 2017-03-30 Mark Wielaard <mark@klomp.org>
1452 * peel_type.c: New file.
1453 * run-peel-type.sh: New test.
1454 * Makefile.am (check_PROGRAMS): Add peel_type.c.
1455 (TESTS): Add run-peel-type.sh.
1456 (EXTRA_DIST): Likewise.
1457 (peel_type_LDADD): New variable.
1459 2017-03-27 Mark Wielaard <mark@klomp.org>
1461 * fillfile.c: New file.
1462 * Makefile.am (check_PROGRAMS): Add fillfile.
1464 (fillfile_LDADD): New variable.
1466 2017-02-15 Mark Wielaard <mark@klomp.org>
1468 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
1469 * run-readelf-A.sh: Add testfileppc64.o test.
1471 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
1473 * elfstrmerge.c: Include system.h.
1475 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
1477 * backtrace.c: Add an option to allow unknown symbols in the trace
1478 * backtrace-substr.sh: Add an option to allow unknown symbols
1479 to check_core() and allow failed symbol lookups in check_err()
1481 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
1483 * backtrace-data.c: Don't assert that symbols are found.
1484 The unwinder is allowed to ask for invalid addresses. We deny
1485 such requests, rather than make the test fail.
1487 2016-11-17 Mark Wielaard <mjw@redhat.com>
1489 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
1491 2016-11-02 Mark Wielaard <mjw@redhat.com>
1493 * backtrace-data.c (thread_callback): Add explicit break after error.
1494 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
1496 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
1498 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
1499 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
1500 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
1501 (run-unstrip-test4.sh): New file.
1502 (testfile-strtab.bz2): New file.
1503 (testfile-strtab.stripped.bz2): New file.
1504 (testfile-strtab.debuginfo.bz2): New file.
1506 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
1508 * arextract.c: Remove sys/param.h include, add system.h include.
1510 2016-08-30 Mark Wielaard <mjw@redhat.com>
1512 * Makefile.am (asm_tst?_LDADD): Add libdw.
1514 2016-08-25 Mark Wielaard <mjw@redhat.com>
1516 * backtrace-child.c: Disable and add documentation about why we disable
1517 RAISE_JMP_PATCHING even on x86_64.
1518 * backtrace.c (is_x86_64_native): Rename to...
1519 (use_raise_jmp_patching): ... this.
1520 (callback_verify): Use use_raise_jmp_patching instead of
1522 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
1524 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
1526 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
1527 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
1528 use_raise_jmp_patching instead of is_x86_64_native.
1530 2016-08-24 Mark Wielaard <mjw@redhat.com>
1532 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
1534 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1536 * testfilesparc64attrs.o.bz2: New file.
1537 * run-readelf-A.sh: Check attributes in a sparc object.
1539 2016-08-06 Mark Wielaard <mjw@redhat.com>
1541 * run-strip-reloc.sh: Add explicit compressed and uncompressed
1544 2016-08-10 Richard Henderson <rth@redhat.com>
1546 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
1549 2016-07-08 Mark Wielaard <mjw@redhat.com>
1551 * update3_LDADD: Use libdw instead of libebl.
1552 * update4_LDADD: Likewise.
1553 * alldts_LDADD: Likewise.
1554 * elfstrmerge_LDADD: Likewise.
1555 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
1556 * elfstrmerge.c (release): Likewise.
1558 * update3.c (main): Likewise.
1559 * update4.c (main): Likewise.
1561 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
1563 * Makefile.am (TESTS): Add run-strip-test11.sh.
1564 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
1565 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
1566 (run-strip-test11.sh): New file.
1567 (hello_m68k.ko.bz2): New file.
1568 (testfile-m68k-core.bz2): New file.
1569 (testfile-m68k.bz2): New file.
1570 (testfile-m68k-s.bz2): New file.
1571 * run-allregs.sh: Add test for testfile-m68k-core.
1572 * run-readelf-mixed-corenote.sh: Likewise.
1573 * run-strip-reloc.sh: Add test for hello_m68k.ko.
1575 2016-07-06 Mark Wielaard <mjw@redhat.com>
1577 * Makefile.am (check_PROGRAMS): Add vendorelf.
1579 (vendorelf_LDADD): New variable.
1580 * vendorelf.c: New test.
1581 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
1583 2016-06-24 Mark Wielaard <mjw@redhat.com>
1585 * Makefile.am (check_PROGRAMS): Add emptyfile.
1587 (emptyfile_LDADD): New variable.
1588 * emptyfile.c: New test.
1590 2016-06-28 Richard Henderson <rth@redhat.com>
1592 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
1593 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
1594 testfile-bpf-dis1.o.bz2
1595 (run-disasm-bpf.sh): New file.
1596 (testfile-bpf-dis1.expect.bz2): New file.
1597 (testfile-bpf-dis1.o.bz2): New file.
1599 2016-02-09 Mark Wielaard <mjw@redhat.com>
1601 * testfile-s390x-hash-both.bz2: New testfile.
1602 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
1603 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
1605 2016-02-04 Mark Wielaard <mjw@redhat.com>
1607 * run-strip-nobitsalign.sh: New test.
1608 * testfile-nobitsalign.bz2: New testfile.
1609 * testfile-nobitsalign.strip.bz2: Likewise.
1610 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
1611 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
1612 and testfile-nobitsalign.strip.bz2.
1613 * run-strip-test.sh: Add --gnu to elflint calls.
1615 2016-01-13 Mark Wielaard <mjw@redhat.com>
1617 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
1619 2016-01-13 Mark Wielaard <mjw@redhat.com>
1621 * dwfl-proc-attach.c: Guard linux specific header.
1623 2016-01-13 Mark Wielaard <mjw@redhat.com>
1625 * system-elf-libelf-test.c: New test.
1626 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
1627 (check_PROGRAMS): Likewise.
1628 (system_elf_libelf_test_CPPFLAGS): New variable.
1629 (system_elf_libelf_test_LDADD): Likewise.
1631 2016-01-08 Mark Wielaard <mjw@redhat.com>
1633 * elfputzdata.c (main): Fix parentheses in strncmp test.
1635 2016-01-08 Mark Wielaard <mjw@redhat.com>
1637 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
1639 2016-01-08 Mark Wielaard <mjw@redhat.com>
1641 * Makefile.am (TESTS): Always unconditionally add
1642 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
1644 2015-12-16 Mark Wielaard <mjw@redhat.com>
1646 * run-compress-test.sh: New test.
1647 * Makefile.am (TESTS): Add run-compress-test.sh.
1648 (EXTRA_DISTS): Likewise.
1650 2015-11-26 Mark Wielaard <mjw@redhat.com>
1652 * zstrptr.c: New file.
1653 * run-zstrptr.sh: New test.
1654 * elfputzdata.c (main): (re)compress .shstrtab.
1655 * run-elfputzdata.sh: Expect .shstrtab compression.
1656 * Makefile.am (check_PROGRAMS): Add zstrptr.
1657 (TESTS): Add run-zstrptr.sh.
1658 (EXTRA_DIST): Likewise.
1659 (zstrptr_LDADD): New variable.
1661 2015-10-20 Mark Wielaard <mjw@redhat.com>
1663 * run-readelf-zx.sh: New test.
1664 * run-readelf-zp.sh: Likewise.
1665 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
1666 (EXTRA_DIST): Likewise.
1668 2015-10-21 Mark Wielaard <mjw@redhat.com>
1670 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
1671 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
1672 (EXTRA_DIST: Likewise.
1673 (elfgetzdata_LDADD): New variable.
1674 (elfputzdata_LDADD): Likewise.
1675 * elfgetzdata.c: New file.
1676 * elfputzdata.c: Likewise.
1677 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
1678 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
1679 ELF_E_DECOMPRESS_ERROR.
1680 * run-elfgetzdata.sh: New test.
1681 * run-elfputzdata.sh: Likewise.
1683 2015-10-28 Mark Wielaard <mjw@redhat.com>
1685 * run-readelf-z.sh: New test.
1686 * Makefile.am (TESTS): Add run-readelf-z.sh.
1687 (EXTRA_DIST): Likewise.
1689 2015-10-28 Mark Wielaard <mjw@redhat.com>
1691 * elfgetchdr.c: New file.
1692 * run-elfgetchdr.sh: New test.
1693 * testfile-zgabi32.bz2: New testfile.
1694 * testfile-zgabi32be.bz2: Likewise.
1695 * testfile-zgabi64.bz2: Likewise.
1696 * testfile-zgabi64be.bz2: Likewise.
1697 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
1698 (TESTS): Add run-elfgetchdr.sh.
1699 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
1700 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
1701 (welfgetchdr_LDADD): New variable.
1702 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
1703 and ELF_E_INVALID_SECTION_FLAGS,
1706 2015-10-28 Mark Wielaard <mjw@redhat.com>
1708 * dwelfgnucompressed.c: New file.
1709 * run-dwelfgnucompressed.sh: New test.
1710 * testfile-zgnu32.bz2: New testfile.
1711 * testfile-zgnu64.bz2: Likewise.
1712 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
1713 (TESTS): Add run-dwelfgnucompressed.sh.
1714 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
1715 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
1716 (dwelfgnucompressed_LDADD): New variable.
1718 2015-12-31 Mark Wielaard <mjw@redhat.com>
1720 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
1721 * run-elfstrmerge-test.sh: New test.
1722 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
1723 (EXTRA_DIST): Likewise.
1725 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
1727 * run-backtrace-core-sparc.sh: New file.
1728 * backtrace.sparc.core.bz2: New file.
1729 * backtrace.sparc.exec.bz2: New file.
1730 * Makefile.am (EXTRA_DIST): ... and added all here.
1731 (TESTS): Added run-backtrace-core-sparc.sh.
1733 2015-12-02 Mark Wielaard <mjw@redhat.com>
1735 * Makefile.am (valgrind_cmd): Use --leak-check=full.
1736 * run-backtrace-demangle.sh: Disable valgrind.
1737 * run-stack-demangled-test.sh: Likewise.
1738 * run-stack-d-test.sh: Likewise.
1739 * run-stack-i-test.sh: Likewise.
1741 2015-12-01 Mark Wielaard <mjw@redhat.com>
1743 * test-flag-nobits.c (main): Call elf_end.
1744 * rerequest_tag.c (main): Call dwarf_end.
1745 * funcscopes.c (handle_function): Free scopes.
1746 * dwarf-getstring.c (main): Call dwarf_end.
1747 * allregs.c (main): Free state.info.
1748 * alldts.c (main): Free dyn.
1749 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
1751 * addrscopes.c (handle_address): Free scopes.
1753 2015-10-16 Mark Wielaard <mjw@redhat.com>
1755 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
1756 [BUILD_STATIC] (libelf): Likewise.
1758 2015-10-16 Mark Wielaard <mjw@redhat.com>
1760 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
1762 2015-10-09 Josh Stone <jistone@redhat.com>
1764 * lfs-symbols: New list of LFS-related symbols from lintian.
1765 * testfile-nolfs.bz2: New test binary for sanity checking.
1766 * run-lfs-symbols.sh: New test.
1767 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
1768 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
1770 * alldts.c (main): Replace open64 with open.
1771 * dwarf-getstring.c (main): Likewise.
1772 * arls.c: Include config.h.
1774 * rdwrmmap.c: Likewise.
1775 * test-elf_cntl_gelf_getshdr.c: Likewise.
1776 * test-flag-nobits.c: Include config.h.
1777 (main): Replace open64 with open.
1779 2015-10-09 Mark Wielaard <mjw@redhat.com>
1781 * elfshphehdr.c (check): Rename argument from check to statement.
1782 (check_elf): Likewise.
1784 2015-10-05 Josh Stone <jistone@redhat.com>
1786 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
1788 2015-10-02 Mark Wielaard <mjw@redhat.com>
1790 * elfstrmerge.c: New check program.
1791 * run-strip-strmerge.sh: New test.
1792 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
1793 (EXTRA_DIST): Add run-strip-strmerge.sh
1794 (elfstrmerge_LDADD): New variable.
1796 2015-09-29 Mark Wielaard <mjw@redhat.com>
1798 * elfshphehdr.c: New test.
1799 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
1801 (elfshphehdr_LDADD): New variable.
1803 2015-09-08 Mark Wielaard <mjw@redhat.com>
1805 * dwfl-proc-attach.c: New test.
1806 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
1808 (dwfl_proc_attach_LDADD): New variable.
1809 (dwfl_proc_attach_LDFLAGS): Likewise.
1811 2015-09-04 Chih-Hung Hsieh <chh@google.com>
1813 * varlocs.c (print_base_type): Initialize enctype.
1815 2015-09-04 Chih-Hung Hsieh <chh@google.com>
1817 * md5-sha1-test.c (md5_expected): Removed.
1818 (sha1_expected): Likewise.
1820 2015-09-04 Chih-Hung Hsieh <chh@google.com>
1822 * asm-tst1.c (main): Replace %Z length modifier with %z.
1823 * asm-tst2.c (main): Likewise.
1824 * asm-tst3.c (main): Likewise.
1825 * asm-tst4.c (main): Likewise.
1826 * asm-tst5.c (main): Likewise.
1827 * asm-tst6.c (main): Likewise.
1828 * asm-tst7.c (main): Likewise.
1829 * asm-tst8.c (main): Likewise.
1830 * asm-tst9.c (main): Likewise.
1831 * sectiondump.c (print_bytes): Likewise.
1833 2015-08-14 Mark Wielaard <mjw@redhat.com>
1835 * run-addr2line-alt-debugpath.sh: New test.
1836 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
1837 (EXTRA_DIST): Likewise.
1839 2015-07-29 Mark Wielaard <mjw@redhat.com>
1841 * run-unstrip-test3.sh: New test.
1842 * testfile-info-link.bz2: New file.
1843 * testfile-info-link.debuginfo.bz2: Likewise.
1844 * testfile-info-link.stripped.bz2: Likewise.
1845 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
1846 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
1847 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
1849 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
1851 * tests/run-deleted.sh: Skip when detecting a not implemented
1852 dwfl_linux_proc_attach.
1854 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
1856 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
1859 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
1861 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
1863 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
1865 * tests/backtrace-data.c: Reduce scope of some includes to match their
1867 * tests/backtrace.c: Likewise.
1868 * tests/deleted.c: Likewise.
1870 2015-06-16 Mark Wielaard <mjw@redhat.com>
1872 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
1873 for non-ET_REL files.
1875 2015-05-30 Mark Wielaard <mjw@redhat.com>
1877 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
1878 generated before skipping.
1879 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
1881 * run-backtrace-demangle.sh: Likewise.
1882 * run-stack-demangled-test.sh: Likewise.
1883 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
1885 * run-backtrace-native-core-biarch.sh: Likewise.
1886 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
1888 2015-05-20 Mark Wielaard <mjw@redhat.com>
1890 * run-addr2line-i-test.sh: Add pretty test.
1891 * run-addr2line-test.sh: Likewise.
1893 2015-05-20 Mark Wielaard <mjw@redhat.com>
1895 * run-addr2line-i-demangle-test.sh: New test.
1896 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
1897 (EXTRA_DIST): Likewise.
1899 2015-05-20 Mark Wielaard <mjw@redhat.com>
1901 * run-addr2line-test.sh: Add -a test variants.
1902 * run-addr2line-i-test.sh: Likewise.
1904 2015-05-20 Mark Wielaard <mjw@redhat.com>
1906 * run-addrname-test.sh: Make sure all input addresses are hex.
1908 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
1910 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
1911 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
1913 * backtrace-dwarf.c (main): Likewise.
1914 * backtrace.c (prepare_thread, exec_dump): Likewise.
1916 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
1918 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
1919 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
1920 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
1921 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
1922 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
1924 2015-05-01 Mark Wielaard <mjw@redhat.com>
1926 * run-stack-d-test.sh: Use --raw and mangled output.
1927 * run-stack-i-test.sh: Likewise.
1928 * run-stack-demangled-test.sh: New test.
1929 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
1932 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1934 * Makefile.am (TESTS): Add run-strip-test10.sh.
1935 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
1936 Add testfile-x32-debug.bz2.
1937 * run-strip-test10.sh: New file.
1938 * testfile-x32-d.bz2: Likewise.
1939 * testfile-x32-debug.bz2: Likewise.
1941 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1943 * Makefile.am (TESTS): Add run-strip-test9.sh.
1944 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
1945 * run-strip-test9.sh: New file.
1946 * testfile-x32-s.bz2: Likewise.
1948 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1950 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
1951 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
1952 Add backtrace.x32.exec.bz2.
1953 * backtrace.x32.core.bz2 : New file.
1954 * backtrace.x32.exec.bz2: Likewise.
1955 * run-backtrace-core-x32.sh: Likewise.
1957 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1959 * run-addrcfi.sh: Add a test for testfile-x32.
1960 * testfile-x32.bz2: New file.
1961 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
1963 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1965 * run-allregs.sh: Add a test for testfile-x32-core.
1967 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1969 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
1970 * testfile-x32-core.bz2: New file.
1971 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
1973 2015-03-18 Petr Machata <pmachata@redhat.com>
1975 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
1977 * allregs.c (dwarf_encoding_string): Likewise.
1978 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
1979 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
1981 2015-03-18 Petr Machata <pmachata@redhat.com>
1983 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
1984 debug-ranges-no-lowpc.o.bz2.
1986 2015-03-13 Mark Wielaard <mjw@redhat.com>
1988 * backtrace-dwarf.c: Add explicit includes.
1989 (cleanup_13_abort): Remove unused static declaration.
1990 (thread_callback): Add explicit return.
1992 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
1994 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
1995 instead of PTRACE_POKEUSER.
1996 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
1999 2015-02-18 Mark Wielaard <mjw@redhat.com>
2001 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
2003 2015-02-11 Josh Stone <jistone@redhat.com>
2005 * backtrace.c (exec_dump): Initialize jmp.
2007 2015-02-11 Petr Machata <pmachata@redhat.com>
2009 * run-dwarf-ranges.sh: New test.
2010 * dwarf-ranges.c: New file.
2011 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
2013 2015-01-21 Mark Wielaard <mjw@redhat.com>
2015 * Makefile.am (check_PROGRAMS): Add elfstrtab.
2017 (elfstrtab_LDADD): New variable.
2018 * elfstrtab.c: New test.
2020 2015-01-20 Mark Wielaard <mjw@redhat.com>
2022 * Makefile.am (check_PROGRAMS): Add newdata.
2024 (newdata_LDADD): new variable.
2025 * newdata.c: New test.
2027 2015-01-20 Mark Wielaard <mjw@redhat.com>
2029 * strptr.c: New file.
2030 * run-strptr.sh: New test.
2031 * Makefile.am (check_PROGRAMS): Add strptr.
2032 (TESTS): Add run-strptr.sh.
2033 (EXTRA_DIST): Likewise.
2034 (strptr_LDADD): New variable.
2036 2015-01-15 Mark Wielaard <mjw@redhat.com>
2038 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
2039 * vdsosyms.c (main): Use getpid () instead of getppid ().
2041 2014-12-27 Mark Wielaard <mjw@redhat.com>
2043 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
2044 * funcscopes.c (handle_function): Likewise.
2045 * run-addrscopes.sh: Adjust last address in scope.
2046 * run-funcscopes.sh: Likewise.
2048 2015-01-07 Mark Wielaard <mjw@redhat.com>
2050 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
2052 2015-01-14 Mark Wielaard <mjw@redhat.com>
2054 * testfile-debug-types.bz2: New testfile.
2055 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
2056 * typeiter2.c (main): Print both name and offset of found form DIE.
2057 * run-typeiter.s: Adjust output and add testfile-debug-types.
2059 2014-12-26 Mark Wielaard <mjw@redhat.com>
2061 * run-test-archive64.sh: Add nm test.
2063 2014-12-19 Mark Wielaard <mjw@redhat.com>
2065 * run-deleted.sh: Don't check libfunc on ppc64.
2067 2014-12-19 Mark Wielaard <mjw@redhat.com>
2069 * vdsosyms.c (vdso_seen): Removed.
2070 (vdso_syms): New global.
2071 (module_callback): Set and check vdso_syms.
2072 (main): Return value depends on vdso_syms.
2074 2014-12-19 Mark Wielaard <mjw@redhat.com>
2076 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
2078 * run-deleted.sh: Call check_native_unsupported.
2080 2014-12-18 Mark Wielaard <mjw@redhat.com>
2082 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
2084 2014-12-12 Mark Wielaard <mjw@redhat.com>
2086 * Makefile.am (deleted_lib_so_CFLAGS): Add
2087 -fasynchronous-unwind-tables.
2089 2014-12-11 Josh Stone <jistone@redhat.com>
2091 * run-addr2line-i-lex-test.sh: New test.
2092 * testfile-lex-inlines.bz2: New testfile.
2093 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
2094 testfile-lex-inlines.bz2.
2095 (TESTS): Add run-addr2line-i-lex-test.sh.
2097 2014-12-10 Josh Stone <jistone@redhat.com>
2099 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
2100 preferred over the plain die name.
2102 2014-12-02 Petr Machata <pmachata@redhat.com>
2104 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
2105 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
2106 (main): Initialize off to DWARF_GETMACROS_START when an extra
2107 command line argument is passed.
2108 * testfile-macros-0xff.bz2: New test case.
2109 * testfile-macros-0xff.s: New file (source for the above).
2110 * run-dwarf-getmacros.sh: Add two tests.
2112 2014-11-27 Mark Wielaard <mjw@redhat.com>
2114 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
2116 2014-11-21 Mark Wielaard <mjw@redhat.com>
2118 * run-readelf-A.sh: New test.
2119 * testfileppc32attrs.o.bz2: New test file.
2120 * Makefile.am (TESTS): Add run-readelf-A.sh.
2121 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
2123 2014-11-10 Mark Wielaard <mjw@redhat.com>
2125 * vdsosyms.c: New test.
2126 * Makefile.am (check_PROGRAMS): Add vdsosyms.
2128 (vdsosyms_LDADD): New variable.
2130 2014-09-10 Petr Machata <pmachata@redhat.com>
2132 * dwarf-getmacros.c: Update to use the new macro iteration
2134 * run-dwarf-getmacros.sh: Adjust, add a test that uses
2137 2014-10-06 Mark Wielaard <mjw@redhat.com>
2139 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
2140 * testfile-sizes3.o.bz2: New test file.
2141 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
2143 2014-10-02 Mark Wielaard <mjw@redhat.com>
2145 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
2147 2014-10-02 Mark Wielaard <mjw@redhat.com>
2149 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
2150 (TESTS): Add run-aggregate-size.sh.
2151 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
2152 and testfile-sizes2.o.bz2.
2153 (aggregate_size_LDADD): New variable.
2154 * aggregate_size.c: New file.
2155 * run-aggregate-size.sh: New test.
2156 * testfile-sizes1.o.bz2: New test file.
2157 * testfile-sizes2.o.bz2: Likewise.
2159 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2161 Support NT_FILE for locating files.
2162 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
2163 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
2164 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
2165 * linkmap-cut-lib.so.bz2: New file.
2166 * linkmap-cut.bz2: New file.
2167 * linkmap-cut.core.bz2: New file.
2168 * run-linkmap-cut.sh: New file.
2169 * run-unstrip-n.sh: Update its expected output.
2171 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2173 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
2174 (TESTS, EXTRA_DIST): Add run-deleted.sh.
2175 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
2176 * deleted-lib.c: New file.
2177 * deleted.c: New file.
2178 * run-deleted.sh: New file.
2180 2014-06-15 Mark Wielaard <mjw@redhat.com>
2182 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
2184 2014-06-13 Mark Wielaard <mjw@redhat.com>
2186 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
2189 2014-06-13 Mark Wielaard <mjw@redhat.com>
2191 * backtrace-subr.sh (check_native_unsupported): New function.
2192 (check_native): Call it.
2193 (check_native_core): Likewise.
2194 * run-backtrace-dwarf.sh: Likewise.
2196 2014-06-11 Mark Wielaard <mjw@redhat.com>
2198 * backtrace.c (main): Check that Dwfl was attached by calling
2199 dwfl_pid and printing the error when it is not.
2201 2014-05-18 Mark Wielaard <mjw@redhat.com>
2203 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
2205 * testfile-backtrace-demangle.bz2: Regenerate.
2206 * testfile-backtrace-demangle.core.bz2: Likewise.
2208 2014-05-02 Mark Wielaard <mjw@redhat.com>
2210 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
2211 run-allfcts-multi.sh are now added unconditionally.
2213 2014-05-01 Mark Wielaard <mjw@redhat.com>
2215 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
2218 2014-04-30 Mark Wielaard <mjw@redhat.com>
2220 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
2221 * Makefile.am (check_PROGRAMS): Add buildid.
2222 (TESTS): Add run-buildid.sh.
2223 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
2224 (buildid_LDADD): New variable.
2226 2014-04-24 Florian Weimer <fweimer@redhat.com>
2228 * allfcts.c (setup_alt): New function.
2229 (main): Call it. Implementation additional error checking and
2232 2014-04-24 Florian Weimer <fweimer@redhat.com>
2234 * debugaltlink.c, run-debugaltlink.sh: New files.
2235 * Makefile.am (check_PROGRAMS): Add debugaltlink.
2236 (TESTS): Add run-debugaltlink.sh.
2237 (debugaltlink_LDADD): New variable.
2239 2014-04-11 Mark Wielaard <mjw@redhat.com>
2241 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
2242 (check_PROGRAMS): Add debuglink.
2243 (TESTS): Add run-debuglink.sh
2244 (EXTRA_DIST): Likewise.
2245 (debuglink_LDADD): New.
2246 * debuglink.c: New file.
2247 * run-debuglink.sh: Likewise.
2249 2014-03-23 Mark Wielaard <mjw@redhat.com>
2251 * run-nm-self.sh: Use test = not == for string comparisons.
2253 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
2255 * backtrace.c: Make Linux only.
2256 * backtrace-child.c: Make Linux only.
2257 * backtrace-data.c: Make Linux only.
2258 * backtrace-dwarf.c: Make Linux only.
2259 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
2261 2014-03-14 Mark Wielaard <mjw@redhat.com>
2263 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
2265 * configure.ac: Remove MUDFLAP conditional.
2267 2014-04-09 Mark Wielaard <mjw@redhat.com>
2269 * run-readelf-zdebug.sh: New test.
2270 * testfile-debug.bz2: New testfile.
2271 * testfile-zdebug.bz2: New testfile.
2272 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
2273 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
2274 testfile-zdebug.bz2.
2276 2014-04-10 Mark Wielaard <mjw@redhat.com>
2278 * testfile_i686_core.bz2: New test file.
2279 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
2280 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
2282 2014-04-09 Mark Wielaard <mjw@redhat.com>
2284 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
2285 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
2286 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
2287 * run-backtrace-core-aarch64.sh: New test.
2289 2014-03-11 Josh Stone <jistone@redhat.com>
2291 * testfilebaxmin.bz2: New testfile.
2292 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
2293 * run-readelf-s.sh: Test testfilebaxmin.
2294 * run-dwflsyms.sh: Likewise.
2296 2014-01-26 Mark Wielaard <mjw@redhat.com>
2298 * backtrace-subr.sh (check_unsupported): Special case arm*.
2300 2014-01-25 Mark Wielaard <mjw@redhat.com>
2302 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
2303 location expression: call_frame_cfa stack_value.
2305 2014-01-22 Mark Wielaard <mjw@redhat.com>
2307 * Makefile.am (line2addr_no_Wformat): Removed.
2309 2014-01-21 Mark Wielaard <mjw@redhat.com>
2311 * Makefile.am (TESTS): Add run-stack-i-test.sh.
2312 (EXTRA_DIST): Likewise.
2313 * run-stack-i-test.sh: New test.
2315 2014-01-20 Mark Wielaard <mjw@redhat.com>
2317 * Makefile.am (TESTS): Add run-stack-d-test.sh.
2318 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
2319 testfiledwarfinlines.core.bz2.
2320 * run-stack-d-test.sh: New test.
2321 * testfiledwarfinlines.bz2: New test file.
2322 * testfiledwarfinlines.core.bz2: Likewise.
2324 2014-01-16 Mark Wielaard <mjw@redhat.com>
2326 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
2327 on one ET_REL, one ET_EXEC and one ET_DYN file.
2328 * test-subr.sh (self_test_files): Add two ET_REL files, only add
2329 two libebl ET_DYN backend files.
2331 2014-01-16 Mark Wielaard <mjw@redhat.com>
2333 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
2335 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2337 Fix false FAILs on testsuite with ulimit -c unlimited.
2338 * backtrace-child.c (sigusr2): Call pthread_exit.
2339 (main): Return, do not call abort.
2341 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2343 Fix corruption of non-C++ symbols by the demangler.
2344 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
2345 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
2346 (EXTRA_DIST): Add run-backtrace-demangle.sh,
2347 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
2348 testfile-backtrace-demangle.core.bz2.
2349 * backtrace-demangle.cc: New file.
2350 * run-backtrace-demangle.sh: New file.
2351 * testfile-backtrace-demangle.bz2: New file.
2352 * testfile-backtrace-demangle.cc: New file.
2353 * testfile-backtrace-demangle.core.bz2: New file.
2355 2014-01-07 Matthias Klose <doko@ubuntu.com>
2357 * backtrace-subr.sh (check_native_core): Check to see if core file
2358 was created without ".PID" extension, if so mv core to core.PID.
2359 Skip test if no core file was created or could be found.
2361 2014-01-04 Mark Wielaard <mjw@redhat.com>
2363 * backtrace-data.c (main): Don't assert if raise returns.
2364 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
2365 assume_ptrace_attached true.
2366 (ptrace_detach_stopped): Removed function.
2367 (main): Don't call ptrace_detach_stopped.
2368 * backtrace.c (ptrace_detach_stopped): Removed function.
2369 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
2371 (exec_dump): Don't call ptrace_detach_stopped.
2373 2014-01-04 Mark Wielaard <mjw@redhat.com>
2375 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
2376 if we cannot adjust core ulimit.
2378 2014-01-04 Mark Wielaard <mjw@redhat.com>
2380 * cleanup-13.c (force_unwind_stop): Removed.
2381 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
2382 don't call _Unwind_ForcedUnwind.
2384 2014-01-03 Mark Wielaard <mjw@redhat.com>
2386 * run-addrcfi.sh: Add case for EM_AARCH64.
2387 * testfileaarch64.bz2: New testfile.
2388 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
2390 2013-12-30 Mark Wielaard <mjw@redhat.com>
2392 * backtrace-dwarf.c (report_pid): Explicitly call
2393 dwfl_linux_proc_attach and check for errors.
2394 * backtrace.c (report_pid): Likewise.
2396 2013-12-21 Mark Wielaard <mjw@redhat.com>
2398 * backtrace.c (callback_verify): Only assert that case 5 is the last
2399 instruction of backtracegen on x86_64 native.
2401 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2402 Mark Wielaard <mjw@redhat.com>
2404 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
2405 and testfilebaz*ppc64*.bz2 files.
2406 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
2407 error on dwfl_module_getsymtab error.
2408 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
2409 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
2410 Also print section of actual value if different from sym.
2411 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
2412 Test addr2line -x by showing different sections for address and
2413 found name in testfile66.
2414 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
2415 testfilebaz*ppc64): New tests.
2416 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
2417 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
2418 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
2419 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
2420 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
2421 testfilebaztabppc64.bz2: New test files.
2423 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2425 unwinder: s390 and s390x
2426 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
2427 run-backtrace-core-s390.sh.
2428 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
2429 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
2430 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
2431 * backtrace.s390.core.bz2: New file.
2432 * backtrace.s390.exec.bz2: New file.
2433 * backtrace.s390x.core.bz2: New file.
2434 * backtrace.s390x.exec.bz2: New file.
2435 * run-backtrace-core-s390.sh: New file.
2436 * run-backtrace-core-s390x.sh: New file.
2438 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2440 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
2443 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2446 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
2447 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
2448 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
2449 * backtrace.ppc.core.bz2: New file.
2450 * backtrace.ppc.exec.bz2: New file.
2451 * run-backtrace-core-ppc.sh: New file.
2453 2013-12-10 Mark Wielaard <mjw@redhat.com>
2455 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
2457 2013-12-10 Mark Wielaard <mjw@redhat.com>
2459 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
2460 * backtrace-subr.sh (check_native_core): Disable valgrind while
2462 * run-backtrace-data.sh: Disable valgrind.
2463 * run-backtrace-dwarf.sh: Likewise.
2465 2013-12-09 Mark Wielaard <mjw@redhat.com>
2467 * varlocs.c (print_expr): Update comment to explain empty location
2468 associated with DW_OP_GNU_implicit_pointer.
2470 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2472 Fix test FAIL with -O2.
2473 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
2475 2013-12-05 Mark Wielaard <mjw@redhat.com>
2477 * backtrace-data.c (main): If unsupported also print to stderr.
2478 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
2480 2013-12-04 Mark Wielaard <mjw@redhat.com>
2482 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
2484 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2486 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
2487 backtrace-data and backtrace-dwarf.
2488 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
2489 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
2490 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
2491 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
2492 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
2493 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
2494 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
2495 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
2496 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
2497 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
2498 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
2499 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
2500 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
2501 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
2503 * backtrace-child.c: New file.
2504 * backtrace-data.c: New file.
2505 * backtrace-dwarf.c: New file.
2506 * backtrace-subr.sh: New file.
2507 * backtrace.c: New file.
2508 * cleanup-13.c: New file.
2509 * backtrace.i386.core.bz2: New file.
2510 * backtrace.i386.exec.bz2: New file.
2511 * backtrace.x86_64.core.bz2: New file.
2512 * backtrace.x86_64.exec.bz2: New file.
2513 * run-backtrace-core-i386.sh: New file.
2514 * run-backtrace-core-x86_64.sh: New file.
2515 * run-backtrace-native-biarch.sh: New file.
2516 * run-backtrace-native-core-biarch.sh: New file.
2517 * run-backtrace-native-core.sh: New file.
2518 * run-backtrace-native.sh: New file.
2519 * run-backtrace-data.sh: New file.
2520 * run-backtrace-dwarf.sh: New file.
2522 2013-11-27 Mark Wielaard <mjw@redhat.com>
2524 * dwflsyms.c (gelf_bind_order): New function.
2525 (elf_section_name): Likewise.
2526 (addr_in_section): Likewise.
2527 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
2528 Refine assert using gelf_bind_order. Print elf_section_name. Check
2529 bias with addr_in_section.
2530 * run-dwflsyms.sh: Add section names to expected output.
2532 2013-11-26 Mark Wielaard <mjw@redhat.com>
2534 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
2536 2013-11-25 Petr Machata <pmachata@redhat.com>
2538 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
2539 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
2540 * Makefile.am (EXTRA_DIST): Add these.
2541 (TESTS): Add run-funcretval.sh.
2542 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
2543 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
2544 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
2545 * run-funcretval.sh: New file.
2547 2013-11-18 Josh Stone <jistone@redhat.com>
2549 * testfilebazdbg_plr.bz2: New testfile.
2550 * testfilebazmin_plr.bz2: Likewise.
2551 * Makefile.am (EXTRA_DIST): Add the above files.
2552 * run-dwflsyms.sh: Add prelink -r tests.
2554 2013-11-15 Mark Wielaard <mjw@redhat.com>
2556 * testfilebazmdb.bz2: Regenerated.
2557 * testfilebazmin.bz2: Likewise.
2558 * testfilebazdbg_pl.bz2: New testfile.
2559 * testfilebazmin_pl.bz2: Likewise.
2560 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
2561 testfilebazmin_pl.bz2.
2562 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
2563 print relative address of function symbols.
2564 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
2566 2013-11-01 Michael Forney <mforney@mforney.org>
2568 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
2569 * run-arsymtest.sh: Use NM.
2571 2013-11-05 Mark Wielaard <mjw@redhat.com>
2573 * allfcts.c (main): Correct dwarf_getfuncs return value check.
2575 2013-10-10 Mark Wielaard <mjw@redhat.com>
2576 Josh Stone <jistone@redhat.com>
2578 * run-allfcts-multi.sh: New test.
2579 * test-offset-loop.bz2: New testfile.
2580 * test-offset-loop.alt.bz2: New testfile.
2581 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
2582 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
2583 test-offset-loop.alt.bz2.
2585 2013-10-15 Mark Wielaard <mjw@redhat.com>
2587 * run-unstrip-M.sh: New test.
2588 * Makefile.am (TESTS): Add run-unstrip-M.sh.
2589 (EXTRA_DIST): Likewise.
2591 2013-10-06 Mark Wielaard <mjw@redhat.com>
2593 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
2594 location expression.
2596 2013-10-03 Josh Stone <jistone@redhat.com>
2598 * typeiter2.c: New file, reversing typeiter.c.
2599 * run-typeiter.sh: Also run typeiter2.
2600 * Makefile.am (check_PROGRAMS): Add typeiter2.
2601 (typeiter2_LDADD): New variable.
2603 2013-09-26 Petr Machata <pmachata@redhat.com>
2605 * run-readelf-mixed-corenote.sh: Update output of testfile71
2606 dump--readelf can newly decode the NT_FILE note.
2608 2013-09-26 Petr Machata <pmachata@redhat.com>
2610 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
2611 * run-readelf-mixed-corenote.sh: New test for this file.
2612 * testfile71.bz2: New file.
2614 2013-09-20 Mark Wielaard <mjw@redhat.com>
2616 * allfcts.c (cb): Return DWARF_CB_ABORT.
2617 (main): Iterate over all offsets returned by dwarf_getfuncs.
2618 * run-allfcts.sh: Add nested_funcs and class_func testcases.
2619 * testfile_nested_funcs.bz2: New test file.
2620 * testfile_class_func.bz2: Likewise.
2621 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
2622 testfile_nested_funcs.bz2.
2624 2013-08-30 Mark Wielaard <mjw@redhat.com>
2626 * Makefile.am (check_PROGRAMS): Add varlocs.
2627 (TESTS): Add run-varlocs.sh.
2628 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
2629 testfile_const_type.bz2, testfile_implicit_pointer.c,
2630 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
2631 testfile_entry_value.c, testfile_entry_value.bz2,
2632 testfile_implicit_value.c and testfile_implicit_value.bz2.
2633 (varlocs_LDADD): New.
2634 * run-varlocs: New test.
2635 * testfile_const_type.c: New test source file.
2636 * testfile_entry_value.c: Likewise.
2637 * testfile_implicit_pointer.c: Likewise.
2638 * testfile_implicit_value.c: Likewise.
2639 * testfile_parameter_ref.c: Likewise.
2640 * testfile_const_type.bz2: New test file.
2641 * testfile_entry_value.bz2: Likewise.
2642 * testfile_implicit_pointer.bz2: Likewise.
2643 * testfile_implicit_value.bz2: Likewise.
2644 * testfile_parameter_ref.bz2: Likewise.
2645 * varlocs.c: New test source.
2647 2013-08-29 Mark Wielaard <mjw@redhat.com>
2649 * run-addrcfi.sh: Add case for EM_ARM.
2650 * testfilearm.bz2: New testfile.
2651 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
2653 2013-08-28 Mark Wielaard <mjw@redhat.com>
2655 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
2657 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
2658 * testfiles390.bz2: New testfile.
2659 * testfiles390x.bz2: Likewise.
2660 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
2663 2013-08-28 Mark Wielaard <mjw@redhat.com>
2665 * addrcfi.c (handle_cfi): Use printf not error.
2666 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
2667 * testfileppc32.bz2: New testfile.
2668 * testfileppc64.bz2: Likewise.
2669 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
2672 2013-08-27 Mark Wielaard <mjw@redhat.com>
2674 * run-addrcfi.sh: New test.
2675 * Makefile.am (TESTS): Add run-addrcfi.sh.
2676 (EXTRA_DIST): Likewise.
2677 * addrcfi.c (op_name): New function.
2678 (print_detail): Call and print op_name. Check ops, not result
2679 to check if this is "same value" or "undefined".
2680 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
2682 2013-08-13 Mark Wielaard <mjw@redhat.com>
2684 * run-addr2line-i-test.sh: New test.
2685 * testfile-inlines.bz2: New testfile.
2686 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
2687 testfile-inlines.bz2.
2688 (TESTS): Add run-addr2line-i-test.sh.
2690 2013-08-12 Mark Wielaard <mjw@redhat.com>
2692 * run-addr2line-test.sh: New test.
2693 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
2696 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2698 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
2701 2013-07-02 Mark Wielaard <mjw@redhat.com>
2703 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
2704 testfilenolines.bz2.
2706 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2708 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
2709 test-core.core.bz2 and test-core.exec.bz2.
2710 * run-addrname-test.sh: New test for these files.
2711 * run-unstrip-n.sh: Update expected output. New test for these files.
2712 * test-core-lib.so.bz2: New file.
2713 * test-core.core.bz2: New file.
2714 * test-core.exec.bz2: New file.
2716 2013-05-03 Mark Wielaard <mjw@redhat.com>
2718 * testfilenolines.bz2: New test file.
2719 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
2720 * run-get-lines.sh: Run testrun_compare on testfilenolines.
2722 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2724 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
2726 2013-04-29 Mark Wielaard <mjw@redhat.com>
2728 * test-subr.sh: Don't use pushd, just cd into test-dir.
2729 (exit_cleanup): Don't use popd, just cd .. to get out.
2731 2013-04-27 Mark Wielaard <mjw@redhat.com>
2733 * test-subr.sh (exit_cleanup): New function.
2734 (trap): Use exit_cleanup as argument.
2735 * run-native-test.sh (native_exit): New function.
2736 (trap): For EXIT (0) use native_exit as argument.
2738 2013-04-27 Mark Wielaard <mjw@redhat.com>
2740 * update1.c (main): Use unique tempfile name and unlink file.
2741 * update2.c (main): Likewise.
2742 * update3.c (main): Likewise.
2743 * update4.c (main): Use unique tempfile name.
2745 2013-04-27 Mark Wielaard <mjw@redhat.com>
2747 * run-alldts.sh: Add testfile-alldts to tempfiles.
2748 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
2749 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
2750 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
2751 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
2753 2013-04-26 Mark Wielaard <mjw@redhat.com>
2755 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
2757 (TESTS_ENVIRONMENT): Likewise.
2758 (installed_LOG_COMPILER): New variable defining wrapper.
2759 (LOG_COMPILER): Likewise.
2760 * run-*.sh: Fixup location of input and output files.
2761 * test-subr.sh: Create test_dir, pushd to execute test in.
2762 (trap): Remove test_dir.
2763 (testfiles): Use abs_srcdir.
2764 (installed_testrun): Match on abs_builddir or abs_top_builddir.
2765 (self_test_files): Adjust path.
2767 2013-04-24 Mark Wielaard <mjw@redhat.com>
2769 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
2771 2013-03-25 Mark Wielaard <mjw@redhat.com>
2773 * run-readelf-aranges.sh: New test.
2774 * testfilefoobarbaz.bz2: New test file.
2775 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
2776 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
2778 2013-03-25 Mark Wielaard <mjw@redhat.com>
2780 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
2782 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2784 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
2785 (TESTS): Add run-dwfl-report-elf-align.sh.
2786 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
2787 testfile-dwfl-report-elf-align-shlib.so.bz2 .
2788 (dwfl_report_elf_align_LDADD): New.
2789 * dwfl-report-elf-align.c: New file.
2790 * run-dwfl-report-elf-align.sh: New file.
2791 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
2793 2013-03-12 Mark Wielaard <mjw@redhat.com>
2795 * run-dwfllines.sh: New test.
2796 * dwfllines.c: New test program.
2797 * Makefile.am (TESTS): Add run-dwfllines.sh.
2798 (EXTRA_DIST): Likewise.
2799 (dwfllines_LDADD): New variable.
2801 2013-02-22 Mark Wielaard <mjw@redhat.com>
2803 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
2804 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
2806 2013-02-15 Mark Wielaard <mjw@redhat.com>
2808 * testfile-dwzstr.bz2: New testfile.
2809 * testfile-dwzstr.multi.bz2: Likewise.
2810 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
2811 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
2812 testfile-dwzstr.multi.bz2.
2814 2013-01-30 Mark Wielaard <mjw@redhat.com>
2816 * testfileloc.bz2: New testfile.
2817 * run-readelf-loc.sh: New test.
2818 * Makefile.am (TESTS): Add run-readelf-loc.sh.
2819 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
2821 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2823 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
2824 and s390x core notes.
2825 * testfile67.bz2: New file.
2826 * testfile68.bz2: New file.
2827 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
2829 2013-01-23 Mark Wielaard <mjw@redhat.com>
2831 * testfilebasmin.bz2: New testfile.
2832 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
2833 * run-readelf-s.sh: Test testfilebasmin.
2834 * run-dwflsyms.sh: Likewise.
2836 2013-01-16 Mark Wielaard <mjw@redhat.com>
2838 * Makefile.am (check_PROGRAMS): Add dwflsyms.
2839 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
2840 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
2841 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
2842 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
2843 (dwflsyms_LDADD): New variable.
2845 2013-01-07 Roland McGrath <roland@hack.frob.com>
2847 * run-prelink-addr-test.sh: Use ln -snf.
2849 2012-12-03 Mark Wielaard <mjw@redhat.com>
2851 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
2853 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2855 * run-addrname-test.sh: New test for PIE relocation.
2856 * testfile70.core.bz2: New file.
2857 * testfile70.exec.bz2: New file.
2858 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
2859 testfile70.exec.bz2 .
2861 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2863 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
2864 testfile69.core.bz2 and testfile69.so.bz2 .
2866 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2868 * run-addrname-test.sh: New test for DSO with build-id bias.
2869 * testfile69.core.bz2: New file.
2870 * testfile69.so.bz2: New file.
2872 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2874 * run-addrname-test.sh: New test for core vDSO bias.
2875 * testfile65.bz2: New file.
2877 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2879 * run-addrname-test.sh: New test for symbol preferences.
2880 * testfile64.bz2: New file.
2882 2012-10-01 Mark Wielaard <mjw@redhat.com>
2884 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
2885 * test-wrapper.sh: Export VALGRIND_CMD if available.
2886 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
2887 (installed_testrun): Likewise.
2889 2012-09-24 Petr Machata <pmachata@redhat.com>
2891 * testfile63.bz2: New testfile.
2892 * run-readelf-mixed-corenote.sh: New test.
2893 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
2894 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
2896 2012-09-24 Petr Machata <pmachata@redhat.com>
2898 * testfile62.bz2: New testfile.
2899 * run-readelf-vmcoreinfo.sh: New test.
2900 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
2901 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
2903 2012-09-18 Petr Machata <pmachata@redhat.com>
2905 * testfile61.bz2: New testfile.
2906 * run-allregs.sh: Run reg_test testfile61.
2907 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
2909 2012-08-24 Mark Wielaard <mjw@redhat.com>
2911 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
2913 2012-08-22 Jeff Kenton <jkenton@tilera.com>
2915 * testfile60.bz2: New testfile.
2916 * run-allregs.sh: Run reg_test testfile60.
2918 2012-08-24 Mark Wielaard <mjw@redhat.com>
2920 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
2923 2012-08-16 Mark Wielaard <mjw@redhat.com>
2925 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
2927 * show-die-info.c (tagnames): Removed.
2929 (dwarf_tag_string): New function using known-dwarf macros.
2930 (dwarf_attr_string): Likewise.
2931 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
2932 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
2934 2012-06-27 Mark Wielaard <mjw@redhat.com>
2936 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
2937 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
2938 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
2939 testfile_multi_main.bz2.
2940 * run-readelf-dwz-multi.sh: New test.
2941 * libtestfile_multi_shared.so.bz2: New testfile.
2942 * testfile_multi.dwz.bz2: New testifle.
2943 * testfile_multi_main.bz2: New testifle.
2945 2012-08-01 Petr Machata <pmachata@redhat.com>
2947 * run-test-archive64.sh: New test.
2948 * testarchive64.a.bz2: New testfile.
2949 * Makefile.am (TESTS): Add run-test-archive64.sh.
2950 (EXTRA_DIST): Likewise.
2952 2012-08-01 Mark Wielaard <mjw@redhat.com>
2954 * run-nm-self.sh: New test.
2955 * run-readelf-self.sh: Likewise.
2956 * test-subr.sh (testrun_on_self_quiet): New function.
2957 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
2958 (EXTRA_DIST): Likewise.
2960 2012-08-01 Mark Wielaard <mjw@redhat.com>
2962 * test-subr.sh (self_test_files): New list of files.
2963 (testrun_on_self): New function.
2964 * run-elflint-self.sh: Use testrun_on_self.
2966 2012-07-19 Mark Wielaard <mjw@redhat.com>
2968 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
2969 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
2970 (EXTRA_DIST): Likewise.
2971 (test_elf_cntl_gelf_getshdr_LDADD): New.
2972 test-elf_cntl_gelf_getshdr.c: New test program.
2973 run-elf_cntl_gelf_getshdr.sh: New test script.
2975 2012-07-19 Mark Wielaard <mjw@redhat.com>
2977 * run-elflint-self.sh: runtests on ../backends/*so files.
2979 2012-07-19 Mark Wielaard <mjw@redhat.com>
2981 * run-unstrip-n.sh: test_cleanup.
2982 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
2984 2012-07-11 Mark Wielaard <mjw@redhat.com>
2986 * run-readelf-macro.sh: New test.
2987 * testfilemacro.bz2: New testfile.
2988 * Makefile.am (TESTS): Add run-readelf-macro.sh.
2989 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2991 2012-06-27 Mark Wielaard <mjw@redhat.com>
2993 * run-readelf-gdb-index.sh: New test.
2994 * testfilegdbindex5.bz2: New testfile.
2995 * testfilegdbindex7.bz2: Likewise.
2996 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
2997 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
2998 testfilegdbindex7.bz2.
3000 2012-07-17 Mark Wielaard <mjw@redhat.com>
3002 * testcore-rtlib-ppc.bz2: New testfile.
3003 * run-unstrip-n.sh: Check new ppc core testfile.
3005 2012-06-26 Mike Frysinger <vapier@gentoo.org>
3007 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
3009 2012-06-26 Mark Wielaard <mjw@redhat.com>
3011 * run-macro-test.sh: New test.
3012 * testfile-macinfo.bz2: New testfile.
3013 * testfile-macros.bz2: Likewise.
3015 2012-05-07 Mark Wielaard <mjw@redhat.com>
3017 * low_high_pc.c: Use proper inttypes in printf formats.
3019 2012-05-11 Mark Wielaard <mjw@redhat.com>
3021 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
3023 2012-05-07 Mark Wielaard <mjw@redhat.com>
3025 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
3027 2012-04-27 Mark Wielaard <mjw@redhat.com>
3029 * Makefile.am (TESTS): Add run-low_high_pc.sh
3030 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
3031 (noinst_PROGRAMS): Add low_high_pc.
3032 (low_high_pc_LDADD): New variable.
3033 * low_high_pc.c: New test.
3035 2012-04-26 Mark Wielaard <mjw@redhat.com>
3037 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
3038 * run-show-ciefde.sh: Removed old libdwarf test.
3039 * show-ciefde.c: Likewise.
3041 2012-04-02 Mark Wielaard <mjw@redhat.com>
3043 * Makefile.am (TESTS): Add run-unstrip-n.sh.
3044 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
3045 * run-unstrip-n.sh: New test.
3046 * testcore-rtlib.bz2: New testfile.
3048 2012-04-02 Mark Wielaard <mjw@redhat.com>
3050 * Makefile.am (TESTS): Add run-readelf-d.sh.
3051 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
3052 * run-readelf-d.sh: New test.
3053 * run-elflint-test.sh: Check new testfile.
3055 2012-03-21 Tom Tromey <tromey@redhat.com>
3057 * typeiter.c: New file.
3058 * run-typeiter.sh: New file.
3059 * testfile59.bz2: New file.
3060 * Makefile.am (noinst_PROGRAMS): Add typeiter.
3061 (TESTS): Add run-typeiter.sh.
3062 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
3063 (typeiter_LDADD): New variable.
3065 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
3067 * run-alldts.sh: testrun ./alldts.
3069 2012-02-21 Roland McGrath <roland@hack.frob.com>
3071 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
3072 * test-subr.sh (installed_testrun): Likewise.
3074 2012-01-18 Roland McGrath <roland@hack.frob.com>
3076 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
3077 it will have been inherited correctly from the test harness.
3078 * asm-tst5.c (main): Likewise.
3079 * asm-tst6.c (main): Likewise.
3080 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
3082 2011-07-09 Roland McGrath <roland@hack.frob.com>
3084 * sha1-tst.c: File removed.
3085 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
3086 (sha1_tst_LDADD): Variable removed.
3088 * md5-sha1-test.c: New file.
3089 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
3090 (md5_sha1_test_LDADD): New variable.
3092 2011-05-30 Mark Wielaard <mjw@redhat.com>
3094 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
3095 run-rerequest_tag.sh
3097 2011-05-24 Mark Wielaard <mjw@redhat.com>
3099 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
3100 * run-strip-reloc.sh: Add hello_s390.ko testcase.
3101 * hello_s390.ko.bz2: New test file.
3103 2011-05-23 Mark Wielaard <mjw@redhat.com>
3105 * Makefile.am (TESTS): Add run-strip-reloc.sh.
3106 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
3107 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
3108 * run-strip-reloc.sh: New test.
3109 * hello_i386.ko.bz2: New test file.
3110 * hello_x86_64.ko.bz2: Likewise.
3111 * hello_ppc64.ko.bz2: Likewise.
3113 2011-05-18 Mark Wielaard <mjw@redhat.com>
3115 * run-strip-groups.sh: New test.
3116 * testfile58.bz2: New test file.
3117 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
3118 (TESTS): Add run-strip-groups.sh.
3119 (EXTRA_DIST): Likewise.
3121 2011-03-28 Marek Polacek <mpolacek@redhat.com>
3123 * alldts.c: New file.
3124 * run-alldts.sh: Use it.
3125 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
3126 (alldts_LDADD): New variable.
3128 2011-03-02 Marek Polacek <mpolacek@redhat.com>
3130 * dwarf-getstring.c: New test.
3131 * run-dwarf-getstring.sh: And its wrapper.
3132 * Makefile.am (EXTRA_DIST): Add and update all.
3134 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3136 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
3137 * run-readelf-twofiles.sh: New file.
3139 2011-02-25 Mark Wielaard <mjw@redhat.com>
3141 * Makefile.am (BUILD_RPATH): Be consistent in naming.
3143 2011-02-02 Josh Stone <jistone@redhat.com>
3145 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
3146 * testfile55-64.bz2, testfile55-64.debug.bz2,
3147 testfile55-64.prelink.bz2, testfile55-32.bz2,
3148 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
3149 * Makefile.am (EXTRA_DIST): Add and update all.
3151 2011-01-12 Roland McGrath <roland@redhat.com>
3153 * run-prelink-addr-test.sh: Make symlinks to find .debug files
3154 corresponding to .noshdrs files.
3156 2011-01-11 Josh Stone <jistone@redhat.com>
3158 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
3159 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
3160 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
3161 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
3162 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
3163 * Makefile.am (EXTRA_DIST): Add and update all.
3165 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
3166 * testfile53.bz2, testfile53.debug.bz2,
3167 testfile53.prelink.bz2: Deleted, so...
3168 * testfile53-64.bz2, testfile53-64.debug.bz2,
3169 testfile53-64.prelink.bz2: Recreated with 64-bit names.
3170 * testfile53-32.bz2, testfile53-32.debug.bz2,
3171 testfile53-32.prelink.bz2: New in 32-bit.
3172 * Makefile.am (EXTRA_DIST): Add and update all.
3174 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
3175 * testfile52.so.bz2, testfile52.so.debug.bz2,
3176 testfile52.prelink.so.bz2: Deleted, so...
3177 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
3178 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
3179 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
3180 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
3181 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
3182 * Makefile.am (EXTRA_DIST): Add and update all.
3184 2011-01-10 Josh Stone <jistone@redhat.com>
3186 * run-prelink-addr-test.sh: New test for prelinked addrs.
3187 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3188 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
3189 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
3190 * testfile53.bz2, testfile53.debug.bz2: New data files.
3191 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
3192 * Makefile.am (EXTRA_DIST): Add them.
3194 2010-06-04 Roland McGrath <roland@redhat.com>
3196 * run-unstrip-test.sh: Also test modifying the file in place.
3198 2010-04-22 Roland McGrath <roland@redhat.com>
3200 * addrcfi.c (handle_cfi): Fix function name in error message.
3201 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
3203 2010-04-14 Roland McGrath <roland@redhat.com>
3205 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
3207 2010-04-10 Ulrich Drepper <drepper@redhat.com>
3209 * msg_tst.c: Adjust expected error message.
3211 2010-04-01 Petr Machata <pmachata@redhat.com>
3213 * test-flag-nobits.c: New test.
3214 * run-test-flag-nobits.sh: And its wrapper.
3215 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
3216 (test_flag_nobits_LDADD): New variable.
3218 2010-02-15 Roland McGrath <roland@redhat.com>
3220 * Makefile.am: Use config/eu.am for common stuff.
3222 * asm-tst9.c (main): Rename local to avoid shadowing another local.
3224 2009-07-22 Roland McGrath <roland@redhat.com>
3226 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
3228 2009-07-08 Roland McGrath <roland@redhat.com>
3230 * addrcfi.c: New file.
3231 * Makefile.am (noinst_PROGRAMS): Add it.
3232 (addrcfi_LDADD): New variable.
3234 2009-05-07 Petr Machata <pmachata@redhat.com>
3236 * testfile51.bz2: New data file.
3237 * dwarf-getmacros.c: New test core.
3238 * run-dwarf-getmacros.sh: New test wrapper.
3239 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
3240 (dwarf_getmacros_LDADD): New variable.
3242 2009-04-23 Ulrich Drepper <drepper@redhat.com>
3244 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
3245 (rdwrmmap_LDADD): Add $(libmudflap).
3247 2009-04-21 Roland McGrath <roland@redhat.com>
3249 * testfile50.bz2: New data file.
3250 * Makefile.am (EXTRA_DIST): Add it.
3251 * run-dwfl-addr-sect.sh: Add a case using it.
3253 2008-12-31 Ulrich Drepper <drepper@redhat.com>
3255 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
3256 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
3257 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
3258 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
3259 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
3260 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
3261 roundss, roundps, roundpd, and roundsd.
3262 * testfile45.S.bz2: Likewise.
3263 * testfile44.expect.bz2: Adjust accordingly.
3264 * testfile45.expect.bz2: Likewise.
3266 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
3267 * testfile45.S.bz2: Likewise.
3268 * testfile44.expect.bz2: Adjust accordingly.
3269 * testfile45.expect.bz2: Likewise.
3271 2008-12-30 Ulrich Drepper <drepper@redhat.com>
3273 * testfile44.S.bz2: Add tests for blendpd and blendps.
3274 * testfile45.S.bz2: Likewise.
3275 * testfile44.expect.bz2: Adjust accordingly.
3276 * testfile45.expect.bz2: Likewise.
3278 2008-12-19 Ulrich Drepper <drepper@redhat.com>
3280 * testfile44.S.bz2: Add tests for AMD 3DNOW.
3281 * testfile45.S.bz2: Likewise.
3282 * testfile44.expect.bz2: Adjust accordingly.
3283 * testfile45.expect.bz2: Likewise.
3285 2008-11-26 Roland McGrath <roland@redhat.com>
3287 * dwfl-bug-getmodules.c: New file.
3288 * Makefile.am (noinst_PROGRAMS): Add it.
3289 (dwfl_bug_getmodules_LDADD): New variable.
3291 2008-09-10 Roland McGrath <roland@redhat.com>
3293 * test-subr.sh (LC_ALL): Export it set to "C".
3294 * run-dwfl-addr-sect.sh: Don't do it here.
3295 * run-strings-test.sh: Likewise.
3297 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
3299 * run-addrname-test.sh: Add a new case.
3300 * testfile49.bz2: New data file.
3301 * Makefile.am (EXTRA_DIST): Add it.
3303 2008-04-10 Roland McGrath <roland@redhat.com>
3305 * testfile48.bz2, testfile48.bz2.debug: New data files.
3306 * Makefile.am (EXTRA_DIST): Add them.
3307 * run-strip-test8.sh: Use them.
3309 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
3311 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
3312 * run-strip-test8.sh: New file.
3313 * testfile47.bz2: New data file.
3314 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3316 2008-03-31 Roland McGrath <roland@redhat.com>
3318 * run-early-offscn.sh: New file.
3319 * early-offscn.c: New file.
3320 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
3321 (early_offscn_LDADD): New variable.
3323 2008-03-19 Roland McGrath <roland@redhat.com>
3325 * run-addrname-test.sh: Add a new case.
3327 2008-02-22 Roland McGrath <roland@redhat.com>
3329 * run-elflint-test.sh: Typo fix.
3331 2008-02-21 Roland McGrath <roland@redhat.com>
3333 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
3334 for the build down to minimum.
3335 * run-disasm-x86-64.sh: Likewise.
3337 2008-02-20 Roland McGrath <roland@redhat.com>
3339 * testfile46.bz2: New data file.
3340 * Makefile.am (EXTRA_DIST): Add it.
3341 * run-elflint-test.sh: Test on it.
3343 2008-02-01 Ulrich Drepper <drepper@redhat.com>
3345 * Makefile.am: Hook up sha1-tst.c.
3346 * sha1-tst.c: New file.
3348 2008-01-21 Roland McGrath <roland@redhat.com>
3350 * testfile45.S.bz2: Add tests for cltq, cqto.
3351 * testfile45.expect.bz2: Adjust.
3353 2008-01-14 Ulrich Drepper <drepper@redhat.com>
3355 * testfile45.S.bz2: Add more tests.
3356 * testfile45.expect.bz2: Adjust.
3358 2008-01-11 Ulrich Drepper <drepper@redhat.com>
3360 * testfile45.expect.bz2: Adjust for adding of address for %rip based
3363 2008-01-10 Ulrich Drepper <drepper@redhat.com>
3365 * testfile45.S.bz2: Add more tests.
3366 * testfile45.expect.bz2: Adjust.
3368 2008-01-08 Ulrich Drepper <drepper@redhat.com>
3370 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
3371 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
3372 run-disasm-x86-64.sh.
3373 * run-disasm-x86-64.sh: New file.
3374 * testfile45.S.bz2: New file.
3375 * testfile45.expect.bz2: New file.
3376 * testfile44.S.bz2: New tests.
3377 * testfile44.expect.bz2: Adjust.
3379 2008-01-04 Ulrich Drepper <drepper@redhat.com>
3381 * testfile44.S.bz2: New tests.
3382 * testfile44.expect.bz2: Adjust.
3384 2008-01-04 Roland McGrath <roland@redhat.com>
3386 * dwfl-bug-fd-leak.c (main): Add a cast.
3388 2008-01-03 Ulrich Drepper <drepper@redhat.com>
3390 * testfile44.S.bz2: New tests.
3391 * testfile44.expect.bz2: Adjust.
3393 2008-01-01 Ulrich Drepper <drepper@redhat.com>
3395 * line2addr.c: Use %m modifier instead of %a to appease gcc.
3397 2008-01-01 Ulrich Drepper <drepper@redhat.com>
3399 * testfile44.S.bz2: New tests.
3400 * testfile44.expect.bz2: Adjust.
3402 2007-12-31 Ulrich Drepper <drepper@redhat.com>
3404 * testfile44.S.bz2: New tests.
3405 * testfile44.expect.bz2: Adjust.
3407 2007-12-30 Ulrich Drepper <drepper@redhat.com>
3409 * testfile44.S.bz2: New tests.
3410 * testfile44.expect.bz2: Adjust.
3412 2007-12-29 Ulrich Drepper <drepper@redhat.com>
3414 * testfile44.s.bz2: New tests.
3415 * testfile44.expect.bz2: Adjust.
3417 2007-12-28 Ulrich Drepper <drepper@redhat.com>
3419 * testfile44.S.bz2: New tests.
3420 * testfile44.expect.bz2: Adjust.
3422 2007-12-27 Ulrich Drepper <drepper@redhat.com>
3424 * testfile44.S.bz2: New tests.
3425 * testfile44.expect.bz2: Adjust.
3427 2007-12-26 Ulrich Drepper <drepper@redhat.com>
3429 * testfile44.S.bz2: New tests.
3430 * testfile44.expect.bz2: Adjust
3432 2007-12-21 Ulrich Drepper <drepper@redhat.com>
3434 * testfile44.S.bz2: More tests.
3435 * testfile44.expect.bz2: Adjust appropriately.
3437 2007-12-19 Ulrich Drepper <drepper@redhat.com>
3439 * Makefile.am (TESTS): Add run-disasm.sh.
3440 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
3441 testfile44.expect.bz2.
3442 * run-disasm.sh: New file.
3443 * testfile44.S.bz2: New file.
3444 * testfile44.expect.bz2: New file.
3446 2007-12-15 Roland McGrath <roland@redhat.com>
3448 * run-allregs.sh: Change expected output for powerpc spefscr.
3450 2007-10-20 Roland McGrath <roland@redhat.com>
3452 * run-dwfl-addr-sect.sh: Change expected output, no errors.
3454 2007-10-19 Roland McGrath <roland@redhat.com>
3456 * dwfl-addr-sect.c (handle_address): Return int.
3457 Don't exit on error, just return nonzero.
3458 (main): Collect results.
3459 * run-dwfl-addr-sect.sh: New file.
3460 * testfile43.bz2: New data file.
3461 * Makefile.am (EXTRA_DIST, TESTS): Add them.
3463 2007-10-18 Roland McGrath <roland@redhat.com>
3465 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
3467 2007-10-16 Roland McGrath <roland@redhat.com>
3469 * test-subr.sh (remove_files): Don't pass -Bb to diff.
3471 2007-10-09 Roland McGrath <roland@redhat.com>
3473 * dwflmodtest.c (print_module): Don't use %p in output.
3474 * run-dwfl-bug-offline-rel.sh: Updated expected output.
3476 2007-10-08 Roland McGrath <roland@redhat.com>
3478 * testfile42.bz2: New data file.
3479 * Makefile.am (EXTRA_DIST): Add it.
3480 * run-elflint-test.sh: New test on that file.
3482 2007-10-04 Roland McGrath <roland@redhat.com>
3484 * run-readelf-test4.sh: New file.
3485 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3487 2007-10-03 Roland McGrath <roland@redhat.com>
3489 * run-readelf-test3.sh: New file.
3490 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3492 2007-10-01 Roland McGrath <roland@redhat.com>
3494 * run-readelf-test2.sh: New file.
3495 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3497 2007-09-11 Roland McGrath <roland@redhat.com>
3499 * run-addrname-test.sh: Add a new case.
3500 * testfile41.bz2: New data file.
3501 * Makefile.am (EXTRA_DIST): Add it.
3503 2007-08-23 Roland McGrath <roland@redhat.com>
3505 * run-allregs.sh: Update expected x86-64 output for %rflags.
3507 2007-08-12 Roland McGrath <roland@redhat.com>
3509 * run-strip-test7.sh: New file.
3510 * testfile39.bz2: New data file.
3511 * testfile40.bz2: New data file.
3512 * testfile40.debug.bz2: New data file.
3513 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3515 2007-08-09 Roland McGrath <roland@redhat.com>
3517 * dwfl-bug-report.c: Fix header inclusion.
3519 2007-08-08 Roland McGrath <roland@redhat.com>
3521 * run-addrname-test.sh: Add a new case using addr2line -S.
3522 * testfile38.bz2: New data file.
3523 * Makefile.am (EXTRA_DIST): Add it.
3525 2007-07-16 Roland McGrath <roland@redhat.com>
3527 * dwfl-bug-report.c: New file.
3528 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
3529 (dwfl_bug_report_LDADD): New variable.
3531 2007-06-06 Roland McGrath <roland@redhat.com>
3533 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
3535 2007-06-05 Ulrich Drepper <drepper@redhat.com>
3537 * Makefile.am (EXTRA_DIST): Add missing line continuation and
3538 testfile37.bz and testfile37.debug.bz2.
3540 2007-05-23 Roland McGrath <roland@redhat.com>
3542 * run-allregs.sh: Update expected Alpha results.
3544 2007-05-18 Roland McGrath <roland@redhat.com>
3546 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
3547 * testfile37.bz2: New data file.
3548 * testfile37.debug.bz2: New data file.
3549 * run-unstrip-test2.sh: New file.
3550 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3552 2007-05-10 Roland McGrath <roland@redhat.com>
3554 * run-dwfl-bug-offline-rel.sh: New file.
3555 * testfile36.bz2: New data file.
3556 * testfile36.debug.bz2: New data file.
3557 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3559 2007-04-28 Roland McGrath <roland@redhat.com>
3561 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
3562 * testfile35.bz2: New data file.
3563 * testfile35.debug.bz2: New data file.
3564 * run-unstrip-test.sh: New file.
3565 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3567 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
3569 2007-04-26 Roland McGrath <roland@redhat.com>
3571 * run-elflint-self.sh: Run all tests even if one fails.
3573 * run-allregs.sh: Add expected output for alpha.
3575 2007-04-24 Roland McGrath <roland@redhat.com>
3577 * run-strip-test.sh: When we saved the debug info, test unstrip too.
3579 2007-04-22 Roland McGrath <roland@redhat.com>
3581 * run-allregs.sh: Update expected register info.
3583 2007-04-16 Roland McGrath <roland@redhat.com>
3585 * dwfl-addr-sect.c: New file.
3586 * Makefile.am (noinst_PROGRAMS): Add it.
3587 (dwfl_addr_sect_LDADD): New variable.
3589 2007-04-05 Roland McGrath <roland@redhat.com>
3591 * get-files.c: Test dwarf_getsrcdirs.
3592 * run-get-files.sh: Update expected output.
3594 2007-04-01 Roland McGrath <roland@redhat.com>
3596 * run-allregs.sh: Updated expected output for x86_64.
3598 2007-03-04 Roland McGrath <roland@redhat.com>
3600 * dwfl-bug-fd-leak.c: New file.
3601 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
3602 (dwfl_bug_fd_leak_LDADD): New variable.
3604 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
3605 show what files have been located.
3607 2007-02-02 Roland McGrath <roland@redhat.com>
3609 * run-addrname-test.sh: New file.
3610 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3611 * testfile34.bz2: New data file.
3612 * Makefile.am (EXTRA_DIST): Add it.
3614 2007-01-20 Roland McGrath <roland@redhat.com>
3616 * testfile33.bz2: New data file.
3617 * Makefile.am (EXTRA_DIST): Add it.
3618 * run-elflint-test.sh: Test on it too.
3620 2007-01-18 Roland McGrath <roland@redhat.com>
3622 * Makefile.am (CFLAGS): Don't molest it.
3624 2007-01-11 Roland McGrath <roland@redhat.com>
3626 * testfile32.bz2: New data file.
3627 * Makefile.am (EXTRA_DIST): Add it.
3628 * run-elflint-test.sh: Test on it too.
3630 2007-02-04 Ulrich Drepper <drepper@redhat.com>
3633 * Makefile (noinst_PROGRAMS): Add arls.
3635 * run-ranlib-test2.sh: Fix type in comment.
3637 2007-01-10 Ulrich Drepper <drepper@redhat.com>
3639 * run-elflint-self.sh (runtest): Show which file has the problem.
3641 2007-01-10 Roland McGrath <roland@redhat.com>
3643 * dwfl-bug-addr-overflow.c: New file.
3644 * Makefile.am (TESTS): Add it.
3645 (dwfl_bug_addr_overflow_LDADD): New variable.
3647 2006-12-17 Roland McGrath <roland@redhat.com>
3649 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
3651 2006-09-05 Roland McGrath <roland@redhat.com>
3653 * run-strings-test.sh: Export LC_ALL=C for the test.
3655 2006-08-29 Roland McGrath <roland@redhat.com>
3657 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
3658 * run-arsymtest.sh: Likewise.
3660 * run-native-test.sh (native.c compilation): Add some braces.
3662 2006-08-22 Roland McGrath <roland@redhat.com>
3664 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
3665 (struct reginfo): New members bits, type.
3666 (one_register, match_register): Update to take new args,
3667 record and display new info.
3668 (main): Display new info.
3669 * run-allregs.sh: Update expected results.
3671 2006-08-03 Roland McGrath <roland@redhat.com>
3673 * run-allregs.sh: Add sparc cases.
3674 * testfile30.bz2: New data file.
3675 * testfile31.bz2: New data file.
3676 * Makefile.am (EXTRA_DIST): Add them.
3678 2006-07-21 Roland McGrath <roland@redhat.com>
3680 * allregs.c (struct reginfo): Increase size of name.
3681 (one_register): Assert that it's big enough.
3683 2006-04-04 Roland McGrath <roland@redhat.com>
3685 * run-bug1-test.sh: Test a second case, to cover both byte orders.
3686 * testfile29.bz2: New file.
3687 * testfile29.rdwr.bz2: New file.
3688 * Makefile.am (EXTRA_DIST): Add them.
3690 2006-04-04 Ulrich Drepper <drepper@redhat.com>
3692 * Makefile.am: Add rules to run run-bug1-test.sh.
3693 * rdwrmmap.c: New file.
3694 * run-bug1-test.sh: New file.
3695 * testfile28.bz2: New file.
3696 * testfile28.rdwr.bz2: New file.
3698 2006-03-09 Roland McGrath <roland@redhat.com>
3700 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
3702 2006-03-01 Roland McGrath <roland@redhat.com>
3704 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
3705 changes matching 3.0 spec.
3707 2006-01-13 Roland McGrath <roland@redhat.com>
3709 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
3710 bash 3.1 whines when it's done in the trap 0 handler.
3712 2006-01-11 Roland McGrath <roland@redhat.com>
3714 * testfile26.bz2: New data file.
3715 * testfile27.bz2: New data file.
3716 * Makefile.am (EXTRA_DIST): Add them.
3717 * run-allregs.sh: Test s390 data.
3719 2005-12-14 Roland McGrath <roland@redhat.com>
3721 * run-native-test.sh: Redirect output from native test process.
3723 2005-12-13 Roland McGrath <roland@redhat.com>
3725 * allregs.c (main): Fail if we find no registers.
3727 * run-native-test.sh: New file.
3728 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3730 2005-12-10 Ulrich Drepper <drepper@redhat.com
3732 * run-readelf-test1.sh: New file.
3733 * Makefile.am (TESTS): Add run-readelf-test1.sh.
3734 (EXTRA_DIST): Likewise.
3736 2005-12-07 Roland McGrath <roland@redhat.com>
3738 * ecp.c (main): Use elf_end to clean up.
3740 2005-11-25 Roland McGrath <roland@redhat.com>
3742 * coverage.sh: Given -v argument, print names of unused files.
3744 * addrscopes.c (main): Use dwfl_end before return.
3745 * allregs.c (main): Likewise.
3746 * find-prologues.c (main): Likewise.
3747 * funcretval.c (main): Likewise.
3748 * funcscopes.c (main): Likewise.
3749 * line2addr.c (main): Likewise.
3751 * run-allregs.sh: New file.
3752 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3754 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
3755 * Makefile.am (allregs_LDADD): Updated.
3757 * allregs.c: New file.
3758 * Makefile.am (noinst_PROGRAMS): Add it.
3759 (allregs_LDADD): New variable.
3761 2005-11-18 Roland McGrath <roland@redhat.com>
3763 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
3764 * test-wrapper.sh: Likewise.
3766 2005-11-17 Roland McGrath <roland@redhat.com>
3768 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
3769 environment for test-wrapper.sh.
3770 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
3771 * test-subr.sh (installed_testrun): Likewise.
3772 Use explicit path in ${bindir}.
3774 * Makefile.am (installcheck-local): Fix typo in last change.
3776 2005-11-16 Roland McGrath <roland@redhat.com>
3778 * configure.ac: New file, for standalone build/dist of test suite.
3779 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
3780 (asm_TESTS): New variable, broken out of ...
3781 (TESTS): ... here. Also remove msg_tst.
3782 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
3783 (installed_TESTS_ENVIRONMENT): New variable.
3784 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
3785 [!STANDALONE] (installcheck-local): Likewise.
3786 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
3787 * addrscopes.c: Include <config.h>.
3788 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
3789 * allfcts.c: Likewise.
3790 * asm-tst1.c: Likewise.
3791 * asm-tst2.c: Likewise.
3792 * asm-tst3.c: Likewise.
3793 * asm-tst4.c: Likewise.
3794 * asm-tst5.c: Likewise.
3795 * asm-tst6.c: Likewise.
3796 * asm-tst7.c: Likewise.
3797 * asm-tst8.c: Likewise.
3798 * asm-tst9.c: Likewise.
3799 * dwflmodtest.c: Likewise.
3800 * find-prologues.c: Likewise.
3801 * funcscopes.c: Likewise.
3802 * get-aranges.c: Likewise.
3803 * get-files.c: Likewise.
3804 * get-lines.c: Likewise.
3805 * get-pubnames.c: Likewise.
3806 * line2addr.c: Likewise.
3807 * newscn.c: Likewise.
3808 * show-abbrev.c: Likewise.
3809 * show-die-info.c: Likewise.
3810 * update3.c: Likewise.
3811 * update4.c: Likewise.
3812 * funcretval.c: Likewise.
3814 * dwflmodtest.c (print_instance): Don't use INTUSE.
3815 (options): Don't use N_ macro.
3817 2005-11-15 Roland McGrath <roland@redhat.com>
3819 * coverage.sh: Look in backends.
3820 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
3821 (TESTS_ENVIRONMENT): Likewise.
3823 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
3824 pass FUNCDIE direclty to dwfl_module_return_value_location.
3826 * Makefile.am (BUILD_RPATH): New variable.
3827 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
3828 (tests_rpath): New variable.
3829 (installcheck-local): Pass it to test-wrapper.sh.
3830 * test-wrapper.sh: In "installed" format, take yes/no value
3831 for elfutils_tests_rpath, which export. When running a test
3832 binary for installcheck, exit 77.
3833 * test-subr.sh (installed_testrun): When running a test binary
3834 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
3836 2005-11-14 Roland McGrath <roland@redhat.com>
3838 * test-subr.sh: New file.
3839 * test-wrapper.sh: New file.
3840 * Makefile.am (EXTRA_DIST): Add them.
3841 (AM_LDFLAGS): Variable removed.
3842 (TESTS_ENVIRONMENT): New variable.
3843 (installcheck-local): New target.
3844 * run-addrscopes.sh: Use test-subr.sh.
3845 * run-allfcts.sh: Likewise.
3846 * run-ecp-test.sh: Likewise.
3847 * run-ecp-test2.sh: Likewise.
3848 * run-elflint-self.sh: Likewise.
3849 * run-elflint-test.sh: Likewise.
3850 * run-find-prologues.sh: Likewise.
3851 * run-funcscopes.sh: Likewise.
3852 * run-get-aranges.sh: Likewise.
3853 * run-get-files.sh: Likewise.
3854 * run-get-lines.sh: Likewise.
3855 * run-get-pubnames.sh: Likewise.
3856 * run-line2addr.sh: Likewise.
3857 * run-ranlib-test.sh: Likewise.
3858 * run-ranlib-test2.sh: Likewise.
3859 * run-show-abbrev.sh: Likewise.
3860 * run-show-ciefde.sh: Likewise.
3861 * run-show-die-info.sh: Likewise.
3862 * run-strings-test.sh: Likewise.
3863 * run-strip-test.sh: Likewise.
3865 2005-11-13 Roland McGrath <roland@redhat.com>
3867 * funcretval.c: New file.
3868 * Makefile.am (noinst_PROGRAMS): Add it.
3869 (funcretval_LDADD): New variable.
3871 2005-11-09 Ulrich Drepper <drepper@redhat.com>
3873 * line2addr.c (handle_module): Add missing parameter to printf.
3875 2005-10-27 Roland McGrath <roland@redhat.com>
3877 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
3878 * funcscopes.c (handle_function): Likewise.
3879 * dwflmodtest.c (print_inline, print_func): Likewise.
3880 * find-prologues.c (handle_function): Likewise.
3882 2005-10-27 Roland McGrath <roland@redhat.com>
3884 * run-find-prologues.sh: New file.
3885 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3887 * find-prologues.c (handle_function): Skip inlines.
3889 2005-10-25 Roland McGrath <roland@redhat.com>
3891 * find-prologues.c: New file.
3892 * Makefile.am (noinst_PROGRAMS): Add it.
3893 (find_prologues_LDADD): New variable.
3895 2005-09-02 Ulrich Drepper <drepper@redhat.com>
3897 * run-strings-test.sh: Remove strings.out in the end.
3899 2005-08-31 Ulrich Drepper <drepper@redhat.com>
3901 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
3902 * run-allfcts.sh: Likewise.
3903 * run-ecp-test.sh: Likewise.
3904 * run-ecp-test2.sh: Likewise.
3905 * run-elflint-test.sh: Likewise.
3906 * run-funcscopes.sh: Likewise.
3907 * run-get-aranges.sh: Likewise.
3908 * run-get-files.sh: Likewise.
3909 * run-get-lines.sh: Likewise.
3910 * run-get-pubnames.sh: Likewise.
3911 * run-line2addr.sh: Likewise.
3912 * run-ranlib-test2.sh: Likewise.
3913 * run-show-abbrev.sh: Likewise.
3914 * run-show-ciefde.sh: Likewise.
3915 * run-show-die-info.sh: Likewise.
3916 * run-strings-test.sh: Likewise.
3917 * run-strip-test.sh: Likewise.
3919 2005-08-30 Ulrich Drepper <drepper@redhat.com>
3921 * coverage.sh: Handle case where there is no .gcno file at all.
3923 2005-08-29 Ulrich Drepper <drepper@redhat.com>
3925 * Makefile.am (EXTRA_DIST): Add coverage.
3926 [GCOV]: Generate coverage summary after the tests ran
3927 * coverage.sh: New file.
3929 2005-08-28 Ulrich Drepper <drepper@redhat.com>
3931 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
3932 (CLEANFILES): Add *.gcno *.gcda *.gconv.
3934 2005-08-28 Ulrich Drepper <drepper@redhat.com>
3936 * run-strings-test.sh: New file.
3937 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3939 2005-08-27 Roland McGrath <roland@redhat.com>
3941 * addrscopes.c (handle_address): Apply bias to PC addresses.
3943 * run-funcscopes.sh: New file.
3944 * testfile25.bz2: New data file.
3945 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3947 2005-08-26 Roland McGrath <roland@redhat.com>
3949 * addrscopes.c (dwarf_diename_integrate): Removed.
3950 (print_vars, handle_address): Use plain dwarf_diename.
3952 2005-08-25 Roland McGrath <roland@redhat.com>
3954 * funcscopes.c: New file.
3955 * Makefile.am (noinst_PROGRAMS): Add it.
3956 (funcscopes_LDADD): New variable.
3958 * run-addrscopes.sh: Add another case.
3959 * testfile24.bz2: New data file.
3960 * Makefile.am (EXTRA_DIST): Add it.
3962 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
3963 pass it to dwarf_getscopes.
3964 (main): Pass it, true when '=' follows an address.
3966 2005-08-24 Roland McGrath <roland@redhat.com>
3968 * line2addr.c (print_address): Omit () for DSOs.
3970 2005-08-24 Ulrich Drepper <drepper@redhat.com>
3972 * run-line2addr.sh: Remove testfile23 in the end.
3974 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
3975 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
3977 2005-08-22 Roland McGrath <roland@redhat.com>
3979 * run-line2addr.sh: Add a case.
3980 * testfile23.bz2: New data file.
3981 * Makefile.am (EXTRA_DIST): Add it.
3983 2005-08-18 Roland McGrath <roland@redhat.com>
3985 * run-addrscopes.sh: New file.
3986 * testfile22.bz2: New data file.
3987 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3989 * addrscopes.c: New file.
3990 * Makefile.am (noinst_PROGRAMS): Add it.
3991 (addrscopes_LDADD): New variable.
3993 2005-08-15 Ulrich Drepper <drepper@redhat.com>
3995 * run-elflint-self.sh: Don't run test if the file doesn't exist.
3997 2005-08-15 Roland McGrath <roland@redhat.com>
3999 * dwflmodtest.c (print_instance, print_inline): New functions.
4000 (print_func): Call print_inline.
4001 (options, parse_opt): Grok -i/--inlines.
4003 2005-08-07 Roland McGrath <roland@redhat.com>
4005 * dwflmodtest.c: Print function details only if -f flag is given.
4007 2005-08-06 Ulrich Drepper <drepper@redhat.com>
4009 * run-elflint-self.sh: New file.
4010 * Makefile.am (TESTS): Add run-elflint-self.sh.
4011 (EXTRA_DIST): Likewise.
4013 * Makefile.am: Link with statis libs if BUILD_STATIC.
4014 (dwflmodtest_LDADD): Also link with -ldl.
4016 2005-08-02 Ulrich Drepper <drepper@redhat.com>
4018 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
4019 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
4021 * asm-tst2.c: Likewise.
4022 * asm-tst3.c: Likewise.
4023 * asm-tst4.c: Likewise.
4024 * asm-tst5.c: Likewise.
4025 * asm-tst6.c: Likewise.
4026 * asm-tst7.c: Likewise.
4027 * asm-tst8.c: Likewise.
4028 * asm-tst9.c: Likewise.
4030 * msg_tst.c: Add new error message.
4032 2005-07-28 Ulrich Drepper <drepper@redhat.com>
4034 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
4036 2005-06-01 Roland McGrath <roland@redhat.com>
4038 * line2addr.c: Rewritten using libdwfl.
4039 * run-line2addr.sh: Update test for changed arguments.
4040 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
4041 (libdwfl): New variable.
4042 (line2addr_LDADD): Use it.
4044 2005-07-28 Roland McGrath <roland@redhat.com>
4046 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
4047 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
4048 (dwflmodtest_LDADD): New variable.
4049 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
4051 2005-07-21 Ulrich Drepper <drepper@redhat.com>
4053 * testfile18.bz2: New file.
4054 * run-elflint-test.sh: New file.
4055 * Makefile.am (TESTS): Add run-elflint-test.sh.
4056 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
4058 2005-05-24 Ulrich Drepper <drepper@redhat.com>
4060 * get-files.c (main): Use correct format specifier.
4062 2005-05-21 Ulrich Drepper <drepper@redhat.com>
4064 * Makefile.am: Add -Wextra to CFLAGS.
4065 * get-files.c: Remove warning this produced.
4066 * get-pubnames.c: Likewise.
4067 * newfile.c: Likewise.
4068 * newscn.c: Likewise.
4069 * scnnames.c: Likewise.
4070 * showptable.c: Likewise.
4071 * test-nlist.c: Likewise.
4072 * update1.c: Likewise.
4073 * update2.c: Likewise.
4074 * update3.c: Likewise.
4075 * update4.c: Likewise.
4077 2005-05-08 Ulrich Drepper <drepper@redhat.com>
4079 * run-line2addr.sh: Remove testfile14 at the end.
4081 * run-strip-test.sh: Remove debuginfo test input file as well.
4083 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
4086 2005-05-03 Roland McGrath <roland@redhat.com>
4088 * run-strip-test.sh: Use variables for test file names.
4089 Optionally produce separate debug file and check it.
4090 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
4091 * run-strip-test3.sh: Likewise.
4092 * run-strip-test4.sh: New file.
4093 * run-strip-test5.sh: New file.
4094 * run-strip-test6.sh: New file.
4095 * testfile15.bz: New file.
4096 * testfile15.debug.bz: New file.
4097 * testfile16.bz: New file.
4098 * testfile16.debug.bz: New file.
4099 * testfile17.bz: New file.
4100 * testfile17.debug.bz: New file.
4101 * Makefile.am (TESTS, EXTRA_DIST): Add them.
4103 2005-04-25 Ulrich Drepper <drepper@redhat.com>
4105 * run-line2addr.sh: Also use testfile14. Adjust for correct
4106 return of multiple matches.
4107 * testfile14.bz2: New file.
4108 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
4110 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
4112 2005-04-04 Roland McGrath <roland@redhat.com>
4114 * line2addr.c (main): Initialize LINES and NLINES before calling
4115 dwarf_getsrc_file, and free LINES afterwards.
4117 * allfcts.c (main): Use size_t for CUHL.
4119 2005-04-04 Ulrich Drepper <drepper@redhat.com>
4121 * line2addr.c: New file.
4122 * run-line2addr.sh: New file.
4123 * Makefile.am: Add rules to build, run, and distribute new code.
4125 2005-04-02 Ulrich Drepper <drepper@redhat.com>
4127 * allfcts.c: New file.
4128 * run-allfcts.sh: New file.
4129 * Makefile.am: Add rules to build, run, and distribute new code.
4131 2005-02-05 Ulrich Drepper <drepper@redhat.com>
4133 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
4134 programs with -lmudflap.
4136 2004-09-25 Ulrich Drepper <drepper@redhat.com>
4138 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
4139 * asm-tst5.c (main): Likewise.
4140 * asm-tst6.c (main): Likewise.
4142 2004-01-17 Ulrich Drepper <drepper@redhat.com>
4144 * Makefile.am: Support building with mudflap.
4146 2004-01-12 Ulrich Drepper <drepper@redhat.com>
4148 * get-aranges.c: Rewrite to use libdw.
4149 * Makefile.am: Reenable get-aranges test.
4151 2004-01-11 Ulrich Drepper <drepper@redhat.com>
4153 * get-lines.c: New file.
4154 * get-files.c: Adjust for libdw.
4155 * run-get-files.sh: Adjust expected result.
4156 * run-get-lines.sh: Likewise.
4157 * Makefile.am: Run get-lines test. Don't run get-aranges and
4158 get-ciefde test for now.
4160 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
4161 change. Print attribute offset information.
4162 * run-show-abbrev.sh: Adjust expected output.
4164 2004-01-09 Ulrich Drepper <drepper@redhat.com>
4166 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
4167 * show-die-info.c: Likewise.
4168 * run-show-die-info.sh: Adjust expected output.
4170 2003-08-13 Ulrich Drepper <drepper@redhat.com>
4172 * Makefile.in: Depend on libebl.a, not libebl.so.
4174 2003-08-11 Ulrich Drepper <drepper@redhat.com>
4176 * Moved to CVS archive.