1 2018-06-16 Yonghong Song <yhs@fb.com>
3 * run-reloc-bpf.sh: New test.
4 * testfile-bpf-reloc.o.bz2: New test file.
5 * testfile-bpf-reloc.expect.bz2: New test file.
6 * Makefile.am (TESTS): Add run-reloc-bpf.sh.
7 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and
8 testfile-bpf-reloc.expect.bz2.
10 2018-06-13 Mark Wielaard <mark@klomp.org>
12 * run-readelf-const-values.sh: New test.
13 * testfile-const-values.debug.bz2: New test file.
14 * run-readelf-zdebug-rel.sh: Adjust expected const_value.
15 * Makefile.am (TESTS): Add run-readelf-const-values.sh.
16 (EXTRA_DIST): Add run-readelf-const-values.sh and
17 testfile-const-values.debug.bz2.
19 2018-06-08 Mark Wielaard <mark@klomp.org>
21 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
22 target, do not assert.
24 2018-06-08 Mark Wielaard <mark@klomp.org>
26 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
27 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
29 2018-06-08 Mark Wielaard <mark@klomp.org>
31 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
32 actually is a cfi_debug.
34 2018-06-07 Mark Wielaard <mark@klomp.org>
36 * run-readelf-loc.sh: Fix expected output for startx_length.
38 2018-06-06 Mark Wielaard <mark@klomp.org>
40 * varlocs.c (print_base_type): Use error, not assert when the DIE
43 2018-06-02 Mark Wielaard <mark@klomp.org>
45 * test-subr.sh (self_test_files_exe): Drop shared libraries.
46 Keep addr2line, elfcmp, objdump and readelf.
48 2018-05-31 Mark Wielaard <mark@klomp.org>
50 * run-readelf-types.sh: New test.
51 * Makefile.am (TESTS): Add run-readelf-types.sh.
52 (EXTRA_DIST): Likewise.
54 2018-05-31 Mark Wielaard <mark@klomp.org>
56 * splitdwarf4-not-split4.dwo.bz2: New test file.
57 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
58 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
59 and testfile-splitdwarf4-not-split4.debug.
60 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
61 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
62 and testfile-splitdwarf4-not-split4.debug.bz2.
64 2018-05-31 Mark Wielaard <mark@klomp.org>
66 * test-subr.sh (self_test_files): Split into self_test_files_exe,
67 self_test_files_lib and self_test_obj.
68 (testrun_on_self_exe): New function.
69 (testrun_on_self_lib): Likewise.
70 * run-get-units-split.sh: Replace testrun_on_self with
71 testrun_on_self_exe and testrun_on_self_lib.
72 * run-unit-info.sh: Likewise.
74 2018-05-31 Mark Wielaard <mark@klomp.org>
76 * low_high_pc.c (handle_die): Handle NULL name. Print offset and
78 (main): Check if the cu DIE is a skeleton, then get and handle
80 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
81 testfile-splitdwarf-5. Run on all selftest files.
83 2018-05-31 Mark Wielaard <mark@klomp.org>
85 * get-units-invalid.c (main): Check dwarf_cuoffset and
88 2018-05-29 Mark Wielaard <mark@klomp.org>
90 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
91 type, gotten through dwarf_get_units.
92 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
93 split-dwarf-4, split-dwarf-5 and dwo files.
95 2018-05-29 Mark Wielaard <mark@klomp.org>
97 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
98 * run-varlocs.sh: Likewise.
100 2018-05-29 Mark Wielaard <mark@klomp.org>
102 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
104 2018-05-28 Mark Wielaard <mark@klomp.org>
106 * run-readelf-info-plus.sh: New test.
107 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
108 (EXTRA_DIST): Likewise.
110 2018-04-29 Mark Wielaard <mark@klomp.org>
112 * run-readelf-addr.sh: New test.
113 * Makefile.am (TESTS): Add run-readelf-addr.sh.
114 (EXTRA_DIST): Likewise.
116 2018-04-27 Mark Wielaard <mark@klomp.org>
118 * run-readelf-ranges.sh: Adjust expected output for address base.
119 * run-readelf-addr.sh: New test.
120 * Makefile.am (TESTS): Add run-readelf-addr.sh.
121 (EXTRA_DIST): Likewise.
123 2018-04-07 Mark Wielaard <mark@klomp.org>
125 * run-varlocs.sh: Run on testfileranges5.debug and
126 testsplitfileranges5.debug.
127 * varlocs.c (is_debug): New bool.
128 (print_expr): Don't fail on missing CFI for is_debug.
129 (main): Parse --debug, set is_debug.
131 2018-04-12 Mark Wielaard <mark@klomp.org>
133 * run-readelf-loc.sh: Add new testcases.
135 2018-04-06 Mark Wielaard <mark@klomp.org>
137 * testfileranges5.debug.bz2: New testfile.
138 * testfilesplitranges5.debug.bz2: Likewise.
139 * testfile-ranges-hello5.dwo.bz2: Likewise.
140 * testfile-ranges-world5.dwo.bz2: Likewise.
141 * run-dwarf-ranges.sh: Run on testfileranges5.debug.
142 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
143 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
144 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
145 testfile-ranges-world5.dwo.bz2.
147 2018-04-11 Mark Wielaard <mark@klomp.org>
149 * run-readelf-ranges.sh: New test.
150 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
151 (EXTRA_DIST): Likewise.
153 2018-05-21 Mark Wielaard <mark@klomp.org>
155 * addrx_constx-4.dwo.bz2: New testfile.
156 * addrx_constx-5.dwo.bz2: Likewise.
157 * testfile-addrx_constx-4.bz2: Likewise.
158 * testfile-addrx_constx-5.bz2: Likewise
159 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
160 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
161 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
162 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
163 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
164 (main): Handle split DWARF.
165 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
167 2018-05-20 Mark Wielaard <mark@klomp.org>
169 * unit-info.c: New test.
170 * run-unit-info.sh: New test runner.
171 * Makefile.am (check_PROGRAMS): Add unit-info.
172 (TESTS): Add run-unit-info.sh
173 (EXTRA_INFO): Likewise.
174 (unit_info_LDADD): New variable.
176 2018-05-24 Mark Wielaard <mark@klomp.org>
178 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
179 * run-all-dwarf-ranges.sh: Correct expected output.
181 2018-05-18 Mark Wielaard <mark@klomp.org>
183 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
184 (TESTS): Add run-all-dwarf-ranges.sh.
185 (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
186 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
187 and testfile-ranges-world.dwo.bz2.
188 (all_dwarf_ranges_LDADD): New variable.
189 * all-dwarf-ranges.c: New test program.
190 * run-all-dwarf-ranges: New test runner.
191 * testfile-ranges-hello.dwo.bz2: New test file.
192 * testfile-ranges-world.dwo.bz2: Likewise.
193 * testfilesplitranges4.debug.bz2: Likewise.
195 2018-05-18 Mark Wielaard <mark@klomp.org>
197 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
198 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
199 testfile-hello5.dwo, testfile-world5.dwo.
201 2018-05-17 Mark Wielaard <mark@klomp.org>
203 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
204 (TESTS): Add run-attr-integrate-skel.
205 (EXTRA_DIST): Likewise.
206 (attr_integrate_skel_LDADD): New variable.
207 * attr-integrate-skel.c: New test.
208 * run-attr-integrate-skel.sh: New test runner.
210 2018-05-16 Mark Wielaard <mark@klomp.org>
212 * Makefile.am (check_PROGRAMS): Add get-units-split.
213 (TESTS): Add run-get-units-split.sh.
214 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
215 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
216 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
217 testfile-world4.dwo.bz2.
218 (get_units_split_LDADD): New variable.
219 * get-units-split.c: New test.
220 * run-get-units-split.sh: New test runner.
221 * testfile-dwarf-45.source: Extend with build instructions for new
223 * testfile-hello4.dwo.bz2: New test file.
224 * testfile-hello5.dwo.bz2: Likewise.
225 * testfile-splitdwarf-4.bz2: Likewise.
226 * testfile-splitdwarf-5.bz2: Likewise.
227 * testfile-world5.dwo.bz2 and: Likewise.
228 * testfile-world4.dwo.bz2: Likewise.
230 2018-05-09 Mark Wielaard <mark@klomp.org>
232 * run-readelf-zdebug.sh: Adjust test output for new header layout.
233 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
234 and testfile-dwarf-5.
236 2018-05-11 Mark Wielaard <mark@klomp.org>
238 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
239 (TESTS): Add run-get-units-invalid.sh.
240 (EXTRA_DIST): Likewise.
241 (get_units_invalid_LDADD): New variable.
242 * get-units-invalid.c: New test program.
243 * run-get-units-invalid.sh: New test program runner.
245 2018-05-05 Mark Wielaard <mark@klomp.org>
247 * testfile-dwarf-45.source: New file.
248 * testfile-dwarf-4.bz2: New test file.
249 * testfile-dwarf-5.bz2: Likewise.
250 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
252 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
253 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
255 2018-04-19 Andreas Schwab <schwab@suse.de>
257 * hello_riscv64.ko.bz2: New file.
258 * run-strip-reloc.sh: Test it.
259 * Makefile.am (EXTRA_DIST): Add it.
261 2018-04-16 Mark Wielaard <mark@klomp.org>
263 * testfile-ppc64-min-instr.bz2: New testfile.
264 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
265 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
267 2018-04-11 Mark Wielaard <mark@klomp.org>
269 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
271 2018-04-03 Mark Wielaard <mark@klomp.org>
273 * testfileranges4.debug.bz2: New testfile.
274 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
275 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
277 2018-03-06 Mark Wielaard <mark@klomp.org>
279 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
280 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
281 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
284 2018-02-16 Mark Wielaard <mark@klomp.org>
286 * backtrace-subr.sh (check_native_core): Check if there is any core,
289 2018-02-15 Mark Wielaard <mark@klomp.org>
291 * backtrace-child.c: Include signal.h after sys/ptrace.h.
292 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
295 2018-01-25 Mark Wielaard <mark@klomp.org>
297 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
298 (TESTS): Add run-dwarf-die-addr-die.sh.
299 (EXTRA_DIST): Likewise.
300 (dwarf_die_addr_die_LDADD): New variable.
301 * dwarf-die-addr-die.c: New file.
302 * run-dwarf-die-addr-die.sh: New test.
304 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
306 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
308 2018-01-22 Mark Wielaard <mark@klomp.org>
310 * allfcts.c (setup_alt): Print warning when alt file couldn't be
312 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
313 where it cannot be found by allfcts itself (but it can by libdw).
315 2018-01-25 Mark Wielaard <mark@klomp.org>
317 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
320 2018-01-14 Petr Machata <pmachata@gmail.com>
322 * testfile-sizes4.o.bz2: New test file.
323 * testfile-sizes4.s: New test source.
324 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
326 2017-12-23 Mark Wielaard <mark@klomp.org>
328 * backtrace-subr.sh (check_native_core): Use a lock file and try
329 to extract core using coredumpctl.
330 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
332 2017-12-11 Dima Kogan <dima@secretsauce.net>
334 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
335 * run-peel-type.sh: Likewise.
336 * testfile-sizes3.o.bz2: Likewise.
338 2017-12-07 Mark Wielaard <mark@klomp.org>
340 * run-readelf-variant.sh: New test.
341 * testfile-ada-variant.bz2: New testfile.
342 * Makefile.am (TESTS): Add run-readelf-variant.sh.
343 (EXTRA_DISTS): Add run-readelf-variant.sh and
344 testfile-ada-variant.bz2.
346 2017-11-29 Mark Wielaard <mark@klomp.org>
348 * run-readelf-loc.sh: Adjust expected loc list output.
349 * run-readelf-zdebug-rel.sh: Likewise.
350 * run-readelf-zdebug.sh: Likewise.
352 2017-11-29 Mark Wielaard <mark@klomp.org>
354 * run-readelf-loc.sh: Adjust expected range list output.
355 * run-readelf-zdebug.sh: Likewise.
357 2017-11-29 Mark Wielaard <mark@klomp.org>
359 * run-readelf-dwz-multi.sh: Add expected file names.
360 * run-readelf-zdebug-rel.sh: Likewise.
362 2017-11-29 Mark Wielaard <mark@klomp.org>
364 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
365 * run-readelf-zdebug-rel.sh: Likewise.
367 2017-11-29 Mark Wielaard <mark@klomp.org>
369 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
370 * run-readelf-loc.sh: Likewise.
371 * run-readelf-zdebug-rel.sh: Likewise.
372 * run-readelf-zdebug.sh: Likewise.
374 2017-11-16 Mark Wielaard <mark@klomp.org>
376 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
378 2017-11-10 Mark Wielaard <mark@klomp.org>
380 * run-exprlocs-self.sh: New test.
381 * run-varlocs-self.sh: Likewise.
382 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
384 (EXTRA_DIST): Likewise.
385 * varlocs.c (cfi_debug_bias): New global variable.
386 (is_ET_REL): Likewise.
387 (print_expr): Don't crash and burn when CFI cannot be found for an
388 ET_REL file for DW_OP_call_frame_cfa.
389 (handle_die): If there is no entry_pc pick the lowest pc start range
391 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
392 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
394 2017-11-03 Mark Wielaard <mark@klomp.org>
396 * run-exprlocs.sh: New test.
397 * testfile-stridex.bz2: New testfile.
398 * Makefile.am (TESTS): Add run-exprlocs.sh.
399 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
400 * varlocs.c (dwarf_tag_string): New function.
401 (dwarf_attr_string): Likewise.
402 (dwarf_form_string): Likewise.
403 (print_expr): Fix typo in error message.r
404 Handle DW_OP_GNU_variable_value.
405 (attr_arg): New struct.
406 (handle_attr): New function.
407 (handle_die): Likewise.
408 (main): Handle --exprlocs argument. Call handle_die.
410 2017-10-16 Mark Wielaard <mark@klomp.org>
412 * md5-sha1-test.c: Removed.
413 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
415 (md5_sha1_test_LDADD): Removed.
417 2017-10-04 Mark Wielaard <mark@klomp.org>
419 * msg_tst.c: Handle ELF_E_INVALID_ELF.
421 2017-09-10 Mark Wielaard <mark@klomp.org>
423 * run-ar.sh: New test.
424 * Makefile.am (TESTS): Add run-ar.sh.
425 (EXTRA_DIST): Likewise.
427 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
429 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
431 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
433 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
435 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
437 * run-strip-nothing.sh: Add -s.
439 2017-07-26 Mark Wielaard <mark@klomp.org>
441 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
443 2016-10-27 Mark Wielaard <mjw@redhat.com>
445 * dwarf_default_lower_bound.c: New test.
446 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
448 (dwarf_default_lower_bound_LDADD): New variable.
450 2017-07-21 Mark Wielaard <mark@klomp.org>
452 * get-lines.c (main): Add dwarf_line_file test.
454 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
456 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
457 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
459 2017-07-20 Mark Wielaard <mark@klomp.org>
461 * run-strip-g.sh: New test.
462 * Makefile.am (TESTS): Add run-strip-g.sh.
463 (EXTRA_DIST): Likewise.
465 2017-07-18 Mark Wielaard <mark@klomp.org>
467 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
469 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
471 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
473 2017-07-14 Mark Wielaard <mark@klomp.org>
475 * run-strip-remove-keep.sh: New test.
476 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
477 (EXTRA_DIST): Likewise.
479 2017-06-07 Mark Wielaard <mark@klomp.org>
481 * run-strip-nothing.sh: New test.
482 * Makefile.am (TESTS): Add run-strip-nothing.sh.
483 (EXTRA_DIST): Likewise.
485 2017-06-06 Mark Wielaard <mark@klomp.org>
487 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
489 2017-05-30 Mark Wielaard <mark@klomp.org>
491 * run-backtrace-fp-core-ppc64le.sh: New test.
492 * backtrace.ppc64le.fp.core.bz2: New test file.
493 * backtrace.ppc64le.fp.exec.bz2: New testfile.
494 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
495 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
496 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
497 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
499 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
500 Mark Wielaard <mark@klomp.org>
502 * Makefile.am: Add test for unwinding with frame pointers on aarch64
503 * backtrace.aarch64.fp.core.bz2: New file
504 * backtrace.aarch64.fp.exec.bz2: New file
505 * run-backtrace-fp-core-aarch64.sh: New file
506 * backtrace-subr.sh (check_err): Allow Invalid register.
507 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
509 2017-04-06 Mark Wielaard <mark@klomp.org>
511 * run-backtrace-fp-core-i386.sh: New test.
512 * backtrace.i386.fp.core.bz2: New test file.
513 * backtrace.i386.fp.exec.bz2: New testfile.
514 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
515 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
516 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
518 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
520 * Makefile.am: Add test for unwinding with frame pointers on x86_64
521 * backtrace.x86_64.fp.core.bz2: New file
522 * backtrace.x86_64.fp.exec.bz2: New file
523 * run-backtrace-fp-core-x86_64.sh: New file
525 2017-04-25 Mark Wielaard <mark@klomp.org>
527 * backtrace-subr.sh (check_backtracegen): New function.
528 (check_core): Add check_backtracegen call.
529 * backtrace.ppc.exec.bz2: Regenerated.
530 * backtrace.ppc.core.bz2: Likewise.
532 2017-04-24 Mark Wielaard <mark@klomp.org>
534 * backtrace.c: Remove option to allow unknown symbols in the trace.
535 * backtrace-substr.sh: Remove option to allow unknown symbols
536 to check_core() and allow failed symbol lookups in check_err().
538 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
540 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
542 * run-readelf-zdebug-rel.sh: Likewise.
544 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
546 * backtrace-child.c: Include sys/ptrace.h only on linux.
547 * backtrace-dwarf.c: Likewise.
549 2017-04-05 Mark Wielaard <mark@klomp.org>
551 * test-subr.sh (testrun_on_self_compressed): New function.
552 * run-elflint-self.sh: Call testrun_on_self_compressed.
553 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
555 2017-03-30 Mark Wielaard <mark@klomp.org>
557 * peel_type.c: New file.
558 * run-peel-type.sh: New test.
559 * Makefile.am (check_PROGRAMS): Add peel_type.c.
560 (TESTS): Add run-peel-type.sh.
561 (EXTRA_DIST): Likewise.
562 (peel_type_LDADD): New variable.
564 2017-03-27 Mark Wielaard <mark@klomp.org>
566 * fillfile.c: New file.
567 * Makefile.am (check_PROGRAMS): Add fillfile.
569 (fillfile_LDADD): New variable.
571 2017-02-15 Mark Wielaard <mark@klomp.org>
573 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
574 * run-readelf-A.sh: Add testfileppc64.o test.
576 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
578 * elfstrmerge.c: Include system.h.
580 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
582 * backtrace.c: Add an option to allow unknown symbols in the trace
583 * backtrace-substr.sh: Add an option to allow unknown symbols
584 to check_core() and allow failed symbol lookups in check_err()
586 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
588 * backtrace-data.c: Don't assert that symbols are found.
589 The unwinder is allowed to ask for invalid addresses. We deny
590 such requests, rather than make the test fail.
592 2016-11-17 Mark Wielaard <mjw@redhat.com>
594 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
596 2016-11-02 Mark Wielaard <mjw@redhat.com>
598 * backtrace-data.c (thread_callback): Add explicit break after error.
599 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
601 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
603 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
604 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
605 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
606 (run-unstrip-test4.sh): New file.
607 (testfile-strtab.bz2): New file.
608 (testfile-strtab.stripped.bz2): New file.
609 (testfile-strtab.debuginfo.bz2): New file.
611 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
613 * arextract.c: Remove sys/param.h include, add system.h include.
615 2016-08-30 Mark Wielaard <mjw@redhat.com>
617 * Makefile.am (asm_tst?_LDADD): Add libdw.
619 2016-08-25 Mark Wielaard <mjw@redhat.com>
621 * backtrace-child.c: Disable and add documentation about why we disable
622 RAISE_JMP_PATCHING even on x86_64.
623 * backtrace.c (is_x86_64_native): Rename to...
624 (use_raise_jmp_patching): ... this.
625 (callback_verify): Use use_raise_jmp_patching instead of
627 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
629 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
631 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
632 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
633 use_raise_jmp_patching instead of is_x86_64_native.
635 2016-08-24 Mark Wielaard <mjw@redhat.com>
637 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
639 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
641 * testfilesparc64attrs.o.bz2: New file.
642 * run-readelf-A.sh: Check attributes in a sparc object.
644 2016-08-06 Mark Wielaard <mjw@redhat.com>
646 * run-strip-reloc.sh: Add explicit compressed and uncompressed
649 2016-08-10 Richard Henderson <rth@redhat.com>
651 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
654 2016-07-08 Mark Wielaard <mjw@redhat.com>
656 * update3_LDADD: Use libdw instead of libebl.
657 * update4_LDADD: Likewise.
658 * alldts_LDADD: Likewise.
659 * elfstrmerge_LDADD: Likewise.
660 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
661 * elfstrmerge.c (release): Likewise.
663 * update3.c (main): Likewise.
664 * update4.c (main): Likewise.
666 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
668 * Makefile.am (TESTS): Add run-strip-test11.sh.
669 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
670 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
671 (run-strip-test11.sh): New file.
672 (hello_m68k.ko.bz2): New file.
673 (testfile-m68k-core.bz2): New file.
674 (testfile-m68k.bz2): New file.
675 (testfile-m68k-s.bz2): New file.
676 * run-allregs.sh: Add test for testfile-m68k-core.
677 * run-readelf-mixed-corenote.sh: Likewise.
678 * run-strip-reloc.sh: Add test for hello_m68k.ko.
680 2016-07-06 Mark Wielaard <mjw@redhat.com>
682 * Makefile.am (check_PROGRAMS): Add vendorelf.
684 (vendorelf_LDADD): New variable.
685 * vendorelf.c: New test.
686 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
688 2016-06-24 Mark Wielaard <mjw@redhat.com>
690 * Makefile.am (check_PROGRAMS): Add emptyfile.
692 (emptyfile_LDADD): New variable.
693 * emptyfile.c: New test.
695 2016-06-28 Richard Henderson <rth@redhat.com>
697 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
698 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
699 testfile-bpf-dis1.o.bz2
700 (run-disasm-bpf.sh): New file.
701 (testfile-bpf-dis1.expect.bz2): New file.
702 (testfile-bpf-dis1.o.bz2): New file.
704 2016-02-09 Mark Wielaard <mjw@redhat.com>
706 * testfile-s390x-hash-both.bz2: New testfile.
707 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
708 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
710 2016-02-04 Mark Wielaard <mjw@redhat.com>
712 * run-strip-nobitsalign.sh: New test.
713 * testfile-nobitsalign.bz2: New testfile.
714 * testfile-nobitsalign.strip.bz2: Likewise.
715 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
716 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
717 and testfile-nobitsalign.strip.bz2.
718 * run-strip-test.sh: Add --gnu to elflint calls.
720 2016-01-13 Mark Wielaard <mjw@redhat.com>
722 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
724 2016-01-13 Mark Wielaard <mjw@redhat.com>
726 * dwfl-proc-attach.c: Guard linux specific header.
728 2016-01-13 Mark Wielaard <mjw@redhat.com>
730 * system-elf-libelf-test.c: New test.
731 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
732 (check_PROGRAMS): Likewise.
733 (system_elf_libelf_test_CPPFLAGS): New variable.
734 (system_elf_libelf_test_LDADD): Likewise.
736 2016-01-08 Mark Wielaard <mjw@redhat.com>
738 * elfputzdata.c (main): Fix parentheses in strncmp test.
740 2016-01-08 Mark Wielaard <mjw@redhat.com>
742 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
744 2016-01-08 Mark Wielaard <mjw@redhat.com>
746 * Makefile.am (TESTS): Always unconditionally add
747 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
749 2015-12-16 Mark Wielaard <mjw@redhat.com>
751 * run-compress-test.sh: New test.
752 * Makefile.am (TESTS): Add run-compress-test.sh.
753 (EXTRA_DISTS): Likewise.
755 2015-11-26 Mark Wielaard <mjw@redhat.com>
757 * zstrptr.c: New file.
758 * run-zstrptr.sh: New test.
759 * elfputzdata.c (main): (re)compress .shstrtab.
760 * run-elfputzdata.sh: Expect .shstrtab compression.
761 * Makefile.am (check_PROGRAMS): Add zstrptr.
762 (TESTS): Add run-zstrptr.sh.
763 (EXTRA_DIST): Likewise.
764 (zstrptr_LDADD): New variable.
766 2015-10-20 Mark Wielaard <mjw@redhat.com>
768 * run-readelf-zx.sh: New test.
769 * run-readelf-zp.sh: Likewise.
770 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
771 (EXTRA_DIST): Likewise.
773 2015-10-21 Mark Wielaard <mjw@redhat.com>
775 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
776 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
777 (EXTRA_DIST: Likewise.
778 (elfgetzdata_LDADD): New variable.
779 (elfputzdata_LDADD): Likewise.
780 * elfgetzdata.c: New file.
781 * elfputzdata.c: Likewise.
782 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
783 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
784 ELF_E_DECOMPRESS_ERROR.
785 * run-elfgetzdata.sh: New test.
786 * run-elfputzdata.sh: Likewise.
788 2015-10-28 Mark Wielaard <mjw@redhat.com>
790 * run-readelf-z.sh: New test.
791 * Makefile.am (TESTS): Add run-readelf-z.sh.
792 (EXTRA_DIST): Likewise.
794 2015-10-28 Mark Wielaard <mjw@redhat.com>
796 * elfgetchdr.c: New file.
797 * run-elfgetchdr.sh: New test.
798 * testfile-zgabi32.bz2: New testfile.
799 * testfile-zgabi32be.bz2: Likewise.
800 * testfile-zgabi64.bz2: Likewise.
801 * testfile-zgabi64be.bz2: Likewise.
802 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
803 (TESTS): Add run-elfgetchdr.sh.
804 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
805 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
806 (welfgetchdr_LDADD): New variable.
807 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
808 and ELF_E_INVALID_SECTION_FLAGS,
811 2015-10-28 Mark Wielaard <mjw@redhat.com>
813 * dwelfgnucompressed.c: New file.
814 * run-dwelfgnucompressed.sh: New test.
815 * testfile-zgnu32.bz2: New testfile.
816 * testfile-zgnu64.bz2: Likewise.
817 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
818 (TESTS): Add run-dwelfgnucompressed.sh.
819 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
820 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
821 (dwelfgnucompressed_LDADD): New variable.
823 2015-12-31 Mark Wielaard <mjw@redhat.com>
825 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
826 * run-elfstrmerge-test.sh: New test.
827 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
828 (EXTRA_DIST): Likewise.
830 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
832 * run-backtrace-core-sparc.sh: New file.
833 * backtrace.sparc.core.bz2: New file.
834 * backtrace.sparc.exec.bz2: New file.
835 * Makefile.am (EXTRA_DIST): ... and added all here.
836 (TESTS): Added run-backtrace-core-sparc.sh.
838 2015-12-02 Mark Wielaard <mjw@redhat.com>
840 * Makefile.am (valgrind_cmd): Use --leak-check=full.
841 * run-backtrace-demangle.sh: Disable valgrind.
842 * run-stack-demangled-test.sh: Likewise.
843 * run-stack-d-test.sh: Likewise.
844 * run-stack-i-test.sh: Likewise.
846 2015-12-01 Mark Wielaard <mjw@redhat.com>
848 * test-flag-nobits.c (main): Call elf_end.
849 * rerequest_tag.c (main): Call dwarf_end.
850 * funcscopes.c (handle_function): Free scopes.
851 * dwarf-getstring.c (main): Call dwarf_end.
852 * allregs.c (main): Free state.info.
853 * alldts.c (main): Free dyn.
854 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
856 * addrscopes.c (handle_address): Free scopes.
858 2015-10-16 Mark Wielaard <mjw@redhat.com>
860 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
861 [BUILD_STATIC] (libelf): Likewise.
863 2015-10-16 Mark Wielaard <mjw@redhat.com>
865 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
867 2015-10-09 Josh Stone <jistone@redhat.com>
869 * lfs-symbols: New list of LFS-related symbols from lintian.
870 * testfile-nolfs.bz2: New test binary for sanity checking.
871 * run-lfs-symbols.sh: New test.
872 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
873 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
875 * alldts.c (main): Replace open64 with open.
876 * dwarf-getstring.c (main): Likewise.
877 * arls.c: Include config.h.
879 * rdwrmmap.c: Likewise.
880 * test-elf_cntl_gelf_getshdr.c: Likewise.
881 * test-flag-nobits.c: Include config.h.
882 (main): Replace open64 with open.
884 2015-10-09 Mark Wielaard <mjw@redhat.com>
886 * elfshphehdr.c (check): Rename argument from check to statement.
887 (check_elf): Likewise.
889 2015-10-05 Josh Stone <jistone@redhat.com>
891 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
893 2015-10-02 Mark Wielaard <mjw@redhat.com>
895 * elfstrmerge.c: New check program.
896 * run-strip-strmerge.sh: New test.
897 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
898 (EXTRA_DIST): Add run-strip-strmerge.sh
899 (elfstrmerge_LDADD): New variable.
901 2015-09-29 Mark Wielaard <mjw@redhat.com>
903 * elfshphehdr.c: New test.
904 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
906 (elfshphehdr_LDADD): New variable.
908 2015-09-08 Mark Wielaard <mjw@redhat.com>
910 * dwfl-proc-attach.c: New test.
911 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
913 (dwfl_proc_attach_LDADD): New variable.
914 (dwfl_proc_attach_LDFLAGS): Likewise.
916 2015-09-04 Chih-Hung Hsieh <chh@google.com>
918 * varlocs.c (print_base_type): Initialize enctype.
920 2015-09-04 Chih-Hung Hsieh <chh@google.com>
922 * md5-sha1-test.c (md5_expected): Removed.
923 (sha1_expected): Likewise.
925 2015-09-04 Chih-Hung Hsieh <chh@google.com>
927 * asm-tst1.c (main): Replace %Z length modifier with %z.
928 * asm-tst2.c (main): Likewise.
929 * asm-tst3.c (main): Likewise.
930 * asm-tst4.c (main): Likewise.
931 * asm-tst5.c (main): Likewise.
932 * asm-tst6.c (main): Likewise.
933 * asm-tst7.c (main): Likewise.
934 * asm-tst8.c (main): Likewise.
935 * asm-tst9.c (main): Likewise.
936 * sectiondump.c (print_bytes): Likewise.
938 2015-08-14 Mark Wielaard <mjw@redhat.com>
940 * run-addr2line-alt-debugpath.sh: New test.
941 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
942 (EXTRA_DIST): Likewise.
944 2015-07-29 Mark Wielaard <mjw@redhat.com>
946 * run-unstrip-test3.sh: New test.
947 * testfile-info-link.bz2: New file.
948 * testfile-info-link.debuginfo.bz2: Likewise.
949 * testfile-info-link.stripped.bz2: Likewise.
950 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
951 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
952 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
954 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
956 * tests/run-deleted.sh: Skip when detecting a not implemented
957 dwfl_linux_proc_attach.
959 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
961 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
964 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
966 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
968 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
970 * tests/backtrace-data.c: Reduce scope of some includes to match their
972 * tests/backtrace.c: Likewise.
973 * tests/deleted.c: Likewise.
975 2015-06-16 Mark Wielaard <mjw@redhat.com>
977 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
978 for non-ET_REL files.
980 2015-05-30 Mark Wielaard <mjw@redhat.com>
982 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
983 generated before skipping.
984 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
986 * run-backtrace-demangle.sh: Likewise.
987 * run-stack-demangled-test.sh: Likewise.
988 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
990 * run-backtrace-native-core-biarch.sh: Likewise.
991 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
993 2015-05-20 Mark Wielaard <mjw@redhat.com>
995 * run-addr2line-i-test.sh: Add pretty test.
996 * run-addr2line-test.sh: Likewise.
998 2015-05-20 Mark Wielaard <mjw@redhat.com>
1000 * run-addr2line-i-demangle-test.sh: New test.
1001 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
1002 (EXTRA_DIST): Likewise.
1004 2015-05-20 Mark Wielaard <mjw@redhat.com>
1006 * run-addr2line-test.sh: Add -a test variants.
1007 * run-addr2line-i-test.sh: Likewise.
1009 2015-05-20 Mark Wielaard <mjw@redhat.com>
1011 * run-addrname-test.sh: Make sure all input addresses are hex.
1013 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
1015 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
1016 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
1018 * backtrace-dwarf.c (main): Likewise.
1019 * backtrace.c (prepare_thread, exec_dump): Likewise.
1021 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
1023 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
1024 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
1025 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
1026 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
1027 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
1029 2015-05-01 Mark Wielaard <mjw@redhat.com>
1031 * run-stack-d-test.sh: Use --raw and mangled output.
1032 * run-stack-i-test.sh: Likewise.
1033 * run-stack-demangled-test.sh: New test.
1034 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
1037 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1039 * Makefile.am (TESTS): Add run-strip-test10.sh.
1040 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
1041 Add testfile-x32-debug.bz2.
1042 * run-strip-test10.sh: New file.
1043 * testfile-x32-d.bz2: Likewise.
1044 * testfile-x32-debug.bz2: Likewise.
1046 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1048 * Makefile.am (TESTS): Add run-strip-test9.sh.
1049 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
1050 * run-strip-test9.sh: New file.
1051 * testfile-x32-s.bz2: Likewise.
1053 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1055 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
1056 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
1057 Add backtrace.x32.exec.bz2.
1058 * backtrace.x32.core.bz2 : New file.
1059 * backtrace.x32.exec.bz2: Likewise.
1060 * run-backtrace-core-x32.sh: Likewise.
1062 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1064 * run-addrcfi.sh: Add a test for testfile-x32.
1065 * testfile-x32.bz2: New file.
1066 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
1068 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1070 * run-allregs.sh: Add a test for testfile-x32-core.
1072 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1074 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
1075 * testfile-x32-core.bz2: New file.
1076 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
1078 2015-03-18 Petr Machata <pmachata@redhat.com>
1080 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
1082 * allregs.c (dwarf_encoding_string): Likewise.
1083 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
1084 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
1086 2015-03-18 Petr Machata <pmachata@redhat.com>
1088 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
1089 debug-ranges-no-lowpc.o.bz2.
1091 2015-03-13 Mark Wielaard <mjw@redhat.com>
1093 * backtrace-dwarf.c: Add explicit includes.
1094 (cleanup_13_abort): Remove unused static declaration.
1095 (thread_callback): Add explicit return.
1097 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
1099 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
1100 instead of PTRACE_POKEUSER.
1101 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
1104 2015-02-18 Mark Wielaard <mjw@redhat.com>
1106 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
1108 2015-02-11 Josh Stone <jistone@redhat.com>
1110 * backtrace.c (exec_dump): Initialize jmp.
1112 2015-02-11 Petr Machata <pmachata@redhat.com>
1114 * run-dwarf-ranges.sh: New test.
1115 * dwarf-ranges.c: New file.
1116 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
1118 2015-01-21 Mark Wielaard <mjw@redhat.com>
1120 * Makefile.am (check_PROGRAMS): Add elfstrtab.
1122 (elfstrtab_LDADD): New variable.
1123 * elfstrtab.c: New test.
1125 2015-01-20 Mark Wielaard <mjw@redhat.com>
1127 * Makefile.am (check_PROGRAMS): Add newdata.
1129 (newdata_LDADD): new variable.
1130 * newdata.c: New test.
1132 2015-01-20 Mark Wielaard <mjw@redhat.com>
1134 * strptr.c: New file.
1135 * run-strptr.sh: New test.
1136 * Makefile.am (check_PROGRAMS): Add strptr.
1137 (TESTS): Add run-strptr.sh.
1138 (EXTRA_DIST): Likewise.
1139 (strptr_LDADD): New variable.
1141 2015-01-15 Mark Wielaard <mjw@redhat.com>
1143 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
1144 * vdsosyms.c (main): Use getpid () instead of getppid ().
1146 2014-12-27 Mark Wielaard <mjw@redhat.com>
1148 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
1149 * funcscopes.c (handle_function): Likewise.
1150 * run-addrscopes.sh: Adjust last address in scope.
1151 * run-funcscopes.sh: Likewise.
1153 2015-01-07 Mark Wielaard <mjw@redhat.com>
1155 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
1157 2015-01-14 Mark Wielaard <mjw@redhat.com>
1159 * testfile-debug-types.bz2: New testfile.
1160 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
1161 * typeiter2.c (main): Print both name and offset of found form DIE.
1162 * run-typeiter.s: Adjust output and add testfile-debug-types.
1164 2014-12-26 Mark Wielaard <mjw@redhat.com>
1166 * run-test-archive64.sh: Add nm test.
1168 2014-12-19 Mark Wielaard <mjw@redhat.com>
1170 * run-deleted.sh: Don't check libfunc on ppc64.
1172 2014-12-19 Mark Wielaard <mjw@redhat.com>
1174 * vdsosyms.c (vdso_seen): Removed.
1175 (vdso_syms): New global.
1176 (module_callback): Set and check vdso_syms.
1177 (main): Return value depends on vdso_syms.
1179 2014-12-19 Mark Wielaard <mjw@redhat.com>
1181 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
1183 * run-deleted.sh: Call check_native_unsupported.
1185 2014-12-18 Mark Wielaard <mjw@redhat.com>
1187 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
1189 2014-12-12 Mark Wielaard <mjw@redhat.com>
1191 * Makefile.am (deleted_lib_so_CFLAGS): Add
1192 -fasynchronous-unwind-tables.
1194 2014-12-11 Josh Stone <jistone@redhat.com>
1196 * run-addr2line-i-lex-test.sh: New test.
1197 * testfile-lex-inlines.bz2: New testfile.
1198 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
1199 testfile-lex-inlines.bz2.
1200 (TESTS): Add run-addr2line-i-lex-test.sh.
1202 2014-12-10 Josh Stone <jistone@redhat.com>
1204 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
1205 preferred over the plain die name.
1207 2014-12-02 Petr Machata <pmachata@redhat.com>
1209 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
1210 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
1211 (main): Initialize off to DWARF_GETMACROS_START when an extra
1212 command line argument is passed.
1213 * testfile-macros-0xff.bz2: New test case.
1214 * testfile-macros-0xff.s: New file (source for the above).
1215 * run-dwarf-getmacros.sh: Add two tests.
1217 2014-11-27 Mark Wielaard <mjw@redhat.com>
1219 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
1221 2014-11-21 Mark Wielaard <mjw@redhat.com>
1223 * run-readelf-A.sh: New test.
1224 * testfileppc32attrs.o.bz2: New test file.
1225 * Makefile.am (TESTS): Add run-readelf-A.sh.
1226 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
1228 2014-11-10 Mark Wielaard <mjw@redhat.com>
1230 * vdsosyms.c: New test.
1231 * Makefile.am (check_PROGRAMS): Add vdsosyms.
1233 (vdsosyms_LDADD): New variable.
1235 2014-09-10 Petr Machata <pmachata@redhat.com>
1237 * dwarf-getmacros.c: Update to use the new macro iteration
1239 * run-dwarf-getmacros.sh: Adjust, add a test that uses
1242 2014-10-06 Mark Wielaard <mjw@redhat.com>
1244 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
1245 * testfile-sizes3.o.bz2: New test file.
1246 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
1248 2014-10-02 Mark Wielaard <mjw@redhat.com>
1250 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
1252 2014-10-02 Mark Wielaard <mjw@redhat.com>
1254 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1255 (TESTS): Add run-aggregate-size.sh.
1256 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1257 and testfile-sizes2.o.bz2.
1258 (aggregate_size_LDADD): New variable.
1259 * aggregate_size.c: New file.
1260 * run-aggregate-size.sh: New test.
1261 * testfile-sizes1.o.bz2: New test file.
1262 * testfile-sizes2.o.bz2: Likewise.
1264 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1266 Support NT_FILE for locating files.
1267 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
1268 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1269 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1270 * linkmap-cut-lib.so.bz2: New file.
1271 * linkmap-cut.bz2: New file.
1272 * linkmap-cut.core.bz2: New file.
1273 * run-linkmap-cut.sh: New file.
1274 * run-unstrip-n.sh: Update its expected output.
1276 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1278 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1279 (TESTS, EXTRA_DIST): Add run-deleted.sh.
1280 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1281 * deleted-lib.c: New file.
1282 * deleted.c: New file.
1283 * run-deleted.sh: New file.
1285 2014-06-15 Mark Wielaard <mjw@redhat.com>
1287 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
1289 2014-06-13 Mark Wielaard <mjw@redhat.com>
1291 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1294 2014-06-13 Mark Wielaard <mjw@redhat.com>
1296 * backtrace-subr.sh (check_native_unsupported): New function.
1297 (check_native): Call it.
1298 (check_native_core): Likewise.
1299 * run-backtrace-dwarf.sh: Likewise.
1301 2014-06-11 Mark Wielaard <mjw@redhat.com>
1303 * backtrace.c (main): Check that Dwfl was attached by calling
1304 dwfl_pid and printing the error when it is not.
1306 2014-05-18 Mark Wielaard <mjw@redhat.com>
1308 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1310 * testfile-backtrace-demangle.bz2: Regenerate.
1311 * testfile-backtrace-demangle.core.bz2: Likewise.
1313 2014-05-02 Mark Wielaard <mjw@redhat.com>
1315 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1316 run-allfcts-multi.sh are now added unconditionally.
1318 2014-05-01 Mark Wielaard <mjw@redhat.com>
1320 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1323 2014-04-30 Mark Wielaard <mjw@redhat.com>
1325 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1326 * Makefile.am (check_PROGRAMS): Add buildid.
1327 (TESTS): Add run-buildid.sh.
1328 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1329 (buildid_LDADD): New variable.
1331 2014-04-24 Florian Weimer <fweimer@redhat.com>
1333 * allfcts.c (setup_alt): New function.
1334 (main): Call it. Implementation additional error checking and
1337 2014-04-24 Florian Weimer <fweimer@redhat.com>
1339 * debugaltlink.c, run-debugaltlink.sh: New files.
1340 * Makefile.am (check_PROGRAMS): Add debugaltlink.
1341 (TESTS): Add run-debugaltlink.sh.
1342 (debugaltlink_LDADD): New variable.
1344 2014-04-11 Mark Wielaard <mjw@redhat.com>
1346 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1347 (check_PROGRAMS): Add debuglink.
1348 (TESTS): Add run-debuglink.sh
1349 (EXTRA_DIST): Likewise.
1350 (debuglink_LDADD): New.
1351 * debuglink.c: New file.
1352 * run-debuglink.sh: Likewise.
1354 2014-03-23 Mark Wielaard <mjw@redhat.com>
1356 * run-nm-self.sh: Use test = not == for string comparisons.
1358 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
1360 * backtrace.c: Make Linux only.
1361 * backtrace-child.c: Make Linux only.
1362 * backtrace-data.c: Make Linux only.
1363 * backtrace-dwarf.c: Make Linux only.
1364 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1366 2014-03-14 Mark Wielaard <mjw@redhat.com>
1368 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1370 * configure.ac: Remove MUDFLAP conditional.
1372 2014-04-09 Mark Wielaard <mjw@redhat.com>
1374 * run-readelf-zdebug.sh: New test.
1375 * testfile-debug.bz2: New testfile.
1376 * testfile-zdebug.bz2: New testfile.
1377 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1378 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1379 testfile-zdebug.bz2.
1381 2014-04-10 Mark Wielaard <mjw@redhat.com>
1383 * testfile_i686_core.bz2: New test file.
1384 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1385 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1387 2014-04-09 Mark Wielaard <mjw@redhat.com>
1389 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1390 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1391 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1392 * run-backtrace-core-aarch64.sh: New test.
1394 2014-03-11 Josh Stone <jistone@redhat.com>
1396 * testfilebaxmin.bz2: New testfile.
1397 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1398 * run-readelf-s.sh: Test testfilebaxmin.
1399 * run-dwflsyms.sh: Likewise.
1401 2014-01-26 Mark Wielaard <mjw@redhat.com>
1403 * backtrace-subr.sh (check_unsupported): Special case arm*.
1405 2014-01-25 Mark Wielaard <mjw@redhat.com>
1407 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1408 location expression: call_frame_cfa stack_value.
1410 2014-01-22 Mark Wielaard <mjw@redhat.com>
1412 * Makefile.am (line2addr_no_Wformat): Removed.
1414 2014-01-21 Mark Wielaard <mjw@redhat.com>
1416 * Makefile.am (TESTS): Add run-stack-i-test.sh.
1417 (EXTRA_DIST): Likewise.
1418 * run-stack-i-test.sh: New test.
1420 2014-01-20 Mark Wielaard <mjw@redhat.com>
1422 * Makefile.am (TESTS): Add run-stack-d-test.sh.
1423 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1424 testfiledwarfinlines.core.bz2.
1425 * run-stack-d-test.sh: New test.
1426 * testfiledwarfinlines.bz2: New test file.
1427 * testfiledwarfinlines.core.bz2: Likewise.
1429 2014-01-16 Mark Wielaard <mjw@redhat.com>
1431 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1432 on one ET_REL, one ET_EXEC and one ET_DYN file.
1433 * test-subr.sh (self_test_files): Add two ET_REL files, only add
1434 two libebl ET_DYN backend files.
1436 2014-01-16 Mark Wielaard <mjw@redhat.com>
1438 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1440 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1442 Fix false FAILs on testsuite with ulimit -c unlimited.
1443 * backtrace-child.c (sigusr2): Call pthread_exit.
1444 (main): Return, do not call abort.
1446 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1448 Fix corruption of non-C++ symbols by the demangler.
1449 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1450 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1451 (EXTRA_DIST): Add run-backtrace-demangle.sh,
1452 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1453 testfile-backtrace-demangle.core.bz2.
1454 * backtrace-demangle.cc: New file.
1455 * run-backtrace-demangle.sh: New file.
1456 * testfile-backtrace-demangle.bz2: New file.
1457 * testfile-backtrace-demangle.cc: New file.
1458 * testfile-backtrace-demangle.core.bz2: New file.
1460 2014-01-07 Matthias Klose <doko@ubuntu.com>
1462 * backtrace-subr.sh (check_native_core): Check to see if core file
1463 was created without ".PID" extension, if so mv core to core.PID.
1464 Skip test if no core file was created or could be found.
1466 2014-01-04 Mark Wielaard <mjw@redhat.com>
1468 * backtrace-data.c (main): Don't assert if raise returns.
1469 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1470 assume_ptrace_attached true.
1471 (ptrace_detach_stopped): Removed function.
1472 (main): Don't call ptrace_detach_stopped.
1473 * backtrace.c (ptrace_detach_stopped): Removed function.
1474 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1476 (exec_dump): Don't call ptrace_detach_stopped.
1478 2014-01-04 Mark Wielaard <mjw@redhat.com>
1480 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1481 if we cannot adjust core ulimit.
1483 2014-01-04 Mark Wielaard <mjw@redhat.com>
1485 * cleanup-13.c (force_unwind_stop): Removed.
1486 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1487 don't call _Unwind_ForcedUnwind.
1489 2014-01-03 Mark Wielaard <mjw@redhat.com>
1491 * run-addrcfi.sh: Add case for EM_AARCH64.
1492 * testfileaarch64.bz2: New testfile.
1493 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1495 2013-12-30 Mark Wielaard <mjw@redhat.com>
1497 * backtrace-dwarf.c (report_pid): Explicitly call
1498 dwfl_linux_proc_attach and check for errors.
1499 * backtrace.c (report_pid): Likewise.
1501 2013-12-21 Mark Wielaard <mjw@redhat.com>
1503 * backtrace.c (callback_verify): Only assert that case 5 is the last
1504 instruction of backtracegen on x86_64 native.
1506 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1507 Mark Wielaard <mjw@redhat.com>
1509 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1510 and testfilebaz*ppc64*.bz2 files.
1511 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
1512 error on dwfl_module_getsymtab error.
1513 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1514 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1515 Also print section of actual value if different from sym.
1516 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1517 Test addr2line -x by showing different sections for address and
1518 found name in testfile66.
1519 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1520 testfilebaz*ppc64): New tests.
1521 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1522 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1523 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1524 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1525 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1526 testfilebaztabppc64.bz2: New test files.
1528 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1530 unwinder: s390 and s390x
1531 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1532 run-backtrace-core-s390.sh.
1533 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1534 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1535 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1536 * backtrace.s390.core.bz2: New file.
1537 * backtrace.s390.exec.bz2: New file.
1538 * backtrace.s390x.core.bz2: New file.
1539 * backtrace.s390x.exec.bz2: New file.
1540 * run-backtrace-core-s390.sh: New file.
1541 * run-backtrace-core-s390x.sh: New file.
1543 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1545 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1548 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1551 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1552 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1553 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1554 * backtrace.ppc.core.bz2: New file.
1555 * backtrace.ppc.exec.bz2: New file.
1556 * run-backtrace-core-ppc.sh: New file.
1558 2013-12-10 Mark Wielaard <mjw@redhat.com>
1560 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1562 2013-12-10 Mark Wielaard <mjw@redhat.com>
1564 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1565 * backtrace-subr.sh (check_native_core): Disable valgrind while
1567 * run-backtrace-data.sh: Disable valgrind.
1568 * run-backtrace-dwarf.sh: Likewise.
1570 2013-12-09 Mark Wielaard <mjw@redhat.com>
1572 * varlocs.c (print_expr): Update comment to explain empty location
1573 associated with DW_OP_GNU_implicit_pointer.
1575 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1577 Fix test FAIL with -O2.
1578 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1580 2013-12-05 Mark Wielaard <mjw@redhat.com>
1582 * backtrace-data.c (main): If unsupported also print to stderr.
1583 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1585 2013-12-04 Mark Wielaard <mjw@redhat.com>
1587 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1589 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1591 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1592 backtrace-data and backtrace-dwarf.
1593 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1594 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1595 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1596 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1597 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1598 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1599 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1600 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1601 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1602 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1603 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1604 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1605 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1606 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1608 * backtrace-child.c: New file.
1609 * backtrace-data.c: New file.
1610 * backtrace-dwarf.c: New file.
1611 * backtrace-subr.sh: New file.
1612 * backtrace.c: New file.
1613 * cleanup-13.c: New file.
1614 * backtrace.i386.core.bz2: New file.
1615 * backtrace.i386.exec.bz2: New file.
1616 * backtrace.x86_64.core.bz2: New file.
1617 * backtrace.x86_64.exec.bz2: New file.
1618 * run-backtrace-core-i386.sh: New file.
1619 * run-backtrace-core-x86_64.sh: New file.
1620 * run-backtrace-native-biarch.sh: New file.
1621 * run-backtrace-native-core-biarch.sh: New file.
1622 * run-backtrace-native-core.sh: New file.
1623 * run-backtrace-native.sh: New file.
1624 * run-backtrace-data.sh: New file.
1625 * run-backtrace-dwarf.sh: New file.
1627 2013-11-27 Mark Wielaard <mjw@redhat.com>
1629 * dwflsyms.c (gelf_bind_order): New function.
1630 (elf_section_name): Likewise.
1631 (addr_in_section): Likewise.
1632 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1633 Refine assert using gelf_bind_order. Print elf_section_name. Check
1634 bias with addr_in_section.
1635 * run-dwflsyms.sh: Add section names to expected output.
1637 2013-11-26 Mark Wielaard <mjw@redhat.com>
1639 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1641 2013-11-25 Petr Machata <pmachata@redhat.com>
1643 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1644 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1645 * Makefile.am (EXTRA_DIST): Add these.
1646 (TESTS): Add run-funcretval.sh.
1647 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1648 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1649 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1650 * run-funcretval.sh: New file.
1652 2013-11-18 Josh Stone <jistone@redhat.com>
1654 * testfilebazdbg_plr.bz2: New testfile.
1655 * testfilebazmin_plr.bz2: Likewise.
1656 * Makefile.am (EXTRA_DIST): Add the above files.
1657 * run-dwflsyms.sh: Add prelink -r tests.
1659 2013-11-15 Mark Wielaard <mjw@redhat.com>
1661 * testfilebazmdb.bz2: Regenerated.
1662 * testfilebazmin.bz2: Likewise.
1663 * testfilebazdbg_pl.bz2: New testfile.
1664 * testfilebazmin_pl.bz2: Likewise.
1665 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1666 testfilebazmin_pl.bz2.
1667 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1668 print relative address of function symbols.
1669 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1671 2013-11-01 Michael Forney <mforney@mforney.org>
1673 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1674 * run-arsymtest.sh: Use NM.
1676 2013-11-05 Mark Wielaard <mjw@redhat.com>
1678 * allfcts.c (main): Correct dwarf_getfuncs return value check.
1680 2013-10-10 Mark Wielaard <mjw@redhat.com>
1681 Josh Stone <jistone@redhat.com>
1683 * run-allfcts-multi.sh: New test.
1684 * test-offset-loop.bz2: New testfile.
1685 * test-offset-loop.alt.bz2: New testfile.
1686 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1687 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1688 test-offset-loop.alt.bz2.
1690 2013-10-15 Mark Wielaard <mjw@redhat.com>
1692 * run-unstrip-M.sh: New test.
1693 * Makefile.am (TESTS): Add run-unstrip-M.sh.
1694 (EXTRA_DIST): Likewise.
1696 2013-10-06 Mark Wielaard <mjw@redhat.com>
1698 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1699 location expression.
1701 2013-10-03 Josh Stone <jistone@redhat.com>
1703 * typeiter2.c: New file, reversing typeiter.c.
1704 * run-typeiter.sh: Also run typeiter2.
1705 * Makefile.am (check_PROGRAMS): Add typeiter2.
1706 (typeiter2_LDADD): New variable.
1708 2013-09-26 Petr Machata <pmachata@redhat.com>
1710 * run-readelf-mixed-corenote.sh: Update output of testfile71
1711 dump--readelf can newly decode the NT_FILE note.
1713 2013-09-26 Petr Machata <pmachata@redhat.com>
1715 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
1716 * run-readelf-mixed-corenote.sh: New test for this file.
1717 * testfile71.bz2: New file.
1719 2013-09-20 Mark Wielaard <mjw@redhat.com>
1721 * allfcts.c (cb): Return DWARF_CB_ABORT.
1722 (main): Iterate over all offsets returned by dwarf_getfuncs.
1723 * run-allfcts.sh: Add nested_funcs and class_func testcases.
1724 * testfile_nested_funcs.bz2: New test file.
1725 * testfile_class_func.bz2: Likewise.
1726 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
1727 testfile_nested_funcs.bz2.
1729 2013-08-30 Mark Wielaard <mjw@redhat.com>
1731 * Makefile.am (check_PROGRAMS): Add varlocs.
1732 (TESTS): Add run-varlocs.sh.
1733 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
1734 testfile_const_type.bz2, testfile_implicit_pointer.c,
1735 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1736 testfile_entry_value.c, testfile_entry_value.bz2,
1737 testfile_implicit_value.c and testfile_implicit_value.bz2.
1738 (varlocs_LDADD): New.
1739 * run-varlocs: New test.
1740 * testfile_const_type.c: New test source file.
1741 * testfile_entry_value.c: Likewise.
1742 * testfile_implicit_pointer.c: Likewise.
1743 * testfile_implicit_value.c: Likewise.
1744 * testfile_parameter_ref.c: Likewise.
1745 * testfile_const_type.bz2: New test file.
1746 * testfile_entry_value.bz2: Likewise.
1747 * testfile_implicit_pointer.bz2: Likewise.
1748 * testfile_implicit_value.bz2: Likewise.
1749 * testfile_parameter_ref.bz2: Likewise.
1750 * varlocs.c: New test source.
1752 2013-08-29 Mark Wielaard <mjw@redhat.com>
1754 * run-addrcfi.sh: Add case for EM_ARM.
1755 * testfilearm.bz2: New testfile.
1756 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1758 2013-08-28 Mark Wielaard <mjw@redhat.com>
1760 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1762 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1763 * testfiles390.bz2: New testfile.
1764 * testfiles390x.bz2: Likewise.
1765 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1768 2013-08-28 Mark Wielaard <mjw@redhat.com>
1770 * addrcfi.c (handle_cfi): Use printf not error.
1771 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1772 * testfileppc32.bz2: New testfile.
1773 * testfileppc64.bz2: Likewise.
1774 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1777 2013-08-27 Mark Wielaard <mjw@redhat.com>
1779 * run-addrcfi.sh: New test.
1780 * Makefile.am (TESTS): Add run-addrcfi.sh.
1781 (EXTRA_DIST): Likewise.
1782 * addrcfi.c (op_name): New function.
1783 (print_detail): Call and print op_name. Check ops, not result
1784 to check if this is "same value" or "undefined".
1785 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1787 2013-08-13 Mark Wielaard <mjw@redhat.com>
1789 * run-addr2line-i-test.sh: New test.
1790 * testfile-inlines.bz2: New testfile.
1791 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1792 testfile-inlines.bz2.
1793 (TESTS): Add run-addr2line-i-test.sh.
1795 2013-08-12 Mark Wielaard <mjw@redhat.com>
1797 * run-addr2line-test.sh: New test.
1798 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1801 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1803 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1806 2013-07-02 Mark Wielaard <mjw@redhat.com>
1808 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1809 testfilenolines.bz2.
1811 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1813 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1814 test-core.core.bz2 and test-core.exec.bz2.
1815 * run-addrname-test.sh: New test for these files.
1816 * run-unstrip-n.sh: Update expected output. New test for these files.
1817 * test-core-lib.so.bz2: New file.
1818 * test-core.core.bz2: New file.
1819 * test-core.exec.bz2: New file.
1821 2013-05-03 Mark Wielaard <mjw@redhat.com>
1823 * testfilenolines.bz2: New test file.
1824 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1825 * run-get-lines.sh: Run testrun_compare on testfilenolines.
1827 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1829 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1831 2013-04-29 Mark Wielaard <mjw@redhat.com>
1833 * test-subr.sh: Don't use pushd, just cd into test-dir.
1834 (exit_cleanup): Don't use popd, just cd .. to get out.
1836 2013-04-27 Mark Wielaard <mjw@redhat.com>
1838 * test-subr.sh (exit_cleanup): New function.
1839 (trap): Use exit_cleanup as argument.
1840 * run-native-test.sh (native_exit): New function.
1841 (trap): For EXIT (0) use native_exit as argument.
1843 2013-04-27 Mark Wielaard <mjw@redhat.com>
1845 * update1.c (main): Use unique tempfile name and unlink file.
1846 * update2.c (main): Likewise.
1847 * update3.c (main): Likewise.
1848 * update4.c (main): Use unique tempfile name.
1850 2013-04-27 Mark Wielaard <mjw@redhat.com>
1852 * run-alldts.sh: Add testfile-alldts to tempfiles.
1853 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1854 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1855 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1856 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1858 2013-04-26 Mark Wielaard <mjw@redhat.com>
1860 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1862 (TESTS_ENVIRONMENT): Likewise.
1863 (installed_LOG_COMPILER): New variable defining wrapper.
1864 (LOG_COMPILER): Likewise.
1865 * run-*.sh: Fixup location of input and output files.
1866 * test-subr.sh: Create test_dir, pushd to execute test in.
1867 (trap): Remove test_dir.
1868 (testfiles): Use abs_srcdir.
1869 (installed_testrun): Match on abs_builddir or abs_top_builddir.
1870 (self_test_files): Adjust path.
1872 2013-04-24 Mark Wielaard <mjw@redhat.com>
1874 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1876 2013-03-25 Mark Wielaard <mjw@redhat.com>
1878 * run-readelf-aranges.sh: New test.
1879 * testfilefoobarbaz.bz2: New test file.
1880 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1881 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1883 2013-03-25 Mark Wielaard <mjw@redhat.com>
1885 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1887 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1889 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1890 (TESTS): Add run-dwfl-report-elf-align.sh.
1891 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1892 testfile-dwfl-report-elf-align-shlib.so.bz2 .
1893 (dwfl_report_elf_align_LDADD): New.
1894 * dwfl-report-elf-align.c: New file.
1895 * run-dwfl-report-elf-align.sh: New file.
1896 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1898 2013-03-12 Mark Wielaard <mjw@redhat.com>
1900 * run-dwfllines.sh: New test.
1901 * dwfllines.c: New test program.
1902 * Makefile.am (TESTS): Add run-dwfllines.sh.
1903 (EXTRA_DIST): Likewise.
1904 (dwfllines_LDADD): New variable.
1906 2013-02-22 Mark Wielaard <mjw@redhat.com>
1908 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1909 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1911 2013-02-15 Mark Wielaard <mjw@redhat.com>
1913 * testfile-dwzstr.bz2: New testfile.
1914 * testfile-dwzstr.multi.bz2: Likewise.
1915 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1916 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1917 testfile-dwzstr.multi.bz2.
1919 2013-01-30 Mark Wielaard <mjw@redhat.com>
1921 * testfileloc.bz2: New testfile.
1922 * run-readelf-loc.sh: New test.
1923 * Makefile.am (TESTS): Add run-readelf-loc.sh.
1924 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1926 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1928 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1929 and s390x core notes.
1930 * testfile67.bz2: New file.
1931 * testfile68.bz2: New file.
1932 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1934 2013-01-23 Mark Wielaard <mjw@redhat.com>
1936 * testfilebasmin.bz2: New testfile.
1937 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1938 * run-readelf-s.sh: Test testfilebasmin.
1939 * run-dwflsyms.sh: Likewise.
1941 2013-01-16 Mark Wielaard <mjw@redhat.com>
1943 * Makefile.am (check_PROGRAMS): Add dwflsyms.
1944 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1945 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1946 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1947 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1948 (dwflsyms_LDADD): New variable.
1950 2013-01-07 Roland McGrath <roland@hack.frob.com>
1952 * run-prelink-addr-test.sh: Use ln -snf.
1954 2012-12-03 Mark Wielaard <mjw@redhat.com>
1956 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1958 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1960 * run-addrname-test.sh: New test for PIE relocation.
1961 * testfile70.core.bz2: New file.
1962 * testfile70.exec.bz2: New file.
1963 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1964 testfile70.exec.bz2 .
1966 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1968 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1969 testfile69.core.bz2 and testfile69.so.bz2 .
1971 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1973 * run-addrname-test.sh: New test for DSO with build-id bias.
1974 * testfile69.core.bz2: New file.
1975 * testfile69.so.bz2: New file.
1977 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1979 * run-addrname-test.sh: New test for core vDSO bias.
1980 * testfile65.bz2: New file.
1982 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1984 * run-addrname-test.sh: New test for symbol preferences.
1985 * testfile64.bz2: New file.
1987 2012-10-01 Mark Wielaard <mjw@redhat.com>
1989 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1990 * test-wrapper.sh: Export VALGRIND_CMD if available.
1991 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1992 (installed_testrun): Likewise.
1994 2012-09-24 Petr Machata <pmachata@redhat.com>
1996 * testfile63.bz2: New testfile.
1997 * run-readelf-mixed-corenote.sh: New test.
1998 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1999 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
2001 2012-09-24 Petr Machata <pmachata@redhat.com>
2003 * testfile62.bz2: New testfile.
2004 * run-readelf-vmcoreinfo.sh: New test.
2005 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
2006 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
2008 2012-09-18 Petr Machata <pmachata@redhat.com>
2010 * testfile61.bz2: New testfile.
2011 * run-allregs.sh: Run reg_test testfile61.
2012 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
2014 2012-08-24 Mark Wielaard <mjw@redhat.com>
2016 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
2018 2012-08-22 Jeff Kenton <jkenton@tilera.com>
2020 * testfile60.bz2: New testfile.
2021 * run-allregs.sh: Run reg_test testfile60.
2023 2012-08-24 Mark Wielaard <mjw@redhat.com>
2025 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
2028 2012-08-16 Mark Wielaard <mjw@redhat.com>
2030 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
2032 * show-die-info.c (tagnames): Removed.
2034 (dwarf_tag_string): New function using known-dwarf macros.
2035 (dwarf_attr_string): Likewise.
2036 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
2037 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
2039 2012-06-27 Mark Wielaard <mjw@redhat.com>
2041 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
2042 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
2043 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
2044 testfile_multi_main.bz2.
2045 * run-readelf-dwz-multi.sh: New test.
2046 * libtestfile_multi_shared.so.bz2: New testfile.
2047 * testfile_multi.dwz.bz2: New testifle.
2048 * testfile_multi_main.bz2: New testifle.
2050 2012-08-01 Petr Machata <pmachata@redhat.com>
2052 * run-test-archive64.sh: New test.
2053 * testarchive64.a.bz2: New testfile.
2054 * Makefile.am (TESTS): Add run-test-archive64.sh.
2055 (EXTRA_DIST): Likewise.
2057 2012-08-01 Mark Wielaard <mjw@redhat.com>
2059 * run-nm-self.sh: New test.
2060 * run-readelf-self.sh: Likewise.
2061 * test-subr.sh (testrun_on_self_quiet): New function.
2062 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
2063 (EXTRA_DIST): Likewise.
2065 2012-08-01 Mark Wielaard <mjw@redhat.com>
2067 * test-subr.sh (self_test_files): New list of files.
2068 (testrun_on_self): New function.
2069 * run-elflint-self.sh: Use testrun_on_self.
2071 2012-07-19 Mark Wielaard <mjw@redhat.com>
2073 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
2074 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
2075 (EXTRA_DIST): Likewise.
2076 (test_elf_cntl_gelf_getshdr_LDADD): New.
2077 test-elf_cntl_gelf_getshdr.c: New test program.
2078 run-elf_cntl_gelf_getshdr.sh: New test script.
2080 2012-07-19 Mark Wielaard <mjw@redhat.com>
2082 * run-elflint-self.sh: runtests on ../backends/*so files.
2084 2012-07-19 Mark Wielaard <mjw@redhat.com>
2086 * run-unstrip-n.sh: test_cleanup.
2087 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
2089 2012-07-11 Mark Wielaard <mjw@redhat.com>
2091 * run-readelf-macro.sh: New test.
2092 * testfilemacro.bz2: New testfile.
2093 * Makefile.am (TESTS): Add run-readelf-macro.sh.
2094 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2096 2012-06-27 Mark Wielaard <mjw@redhat.com>
2098 * run-readelf-gdb-index.sh: New test.
2099 * testfilegdbindex5.bz2: New testfile.
2100 * testfilegdbindex7.bz2: Likewise.
2101 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
2102 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
2103 testfilegdbindex7.bz2.
2105 2012-07-17 Mark Wielaard <mjw@redhat.com>
2107 * testcore-rtlib-ppc.bz2: New testfile.
2108 * run-unstrip-n.sh: Check new ppc core testfile.
2110 2012-06-26 Mike Frysinger <vapier@gentoo.org>
2112 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
2114 2012-06-26 Mark Wielaard <mjw@redhat.com>
2116 * run-macro-test.sh: New test.
2117 * testfile-macinfo.bz2: New testfile.
2118 * testfile-macros.bz2: Likewise.
2120 2012-05-07 Mark Wielaard <mjw@redhat.com>
2122 * low_high_pc.c: Use proper inttypes in printf formats.
2124 2012-05-11 Mark Wielaard <mjw@redhat.com>
2126 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
2128 2012-05-07 Mark Wielaard <mjw@redhat.com>
2130 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
2132 2012-04-27 Mark Wielaard <mjw@redhat.com>
2134 * Makefile.am (TESTS): Add run-low_high_pc.sh
2135 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
2136 (noinst_PROGRAMS): Add low_high_pc.
2137 (low_high_pc_LDADD): New variable.
2138 * low_high_pc.c: New test.
2140 2012-04-26 Mark Wielaard <mjw@redhat.com>
2142 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
2143 * run-show-ciefde.sh: Removed old libdwarf test.
2144 * show-ciefde.c: Likewise.
2146 2012-04-02 Mark Wielaard <mjw@redhat.com>
2148 * Makefile.am (TESTS): Add run-unstrip-n.sh.
2149 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
2150 * run-unstrip-n.sh: New test.
2151 * testcore-rtlib.bz2: New testfile.
2153 2012-04-02 Mark Wielaard <mjw@redhat.com>
2155 * Makefile.am (TESTS): Add run-readelf-d.sh.
2156 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
2157 * run-readelf-d.sh: New test.
2158 * run-elflint-test.sh: Check new testfile.
2160 2012-03-21 Tom Tromey <tromey@redhat.com>
2162 * typeiter.c: New file.
2163 * run-typeiter.sh: New file.
2164 * testfile59.bz2: New file.
2165 * Makefile.am (noinst_PROGRAMS): Add typeiter.
2166 (TESTS): Add run-typeiter.sh.
2167 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
2168 (typeiter_LDADD): New variable.
2170 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
2172 * run-alldts.sh: testrun ./alldts.
2174 2012-02-21 Roland McGrath <roland@hack.frob.com>
2176 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
2177 * test-subr.sh (installed_testrun): Likewise.
2179 2012-01-18 Roland McGrath <roland@hack.frob.com>
2181 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
2182 it will have been inherited correctly from the test harness.
2183 * asm-tst5.c (main): Likewise.
2184 * asm-tst6.c (main): Likewise.
2185 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
2187 2011-07-09 Roland McGrath <roland@hack.frob.com>
2189 * sha1-tst.c: File removed.
2190 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
2191 (sha1_tst_LDADD): Variable removed.
2193 * md5-sha1-test.c: New file.
2194 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
2195 (md5_sha1_test_LDADD): New variable.
2197 2011-05-30 Mark Wielaard <mjw@redhat.com>
2199 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
2200 run-rerequest_tag.sh
2202 2011-05-24 Mark Wielaard <mjw@redhat.com>
2204 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
2205 * run-strip-reloc.sh: Add hello_s390.ko testcase.
2206 * hello_s390.ko.bz2: New test file.
2208 2011-05-23 Mark Wielaard <mjw@redhat.com>
2210 * Makefile.am (TESTS): Add run-strip-reloc.sh.
2211 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
2212 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
2213 * run-strip-reloc.sh: New test.
2214 * hello_i386.ko.bz2: New test file.
2215 * hello_x86_64.ko.bz2: Likewise.
2216 * hello_ppc64.ko.bz2: Likewise.
2218 2011-05-18 Mark Wielaard <mjw@redhat.com>
2220 * run-strip-groups.sh: New test.
2221 * testfile58.bz2: New test file.
2222 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
2223 (TESTS): Add run-strip-groups.sh.
2224 (EXTRA_DIST): Likewise.
2226 2011-03-28 Marek Polacek <mpolacek@redhat.com>
2228 * alldts.c: New file.
2229 * run-alldts.sh: Use it.
2230 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2231 (alldts_LDADD): New variable.
2233 2011-03-02 Marek Polacek <mpolacek@redhat.com>
2235 * dwarf-getstring.c: New test.
2236 * run-dwarf-getstring.sh: And its wrapper.
2237 * Makefile.am (EXTRA_DIST): Add and update all.
2239 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2241 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
2242 * run-readelf-twofiles.sh: New file.
2244 2011-02-25 Mark Wielaard <mjw@redhat.com>
2246 * Makefile.am (BUILD_RPATH): Be consistent in naming.
2248 2011-02-02 Josh Stone <jistone@redhat.com>
2250 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
2251 * testfile55-64.bz2, testfile55-64.debug.bz2,
2252 testfile55-64.prelink.bz2, testfile55-32.bz2,
2253 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2254 * Makefile.am (EXTRA_DIST): Add and update all.
2256 2011-01-12 Roland McGrath <roland@redhat.com>
2258 * run-prelink-addr-test.sh: Make symlinks to find .debug files
2259 corresponding to .noshdrs files.
2261 2011-01-11 Josh Stone <jistone@redhat.com>
2263 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2264 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2265 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2266 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2267 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2268 * Makefile.am (EXTRA_DIST): Add and update all.
2270 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2271 * testfile53.bz2, testfile53.debug.bz2,
2272 testfile53.prelink.bz2: Deleted, so...
2273 * testfile53-64.bz2, testfile53-64.debug.bz2,
2274 testfile53-64.prelink.bz2: Recreated with 64-bit names.
2275 * testfile53-32.bz2, testfile53-32.debug.bz2,
2276 testfile53-32.prelink.bz2: New in 32-bit.
2277 * Makefile.am (EXTRA_DIST): Add and update all.
2279 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2280 * testfile52.so.bz2, testfile52.so.debug.bz2,
2281 testfile52.prelink.so.bz2: Deleted, so...
2282 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2283 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2284 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2285 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
2286 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
2287 * Makefile.am (EXTRA_DIST): Add and update all.
2289 2011-01-10 Josh Stone <jistone@redhat.com>
2291 * run-prelink-addr-test.sh: New test for prelinked addrs.
2292 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2293 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2294 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2295 * testfile53.bz2, testfile53.debug.bz2: New data files.
2296 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2297 * Makefile.am (EXTRA_DIST): Add them.
2299 2010-06-04 Roland McGrath <roland@redhat.com>
2301 * run-unstrip-test.sh: Also test modifying the file in place.
2303 2010-04-22 Roland McGrath <roland@redhat.com>
2305 * addrcfi.c (handle_cfi): Fix function name in error message.
2306 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2308 2010-04-14 Roland McGrath <roland@redhat.com>
2310 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2312 2010-04-10 Ulrich Drepper <drepper@redhat.com>
2314 * msg_tst.c: Adjust expected error message.
2316 2010-04-01 Petr Machata <pmachata@redhat.com>
2318 * test-flag-nobits.c: New test.
2319 * run-test-flag-nobits.sh: And its wrapper.
2320 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2321 (test_flag_nobits_LDADD): New variable.
2323 2010-02-15 Roland McGrath <roland@redhat.com>
2325 * Makefile.am: Use config/eu.am for common stuff.
2327 * asm-tst9.c (main): Rename local to avoid shadowing another local.
2329 2009-07-22 Roland McGrath <roland@redhat.com>
2331 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2333 2009-07-08 Roland McGrath <roland@redhat.com>
2335 * addrcfi.c: New file.
2336 * Makefile.am (noinst_PROGRAMS): Add it.
2337 (addrcfi_LDADD): New variable.
2339 2009-05-07 Petr Machata <pmachata@redhat.com>
2341 * testfile51.bz2: New data file.
2342 * dwarf-getmacros.c: New test core.
2343 * run-dwarf-getmacros.sh: New test wrapper.
2344 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2345 (dwarf_getmacros_LDADD): New variable.
2347 2009-04-23 Ulrich Drepper <drepper@redhat.com>
2349 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2350 (rdwrmmap_LDADD): Add $(libmudflap).
2352 2009-04-21 Roland McGrath <roland@redhat.com>
2354 * testfile50.bz2: New data file.
2355 * Makefile.am (EXTRA_DIST): Add it.
2356 * run-dwfl-addr-sect.sh: Add a case using it.
2358 2008-12-31 Ulrich Drepper <drepper@redhat.com>
2360 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2361 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2362 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2363 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2364 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2365 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2366 roundss, roundps, roundpd, and roundsd.
2367 * testfile45.S.bz2: Likewise.
2368 * testfile44.expect.bz2: Adjust accordingly.
2369 * testfile45.expect.bz2: Likewise.
2371 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2372 * testfile45.S.bz2: Likewise.
2373 * testfile44.expect.bz2: Adjust accordingly.
2374 * testfile45.expect.bz2: Likewise.
2376 2008-12-30 Ulrich Drepper <drepper@redhat.com>
2378 * testfile44.S.bz2: Add tests for blendpd and blendps.
2379 * testfile45.S.bz2: Likewise.
2380 * testfile44.expect.bz2: Adjust accordingly.
2381 * testfile45.expect.bz2: Likewise.
2383 2008-12-19 Ulrich Drepper <drepper@redhat.com>
2385 * testfile44.S.bz2: Add tests for AMD 3DNOW.
2386 * testfile45.S.bz2: Likewise.
2387 * testfile44.expect.bz2: Adjust accordingly.
2388 * testfile45.expect.bz2: Likewise.
2390 2008-11-26 Roland McGrath <roland@redhat.com>
2392 * dwfl-bug-getmodules.c: New file.
2393 * Makefile.am (noinst_PROGRAMS): Add it.
2394 (dwfl_bug_getmodules_LDADD): New variable.
2396 2008-09-10 Roland McGrath <roland@redhat.com>
2398 * test-subr.sh (LC_ALL): Export it set to "C".
2399 * run-dwfl-addr-sect.sh: Don't do it here.
2400 * run-strings-test.sh: Likewise.
2402 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
2404 * run-addrname-test.sh: Add a new case.
2405 * testfile49.bz2: New data file.
2406 * Makefile.am (EXTRA_DIST): Add it.
2408 2008-04-10 Roland McGrath <roland@redhat.com>
2410 * testfile48.bz2, testfile48.bz2.debug: New data files.
2411 * Makefile.am (EXTRA_DIST): Add them.
2412 * run-strip-test8.sh: Use them.
2414 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2416 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2417 * run-strip-test8.sh: New file.
2418 * testfile47.bz2: New data file.
2419 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2421 2008-03-31 Roland McGrath <roland@redhat.com>
2423 * run-early-offscn.sh: New file.
2424 * early-offscn.c: New file.
2425 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2426 (early_offscn_LDADD): New variable.
2428 2008-03-19 Roland McGrath <roland@redhat.com>
2430 * run-addrname-test.sh: Add a new case.
2432 2008-02-22 Roland McGrath <roland@redhat.com>
2434 * run-elflint-test.sh: Typo fix.
2436 2008-02-21 Roland McGrath <roland@redhat.com>
2438 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2439 for the build down to minimum.
2440 * run-disasm-x86-64.sh: Likewise.
2442 2008-02-20 Roland McGrath <roland@redhat.com>
2444 * testfile46.bz2: New data file.
2445 * Makefile.am (EXTRA_DIST): Add it.
2446 * run-elflint-test.sh: Test on it.
2448 2008-02-01 Ulrich Drepper <drepper@redhat.com>
2450 * Makefile.am: Hook up sha1-tst.c.
2451 * sha1-tst.c: New file.
2453 2008-01-21 Roland McGrath <roland@redhat.com>
2455 * testfile45.S.bz2: Add tests for cltq, cqto.
2456 * testfile45.expect.bz2: Adjust.
2458 2008-01-14 Ulrich Drepper <drepper@redhat.com>
2460 * testfile45.S.bz2: Add more tests.
2461 * testfile45.expect.bz2: Adjust.
2463 2008-01-11 Ulrich Drepper <drepper@redhat.com>
2465 * testfile45.expect.bz2: Adjust for adding of address for %rip based
2468 2008-01-10 Ulrich Drepper <drepper@redhat.com>
2470 * testfile45.S.bz2: Add more tests.
2471 * testfile45.expect.bz2: Adjust.
2473 2008-01-08 Ulrich Drepper <drepper@redhat.com>
2475 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2476 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2477 run-disasm-x86-64.sh.
2478 * run-disasm-x86-64.sh: New file.
2479 * testfile45.S.bz2: New file.
2480 * testfile45.expect.bz2: New file.
2481 * testfile44.S.bz2: New tests.
2482 * testfile44.expect.bz2: Adjust.
2484 2008-01-04 Ulrich Drepper <drepper@redhat.com>
2486 * testfile44.S.bz2: New tests.
2487 * testfile44.expect.bz2: Adjust.
2489 2008-01-04 Roland McGrath <roland@redhat.com>
2491 * dwfl-bug-fd-leak.c (main): Add a cast.
2493 2008-01-03 Ulrich Drepper <drepper@redhat.com>
2495 * testfile44.S.bz2: New tests.
2496 * testfile44.expect.bz2: Adjust.
2498 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2500 * line2addr.c: Use %m modifier instead of %a to appease gcc.
2502 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2504 * testfile44.S.bz2: New tests.
2505 * testfile44.expect.bz2: Adjust.
2507 2007-12-31 Ulrich Drepper <drepper@redhat.com>
2509 * testfile44.S.bz2: New tests.
2510 * testfile44.expect.bz2: Adjust.
2512 2007-12-30 Ulrich Drepper <drepper@redhat.com>
2514 * testfile44.S.bz2: New tests.
2515 * testfile44.expect.bz2: Adjust.
2517 2007-12-29 Ulrich Drepper <drepper@redhat.com>
2519 * testfile44.s.bz2: New tests.
2520 * testfile44.expect.bz2: Adjust.
2522 2007-12-28 Ulrich Drepper <drepper@redhat.com>
2524 * testfile44.S.bz2: New tests.
2525 * testfile44.expect.bz2: Adjust.
2527 2007-12-27 Ulrich Drepper <drepper@redhat.com>
2529 * testfile44.S.bz2: New tests.
2530 * testfile44.expect.bz2: Adjust.
2532 2007-12-26 Ulrich Drepper <drepper@redhat.com>
2534 * testfile44.S.bz2: New tests.
2535 * testfile44.expect.bz2: Adjust
2537 2007-12-21 Ulrich Drepper <drepper@redhat.com>
2539 * testfile44.S.bz2: More tests.
2540 * testfile44.expect.bz2: Adjust appropriately.
2542 2007-12-19 Ulrich Drepper <drepper@redhat.com>
2544 * Makefile.am (TESTS): Add run-disasm.sh.
2545 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2546 testfile44.expect.bz2.
2547 * run-disasm.sh: New file.
2548 * testfile44.S.bz2: New file.
2549 * testfile44.expect.bz2: New file.
2551 2007-12-15 Roland McGrath <roland@redhat.com>
2553 * run-allregs.sh: Change expected output for powerpc spefscr.
2555 2007-10-20 Roland McGrath <roland@redhat.com>
2557 * run-dwfl-addr-sect.sh: Change expected output, no errors.
2559 2007-10-19 Roland McGrath <roland@redhat.com>
2561 * dwfl-addr-sect.c (handle_address): Return int.
2562 Don't exit on error, just return nonzero.
2563 (main): Collect results.
2564 * run-dwfl-addr-sect.sh: New file.
2565 * testfile43.bz2: New data file.
2566 * Makefile.am (EXTRA_DIST, TESTS): Add them.
2568 2007-10-18 Roland McGrath <roland@redhat.com>
2570 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2572 2007-10-16 Roland McGrath <roland@redhat.com>
2574 * test-subr.sh (remove_files): Don't pass -Bb to diff.
2576 2007-10-09 Roland McGrath <roland@redhat.com>
2578 * dwflmodtest.c (print_module): Don't use %p in output.
2579 * run-dwfl-bug-offline-rel.sh: Updated expected output.
2581 2007-10-08 Roland McGrath <roland@redhat.com>
2583 * testfile42.bz2: New data file.
2584 * Makefile.am (EXTRA_DIST): Add it.
2585 * run-elflint-test.sh: New test on that file.
2587 2007-10-04 Roland McGrath <roland@redhat.com>
2589 * run-readelf-test4.sh: New file.
2590 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2592 2007-10-03 Roland McGrath <roland@redhat.com>
2594 * run-readelf-test3.sh: New file.
2595 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2597 2007-10-01 Roland McGrath <roland@redhat.com>
2599 * run-readelf-test2.sh: New file.
2600 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2602 2007-09-11 Roland McGrath <roland@redhat.com>
2604 * run-addrname-test.sh: Add a new case.
2605 * testfile41.bz2: New data file.
2606 * Makefile.am (EXTRA_DIST): Add it.
2608 2007-08-23 Roland McGrath <roland@redhat.com>
2610 * run-allregs.sh: Update expected x86-64 output for %rflags.
2612 2007-08-12 Roland McGrath <roland@redhat.com>
2614 * run-strip-test7.sh: New file.
2615 * testfile39.bz2: New data file.
2616 * testfile40.bz2: New data file.
2617 * testfile40.debug.bz2: New data file.
2618 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2620 2007-08-09 Roland McGrath <roland@redhat.com>
2622 * dwfl-bug-report.c: Fix header inclusion.
2624 2007-08-08 Roland McGrath <roland@redhat.com>
2626 * run-addrname-test.sh: Add a new case using addr2line -S.
2627 * testfile38.bz2: New data file.
2628 * Makefile.am (EXTRA_DIST): Add it.
2630 2007-07-16 Roland McGrath <roland@redhat.com>
2632 * dwfl-bug-report.c: New file.
2633 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2634 (dwfl_bug_report_LDADD): New variable.
2636 2007-06-06 Roland McGrath <roland@redhat.com>
2638 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2640 2007-06-05 Ulrich Drepper <drepper@redhat.com>
2642 * Makefile.am (EXTRA_DIST): Add missing line continuation and
2643 testfile37.bz and testfile37.debug.bz2.
2645 2007-05-23 Roland McGrath <roland@redhat.com>
2647 * run-allregs.sh: Update expected Alpha results.
2649 2007-05-18 Roland McGrath <roland@redhat.com>
2651 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2652 * testfile37.bz2: New data file.
2653 * testfile37.debug.bz2: New data file.
2654 * run-unstrip-test2.sh: New file.
2655 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2657 2007-05-10 Roland McGrath <roland@redhat.com>
2659 * run-dwfl-bug-offline-rel.sh: New file.
2660 * testfile36.bz2: New data file.
2661 * testfile36.debug.bz2: New data file.
2662 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2664 2007-04-28 Roland McGrath <roland@redhat.com>
2666 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2667 * testfile35.bz2: New data file.
2668 * testfile35.debug.bz2: New data file.
2669 * run-unstrip-test.sh: New file.
2670 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2672 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2674 2007-04-26 Roland McGrath <roland@redhat.com>
2676 * run-elflint-self.sh: Run all tests even if one fails.
2678 * run-allregs.sh: Add expected output for alpha.
2680 2007-04-24 Roland McGrath <roland@redhat.com>
2682 * run-strip-test.sh: When we saved the debug info, test unstrip too.
2684 2007-04-22 Roland McGrath <roland@redhat.com>
2686 * run-allregs.sh: Update expected register info.
2688 2007-04-16 Roland McGrath <roland@redhat.com>
2690 * dwfl-addr-sect.c: New file.
2691 * Makefile.am (noinst_PROGRAMS): Add it.
2692 (dwfl_addr_sect_LDADD): New variable.
2694 2007-04-05 Roland McGrath <roland@redhat.com>
2696 * get-files.c: Test dwarf_getsrcdirs.
2697 * run-get-files.sh: Update expected output.
2699 2007-04-01 Roland McGrath <roland@redhat.com>
2701 * run-allregs.sh: Updated expected output for x86_64.
2703 2007-03-04 Roland McGrath <roland@redhat.com>
2705 * dwfl-bug-fd-leak.c: New file.
2706 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2707 (dwfl_bug_fd_leak_LDADD): New variable.
2709 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
2710 show what files have been located.
2712 2007-02-02 Roland McGrath <roland@redhat.com>
2714 * run-addrname-test.sh: New file.
2715 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2716 * testfile34.bz2: New data file.
2717 * Makefile.am (EXTRA_DIST): Add it.
2719 2007-01-20 Roland McGrath <roland@redhat.com>
2721 * testfile33.bz2: New data file.
2722 * Makefile.am (EXTRA_DIST): Add it.
2723 * run-elflint-test.sh: Test on it too.
2725 2007-01-18 Roland McGrath <roland@redhat.com>
2727 * Makefile.am (CFLAGS): Don't molest it.
2729 2007-01-11 Roland McGrath <roland@redhat.com>
2731 * testfile32.bz2: New data file.
2732 * Makefile.am (EXTRA_DIST): Add it.
2733 * run-elflint-test.sh: Test on it too.
2735 2007-02-04 Ulrich Drepper <drepper@redhat.com>
2738 * Makefile (noinst_PROGRAMS): Add arls.
2740 * run-ranlib-test2.sh: Fix type in comment.
2742 2007-01-10 Ulrich Drepper <drepper@redhat.com>
2744 * run-elflint-self.sh (runtest): Show which file has the problem.
2746 2007-01-10 Roland McGrath <roland@redhat.com>
2748 * dwfl-bug-addr-overflow.c: New file.
2749 * Makefile.am (TESTS): Add it.
2750 (dwfl_bug_addr_overflow_LDADD): New variable.
2752 2006-12-17 Roland McGrath <roland@redhat.com>
2754 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2756 2006-09-05 Roland McGrath <roland@redhat.com>
2758 * run-strings-test.sh: Export LC_ALL=C for the test.
2760 2006-08-29 Roland McGrath <roland@redhat.com>
2762 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2763 * run-arsymtest.sh: Likewise.
2765 * run-native-test.sh (native.c compilation): Add some braces.
2767 2006-08-22 Roland McGrath <roland@redhat.com>
2769 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2770 (struct reginfo): New members bits, type.
2771 (one_register, match_register): Update to take new args,
2772 record and display new info.
2773 (main): Display new info.
2774 * run-allregs.sh: Update expected results.
2776 2006-08-03 Roland McGrath <roland@redhat.com>
2778 * run-allregs.sh: Add sparc cases.
2779 * testfile30.bz2: New data file.
2780 * testfile31.bz2: New data file.
2781 * Makefile.am (EXTRA_DIST): Add them.
2783 2006-07-21 Roland McGrath <roland@redhat.com>
2785 * allregs.c (struct reginfo): Increase size of name.
2786 (one_register): Assert that it's big enough.
2788 2006-04-04 Roland McGrath <roland@redhat.com>
2790 * run-bug1-test.sh: Test a second case, to cover both byte orders.
2791 * testfile29.bz2: New file.
2792 * testfile29.rdwr.bz2: New file.
2793 * Makefile.am (EXTRA_DIST): Add them.
2795 2006-04-04 Ulrich Drepper <drepper@redhat.com>
2797 * Makefile.am: Add rules to run run-bug1-test.sh.
2798 * rdwrmmap.c: New file.
2799 * run-bug1-test.sh: New file.
2800 * testfile28.bz2: New file.
2801 * testfile28.rdwr.bz2: New file.
2803 2006-03-09 Roland McGrath <roland@redhat.com>
2805 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2807 2006-03-01 Roland McGrath <roland@redhat.com>
2809 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2810 changes matching 3.0 spec.
2812 2006-01-13 Roland McGrath <roland@redhat.com>
2814 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2815 bash 3.1 whines when it's done in the trap 0 handler.
2817 2006-01-11 Roland McGrath <roland@redhat.com>
2819 * testfile26.bz2: New data file.
2820 * testfile27.bz2: New data file.
2821 * Makefile.am (EXTRA_DIST): Add them.
2822 * run-allregs.sh: Test s390 data.
2824 2005-12-14 Roland McGrath <roland@redhat.com>
2826 * run-native-test.sh: Redirect output from native test process.
2828 2005-12-13 Roland McGrath <roland@redhat.com>
2830 * allregs.c (main): Fail if we find no registers.
2832 * run-native-test.sh: New file.
2833 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2835 2005-12-10 Ulrich Drepper <drepper@redhat.com
2837 * run-readelf-test1.sh: New file.
2838 * Makefile.am (TESTS): Add run-readelf-test1.sh.
2839 (EXTRA_DIST): Likewise.
2841 2005-12-07 Roland McGrath <roland@redhat.com>
2843 * ecp.c (main): Use elf_end to clean up.
2845 2005-11-25 Roland McGrath <roland@redhat.com>
2847 * coverage.sh: Given -v argument, print names of unused files.
2849 * addrscopes.c (main): Use dwfl_end before return.
2850 * allregs.c (main): Likewise.
2851 * find-prologues.c (main): Likewise.
2852 * funcretval.c (main): Likewise.
2853 * funcscopes.c (main): Likewise.
2854 * line2addr.c (main): Likewise.
2856 * run-allregs.sh: New file.
2857 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2859 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2860 * Makefile.am (allregs_LDADD): Updated.
2862 * allregs.c: New file.
2863 * Makefile.am (noinst_PROGRAMS): Add it.
2864 (allregs_LDADD): New variable.
2866 2005-11-18 Roland McGrath <roland@redhat.com>
2868 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2869 * test-wrapper.sh: Likewise.
2871 2005-11-17 Roland McGrath <roland@redhat.com>
2873 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2874 environment for test-wrapper.sh.
2875 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2876 * test-subr.sh (installed_testrun): Likewise.
2877 Use explicit path in ${bindir}.
2879 * Makefile.am (installcheck-local): Fix typo in last change.
2881 2005-11-16 Roland McGrath <roland@redhat.com>
2883 * configure.ac: New file, for standalone build/dist of test suite.
2884 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2885 (asm_TESTS): New variable, broken out of ...
2886 (TESTS): ... here. Also remove msg_tst.
2887 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2888 (installed_TESTS_ENVIRONMENT): New variable.
2889 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2890 [!STANDALONE] (installcheck-local): Likewise.
2891 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2892 * addrscopes.c: Include <config.h>.
2893 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2894 * allfcts.c: Likewise.
2895 * asm-tst1.c: Likewise.
2896 * asm-tst2.c: Likewise.
2897 * asm-tst3.c: Likewise.
2898 * asm-tst4.c: Likewise.
2899 * asm-tst5.c: Likewise.
2900 * asm-tst6.c: Likewise.
2901 * asm-tst7.c: Likewise.
2902 * asm-tst8.c: Likewise.
2903 * asm-tst9.c: Likewise.
2904 * dwflmodtest.c: Likewise.
2905 * find-prologues.c: Likewise.
2906 * funcscopes.c: Likewise.
2907 * get-aranges.c: Likewise.
2908 * get-files.c: Likewise.
2909 * get-lines.c: Likewise.
2910 * get-pubnames.c: Likewise.
2911 * line2addr.c: Likewise.
2912 * newscn.c: Likewise.
2913 * show-abbrev.c: Likewise.
2914 * show-die-info.c: Likewise.
2915 * update3.c: Likewise.
2916 * update4.c: Likewise.
2917 * funcretval.c: Likewise.
2919 * dwflmodtest.c (print_instance): Don't use INTUSE.
2920 (options): Don't use N_ macro.
2922 2005-11-15 Roland McGrath <roland@redhat.com>
2924 * coverage.sh: Look in backends.
2925 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2926 (TESTS_ENVIRONMENT): Likewise.
2928 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2929 pass FUNCDIE direclty to dwfl_module_return_value_location.
2931 * Makefile.am (BUILD_RPATH): New variable.
2932 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2933 (tests_rpath): New variable.
2934 (installcheck-local): Pass it to test-wrapper.sh.
2935 * test-wrapper.sh: In "installed" format, take yes/no value
2936 for elfutils_tests_rpath, which export. When running a test
2937 binary for installcheck, exit 77.
2938 * test-subr.sh (installed_testrun): When running a test binary
2939 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2941 2005-11-14 Roland McGrath <roland@redhat.com>
2943 * test-subr.sh: New file.
2944 * test-wrapper.sh: New file.
2945 * Makefile.am (EXTRA_DIST): Add them.
2946 (AM_LDFLAGS): Variable removed.
2947 (TESTS_ENVIRONMENT): New variable.
2948 (installcheck-local): New target.
2949 * run-addrscopes.sh: Use test-subr.sh.
2950 * run-allfcts.sh: Likewise.
2951 * run-ecp-test.sh: Likewise.
2952 * run-ecp-test2.sh: Likewise.
2953 * run-elflint-self.sh: Likewise.
2954 * run-elflint-test.sh: Likewise.
2955 * run-find-prologues.sh: Likewise.
2956 * run-funcscopes.sh: Likewise.
2957 * run-get-aranges.sh: Likewise.
2958 * run-get-files.sh: Likewise.
2959 * run-get-lines.sh: Likewise.
2960 * run-get-pubnames.sh: Likewise.
2961 * run-line2addr.sh: Likewise.
2962 * run-ranlib-test.sh: Likewise.
2963 * run-ranlib-test2.sh: Likewise.
2964 * run-show-abbrev.sh: Likewise.
2965 * run-show-ciefde.sh: Likewise.
2966 * run-show-die-info.sh: Likewise.
2967 * run-strings-test.sh: Likewise.
2968 * run-strip-test.sh: Likewise.
2970 2005-11-13 Roland McGrath <roland@redhat.com>
2972 * funcretval.c: New file.
2973 * Makefile.am (noinst_PROGRAMS): Add it.
2974 (funcretval_LDADD): New variable.
2976 2005-11-09 Ulrich Drepper <drepper@redhat.com>
2978 * line2addr.c (handle_module): Add missing parameter to printf.
2980 2005-10-27 Roland McGrath <roland@redhat.com>
2982 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2983 * funcscopes.c (handle_function): Likewise.
2984 * dwflmodtest.c (print_inline, print_func): Likewise.
2985 * find-prologues.c (handle_function): Likewise.
2987 2005-10-27 Roland McGrath <roland@redhat.com>
2989 * run-find-prologues.sh: New file.
2990 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2992 * find-prologues.c (handle_function): Skip inlines.
2994 2005-10-25 Roland McGrath <roland@redhat.com>
2996 * find-prologues.c: New file.
2997 * Makefile.am (noinst_PROGRAMS): Add it.
2998 (find_prologues_LDADD): New variable.
3000 2005-09-02 Ulrich Drepper <drepper@redhat.com>
3002 * run-strings-test.sh: Remove strings.out in the end.
3004 2005-08-31 Ulrich Drepper <drepper@redhat.com>
3006 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
3007 * run-allfcts.sh: Likewise.
3008 * run-ecp-test.sh: Likewise.
3009 * run-ecp-test2.sh: Likewise.
3010 * run-elflint-test.sh: Likewise.
3011 * run-funcscopes.sh: Likewise.
3012 * run-get-aranges.sh: Likewise.
3013 * run-get-files.sh: Likewise.
3014 * run-get-lines.sh: Likewise.
3015 * run-get-pubnames.sh: Likewise.
3016 * run-line2addr.sh: Likewise.
3017 * run-ranlib-test2.sh: Likewise.
3018 * run-show-abbrev.sh: Likewise.
3019 * run-show-ciefde.sh: Likewise.
3020 * run-show-die-info.sh: Likewise.
3021 * run-strings-test.sh: Likewise.
3022 * run-strip-test.sh: Likewise.
3024 2005-08-30 Ulrich Drepper <drepper@redhat.com>
3026 * coverage.sh: Handle case where there is no .gcno file at all.
3028 2005-08-29 Ulrich Drepper <drepper@redhat.com>
3030 * Makefile.am (EXTRA_DIST): Add coverage.
3031 [GCOV]: Generate coverage summary after the tests ran
3032 * coverage.sh: New file.
3034 2005-08-28 Ulrich Drepper <drepper@redhat.com>
3036 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
3037 (CLEANFILES): Add *.gcno *.gcda *.gconv.
3039 2005-08-28 Ulrich Drepper <drepper@redhat.com>
3041 * run-strings-test.sh: New file.
3042 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3044 2005-08-27 Roland McGrath <roland@redhat.com>
3046 * addrscopes.c (handle_address): Apply bias to PC addresses.
3048 * run-funcscopes.sh: New file.
3049 * testfile25.bz2: New data file.
3050 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3052 2005-08-26 Roland McGrath <roland@redhat.com>
3054 * addrscopes.c (dwarf_diename_integrate): Removed.
3055 (print_vars, handle_address): Use plain dwarf_diename.
3057 2005-08-25 Roland McGrath <roland@redhat.com>
3059 * funcscopes.c: New file.
3060 * Makefile.am (noinst_PROGRAMS): Add it.
3061 (funcscopes_LDADD): New variable.
3063 * run-addrscopes.sh: Add another case.
3064 * testfile24.bz2: New data file.
3065 * Makefile.am (EXTRA_DIST): Add it.
3067 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
3068 pass it to dwarf_getscopes.
3069 (main): Pass it, true when '=' follows an address.
3071 2005-08-24 Roland McGrath <roland@redhat.com>
3073 * line2addr.c (print_address): Omit () for DSOs.
3075 2005-08-24 Ulrich Drepper <drepper@redhat.com>
3077 * run-line2addr.sh: Remove testfile23 in the end.
3079 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
3080 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
3082 2005-08-22 Roland McGrath <roland@redhat.com>
3084 * run-line2addr.sh: Add a case.
3085 * testfile23.bz2: New data file.
3086 * Makefile.am (EXTRA_DIST): Add it.
3088 2005-08-18 Roland McGrath <roland@redhat.com>
3090 * run-addrscopes.sh: New file.
3091 * testfile22.bz2: New data file.
3092 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3094 * addrscopes.c: New file.
3095 * Makefile.am (noinst_PROGRAMS): Add it.
3096 (addrscopes_LDADD): New variable.
3098 2005-08-15 Ulrich Drepper <drepper@redhat.com>
3100 * run-elflint-self.sh: Don't run test if the file doesn't exist.
3102 2005-08-15 Roland McGrath <roland@redhat.com>
3104 * dwflmodtest.c (print_instance, print_inline): New functions.
3105 (print_func): Call print_inline.
3106 (options, parse_opt): Grok -i/--inlines.
3108 2005-08-07 Roland McGrath <roland@redhat.com>
3110 * dwflmodtest.c: Print function details only if -f flag is given.
3112 2005-08-06 Ulrich Drepper <drepper@redhat.com>
3114 * run-elflint-self.sh: New file.
3115 * Makefile.am (TESTS): Add run-elflint-self.sh.
3116 (EXTRA_DIST): Likewise.
3118 * Makefile.am: Link with statis libs if BUILD_STATIC.
3119 (dwflmodtest_LDADD): Also link with -ldl.
3121 2005-08-02 Ulrich Drepper <drepper@redhat.com>
3123 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
3124 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
3126 * asm-tst2.c: Likewise.
3127 * asm-tst3.c: Likewise.
3128 * asm-tst4.c: Likewise.
3129 * asm-tst5.c: Likewise.
3130 * asm-tst6.c: Likewise.
3131 * asm-tst7.c: Likewise.
3132 * asm-tst8.c: Likewise.
3133 * asm-tst9.c: Likewise.
3135 * msg_tst.c: Add new error message.
3137 2005-07-28 Ulrich Drepper <drepper@redhat.com>
3139 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
3141 2005-06-01 Roland McGrath <roland@redhat.com>
3143 * line2addr.c: Rewritten using libdwfl.
3144 * run-line2addr.sh: Update test for changed arguments.
3145 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
3146 (libdwfl): New variable.
3147 (line2addr_LDADD): Use it.
3149 2005-07-28 Roland McGrath <roland@redhat.com>
3151 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
3152 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
3153 (dwflmodtest_LDADD): New variable.
3154 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
3156 2005-07-21 Ulrich Drepper <drepper@redhat.com>
3158 * testfile18.bz2: New file.
3159 * run-elflint-test.sh: New file.
3160 * Makefile.am (TESTS): Add run-elflint-test.sh.
3161 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
3163 2005-05-24 Ulrich Drepper <drepper@redhat.com>
3165 * get-files.c (main): Use correct format specifier.
3167 2005-05-21 Ulrich Drepper <drepper@redhat.com>
3169 * Makefile.am: Add -Wextra to CFLAGS.
3170 * get-files.c: Remove warning this produced.
3171 * get-pubnames.c: Likewise.
3172 * newfile.c: Likewise.
3173 * newscn.c: Likewise.
3174 * scnnames.c: Likewise.
3175 * showptable.c: Likewise.
3176 * test-nlist.c: Likewise.
3177 * update1.c: Likewise.
3178 * update2.c: Likewise.
3179 * update3.c: Likewise.
3180 * update4.c: Likewise.
3182 2005-05-08 Ulrich Drepper <drepper@redhat.com>
3184 * run-line2addr.sh: Remove testfile14 at the end.
3186 * run-strip-test.sh: Remove debuginfo test input file as well.
3188 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
3191 2005-05-03 Roland McGrath <roland@redhat.com>
3193 * run-strip-test.sh: Use variables for test file names.
3194 Optionally produce separate debug file and check it.
3195 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
3196 * run-strip-test3.sh: Likewise.
3197 * run-strip-test4.sh: New file.
3198 * run-strip-test5.sh: New file.
3199 * run-strip-test6.sh: New file.
3200 * testfile15.bz: New file.
3201 * testfile15.debug.bz: New file.
3202 * testfile16.bz: New file.
3203 * testfile16.debug.bz: New file.
3204 * testfile17.bz: New file.
3205 * testfile17.debug.bz: New file.
3206 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3208 2005-04-25 Ulrich Drepper <drepper@redhat.com>
3210 * run-line2addr.sh: Also use testfile14. Adjust for correct
3211 return of multiple matches.
3212 * testfile14.bz2: New file.
3213 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
3215 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
3217 2005-04-04 Roland McGrath <roland@redhat.com>
3219 * line2addr.c (main): Initialize LINES and NLINES before calling
3220 dwarf_getsrc_file, and free LINES afterwards.
3222 * allfcts.c (main): Use size_t for CUHL.
3224 2005-04-04 Ulrich Drepper <drepper@redhat.com>
3226 * line2addr.c: New file.
3227 * run-line2addr.sh: New file.
3228 * Makefile.am: Add rules to build, run, and distribute new code.
3230 2005-04-02 Ulrich Drepper <drepper@redhat.com>
3232 * allfcts.c: New file.
3233 * run-allfcts.sh: New file.
3234 * Makefile.am: Add rules to build, run, and distribute new code.
3236 2005-02-05 Ulrich Drepper <drepper@redhat.com>
3238 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
3239 programs with -lmudflap.
3241 2004-09-25 Ulrich Drepper <drepper@redhat.com>
3243 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
3244 * asm-tst5.c (main): Likewise.
3245 * asm-tst6.c (main): Likewise.
3247 2004-01-17 Ulrich Drepper <drepper@redhat.com>
3249 * Makefile.am: Support building with mudflap.
3251 2004-01-12 Ulrich Drepper <drepper@redhat.com>
3253 * get-aranges.c: Rewrite to use libdw.
3254 * Makefile.am: Reenable get-aranges test.
3256 2004-01-11 Ulrich Drepper <drepper@redhat.com>
3258 * get-lines.c: New file.
3259 * get-files.c: Adjust for libdw.
3260 * run-get-files.sh: Adjust expected result.
3261 * run-get-lines.sh: Likewise.
3262 * Makefile.am: Run get-lines test. Don't run get-aranges and
3263 get-ciefde test for now.
3265 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3266 change. Print attribute offset information.
3267 * run-show-abbrev.sh: Adjust expected output.
3269 2004-01-09 Ulrich Drepper <drepper@redhat.com>
3271 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3272 * show-die-info.c: Likewise.
3273 * run-show-die-info.sh: Adjust expected output.
3275 2003-08-13 Ulrich Drepper <drepper@redhat.com>
3277 * Makefile.in: Depend on libebl.a, not libebl.so.
3279 2003-08-11 Ulrich Drepper <drepper@redhat.com>
3281 * Moved to CVS archive.