1 2018-05-29 Mark Wielaard <mark@klomp.org>
3 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
4 * run-varlocs.sh: Likewise.
6 2018-05-29 Mark Wielaard <mark@klomp.org>
8 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
10 2018-05-28 Mark Wielaard <mark@klomp.org>
12 * run-readelf-info-plus.sh: New test.
13 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
14 (EXTRA_DIST): Likewise.
16 2018-04-29 Mark Wielaard <mark@klomp.org>
18 * run-readelf-addr.sh: New test.
19 * Makefile.am (TESTS): Add run-readelf-addr.sh.
20 (EXTRA_DIST): Likewise.
22 2018-04-27 Mark Wielaard <mark@klomp.org>
24 * run-readelf-ranges.sh: Adjust expected output for address base.
25 * run-readelf-addr.sh: New test.
26 * Makefile.am (TESTS): Add run-readelf-addr.sh.
27 (EXTRA_DIST): Likewise.
29 2018-04-07 Mark Wielaard <mark@klomp.org>
31 * run-varlocs.sh: Run on testfileranges5.debug and
32 testsplitfileranges5.debug.
33 * varlocs.c (is_debug): New bool.
34 (print_expr): Don't fail on missing CFI for is_debug.
35 (main): Parse --debug, set is_debug.
37 2018-04-12 Mark Wielaard <mark@klomp.org>
39 * run-readelf-loc.sh: Add new testcases.
41 2018-04-06 Mark Wielaard <mark@klomp.org>
43 * testfileranges5.debug.bz2: New testfile.
44 * testfilesplitranges5.debug.bz2: Likewise.
45 * testfile-ranges-hello5.dwo.bz2: Likewise.
46 * testfile-ranges-world5.dwo.bz2: Likewise.
47 * run-dwarf-ranges.sh: Run on testfileranges5.debug.
48 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
49 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
50 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
51 testfile-ranges-world5.dwo.bz2.
53 2018-04-11 Mark Wielaard <mark@klomp.org>
55 * run-readelf-ranges.sh: New test.
56 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
57 (EXTRA_DIST): Likewise.
59 2018-05-21 Mark Wielaard <mark@klomp.org>
61 * addrx_constx-4.dwo.bz2: New testfile.
62 * addrx_constx-5.dwo.bz2: Likewise.
63 * testfile-addrx_constx-4.bz2: Likewise.
64 * testfile-addrx_constx-5.bz2: Likewise
65 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
66 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
67 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
68 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
69 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
70 (main): Handle split DWARF.
71 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
73 2018-05-20 Mark Wielaard <mark@klomp.org>
75 * unit-info.c: New test.
76 * run-unit-info.sh: New test runner.
77 * Makefile.am (check_PROGRAMS): Add unit-info.
78 (TESTS): Add run-unit-info.sh
79 (EXTRA_INFO): Likewise.
80 (unit_info_LDADD): New variable.
82 2018-05-24 Mark Wielaard <mark@klomp.org>
84 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
85 * run-all-dwarf-ranges.sh: Correct expected output.
87 2018-05-18 Mark Wielaard <mark@klomp.org>
89 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
90 (TESTS): Add run-all-dwarf-ranges.sh.
91 (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
92 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
93 and testfile-ranges-world.dwo.bz2.
94 (all_dwarf_ranges_LDADD): New variable.
95 * all-dwarf-ranges.c: New test program.
96 * run-all-dwarf-ranges: New test runner.
97 * testfile-ranges-hello.dwo.bz2: New test file.
98 * testfile-ranges-world.dwo.bz2: Likewise.
99 * testfilesplitranges4.debug.bz2: Likewise.
101 2018-05-18 Mark Wielaard <mark@klomp.org>
103 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
104 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
105 testfile-hello5.dwo, testfile-world5.dwo.
107 2018-05-17 Mark Wielaard <mark@klomp.org>
109 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
110 (TESTS): Add run-attr-integrate-skel.
111 (EXTRA_DIST): Likewise.
112 (attr_integrate_skel_LDADD): New variable.
113 * attr-integrate-skel.c: New test.
114 * run-attr-integrate-skel.sh: New test runner.
116 2018-05-16 Mark Wielaard <mark@klomp.org>
118 * Makefile.am (check_PROGRAMS): Add get-units-split.
119 (TESTS): Add run-get-units-split.sh.
120 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
121 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
122 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
123 testfile-world4.dwo.bz2.
124 (get_units_split_LDADD): New variable.
125 * get-units-split.c: New test.
126 * run-get-units-split.sh: New test runner.
127 * testfile-dwarf-45.source: Extend with build instructions for new
129 * testfile-hello4.dwo.bz2: New test file.
130 * testfile-hello5.dwo.bz2: Likewise.
131 * testfile-splitdwarf-4.bz2: Likewise.
132 * testfile-splitdwarf-5.bz2: Likewise.
133 * testfile-world5.dwo.bz2 and: Likewise.
134 * testfile-world4.dwo.bz2: Likewise.
136 2018-05-09 Mark Wielaard <mark@klomp.org>
138 * run-readelf-zdebug.sh: Adjust test output for new header layout.
139 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
140 and testfile-dwarf-5.
142 2018-05-11 Mark Wielaard <mark@klomp.org>
144 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
145 (TESTS): Add run-get-units-invalid.sh.
146 (EXTRA_DIST): Likewise.
147 (get_units_invalid_LDADD): New variable.
148 * get-units-invalid.c: New test program.
149 * run-get-units-invalid.sh: New test program runner.
151 2018-05-05 Mark Wielaard <mark@klomp.org>
153 * testfile-dwarf-45.source: New file.
154 * testfile-dwarf-4.bz2: New test file.
155 * testfile-dwarf-5.bz2: Likewise.
156 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
158 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
159 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
161 2018-04-19 Andreas Schwab <schwab@suse.de>
163 * hello_riscv64.ko.bz2: New file.
164 * run-strip-reloc.sh: Test it.
165 * Makefile.am (EXTRA_DIST): Add it.
167 2018-04-16 Mark Wielaard <mark@klomp.org>
169 * testfile-ppc64-min-instr.bz2: New testfile.
170 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
171 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
173 2018-04-11 Mark Wielaard <mark@klomp.org>
175 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
177 2018-04-03 Mark Wielaard <mark@klomp.org>
179 * testfileranges4.debug.bz2: New testfile.
180 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
181 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
183 2018-03-06 Mark Wielaard <mark@klomp.org>
185 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
186 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
187 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
190 2018-02-16 Mark Wielaard <mark@klomp.org>
192 * backtrace-subr.sh (check_native_core): Check if there is any core,
195 2018-02-15 Mark Wielaard <mark@klomp.org>
197 * backtrace-child.c: Include signal.h after sys/ptrace.h.
198 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
201 2018-01-25 Mark Wielaard <mark@klomp.org>
203 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
204 (TESTS): Add run-dwarf-die-addr-die.sh.
205 (EXTRA_DIST): Likewise.
206 (dwarf_die_addr_die_LDADD): New variable.
207 * dwarf-die-addr-die.c: New file.
208 * run-dwarf-die-addr-die.sh: New test.
210 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
212 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
214 2018-01-22 Mark Wielaard <mark@klomp.org>
216 * allfcts.c (setup_alt): Print warning when alt file couldn't be
218 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
219 where it cannot be found by allfcts itself (but it can by libdw).
221 2018-01-25 Mark Wielaard <mark@klomp.org>
223 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
226 2018-01-14 Petr Machata <pmachata@gmail.com>
228 * testfile-sizes4.o.bz2: New test file.
229 * testfile-sizes4.s: New test source.
230 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
232 2017-12-23 Mark Wielaard <mark@klomp.org>
234 * backtrace-subr.sh (check_native_core): Use a lock file and try
235 to extract core using coredumpctl.
236 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
238 2017-12-11 Dima Kogan <dima@secretsauce.net>
240 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
241 * run-peel-type.sh: Likewise.
242 * testfile-sizes3.o.bz2: Likewise.
244 2017-12-07 Mark Wielaard <mark@klomp.org>
246 * run-readelf-variant.sh: New test.
247 * testfile-ada-variant.bz2: New testfile.
248 * Makefile.am (TESTS): Add run-readelf-variant.sh.
249 (EXTRA_DISTS): Add run-readelf-variant.sh and
250 testfile-ada-variant.bz2.
252 2017-11-29 Mark Wielaard <mark@klomp.org>
254 * run-readelf-loc.sh: Adjust expected loc list output.
255 * run-readelf-zdebug-rel.sh: Likewise.
256 * run-readelf-zdebug.sh: Likewise.
258 2017-11-29 Mark Wielaard <mark@klomp.org>
260 * run-readelf-loc.sh: Adjust expected range list output.
261 * run-readelf-zdebug.sh: Likewise.
263 2017-11-29 Mark Wielaard <mark@klomp.org>
265 * run-readelf-dwz-multi.sh: Add expected file names.
266 * run-readelf-zdebug-rel.sh: Likewise.
268 2017-11-29 Mark Wielaard <mark@klomp.org>
270 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
271 * run-readelf-zdebug-rel.sh: Likewise.
273 2017-11-29 Mark Wielaard <mark@klomp.org>
275 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
276 * run-readelf-loc.sh: Likewise.
277 * run-readelf-zdebug-rel.sh: Likewise.
278 * run-readelf-zdebug.sh: Likewise.
280 2017-11-16 Mark Wielaard <mark@klomp.org>
282 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
284 2017-11-10 Mark Wielaard <mark@klomp.org>
286 * run-exprlocs-self.sh: New test.
287 * run-varlocs-self.sh: Likewise.
288 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
290 (EXTRA_DIST): Likewise.
291 * varlocs.c (cfi_debug_bias): New global variable.
292 (is_ET_REL): Likewise.
293 (print_expr): Don't crash and burn when CFI cannot be found for an
294 ET_REL file for DW_OP_call_frame_cfa.
295 (handle_die): If there is no entry_pc pick the lowest pc start range
297 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
298 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
300 2017-11-03 Mark Wielaard <mark@klomp.org>
302 * run-exprlocs.sh: New test.
303 * testfile-stridex.bz2: New testfile.
304 * Makefile.am (TESTS): Add run-exprlocs.sh.
305 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
306 * varlocs.c (dwarf_tag_string): New function.
307 (dwarf_attr_string): Likewise.
308 (dwarf_form_string): Likewise.
309 (print_expr): Fix typo in error message.r
310 Handle DW_OP_GNU_variable_value.
311 (attr_arg): New struct.
312 (handle_attr): New function.
313 (handle_die): Likewise.
314 (main): Handle --exprlocs argument. Call handle_die.
316 2017-10-16 Mark Wielaard <mark@klomp.org>
318 * md5-sha1-test.c: Removed.
319 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
321 (md5_sha1_test_LDADD): Removed.
323 2017-10-04 Mark Wielaard <mark@klomp.org>
325 * msg_tst.c: Handle ELF_E_INVALID_ELF.
327 2017-09-10 Mark Wielaard <mark@klomp.org>
329 * run-ar.sh: New test.
330 * Makefile.am (TESTS): Add run-ar.sh.
331 (EXTRA_DIST): Likewise.
333 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
335 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
337 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
339 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
341 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
343 * run-strip-nothing.sh: Add -s.
345 2017-07-26 Mark Wielaard <mark@klomp.org>
347 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
349 2016-10-27 Mark Wielaard <mjw@redhat.com>
351 * dwarf_default_lower_bound.c: New test.
352 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
354 (dwarf_default_lower_bound_LDADD): New variable.
356 2017-07-21 Mark Wielaard <mark@klomp.org>
358 * get-lines.c (main): Add dwarf_line_file test.
360 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
362 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
363 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
365 2017-07-20 Mark Wielaard <mark@klomp.org>
367 * run-strip-g.sh: New test.
368 * Makefile.am (TESTS): Add run-strip-g.sh.
369 (EXTRA_DIST): Likewise.
371 2017-07-18 Mark Wielaard <mark@klomp.org>
373 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
375 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
377 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
379 2017-07-14 Mark Wielaard <mark@klomp.org>
381 * run-strip-remove-keep.sh: New test.
382 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
383 (EXTRA_DIST): Likewise.
385 2017-06-07 Mark Wielaard <mark@klomp.org>
387 * run-strip-nothing.sh: New test.
388 * Makefile.am (TESTS): Add run-strip-nothing.sh.
389 (EXTRA_DIST): Likewise.
391 2017-06-06 Mark Wielaard <mark@klomp.org>
393 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
395 2017-05-30 Mark Wielaard <mark@klomp.org>
397 * run-backtrace-fp-core-ppc64le.sh: New test.
398 * backtrace.ppc64le.fp.core.bz2: New test file.
399 * backtrace.ppc64le.fp.exec.bz2: New testfile.
400 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
401 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
402 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
403 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
405 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
406 Mark Wielaard <mark@klomp.org>
408 * Makefile.am: Add test for unwinding with frame pointers on aarch64
409 * backtrace.aarch64.fp.core.bz2: New file
410 * backtrace.aarch64.fp.exec.bz2: New file
411 * run-backtrace-fp-core-aarch64.sh: New file
412 * backtrace-subr.sh (check_err): Allow Invalid register.
413 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
415 2017-04-06 Mark Wielaard <mark@klomp.org>
417 * run-backtrace-fp-core-i386.sh: New test.
418 * backtrace.i386.fp.core.bz2: New test file.
419 * backtrace.i386.fp.exec.bz2: New testfile.
420 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
421 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
422 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
424 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
426 * Makefile.am: Add test for unwinding with frame pointers on x86_64
427 * backtrace.x86_64.fp.core.bz2: New file
428 * backtrace.x86_64.fp.exec.bz2: New file
429 * run-backtrace-fp-core-x86_64.sh: New file
431 2017-04-25 Mark Wielaard <mark@klomp.org>
433 * backtrace-subr.sh (check_backtracegen): New function.
434 (check_core): Add check_backtracegen call.
435 * backtrace.ppc.exec.bz2: Regenerated.
436 * backtrace.ppc.core.bz2: Likewise.
438 2017-04-24 Mark Wielaard <mark@klomp.org>
440 * backtrace.c: Remove option to allow unknown symbols in the trace.
441 * backtrace-substr.sh: Remove option to allow unknown symbols
442 to check_core() and allow failed symbol lookups in check_err().
444 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
446 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
448 * run-readelf-zdebug-rel.sh: Likewise.
450 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
452 * backtrace-child.c: Include sys/ptrace.h only on linux.
453 * backtrace-dwarf.c: Likewise.
455 2017-04-05 Mark Wielaard <mark@klomp.org>
457 * test-subr.sh (testrun_on_self_compressed): New function.
458 * run-elflint-self.sh: Call testrun_on_self_compressed.
459 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
461 2017-03-30 Mark Wielaard <mark@klomp.org>
463 * peel_type.c: New file.
464 * run-peel-type.sh: New test.
465 * Makefile.am (check_PROGRAMS): Add peel_type.c.
466 (TESTS): Add run-peel-type.sh.
467 (EXTRA_DIST): Likewise.
468 (peel_type_LDADD): New variable.
470 2017-03-27 Mark Wielaard <mark@klomp.org>
472 * fillfile.c: New file.
473 * Makefile.am (check_PROGRAMS): Add fillfile.
475 (fillfile_LDADD): New variable.
477 2017-02-15 Mark Wielaard <mark@klomp.org>
479 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
480 * run-readelf-A.sh: Add testfileppc64.o test.
482 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
484 * elfstrmerge.c: Include system.h.
486 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
488 * backtrace.c: Add an option to allow unknown symbols in the trace
489 * backtrace-substr.sh: Add an option to allow unknown symbols
490 to check_core() and allow failed symbol lookups in check_err()
492 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
494 * backtrace-data.c: Don't assert that symbols are found.
495 The unwinder is allowed to ask for invalid addresses. We deny
496 such requests, rather than make the test fail.
498 2016-11-17 Mark Wielaard <mjw@redhat.com>
500 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
502 2016-11-02 Mark Wielaard <mjw@redhat.com>
504 * backtrace-data.c (thread_callback): Add explicit break after error.
505 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
507 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
509 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
510 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
511 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
512 (run-unstrip-test4.sh): New file.
513 (testfile-strtab.bz2): New file.
514 (testfile-strtab.stripped.bz2): New file.
515 (testfile-strtab.debuginfo.bz2): New file.
517 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
519 * arextract.c: Remove sys/param.h include, add system.h include.
521 2016-08-30 Mark Wielaard <mjw@redhat.com>
523 * Makefile.am (asm_tst?_LDADD): Add libdw.
525 2016-08-25 Mark Wielaard <mjw@redhat.com>
527 * backtrace-child.c: Disable and add documentation about why we disable
528 RAISE_JMP_PATCHING even on x86_64.
529 * backtrace.c (is_x86_64_native): Rename to...
530 (use_raise_jmp_patching): ... this.
531 (callback_verify): Use use_raise_jmp_patching instead of
533 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
535 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
537 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
538 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
539 use_raise_jmp_patching instead of is_x86_64_native.
541 2016-08-24 Mark Wielaard <mjw@redhat.com>
543 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
545 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
547 * testfilesparc64attrs.o.bz2: New file.
548 * run-readelf-A.sh: Check attributes in a sparc object.
550 2016-08-06 Mark Wielaard <mjw@redhat.com>
552 * run-strip-reloc.sh: Add explicit compressed and uncompressed
555 2016-08-10 Richard Henderson <rth@redhat.com>
557 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
560 2016-07-08 Mark Wielaard <mjw@redhat.com>
562 * update3_LDADD: Use libdw instead of libebl.
563 * update4_LDADD: Likewise.
564 * alldts_LDADD: Likewise.
565 * elfstrmerge_LDADD: Likewise.
566 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
567 * elfstrmerge.c (release): Likewise.
569 * update3.c (main): Likewise.
570 * update4.c (main): Likewise.
572 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
574 * Makefile.am (TESTS): Add run-strip-test11.sh.
575 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
576 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
577 (run-strip-test11.sh): New file.
578 (hello_m68k.ko.bz2): New file.
579 (testfile-m68k-core.bz2): New file.
580 (testfile-m68k.bz2): New file.
581 (testfile-m68k-s.bz2): New file.
582 * run-allregs.sh: Add test for testfile-m68k-core.
583 * run-readelf-mixed-corenote.sh: Likewise.
584 * run-strip-reloc.sh: Add test for hello_m68k.ko.
586 2016-07-06 Mark Wielaard <mjw@redhat.com>
588 * Makefile.am (check_PROGRAMS): Add vendorelf.
590 (vendorelf_LDADD): New variable.
591 * vendorelf.c: New test.
592 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
594 2016-06-24 Mark Wielaard <mjw@redhat.com>
596 * Makefile.am (check_PROGRAMS): Add emptyfile.
598 (emptyfile_LDADD): New variable.
599 * emptyfile.c: New test.
601 2016-06-28 Richard Henderson <rth@redhat.com>
603 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
604 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
605 testfile-bpf-dis1.o.bz2
606 (run-disasm-bpf.sh): New file.
607 (testfile-bpf-dis1.expect.bz2): New file.
608 (testfile-bpf-dis1.o.bz2): New file.
610 2016-02-09 Mark Wielaard <mjw@redhat.com>
612 * testfile-s390x-hash-both.bz2: New testfile.
613 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
614 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
616 2016-02-04 Mark Wielaard <mjw@redhat.com>
618 * run-strip-nobitsalign.sh: New test.
619 * testfile-nobitsalign.bz2: New testfile.
620 * testfile-nobitsalign.strip.bz2: Likewise.
621 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
622 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
623 and testfile-nobitsalign.strip.bz2.
624 * run-strip-test.sh: Add --gnu to elflint calls.
626 2016-01-13 Mark Wielaard <mjw@redhat.com>
628 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
630 2016-01-13 Mark Wielaard <mjw@redhat.com>
632 * dwfl-proc-attach.c: Guard linux specific header.
634 2016-01-13 Mark Wielaard <mjw@redhat.com>
636 * system-elf-libelf-test.c: New test.
637 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
638 (check_PROGRAMS): Likewise.
639 (system_elf_libelf_test_CPPFLAGS): New variable.
640 (system_elf_libelf_test_LDADD): Likewise.
642 2016-01-08 Mark Wielaard <mjw@redhat.com>
644 * elfputzdata.c (main): Fix parentheses in strncmp test.
646 2016-01-08 Mark Wielaard <mjw@redhat.com>
648 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
650 2016-01-08 Mark Wielaard <mjw@redhat.com>
652 * Makefile.am (TESTS): Always unconditionally add
653 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
655 2015-12-16 Mark Wielaard <mjw@redhat.com>
657 * run-compress-test.sh: New test.
658 * Makefile.am (TESTS): Add run-compress-test.sh.
659 (EXTRA_DISTS): Likewise.
661 2015-11-26 Mark Wielaard <mjw@redhat.com>
663 * zstrptr.c: New file.
664 * run-zstrptr.sh: New test.
665 * elfputzdata.c (main): (re)compress .shstrtab.
666 * run-elfputzdata.sh: Expect .shstrtab compression.
667 * Makefile.am (check_PROGRAMS): Add zstrptr.
668 (TESTS): Add run-zstrptr.sh.
669 (EXTRA_DIST): Likewise.
670 (zstrptr_LDADD): New variable.
672 2015-10-20 Mark Wielaard <mjw@redhat.com>
674 * run-readelf-zx.sh: New test.
675 * run-readelf-zp.sh: Likewise.
676 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
677 (EXTRA_DIST): Likewise.
679 2015-10-21 Mark Wielaard <mjw@redhat.com>
681 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
682 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
683 (EXTRA_DIST: Likewise.
684 (elfgetzdata_LDADD): New variable.
685 (elfputzdata_LDADD): Likewise.
686 * elfgetzdata.c: New file.
687 * elfputzdata.c: Likewise.
688 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
689 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
690 ELF_E_DECOMPRESS_ERROR.
691 * run-elfgetzdata.sh: New test.
692 * run-elfputzdata.sh: Likewise.
694 2015-10-28 Mark Wielaard <mjw@redhat.com>
696 * run-readelf-z.sh: New test.
697 * Makefile.am (TESTS): Add run-readelf-z.sh.
698 (EXTRA_DIST): Likewise.
700 2015-10-28 Mark Wielaard <mjw@redhat.com>
702 * elfgetchdr.c: New file.
703 * run-elfgetchdr.sh: New test.
704 * testfile-zgabi32.bz2: New testfile.
705 * testfile-zgabi32be.bz2: Likewise.
706 * testfile-zgabi64.bz2: Likewise.
707 * testfile-zgabi64be.bz2: Likewise.
708 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
709 (TESTS): Add run-elfgetchdr.sh.
710 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
711 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
712 (welfgetchdr_LDADD): New variable.
713 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
714 and ELF_E_INVALID_SECTION_FLAGS,
717 2015-10-28 Mark Wielaard <mjw@redhat.com>
719 * dwelfgnucompressed.c: New file.
720 * run-dwelfgnucompressed.sh: New test.
721 * testfile-zgnu32.bz2: New testfile.
722 * testfile-zgnu64.bz2: Likewise.
723 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
724 (TESTS): Add run-dwelfgnucompressed.sh.
725 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
726 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
727 (dwelfgnucompressed_LDADD): New variable.
729 2015-12-31 Mark Wielaard <mjw@redhat.com>
731 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
732 * run-elfstrmerge-test.sh: New test.
733 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
734 (EXTRA_DIST): Likewise.
736 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
738 * run-backtrace-core-sparc.sh: New file.
739 * backtrace.sparc.core.bz2: New file.
740 * backtrace.sparc.exec.bz2: New file.
741 * Makefile.am (EXTRA_DIST): ... and added all here.
742 (TESTS): Added run-backtrace-core-sparc.sh.
744 2015-12-02 Mark Wielaard <mjw@redhat.com>
746 * Makefile.am (valgrind_cmd): Use --leak-check=full.
747 * run-backtrace-demangle.sh: Disable valgrind.
748 * run-stack-demangled-test.sh: Likewise.
749 * run-stack-d-test.sh: Likewise.
750 * run-stack-i-test.sh: Likewise.
752 2015-12-01 Mark Wielaard <mjw@redhat.com>
754 * test-flag-nobits.c (main): Call elf_end.
755 * rerequest_tag.c (main): Call dwarf_end.
756 * funcscopes.c (handle_function): Free scopes.
757 * dwarf-getstring.c (main): Call dwarf_end.
758 * allregs.c (main): Free state.info.
759 * alldts.c (main): Free dyn.
760 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
762 * addrscopes.c (handle_address): Free scopes.
764 2015-10-16 Mark Wielaard <mjw@redhat.com>
766 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
767 [BUILD_STATIC] (libelf): Likewise.
769 2015-10-16 Mark Wielaard <mjw@redhat.com>
771 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
773 2015-10-09 Josh Stone <jistone@redhat.com>
775 * lfs-symbols: New list of LFS-related symbols from lintian.
776 * testfile-nolfs.bz2: New test binary for sanity checking.
777 * run-lfs-symbols.sh: New test.
778 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
779 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
781 * alldts.c (main): Replace open64 with open.
782 * dwarf-getstring.c (main): Likewise.
783 * arls.c: Include config.h.
785 * rdwrmmap.c: Likewise.
786 * test-elf_cntl_gelf_getshdr.c: Likewise.
787 * test-flag-nobits.c: Include config.h.
788 (main): Replace open64 with open.
790 2015-10-09 Mark Wielaard <mjw@redhat.com>
792 * elfshphehdr.c (check): Rename argument from check to statement.
793 (check_elf): Likewise.
795 2015-10-05 Josh Stone <jistone@redhat.com>
797 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
799 2015-10-02 Mark Wielaard <mjw@redhat.com>
801 * elfstrmerge.c: New check program.
802 * run-strip-strmerge.sh: New test.
803 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
804 (EXTRA_DIST): Add run-strip-strmerge.sh
805 (elfstrmerge_LDADD): New variable.
807 2015-09-29 Mark Wielaard <mjw@redhat.com>
809 * elfshphehdr.c: New test.
810 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
812 (elfshphehdr_LDADD): New variable.
814 2015-09-08 Mark Wielaard <mjw@redhat.com>
816 * dwfl-proc-attach.c: New test.
817 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
819 (dwfl_proc_attach_LDADD): New variable.
820 (dwfl_proc_attach_LDFLAGS): Likewise.
822 2015-09-04 Chih-Hung Hsieh <chh@google.com>
824 * varlocs.c (print_base_type): Initialize enctype.
826 2015-09-04 Chih-Hung Hsieh <chh@google.com>
828 * md5-sha1-test.c (md5_expected): Removed.
829 (sha1_expected): Likewise.
831 2015-09-04 Chih-Hung Hsieh <chh@google.com>
833 * asm-tst1.c (main): Replace %Z length modifier with %z.
834 * asm-tst2.c (main): Likewise.
835 * asm-tst3.c (main): Likewise.
836 * asm-tst4.c (main): Likewise.
837 * asm-tst5.c (main): Likewise.
838 * asm-tst6.c (main): Likewise.
839 * asm-tst7.c (main): Likewise.
840 * asm-tst8.c (main): Likewise.
841 * asm-tst9.c (main): Likewise.
842 * sectiondump.c (print_bytes): Likewise.
844 2015-08-14 Mark Wielaard <mjw@redhat.com>
846 * run-addr2line-alt-debugpath.sh: New test.
847 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
848 (EXTRA_DIST): Likewise.
850 2015-07-29 Mark Wielaard <mjw@redhat.com>
852 * run-unstrip-test3.sh: New test.
853 * testfile-info-link.bz2: New file.
854 * testfile-info-link.debuginfo.bz2: Likewise.
855 * testfile-info-link.stripped.bz2: Likewise.
856 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
857 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
858 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
860 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
862 * tests/run-deleted.sh: Skip when detecting a not implemented
863 dwfl_linux_proc_attach.
865 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
867 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
870 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
872 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
874 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
876 * tests/backtrace-data.c: Reduce scope of some includes to match their
878 * tests/backtrace.c: Likewise.
879 * tests/deleted.c: Likewise.
881 2015-06-16 Mark Wielaard <mjw@redhat.com>
883 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
884 for non-ET_REL files.
886 2015-05-30 Mark Wielaard <mjw@redhat.com>
888 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
889 generated before skipping.
890 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
892 * run-backtrace-demangle.sh: Likewise.
893 * run-stack-demangled-test.sh: Likewise.
894 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
896 * run-backtrace-native-core-biarch.sh: Likewise.
897 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
899 2015-05-20 Mark Wielaard <mjw@redhat.com>
901 * run-addr2line-i-test.sh: Add pretty test.
902 * run-addr2line-test.sh: Likewise.
904 2015-05-20 Mark Wielaard <mjw@redhat.com>
906 * run-addr2line-i-demangle-test.sh: New test.
907 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
908 (EXTRA_DIST): Likewise.
910 2015-05-20 Mark Wielaard <mjw@redhat.com>
912 * run-addr2line-test.sh: Add -a test variants.
913 * run-addr2line-i-test.sh: Likewise.
915 2015-05-20 Mark Wielaard <mjw@redhat.com>
917 * run-addrname-test.sh: Make sure all input addresses are hex.
919 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
921 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
922 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
924 * backtrace-dwarf.c (main): Likewise.
925 * backtrace.c (prepare_thread, exec_dump): Likewise.
927 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
929 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
930 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
931 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
932 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
933 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
935 2015-05-01 Mark Wielaard <mjw@redhat.com>
937 * run-stack-d-test.sh: Use --raw and mangled output.
938 * run-stack-i-test.sh: Likewise.
939 * run-stack-demangled-test.sh: New test.
940 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
943 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
945 * Makefile.am (TESTS): Add run-strip-test10.sh.
946 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
947 Add testfile-x32-debug.bz2.
948 * run-strip-test10.sh: New file.
949 * testfile-x32-d.bz2: Likewise.
950 * testfile-x32-debug.bz2: Likewise.
952 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
954 * Makefile.am (TESTS): Add run-strip-test9.sh.
955 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
956 * run-strip-test9.sh: New file.
957 * testfile-x32-s.bz2: Likewise.
959 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
961 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
962 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
963 Add backtrace.x32.exec.bz2.
964 * backtrace.x32.core.bz2 : New file.
965 * backtrace.x32.exec.bz2: Likewise.
966 * run-backtrace-core-x32.sh: Likewise.
968 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
970 * run-addrcfi.sh: Add a test for testfile-x32.
971 * testfile-x32.bz2: New file.
972 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
974 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
976 * run-allregs.sh: Add a test for testfile-x32-core.
978 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
980 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
981 * testfile-x32-core.bz2: New file.
982 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
984 2015-03-18 Petr Machata <pmachata@redhat.com>
986 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
988 * allregs.c (dwarf_encoding_string): Likewise.
989 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
990 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
992 2015-03-18 Petr Machata <pmachata@redhat.com>
994 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
995 debug-ranges-no-lowpc.o.bz2.
997 2015-03-13 Mark Wielaard <mjw@redhat.com>
999 * backtrace-dwarf.c: Add explicit includes.
1000 (cleanup_13_abort): Remove unused static declaration.
1001 (thread_callback): Add explicit return.
1003 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
1005 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
1006 instead of PTRACE_POKEUSER.
1007 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
1010 2015-02-18 Mark Wielaard <mjw@redhat.com>
1012 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
1014 2015-02-11 Josh Stone <jistone@redhat.com>
1016 * backtrace.c (exec_dump): Initialize jmp.
1018 2015-02-11 Petr Machata <pmachata@redhat.com>
1020 * run-dwarf-ranges.sh: New test.
1021 * dwarf-ranges.c: New file.
1022 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
1024 2015-01-21 Mark Wielaard <mjw@redhat.com>
1026 * Makefile.am (check_PROGRAMS): Add elfstrtab.
1028 (elfstrtab_LDADD): New variable.
1029 * elfstrtab.c: New test.
1031 2015-01-20 Mark Wielaard <mjw@redhat.com>
1033 * Makefile.am (check_PROGRAMS): Add newdata.
1035 (newdata_LDADD): new variable.
1036 * newdata.c: New test.
1038 2015-01-20 Mark Wielaard <mjw@redhat.com>
1040 * strptr.c: New file.
1041 * run-strptr.sh: New test.
1042 * Makefile.am (check_PROGRAMS): Add strptr.
1043 (TESTS): Add run-strptr.sh.
1044 (EXTRA_DIST): Likewise.
1045 (strptr_LDADD): New variable.
1047 2015-01-15 Mark Wielaard <mjw@redhat.com>
1049 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
1050 * vdsosyms.c (main): Use getpid () instead of getppid ().
1052 2014-12-27 Mark Wielaard <mjw@redhat.com>
1054 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
1055 * funcscopes.c (handle_function): Likewise.
1056 * run-addrscopes.sh: Adjust last address in scope.
1057 * run-funcscopes.sh: Likewise.
1059 2015-01-07 Mark Wielaard <mjw@redhat.com>
1061 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
1063 2015-01-14 Mark Wielaard <mjw@redhat.com>
1065 * testfile-debug-types.bz2: New testfile.
1066 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
1067 * typeiter2.c (main): Print both name and offset of found form DIE.
1068 * run-typeiter.s: Adjust output and add testfile-debug-types.
1070 2014-12-26 Mark Wielaard <mjw@redhat.com>
1072 * run-test-archive64.sh: Add nm test.
1074 2014-12-19 Mark Wielaard <mjw@redhat.com>
1076 * run-deleted.sh: Don't check libfunc on ppc64.
1078 2014-12-19 Mark Wielaard <mjw@redhat.com>
1080 * vdsosyms.c (vdso_seen): Removed.
1081 (vdso_syms): New global.
1082 (module_callback): Set and check vdso_syms.
1083 (main): Return value depends on vdso_syms.
1085 2014-12-19 Mark Wielaard <mjw@redhat.com>
1087 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
1089 * run-deleted.sh: Call check_native_unsupported.
1091 2014-12-18 Mark Wielaard <mjw@redhat.com>
1093 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
1095 2014-12-12 Mark Wielaard <mjw@redhat.com>
1097 * Makefile.am (deleted_lib_so_CFLAGS): Add
1098 -fasynchronous-unwind-tables.
1100 2014-12-11 Josh Stone <jistone@redhat.com>
1102 * run-addr2line-i-lex-test.sh: New test.
1103 * testfile-lex-inlines.bz2: New testfile.
1104 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
1105 testfile-lex-inlines.bz2.
1106 (TESTS): Add run-addr2line-i-lex-test.sh.
1108 2014-12-10 Josh Stone <jistone@redhat.com>
1110 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
1111 preferred over the plain die name.
1113 2014-12-02 Petr Machata <pmachata@redhat.com>
1115 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
1116 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
1117 (main): Initialize off to DWARF_GETMACROS_START when an extra
1118 command line argument is passed.
1119 * testfile-macros-0xff.bz2: New test case.
1120 * testfile-macros-0xff.s: New file (source for the above).
1121 * run-dwarf-getmacros.sh: Add two tests.
1123 2014-11-27 Mark Wielaard <mjw@redhat.com>
1125 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
1127 2014-11-21 Mark Wielaard <mjw@redhat.com>
1129 * run-readelf-A.sh: New test.
1130 * testfileppc32attrs.o.bz2: New test file.
1131 * Makefile.am (TESTS): Add run-readelf-A.sh.
1132 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
1134 2014-11-10 Mark Wielaard <mjw@redhat.com>
1136 * vdsosyms.c: New test.
1137 * Makefile.am (check_PROGRAMS): Add vdsosyms.
1139 (vdsosyms_LDADD): New variable.
1141 2014-09-10 Petr Machata <pmachata@redhat.com>
1143 * dwarf-getmacros.c: Update to use the new macro iteration
1145 * run-dwarf-getmacros.sh: Adjust, add a test that uses
1148 2014-10-06 Mark Wielaard <mjw@redhat.com>
1150 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
1151 * testfile-sizes3.o.bz2: New test file.
1152 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
1154 2014-10-02 Mark Wielaard <mjw@redhat.com>
1156 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
1158 2014-10-02 Mark Wielaard <mjw@redhat.com>
1160 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1161 (TESTS): Add run-aggregate-size.sh.
1162 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1163 and testfile-sizes2.o.bz2.
1164 (aggregate_size_LDADD): New variable.
1165 * aggregate_size.c: New file.
1166 * run-aggregate-size.sh: New test.
1167 * testfile-sizes1.o.bz2: New test file.
1168 * testfile-sizes2.o.bz2: Likewise.
1170 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1172 Support NT_FILE for locating files.
1173 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
1174 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1175 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1176 * linkmap-cut-lib.so.bz2: New file.
1177 * linkmap-cut.bz2: New file.
1178 * linkmap-cut.core.bz2: New file.
1179 * run-linkmap-cut.sh: New file.
1180 * run-unstrip-n.sh: Update its expected output.
1182 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1184 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1185 (TESTS, EXTRA_DIST): Add run-deleted.sh.
1186 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1187 * deleted-lib.c: New file.
1188 * deleted.c: New file.
1189 * run-deleted.sh: New file.
1191 2014-06-15 Mark Wielaard <mjw@redhat.com>
1193 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
1195 2014-06-13 Mark Wielaard <mjw@redhat.com>
1197 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1200 2014-06-13 Mark Wielaard <mjw@redhat.com>
1202 * backtrace-subr.sh (check_native_unsupported): New function.
1203 (check_native): Call it.
1204 (check_native_core): Likewise.
1205 * run-backtrace-dwarf.sh: Likewise.
1207 2014-06-11 Mark Wielaard <mjw@redhat.com>
1209 * backtrace.c (main): Check that Dwfl was attached by calling
1210 dwfl_pid and printing the error when it is not.
1212 2014-05-18 Mark Wielaard <mjw@redhat.com>
1214 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1216 * testfile-backtrace-demangle.bz2: Regenerate.
1217 * testfile-backtrace-demangle.core.bz2: Likewise.
1219 2014-05-02 Mark Wielaard <mjw@redhat.com>
1221 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1222 run-allfcts-multi.sh are now added unconditionally.
1224 2014-05-01 Mark Wielaard <mjw@redhat.com>
1226 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1229 2014-04-30 Mark Wielaard <mjw@redhat.com>
1231 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1232 * Makefile.am (check_PROGRAMS): Add buildid.
1233 (TESTS): Add run-buildid.sh.
1234 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1235 (buildid_LDADD): New variable.
1237 2014-04-24 Florian Weimer <fweimer@redhat.com>
1239 * allfcts.c (setup_alt): New function.
1240 (main): Call it. Implementation additional error checking and
1243 2014-04-24 Florian Weimer <fweimer@redhat.com>
1245 * debugaltlink.c, run-debugaltlink.sh: New files.
1246 * Makefile.am (check_PROGRAMS): Add debugaltlink.
1247 (TESTS): Add run-debugaltlink.sh.
1248 (debugaltlink_LDADD): New variable.
1250 2014-04-11 Mark Wielaard <mjw@redhat.com>
1252 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1253 (check_PROGRAMS): Add debuglink.
1254 (TESTS): Add run-debuglink.sh
1255 (EXTRA_DIST): Likewise.
1256 (debuglink_LDADD): New.
1257 * debuglink.c: New file.
1258 * run-debuglink.sh: Likewise.
1260 2014-03-23 Mark Wielaard <mjw@redhat.com>
1262 * run-nm-self.sh: Use test = not == for string comparisons.
1264 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
1266 * backtrace.c: Make Linux only.
1267 * backtrace-child.c: Make Linux only.
1268 * backtrace-data.c: Make Linux only.
1269 * backtrace-dwarf.c: Make Linux only.
1270 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1272 2014-03-14 Mark Wielaard <mjw@redhat.com>
1274 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1276 * configure.ac: Remove MUDFLAP conditional.
1278 2014-04-09 Mark Wielaard <mjw@redhat.com>
1280 * run-readelf-zdebug.sh: New test.
1281 * testfile-debug.bz2: New testfile.
1282 * testfile-zdebug.bz2: New testfile.
1283 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1284 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1285 testfile-zdebug.bz2.
1287 2014-04-10 Mark Wielaard <mjw@redhat.com>
1289 * testfile_i686_core.bz2: New test file.
1290 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1291 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1293 2014-04-09 Mark Wielaard <mjw@redhat.com>
1295 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1296 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1297 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1298 * run-backtrace-core-aarch64.sh: New test.
1300 2014-03-11 Josh Stone <jistone@redhat.com>
1302 * testfilebaxmin.bz2: New testfile.
1303 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1304 * run-readelf-s.sh: Test testfilebaxmin.
1305 * run-dwflsyms.sh: Likewise.
1307 2014-01-26 Mark Wielaard <mjw@redhat.com>
1309 * backtrace-subr.sh (check_unsupported): Special case arm*.
1311 2014-01-25 Mark Wielaard <mjw@redhat.com>
1313 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1314 location expression: call_frame_cfa stack_value.
1316 2014-01-22 Mark Wielaard <mjw@redhat.com>
1318 * Makefile.am (line2addr_no_Wformat): Removed.
1320 2014-01-21 Mark Wielaard <mjw@redhat.com>
1322 * Makefile.am (TESTS): Add run-stack-i-test.sh.
1323 (EXTRA_DIST): Likewise.
1324 * run-stack-i-test.sh: New test.
1326 2014-01-20 Mark Wielaard <mjw@redhat.com>
1328 * Makefile.am (TESTS): Add run-stack-d-test.sh.
1329 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1330 testfiledwarfinlines.core.bz2.
1331 * run-stack-d-test.sh: New test.
1332 * testfiledwarfinlines.bz2: New test file.
1333 * testfiledwarfinlines.core.bz2: Likewise.
1335 2014-01-16 Mark Wielaard <mjw@redhat.com>
1337 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1338 on one ET_REL, one ET_EXEC and one ET_DYN file.
1339 * test-subr.sh (self_test_files): Add two ET_REL files, only add
1340 two libebl ET_DYN backend files.
1342 2014-01-16 Mark Wielaard <mjw@redhat.com>
1344 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1346 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1348 Fix false FAILs on testsuite with ulimit -c unlimited.
1349 * backtrace-child.c (sigusr2): Call pthread_exit.
1350 (main): Return, do not call abort.
1352 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1354 Fix corruption of non-C++ symbols by the demangler.
1355 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1356 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1357 (EXTRA_DIST): Add run-backtrace-demangle.sh,
1358 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1359 testfile-backtrace-demangle.core.bz2.
1360 * backtrace-demangle.cc: New file.
1361 * run-backtrace-demangle.sh: New file.
1362 * testfile-backtrace-demangle.bz2: New file.
1363 * testfile-backtrace-demangle.cc: New file.
1364 * testfile-backtrace-demangle.core.bz2: New file.
1366 2014-01-07 Matthias Klose <doko@ubuntu.com>
1368 * backtrace-subr.sh (check_native_core): Check to see if core file
1369 was created without ".PID" extension, if so mv core to core.PID.
1370 Skip test if no core file was created or could be found.
1372 2014-01-04 Mark Wielaard <mjw@redhat.com>
1374 * backtrace-data.c (main): Don't assert if raise returns.
1375 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1376 assume_ptrace_attached true.
1377 (ptrace_detach_stopped): Removed function.
1378 (main): Don't call ptrace_detach_stopped.
1379 * backtrace.c (ptrace_detach_stopped): Removed function.
1380 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1382 (exec_dump): Don't call ptrace_detach_stopped.
1384 2014-01-04 Mark Wielaard <mjw@redhat.com>
1386 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1387 if we cannot adjust core ulimit.
1389 2014-01-04 Mark Wielaard <mjw@redhat.com>
1391 * cleanup-13.c (force_unwind_stop): Removed.
1392 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1393 don't call _Unwind_ForcedUnwind.
1395 2014-01-03 Mark Wielaard <mjw@redhat.com>
1397 * run-addrcfi.sh: Add case for EM_AARCH64.
1398 * testfileaarch64.bz2: New testfile.
1399 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1401 2013-12-30 Mark Wielaard <mjw@redhat.com>
1403 * backtrace-dwarf.c (report_pid): Explicitly call
1404 dwfl_linux_proc_attach and check for errors.
1405 * backtrace.c (report_pid): Likewise.
1407 2013-12-21 Mark Wielaard <mjw@redhat.com>
1409 * backtrace.c (callback_verify): Only assert that case 5 is the last
1410 instruction of backtracegen on x86_64 native.
1412 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1413 Mark Wielaard <mjw@redhat.com>
1415 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1416 and testfilebaz*ppc64*.bz2 files.
1417 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
1418 error on dwfl_module_getsymtab error.
1419 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1420 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1421 Also print section of actual value if different from sym.
1422 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1423 Test addr2line -x by showing different sections for address and
1424 found name in testfile66.
1425 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1426 testfilebaz*ppc64): New tests.
1427 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1428 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1429 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1430 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1431 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1432 testfilebaztabppc64.bz2: New test files.
1434 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1436 unwinder: s390 and s390x
1437 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1438 run-backtrace-core-s390.sh.
1439 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1440 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1441 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1442 * backtrace.s390.core.bz2: New file.
1443 * backtrace.s390.exec.bz2: New file.
1444 * backtrace.s390x.core.bz2: New file.
1445 * backtrace.s390x.exec.bz2: New file.
1446 * run-backtrace-core-s390.sh: New file.
1447 * run-backtrace-core-s390x.sh: New file.
1449 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1451 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1454 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1457 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1458 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1459 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1460 * backtrace.ppc.core.bz2: New file.
1461 * backtrace.ppc.exec.bz2: New file.
1462 * run-backtrace-core-ppc.sh: New file.
1464 2013-12-10 Mark Wielaard <mjw@redhat.com>
1466 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1468 2013-12-10 Mark Wielaard <mjw@redhat.com>
1470 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1471 * backtrace-subr.sh (check_native_core): Disable valgrind while
1473 * run-backtrace-data.sh: Disable valgrind.
1474 * run-backtrace-dwarf.sh: Likewise.
1476 2013-12-09 Mark Wielaard <mjw@redhat.com>
1478 * varlocs.c (print_expr): Update comment to explain empty location
1479 associated with DW_OP_GNU_implicit_pointer.
1481 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1483 Fix test FAIL with -O2.
1484 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1486 2013-12-05 Mark Wielaard <mjw@redhat.com>
1488 * backtrace-data.c (main): If unsupported also print to stderr.
1489 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1491 2013-12-04 Mark Wielaard <mjw@redhat.com>
1493 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1495 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1497 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1498 backtrace-data and backtrace-dwarf.
1499 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1500 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1501 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1502 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1503 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1504 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1505 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1506 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1507 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1508 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1509 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1510 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1511 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1512 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1514 * backtrace-child.c: New file.
1515 * backtrace-data.c: New file.
1516 * backtrace-dwarf.c: New file.
1517 * backtrace-subr.sh: New file.
1518 * backtrace.c: New file.
1519 * cleanup-13.c: New file.
1520 * backtrace.i386.core.bz2: New file.
1521 * backtrace.i386.exec.bz2: New file.
1522 * backtrace.x86_64.core.bz2: New file.
1523 * backtrace.x86_64.exec.bz2: New file.
1524 * run-backtrace-core-i386.sh: New file.
1525 * run-backtrace-core-x86_64.sh: New file.
1526 * run-backtrace-native-biarch.sh: New file.
1527 * run-backtrace-native-core-biarch.sh: New file.
1528 * run-backtrace-native-core.sh: New file.
1529 * run-backtrace-native.sh: New file.
1530 * run-backtrace-data.sh: New file.
1531 * run-backtrace-dwarf.sh: New file.
1533 2013-11-27 Mark Wielaard <mjw@redhat.com>
1535 * dwflsyms.c (gelf_bind_order): New function.
1536 (elf_section_name): Likewise.
1537 (addr_in_section): Likewise.
1538 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1539 Refine assert using gelf_bind_order. Print elf_section_name. Check
1540 bias with addr_in_section.
1541 * run-dwflsyms.sh: Add section names to expected output.
1543 2013-11-26 Mark Wielaard <mjw@redhat.com>
1545 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1547 2013-11-25 Petr Machata <pmachata@redhat.com>
1549 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1550 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1551 * Makefile.am (EXTRA_DIST): Add these.
1552 (TESTS): Add run-funcretval.sh.
1553 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1554 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1555 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1556 * run-funcretval.sh: New file.
1558 2013-11-18 Josh Stone <jistone@redhat.com>
1560 * testfilebazdbg_plr.bz2: New testfile.
1561 * testfilebazmin_plr.bz2: Likewise.
1562 * Makefile.am (EXTRA_DIST): Add the above files.
1563 * run-dwflsyms.sh: Add prelink -r tests.
1565 2013-11-15 Mark Wielaard <mjw@redhat.com>
1567 * testfilebazmdb.bz2: Regenerated.
1568 * testfilebazmin.bz2: Likewise.
1569 * testfilebazdbg_pl.bz2: New testfile.
1570 * testfilebazmin_pl.bz2: Likewise.
1571 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1572 testfilebazmin_pl.bz2.
1573 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1574 print relative address of function symbols.
1575 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1577 2013-11-01 Michael Forney <mforney@mforney.org>
1579 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1580 * run-arsymtest.sh: Use NM.
1582 2013-11-05 Mark Wielaard <mjw@redhat.com>
1584 * allfcts.c (main): Correct dwarf_getfuncs return value check.
1586 2013-10-10 Mark Wielaard <mjw@redhat.com>
1587 Josh Stone <jistone@redhat.com>
1589 * run-allfcts-multi.sh: New test.
1590 * test-offset-loop.bz2: New testfile.
1591 * test-offset-loop.alt.bz2: New testfile.
1592 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1593 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1594 test-offset-loop.alt.bz2.
1596 2013-10-15 Mark Wielaard <mjw@redhat.com>
1598 * run-unstrip-M.sh: New test.
1599 * Makefile.am (TESTS): Add run-unstrip-M.sh.
1600 (EXTRA_DIST): Likewise.
1602 2013-10-06 Mark Wielaard <mjw@redhat.com>
1604 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1605 location expression.
1607 2013-10-03 Josh Stone <jistone@redhat.com>
1609 * typeiter2.c: New file, reversing typeiter.c.
1610 * run-typeiter.sh: Also run typeiter2.
1611 * Makefile.am (check_PROGRAMS): Add typeiter2.
1612 (typeiter2_LDADD): New variable.
1614 2013-09-26 Petr Machata <pmachata@redhat.com>
1616 * run-readelf-mixed-corenote.sh: Update output of testfile71
1617 dump--readelf can newly decode the NT_FILE note.
1619 2013-09-26 Petr Machata <pmachata@redhat.com>
1621 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
1622 * run-readelf-mixed-corenote.sh: New test for this file.
1623 * testfile71.bz2: New file.
1625 2013-09-20 Mark Wielaard <mjw@redhat.com>
1627 * allfcts.c (cb): Return DWARF_CB_ABORT.
1628 (main): Iterate over all offsets returned by dwarf_getfuncs.
1629 * run-allfcts.sh: Add nested_funcs and class_func testcases.
1630 * testfile_nested_funcs.bz2: New test file.
1631 * testfile_class_func.bz2: Likewise.
1632 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
1633 testfile_nested_funcs.bz2.
1635 2013-08-30 Mark Wielaard <mjw@redhat.com>
1637 * Makefile.am (check_PROGRAMS): Add varlocs.
1638 (TESTS): Add run-varlocs.sh.
1639 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
1640 testfile_const_type.bz2, testfile_implicit_pointer.c,
1641 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1642 testfile_entry_value.c, testfile_entry_value.bz2,
1643 testfile_implicit_value.c and testfile_implicit_value.bz2.
1644 (varlocs_LDADD): New.
1645 * run-varlocs: New test.
1646 * testfile_const_type.c: New test source file.
1647 * testfile_entry_value.c: Likewise.
1648 * testfile_implicit_pointer.c: Likewise.
1649 * testfile_implicit_value.c: Likewise.
1650 * testfile_parameter_ref.c: Likewise.
1651 * testfile_const_type.bz2: New test file.
1652 * testfile_entry_value.bz2: Likewise.
1653 * testfile_implicit_pointer.bz2: Likewise.
1654 * testfile_implicit_value.bz2: Likewise.
1655 * testfile_parameter_ref.bz2: Likewise.
1656 * varlocs.c: New test source.
1658 2013-08-29 Mark Wielaard <mjw@redhat.com>
1660 * run-addrcfi.sh: Add case for EM_ARM.
1661 * testfilearm.bz2: New testfile.
1662 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1664 2013-08-28 Mark Wielaard <mjw@redhat.com>
1666 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1668 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1669 * testfiles390.bz2: New testfile.
1670 * testfiles390x.bz2: Likewise.
1671 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1674 2013-08-28 Mark Wielaard <mjw@redhat.com>
1676 * addrcfi.c (handle_cfi): Use printf not error.
1677 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1678 * testfileppc32.bz2: New testfile.
1679 * testfileppc64.bz2: Likewise.
1680 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1683 2013-08-27 Mark Wielaard <mjw@redhat.com>
1685 * run-addrcfi.sh: New test.
1686 * Makefile.am (TESTS): Add run-addrcfi.sh.
1687 (EXTRA_DIST): Likewise.
1688 * addrcfi.c (op_name): New function.
1689 (print_detail): Call and print op_name. Check ops, not result
1690 to check if this is "same value" or "undefined".
1691 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1693 2013-08-13 Mark Wielaard <mjw@redhat.com>
1695 * run-addr2line-i-test.sh: New test.
1696 * testfile-inlines.bz2: New testfile.
1697 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1698 testfile-inlines.bz2.
1699 (TESTS): Add run-addr2line-i-test.sh.
1701 2013-08-12 Mark Wielaard <mjw@redhat.com>
1703 * run-addr2line-test.sh: New test.
1704 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1707 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1709 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1712 2013-07-02 Mark Wielaard <mjw@redhat.com>
1714 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1715 testfilenolines.bz2.
1717 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1719 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1720 test-core.core.bz2 and test-core.exec.bz2.
1721 * run-addrname-test.sh: New test for these files.
1722 * run-unstrip-n.sh: Update expected output. New test for these files.
1723 * test-core-lib.so.bz2: New file.
1724 * test-core.core.bz2: New file.
1725 * test-core.exec.bz2: New file.
1727 2013-05-03 Mark Wielaard <mjw@redhat.com>
1729 * testfilenolines.bz2: New test file.
1730 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1731 * run-get-lines.sh: Run testrun_compare on testfilenolines.
1733 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1735 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1737 2013-04-29 Mark Wielaard <mjw@redhat.com>
1739 * test-subr.sh: Don't use pushd, just cd into test-dir.
1740 (exit_cleanup): Don't use popd, just cd .. to get out.
1742 2013-04-27 Mark Wielaard <mjw@redhat.com>
1744 * test-subr.sh (exit_cleanup): New function.
1745 (trap): Use exit_cleanup as argument.
1746 * run-native-test.sh (native_exit): New function.
1747 (trap): For EXIT (0) use native_exit as argument.
1749 2013-04-27 Mark Wielaard <mjw@redhat.com>
1751 * update1.c (main): Use unique tempfile name and unlink file.
1752 * update2.c (main): Likewise.
1753 * update3.c (main): Likewise.
1754 * update4.c (main): Use unique tempfile name.
1756 2013-04-27 Mark Wielaard <mjw@redhat.com>
1758 * run-alldts.sh: Add testfile-alldts to tempfiles.
1759 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1760 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1761 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1762 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1764 2013-04-26 Mark Wielaard <mjw@redhat.com>
1766 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1768 (TESTS_ENVIRONMENT): Likewise.
1769 (installed_LOG_COMPILER): New variable defining wrapper.
1770 (LOG_COMPILER): Likewise.
1771 * run-*.sh: Fixup location of input and output files.
1772 * test-subr.sh: Create test_dir, pushd to execute test in.
1773 (trap): Remove test_dir.
1774 (testfiles): Use abs_srcdir.
1775 (installed_testrun): Match on abs_builddir or abs_top_builddir.
1776 (self_test_files): Adjust path.
1778 2013-04-24 Mark Wielaard <mjw@redhat.com>
1780 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1782 2013-03-25 Mark Wielaard <mjw@redhat.com>
1784 * run-readelf-aranges.sh: New test.
1785 * testfilefoobarbaz.bz2: New test file.
1786 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1787 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1789 2013-03-25 Mark Wielaard <mjw@redhat.com>
1791 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1793 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1795 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1796 (TESTS): Add run-dwfl-report-elf-align.sh.
1797 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1798 testfile-dwfl-report-elf-align-shlib.so.bz2 .
1799 (dwfl_report_elf_align_LDADD): New.
1800 * dwfl-report-elf-align.c: New file.
1801 * run-dwfl-report-elf-align.sh: New file.
1802 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1804 2013-03-12 Mark Wielaard <mjw@redhat.com>
1806 * run-dwfllines.sh: New test.
1807 * dwfllines.c: New test program.
1808 * Makefile.am (TESTS): Add run-dwfllines.sh.
1809 (EXTRA_DIST): Likewise.
1810 (dwfllines_LDADD): New variable.
1812 2013-02-22 Mark Wielaard <mjw@redhat.com>
1814 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1815 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1817 2013-02-15 Mark Wielaard <mjw@redhat.com>
1819 * testfile-dwzstr.bz2: New testfile.
1820 * testfile-dwzstr.multi.bz2: Likewise.
1821 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1822 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1823 testfile-dwzstr.multi.bz2.
1825 2013-01-30 Mark Wielaard <mjw@redhat.com>
1827 * testfileloc.bz2: New testfile.
1828 * run-readelf-loc.sh: New test.
1829 * Makefile.am (TESTS): Add run-readelf-loc.sh.
1830 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1832 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1834 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1835 and s390x core notes.
1836 * testfile67.bz2: New file.
1837 * testfile68.bz2: New file.
1838 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1840 2013-01-23 Mark Wielaard <mjw@redhat.com>
1842 * testfilebasmin.bz2: New testfile.
1843 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1844 * run-readelf-s.sh: Test testfilebasmin.
1845 * run-dwflsyms.sh: Likewise.
1847 2013-01-16 Mark Wielaard <mjw@redhat.com>
1849 * Makefile.am (check_PROGRAMS): Add dwflsyms.
1850 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1851 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1852 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1853 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1854 (dwflsyms_LDADD): New variable.
1856 2013-01-07 Roland McGrath <roland@hack.frob.com>
1858 * run-prelink-addr-test.sh: Use ln -snf.
1860 2012-12-03 Mark Wielaard <mjw@redhat.com>
1862 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1864 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1866 * run-addrname-test.sh: New test for PIE relocation.
1867 * testfile70.core.bz2: New file.
1868 * testfile70.exec.bz2: New file.
1869 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1870 testfile70.exec.bz2 .
1872 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1874 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1875 testfile69.core.bz2 and testfile69.so.bz2 .
1877 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1879 * run-addrname-test.sh: New test for DSO with build-id bias.
1880 * testfile69.core.bz2: New file.
1881 * testfile69.so.bz2: New file.
1883 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1885 * run-addrname-test.sh: New test for core vDSO bias.
1886 * testfile65.bz2: New file.
1888 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1890 * run-addrname-test.sh: New test for symbol preferences.
1891 * testfile64.bz2: New file.
1893 2012-10-01 Mark Wielaard <mjw@redhat.com>
1895 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1896 * test-wrapper.sh: Export VALGRIND_CMD if available.
1897 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1898 (installed_testrun): Likewise.
1900 2012-09-24 Petr Machata <pmachata@redhat.com>
1902 * testfile63.bz2: New testfile.
1903 * run-readelf-mixed-corenote.sh: New test.
1904 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1905 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
1907 2012-09-24 Petr Machata <pmachata@redhat.com>
1909 * testfile62.bz2: New testfile.
1910 * run-readelf-vmcoreinfo.sh: New test.
1911 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
1912 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
1914 2012-09-18 Petr Machata <pmachata@redhat.com>
1916 * testfile61.bz2: New testfile.
1917 * run-allregs.sh: Run reg_test testfile61.
1918 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
1920 2012-08-24 Mark Wielaard <mjw@redhat.com>
1922 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
1924 2012-08-22 Jeff Kenton <jkenton@tilera.com>
1926 * testfile60.bz2: New testfile.
1927 * run-allregs.sh: Run reg_test testfile60.
1929 2012-08-24 Mark Wielaard <mjw@redhat.com>
1931 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
1934 2012-08-16 Mark Wielaard <mjw@redhat.com>
1936 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
1938 * show-die-info.c (tagnames): Removed.
1940 (dwarf_tag_string): New function using known-dwarf macros.
1941 (dwarf_attr_string): Likewise.
1942 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
1943 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
1945 2012-06-27 Mark Wielaard <mjw@redhat.com>
1947 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
1948 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
1949 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
1950 testfile_multi_main.bz2.
1951 * run-readelf-dwz-multi.sh: New test.
1952 * libtestfile_multi_shared.so.bz2: New testfile.
1953 * testfile_multi.dwz.bz2: New testifle.
1954 * testfile_multi_main.bz2: New testifle.
1956 2012-08-01 Petr Machata <pmachata@redhat.com>
1958 * run-test-archive64.sh: New test.
1959 * testarchive64.a.bz2: New testfile.
1960 * Makefile.am (TESTS): Add run-test-archive64.sh.
1961 (EXTRA_DIST): Likewise.
1963 2012-08-01 Mark Wielaard <mjw@redhat.com>
1965 * run-nm-self.sh: New test.
1966 * run-readelf-self.sh: Likewise.
1967 * test-subr.sh (testrun_on_self_quiet): New function.
1968 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
1969 (EXTRA_DIST): Likewise.
1971 2012-08-01 Mark Wielaard <mjw@redhat.com>
1973 * test-subr.sh (self_test_files): New list of files.
1974 (testrun_on_self): New function.
1975 * run-elflint-self.sh: Use testrun_on_self.
1977 2012-07-19 Mark Wielaard <mjw@redhat.com>
1979 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
1980 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
1981 (EXTRA_DIST): Likewise.
1982 (test_elf_cntl_gelf_getshdr_LDADD): New.
1983 test-elf_cntl_gelf_getshdr.c: New test program.
1984 run-elf_cntl_gelf_getshdr.sh: New test script.
1986 2012-07-19 Mark Wielaard <mjw@redhat.com>
1988 * run-elflint-self.sh: runtests on ../backends/*so files.
1990 2012-07-19 Mark Wielaard <mjw@redhat.com>
1992 * run-unstrip-n.sh: test_cleanup.
1993 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
1995 2012-07-11 Mark Wielaard <mjw@redhat.com>
1997 * run-readelf-macro.sh: New test.
1998 * testfilemacro.bz2: New testfile.
1999 * Makefile.am (TESTS): Add run-readelf-macro.sh.
2000 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2002 2012-06-27 Mark Wielaard <mjw@redhat.com>
2004 * run-readelf-gdb-index.sh: New test.
2005 * testfilegdbindex5.bz2: New testfile.
2006 * testfilegdbindex7.bz2: Likewise.
2007 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
2008 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
2009 testfilegdbindex7.bz2.
2011 2012-07-17 Mark Wielaard <mjw@redhat.com>
2013 * testcore-rtlib-ppc.bz2: New testfile.
2014 * run-unstrip-n.sh: Check new ppc core testfile.
2016 2012-06-26 Mike Frysinger <vapier@gentoo.org>
2018 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
2020 2012-06-26 Mark Wielaard <mjw@redhat.com>
2022 * run-macro-test.sh: New test.
2023 * testfile-macinfo.bz2: New testfile.
2024 * testfile-macros.bz2: Likewise.
2026 2012-05-07 Mark Wielaard <mjw@redhat.com>
2028 * low_high_pc.c: Use proper inttypes in printf formats.
2030 2012-05-11 Mark Wielaard <mjw@redhat.com>
2032 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
2034 2012-05-07 Mark Wielaard <mjw@redhat.com>
2036 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
2038 2012-04-27 Mark Wielaard <mjw@redhat.com>
2040 * Makefile.am (TESTS): Add run-low_high_pc.sh
2041 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
2042 (noinst_PROGRAMS): Add low_high_pc.
2043 (low_high_pc_LDADD): New variable.
2044 * low_high_pc.c: New test.
2046 2012-04-26 Mark Wielaard <mjw@redhat.com>
2048 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
2049 * run-show-ciefde.sh: Removed old libdwarf test.
2050 * show-ciefde.c: Likewise.
2052 2012-04-02 Mark Wielaard <mjw@redhat.com>
2054 * Makefile.am (TESTS): Add run-unstrip-n.sh.
2055 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
2056 * run-unstrip-n.sh: New test.
2057 * testcore-rtlib.bz2: New testfile.
2059 2012-04-02 Mark Wielaard <mjw@redhat.com>
2061 * Makefile.am (TESTS): Add run-readelf-d.sh.
2062 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
2063 * run-readelf-d.sh: New test.
2064 * run-elflint-test.sh: Check new testfile.
2066 2012-03-21 Tom Tromey <tromey@redhat.com>
2068 * typeiter.c: New file.
2069 * run-typeiter.sh: New file.
2070 * testfile59.bz2: New file.
2071 * Makefile.am (noinst_PROGRAMS): Add typeiter.
2072 (TESTS): Add run-typeiter.sh.
2073 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
2074 (typeiter_LDADD): New variable.
2076 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
2078 * run-alldts.sh: testrun ./alldts.
2080 2012-02-21 Roland McGrath <roland@hack.frob.com>
2082 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
2083 * test-subr.sh (installed_testrun): Likewise.
2085 2012-01-18 Roland McGrath <roland@hack.frob.com>
2087 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
2088 it will have been inherited correctly from the test harness.
2089 * asm-tst5.c (main): Likewise.
2090 * asm-tst6.c (main): Likewise.
2091 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
2093 2011-07-09 Roland McGrath <roland@hack.frob.com>
2095 * sha1-tst.c: File removed.
2096 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
2097 (sha1_tst_LDADD): Variable removed.
2099 * md5-sha1-test.c: New file.
2100 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
2101 (md5_sha1_test_LDADD): New variable.
2103 2011-05-30 Mark Wielaard <mjw@redhat.com>
2105 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
2106 run-rerequest_tag.sh
2108 2011-05-24 Mark Wielaard <mjw@redhat.com>
2110 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
2111 * run-strip-reloc.sh: Add hello_s390.ko testcase.
2112 * hello_s390.ko.bz2: New test file.
2114 2011-05-23 Mark Wielaard <mjw@redhat.com>
2116 * Makefile.am (TESTS): Add run-strip-reloc.sh.
2117 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
2118 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
2119 * run-strip-reloc.sh: New test.
2120 * hello_i386.ko.bz2: New test file.
2121 * hello_x86_64.ko.bz2: Likewise.
2122 * hello_ppc64.ko.bz2: Likewise.
2124 2011-05-18 Mark Wielaard <mjw@redhat.com>
2126 * run-strip-groups.sh: New test.
2127 * testfile58.bz2: New test file.
2128 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
2129 (TESTS): Add run-strip-groups.sh.
2130 (EXTRA_DIST): Likewise.
2132 2011-03-28 Marek Polacek <mpolacek@redhat.com>
2134 * alldts.c: New file.
2135 * run-alldts.sh: Use it.
2136 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2137 (alldts_LDADD): New variable.
2139 2011-03-02 Marek Polacek <mpolacek@redhat.com>
2141 * dwarf-getstring.c: New test.
2142 * run-dwarf-getstring.sh: And its wrapper.
2143 * Makefile.am (EXTRA_DIST): Add and update all.
2145 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2147 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
2148 * run-readelf-twofiles.sh: New file.
2150 2011-02-25 Mark Wielaard <mjw@redhat.com>
2152 * Makefile.am (BUILD_RPATH): Be consistent in naming.
2154 2011-02-02 Josh Stone <jistone@redhat.com>
2156 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
2157 * testfile55-64.bz2, testfile55-64.debug.bz2,
2158 testfile55-64.prelink.bz2, testfile55-32.bz2,
2159 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2160 * Makefile.am (EXTRA_DIST): Add and update all.
2162 2011-01-12 Roland McGrath <roland@redhat.com>
2164 * run-prelink-addr-test.sh: Make symlinks to find .debug files
2165 corresponding to .noshdrs files.
2167 2011-01-11 Josh Stone <jistone@redhat.com>
2169 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2170 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2171 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2172 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2173 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2174 * Makefile.am (EXTRA_DIST): Add and update all.
2176 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2177 * testfile53.bz2, testfile53.debug.bz2,
2178 testfile53.prelink.bz2: Deleted, so...
2179 * testfile53-64.bz2, testfile53-64.debug.bz2,
2180 testfile53-64.prelink.bz2: Recreated with 64-bit names.
2181 * testfile53-32.bz2, testfile53-32.debug.bz2,
2182 testfile53-32.prelink.bz2: New in 32-bit.
2183 * Makefile.am (EXTRA_DIST): Add and update all.
2185 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2186 * testfile52.so.bz2, testfile52.so.debug.bz2,
2187 testfile52.prelink.so.bz2: Deleted, so...
2188 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2189 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2190 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2191 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
2192 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
2193 * Makefile.am (EXTRA_DIST): Add and update all.
2195 2011-01-10 Josh Stone <jistone@redhat.com>
2197 * run-prelink-addr-test.sh: New test for prelinked addrs.
2198 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2199 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2200 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2201 * testfile53.bz2, testfile53.debug.bz2: New data files.
2202 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2203 * Makefile.am (EXTRA_DIST): Add them.
2205 2010-06-04 Roland McGrath <roland@redhat.com>
2207 * run-unstrip-test.sh: Also test modifying the file in place.
2209 2010-04-22 Roland McGrath <roland@redhat.com>
2211 * addrcfi.c (handle_cfi): Fix function name in error message.
2212 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2214 2010-04-14 Roland McGrath <roland@redhat.com>
2216 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2218 2010-04-10 Ulrich Drepper <drepper@redhat.com>
2220 * msg_tst.c: Adjust expected error message.
2222 2010-04-01 Petr Machata <pmachata@redhat.com>
2224 * test-flag-nobits.c: New test.
2225 * run-test-flag-nobits.sh: And its wrapper.
2226 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2227 (test_flag_nobits_LDADD): New variable.
2229 2010-02-15 Roland McGrath <roland@redhat.com>
2231 * Makefile.am: Use config/eu.am for common stuff.
2233 * asm-tst9.c (main): Rename local to avoid shadowing another local.
2235 2009-07-22 Roland McGrath <roland@redhat.com>
2237 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2239 2009-07-08 Roland McGrath <roland@redhat.com>
2241 * addrcfi.c: New file.
2242 * Makefile.am (noinst_PROGRAMS): Add it.
2243 (addrcfi_LDADD): New variable.
2245 2009-05-07 Petr Machata <pmachata@redhat.com>
2247 * testfile51.bz2: New data file.
2248 * dwarf-getmacros.c: New test core.
2249 * run-dwarf-getmacros.sh: New test wrapper.
2250 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2251 (dwarf_getmacros_LDADD): New variable.
2253 2009-04-23 Ulrich Drepper <drepper@redhat.com>
2255 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2256 (rdwrmmap_LDADD): Add $(libmudflap).
2258 2009-04-21 Roland McGrath <roland@redhat.com>
2260 * testfile50.bz2: New data file.
2261 * Makefile.am (EXTRA_DIST): Add it.
2262 * run-dwfl-addr-sect.sh: Add a case using it.
2264 2008-12-31 Ulrich Drepper <drepper@redhat.com>
2266 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2267 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2268 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2269 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2270 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2271 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2272 roundss, roundps, roundpd, and roundsd.
2273 * testfile45.S.bz2: Likewise.
2274 * testfile44.expect.bz2: Adjust accordingly.
2275 * testfile45.expect.bz2: Likewise.
2277 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2278 * testfile45.S.bz2: Likewise.
2279 * testfile44.expect.bz2: Adjust accordingly.
2280 * testfile45.expect.bz2: Likewise.
2282 2008-12-30 Ulrich Drepper <drepper@redhat.com>
2284 * testfile44.S.bz2: Add tests for blendpd and blendps.
2285 * testfile45.S.bz2: Likewise.
2286 * testfile44.expect.bz2: Adjust accordingly.
2287 * testfile45.expect.bz2: Likewise.
2289 2008-12-19 Ulrich Drepper <drepper@redhat.com>
2291 * testfile44.S.bz2: Add tests for AMD 3DNOW.
2292 * testfile45.S.bz2: Likewise.
2293 * testfile44.expect.bz2: Adjust accordingly.
2294 * testfile45.expect.bz2: Likewise.
2296 2008-11-26 Roland McGrath <roland@redhat.com>
2298 * dwfl-bug-getmodules.c: New file.
2299 * Makefile.am (noinst_PROGRAMS): Add it.
2300 (dwfl_bug_getmodules_LDADD): New variable.
2302 2008-09-10 Roland McGrath <roland@redhat.com>
2304 * test-subr.sh (LC_ALL): Export it set to "C".
2305 * run-dwfl-addr-sect.sh: Don't do it here.
2306 * run-strings-test.sh: Likewise.
2308 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
2310 * run-addrname-test.sh: Add a new case.
2311 * testfile49.bz2: New data file.
2312 * Makefile.am (EXTRA_DIST): Add it.
2314 2008-04-10 Roland McGrath <roland@redhat.com>
2316 * testfile48.bz2, testfile48.bz2.debug: New data files.
2317 * Makefile.am (EXTRA_DIST): Add them.
2318 * run-strip-test8.sh: Use them.
2320 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2322 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2323 * run-strip-test8.sh: New file.
2324 * testfile47.bz2: New data file.
2325 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2327 2008-03-31 Roland McGrath <roland@redhat.com>
2329 * run-early-offscn.sh: New file.
2330 * early-offscn.c: New file.
2331 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2332 (early_offscn_LDADD): New variable.
2334 2008-03-19 Roland McGrath <roland@redhat.com>
2336 * run-addrname-test.sh: Add a new case.
2338 2008-02-22 Roland McGrath <roland@redhat.com>
2340 * run-elflint-test.sh: Typo fix.
2342 2008-02-21 Roland McGrath <roland@redhat.com>
2344 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2345 for the build down to minimum.
2346 * run-disasm-x86-64.sh: Likewise.
2348 2008-02-20 Roland McGrath <roland@redhat.com>
2350 * testfile46.bz2: New data file.
2351 * Makefile.am (EXTRA_DIST): Add it.
2352 * run-elflint-test.sh: Test on it.
2354 2008-02-01 Ulrich Drepper <drepper@redhat.com>
2356 * Makefile.am: Hook up sha1-tst.c.
2357 * sha1-tst.c: New file.
2359 2008-01-21 Roland McGrath <roland@redhat.com>
2361 * testfile45.S.bz2: Add tests for cltq, cqto.
2362 * testfile45.expect.bz2: Adjust.
2364 2008-01-14 Ulrich Drepper <drepper@redhat.com>
2366 * testfile45.S.bz2: Add more tests.
2367 * testfile45.expect.bz2: Adjust.
2369 2008-01-11 Ulrich Drepper <drepper@redhat.com>
2371 * testfile45.expect.bz2: Adjust for adding of address for %rip based
2374 2008-01-10 Ulrich Drepper <drepper@redhat.com>
2376 * testfile45.S.bz2: Add more tests.
2377 * testfile45.expect.bz2: Adjust.
2379 2008-01-08 Ulrich Drepper <drepper@redhat.com>
2381 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2382 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2383 run-disasm-x86-64.sh.
2384 * run-disasm-x86-64.sh: New file.
2385 * testfile45.S.bz2: New file.
2386 * testfile45.expect.bz2: New file.
2387 * testfile44.S.bz2: New tests.
2388 * testfile44.expect.bz2: Adjust.
2390 2008-01-04 Ulrich Drepper <drepper@redhat.com>
2392 * testfile44.S.bz2: New tests.
2393 * testfile44.expect.bz2: Adjust.
2395 2008-01-04 Roland McGrath <roland@redhat.com>
2397 * dwfl-bug-fd-leak.c (main): Add a cast.
2399 2008-01-03 Ulrich Drepper <drepper@redhat.com>
2401 * testfile44.S.bz2: New tests.
2402 * testfile44.expect.bz2: Adjust.
2404 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2406 * line2addr.c: Use %m modifier instead of %a to appease gcc.
2408 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2410 * testfile44.S.bz2: New tests.
2411 * testfile44.expect.bz2: Adjust.
2413 2007-12-31 Ulrich Drepper <drepper@redhat.com>
2415 * testfile44.S.bz2: New tests.
2416 * testfile44.expect.bz2: Adjust.
2418 2007-12-30 Ulrich Drepper <drepper@redhat.com>
2420 * testfile44.S.bz2: New tests.
2421 * testfile44.expect.bz2: Adjust.
2423 2007-12-29 Ulrich Drepper <drepper@redhat.com>
2425 * testfile44.s.bz2: New tests.
2426 * testfile44.expect.bz2: Adjust.
2428 2007-12-28 Ulrich Drepper <drepper@redhat.com>
2430 * testfile44.S.bz2: New tests.
2431 * testfile44.expect.bz2: Adjust.
2433 2007-12-27 Ulrich Drepper <drepper@redhat.com>
2435 * testfile44.S.bz2: New tests.
2436 * testfile44.expect.bz2: Adjust.
2438 2007-12-26 Ulrich Drepper <drepper@redhat.com>
2440 * testfile44.S.bz2: New tests.
2441 * testfile44.expect.bz2: Adjust
2443 2007-12-21 Ulrich Drepper <drepper@redhat.com>
2445 * testfile44.S.bz2: More tests.
2446 * testfile44.expect.bz2: Adjust appropriately.
2448 2007-12-19 Ulrich Drepper <drepper@redhat.com>
2450 * Makefile.am (TESTS): Add run-disasm.sh.
2451 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2452 testfile44.expect.bz2.
2453 * run-disasm.sh: New file.
2454 * testfile44.S.bz2: New file.
2455 * testfile44.expect.bz2: New file.
2457 2007-12-15 Roland McGrath <roland@redhat.com>
2459 * run-allregs.sh: Change expected output for powerpc spefscr.
2461 2007-10-20 Roland McGrath <roland@redhat.com>
2463 * run-dwfl-addr-sect.sh: Change expected output, no errors.
2465 2007-10-19 Roland McGrath <roland@redhat.com>
2467 * dwfl-addr-sect.c (handle_address): Return int.
2468 Don't exit on error, just return nonzero.
2469 (main): Collect results.
2470 * run-dwfl-addr-sect.sh: New file.
2471 * testfile43.bz2: New data file.
2472 * Makefile.am (EXTRA_DIST, TESTS): Add them.
2474 2007-10-18 Roland McGrath <roland@redhat.com>
2476 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2478 2007-10-16 Roland McGrath <roland@redhat.com>
2480 * test-subr.sh (remove_files): Don't pass -Bb to diff.
2482 2007-10-09 Roland McGrath <roland@redhat.com>
2484 * dwflmodtest.c (print_module): Don't use %p in output.
2485 * run-dwfl-bug-offline-rel.sh: Updated expected output.
2487 2007-10-08 Roland McGrath <roland@redhat.com>
2489 * testfile42.bz2: New data file.
2490 * Makefile.am (EXTRA_DIST): Add it.
2491 * run-elflint-test.sh: New test on that file.
2493 2007-10-04 Roland McGrath <roland@redhat.com>
2495 * run-readelf-test4.sh: New file.
2496 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2498 2007-10-03 Roland McGrath <roland@redhat.com>
2500 * run-readelf-test3.sh: New file.
2501 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2503 2007-10-01 Roland McGrath <roland@redhat.com>
2505 * run-readelf-test2.sh: New file.
2506 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2508 2007-09-11 Roland McGrath <roland@redhat.com>
2510 * run-addrname-test.sh: Add a new case.
2511 * testfile41.bz2: New data file.
2512 * Makefile.am (EXTRA_DIST): Add it.
2514 2007-08-23 Roland McGrath <roland@redhat.com>
2516 * run-allregs.sh: Update expected x86-64 output for %rflags.
2518 2007-08-12 Roland McGrath <roland@redhat.com>
2520 * run-strip-test7.sh: New file.
2521 * testfile39.bz2: New data file.
2522 * testfile40.bz2: New data file.
2523 * testfile40.debug.bz2: New data file.
2524 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2526 2007-08-09 Roland McGrath <roland@redhat.com>
2528 * dwfl-bug-report.c: Fix header inclusion.
2530 2007-08-08 Roland McGrath <roland@redhat.com>
2532 * run-addrname-test.sh: Add a new case using addr2line -S.
2533 * testfile38.bz2: New data file.
2534 * Makefile.am (EXTRA_DIST): Add it.
2536 2007-07-16 Roland McGrath <roland@redhat.com>
2538 * dwfl-bug-report.c: New file.
2539 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2540 (dwfl_bug_report_LDADD): New variable.
2542 2007-06-06 Roland McGrath <roland@redhat.com>
2544 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2546 2007-06-05 Ulrich Drepper <drepper@redhat.com>
2548 * Makefile.am (EXTRA_DIST): Add missing line continuation and
2549 testfile37.bz and testfile37.debug.bz2.
2551 2007-05-23 Roland McGrath <roland@redhat.com>
2553 * run-allregs.sh: Update expected Alpha results.
2555 2007-05-18 Roland McGrath <roland@redhat.com>
2557 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2558 * testfile37.bz2: New data file.
2559 * testfile37.debug.bz2: New data file.
2560 * run-unstrip-test2.sh: New file.
2561 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2563 2007-05-10 Roland McGrath <roland@redhat.com>
2565 * run-dwfl-bug-offline-rel.sh: New file.
2566 * testfile36.bz2: New data file.
2567 * testfile36.debug.bz2: New data file.
2568 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2570 2007-04-28 Roland McGrath <roland@redhat.com>
2572 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2573 * testfile35.bz2: New data file.
2574 * testfile35.debug.bz2: New data file.
2575 * run-unstrip-test.sh: New file.
2576 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2578 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2580 2007-04-26 Roland McGrath <roland@redhat.com>
2582 * run-elflint-self.sh: Run all tests even if one fails.
2584 * run-allregs.sh: Add expected output for alpha.
2586 2007-04-24 Roland McGrath <roland@redhat.com>
2588 * run-strip-test.sh: When we saved the debug info, test unstrip too.
2590 2007-04-22 Roland McGrath <roland@redhat.com>
2592 * run-allregs.sh: Update expected register info.
2594 2007-04-16 Roland McGrath <roland@redhat.com>
2596 * dwfl-addr-sect.c: New file.
2597 * Makefile.am (noinst_PROGRAMS): Add it.
2598 (dwfl_addr_sect_LDADD): New variable.
2600 2007-04-05 Roland McGrath <roland@redhat.com>
2602 * get-files.c: Test dwarf_getsrcdirs.
2603 * run-get-files.sh: Update expected output.
2605 2007-04-01 Roland McGrath <roland@redhat.com>
2607 * run-allregs.sh: Updated expected output for x86_64.
2609 2007-03-04 Roland McGrath <roland@redhat.com>
2611 * dwfl-bug-fd-leak.c: New file.
2612 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2613 (dwfl_bug_fd_leak_LDADD): New variable.
2615 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
2616 show what files have been located.
2618 2007-02-02 Roland McGrath <roland@redhat.com>
2620 * run-addrname-test.sh: New file.
2621 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2622 * testfile34.bz2: New data file.
2623 * Makefile.am (EXTRA_DIST): Add it.
2625 2007-01-20 Roland McGrath <roland@redhat.com>
2627 * testfile33.bz2: New data file.
2628 * Makefile.am (EXTRA_DIST): Add it.
2629 * run-elflint-test.sh: Test on it too.
2631 2007-01-18 Roland McGrath <roland@redhat.com>
2633 * Makefile.am (CFLAGS): Don't molest it.
2635 2007-01-11 Roland McGrath <roland@redhat.com>
2637 * testfile32.bz2: New data file.
2638 * Makefile.am (EXTRA_DIST): Add it.
2639 * run-elflint-test.sh: Test on it too.
2641 2007-02-04 Ulrich Drepper <drepper@redhat.com>
2644 * Makefile (noinst_PROGRAMS): Add arls.
2646 * run-ranlib-test2.sh: Fix type in comment.
2648 2007-01-10 Ulrich Drepper <drepper@redhat.com>
2650 * run-elflint-self.sh (runtest): Show which file has the problem.
2652 2007-01-10 Roland McGrath <roland@redhat.com>
2654 * dwfl-bug-addr-overflow.c: New file.
2655 * Makefile.am (TESTS): Add it.
2656 (dwfl_bug_addr_overflow_LDADD): New variable.
2658 2006-12-17 Roland McGrath <roland@redhat.com>
2660 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2662 2006-09-05 Roland McGrath <roland@redhat.com>
2664 * run-strings-test.sh: Export LC_ALL=C for the test.
2666 2006-08-29 Roland McGrath <roland@redhat.com>
2668 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2669 * run-arsymtest.sh: Likewise.
2671 * run-native-test.sh (native.c compilation): Add some braces.
2673 2006-08-22 Roland McGrath <roland@redhat.com>
2675 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2676 (struct reginfo): New members bits, type.
2677 (one_register, match_register): Update to take new args,
2678 record and display new info.
2679 (main): Display new info.
2680 * run-allregs.sh: Update expected results.
2682 2006-08-03 Roland McGrath <roland@redhat.com>
2684 * run-allregs.sh: Add sparc cases.
2685 * testfile30.bz2: New data file.
2686 * testfile31.bz2: New data file.
2687 * Makefile.am (EXTRA_DIST): Add them.
2689 2006-07-21 Roland McGrath <roland@redhat.com>
2691 * allregs.c (struct reginfo): Increase size of name.
2692 (one_register): Assert that it's big enough.
2694 2006-04-04 Roland McGrath <roland@redhat.com>
2696 * run-bug1-test.sh: Test a second case, to cover both byte orders.
2697 * testfile29.bz2: New file.
2698 * testfile29.rdwr.bz2: New file.
2699 * Makefile.am (EXTRA_DIST): Add them.
2701 2006-04-04 Ulrich Drepper <drepper@redhat.com>
2703 * Makefile.am: Add rules to run run-bug1-test.sh.
2704 * rdwrmmap.c: New file.
2705 * run-bug1-test.sh: New file.
2706 * testfile28.bz2: New file.
2707 * testfile28.rdwr.bz2: New file.
2709 2006-03-09 Roland McGrath <roland@redhat.com>
2711 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2713 2006-03-01 Roland McGrath <roland@redhat.com>
2715 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2716 changes matching 3.0 spec.
2718 2006-01-13 Roland McGrath <roland@redhat.com>
2720 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2721 bash 3.1 whines when it's done in the trap 0 handler.
2723 2006-01-11 Roland McGrath <roland@redhat.com>
2725 * testfile26.bz2: New data file.
2726 * testfile27.bz2: New data file.
2727 * Makefile.am (EXTRA_DIST): Add them.
2728 * run-allregs.sh: Test s390 data.
2730 2005-12-14 Roland McGrath <roland@redhat.com>
2732 * run-native-test.sh: Redirect output from native test process.
2734 2005-12-13 Roland McGrath <roland@redhat.com>
2736 * allregs.c (main): Fail if we find no registers.
2738 * run-native-test.sh: New file.
2739 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2741 2005-12-10 Ulrich Drepper <drepper@redhat.com
2743 * run-readelf-test1.sh: New file.
2744 * Makefile.am (TESTS): Add run-readelf-test1.sh.
2745 (EXTRA_DIST): Likewise.
2747 2005-12-07 Roland McGrath <roland@redhat.com>
2749 * ecp.c (main): Use elf_end to clean up.
2751 2005-11-25 Roland McGrath <roland@redhat.com>
2753 * coverage.sh: Given -v argument, print names of unused files.
2755 * addrscopes.c (main): Use dwfl_end before return.
2756 * allregs.c (main): Likewise.
2757 * find-prologues.c (main): Likewise.
2758 * funcretval.c (main): Likewise.
2759 * funcscopes.c (main): Likewise.
2760 * line2addr.c (main): Likewise.
2762 * run-allregs.sh: New file.
2763 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2765 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2766 * Makefile.am (allregs_LDADD): Updated.
2768 * allregs.c: New file.
2769 * Makefile.am (noinst_PROGRAMS): Add it.
2770 (allregs_LDADD): New variable.
2772 2005-11-18 Roland McGrath <roland@redhat.com>
2774 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2775 * test-wrapper.sh: Likewise.
2777 2005-11-17 Roland McGrath <roland@redhat.com>
2779 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2780 environment for test-wrapper.sh.
2781 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2782 * test-subr.sh (installed_testrun): Likewise.
2783 Use explicit path in ${bindir}.
2785 * Makefile.am (installcheck-local): Fix typo in last change.
2787 2005-11-16 Roland McGrath <roland@redhat.com>
2789 * configure.ac: New file, for standalone build/dist of test suite.
2790 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2791 (asm_TESTS): New variable, broken out of ...
2792 (TESTS): ... here. Also remove msg_tst.
2793 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2794 (installed_TESTS_ENVIRONMENT): New variable.
2795 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2796 [!STANDALONE] (installcheck-local): Likewise.
2797 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2798 * addrscopes.c: Include <config.h>.
2799 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2800 * allfcts.c: Likewise.
2801 * asm-tst1.c: Likewise.
2802 * asm-tst2.c: Likewise.
2803 * asm-tst3.c: Likewise.
2804 * asm-tst4.c: Likewise.
2805 * asm-tst5.c: Likewise.
2806 * asm-tst6.c: Likewise.
2807 * asm-tst7.c: Likewise.
2808 * asm-tst8.c: Likewise.
2809 * asm-tst9.c: Likewise.
2810 * dwflmodtest.c: Likewise.
2811 * find-prologues.c: Likewise.
2812 * funcscopes.c: Likewise.
2813 * get-aranges.c: Likewise.
2814 * get-files.c: Likewise.
2815 * get-lines.c: Likewise.
2816 * get-pubnames.c: Likewise.
2817 * line2addr.c: Likewise.
2818 * newscn.c: Likewise.
2819 * show-abbrev.c: Likewise.
2820 * show-die-info.c: Likewise.
2821 * update3.c: Likewise.
2822 * update4.c: Likewise.
2823 * funcretval.c: Likewise.
2825 * dwflmodtest.c (print_instance): Don't use INTUSE.
2826 (options): Don't use N_ macro.
2828 2005-11-15 Roland McGrath <roland@redhat.com>
2830 * coverage.sh: Look in backends.
2831 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2832 (TESTS_ENVIRONMENT): Likewise.
2834 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2835 pass FUNCDIE direclty to dwfl_module_return_value_location.
2837 * Makefile.am (BUILD_RPATH): New variable.
2838 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2839 (tests_rpath): New variable.
2840 (installcheck-local): Pass it to test-wrapper.sh.
2841 * test-wrapper.sh: In "installed" format, take yes/no value
2842 for elfutils_tests_rpath, which export. When running a test
2843 binary for installcheck, exit 77.
2844 * test-subr.sh (installed_testrun): When running a test binary
2845 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2847 2005-11-14 Roland McGrath <roland@redhat.com>
2849 * test-subr.sh: New file.
2850 * test-wrapper.sh: New file.
2851 * Makefile.am (EXTRA_DIST): Add them.
2852 (AM_LDFLAGS): Variable removed.
2853 (TESTS_ENVIRONMENT): New variable.
2854 (installcheck-local): New target.
2855 * run-addrscopes.sh: Use test-subr.sh.
2856 * run-allfcts.sh: Likewise.
2857 * run-ecp-test.sh: Likewise.
2858 * run-ecp-test2.sh: Likewise.
2859 * run-elflint-self.sh: Likewise.
2860 * run-elflint-test.sh: Likewise.
2861 * run-find-prologues.sh: Likewise.
2862 * run-funcscopes.sh: Likewise.
2863 * run-get-aranges.sh: Likewise.
2864 * run-get-files.sh: Likewise.
2865 * run-get-lines.sh: Likewise.
2866 * run-get-pubnames.sh: Likewise.
2867 * run-line2addr.sh: Likewise.
2868 * run-ranlib-test.sh: Likewise.
2869 * run-ranlib-test2.sh: Likewise.
2870 * run-show-abbrev.sh: Likewise.
2871 * run-show-ciefde.sh: Likewise.
2872 * run-show-die-info.sh: Likewise.
2873 * run-strings-test.sh: Likewise.
2874 * run-strip-test.sh: Likewise.
2876 2005-11-13 Roland McGrath <roland@redhat.com>
2878 * funcretval.c: New file.
2879 * Makefile.am (noinst_PROGRAMS): Add it.
2880 (funcretval_LDADD): New variable.
2882 2005-11-09 Ulrich Drepper <drepper@redhat.com>
2884 * line2addr.c (handle_module): Add missing parameter to printf.
2886 2005-10-27 Roland McGrath <roland@redhat.com>
2888 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2889 * funcscopes.c (handle_function): Likewise.
2890 * dwflmodtest.c (print_inline, print_func): Likewise.
2891 * find-prologues.c (handle_function): Likewise.
2893 2005-10-27 Roland McGrath <roland@redhat.com>
2895 * run-find-prologues.sh: New file.
2896 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2898 * find-prologues.c (handle_function): Skip inlines.
2900 2005-10-25 Roland McGrath <roland@redhat.com>
2902 * find-prologues.c: New file.
2903 * Makefile.am (noinst_PROGRAMS): Add it.
2904 (find_prologues_LDADD): New variable.
2906 2005-09-02 Ulrich Drepper <drepper@redhat.com>
2908 * run-strings-test.sh: Remove strings.out in the end.
2910 2005-08-31 Ulrich Drepper <drepper@redhat.com>
2912 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
2913 * run-allfcts.sh: Likewise.
2914 * run-ecp-test.sh: Likewise.
2915 * run-ecp-test2.sh: Likewise.
2916 * run-elflint-test.sh: Likewise.
2917 * run-funcscopes.sh: Likewise.
2918 * run-get-aranges.sh: Likewise.
2919 * run-get-files.sh: Likewise.
2920 * run-get-lines.sh: Likewise.
2921 * run-get-pubnames.sh: Likewise.
2922 * run-line2addr.sh: Likewise.
2923 * run-ranlib-test2.sh: Likewise.
2924 * run-show-abbrev.sh: Likewise.
2925 * run-show-ciefde.sh: Likewise.
2926 * run-show-die-info.sh: Likewise.
2927 * run-strings-test.sh: Likewise.
2928 * run-strip-test.sh: Likewise.
2930 2005-08-30 Ulrich Drepper <drepper@redhat.com>
2932 * coverage.sh: Handle case where there is no .gcno file at all.
2934 2005-08-29 Ulrich Drepper <drepper@redhat.com>
2936 * Makefile.am (EXTRA_DIST): Add coverage.
2937 [GCOV]: Generate coverage summary after the tests ran
2938 * coverage.sh: New file.
2940 2005-08-28 Ulrich Drepper <drepper@redhat.com>
2942 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
2943 (CLEANFILES): Add *.gcno *.gcda *.gconv.
2945 2005-08-28 Ulrich Drepper <drepper@redhat.com>
2947 * run-strings-test.sh: New file.
2948 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2950 2005-08-27 Roland McGrath <roland@redhat.com>
2952 * addrscopes.c (handle_address): Apply bias to PC addresses.
2954 * run-funcscopes.sh: New file.
2955 * testfile25.bz2: New data file.
2956 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2958 2005-08-26 Roland McGrath <roland@redhat.com>
2960 * addrscopes.c (dwarf_diename_integrate): Removed.
2961 (print_vars, handle_address): Use plain dwarf_diename.
2963 2005-08-25 Roland McGrath <roland@redhat.com>
2965 * funcscopes.c: New file.
2966 * Makefile.am (noinst_PROGRAMS): Add it.
2967 (funcscopes_LDADD): New variable.
2969 * run-addrscopes.sh: Add another case.
2970 * testfile24.bz2: New data file.
2971 * Makefile.am (EXTRA_DIST): Add it.
2973 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
2974 pass it to dwarf_getscopes.
2975 (main): Pass it, true when '=' follows an address.
2977 2005-08-24 Roland McGrath <roland@redhat.com>
2979 * line2addr.c (print_address): Omit () for DSOs.
2981 2005-08-24 Ulrich Drepper <drepper@redhat.com>
2983 * run-line2addr.sh: Remove testfile23 in the end.
2985 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
2986 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
2988 2005-08-22 Roland McGrath <roland@redhat.com>
2990 * run-line2addr.sh: Add a case.
2991 * testfile23.bz2: New data file.
2992 * Makefile.am (EXTRA_DIST): Add it.
2994 2005-08-18 Roland McGrath <roland@redhat.com>
2996 * run-addrscopes.sh: New file.
2997 * testfile22.bz2: New data file.
2998 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3000 * addrscopes.c: New file.
3001 * Makefile.am (noinst_PROGRAMS): Add it.
3002 (addrscopes_LDADD): New variable.
3004 2005-08-15 Ulrich Drepper <drepper@redhat.com>
3006 * run-elflint-self.sh: Don't run test if the file doesn't exist.
3008 2005-08-15 Roland McGrath <roland@redhat.com>
3010 * dwflmodtest.c (print_instance, print_inline): New functions.
3011 (print_func): Call print_inline.
3012 (options, parse_opt): Grok -i/--inlines.
3014 2005-08-07 Roland McGrath <roland@redhat.com>
3016 * dwflmodtest.c: Print function details only if -f flag is given.
3018 2005-08-06 Ulrich Drepper <drepper@redhat.com>
3020 * run-elflint-self.sh: New file.
3021 * Makefile.am (TESTS): Add run-elflint-self.sh.
3022 (EXTRA_DIST): Likewise.
3024 * Makefile.am: Link with statis libs if BUILD_STATIC.
3025 (dwflmodtest_LDADD): Also link with -ldl.
3027 2005-08-02 Ulrich Drepper <drepper@redhat.com>
3029 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
3030 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
3032 * asm-tst2.c: Likewise.
3033 * asm-tst3.c: Likewise.
3034 * asm-tst4.c: Likewise.
3035 * asm-tst5.c: Likewise.
3036 * asm-tst6.c: Likewise.
3037 * asm-tst7.c: Likewise.
3038 * asm-tst8.c: Likewise.
3039 * asm-tst9.c: Likewise.
3041 * msg_tst.c: Add new error message.
3043 2005-07-28 Ulrich Drepper <drepper@redhat.com>
3045 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
3047 2005-06-01 Roland McGrath <roland@redhat.com>
3049 * line2addr.c: Rewritten using libdwfl.
3050 * run-line2addr.sh: Update test for changed arguments.
3051 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
3052 (libdwfl): New variable.
3053 (line2addr_LDADD): Use it.
3055 2005-07-28 Roland McGrath <roland@redhat.com>
3057 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
3058 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
3059 (dwflmodtest_LDADD): New variable.
3060 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
3062 2005-07-21 Ulrich Drepper <drepper@redhat.com>
3064 * testfile18.bz2: New file.
3065 * run-elflint-test.sh: New file.
3066 * Makefile.am (TESTS): Add run-elflint-test.sh.
3067 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
3069 2005-05-24 Ulrich Drepper <drepper@redhat.com>
3071 * get-files.c (main): Use correct format specifier.
3073 2005-05-21 Ulrich Drepper <drepper@redhat.com>
3075 * Makefile.am: Add -Wextra to CFLAGS.
3076 * get-files.c: Remove warning this produced.
3077 * get-pubnames.c: Likewise.
3078 * newfile.c: Likewise.
3079 * newscn.c: Likewise.
3080 * scnnames.c: Likewise.
3081 * showptable.c: Likewise.
3082 * test-nlist.c: Likewise.
3083 * update1.c: Likewise.
3084 * update2.c: Likewise.
3085 * update3.c: Likewise.
3086 * update4.c: Likewise.
3088 2005-05-08 Ulrich Drepper <drepper@redhat.com>
3090 * run-line2addr.sh: Remove testfile14 at the end.
3092 * run-strip-test.sh: Remove debuginfo test input file as well.
3094 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
3097 2005-05-03 Roland McGrath <roland@redhat.com>
3099 * run-strip-test.sh: Use variables for test file names.
3100 Optionally produce separate debug file and check it.
3101 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
3102 * run-strip-test3.sh: Likewise.
3103 * run-strip-test4.sh: New file.
3104 * run-strip-test5.sh: New file.
3105 * run-strip-test6.sh: New file.
3106 * testfile15.bz: New file.
3107 * testfile15.debug.bz: New file.
3108 * testfile16.bz: New file.
3109 * testfile16.debug.bz: New file.
3110 * testfile17.bz: New file.
3111 * testfile17.debug.bz: New file.
3112 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3114 2005-04-25 Ulrich Drepper <drepper@redhat.com>
3116 * run-line2addr.sh: Also use testfile14. Adjust for correct
3117 return of multiple matches.
3118 * testfile14.bz2: New file.
3119 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
3121 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
3123 2005-04-04 Roland McGrath <roland@redhat.com>
3125 * line2addr.c (main): Initialize LINES and NLINES before calling
3126 dwarf_getsrc_file, and free LINES afterwards.
3128 * allfcts.c (main): Use size_t for CUHL.
3130 2005-04-04 Ulrich Drepper <drepper@redhat.com>
3132 * line2addr.c: New file.
3133 * run-line2addr.sh: New file.
3134 * Makefile.am: Add rules to build, run, and distribute new code.
3136 2005-04-02 Ulrich Drepper <drepper@redhat.com>
3138 * allfcts.c: New file.
3139 * run-allfcts.sh: New file.
3140 * Makefile.am: Add rules to build, run, and distribute new code.
3142 2005-02-05 Ulrich Drepper <drepper@redhat.com>
3144 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
3145 programs with -lmudflap.
3147 2004-09-25 Ulrich Drepper <drepper@redhat.com>
3149 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
3150 * asm-tst5.c (main): Likewise.
3151 * asm-tst6.c (main): Likewise.
3153 2004-01-17 Ulrich Drepper <drepper@redhat.com>
3155 * Makefile.am: Support building with mudflap.
3157 2004-01-12 Ulrich Drepper <drepper@redhat.com>
3159 * get-aranges.c: Rewrite to use libdw.
3160 * Makefile.am: Reenable get-aranges test.
3162 2004-01-11 Ulrich Drepper <drepper@redhat.com>
3164 * get-lines.c: New file.
3165 * get-files.c: Adjust for libdw.
3166 * run-get-files.sh: Adjust expected result.
3167 * run-get-lines.sh: Likewise.
3168 * Makefile.am: Run get-lines test. Don't run get-aranges and
3169 get-ciefde test for now.
3171 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3172 change. Print attribute offset information.
3173 * run-show-abbrev.sh: Adjust expected output.
3175 2004-01-09 Ulrich Drepper <drepper@redhat.com>
3177 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3178 * show-die-info.c: Likewise.
3179 * run-show-die-info.sh: Adjust expected output.
3181 2003-08-13 Ulrich Drepper <drepper@redhat.com>
3183 * Makefile.in: Depend on libebl.a, not libebl.so.
3185 2003-08-11 Ulrich Drepper <drepper@redhat.com>
3187 * Moved to CVS archive.