1 2018-05-29 Mark Wielaard <mark@klomp.org>
3 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
4 type, gotten through dwarf_get_units.
5 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
6 split-dwarf-4, split-dwarf-5 and dwo files.
8 2018-05-29 Mark Wielaard <mark@klomp.org>
10 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
11 * run-varlocs.sh: Likewise.
13 2018-05-29 Mark Wielaard <mark@klomp.org>
15 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
17 2018-05-28 Mark Wielaard <mark@klomp.org>
19 * run-readelf-info-plus.sh: New test.
20 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
21 (EXTRA_DIST): Likewise.
23 2018-04-29 Mark Wielaard <mark@klomp.org>
25 * run-readelf-addr.sh: New test.
26 * Makefile.am (TESTS): Add run-readelf-addr.sh.
27 (EXTRA_DIST): Likewise.
29 2018-04-27 Mark Wielaard <mark@klomp.org>
31 * run-readelf-ranges.sh: Adjust expected output for address base.
32 * run-readelf-addr.sh: New test.
33 * Makefile.am (TESTS): Add run-readelf-addr.sh.
34 (EXTRA_DIST): Likewise.
36 2018-04-07 Mark Wielaard <mark@klomp.org>
38 * run-varlocs.sh: Run on testfileranges5.debug and
39 testsplitfileranges5.debug.
40 * varlocs.c (is_debug): New bool.
41 (print_expr): Don't fail on missing CFI for is_debug.
42 (main): Parse --debug, set is_debug.
44 2018-04-12 Mark Wielaard <mark@klomp.org>
46 * run-readelf-loc.sh: Add new testcases.
48 2018-04-06 Mark Wielaard <mark@klomp.org>
50 * testfileranges5.debug.bz2: New testfile.
51 * testfilesplitranges5.debug.bz2: Likewise.
52 * testfile-ranges-hello5.dwo.bz2: Likewise.
53 * testfile-ranges-world5.dwo.bz2: Likewise.
54 * run-dwarf-ranges.sh: Run on testfileranges5.debug.
55 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
56 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
57 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
58 testfile-ranges-world5.dwo.bz2.
60 2018-04-11 Mark Wielaard <mark@klomp.org>
62 * run-readelf-ranges.sh: New test.
63 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
64 (EXTRA_DIST): Likewise.
66 2018-05-21 Mark Wielaard <mark@klomp.org>
68 * addrx_constx-4.dwo.bz2: New testfile.
69 * addrx_constx-5.dwo.bz2: Likewise.
70 * testfile-addrx_constx-4.bz2: Likewise.
71 * testfile-addrx_constx-5.bz2: Likewise
72 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
73 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
74 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
75 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
76 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
77 (main): Handle split DWARF.
78 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
80 2018-05-20 Mark Wielaard <mark@klomp.org>
82 * unit-info.c: New test.
83 * run-unit-info.sh: New test runner.
84 * Makefile.am (check_PROGRAMS): Add unit-info.
85 (TESTS): Add run-unit-info.sh
86 (EXTRA_INFO): Likewise.
87 (unit_info_LDADD): New variable.
89 2018-05-24 Mark Wielaard <mark@klomp.org>
91 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
92 * run-all-dwarf-ranges.sh: Correct expected output.
94 2018-05-18 Mark Wielaard <mark@klomp.org>
96 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
97 (TESTS): Add run-all-dwarf-ranges.sh.
98 (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
99 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
100 and testfile-ranges-world.dwo.bz2.
101 (all_dwarf_ranges_LDADD): New variable.
102 * all-dwarf-ranges.c: New test program.
103 * run-all-dwarf-ranges: New test runner.
104 * testfile-ranges-hello.dwo.bz2: New test file.
105 * testfile-ranges-world.dwo.bz2: Likewise.
106 * testfilesplitranges4.debug.bz2: Likewise.
108 2018-05-18 Mark Wielaard <mark@klomp.org>
110 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
111 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
112 testfile-hello5.dwo, testfile-world5.dwo.
114 2018-05-17 Mark Wielaard <mark@klomp.org>
116 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
117 (TESTS): Add run-attr-integrate-skel.
118 (EXTRA_DIST): Likewise.
119 (attr_integrate_skel_LDADD): New variable.
120 * attr-integrate-skel.c: New test.
121 * run-attr-integrate-skel.sh: New test runner.
123 2018-05-16 Mark Wielaard <mark@klomp.org>
125 * Makefile.am (check_PROGRAMS): Add get-units-split.
126 (TESTS): Add run-get-units-split.sh.
127 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
128 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
129 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
130 testfile-world4.dwo.bz2.
131 (get_units_split_LDADD): New variable.
132 * get-units-split.c: New test.
133 * run-get-units-split.sh: New test runner.
134 * testfile-dwarf-45.source: Extend with build instructions for new
136 * testfile-hello4.dwo.bz2: New test file.
137 * testfile-hello5.dwo.bz2: Likewise.
138 * testfile-splitdwarf-4.bz2: Likewise.
139 * testfile-splitdwarf-5.bz2: Likewise.
140 * testfile-world5.dwo.bz2 and: Likewise.
141 * testfile-world4.dwo.bz2: Likewise.
143 2018-05-09 Mark Wielaard <mark@klomp.org>
145 * run-readelf-zdebug.sh: Adjust test output for new header layout.
146 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
147 and testfile-dwarf-5.
149 2018-05-11 Mark Wielaard <mark@klomp.org>
151 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
152 (TESTS): Add run-get-units-invalid.sh.
153 (EXTRA_DIST): Likewise.
154 (get_units_invalid_LDADD): New variable.
155 * get-units-invalid.c: New test program.
156 * run-get-units-invalid.sh: New test program runner.
158 2018-05-05 Mark Wielaard <mark@klomp.org>
160 * testfile-dwarf-45.source: New file.
161 * testfile-dwarf-4.bz2: New test file.
162 * testfile-dwarf-5.bz2: Likewise.
163 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
165 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
166 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
168 2018-04-19 Andreas Schwab <schwab@suse.de>
170 * hello_riscv64.ko.bz2: New file.
171 * run-strip-reloc.sh: Test it.
172 * Makefile.am (EXTRA_DIST): Add it.
174 2018-04-16 Mark Wielaard <mark@klomp.org>
176 * testfile-ppc64-min-instr.bz2: New testfile.
177 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
178 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
180 2018-04-11 Mark Wielaard <mark@klomp.org>
182 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
184 2018-04-03 Mark Wielaard <mark@klomp.org>
186 * testfileranges4.debug.bz2: New testfile.
187 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
188 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
190 2018-03-06 Mark Wielaard <mark@klomp.org>
192 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
193 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
194 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
197 2018-02-16 Mark Wielaard <mark@klomp.org>
199 * backtrace-subr.sh (check_native_core): Check if there is any core,
202 2018-02-15 Mark Wielaard <mark@klomp.org>
204 * backtrace-child.c: Include signal.h after sys/ptrace.h.
205 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
208 2018-01-25 Mark Wielaard <mark@klomp.org>
210 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
211 (TESTS): Add run-dwarf-die-addr-die.sh.
212 (EXTRA_DIST): Likewise.
213 (dwarf_die_addr_die_LDADD): New variable.
214 * dwarf-die-addr-die.c: New file.
215 * run-dwarf-die-addr-die.sh: New test.
217 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
219 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
221 2018-01-22 Mark Wielaard <mark@klomp.org>
223 * allfcts.c (setup_alt): Print warning when alt file couldn't be
225 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
226 where it cannot be found by allfcts itself (but it can by libdw).
228 2018-01-25 Mark Wielaard <mark@klomp.org>
230 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
233 2018-01-14 Petr Machata <pmachata@gmail.com>
235 * testfile-sizes4.o.bz2: New test file.
236 * testfile-sizes4.s: New test source.
237 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
239 2017-12-23 Mark Wielaard <mark@klomp.org>
241 * backtrace-subr.sh (check_native_core): Use a lock file and try
242 to extract core using coredumpctl.
243 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
245 2017-12-11 Dima Kogan <dima@secretsauce.net>
247 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
248 * run-peel-type.sh: Likewise.
249 * testfile-sizes3.o.bz2: Likewise.
251 2017-12-07 Mark Wielaard <mark@klomp.org>
253 * run-readelf-variant.sh: New test.
254 * testfile-ada-variant.bz2: New testfile.
255 * Makefile.am (TESTS): Add run-readelf-variant.sh.
256 (EXTRA_DISTS): Add run-readelf-variant.sh and
257 testfile-ada-variant.bz2.
259 2017-11-29 Mark Wielaard <mark@klomp.org>
261 * run-readelf-loc.sh: Adjust expected loc list output.
262 * run-readelf-zdebug-rel.sh: Likewise.
263 * run-readelf-zdebug.sh: Likewise.
265 2017-11-29 Mark Wielaard <mark@klomp.org>
267 * run-readelf-loc.sh: Adjust expected range list output.
268 * run-readelf-zdebug.sh: Likewise.
270 2017-11-29 Mark Wielaard <mark@klomp.org>
272 * run-readelf-dwz-multi.sh: Add expected file names.
273 * run-readelf-zdebug-rel.sh: Likewise.
275 2017-11-29 Mark Wielaard <mark@klomp.org>
277 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
278 * run-readelf-zdebug-rel.sh: Likewise.
280 2017-11-29 Mark Wielaard <mark@klomp.org>
282 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
283 * run-readelf-loc.sh: Likewise.
284 * run-readelf-zdebug-rel.sh: Likewise.
285 * run-readelf-zdebug.sh: Likewise.
287 2017-11-16 Mark Wielaard <mark@klomp.org>
289 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
291 2017-11-10 Mark Wielaard <mark@klomp.org>
293 * run-exprlocs-self.sh: New test.
294 * run-varlocs-self.sh: Likewise.
295 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
297 (EXTRA_DIST): Likewise.
298 * varlocs.c (cfi_debug_bias): New global variable.
299 (is_ET_REL): Likewise.
300 (print_expr): Don't crash and burn when CFI cannot be found for an
301 ET_REL file for DW_OP_call_frame_cfa.
302 (handle_die): If there is no entry_pc pick the lowest pc start range
304 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
305 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
307 2017-11-03 Mark Wielaard <mark@klomp.org>
309 * run-exprlocs.sh: New test.
310 * testfile-stridex.bz2: New testfile.
311 * Makefile.am (TESTS): Add run-exprlocs.sh.
312 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
313 * varlocs.c (dwarf_tag_string): New function.
314 (dwarf_attr_string): Likewise.
315 (dwarf_form_string): Likewise.
316 (print_expr): Fix typo in error message.r
317 Handle DW_OP_GNU_variable_value.
318 (attr_arg): New struct.
319 (handle_attr): New function.
320 (handle_die): Likewise.
321 (main): Handle --exprlocs argument. Call handle_die.
323 2017-10-16 Mark Wielaard <mark@klomp.org>
325 * md5-sha1-test.c: Removed.
326 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
328 (md5_sha1_test_LDADD): Removed.
330 2017-10-04 Mark Wielaard <mark@klomp.org>
332 * msg_tst.c: Handle ELF_E_INVALID_ELF.
334 2017-09-10 Mark Wielaard <mark@klomp.org>
336 * run-ar.sh: New test.
337 * Makefile.am (TESTS): Add run-ar.sh.
338 (EXTRA_DIST): Likewise.
340 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
342 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
344 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
346 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
348 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
350 * run-strip-nothing.sh: Add -s.
352 2017-07-26 Mark Wielaard <mark@klomp.org>
354 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
356 2016-10-27 Mark Wielaard <mjw@redhat.com>
358 * dwarf_default_lower_bound.c: New test.
359 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
361 (dwarf_default_lower_bound_LDADD): New variable.
363 2017-07-21 Mark Wielaard <mark@klomp.org>
365 * get-lines.c (main): Add dwarf_line_file test.
367 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
369 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
370 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
372 2017-07-20 Mark Wielaard <mark@klomp.org>
374 * run-strip-g.sh: New test.
375 * Makefile.am (TESTS): Add run-strip-g.sh.
376 (EXTRA_DIST): Likewise.
378 2017-07-18 Mark Wielaard <mark@klomp.org>
380 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
382 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
384 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
386 2017-07-14 Mark Wielaard <mark@klomp.org>
388 * run-strip-remove-keep.sh: New test.
389 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
390 (EXTRA_DIST): Likewise.
392 2017-06-07 Mark Wielaard <mark@klomp.org>
394 * run-strip-nothing.sh: New test.
395 * Makefile.am (TESTS): Add run-strip-nothing.sh.
396 (EXTRA_DIST): Likewise.
398 2017-06-06 Mark Wielaard <mark@klomp.org>
400 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
402 2017-05-30 Mark Wielaard <mark@klomp.org>
404 * run-backtrace-fp-core-ppc64le.sh: New test.
405 * backtrace.ppc64le.fp.core.bz2: New test file.
406 * backtrace.ppc64le.fp.exec.bz2: New testfile.
407 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
408 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
409 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
410 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
412 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
413 Mark Wielaard <mark@klomp.org>
415 * Makefile.am: Add test for unwinding with frame pointers on aarch64
416 * backtrace.aarch64.fp.core.bz2: New file
417 * backtrace.aarch64.fp.exec.bz2: New file
418 * run-backtrace-fp-core-aarch64.sh: New file
419 * backtrace-subr.sh (check_err): Allow Invalid register.
420 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
422 2017-04-06 Mark Wielaard <mark@klomp.org>
424 * run-backtrace-fp-core-i386.sh: New test.
425 * backtrace.i386.fp.core.bz2: New test file.
426 * backtrace.i386.fp.exec.bz2: New testfile.
427 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
428 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
429 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
431 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
433 * Makefile.am: Add test for unwinding with frame pointers on x86_64
434 * backtrace.x86_64.fp.core.bz2: New file
435 * backtrace.x86_64.fp.exec.bz2: New file
436 * run-backtrace-fp-core-x86_64.sh: New file
438 2017-04-25 Mark Wielaard <mark@klomp.org>
440 * backtrace-subr.sh (check_backtracegen): New function.
441 (check_core): Add check_backtracegen call.
442 * backtrace.ppc.exec.bz2: Regenerated.
443 * backtrace.ppc.core.bz2: Likewise.
445 2017-04-24 Mark Wielaard <mark@klomp.org>
447 * backtrace.c: Remove option to allow unknown symbols in the trace.
448 * backtrace-substr.sh: Remove option to allow unknown symbols
449 to check_core() and allow failed symbol lookups in check_err().
451 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
453 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
455 * run-readelf-zdebug-rel.sh: Likewise.
457 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
459 * backtrace-child.c: Include sys/ptrace.h only on linux.
460 * backtrace-dwarf.c: Likewise.
462 2017-04-05 Mark Wielaard <mark@klomp.org>
464 * test-subr.sh (testrun_on_self_compressed): New function.
465 * run-elflint-self.sh: Call testrun_on_self_compressed.
466 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
468 2017-03-30 Mark Wielaard <mark@klomp.org>
470 * peel_type.c: New file.
471 * run-peel-type.sh: New test.
472 * Makefile.am (check_PROGRAMS): Add peel_type.c.
473 (TESTS): Add run-peel-type.sh.
474 (EXTRA_DIST): Likewise.
475 (peel_type_LDADD): New variable.
477 2017-03-27 Mark Wielaard <mark@klomp.org>
479 * fillfile.c: New file.
480 * Makefile.am (check_PROGRAMS): Add fillfile.
482 (fillfile_LDADD): New variable.
484 2017-02-15 Mark Wielaard <mark@klomp.org>
486 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
487 * run-readelf-A.sh: Add testfileppc64.o test.
489 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
491 * elfstrmerge.c: Include system.h.
493 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
495 * backtrace.c: Add an option to allow unknown symbols in the trace
496 * backtrace-substr.sh: Add an option to allow unknown symbols
497 to check_core() and allow failed symbol lookups in check_err()
499 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
501 * backtrace-data.c: Don't assert that symbols are found.
502 The unwinder is allowed to ask for invalid addresses. We deny
503 such requests, rather than make the test fail.
505 2016-11-17 Mark Wielaard <mjw@redhat.com>
507 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
509 2016-11-02 Mark Wielaard <mjw@redhat.com>
511 * backtrace-data.c (thread_callback): Add explicit break after error.
512 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
514 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
516 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
517 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
518 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
519 (run-unstrip-test4.sh): New file.
520 (testfile-strtab.bz2): New file.
521 (testfile-strtab.stripped.bz2): New file.
522 (testfile-strtab.debuginfo.bz2): New file.
524 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
526 * arextract.c: Remove sys/param.h include, add system.h include.
528 2016-08-30 Mark Wielaard <mjw@redhat.com>
530 * Makefile.am (asm_tst?_LDADD): Add libdw.
532 2016-08-25 Mark Wielaard <mjw@redhat.com>
534 * backtrace-child.c: Disable and add documentation about why we disable
535 RAISE_JMP_PATCHING even on x86_64.
536 * backtrace.c (is_x86_64_native): Rename to...
537 (use_raise_jmp_patching): ... this.
538 (callback_verify): Use use_raise_jmp_patching instead of
540 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
542 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
544 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
545 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
546 use_raise_jmp_patching instead of is_x86_64_native.
548 2016-08-24 Mark Wielaard <mjw@redhat.com>
550 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
552 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
554 * testfilesparc64attrs.o.bz2: New file.
555 * run-readelf-A.sh: Check attributes in a sparc object.
557 2016-08-06 Mark Wielaard <mjw@redhat.com>
559 * run-strip-reloc.sh: Add explicit compressed and uncompressed
562 2016-08-10 Richard Henderson <rth@redhat.com>
564 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
567 2016-07-08 Mark Wielaard <mjw@redhat.com>
569 * update3_LDADD: Use libdw instead of libebl.
570 * update4_LDADD: Likewise.
571 * alldts_LDADD: Likewise.
572 * elfstrmerge_LDADD: Likewise.
573 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
574 * elfstrmerge.c (release): Likewise.
576 * update3.c (main): Likewise.
577 * update4.c (main): Likewise.
579 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
581 * Makefile.am (TESTS): Add run-strip-test11.sh.
582 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
583 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
584 (run-strip-test11.sh): New file.
585 (hello_m68k.ko.bz2): New file.
586 (testfile-m68k-core.bz2): New file.
587 (testfile-m68k.bz2): New file.
588 (testfile-m68k-s.bz2): New file.
589 * run-allregs.sh: Add test for testfile-m68k-core.
590 * run-readelf-mixed-corenote.sh: Likewise.
591 * run-strip-reloc.sh: Add test for hello_m68k.ko.
593 2016-07-06 Mark Wielaard <mjw@redhat.com>
595 * Makefile.am (check_PROGRAMS): Add vendorelf.
597 (vendorelf_LDADD): New variable.
598 * vendorelf.c: New test.
599 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
601 2016-06-24 Mark Wielaard <mjw@redhat.com>
603 * Makefile.am (check_PROGRAMS): Add emptyfile.
605 (emptyfile_LDADD): New variable.
606 * emptyfile.c: New test.
608 2016-06-28 Richard Henderson <rth@redhat.com>
610 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
611 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
612 testfile-bpf-dis1.o.bz2
613 (run-disasm-bpf.sh): New file.
614 (testfile-bpf-dis1.expect.bz2): New file.
615 (testfile-bpf-dis1.o.bz2): New file.
617 2016-02-09 Mark Wielaard <mjw@redhat.com>
619 * testfile-s390x-hash-both.bz2: New testfile.
620 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
621 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
623 2016-02-04 Mark Wielaard <mjw@redhat.com>
625 * run-strip-nobitsalign.sh: New test.
626 * testfile-nobitsalign.bz2: New testfile.
627 * testfile-nobitsalign.strip.bz2: Likewise.
628 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
629 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
630 and testfile-nobitsalign.strip.bz2.
631 * run-strip-test.sh: Add --gnu to elflint calls.
633 2016-01-13 Mark Wielaard <mjw@redhat.com>
635 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
637 2016-01-13 Mark Wielaard <mjw@redhat.com>
639 * dwfl-proc-attach.c: Guard linux specific header.
641 2016-01-13 Mark Wielaard <mjw@redhat.com>
643 * system-elf-libelf-test.c: New test.
644 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
645 (check_PROGRAMS): Likewise.
646 (system_elf_libelf_test_CPPFLAGS): New variable.
647 (system_elf_libelf_test_LDADD): Likewise.
649 2016-01-08 Mark Wielaard <mjw@redhat.com>
651 * elfputzdata.c (main): Fix parentheses in strncmp test.
653 2016-01-08 Mark Wielaard <mjw@redhat.com>
655 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
657 2016-01-08 Mark Wielaard <mjw@redhat.com>
659 * Makefile.am (TESTS): Always unconditionally add
660 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
662 2015-12-16 Mark Wielaard <mjw@redhat.com>
664 * run-compress-test.sh: New test.
665 * Makefile.am (TESTS): Add run-compress-test.sh.
666 (EXTRA_DISTS): Likewise.
668 2015-11-26 Mark Wielaard <mjw@redhat.com>
670 * zstrptr.c: New file.
671 * run-zstrptr.sh: New test.
672 * elfputzdata.c (main): (re)compress .shstrtab.
673 * run-elfputzdata.sh: Expect .shstrtab compression.
674 * Makefile.am (check_PROGRAMS): Add zstrptr.
675 (TESTS): Add run-zstrptr.sh.
676 (EXTRA_DIST): Likewise.
677 (zstrptr_LDADD): New variable.
679 2015-10-20 Mark Wielaard <mjw@redhat.com>
681 * run-readelf-zx.sh: New test.
682 * run-readelf-zp.sh: Likewise.
683 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
684 (EXTRA_DIST): Likewise.
686 2015-10-21 Mark Wielaard <mjw@redhat.com>
688 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
689 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
690 (EXTRA_DIST: Likewise.
691 (elfgetzdata_LDADD): New variable.
692 (elfputzdata_LDADD): Likewise.
693 * elfgetzdata.c: New file.
694 * elfputzdata.c: Likewise.
695 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
696 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
697 ELF_E_DECOMPRESS_ERROR.
698 * run-elfgetzdata.sh: New test.
699 * run-elfputzdata.sh: Likewise.
701 2015-10-28 Mark Wielaard <mjw@redhat.com>
703 * run-readelf-z.sh: New test.
704 * Makefile.am (TESTS): Add run-readelf-z.sh.
705 (EXTRA_DIST): Likewise.
707 2015-10-28 Mark Wielaard <mjw@redhat.com>
709 * elfgetchdr.c: New file.
710 * run-elfgetchdr.sh: New test.
711 * testfile-zgabi32.bz2: New testfile.
712 * testfile-zgabi32be.bz2: Likewise.
713 * testfile-zgabi64.bz2: Likewise.
714 * testfile-zgabi64be.bz2: Likewise.
715 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
716 (TESTS): Add run-elfgetchdr.sh.
717 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
718 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
719 (welfgetchdr_LDADD): New variable.
720 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
721 and ELF_E_INVALID_SECTION_FLAGS,
724 2015-10-28 Mark Wielaard <mjw@redhat.com>
726 * dwelfgnucompressed.c: New file.
727 * run-dwelfgnucompressed.sh: New test.
728 * testfile-zgnu32.bz2: New testfile.
729 * testfile-zgnu64.bz2: Likewise.
730 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
731 (TESTS): Add run-dwelfgnucompressed.sh.
732 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
733 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
734 (dwelfgnucompressed_LDADD): New variable.
736 2015-12-31 Mark Wielaard <mjw@redhat.com>
738 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
739 * run-elfstrmerge-test.sh: New test.
740 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
741 (EXTRA_DIST): Likewise.
743 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
745 * run-backtrace-core-sparc.sh: New file.
746 * backtrace.sparc.core.bz2: New file.
747 * backtrace.sparc.exec.bz2: New file.
748 * Makefile.am (EXTRA_DIST): ... and added all here.
749 (TESTS): Added run-backtrace-core-sparc.sh.
751 2015-12-02 Mark Wielaard <mjw@redhat.com>
753 * Makefile.am (valgrind_cmd): Use --leak-check=full.
754 * run-backtrace-demangle.sh: Disable valgrind.
755 * run-stack-demangled-test.sh: Likewise.
756 * run-stack-d-test.sh: Likewise.
757 * run-stack-i-test.sh: Likewise.
759 2015-12-01 Mark Wielaard <mjw@redhat.com>
761 * test-flag-nobits.c (main): Call elf_end.
762 * rerequest_tag.c (main): Call dwarf_end.
763 * funcscopes.c (handle_function): Free scopes.
764 * dwarf-getstring.c (main): Call dwarf_end.
765 * allregs.c (main): Free state.info.
766 * alldts.c (main): Free dyn.
767 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
769 * addrscopes.c (handle_address): Free scopes.
771 2015-10-16 Mark Wielaard <mjw@redhat.com>
773 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
774 [BUILD_STATIC] (libelf): Likewise.
776 2015-10-16 Mark Wielaard <mjw@redhat.com>
778 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
780 2015-10-09 Josh Stone <jistone@redhat.com>
782 * lfs-symbols: New list of LFS-related symbols from lintian.
783 * testfile-nolfs.bz2: New test binary for sanity checking.
784 * run-lfs-symbols.sh: New test.
785 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
786 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
788 * alldts.c (main): Replace open64 with open.
789 * dwarf-getstring.c (main): Likewise.
790 * arls.c: Include config.h.
792 * rdwrmmap.c: Likewise.
793 * test-elf_cntl_gelf_getshdr.c: Likewise.
794 * test-flag-nobits.c: Include config.h.
795 (main): Replace open64 with open.
797 2015-10-09 Mark Wielaard <mjw@redhat.com>
799 * elfshphehdr.c (check): Rename argument from check to statement.
800 (check_elf): Likewise.
802 2015-10-05 Josh Stone <jistone@redhat.com>
804 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
806 2015-10-02 Mark Wielaard <mjw@redhat.com>
808 * elfstrmerge.c: New check program.
809 * run-strip-strmerge.sh: New test.
810 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
811 (EXTRA_DIST): Add run-strip-strmerge.sh
812 (elfstrmerge_LDADD): New variable.
814 2015-09-29 Mark Wielaard <mjw@redhat.com>
816 * elfshphehdr.c: New test.
817 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
819 (elfshphehdr_LDADD): New variable.
821 2015-09-08 Mark Wielaard <mjw@redhat.com>
823 * dwfl-proc-attach.c: New test.
824 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
826 (dwfl_proc_attach_LDADD): New variable.
827 (dwfl_proc_attach_LDFLAGS): Likewise.
829 2015-09-04 Chih-Hung Hsieh <chh@google.com>
831 * varlocs.c (print_base_type): Initialize enctype.
833 2015-09-04 Chih-Hung Hsieh <chh@google.com>
835 * md5-sha1-test.c (md5_expected): Removed.
836 (sha1_expected): Likewise.
838 2015-09-04 Chih-Hung Hsieh <chh@google.com>
840 * asm-tst1.c (main): Replace %Z length modifier with %z.
841 * asm-tst2.c (main): Likewise.
842 * asm-tst3.c (main): Likewise.
843 * asm-tst4.c (main): Likewise.
844 * asm-tst5.c (main): Likewise.
845 * asm-tst6.c (main): Likewise.
846 * asm-tst7.c (main): Likewise.
847 * asm-tst8.c (main): Likewise.
848 * asm-tst9.c (main): Likewise.
849 * sectiondump.c (print_bytes): Likewise.
851 2015-08-14 Mark Wielaard <mjw@redhat.com>
853 * run-addr2line-alt-debugpath.sh: New test.
854 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
855 (EXTRA_DIST): Likewise.
857 2015-07-29 Mark Wielaard <mjw@redhat.com>
859 * run-unstrip-test3.sh: New test.
860 * testfile-info-link.bz2: New file.
861 * testfile-info-link.debuginfo.bz2: Likewise.
862 * testfile-info-link.stripped.bz2: Likewise.
863 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
864 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
865 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
867 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
869 * tests/run-deleted.sh: Skip when detecting a not implemented
870 dwfl_linux_proc_attach.
872 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
874 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
877 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
879 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
881 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
883 * tests/backtrace-data.c: Reduce scope of some includes to match their
885 * tests/backtrace.c: Likewise.
886 * tests/deleted.c: Likewise.
888 2015-06-16 Mark Wielaard <mjw@redhat.com>
890 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
891 for non-ET_REL files.
893 2015-05-30 Mark Wielaard <mjw@redhat.com>
895 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
896 generated before skipping.
897 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
899 * run-backtrace-demangle.sh: Likewise.
900 * run-stack-demangled-test.sh: Likewise.
901 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
903 * run-backtrace-native-core-biarch.sh: Likewise.
904 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
906 2015-05-20 Mark Wielaard <mjw@redhat.com>
908 * run-addr2line-i-test.sh: Add pretty test.
909 * run-addr2line-test.sh: Likewise.
911 2015-05-20 Mark Wielaard <mjw@redhat.com>
913 * run-addr2line-i-demangle-test.sh: New test.
914 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
915 (EXTRA_DIST): Likewise.
917 2015-05-20 Mark Wielaard <mjw@redhat.com>
919 * run-addr2line-test.sh: Add -a test variants.
920 * run-addr2line-i-test.sh: Likewise.
922 2015-05-20 Mark Wielaard <mjw@redhat.com>
924 * run-addrname-test.sh: Make sure all input addresses are hex.
926 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
928 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
929 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
931 * backtrace-dwarf.c (main): Likewise.
932 * backtrace.c (prepare_thread, exec_dump): Likewise.
934 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
936 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
937 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
938 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
939 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
940 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
942 2015-05-01 Mark Wielaard <mjw@redhat.com>
944 * run-stack-d-test.sh: Use --raw and mangled output.
945 * run-stack-i-test.sh: Likewise.
946 * run-stack-demangled-test.sh: New test.
947 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
950 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
952 * Makefile.am (TESTS): Add run-strip-test10.sh.
953 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
954 Add testfile-x32-debug.bz2.
955 * run-strip-test10.sh: New file.
956 * testfile-x32-d.bz2: Likewise.
957 * testfile-x32-debug.bz2: Likewise.
959 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
961 * Makefile.am (TESTS): Add run-strip-test9.sh.
962 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
963 * run-strip-test9.sh: New file.
964 * testfile-x32-s.bz2: Likewise.
966 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
968 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
969 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
970 Add backtrace.x32.exec.bz2.
971 * backtrace.x32.core.bz2 : New file.
972 * backtrace.x32.exec.bz2: Likewise.
973 * run-backtrace-core-x32.sh: Likewise.
975 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
977 * run-addrcfi.sh: Add a test for testfile-x32.
978 * testfile-x32.bz2: New file.
979 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
981 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
983 * run-allregs.sh: Add a test for testfile-x32-core.
985 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
987 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
988 * testfile-x32-core.bz2: New file.
989 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
991 2015-03-18 Petr Machata <pmachata@redhat.com>
993 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
995 * allregs.c (dwarf_encoding_string): Likewise.
996 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
997 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
999 2015-03-18 Petr Machata <pmachata@redhat.com>
1001 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
1002 debug-ranges-no-lowpc.o.bz2.
1004 2015-03-13 Mark Wielaard <mjw@redhat.com>
1006 * backtrace-dwarf.c: Add explicit includes.
1007 (cleanup_13_abort): Remove unused static declaration.
1008 (thread_callback): Add explicit return.
1010 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
1012 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
1013 instead of PTRACE_POKEUSER.
1014 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
1017 2015-02-18 Mark Wielaard <mjw@redhat.com>
1019 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
1021 2015-02-11 Josh Stone <jistone@redhat.com>
1023 * backtrace.c (exec_dump): Initialize jmp.
1025 2015-02-11 Petr Machata <pmachata@redhat.com>
1027 * run-dwarf-ranges.sh: New test.
1028 * dwarf-ranges.c: New file.
1029 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
1031 2015-01-21 Mark Wielaard <mjw@redhat.com>
1033 * Makefile.am (check_PROGRAMS): Add elfstrtab.
1035 (elfstrtab_LDADD): New variable.
1036 * elfstrtab.c: New test.
1038 2015-01-20 Mark Wielaard <mjw@redhat.com>
1040 * Makefile.am (check_PROGRAMS): Add newdata.
1042 (newdata_LDADD): new variable.
1043 * newdata.c: New test.
1045 2015-01-20 Mark Wielaard <mjw@redhat.com>
1047 * strptr.c: New file.
1048 * run-strptr.sh: New test.
1049 * Makefile.am (check_PROGRAMS): Add strptr.
1050 (TESTS): Add run-strptr.sh.
1051 (EXTRA_DIST): Likewise.
1052 (strptr_LDADD): New variable.
1054 2015-01-15 Mark Wielaard <mjw@redhat.com>
1056 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
1057 * vdsosyms.c (main): Use getpid () instead of getppid ().
1059 2014-12-27 Mark Wielaard <mjw@redhat.com>
1061 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
1062 * funcscopes.c (handle_function): Likewise.
1063 * run-addrscopes.sh: Adjust last address in scope.
1064 * run-funcscopes.sh: Likewise.
1066 2015-01-07 Mark Wielaard <mjw@redhat.com>
1068 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
1070 2015-01-14 Mark Wielaard <mjw@redhat.com>
1072 * testfile-debug-types.bz2: New testfile.
1073 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
1074 * typeiter2.c (main): Print both name and offset of found form DIE.
1075 * run-typeiter.s: Adjust output and add testfile-debug-types.
1077 2014-12-26 Mark Wielaard <mjw@redhat.com>
1079 * run-test-archive64.sh: Add nm test.
1081 2014-12-19 Mark Wielaard <mjw@redhat.com>
1083 * run-deleted.sh: Don't check libfunc on ppc64.
1085 2014-12-19 Mark Wielaard <mjw@redhat.com>
1087 * vdsosyms.c (vdso_seen): Removed.
1088 (vdso_syms): New global.
1089 (module_callback): Set and check vdso_syms.
1090 (main): Return value depends on vdso_syms.
1092 2014-12-19 Mark Wielaard <mjw@redhat.com>
1094 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
1096 * run-deleted.sh: Call check_native_unsupported.
1098 2014-12-18 Mark Wielaard <mjw@redhat.com>
1100 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
1102 2014-12-12 Mark Wielaard <mjw@redhat.com>
1104 * Makefile.am (deleted_lib_so_CFLAGS): Add
1105 -fasynchronous-unwind-tables.
1107 2014-12-11 Josh Stone <jistone@redhat.com>
1109 * run-addr2line-i-lex-test.sh: New test.
1110 * testfile-lex-inlines.bz2: New testfile.
1111 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
1112 testfile-lex-inlines.bz2.
1113 (TESTS): Add run-addr2line-i-lex-test.sh.
1115 2014-12-10 Josh Stone <jistone@redhat.com>
1117 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
1118 preferred over the plain die name.
1120 2014-12-02 Petr Machata <pmachata@redhat.com>
1122 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
1123 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
1124 (main): Initialize off to DWARF_GETMACROS_START when an extra
1125 command line argument is passed.
1126 * testfile-macros-0xff.bz2: New test case.
1127 * testfile-macros-0xff.s: New file (source for the above).
1128 * run-dwarf-getmacros.sh: Add two tests.
1130 2014-11-27 Mark Wielaard <mjw@redhat.com>
1132 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
1134 2014-11-21 Mark Wielaard <mjw@redhat.com>
1136 * run-readelf-A.sh: New test.
1137 * testfileppc32attrs.o.bz2: New test file.
1138 * Makefile.am (TESTS): Add run-readelf-A.sh.
1139 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
1141 2014-11-10 Mark Wielaard <mjw@redhat.com>
1143 * vdsosyms.c: New test.
1144 * Makefile.am (check_PROGRAMS): Add vdsosyms.
1146 (vdsosyms_LDADD): New variable.
1148 2014-09-10 Petr Machata <pmachata@redhat.com>
1150 * dwarf-getmacros.c: Update to use the new macro iteration
1152 * run-dwarf-getmacros.sh: Adjust, add a test that uses
1155 2014-10-06 Mark Wielaard <mjw@redhat.com>
1157 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
1158 * testfile-sizes3.o.bz2: New test file.
1159 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
1161 2014-10-02 Mark Wielaard <mjw@redhat.com>
1163 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
1165 2014-10-02 Mark Wielaard <mjw@redhat.com>
1167 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1168 (TESTS): Add run-aggregate-size.sh.
1169 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1170 and testfile-sizes2.o.bz2.
1171 (aggregate_size_LDADD): New variable.
1172 * aggregate_size.c: New file.
1173 * run-aggregate-size.sh: New test.
1174 * testfile-sizes1.o.bz2: New test file.
1175 * testfile-sizes2.o.bz2: Likewise.
1177 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1179 Support NT_FILE for locating files.
1180 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
1181 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1182 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1183 * linkmap-cut-lib.so.bz2: New file.
1184 * linkmap-cut.bz2: New file.
1185 * linkmap-cut.core.bz2: New file.
1186 * run-linkmap-cut.sh: New file.
1187 * run-unstrip-n.sh: Update its expected output.
1189 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1191 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1192 (TESTS, EXTRA_DIST): Add run-deleted.sh.
1193 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1194 * deleted-lib.c: New file.
1195 * deleted.c: New file.
1196 * run-deleted.sh: New file.
1198 2014-06-15 Mark Wielaard <mjw@redhat.com>
1200 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
1202 2014-06-13 Mark Wielaard <mjw@redhat.com>
1204 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1207 2014-06-13 Mark Wielaard <mjw@redhat.com>
1209 * backtrace-subr.sh (check_native_unsupported): New function.
1210 (check_native): Call it.
1211 (check_native_core): Likewise.
1212 * run-backtrace-dwarf.sh: Likewise.
1214 2014-06-11 Mark Wielaard <mjw@redhat.com>
1216 * backtrace.c (main): Check that Dwfl was attached by calling
1217 dwfl_pid and printing the error when it is not.
1219 2014-05-18 Mark Wielaard <mjw@redhat.com>
1221 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1223 * testfile-backtrace-demangle.bz2: Regenerate.
1224 * testfile-backtrace-demangle.core.bz2: Likewise.
1226 2014-05-02 Mark Wielaard <mjw@redhat.com>
1228 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1229 run-allfcts-multi.sh are now added unconditionally.
1231 2014-05-01 Mark Wielaard <mjw@redhat.com>
1233 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1236 2014-04-30 Mark Wielaard <mjw@redhat.com>
1238 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1239 * Makefile.am (check_PROGRAMS): Add buildid.
1240 (TESTS): Add run-buildid.sh.
1241 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1242 (buildid_LDADD): New variable.
1244 2014-04-24 Florian Weimer <fweimer@redhat.com>
1246 * allfcts.c (setup_alt): New function.
1247 (main): Call it. Implementation additional error checking and
1250 2014-04-24 Florian Weimer <fweimer@redhat.com>
1252 * debugaltlink.c, run-debugaltlink.sh: New files.
1253 * Makefile.am (check_PROGRAMS): Add debugaltlink.
1254 (TESTS): Add run-debugaltlink.sh.
1255 (debugaltlink_LDADD): New variable.
1257 2014-04-11 Mark Wielaard <mjw@redhat.com>
1259 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1260 (check_PROGRAMS): Add debuglink.
1261 (TESTS): Add run-debuglink.sh
1262 (EXTRA_DIST): Likewise.
1263 (debuglink_LDADD): New.
1264 * debuglink.c: New file.
1265 * run-debuglink.sh: Likewise.
1267 2014-03-23 Mark Wielaard <mjw@redhat.com>
1269 * run-nm-self.sh: Use test = not == for string comparisons.
1271 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
1273 * backtrace.c: Make Linux only.
1274 * backtrace-child.c: Make Linux only.
1275 * backtrace-data.c: Make Linux only.
1276 * backtrace-dwarf.c: Make Linux only.
1277 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1279 2014-03-14 Mark Wielaard <mjw@redhat.com>
1281 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1283 * configure.ac: Remove MUDFLAP conditional.
1285 2014-04-09 Mark Wielaard <mjw@redhat.com>
1287 * run-readelf-zdebug.sh: New test.
1288 * testfile-debug.bz2: New testfile.
1289 * testfile-zdebug.bz2: New testfile.
1290 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1291 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1292 testfile-zdebug.bz2.
1294 2014-04-10 Mark Wielaard <mjw@redhat.com>
1296 * testfile_i686_core.bz2: New test file.
1297 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1298 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1300 2014-04-09 Mark Wielaard <mjw@redhat.com>
1302 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1303 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1304 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1305 * run-backtrace-core-aarch64.sh: New test.
1307 2014-03-11 Josh Stone <jistone@redhat.com>
1309 * testfilebaxmin.bz2: New testfile.
1310 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1311 * run-readelf-s.sh: Test testfilebaxmin.
1312 * run-dwflsyms.sh: Likewise.
1314 2014-01-26 Mark Wielaard <mjw@redhat.com>
1316 * backtrace-subr.sh (check_unsupported): Special case arm*.
1318 2014-01-25 Mark Wielaard <mjw@redhat.com>
1320 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1321 location expression: call_frame_cfa stack_value.
1323 2014-01-22 Mark Wielaard <mjw@redhat.com>
1325 * Makefile.am (line2addr_no_Wformat): Removed.
1327 2014-01-21 Mark Wielaard <mjw@redhat.com>
1329 * Makefile.am (TESTS): Add run-stack-i-test.sh.
1330 (EXTRA_DIST): Likewise.
1331 * run-stack-i-test.sh: New test.
1333 2014-01-20 Mark Wielaard <mjw@redhat.com>
1335 * Makefile.am (TESTS): Add run-stack-d-test.sh.
1336 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1337 testfiledwarfinlines.core.bz2.
1338 * run-stack-d-test.sh: New test.
1339 * testfiledwarfinlines.bz2: New test file.
1340 * testfiledwarfinlines.core.bz2: Likewise.
1342 2014-01-16 Mark Wielaard <mjw@redhat.com>
1344 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1345 on one ET_REL, one ET_EXEC and one ET_DYN file.
1346 * test-subr.sh (self_test_files): Add two ET_REL files, only add
1347 two libebl ET_DYN backend files.
1349 2014-01-16 Mark Wielaard <mjw@redhat.com>
1351 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1353 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1355 Fix false FAILs on testsuite with ulimit -c unlimited.
1356 * backtrace-child.c (sigusr2): Call pthread_exit.
1357 (main): Return, do not call abort.
1359 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1361 Fix corruption of non-C++ symbols by the demangler.
1362 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1363 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1364 (EXTRA_DIST): Add run-backtrace-demangle.sh,
1365 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1366 testfile-backtrace-demangle.core.bz2.
1367 * backtrace-demangle.cc: New file.
1368 * run-backtrace-demangle.sh: New file.
1369 * testfile-backtrace-demangle.bz2: New file.
1370 * testfile-backtrace-demangle.cc: New file.
1371 * testfile-backtrace-demangle.core.bz2: New file.
1373 2014-01-07 Matthias Klose <doko@ubuntu.com>
1375 * backtrace-subr.sh (check_native_core): Check to see if core file
1376 was created without ".PID" extension, if so mv core to core.PID.
1377 Skip test if no core file was created or could be found.
1379 2014-01-04 Mark Wielaard <mjw@redhat.com>
1381 * backtrace-data.c (main): Don't assert if raise returns.
1382 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1383 assume_ptrace_attached true.
1384 (ptrace_detach_stopped): Removed function.
1385 (main): Don't call ptrace_detach_stopped.
1386 * backtrace.c (ptrace_detach_stopped): Removed function.
1387 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1389 (exec_dump): Don't call ptrace_detach_stopped.
1391 2014-01-04 Mark Wielaard <mjw@redhat.com>
1393 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1394 if we cannot adjust core ulimit.
1396 2014-01-04 Mark Wielaard <mjw@redhat.com>
1398 * cleanup-13.c (force_unwind_stop): Removed.
1399 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1400 don't call _Unwind_ForcedUnwind.
1402 2014-01-03 Mark Wielaard <mjw@redhat.com>
1404 * run-addrcfi.sh: Add case for EM_AARCH64.
1405 * testfileaarch64.bz2: New testfile.
1406 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1408 2013-12-30 Mark Wielaard <mjw@redhat.com>
1410 * backtrace-dwarf.c (report_pid): Explicitly call
1411 dwfl_linux_proc_attach and check for errors.
1412 * backtrace.c (report_pid): Likewise.
1414 2013-12-21 Mark Wielaard <mjw@redhat.com>
1416 * backtrace.c (callback_verify): Only assert that case 5 is the last
1417 instruction of backtracegen on x86_64 native.
1419 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1420 Mark Wielaard <mjw@redhat.com>
1422 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1423 and testfilebaz*ppc64*.bz2 files.
1424 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
1425 error on dwfl_module_getsymtab error.
1426 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1427 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1428 Also print section of actual value if different from sym.
1429 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1430 Test addr2line -x by showing different sections for address and
1431 found name in testfile66.
1432 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1433 testfilebaz*ppc64): New tests.
1434 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1435 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1436 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1437 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1438 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1439 testfilebaztabppc64.bz2: New test files.
1441 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1443 unwinder: s390 and s390x
1444 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1445 run-backtrace-core-s390.sh.
1446 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1447 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1448 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1449 * backtrace.s390.core.bz2: New file.
1450 * backtrace.s390.exec.bz2: New file.
1451 * backtrace.s390x.core.bz2: New file.
1452 * backtrace.s390x.exec.bz2: New file.
1453 * run-backtrace-core-s390.sh: New file.
1454 * run-backtrace-core-s390x.sh: New file.
1456 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1458 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1461 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1464 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1465 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1466 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1467 * backtrace.ppc.core.bz2: New file.
1468 * backtrace.ppc.exec.bz2: New file.
1469 * run-backtrace-core-ppc.sh: New file.
1471 2013-12-10 Mark Wielaard <mjw@redhat.com>
1473 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1475 2013-12-10 Mark Wielaard <mjw@redhat.com>
1477 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1478 * backtrace-subr.sh (check_native_core): Disable valgrind while
1480 * run-backtrace-data.sh: Disable valgrind.
1481 * run-backtrace-dwarf.sh: Likewise.
1483 2013-12-09 Mark Wielaard <mjw@redhat.com>
1485 * varlocs.c (print_expr): Update comment to explain empty location
1486 associated with DW_OP_GNU_implicit_pointer.
1488 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1490 Fix test FAIL with -O2.
1491 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1493 2013-12-05 Mark Wielaard <mjw@redhat.com>
1495 * backtrace-data.c (main): If unsupported also print to stderr.
1496 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1498 2013-12-04 Mark Wielaard <mjw@redhat.com>
1500 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1502 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1504 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1505 backtrace-data and backtrace-dwarf.
1506 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1507 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1508 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1509 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1510 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1511 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1512 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1513 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1514 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1515 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1516 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1517 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1518 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1519 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1521 * backtrace-child.c: New file.
1522 * backtrace-data.c: New file.
1523 * backtrace-dwarf.c: New file.
1524 * backtrace-subr.sh: New file.
1525 * backtrace.c: New file.
1526 * cleanup-13.c: New file.
1527 * backtrace.i386.core.bz2: New file.
1528 * backtrace.i386.exec.bz2: New file.
1529 * backtrace.x86_64.core.bz2: New file.
1530 * backtrace.x86_64.exec.bz2: New file.
1531 * run-backtrace-core-i386.sh: New file.
1532 * run-backtrace-core-x86_64.sh: New file.
1533 * run-backtrace-native-biarch.sh: New file.
1534 * run-backtrace-native-core-biarch.sh: New file.
1535 * run-backtrace-native-core.sh: New file.
1536 * run-backtrace-native.sh: New file.
1537 * run-backtrace-data.sh: New file.
1538 * run-backtrace-dwarf.sh: New file.
1540 2013-11-27 Mark Wielaard <mjw@redhat.com>
1542 * dwflsyms.c (gelf_bind_order): New function.
1543 (elf_section_name): Likewise.
1544 (addr_in_section): Likewise.
1545 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1546 Refine assert using gelf_bind_order. Print elf_section_name. Check
1547 bias with addr_in_section.
1548 * run-dwflsyms.sh: Add section names to expected output.
1550 2013-11-26 Mark Wielaard <mjw@redhat.com>
1552 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1554 2013-11-25 Petr Machata <pmachata@redhat.com>
1556 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1557 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1558 * Makefile.am (EXTRA_DIST): Add these.
1559 (TESTS): Add run-funcretval.sh.
1560 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1561 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1562 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1563 * run-funcretval.sh: New file.
1565 2013-11-18 Josh Stone <jistone@redhat.com>
1567 * testfilebazdbg_plr.bz2: New testfile.
1568 * testfilebazmin_plr.bz2: Likewise.
1569 * Makefile.am (EXTRA_DIST): Add the above files.
1570 * run-dwflsyms.sh: Add prelink -r tests.
1572 2013-11-15 Mark Wielaard <mjw@redhat.com>
1574 * testfilebazmdb.bz2: Regenerated.
1575 * testfilebazmin.bz2: Likewise.
1576 * testfilebazdbg_pl.bz2: New testfile.
1577 * testfilebazmin_pl.bz2: Likewise.
1578 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1579 testfilebazmin_pl.bz2.
1580 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1581 print relative address of function symbols.
1582 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1584 2013-11-01 Michael Forney <mforney@mforney.org>
1586 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1587 * run-arsymtest.sh: Use NM.
1589 2013-11-05 Mark Wielaard <mjw@redhat.com>
1591 * allfcts.c (main): Correct dwarf_getfuncs return value check.
1593 2013-10-10 Mark Wielaard <mjw@redhat.com>
1594 Josh Stone <jistone@redhat.com>
1596 * run-allfcts-multi.sh: New test.
1597 * test-offset-loop.bz2: New testfile.
1598 * test-offset-loop.alt.bz2: New testfile.
1599 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1600 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1601 test-offset-loop.alt.bz2.
1603 2013-10-15 Mark Wielaard <mjw@redhat.com>
1605 * run-unstrip-M.sh: New test.
1606 * Makefile.am (TESTS): Add run-unstrip-M.sh.
1607 (EXTRA_DIST): Likewise.
1609 2013-10-06 Mark Wielaard <mjw@redhat.com>
1611 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1612 location expression.
1614 2013-10-03 Josh Stone <jistone@redhat.com>
1616 * typeiter2.c: New file, reversing typeiter.c.
1617 * run-typeiter.sh: Also run typeiter2.
1618 * Makefile.am (check_PROGRAMS): Add typeiter2.
1619 (typeiter2_LDADD): New variable.
1621 2013-09-26 Petr Machata <pmachata@redhat.com>
1623 * run-readelf-mixed-corenote.sh: Update output of testfile71
1624 dump--readelf can newly decode the NT_FILE note.
1626 2013-09-26 Petr Machata <pmachata@redhat.com>
1628 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
1629 * run-readelf-mixed-corenote.sh: New test for this file.
1630 * testfile71.bz2: New file.
1632 2013-09-20 Mark Wielaard <mjw@redhat.com>
1634 * allfcts.c (cb): Return DWARF_CB_ABORT.
1635 (main): Iterate over all offsets returned by dwarf_getfuncs.
1636 * run-allfcts.sh: Add nested_funcs and class_func testcases.
1637 * testfile_nested_funcs.bz2: New test file.
1638 * testfile_class_func.bz2: Likewise.
1639 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
1640 testfile_nested_funcs.bz2.
1642 2013-08-30 Mark Wielaard <mjw@redhat.com>
1644 * Makefile.am (check_PROGRAMS): Add varlocs.
1645 (TESTS): Add run-varlocs.sh.
1646 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
1647 testfile_const_type.bz2, testfile_implicit_pointer.c,
1648 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1649 testfile_entry_value.c, testfile_entry_value.bz2,
1650 testfile_implicit_value.c and testfile_implicit_value.bz2.
1651 (varlocs_LDADD): New.
1652 * run-varlocs: New test.
1653 * testfile_const_type.c: New test source file.
1654 * testfile_entry_value.c: Likewise.
1655 * testfile_implicit_pointer.c: Likewise.
1656 * testfile_implicit_value.c: Likewise.
1657 * testfile_parameter_ref.c: Likewise.
1658 * testfile_const_type.bz2: New test file.
1659 * testfile_entry_value.bz2: Likewise.
1660 * testfile_implicit_pointer.bz2: Likewise.
1661 * testfile_implicit_value.bz2: Likewise.
1662 * testfile_parameter_ref.bz2: Likewise.
1663 * varlocs.c: New test source.
1665 2013-08-29 Mark Wielaard <mjw@redhat.com>
1667 * run-addrcfi.sh: Add case for EM_ARM.
1668 * testfilearm.bz2: New testfile.
1669 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1671 2013-08-28 Mark Wielaard <mjw@redhat.com>
1673 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1675 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1676 * testfiles390.bz2: New testfile.
1677 * testfiles390x.bz2: Likewise.
1678 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1681 2013-08-28 Mark Wielaard <mjw@redhat.com>
1683 * addrcfi.c (handle_cfi): Use printf not error.
1684 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1685 * testfileppc32.bz2: New testfile.
1686 * testfileppc64.bz2: Likewise.
1687 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1690 2013-08-27 Mark Wielaard <mjw@redhat.com>
1692 * run-addrcfi.sh: New test.
1693 * Makefile.am (TESTS): Add run-addrcfi.sh.
1694 (EXTRA_DIST): Likewise.
1695 * addrcfi.c (op_name): New function.
1696 (print_detail): Call and print op_name. Check ops, not result
1697 to check if this is "same value" or "undefined".
1698 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1700 2013-08-13 Mark Wielaard <mjw@redhat.com>
1702 * run-addr2line-i-test.sh: New test.
1703 * testfile-inlines.bz2: New testfile.
1704 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1705 testfile-inlines.bz2.
1706 (TESTS): Add run-addr2line-i-test.sh.
1708 2013-08-12 Mark Wielaard <mjw@redhat.com>
1710 * run-addr2line-test.sh: New test.
1711 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1714 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1716 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1719 2013-07-02 Mark Wielaard <mjw@redhat.com>
1721 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1722 testfilenolines.bz2.
1724 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1726 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1727 test-core.core.bz2 and test-core.exec.bz2.
1728 * run-addrname-test.sh: New test for these files.
1729 * run-unstrip-n.sh: Update expected output. New test for these files.
1730 * test-core-lib.so.bz2: New file.
1731 * test-core.core.bz2: New file.
1732 * test-core.exec.bz2: New file.
1734 2013-05-03 Mark Wielaard <mjw@redhat.com>
1736 * testfilenolines.bz2: New test file.
1737 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1738 * run-get-lines.sh: Run testrun_compare on testfilenolines.
1740 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1742 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1744 2013-04-29 Mark Wielaard <mjw@redhat.com>
1746 * test-subr.sh: Don't use pushd, just cd into test-dir.
1747 (exit_cleanup): Don't use popd, just cd .. to get out.
1749 2013-04-27 Mark Wielaard <mjw@redhat.com>
1751 * test-subr.sh (exit_cleanup): New function.
1752 (trap): Use exit_cleanup as argument.
1753 * run-native-test.sh (native_exit): New function.
1754 (trap): For EXIT (0) use native_exit as argument.
1756 2013-04-27 Mark Wielaard <mjw@redhat.com>
1758 * update1.c (main): Use unique tempfile name and unlink file.
1759 * update2.c (main): Likewise.
1760 * update3.c (main): Likewise.
1761 * update4.c (main): Use unique tempfile name.
1763 2013-04-27 Mark Wielaard <mjw@redhat.com>
1765 * run-alldts.sh: Add testfile-alldts to tempfiles.
1766 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1767 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1768 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1769 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1771 2013-04-26 Mark Wielaard <mjw@redhat.com>
1773 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1775 (TESTS_ENVIRONMENT): Likewise.
1776 (installed_LOG_COMPILER): New variable defining wrapper.
1777 (LOG_COMPILER): Likewise.
1778 * run-*.sh: Fixup location of input and output files.
1779 * test-subr.sh: Create test_dir, pushd to execute test in.
1780 (trap): Remove test_dir.
1781 (testfiles): Use abs_srcdir.
1782 (installed_testrun): Match on abs_builddir or abs_top_builddir.
1783 (self_test_files): Adjust path.
1785 2013-04-24 Mark Wielaard <mjw@redhat.com>
1787 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1789 2013-03-25 Mark Wielaard <mjw@redhat.com>
1791 * run-readelf-aranges.sh: New test.
1792 * testfilefoobarbaz.bz2: New test file.
1793 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1794 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1796 2013-03-25 Mark Wielaard <mjw@redhat.com>
1798 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1800 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1802 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1803 (TESTS): Add run-dwfl-report-elf-align.sh.
1804 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1805 testfile-dwfl-report-elf-align-shlib.so.bz2 .
1806 (dwfl_report_elf_align_LDADD): New.
1807 * dwfl-report-elf-align.c: New file.
1808 * run-dwfl-report-elf-align.sh: New file.
1809 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1811 2013-03-12 Mark Wielaard <mjw@redhat.com>
1813 * run-dwfllines.sh: New test.
1814 * dwfllines.c: New test program.
1815 * Makefile.am (TESTS): Add run-dwfllines.sh.
1816 (EXTRA_DIST): Likewise.
1817 (dwfllines_LDADD): New variable.
1819 2013-02-22 Mark Wielaard <mjw@redhat.com>
1821 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1822 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1824 2013-02-15 Mark Wielaard <mjw@redhat.com>
1826 * testfile-dwzstr.bz2: New testfile.
1827 * testfile-dwzstr.multi.bz2: Likewise.
1828 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1829 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1830 testfile-dwzstr.multi.bz2.
1832 2013-01-30 Mark Wielaard <mjw@redhat.com>
1834 * testfileloc.bz2: New testfile.
1835 * run-readelf-loc.sh: New test.
1836 * Makefile.am (TESTS): Add run-readelf-loc.sh.
1837 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1839 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1841 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1842 and s390x core notes.
1843 * testfile67.bz2: New file.
1844 * testfile68.bz2: New file.
1845 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1847 2013-01-23 Mark Wielaard <mjw@redhat.com>
1849 * testfilebasmin.bz2: New testfile.
1850 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1851 * run-readelf-s.sh: Test testfilebasmin.
1852 * run-dwflsyms.sh: Likewise.
1854 2013-01-16 Mark Wielaard <mjw@redhat.com>
1856 * Makefile.am (check_PROGRAMS): Add dwflsyms.
1857 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1858 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1859 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1860 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1861 (dwflsyms_LDADD): New variable.
1863 2013-01-07 Roland McGrath <roland@hack.frob.com>
1865 * run-prelink-addr-test.sh: Use ln -snf.
1867 2012-12-03 Mark Wielaard <mjw@redhat.com>
1869 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1871 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1873 * run-addrname-test.sh: New test for PIE relocation.
1874 * testfile70.core.bz2: New file.
1875 * testfile70.exec.bz2: New file.
1876 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1877 testfile70.exec.bz2 .
1879 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1881 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1882 testfile69.core.bz2 and testfile69.so.bz2 .
1884 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1886 * run-addrname-test.sh: New test for DSO with build-id bias.
1887 * testfile69.core.bz2: New file.
1888 * testfile69.so.bz2: New file.
1890 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1892 * run-addrname-test.sh: New test for core vDSO bias.
1893 * testfile65.bz2: New file.
1895 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1897 * run-addrname-test.sh: New test for symbol preferences.
1898 * testfile64.bz2: New file.
1900 2012-10-01 Mark Wielaard <mjw@redhat.com>
1902 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1903 * test-wrapper.sh: Export VALGRIND_CMD if available.
1904 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1905 (installed_testrun): Likewise.
1907 2012-09-24 Petr Machata <pmachata@redhat.com>
1909 * testfile63.bz2: New testfile.
1910 * run-readelf-mixed-corenote.sh: New test.
1911 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1912 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
1914 2012-09-24 Petr Machata <pmachata@redhat.com>
1916 * testfile62.bz2: New testfile.
1917 * run-readelf-vmcoreinfo.sh: New test.
1918 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
1919 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
1921 2012-09-18 Petr Machata <pmachata@redhat.com>
1923 * testfile61.bz2: New testfile.
1924 * run-allregs.sh: Run reg_test testfile61.
1925 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
1927 2012-08-24 Mark Wielaard <mjw@redhat.com>
1929 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
1931 2012-08-22 Jeff Kenton <jkenton@tilera.com>
1933 * testfile60.bz2: New testfile.
1934 * run-allregs.sh: Run reg_test testfile60.
1936 2012-08-24 Mark Wielaard <mjw@redhat.com>
1938 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
1941 2012-08-16 Mark Wielaard <mjw@redhat.com>
1943 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
1945 * show-die-info.c (tagnames): Removed.
1947 (dwarf_tag_string): New function using known-dwarf macros.
1948 (dwarf_attr_string): Likewise.
1949 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
1950 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
1952 2012-06-27 Mark Wielaard <mjw@redhat.com>
1954 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
1955 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
1956 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
1957 testfile_multi_main.bz2.
1958 * run-readelf-dwz-multi.sh: New test.
1959 * libtestfile_multi_shared.so.bz2: New testfile.
1960 * testfile_multi.dwz.bz2: New testifle.
1961 * testfile_multi_main.bz2: New testifle.
1963 2012-08-01 Petr Machata <pmachata@redhat.com>
1965 * run-test-archive64.sh: New test.
1966 * testarchive64.a.bz2: New testfile.
1967 * Makefile.am (TESTS): Add run-test-archive64.sh.
1968 (EXTRA_DIST): Likewise.
1970 2012-08-01 Mark Wielaard <mjw@redhat.com>
1972 * run-nm-self.sh: New test.
1973 * run-readelf-self.sh: Likewise.
1974 * test-subr.sh (testrun_on_self_quiet): New function.
1975 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
1976 (EXTRA_DIST): Likewise.
1978 2012-08-01 Mark Wielaard <mjw@redhat.com>
1980 * test-subr.sh (self_test_files): New list of files.
1981 (testrun_on_self): New function.
1982 * run-elflint-self.sh: Use testrun_on_self.
1984 2012-07-19 Mark Wielaard <mjw@redhat.com>
1986 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
1987 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
1988 (EXTRA_DIST): Likewise.
1989 (test_elf_cntl_gelf_getshdr_LDADD): New.
1990 test-elf_cntl_gelf_getshdr.c: New test program.
1991 run-elf_cntl_gelf_getshdr.sh: New test script.
1993 2012-07-19 Mark Wielaard <mjw@redhat.com>
1995 * run-elflint-self.sh: runtests on ../backends/*so files.
1997 2012-07-19 Mark Wielaard <mjw@redhat.com>
1999 * run-unstrip-n.sh: test_cleanup.
2000 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
2002 2012-07-11 Mark Wielaard <mjw@redhat.com>
2004 * run-readelf-macro.sh: New test.
2005 * testfilemacro.bz2: New testfile.
2006 * Makefile.am (TESTS): Add run-readelf-macro.sh.
2007 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2009 2012-06-27 Mark Wielaard <mjw@redhat.com>
2011 * run-readelf-gdb-index.sh: New test.
2012 * testfilegdbindex5.bz2: New testfile.
2013 * testfilegdbindex7.bz2: Likewise.
2014 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
2015 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
2016 testfilegdbindex7.bz2.
2018 2012-07-17 Mark Wielaard <mjw@redhat.com>
2020 * testcore-rtlib-ppc.bz2: New testfile.
2021 * run-unstrip-n.sh: Check new ppc core testfile.
2023 2012-06-26 Mike Frysinger <vapier@gentoo.org>
2025 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
2027 2012-06-26 Mark Wielaard <mjw@redhat.com>
2029 * run-macro-test.sh: New test.
2030 * testfile-macinfo.bz2: New testfile.
2031 * testfile-macros.bz2: Likewise.
2033 2012-05-07 Mark Wielaard <mjw@redhat.com>
2035 * low_high_pc.c: Use proper inttypes in printf formats.
2037 2012-05-11 Mark Wielaard <mjw@redhat.com>
2039 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
2041 2012-05-07 Mark Wielaard <mjw@redhat.com>
2043 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
2045 2012-04-27 Mark Wielaard <mjw@redhat.com>
2047 * Makefile.am (TESTS): Add run-low_high_pc.sh
2048 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
2049 (noinst_PROGRAMS): Add low_high_pc.
2050 (low_high_pc_LDADD): New variable.
2051 * low_high_pc.c: New test.
2053 2012-04-26 Mark Wielaard <mjw@redhat.com>
2055 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
2056 * run-show-ciefde.sh: Removed old libdwarf test.
2057 * show-ciefde.c: Likewise.
2059 2012-04-02 Mark Wielaard <mjw@redhat.com>
2061 * Makefile.am (TESTS): Add run-unstrip-n.sh.
2062 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
2063 * run-unstrip-n.sh: New test.
2064 * testcore-rtlib.bz2: New testfile.
2066 2012-04-02 Mark Wielaard <mjw@redhat.com>
2068 * Makefile.am (TESTS): Add run-readelf-d.sh.
2069 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
2070 * run-readelf-d.sh: New test.
2071 * run-elflint-test.sh: Check new testfile.
2073 2012-03-21 Tom Tromey <tromey@redhat.com>
2075 * typeiter.c: New file.
2076 * run-typeiter.sh: New file.
2077 * testfile59.bz2: New file.
2078 * Makefile.am (noinst_PROGRAMS): Add typeiter.
2079 (TESTS): Add run-typeiter.sh.
2080 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
2081 (typeiter_LDADD): New variable.
2083 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
2085 * run-alldts.sh: testrun ./alldts.
2087 2012-02-21 Roland McGrath <roland@hack.frob.com>
2089 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
2090 * test-subr.sh (installed_testrun): Likewise.
2092 2012-01-18 Roland McGrath <roland@hack.frob.com>
2094 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
2095 it will have been inherited correctly from the test harness.
2096 * asm-tst5.c (main): Likewise.
2097 * asm-tst6.c (main): Likewise.
2098 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
2100 2011-07-09 Roland McGrath <roland@hack.frob.com>
2102 * sha1-tst.c: File removed.
2103 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
2104 (sha1_tst_LDADD): Variable removed.
2106 * md5-sha1-test.c: New file.
2107 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
2108 (md5_sha1_test_LDADD): New variable.
2110 2011-05-30 Mark Wielaard <mjw@redhat.com>
2112 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
2113 run-rerequest_tag.sh
2115 2011-05-24 Mark Wielaard <mjw@redhat.com>
2117 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
2118 * run-strip-reloc.sh: Add hello_s390.ko testcase.
2119 * hello_s390.ko.bz2: New test file.
2121 2011-05-23 Mark Wielaard <mjw@redhat.com>
2123 * Makefile.am (TESTS): Add run-strip-reloc.sh.
2124 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
2125 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
2126 * run-strip-reloc.sh: New test.
2127 * hello_i386.ko.bz2: New test file.
2128 * hello_x86_64.ko.bz2: Likewise.
2129 * hello_ppc64.ko.bz2: Likewise.
2131 2011-05-18 Mark Wielaard <mjw@redhat.com>
2133 * run-strip-groups.sh: New test.
2134 * testfile58.bz2: New test file.
2135 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
2136 (TESTS): Add run-strip-groups.sh.
2137 (EXTRA_DIST): Likewise.
2139 2011-03-28 Marek Polacek <mpolacek@redhat.com>
2141 * alldts.c: New file.
2142 * run-alldts.sh: Use it.
2143 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2144 (alldts_LDADD): New variable.
2146 2011-03-02 Marek Polacek <mpolacek@redhat.com>
2148 * dwarf-getstring.c: New test.
2149 * run-dwarf-getstring.sh: And its wrapper.
2150 * Makefile.am (EXTRA_DIST): Add and update all.
2152 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2154 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
2155 * run-readelf-twofiles.sh: New file.
2157 2011-02-25 Mark Wielaard <mjw@redhat.com>
2159 * Makefile.am (BUILD_RPATH): Be consistent in naming.
2161 2011-02-02 Josh Stone <jistone@redhat.com>
2163 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
2164 * testfile55-64.bz2, testfile55-64.debug.bz2,
2165 testfile55-64.prelink.bz2, testfile55-32.bz2,
2166 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2167 * Makefile.am (EXTRA_DIST): Add and update all.
2169 2011-01-12 Roland McGrath <roland@redhat.com>
2171 * run-prelink-addr-test.sh: Make symlinks to find .debug files
2172 corresponding to .noshdrs files.
2174 2011-01-11 Josh Stone <jistone@redhat.com>
2176 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2177 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2178 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2179 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2180 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2181 * Makefile.am (EXTRA_DIST): Add and update all.
2183 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2184 * testfile53.bz2, testfile53.debug.bz2,
2185 testfile53.prelink.bz2: Deleted, so...
2186 * testfile53-64.bz2, testfile53-64.debug.bz2,
2187 testfile53-64.prelink.bz2: Recreated with 64-bit names.
2188 * testfile53-32.bz2, testfile53-32.debug.bz2,
2189 testfile53-32.prelink.bz2: New in 32-bit.
2190 * Makefile.am (EXTRA_DIST): Add and update all.
2192 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2193 * testfile52.so.bz2, testfile52.so.debug.bz2,
2194 testfile52.prelink.so.bz2: Deleted, so...
2195 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2196 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2197 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2198 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
2199 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
2200 * Makefile.am (EXTRA_DIST): Add and update all.
2202 2011-01-10 Josh Stone <jistone@redhat.com>
2204 * run-prelink-addr-test.sh: New test for prelinked addrs.
2205 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2206 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2207 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2208 * testfile53.bz2, testfile53.debug.bz2: New data files.
2209 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2210 * Makefile.am (EXTRA_DIST): Add them.
2212 2010-06-04 Roland McGrath <roland@redhat.com>
2214 * run-unstrip-test.sh: Also test modifying the file in place.
2216 2010-04-22 Roland McGrath <roland@redhat.com>
2218 * addrcfi.c (handle_cfi): Fix function name in error message.
2219 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2221 2010-04-14 Roland McGrath <roland@redhat.com>
2223 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2225 2010-04-10 Ulrich Drepper <drepper@redhat.com>
2227 * msg_tst.c: Adjust expected error message.
2229 2010-04-01 Petr Machata <pmachata@redhat.com>
2231 * test-flag-nobits.c: New test.
2232 * run-test-flag-nobits.sh: And its wrapper.
2233 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2234 (test_flag_nobits_LDADD): New variable.
2236 2010-02-15 Roland McGrath <roland@redhat.com>
2238 * Makefile.am: Use config/eu.am for common stuff.
2240 * asm-tst9.c (main): Rename local to avoid shadowing another local.
2242 2009-07-22 Roland McGrath <roland@redhat.com>
2244 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2246 2009-07-08 Roland McGrath <roland@redhat.com>
2248 * addrcfi.c: New file.
2249 * Makefile.am (noinst_PROGRAMS): Add it.
2250 (addrcfi_LDADD): New variable.
2252 2009-05-07 Petr Machata <pmachata@redhat.com>
2254 * testfile51.bz2: New data file.
2255 * dwarf-getmacros.c: New test core.
2256 * run-dwarf-getmacros.sh: New test wrapper.
2257 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2258 (dwarf_getmacros_LDADD): New variable.
2260 2009-04-23 Ulrich Drepper <drepper@redhat.com>
2262 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2263 (rdwrmmap_LDADD): Add $(libmudflap).
2265 2009-04-21 Roland McGrath <roland@redhat.com>
2267 * testfile50.bz2: New data file.
2268 * Makefile.am (EXTRA_DIST): Add it.
2269 * run-dwfl-addr-sect.sh: Add a case using it.
2271 2008-12-31 Ulrich Drepper <drepper@redhat.com>
2273 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2274 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2275 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2276 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2277 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2278 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2279 roundss, roundps, roundpd, and roundsd.
2280 * testfile45.S.bz2: Likewise.
2281 * testfile44.expect.bz2: Adjust accordingly.
2282 * testfile45.expect.bz2: Likewise.
2284 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2285 * testfile45.S.bz2: Likewise.
2286 * testfile44.expect.bz2: Adjust accordingly.
2287 * testfile45.expect.bz2: Likewise.
2289 2008-12-30 Ulrich Drepper <drepper@redhat.com>
2291 * testfile44.S.bz2: Add tests for blendpd and blendps.
2292 * testfile45.S.bz2: Likewise.
2293 * testfile44.expect.bz2: Adjust accordingly.
2294 * testfile45.expect.bz2: Likewise.
2296 2008-12-19 Ulrich Drepper <drepper@redhat.com>
2298 * testfile44.S.bz2: Add tests for AMD 3DNOW.
2299 * testfile45.S.bz2: Likewise.
2300 * testfile44.expect.bz2: Adjust accordingly.
2301 * testfile45.expect.bz2: Likewise.
2303 2008-11-26 Roland McGrath <roland@redhat.com>
2305 * dwfl-bug-getmodules.c: New file.
2306 * Makefile.am (noinst_PROGRAMS): Add it.
2307 (dwfl_bug_getmodules_LDADD): New variable.
2309 2008-09-10 Roland McGrath <roland@redhat.com>
2311 * test-subr.sh (LC_ALL): Export it set to "C".
2312 * run-dwfl-addr-sect.sh: Don't do it here.
2313 * run-strings-test.sh: Likewise.
2315 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
2317 * run-addrname-test.sh: Add a new case.
2318 * testfile49.bz2: New data file.
2319 * Makefile.am (EXTRA_DIST): Add it.
2321 2008-04-10 Roland McGrath <roland@redhat.com>
2323 * testfile48.bz2, testfile48.bz2.debug: New data files.
2324 * Makefile.am (EXTRA_DIST): Add them.
2325 * run-strip-test8.sh: Use them.
2327 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2329 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2330 * run-strip-test8.sh: New file.
2331 * testfile47.bz2: New data file.
2332 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2334 2008-03-31 Roland McGrath <roland@redhat.com>
2336 * run-early-offscn.sh: New file.
2337 * early-offscn.c: New file.
2338 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2339 (early_offscn_LDADD): New variable.
2341 2008-03-19 Roland McGrath <roland@redhat.com>
2343 * run-addrname-test.sh: Add a new case.
2345 2008-02-22 Roland McGrath <roland@redhat.com>
2347 * run-elflint-test.sh: Typo fix.
2349 2008-02-21 Roland McGrath <roland@redhat.com>
2351 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2352 for the build down to minimum.
2353 * run-disasm-x86-64.sh: Likewise.
2355 2008-02-20 Roland McGrath <roland@redhat.com>
2357 * testfile46.bz2: New data file.
2358 * Makefile.am (EXTRA_DIST): Add it.
2359 * run-elflint-test.sh: Test on it.
2361 2008-02-01 Ulrich Drepper <drepper@redhat.com>
2363 * Makefile.am: Hook up sha1-tst.c.
2364 * sha1-tst.c: New file.
2366 2008-01-21 Roland McGrath <roland@redhat.com>
2368 * testfile45.S.bz2: Add tests for cltq, cqto.
2369 * testfile45.expect.bz2: Adjust.
2371 2008-01-14 Ulrich Drepper <drepper@redhat.com>
2373 * testfile45.S.bz2: Add more tests.
2374 * testfile45.expect.bz2: Adjust.
2376 2008-01-11 Ulrich Drepper <drepper@redhat.com>
2378 * testfile45.expect.bz2: Adjust for adding of address for %rip based
2381 2008-01-10 Ulrich Drepper <drepper@redhat.com>
2383 * testfile45.S.bz2: Add more tests.
2384 * testfile45.expect.bz2: Adjust.
2386 2008-01-08 Ulrich Drepper <drepper@redhat.com>
2388 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2389 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2390 run-disasm-x86-64.sh.
2391 * run-disasm-x86-64.sh: New file.
2392 * testfile45.S.bz2: New file.
2393 * testfile45.expect.bz2: New file.
2394 * testfile44.S.bz2: New tests.
2395 * testfile44.expect.bz2: Adjust.
2397 2008-01-04 Ulrich Drepper <drepper@redhat.com>
2399 * testfile44.S.bz2: New tests.
2400 * testfile44.expect.bz2: Adjust.
2402 2008-01-04 Roland McGrath <roland@redhat.com>
2404 * dwfl-bug-fd-leak.c (main): Add a cast.
2406 2008-01-03 Ulrich Drepper <drepper@redhat.com>
2408 * testfile44.S.bz2: New tests.
2409 * testfile44.expect.bz2: Adjust.
2411 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2413 * line2addr.c: Use %m modifier instead of %a to appease gcc.
2415 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2417 * testfile44.S.bz2: New tests.
2418 * testfile44.expect.bz2: Adjust.
2420 2007-12-31 Ulrich Drepper <drepper@redhat.com>
2422 * testfile44.S.bz2: New tests.
2423 * testfile44.expect.bz2: Adjust.
2425 2007-12-30 Ulrich Drepper <drepper@redhat.com>
2427 * testfile44.S.bz2: New tests.
2428 * testfile44.expect.bz2: Adjust.
2430 2007-12-29 Ulrich Drepper <drepper@redhat.com>
2432 * testfile44.s.bz2: New tests.
2433 * testfile44.expect.bz2: Adjust.
2435 2007-12-28 Ulrich Drepper <drepper@redhat.com>
2437 * testfile44.S.bz2: New tests.
2438 * testfile44.expect.bz2: Adjust.
2440 2007-12-27 Ulrich Drepper <drepper@redhat.com>
2442 * testfile44.S.bz2: New tests.
2443 * testfile44.expect.bz2: Adjust.
2445 2007-12-26 Ulrich Drepper <drepper@redhat.com>
2447 * testfile44.S.bz2: New tests.
2448 * testfile44.expect.bz2: Adjust
2450 2007-12-21 Ulrich Drepper <drepper@redhat.com>
2452 * testfile44.S.bz2: More tests.
2453 * testfile44.expect.bz2: Adjust appropriately.
2455 2007-12-19 Ulrich Drepper <drepper@redhat.com>
2457 * Makefile.am (TESTS): Add run-disasm.sh.
2458 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2459 testfile44.expect.bz2.
2460 * run-disasm.sh: New file.
2461 * testfile44.S.bz2: New file.
2462 * testfile44.expect.bz2: New file.
2464 2007-12-15 Roland McGrath <roland@redhat.com>
2466 * run-allregs.sh: Change expected output for powerpc spefscr.
2468 2007-10-20 Roland McGrath <roland@redhat.com>
2470 * run-dwfl-addr-sect.sh: Change expected output, no errors.
2472 2007-10-19 Roland McGrath <roland@redhat.com>
2474 * dwfl-addr-sect.c (handle_address): Return int.
2475 Don't exit on error, just return nonzero.
2476 (main): Collect results.
2477 * run-dwfl-addr-sect.sh: New file.
2478 * testfile43.bz2: New data file.
2479 * Makefile.am (EXTRA_DIST, TESTS): Add them.
2481 2007-10-18 Roland McGrath <roland@redhat.com>
2483 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2485 2007-10-16 Roland McGrath <roland@redhat.com>
2487 * test-subr.sh (remove_files): Don't pass -Bb to diff.
2489 2007-10-09 Roland McGrath <roland@redhat.com>
2491 * dwflmodtest.c (print_module): Don't use %p in output.
2492 * run-dwfl-bug-offline-rel.sh: Updated expected output.
2494 2007-10-08 Roland McGrath <roland@redhat.com>
2496 * testfile42.bz2: New data file.
2497 * Makefile.am (EXTRA_DIST): Add it.
2498 * run-elflint-test.sh: New test on that file.
2500 2007-10-04 Roland McGrath <roland@redhat.com>
2502 * run-readelf-test4.sh: New file.
2503 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2505 2007-10-03 Roland McGrath <roland@redhat.com>
2507 * run-readelf-test3.sh: New file.
2508 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2510 2007-10-01 Roland McGrath <roland@redhat.com>
2512 * run-readelf-test2.sh: New file.
2513 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2515 2007-09-11 Roland McGrath <roland@redhat.com>
2517 * run-addrname-test.sh: Add a new case.
2518 * testfile41.bz2: New data file.
2519 * Makefile.am (EXTRA_DIST): Add it.
2521 2007-08-23 Roland McGrath <roland@redhat.com>
2523 * run-allregs.sh: Update expected x86-64 output for %rflags.
2525 2007-08-12 Roland McGrath <roland@redhat.com>
2527 * run-strip-test7.sh: New file.
2528 * testfile39.bz2: New data file.
2529 * testfile40.bz2: New data file.
2530 * testfile40.debug.bz2: New data file.
2531 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2533 2007-08-09 Roland McGrath <roland@redhat.com>
2535 * dwfl-bug-report.c: Fix header inclusion.
2537 2007-08-08 Roland McGrath <roland@redhat.com>
2539 * run-addrname-test.sh: Add a new case using addr2line -S.
2540 * testfile38.bz2: New data file.
2541 * Makefile.am (EXTRA_DIST): Add it.
2543 2007-07-16 Roland McGrath <roland@redhat.com>
2545 * dwfl-bug-report.c: New file.
2546 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2547 (dwfl_bug_report_LDADD): New variable.
2549 2007-06-06 Roland McGrath <roland@redhat.com>
2551 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2553 2007-06-05 Ulrich Drepper <drepper@redhat.com>
2555 * Makefile.am (EXTRA_DIST): Add missing line continuation and
2556 testfile37.bz and testfile37.debug.bz2.
2558 2007-05-23 Roland McGrath <roland@redhat.com>
2560 * run-allregs.sh: Update expected Alpha results.
2562 2007-05-18 Roland McGrath <roland@redhat.com>
2564 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2565 * testfile37.bz2: New data file.
2566 * testfile37.debug.bz2: New data file.
2567 * run-unstrip-test2.sh: New file.
2568 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2570 2007-05-10 Roland McGrath <roland@redhat.com>
2572 * run-dwfl-bug-offline-rel.sh: New file.
2573 * testfile36.bz2: New data file.
2574 * testfile36.debug.bz2: New data file.
2575 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2577 2007-04-28 Roland McGrath <roland@redhat.com>
2579 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2580 * testfile35.bz2: New data file.
2581 * testfile35.debug.bz2: New data file.
2582 * run-unstrip-test.sh: New file.
2583 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2585 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2587 2007-04-26 Roland McGrath <roland@redhat.com>
2589 * run-elflint-self.sh: Run all tests even if one fails.
2591 * run-allregs.sh: Add expected output for alpha.
2593 2007-04-24 Roland McGrath <roland@redhat.com>
2595 * run-strip-test.sh: When we saved the debug info, test unstrip too.
2597 2007-04-22 Roland McGrath <roland@redhat.com>
2599 * run-allregs.sh: Update expected register info.
2601 2007-04-16 Roland McGrath <roland@redhat.com>
2603 * dwfl-addr-sect.c: New file.
2604 * Makefile.am (noinst_PROGRAMS): Add it.
2605 (dwfl_addr_sect_LDADD): New variable.
2607 2007-04-05 Roland McGrath <roland@redhat.com>
2609 * get-files.c: Test dwarf_getsrcdirs.
2610 * run-get-files.sh: Update expected output.
2612 2007-04-01 Roland McGrath <roland@redhat.com>
2614 * run-allregs.sh: Updated expected output for x86_64.
2616 2007-03-04 Roland McGrath <roland@redhat.com>
2618 * dwfl-bug-fd-leak.c: New file.
2619 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2620 (dwfl_bug_fd_leak_LDADD): New variable.
2622 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
2623 show what files have been located.
2625 2007-02-02 Roland McGrath <roland@redhat.com>
2627 * run-addrname-test.sh: New file.
2628 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2629 * testfile34.bz2: New data file.
2630 * Makefile.am (EXTRA_DIST): Add it.
2632 2007-01-20 Roland McGrath <roland@redhat.com>
2634 * testfile33.bz2: New data file.
2635 * Makefile.am (EXTRA_DIST): Add it.
2636 * run-elflint-test.sh: Test on it too.
2638 2007-01-18 Roland McGrath <roland@redhat.com>
2640 * Makefile.am (CFLAGS): Don't molest it.
2642 2007-01-11 Roland McGrath <roland@redhat.com>
2644 * testfile32.bz2: New data file.
2645 * Makefile.am (EXTRA_DIST): Add it.
2646 * run-elflint-test.sh: Test on it too.
2648 2007-02-04 Ulrich Drepper <drepper@redhat.com>
2651 * Makefile (noinst_PROGRAMS): Add arls.
2653 * run-ranlib-test2.sh: Fix type in comment.
2655 2007-01-10 Ulrich Drepper <drepper@redhat.com>
2657 * run-elflint-self.sh (runtest): Show which file has the problem.
2659 2007-01-10 Roland McGrath <roland@redhat.com>
2661 * dwfl-bug-addr-overflow.c: New file.
2662 * Makefile.am (TESTS): Add it.
2663 (dwfl_bug_addr_overflow_LDADD): New variable.
2665 2006-12-17 Roland McGrath <roland@redhat.com>
2667 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2669 2006-09-05 Roland McGrath <roland@redhat.com>
2671 * run-strings-test.sh: Export LC_ALL=C for the test.
2673 2006-08-29 Roland McGrath <roland@redhat.com>
2675 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2676 * run-arsymtest.sh: Likewise.
2678 * run-native-test.sh (native.c compilation): Add some braces.
2680 2006-08-22 Roland McGrath <roland@redhat.com>
2682 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2683 (struct reginfo): New members bits, type.
2684 (one_register, match_register): Update to take new args,
2685 record and display new info.
2686 (main): Display new info.
2687 * run-allregs.sh: Update expected results.
2689 2006-08-03 Roland McGrath <roland@redhat.com>
2691 * run-allregs.sh: Add sparc cases.
2692 * testfile30.bz2: New data file.
2693 * testfile31.bz2: New data file.
2694 * Makefile.am (EXTRA_DIST): Add them.
2696 2006-07-21 Roland McGrath <roland@redhat.com>
2698 * allregs.c (struct reginfo): Increase size of name.
2699 (one_register): Assert that it's big enough.
2701 2006-04-04 Roland McGrath <roland@redhat.com>
2703 * run-bug1-test.sh: Test a second case, to cover both byte orders.
2704 * testfile29.bz2: New file.
2705 * testfile29.rdwr.bz2: New file.
2706 * Makefile.am (EXTRA_DIST): Add them.
2708 2006-04-04 Ulrich Drepper <drepper@redhat.com>
2710 * Makefile.am: Add rules to run run-bug1-test.sh.
2711 * rdwrmmap.c: New file.
2712 * run-bug1-test.sh: New file.
2713 * testfile28.bz2: New file.
2714 * testfile28.rdwr.bz2: New file.
2716 2006-03-09 Roland McGrath <roland@redhat.com>
2718 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2720 2006-03-01 Roland McGrath <roland@redhat.com>
2722 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2723 changes matching 3.0 spec.
2725 2006-01-13 Roland McGrath <roland@redhat.com>
2727 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2728 bash 3.1 whines when it's done in the trap 0 handler.
2730 2006-01-11 Roland McGrath <roland@redhat.com>
2732 * testfile26.bz2: New data file.
2733 * testfile27.bz2: New data file.
2734 * Makefile.am (EXTRA_DIST): Add them.
2735 * run-allregs.sh: Test s390 data.
2737 2005-12-14 Roland McGrath <roland@redhat.com>
2739 * run-native-test.sh: Redirect output from native test process.
2741 2005-12-13 Roland McGrath <roland@redhat.com>
2743 * allregs.c (main): Fail if we find no registers.
2745 * run-native-test.sh: New file.
2746 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2748 2005-12-10 Ulrich Drepper <drepper@redhat.com
2750 * run-readelf-test1.sh: New file.
2751 * Makefile.am (TESTS): Add run-readelf-test1.sh.
2752 (EXTRA_DIST): Likewise.
2754 2005-12-07 Roland McGrath <roland@redhat.com>
2756 * ecp.c (main): Use elf_end to clean up.
2758 2005-11-25 Roland McGrath <roland@redhat.com>
2760 * coverage.sh: Given -v argument, print names of unused files.
2762 * addrscopes.c (main): Use dwfl_end before return.
2763 * allregs.c (main): Likewise.
2764 * find-prologues.c (main): Likewise.
2765 * funcretval.c (main): Likewise.
2766 * funcscopes.c (main): Likewise.
2767 * line2addr.c (main): Likewise.
2769 * run-allregs.sh: New file.
2770 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2772 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2773 * Makefile.am (allregs_LDADD): Updated.
2775 * allregs.c: New file.
2776 * Makefile.am (noinst_PROGRAMS): Add it.
2777 (allregs_LDADD): New variable.
2779 2005-11-18 Roland McGrath <roland@redhat.com>
2781 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2782 * test-wrapper.sh: Likewise.
2784 2005-11-17 Roland McGrath <roland@redhat.com>
2786 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2787 environment for test-wrapper.sh.
2788 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2789 * test-subr.sh (installed_testrun): Likewise.
2790 Use explicit path in ${bindir}.
2792 * Makefile.am (installcheck-local): Fix typo in last change.
2794 2005-11-16 Roland McGrath <roland@redhat.com>
2796 * configure.ac: New file, for standalone build/dist of test suite.
2797 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2798 (asm_TESTS): New variable, broken out of ...
2799 (TESTS): ... here. Also remove msg_tst.
2800 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2801 (installed_TESTS_ENVIRONMENT): New variable.
2802 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2803 [!STANDALONE] (installcheck-local): Likewise.
2804 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2805 * addrscopes.c: Include <config.h>.
2806 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2807 * allfcts.c: Likewise.
2808 * asm-tst1.c: Likewise.
2809 * asm-tst2.c: Likewise.
2810 * asm-tst3.c: Likewise.
2811 * asm-tst4.c: Likewise.
2812 * asm-tst5.c: Likewise.
2813 * asm-tst6.c: Likewise.
2814 * asm-tst7.c: Likewise.
2815 * asm-tst8.c: Likewise.
2816 * asm-tst9.c: Likewise.
2817 * dwflmodtest.c: Likewise.
2818 * find-prologues.c: Likewise.
2819 * funcscopes.c: Likewise.
2820 * get-aranges.c: Likewise.
2821 * get-files.c: Likewise.
2822 * get-lines.c: Likewise.
2823 * get-pubnames.c: Likewise.
2824 * line2addr.c: Likewise.
2825 * newscn.c: Likewise.
2826 * show-abbrev.c: Likewise.
2827 * show-die-info.c: Likewise.
2828 * update3.c: Likewise.
2829 * update4.c: Likewise.
2830 * funcretval.c: Likewise.
2832 * dwflmodtest.c (print_instance): Don't use INTUSE.
2833 (options): Don't use N_ macro.
2835 2005-11-15 Roland McGrath <roland@redhat.com>
2837 * coverage.sh: Look in backends.
2838 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2839 (TESTS_ENVIRONMENT): Likewise.
2841 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2842 pass FUNCDIE direclty to dwfl_module_return_value_location.
2844 * Makefile.am (BUILD_RPATH): New variable.
2845 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2846 (tests_rpath): New variable.
2847 (installcheck-local): Pass it to test-wrapper.sh.
2848 * test-wrapper.sh: In "installed" format, take yes/no value
2849 for elfutils_tests_rpath, which export. When running a test
2850 binary for installcheck, exit 77.
2851 * test-subr.sh (installed_testrun): When running a test binary
2852 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2854 2005-11-14 Roland McGrath <roland@redhat.com>
2856 * test-subr.sh: New file.
2857 * test-wrapper.sh: New file.
2858 * Makefile.am (EXTRA_DIST): Add them.
2859 (AM_LDFLAGS): Variable removed.
2860 (TESTS_ENVIRONMENT): New variable.
2861 (installcheck-local): New target.
2862 * run-addrscopes.sh: Use test-subr.sh.
2863 * run-allfcts.sh: Likewise.
2864 * run-ecp-test.sh: Likewise.
2865 * run-ecp-test2.sh: Likewise.
2866 * run-elflint-self.sh: Likewise.
2867 * run-elflint-test.sh: Likewise.
2868 * run-find-prologues.sh: Likewise.
2869 * run-funcscopes.sh: Likewise.
2870 * run-get-aranges.sh: Likewise.
2871 * run-get-files.sh: Likewise.
2872 * run-get-lines.sh: Likewise.
2873 * run-get-pubnames.sh: Likewise.
2874 * run-line2addr.sh: Likewise.
2875 * run-ranlib-test.sh: Likewise.
2876 * run-ranlib-test2.sh: Likewise.
2877 * run-show-abbrev.sh: Likewise.
2878 * run-show-ciefde.sh: Likewise.
2879 * run-show-die-info.sh: Likewise.
2880 * run-strings-test.sh: Likewise.
2881 * run-strip-test.sh: Likewise.
2883 2005-11-13 Roland McGrath <roland@redhat.com>
2885 * funcretval.c: New file.
2886 * Makefile.am (noinst_PROGRAMS): Add it.
2887 (funcretval_LDADD): New variable.
2889 2005-11-09 Ulrich Drepper <drepper@redhat.com>
2891 * line2addr.c (handle_module): Add missing parameter to printf.
2893 2005-10-27 Roland McGrath <roland@redhat.com>
2895 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2896 * funcscopes.c (handle_function): Likewise.
2897 * dwflmodtest.c (print_inline, print_func): Likewise.
2898 * find-prologues.c (handle_function): Likewise.
2900 2005-10-27 Roland McGrath <roland@redhat.com>
2902 * run-find-prologues.sh: New file.
2903 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2905 * find-prologues.c (handle_function): Skip inlines.
2907 2005-10-25 Roland McGrath <roland@redhat.com>
2909 * find-prologues.c: New file.
2910 * Makefile.am (noinst_PROGRAMS): Add it.
2911 (find_prologues_LDADD): New variable.
2913 2005-09-02 Ulrich Drepper <drepper@redhat.com>
2915 * run-strings-test.sh: Remove strings.out in the end.
2917 2005-08-31 Ulrich Drepper <drepper@redhat.com>
2919 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
2920 * run-allfcts.sh: Likewise.
2921 * run-ecp-test.sh: Likewise.
2922 * run-ecp-test2.sh: Likewise.
2923 * run-elflint-test.sh: Likewise.
2924 * run-funcscopes.sh: Likewise.
2925 * run-get-aranges.sh: Likewise.
2926 * run-get-files.sh: Likewise.
2927 * run-get-lines.sh: Likewise.
2928 * run-get-pubnames.sh: Likewise.
2929 * run-line2addr.sh: Likewise.
2930 * run-ranlib-test2.sh: Likewise.
2931 * run-show-abbrev.sh: Likewise.
2932 * run-show-ciefde.sh: Likewise.
2933 * run-show-die-info.sh: Likewise.
2934 * run-strings-test.sh: Likewise.
2935 * run-strip-test.sh: Likewise.
2937 2005-08-30 Ulrich Drepper <drepper@redhat.com>
2939 * coverage.sh: Handle case where there is no .gcno file at all.
2941 2005-08-29 Ulrich Drepper <drepper@redhat.com>
2943 * Makefile.am (EXTRA_DIST): Add coverage.
2944 [GCOV]: Generate coverage summary after the tests ran
2945 * coverage.sh: New file.
2947 2005-08-28 Ulrich Drepper <drepper@redhat.com>
2949 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
2950 (CLEANFILES): Add *.gcno *.gcda *.gconv.
2952 2005-08-28 Ulrich Drepper <drepper@redhat.com>
2954 * run-strings-test.sh: New file.
2955 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2957 2005-08-27 Roland McGrath <roland@redhat.com>
2959 * addrscopes.c (handle_address): Apply bias to PC addresses.
2961 * run-funcscopes.sh: New file.
2962 * testfile25.bz2: New data file.
2963 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2965 2005-08-26 Roland McGrath <roland@redhat.com>
2967 * addrscopes.c (dwarf_diename_integrate): Removed.
2968 (print_vars, handle_address): Use plain dwarf_diename.
2970 2005-08-25 Roland McGrath <roland@redhat.com>
2972 * funcscopes.c: New file.
2973 * Makefile.am (noinst_PROGRAMS): Add it.
2974 (funcscopes_LDADD): New variable.
2976 * run-addrscopes.sh: Add another case.
2977 * testfile24.bz2: New data file.
2978 * Makefile.am (EXTRA_DIST): Add it.
2980 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
2981 pass it to dwarf_getscopes.
2982 (main): Pass it, true when '=' follows an address.
2984 2005-08-24 Roland McGrath <roland@redhat.com>
2986 * line2addr.c (print_address): Omit () for DSOs.
2988 2005-08-24 Ulrich Drepper <drepper@redhat.com>
2990 * run-line2addr.sh: Remove testfile23 in the end.
2992 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
2993 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
2995 2005-08-22 Roland McGrath <roland@redhat.com>
2997 * run-line2addr.sh: Add a case.
2998 * testfile23.bz2: New data file.
2999 * Makefile.am (EXTRA_DIST): Add it.
3001 2005-08-18 Roland McGrath <roland@redhat.com>
3003 * run-addrscopes.sh: New file.
3004 * testfile22.bz2: New data file.
3005 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3007 * addrscopes.c: New file.
3008 * Makefile.am (noinst_PROGRAMS): Add it.
3009 (addrscopes_LDADD): New variable.
3011 2005-08-15 Ulrich Drepper <drepper@redhat.com>
3013 * run-elflint-self.sh: Don't run test if the file doesn't exist.
3015 2005-08-15 Roland McGrath <roland@redhat.com>
3017 * dwflmodtest.c (print_instance, print_inline): New functions.
3018 (print_func): Call print_inline.
3019 (options, parse_opt): Grok -i/--inlines.
3021 2005-08-07 Roland McGrath <roland@redhat.com>
3023 * dwflmodtest.c: Print function details only if -f flag is given.
3025 2005-08-06 Ulrich Drepper <drepper@redhat.com>
3027 * run-elflint-self.sh: New file.
3028 * Makefile.am (TESTS): Add run-elflint-self.sh.
3029 (EXTRA_DIST): Likewise.
3031 * Makefile.am: Link with statis libs if BUILD_STATIC.
3032 (dwflmodtest_LDADD): Also link with -ldl.
3034 2005-08-02 Ulrich Drepper <drepper@redhat.com>
3036 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
3037 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
3039 * asm-tst2.c: Likewise.
3040 * asm-tst3.c: Likewise.
3041 * asm-tst4.c: Likewise.
3042 * asm-tst5.c: Likewise.
3043 * asm-tst6.c: Likewise.
3044 * asm-tst7.c: Likewise.
3045 * asm-tst8.c: Likewise.
3046 * asm-tst9.c: Likewise.
3048 * msg_tst.c: Add new error message.
3050 2005-07-28 Ulrich Drepper <drepper@redhat.com>
3052 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
3054 2005-06-01 Roland McGrath <roland@redhat.com>
3056 * line2addr.c: Rewritten using libdwfl.
3057 * run-line2addr.sh: Update test for changed arguments.
3058 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
3059 (libdwfl): New variable.
3060 (line2addr_LDADD): Use it.
3062 2005-07-28 Roland McGrath <roland@redhat.com>
3064 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
3065 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
3066 (dwflmodtest_LDADD): New variable.
3067 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
3069 2005-07-21 Ulrich Drepper <drepper@redhat.com>
3071 * testfile18.bz2: New file.
3072 * run-elflint-test.sh: New file.
3073 * Makefile.am (TESTS): Add run-elflint-test.sh.
3074 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
3076 2005-05-24 Ulrich Drepper <drepper@redhat.com>
3078 * get-files.c (main): Use correct format specifier.
3080 2005-05-21 Ulrich Drepper <drepper@redhat.com>
3082 * Makefile.am: Add -Wextra to CFLAGS.
3083 * get-files.c: Remove warning this produced.
3084 * get-pubnames.c: Likewise.
3085 * newfile.c: Likewise.
3086 * newscn.c: Likewise.
3087 * scnnames.c: Likewise.
3088 * showptable.c: Likewise.
3089 * test-nlist.c: Likewise.
3090 * update1.c: Likewise.
3091 * update2.c: Likewise.
3092 * update3.c: Likewise.
3093 * update4.c: Likewise.
3095 2005-05-08 Ulrich Drepper <drepper@redhat.com>
3097 * run-line2addr.sh: Remove testfile14 at the end.
3099 * run-strip-test.sh: Remove debuginfo test input file as well.
3101 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
3104 2005-05-03 Roland McGrath <roland@redhat.com>
3106 * run-strip-test.sh: Use variables for test file names.
3107 Optionally produce separate debug file and check it.
3108 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
3109 * run-strip-test3.sh: Likewise.
3110 * run-strip-test4.sh: New file.
3111 * run-strip-test5.sh: New file.
3112 * run-strip-test6.sh: New file.
3113 * testfile15.bz: New file.
3114 * testfile15.debug.bz: New file.
3115 * testfile16.bz: New file.
3116 * testfile16.debug.bz: New file.
3117 * testfile17.bz: New file.
3118 * testfile17.debug.bz: New file.
3119 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3121 2005-04-25 Ulrich Drepper <drepper@redhat.com>
3123 * run-line2addr.sh: Also use testfile14. Adjust for correct
3124 return of multiple matches.
3125 * testfile14.bz2: New file.
3126 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
3128 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
3130 2005-04-04 Roland McGrath <roland@redhat.com>
3132 * line2addr.c (main): Initialize LINES and NLINES before calling
3133 dwarf_getsrc_file, and free LINES afterwards.
3135 * allfcts.c (main): Use size_t for CUHL.
3137 2005-04-04 Ulrich Drepper <drepper@redhat.com>
3139 * line2addr.c: New file.
3140 * run-line2addr.sh: New file.
3141 * Makefile.am: Add rules to build, run, and distribute new code.
3143 2005-04-02 Ulrich Drepper <drepper@redhat.com>
3145 * allfcts.c: New file.
3146 * run-allfcts.sh: New file.
3147 * Makefile.am: Add rules to build, run, and distribute new code.
3149 2005-02-05 Ulrich Drepper <drepper@redhat.com>
3151 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
3152 programs with -lmudflap.
3154 2004-09-25 Ulrich Drepper <drepper@redhat.com>
3156 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
3157 * asm-tst5.c (main): Likewise.
3158 * asm-tst6.c (main): Likewise.
3160 2004-01-17 Ulrich Drepper <drepper@redhat.com>
3162 * Makefile.am: Support building with mudflap.
3164 2004-01-12 Ulrich Drepper <drepper@redhat.com>
3166 * get-aranges.c: Rewrite to use libdw.
3167 * Makefile.am: Reenable get-aranges test.
3169 2004-01-11 Ulrich Drepper <drepper@redhat.com>
3171 * get-lines.c: New file.
3172 * get-files.c: Adjust for libdw.
3173 * run-get-files.sh: Adjust expected result.
3174 * run-get-lines.sh: Likewise.
3175 * Makefile.am: Run get-lines test. Don't run get-aranges and
3176 get-ciefde test for now.
3178 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3179 change. Print attribute offset information.
3180 * run-show-abbrev.sh: Adjust expected output.
3182 2004-01-09 Ulrich Drepper <drepper@redhat.com>
3184 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3185 * show-die-info.c: Likewise.
3186 * run-show-die-info.sh: Adjust expected output.
3188 2003-08-13 Ulrich Drepper <drepper@redhat.com>
3190 * Makefile.in: Depend on libebl.a, not libebl.so.
3192 2003-08-11 Ulrich Drepper <drepper@redhat.com>
3194 * Moved to CVS archive.