1 2018-06-13 Mark Wielaard <mark@klomp.org>
3 * run-readelf-const-values.sh: New test.
4 * testfile-const-values.debug.bz2: New test file.
5 * run-readelf-zdebug-rel.sh: Adjust expected const_value.
6 * Makefile.am (TESTS): Add run-readelf-const-values.sh.
7 (EXTRA_DIST): Add run-readelf-const-values.sh and
8 testfile-const-values.debug.bz2.
10 2018-06-08 Mark Wielaard <mark@klomp.org>
12 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
13 target, do not assert.
15 2018-06-08 Mark Wielaard <mark@klomp.org>
17 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
18 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
20 2018-06-08 Mark Wielaard <mark@klomp.org>
22 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
23 actually is a cfi_debug.
25 2018-06-07 Mark Wielaard <mark@klomp.org>
27 * run-readelf-loc.sh: Fix expected output for startx_length.
29 2018-06-06 Mark Wielaard <mark@klomp.org>
31 * varlocs.c (print_base_type): Use error, not assert when the DIE
34 2018-06-02 Mark Wielaard <mark@klomp.org>
36 * test-subr.sh (self_test_files_exe): Drop shared libraries.
37 Keep addr2line, elfcmp, objdump and readelf.
39 2018-05-31 Mark Wielaard <mark@klomp.org>
41 * run-readelf-types.sh: New test.
42 * Makefile.am (TESTS): Add run-readelf-types.sh.
43 (EXTRA_DIST): Likewise.
45 2018-05-31 Mark Wielaard <mark@klomp.org>
47 * splitdwarf4-not-split4.dwo.bz2: New test file.
48 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
49 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
50 and testfile-splitdwarf4-not-split4.debug.
51 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
52 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
53 and testfile-splitdwarf4-not-split4.debug.bz2.
55 2018-05-31 Mark Wielaard <mark@klomp.org>
57 * test-subr.sh (self_test_files): Split into self_test_files_exe,
58 self_test_files_lib and self_test_obj.
59 (testrun_on_self_exe): New function.
60 (testrun_on_self_lib): Likewise.
61 * run-get-units-split.sh: Replace testrun_on_self with
62 testrun_on_self_exe and testrun_on_self_lib.
63 * run-unit-info.sh: Likewise.
65 2018-05-31 Mark Wielaard <mark@klomp.org>
67 * low_high_pc.c (handle_die): Handle NULL name. Print offset and
69 (main): Check if the cu DIE is a skeleton, then get and handle
71 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
72 testfile-splitdwarf-5. Run on all selftest files.
74 2018-05-31 Mark Wielaard <mark@klomp.org>
76 * get-units-invalid.c (main): Check dwarf_cuoffset and
79 2018-05-29 Mark Wielaard <mark@klomp.org>
81 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
82 type, gotten through dwarf_get_units.
83 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
84 split-dwarf-4, split-dwarf-5 and dwo files.
86 2018-05-29 Mark Wielaard <mark@klomp.org>
88 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
89 * run-varlocs.sh: Likewise.
91 2018-05-29 Mark Wielaard <mark@klomp.org>
93 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
95 2018-05-28 Mark Wielaard <mark@klomp.org>
97 * run-readelf-info-plus.sh: New test.
98 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
99 (EXTRA_DIST): Likewise.
101 2018-04-29 Mark Wielaard <mark@klomp.org>
103 * run-readelf-addr.sh: New test.
104 * Makefile.am (TESTS): Add run-readelf-addr.sh.
105 (EXTRA_DIST): Likewise.
107 2018-04-27 Mark Wielaard <mark@klomp.org>
109 * run-readelf-ranges.sh: Adjust expected output for address base.
110 * run-readelf-addr.sh: New test.
111 * Makefile.am (TESTS): Add run-readelf-addr.sh.
112 (EXTRA_DIST): Likewise.
114 2018-04-07 Mark Wielaard <mark@klomp.org>
116 * run-varlocs.sh: Run on testfileranges5.debug and
117 testsplitfileranges5.debug.
118 * varlocs.c (is_debug): New bool.
119 (print_expr): Don't fail on missing CFI for is_debug.
120 (main): Parse --debug, set is_debug.
122 2018-04-12 Mark Wielaard <mark@klomp.org>
124 * run-readelf-loc.sh: Add new testcases.
126 2018-04-06 Mark Wielaard <mark@klomp.org>
128 * testfileranges5.debug.bz2: New testfile.
129 * testfilesplitranges5.debug.bz2: Likewise.
130 * testfile-ranges-hello5.dwo.bz2: Likewise.
131 * testfile-ranges-world5.dwo.bz2: Likewise.
132 * run-dwarf-ranges.sh: Run on testfileranges5.debug.
133 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
134 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
135 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
136 testfile-ranges-world5.dwo.bz2.
138 2018-04-11 Mark Wielaard <mark@klomp.org>
140 * run-readelf-ranges.sh: New test.
141 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
142 (EXTRA_DIST): Likewise.
144 2018-05-21 Mark Wielaard <mark@klomp.org>
146 * addrx_constx-4.dwo.bz2: New testfile.
147 * addrx_constx-5.dwo.bz2: Likewise.
148 * testfile-addrx_constx-4.bz2: Likewise.
149 * testfile-addrx_constx-5.bz2: Likewise
150 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
151 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
152 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
153 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
154 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
155 (main): Handle split DWARF.
156 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
158 2018-05-20 Mark Wielaard <mark@klomp.org>
160 * unit-info.c: New test.
161 * run-unit-info.sh: New test runner.
162 * Makefile.am (check_PROGRAMS): Add unit-info.
163 (TESTS): Add run-unit-info.sh
164 (EXTRA_INFO): Likewise.
165 (unit_info_LDADD): New variable.
167 2018-05-24 Mark Wielaard <mark@klomp.org>
169 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
170 * run-all-dwarf-ranges.sh: Correct expected output.
172 2018-05-18 Mark Wielaard <mark@klomp.org>
174 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
175 (TESTS): Add run-all-dwarf-ranges.sh.
176 (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
177 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
178 and testfile-ranges-world.dwo.bz2.
179 (all_dwarf_ranges_LDADD): New variable.
180 * all-dwarf-ranges.c: New test program.
181 * run-all-dwarf-ranges: New test runner.
182 * testfile-ranges-hello.dwo.bz2: New test file.
183 * testfile-ranges-world.dwo.bz2: Likewise.
184 * testfilesplitranges4.debug.bz2: Likewise.
186 2018-05-18 Mark Wielaard <mark@klomp.org>
188 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
189 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
190 testfile-hello5.dwo, testfile-world5.dwo.
192 2018-05-17 Mark Wielaard <mark@klomp.org>
194 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
195 (TESTS): Add run-attr-integrate-skel.
196 (EXTRA_DIST): Likewise.
197 (attr_integrate_skel_LDADD): New variable.
198 * attr-integrate-skel.c: New test.
199 * run-attr-integrate-skel.sh: New test runner.
201 2018-05-16 Mark Wielaard <mark@klomp.org>
203 * Makefile.am (check_PROGRAMS): Add get-units-split.
204 (TESTS): Add run-get-units-split.sh.
205 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
206 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
207 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
208 testfile-world4.dwo.bz2.
209 (get_units_split_LDADD): New variable.
210 * get-units-split.c: New test.
211 * run-get-units-split.sh: New test runner.
212 * testfile-dwarf-45.source: Extend with build instructions for new
214 * testfile-hello4.dwo.bz2: New test file.
215 * testfile-hello5.dwo.bz2: Likewise.
216 * testfile-splitdwarf-4.bz2: Likewise.
217 * testfile-splitdwarf-5.bz2: Likewise.
218 * testfile-world5.dwo.bz2 and: Likewise.
219 * testfile-world4.dwo.bz2: Likewise.
221 2018-05-09 Mark Wielaard <mark@klomp.org>
223 * run-readelf-zdebug.sh: Adjust test output for new header layout.
224 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
225 and testfile-dwarf-5.
227 2018-05-11 Mark Wielaard <mark@klomp.org>
229 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
230 (TESTS): Add run-get-units-invalid.sh.
231 (EXTRA_DIST): Likewise.
232 (get_units_invalid_LDADD): New variable.
233 * get-units-invalid.c: New test program.
234 * run-get-units-invalid.sh: New test program runner.
236 2018-05-05 Mark Wielaard <mark@klomp.org>
238 * testfile-dwarf-45.source: New file.
239 * testfile-dwarf-4.bz2: New test file.
240 * testfile-dwarf-5.bz2: Likewise.
241 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
243 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
244 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
246 2018-04-19 Andreas Schwab <schwab@suse.de>
248 * hello_riscv64.ko.bz2: New file.
249 * run-strip-reloc.sh: Test it.
250 * Makefile.am (EXTRA_DIST): Add it.
252 2018-04-16 Mark Wielaard <mark@klomp.org>
254 * testfile-ppc64-min-instr.bz2: New testfile.
255 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
256 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
258 2018-04-11 Mark Wielaard <mark@klomp.org>
260 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
262 2018-04-03 Mark Wielaard <mark@klomp.org>
264 * testfileranges4.debug.bz2: New testfile.
265 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
266 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
268 2018-03-06 Mark Wielaard <mark@klomp.org>
270 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
271 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
272 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
275 2018-02-16 Mark Wielaard <mark@klomp.org>
277 * backtrace-subr.sh (check_native_core): Check if there is any core,
280 2018-02-15 Mark Wielaard <mark@klomp.org>
282 * backtrace-child.c: Include signal.h after sys/ptrace.h.
283 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
286 2018-01-25 Mark Wielaard <mark@klomp.org>
288 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
289 (TESTS): Add run-dwarf-die-addr-die.sh.
290 (EXTRA_DIST): Likewise.
291 (dwarf_die_addr_die_LDADD): New variable.
292 * dwarf-die-addr-die.c: New file.
293 * run-dwarf-die-addr-die.sh: New test.
295 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
297 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
299 2018-01-22 Mark Wielaard <mark@klomp.org>
301 * allfcts.c (setup_alt): Print warning when alt file couldn't be
303 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
304 where it cannot be found by allfcts itself (but it can by libdw).
306 2018-01-25 Mark Wielaard <mark@klomp.org>
308 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
311 2018-01-14 Petr Machata <pmachata@gmail.com>
313 * testfile-sizes4.o.bz2: New test file.
314 * testfile-sizes4.s: New test source.
315 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
317 2017-12-23 Mark Wielaard <mark@klomp.org>
319 * backtrace-subr.sh (check_native_core): Use a lock file and try
320 to extract core using coredumpctl.
321 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
323 2017-12-11 Dima Kogan <dima@secretsauce.net>
325 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
326 * run-peel-type.sh: Likewise.
327 * testfile-sizes3.o.bz2: Likewise.
329 2017-12-07 Mark Wielaard <mark@klomp.org>
331 * run-readelf-variant.sh: New test.
332 * testfile-ada-variant.bz2: New testfile.
333 * Makefile.am (TESTS): Add run-readelf-variant.sh.
334 (EXTRA_DISTS): Add run-readelf-variant.sh and
335 testfile-ada-variant.bz2.
337 2017-11-29 Mark Wielaard <mark@klomp.org>
339 * run-readelf-loc.sh: Adjust expected loc list output.
340 * run-readelf-zdebug-rel.sh: Likewise.
341 * run-readelf-zdebug.sh: Likewise.
343 2017-11-29 Mark Wielaard <mark@klomp.org>
345 * run-readelf-loc.sh: Adjust expected range list output.
346 * run-readelf-zdebug.sh: Likewise.
348 2017-11-29 Mark Wielaard <mark@klomp.org>
350 * run-readelf-dwz-multi.sh: Add expected file names.
351 * run-readelf-zdebug-rel.sh: Likewise.
353 2017-11-29 Mark Wielaard <mark@klomp.org>
355 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
356 * run-readelf-zdebug-rel.sh: Likewise.
358 2017-11-29 Mark Wielaard <mark@klomp.org>
360 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
361 * run-readelf-loc.sh: Likewise.
362 * run-readelf-zdebug-rel.sh: Likewise.
363 * run-readelf-zdebug.sh: Likewise.
365 2017-11-16 Mark Wielaard <mark@klomp.org>
367 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
369 2017-11-10 Mark Wielaard <mark@klomp.org>
371 * run-exprlocs-self.sh: New test.
372 * run-varlocs-self.sh: Likewise.
373 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
375 (EXTRA_DIST): Likewise.
376 * varlocs.c (cfi_debug_bias): New global variable.
377 (is_ET_REL): Likewise.
378 (print_expr): Don't crash and burn when CFI cannot be found for an
379 ET_REL file for DW_OP_call_frame_cfa.
380 (handle_die): If there is no entry_pc pick the lowest pc start range
382 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
383 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
385 2017-11-03 Mark Wielaard <mark@klomp.org>
387 * run-exprlocs.sh: New test.
388 * testfile-stridex.bz2: New testfile.
389 * Makefile.am (TESTS): Add run-exprlocs.sh.
390 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
391 * varlocs.c (dwarf_tag_string): New function.
392 (dwarf_attr_string): Likewise.
393 (dwarf_form_string): Likewise.
394 (print_expr): Fix typo in error message.r
395 Handle DW_OP_GNU_variable_value.
396 (attr_arg): New struct.
397 (handle_attr): New function.
398 (handle_die): Likewise.
399 (main): Handle --exprlocs argument. Call handle_die.
401 2017-10-16 Mark Wielaard <mark@klomp.org>
403 * md5-sha1-test.c: Removed.
404 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
406 (md5_sha1_test_LDADD): Removed.
408 2017-10-04 Mark Wielaard <mark@klomp.org>
410 * msg_tst.c: Handle ELF_E_INVALID_ELF.
412 2017-09-10 Mark Wielaard <mark@klomp.org>
414 * run-ar.sh: New test.
415 * Makefile.am (TESTS): Add run-ar.sh.
416 (EXTRA_DIST): Likewise.
418 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
420 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
422 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
424 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
426 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
428 * run-strip-nothing.sh: Add -s.
430 2017-07-26 Mark Wielaard <mark@klomp.org>
432 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
434 2016-10-27 Mark Wielaard <mjw@redhat.com>
436 * dwarf_default_lower_bound.c: New test.
437 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
439 (dwarf_default_lower_bound_LDADD): New variable.
441 2017-07-21 Mark Wielaard <mark@klomp.org>
443 * get-lines.c (main): Add dwarf_line_file test.
445 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
447 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
448 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
450 2017-07-20 Mark Wielaard <mark@klomp.org>
452 * run-strip-g.sh: New test.
453 * Makefile.am (TESTS): Add run-strip-g.sh.
454 (EXTRA_DIST): Likewise.
456 2017-07-18 Mark Wielaard <mark@klomp.org>
458 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
460 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
462 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
464 2017-07-14 Mark Wielaard <mark@klomp.org>
466 * run-strip-remove-keep.sh: New test.
467 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
468 (EXTRA_DIST): Likewise.
470 2017-06-07 Mark Wielaard <mark@klomp.org>
472 * run-strip-nothing.sh: New test.
473 * Makefile.am (TESTS): Add run-strip-nothing.sh.
474 (EXTRA_DIST): Likewise.
476 2017-06-06 Mark Wielaard <mark@klomp.org>
478 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
480 2017-05-30 Mark Wielaard <mark@klomp.org>
482 * run-backtrace-fp-core-ppc64le.sh: New test.
483 * backtrace.ppc64le.fp.core.bz2: New test file.
484 * backtrace.ppc64le.fp.exec.bz2: New testfile.
485 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
486 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
487 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
488 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
490 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
491 Mark Wielaard <mark@klomp.org>
493 * Makefile.am: Add test for unwinding with frame pointers on aarch64
494 * backtrace.aarch64.fp.core.bz2: New file
495 * backtrace.aarch64.fp.exec.bz2: New file
496 * run-backtrace-fp-core-aarch64.sh: New file
497 * backtrace-subr.sh (check_err): Allow Invalid register.
498 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
500 2017-04-06 Mark Wielaard <mark@klomp.org>
502 * run-backtrace-fp-core-i386.sh: New test.
503 * backtrace.i386.fp.core.bz2: New test file.
504 * backtrace.i386.fp.exec.bz2: New testfile.
505 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
506 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
507 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
509 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
511 * Makefile.am: Add test for unwinding with frame pointers on x86_64
512 * backtrace.x86_64.fp.core.bz2: New file
513 * backtrace.x86_64.fp.exec.bz2: New file
514 * run-backtrace-fp-core-x86_64.sh: New file
516 2017-04-25 Mark Wielaard <mark@klomp.org>
518 * backtrace-subr.sh (check_backtracegen): New function.
519 (check_core): Add check_backtracegen call.
520 * backtrace.ppc.exec.bz2: Regenerated.
521 * backtrace.ppc.core.bz2: Likewise.
523 2017-04-24 Mark Wielaard <mark@klomp.org>
525 * backtrace.c: Remove option to allow unknown symbols in the trace.
526 * backtrace-substr.sh: Remove option to allow unknown symbols
527 to check_core() and allow failed symbol lookups in check_err().
529 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
531 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
533 * run-readelf-zdebug-rel.sh: Likewise.
535 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
537 * backtrace-child.c: Include sys/ptrace.h only on linux.
538 * backtrace-dwarf.c: Likewise.
540 2017-04-05 Mark Wielaard <mark@klomp.org>
542 * test-subr.sh (testrun_on_self_compressed): New function.
543 * run-elflint-self.sh: Call testrun_on_self_compressed.
544 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
546 2017-03-30 Mark Wielaard <mark@klomp.org>
548 * peel_type.c: New file.
549 * run-peel-type.sh: New test.
550 * Makefile.am (check_PROGRAMS): Add peel_type.c.
551 (TESTS): Add run-peel-type.sh.
552 (EXTRA_DIST): Likewise.
553 (peel_type_LDADD): New variable.
555 2017-03-27 Mark Wielaard <mark@klomp.org>
557 * fillfile.c: New file.
558 * Makefile.am (check_PROGRAMS): Add fillfile.
560 (fillfile_LDADD): New variable.
562 2017-02-15 Mark Wielaard <mark@klomp.org>
564 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
565 * run-readelf-A.sh: Add testfileppc64.o test.
567 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
569 * elfstrmerge.c: Include system.h.
571 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
573 * backtrace.c: Add an option to allow unknown symbols in the trace
574 * backtrace-substr.sh: Add an option to allow unknown symbols
575 to check_core() and allow failed symbol lookups in check_err()
577 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
579 * backtrace-data.c: Don't assert that symbols are found.
580 The unwinder is allowed to ask for invalid addresses. We deny
581 such requests, rather than make the test fail.
583 2016-11-17 Mark Wielaard <mjw@redhat.com>
585 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
587 2016-11-02 Mark Wielaard <mjw@redhat.com>
589 * backtrace-data.c (thread_callback): Add explicit break after error.
590 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
592 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
594 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
595 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
596 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
597 (run-unstrip-test4.sh): New file.
598 (testfile-strtab.bz2): New file.
599 (testfile-strtab.stripped.bz2): New file.
600 (testfile-strtab.debuginfo.bz2): New file.
602 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
604 * arextract.c: Remove sys/param.h include, add system.h include.
606 2016-08-30 Mark Wielaard <mjw@redhat.com>
608 * Makefile.am (asm_tst?_LDADD): Add libdw.
610 2016-08-25 Mark Wielaard <mjw@redhat.com>
612 * backtrace-child.c: Disable and add documentation about why we disable
613 RAISE_JMP_PATCHING even on x86_64.
614 * backtrace.c (is_x86_64_native): Rename to...
615 (use_raise_jmp_patching): ... this.
616 (callback_verify): Use use_raise_jmp_patching instead of
618 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
620 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
622 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
623 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
624 use_raise_jmp_patching instead of is_x86_64_native.
626 2016-08-24 Mark Wielaard <mjw@redhat.com>
628 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
630 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
632 * testfilesparc64attrs.o.bz2: New file.
633 * run-readelf-A.sh: Check attributes in a sparc object.
635 2016-08-06 Mark Wielaard <mjw@redhat.com>
637 * run-strip-reloc.sh: Add explicit compressed and uncompressed
640 2016-08-10 Richard Henderson <rth@redhat.com>
642 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
645 2016-07-08 Mark Wielaard <mjw@redhat.com>
647 * update3_LDADD: Use libdw instead of libebl.
648 * update4_LDADD: Likewise.
649 * alldts_LDADD: Likewise.
650 * elfstrmerge_LDADD: Likewise.
651 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
652 * elfstrmerge.c (release): Likewise.
654 * update3.c (main): Likewise.
655 * update4.c (main): Likewise.
657 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
659 * Makefile.am (TESTS): Add run-strip-test11.sh.
660 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
661 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
662 (run-strip-test11.sh): New file.
663 (hello_m68k.ko.bz2): New file.
664 (testfile-m68k-core.bz2): New file.
665 (testfile-m68k.bz2): New file.
666 (testfile-m68k-s.bz2): New file.
667 * run-allregs.sh: Add test for testfile-m68k-core.
668 * run-readelf-mixed-corenote.sh: Likewise.
669 * run-strip-reloc.sh: Add test for hello_m68k.ko.
671 2016-07-06 Mark Wielaard <mjw@redhat.com>
673 * Makefile.am (check_PROGRAMS): Add vendorelf.
675 (vendorelf_LDADD): New variable.
676 * vendorelf.c: New test.
677 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
679 2016-06-24 Mark Wielaard <mjw@redhat.com>
681 * Makefile.am (check_PROGRAMS): Add emptyfile.
683 (emptyfile_LDADD): New variable.
684 * emptyfile.c: New test.
686 2016-06-28 Richard Henderson <rth@redhat.com>
688 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
689 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
690 testfile-bpf-dis1.o.bz2
691 (run-disasm-bpf.sh): New file.
692 (testfile-bpf-dis1.expect.bz2): New file.
693 (testfile-bpf-dis1.o.bz2): New file.
695 2016-02-09 Mark Wielaard <mjw@redhat.com>
697 * testfile-s390x-hash-both.bz2: New testfile.
698 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
699 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
701 2016-02-04 Mark Wielaard <mjw@redhat.com>
703 * run-strip-nobitsalign.sh: New test.
704 * testfile-nobitsalign.bz2: New testfile.
705 * testfile-nobitsalign.strip.bz2: Likewise.
706 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
707 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
708 and testfile-nobitsalign.strip.bz2.
709 * run-strip-test.sh: Add --gnu to elflint calls.
711 2016-01-13 Mark Wielaard <mjw@redhat.com>
713 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
715 2016-01-13 Mark Wielaard <mjw@redhat.com>
717 * dwfl-proc-attach.c: Guard linux specific header.
719 2016-01-13 Mark Wielaard <mjw@redhat.com>
721 * system-elf-libelf-test.c: New test.
722 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
723 (check_PROGRAMS): Likewise.
724 (system_elf_libelf_test_CPPFLAGS): New variable.
725 (system_elf_libelf_test_LDADD): Likewise.
727 2016-01-08 Mark Wielaard <mjw@redhat.com>
729 * elfputzdata.c (main): Fix parentheses in strncmp test.
731 2016-01-08 Mark Wielaard <mjw@redhat.com>
733 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
735 2016-01-08 Mark Wielaard <mjw@redhat.com>
737 * Makefile.am (TESTS): Always unconditionally add
738 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
740 2015-12-16 Mark Wielaard <mjw@redhat.com>
742 * run-compress-test.sh: New test.
743 * Makefile.am (TESTS): Add run-compress-test.sh.
744 (EXTRA_DISTS): Likewise.
746 2015-11-26 Mark Wielaard <mjw@redhat.com>
748 * zstrptr.c: New file.
749 * run-zstrptr.sh: New test.
750 * elfputzdata.c (main): (re)compress .shstrtab.
751 * run-elfputzdata.sh: Expect .shstrtab compression.
752 * Makefile.am (check_PROGRAMS): Add zstrptr.
753 (TESTS): Add run-zstrptr.sh.
754 (EXTRA_DIST): Likewise.
755 (zstrptr_LDADD): New variable.
757 2015-10-20 Mark Wielaard <mjw@redhat.com>
759 * run-readelf-zx.sh: New test.
760 * run-readelf-zp.sh: Likewise.
761 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
762 (EXTRA_DIST): Likewise.
764 2015-10-21 Mark Wielaard <mjw@redhat.com>
766 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
767 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
768 (EXTRA_DIST: Likewise.
769 (elfgetzdata_LDADD): New variable.
770 (elfputzdata_LDADD): Likewise.
771 * elfgetzdata.c: New file.
772 * elfputzdata.c: Likewise.
773 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
774 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
775 ELF_E_DECOMPRESS_ERROR.
776 * run-elfgetzdata.sh: New test.
777 * run-elfputzdata.sh: Likewise.
779 2015-10-28 Mark Wielaard <mjw@redhat.com>
781 * run-readelf-z.sh: New test.
782 * Makefile.am (TESTS): Add run-readelf-z.sh.
783 (EXTRA_DIST): Likewise.
785 2015-10-28 Mark Wielaard <mjw@redhat.com>
787 * elfgetchdr.c: New file.
788 * run-elfgetchdr.sh: New test.
789 * testfile-zgabi32.bz2: New testfile.
790 * testfile-zgabi32be.bz2: Likewise.
791 * testfile-zgabi64.bz2: Likewise.
792 * testfile-zgabi64be.bz2: Likewise.
793 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
794 (TESTS): Add run-elfgetchdr.sh.
795 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
796 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
797 (welfgetchdr_LDADD): New variable.
798 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
799 and ELF_E_INVALID_SECTION_FLAGS,
802 2015-10-28 Mark Wielaard <mjw@redhat.com>
804 * dwelfgnucompressed.c: New file.
805 * run-dwelfgnucompressed.sh: New test.
806 * testfile-zgnu32.bz2: New testfile.
807 * testfile-zgnu64.bz2: Likewise.
808 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
809 (TESTS): Add run-dwelfgnucompressed.sh.
810 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
811 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
812 (dwelfgnucompressed_LDADD): New variable.
814 2015-12-31 Mark Wielaard <mjw@redhat.com>
816 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
817 * run-elfstrmerge-test.sh: New test.
818 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
819 (EXTRA_DIST): Likewise.
821 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
823 * run-backtrace-core-sparc.sh: New file.
824 * backtrace.sparc.core.bz2: New file.
825 * backtrace.sparc.exec.bz2: New file.
826 * Makefile.am (EXTRA_DIST): ... and added all here.
827 (TESTS): Added run-backtrace-core-sparc.sh.
829 2015-12-02 Mark Wielaard <mjw@redhat.com>
831 * Makefile.am (valgrind_cmd): Use --leak-check=full.
832 * run-backtrace-demangle.sh: Disable valgrind.
833 * run-stack-demangled-test.sh: Likewise.
834 * run-stack-d-test.sh: Likewise.
835 * run-stack-i-test.sh: Likewise.
837 2015-12-01 Mark Wielaard <mjw@redhat.com>
839 * test-flag-nobits.c (main): Call elf_end.
840 * rerequest_tag.c (main): Call dwarf_end.
841 * funcscopes.c (handle_function): Free scopes.
842 * dwarf-getstring.c (main): Call dwarf_end.
843 * allregs.c (main): Free state.info.
844 * alldts.c (main): Free dyn.
845 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
847 * addrscopes.c (handle_address): Free scopes.
849 2015-10-16 Mark Wielaard <mjw@redhat.com>
851 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
852 [BUILD_STATIC] (libelf): Likewise.
854 2015-10-16 Mark Wielaard <mjw@redhat.com>
856 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
858 2015-10-09 Josh Stone <jistone@redhat.com>
860 * lfs-symbols: New list of LFS-related symbols from lintian.
861 * testfile-nolfs.bz2: New test binary for sanity checking.
862 * run-lfs-symbols.sh: New test.
863 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
864 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
866 * alldts.c (main): Replace open64 with open.
867 * dwarf-getstring.c (main): Likewise.
868 * arls.c: Include config.h.
870 * rdwrmmap.c: Likewise.
871 * test-elf_cntl_gelf_getshdr.c: Likewise.
872 * test-flag-nobits.c: Include config.h.
873 (main): Replace open64 with open.
875 2015-10-09 Mark Wielaard <mjw@redhat.com>
877 * elfshphehdr.c (check): Rename argument from check to statement.
878 (check_elf): Likewise.
880 2015-10-05 Josh Stone <jistone@redhat.com>
882 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
884 2015-10-02 Mark Wielaard <mjw@redhat.com>
886 * elfstrmerge.c: New check program.
887 * run-strip-strmerge.sh: New test.
888 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
889 (EXTRA_DIST): Add run-strip-strmerge.sh
890 (elfstrmerge_LDADD): New variable.
892 2015-09-29 Mark Wielaard <mjw@redhat.com>
894 * elfshphehdr.c: New test.
895 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
897 (elfshphehdr_LDADD): New variable.
899 2015-09-08 Mark Wielaard <mjw@redhat.com>
901 * dwfl-proc-attach.c: New test.
902 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
904 (dwfl_proc_attach_LDADD): New variable.
905 (dwfl_proc_attach_LDFLAGS): Likewise.
907 2015-09-04 Chih-Hung Hsieh <chh@google.com>
909 * varlocs.c (print_base_type): Initialize enctype.
911 2015-09-04 Chih-Hung Hsieh <chh@google.com>
913 * md5-sha1-test.c (md5_expected): Removed.
914 (sha1_expected): Likewise.
916 2015-09-04 Chih-Hung Hsieh <chh@google.com>
918 * asm-tst1.c (main): Replace %Z length modifier with %z.
919 * asm-tst2.c (main): Likewise.
920 * asm-tst3.c (main): Likewise.
921 * asm-tst4.c (main): Likewise.
922 * asm-tst5.c (main): Likewise.
923 * asm-tst6.c (main): Likewise.
924 * asm-tst7.c (main): Likewise.
925 * asm-tst8.c (main): Likewise.
926 * asm-tst9.c (main): Likewise.
927 * sectiondump.c (print_bytes): Likewise.
929 2015-08-14 Mark Wielaard <mjw@redhat.com>
931 * run-addr2line-alt-debugpath.sh: New test.
932 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
933 (EXTRA_DIST): Likewise.
935 2015-07-29 Mark Wielaard <mjw@redhat.com>
937 * run-unstrip-test3.sh: New test.
938 * testfile-info-link.bz2: New file.
939 * testfile-info-link.debuginfo.bz2: Likewise.
940 * testfile-info-link.stripped.bz2: Likewise.
941 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
942 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
943 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
945 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
947 * tests/run-deleted.sh: Skip when detecting a not implemented
948 dwfl_linux_proc_attach.
950 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
952 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
955 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
957 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
959 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
961 * tests/backtrace-data.c: Reduce scope of some includes to match their
963 * tests/backtrace.c: Likewise.
964 * tests/deleted.c: Likewise.
966 2015-06-16 Mark Wielaard <mjw@redhat.com>
968 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
969 for non-ET_REL files.
971 2015-05-30 Mark Wielaard <mjw@redhat.com>
973 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
974 generated before skipping.
975 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
977 * run-backtrace-demangle.sh: Likewise.
978 * run-stack-demangled-test.sh: Likewise.
979 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
981 * run-backtrace-native-core-biarch.sh: Likewise.
982 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
984 2015-05-20 Mark Wielaard <mjw@redhat.com>
986 * run-addr2line-i-test.sh: Add pretty test.
987 * run-addr2line-test.sh: Likewise.
989 2015-05-20 Mark Wielaard <mjw@redhat.com>
991 * run-addr2line-i-demangle-test.sh: New test.
992 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
993 (EXTRA_DIST): Likewise.
995 2015-05-20 Mark Wielaard <mjw@redhat.com>
997 * run-addr2line-test.sh: Add -a test variants.
998 * run-addr2line-i-test.sh: Likewise.
1000 2015-05-20 Mark Wielaard <mjw@redhat.com>
1002 * run-addrname-test.sh: Make sure all input addresses are hex.
1004 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
1006 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
1007 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
1009 * backtrace-dwarf.c (main): Likewise.
1010 * backtrace.c (prepare_thread, exec_dump): Likewise.
1012 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
1014 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
1015 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
1016 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
1017 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
1018 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
1020 2015-05-01 Mark Wielaard <mjw@redhat.com>
1022 * run-stack-d-test.sh: Use --raw and mangled output.
1023 * run-stack-i-test.sh: Likewise.
1024 * run-stack-demangled-test.sh: New test.
1025 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
1028 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1030 * Makefile.am (TESTS): Add run-strip-test10.sh.
1031 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
1032 Add testfile-x32-debug.bz2.
1033 * run-strip-test10.sh: New file.
1034 * testfile-x32-d.bz2: Likewise.
1035 * testfile-x32-debug.bz2: Likewise.
1037 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1039 * Makefile.am (TESTS): Add run-strip-test9.sh.
1040 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
1041 * run-strip-test9.sh: New file.
1042 * testfile-x32-s.bz2: Likewise.
1044 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1046 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
1047 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
1048 Add backtrace.x32.exec.bz2.
1049 * backtrace.x32.core.bz2 : New file.
1050 * backtrace.x32.exec.bz2: Likewise.
1051 * run-backtrace-core-x32.sh: Likewise.
1053 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1055 * run-addrcfi.sh: Add a test for testfile-x32.
1056 * testfile-x32.bz2: New file.
1057 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
1059 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1061 * run-allregs.sh: Add a test for testfile-x32-core.
1063 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1065 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
1066 * testfile-x32-core.bz2: New file.
1067 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
1069 2015-03-18 Petr Machata <pmachata@redhat.com>
1071 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
1073 * allregs.c (dwarf_encoding_string): Likewise.
1074 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
1075 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
1077 2015-03-18 Petr Machata <pmachata@redhat.com>
1079 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
1080 debug-ranges-no-lowpc.o.bz2.
1082 2015-03-13 Mark Wielaard <mjw@redhat.com>
1084 * backtrace-dwarf.c: Add explicit includes.
1085 (cleanup_13_abort): Remove unused static declaration.
1086 (thread_callback): Add explicit return.
1088 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
1090 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
1091 instead of PTRACE_POKEUSER.
1092 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
1095 2015-02-18 Mark Wielaard <mjw@redhat.com>
1097 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
1099 2015-02-11 Josh Stone <jistone@redhat.com>
1101 * backtrace.c (exec_dump): Initialize jmp.
1103 2015-02-11 Petr Machata <pmachata@redhat.com>
1105 * run-dwarf-ranges.sh: New test.
1106 * dwarf-ranges.c: New file.
1107 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
1109 2015-01-21 Mark Wielaard <mjw@redhat.com>
1111 * Makefile.am (check_PROGRAMS): Add elfstrtab.
1113 (elfstrtab_LDADD): New variable.
1114 * elfstrtab.c: New test.
1116 2015-01-20 Mark Wielaard <mjw@redhat.com>
1118 * Makefile.am (check_PROGRAMS): Add newdata.
1120 (newdata_LDADD): new variable.
1121 * newdata.c: New test.
1123 2015-01-20 Mark Wielaard <mjw@redhat.com>
1125 * strptr.c: New file.
1126 * run-strptr.sh: New test.
1127 * Makefile.am (check_PROGRAMS): Add strptr.
1128 (TESTS): Add run-strptr.sh.
1129 (EXTRA_DIST): Likewise.
1130 (strptr_LDADD): New variable.
1132 2015-01-15 Mark Wielaard <mjw@redhat.com>
1134 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
1135 * vdsosyms.c (main): Use getpid () instead of getppid ().
1137 2014-12-27 Mark Wielaard <mjw@redhat.com>
1139 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
1140 * funcscopes.c (handle_function): Likewise.
1141 * run-addrscopes.sh: Adjust last address in scope.
1142 * run-funcscopes.sh: Likewise.
1144 2015-01-07 Mark Wielaard <mjw@redhat.com>
1146 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
1148 2015-01-14 Mark Wielaard <mjw@redhat.com>
1150 * testfile-debug-types.bz2: New testfile.
1151 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
1152 * typeiter2.c (main): Print both name and offset of found form DIE.
1153 * run-typeiter.s: Adjust output and add testfile-debug-types.
1155 2014-12-26 Mark Wielaard <mjw@redhat.com>
1157 * run-test-archive64.sh: Add nm test.
1159 2014-12-19 Mark Wielaard <mjw@redhat.com>
1161 * run-deleted.sh: Don't check libfunc on ppc64.
1163 2014-12-19 Mark Wielaard <mjw@redhat.com>
1165 * vdsosyms.c (vdso_seen): Removed.
1166 (vdso_syms): New global.
1167 (module_callback): Set and check vdso_syms.
1168 (main): Return value depends on vdso_syms.
1170 2014-12-19 Mark Wielaard <mjw@redhat.com>
1172 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
1174 * run-deleted.sh: Call check_native_unsupported.
1176 2014-12-18 Mark Wielaard <mjw@redhat.com>
1178 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
1180 2014-12-12 Mark Wielaard <mjw@redhat.com>
1182 * Makefile.am (deleted_lib_so_CFLAGS): Add
1183 -fasynchronous-unwind-tables.
1185 2014-12-11 Josh Stone <jistone@redhat.com>
1187 * run-addr2line-i-lex-test.sh: New test.
1188 * testfile-lex-inlines.bz2: New testfile.
1189 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
1190 testfile-lex-inlines.bz2.
1191 (TESTS): Add run-addr2line-i-lex-test.sh.
1193 2014-12-10 Josh Stone <jistone@redhat.com>
1195 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
1196 preferred over the plain die name.
1198 2014-12-02 Petr Machata <pmachata@redhat.com>
1200 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
1201 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
1202 (main): Initialize off to DWARF_GETMACROS_START when an extra
1203 command line argument is passed.
1204 * testfile-macros-0xff.bz2: New test case.
1205 * testfile-macros-0xff.s: New file (source for the above).
1206 * run-dwarf-getmacros.sh: Add two tests.
1208 2014-11-27 Mark Wielaard <mjw@redhat.com>
1210 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
1212 2014-11-21 Mark Wielaard <mjw@redhat.com>
1214 * run-readelf-A.sh: New test.
1215 * testfileppc32attrs.o.bz2: New test file.
1216 * Makefile.am (TESTS): Add run-readelf-A.sh.
1217 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
1219 2014-11-10 Mark Wielaard <mjw@redhat.com>
1221 * vdsosyms.c: New test.
1222 * Makefile.am (check_PROGRAMS): Add vdsosyms.
1224 (vdsosyms_LDADD): New variable.
1226 2014-09-10 Petr Machata <pmachata@redhat.com>
1228 * dwarf-getmacros.c: Update to use the new macro iteration
1230 * run-dwarf-getmacros.sh: Adjust, add a test that uses
1233 2014-10-06 Mark Wielaard <mjw@redhat.com>
1235 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
1236 * testfile-sizes3.o.bz2: New test file.
1237 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
1239 2014-10-02 Mark Wielaard <mjw@redhat.com>
1241 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
1243 2014-10-02 Mark Wielaard <mjw@redhat.com>
1245 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1246 (TESTS): Add run-aggregate-size.sh.
1247 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1248 and testfile-sizes2.o.bz2.
1249 (aggregate_size_LDADD): New variable.
1250 * aggregate_size.c: New file.
1251 * run-aggregate-size.sh: New test.
1252 * testfile-sizes1.o.bz2: New test file.
1253 * testfile-sizes2.o.bz2: Likewise.
1255 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1257 Support NT_FILE for locating files.
1258 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
1259 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1260 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1261 * linkmap-cut-lib.so.bz2: New file.
1262 * linkmap-cut.bz2: New file.
1263 * linkmap-cut.core.bz2: New file.
1264 * run-linkmap-cut.sh: New file.
1265 * run-unstrip-n.sh: Update its expected output.
1267 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1269 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1270 (TESTS, EXTRA_DIST): Add run-deleted.sh.
1271 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1272 * deleted-lib.c: New file.
1273 * deleted.c: New file.
1274 * run-deleted.sh: New file.
1276 2014-06-15 Mark Wielaard <mjw@redhat.com>
1278 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
1280 2014-06-13 Mark Wielaard <mjw@redhat.com>
1282 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1285 2014-06-13 Mark Wielaard <mjw@redhat.com>
1287 * backtrace-subr.sh (check_native_unsupported): New function.
1288 (check_native): Call it.
1289 (check_native_core): Likewise.
1290 * run-backtrace-dwarf.sh: Likewise.
1292 2014-06-11 Mark Wielaard <mjw@redhat.com>
1294 * backtrace.c (main): Check that Dwfl was attached by calling
1295 dwfl_pid and printing the error when it is not.
1297 2014-05-18 Mark Wielaard <mjw@redhat.com>
1299 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1301 * testfile-backtrace-demangle.bz2: Regenerate.
1302 * testfile-backtrace-demangle.core.bz2: Likewise.
1304 2014-05-02 Mark Wielaard <mjw@redhat.com>
1306 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1307 run-allfcts-multi.sh are now added unconditionally.
1309 2014-05-01 Mark Wielaard <mjw@redhat.com>
1311 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1314 2014-04-30 Mark Wielaard <mjw@redhat.com>
1316 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1317 * Makefile.am (check_PROGRAMS): Add buildid.
1318 (TESTS): Add run-buildid.sh.
1319 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1320 (buildid_LDADD): New variable.
1322 2014-04-24 Florian Weimer <fweimer@redhat.com>
1324 * allfcts.c (setup_alt): New function.
1325 (main): Call it. Implementation additional error checking and
1328 2014-04-24 Florian Weimer <fweimer@redhat.com>
1330 * debugaltlink.c, run-debugaltlink.sh: New files.
1331 * Makefile.am (check_PROGRAMS): Add debugaltlink.
1332 (TESTS): Add run-debugaltlink.sh.
1333 (debugaltlink_LDADD): New variable.
1335 2014-04-11 Mark Wielaard <mjw@redhat.com>
1337 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1338 (check_PROGRAMS): Add debuglink.
1339 (TESTS): Add run-debuglink.sh
1340 (EXTRA_DIST): Likewise.
1341 (debuglink_LDADD): New.
1342 * debuglink.c: New file.
1343 * run-debuglink.sh: Likewise.
1345 2014-03-23 Mark Wielaard <mjw@redhat.com>
1347 * run-nm-self.sh: Use test = not == for string comparisons.
1349 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
1351 * backtrace.c: Make Linux only.
1352 * backtrace-child.c: Make Linux only.
1353 * backtrace-data.c: Make Linux only.
1354 * backtrace-dwarf.c: Make Linux only.
1355 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1357 2014-03-14 Mark Wielaard <mjw@redhat.com>
1359 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1361 * configure.ac: Remove MUDFLAP conditional.
1363 2014-04-09 Mark Wielaard <mjw@redhat.com>
1365 * run-readelf-zdebug.sh: New test.
1366 * testfile-debug.bz2: New testfile.
1367 * testfile-zdebug.bz2: New testfile.
1368 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1369 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1370 testfile-zdebug.bz2.
1372 2014-04-10 Mark Wielaard <mjw@redhat.com>
1374 * testfile_i686_core.bz2: New test file.
1375 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1376 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1378 2014-04-09 Mark Wielaard <mjw@redhat.com>
1380 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1381 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1382 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1383 * run-backtrace-core-aarch64.sh: New test.
1385 2014-03-11 Josh Stone <jistone@redhat.com>
1387 * testfilebaxmin.bz2: New testfile.
1388 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1389 * run-readelf-s.sh: Test testfilebaxmin.
1390 * run-dwflsyms.sh: Likewise.
1392 2014-01-26 Mark Wielaard <mjw@redhat.com>
1394 * backtrace-subr.sh (check_unsupported): Special case arm*.
1396 2014-01-25 Mark Wielaard <mjw@redhat.com>
1398 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1399 location expression: call_frame_cfa stack_value.
1401 2014-01-22 Mark Wielaard <mjw@redhat.com>
1403 * Makefile.am (line2addr_no_Wformat): Removed.
1405 2014-01-21 Mark Wielaard <mjw@redhat.com>
1407 * Makefile.am (TESTS): Add run-stack-i-test.sh.
1408 (EXTRA_DIST): Likewise.
1409 * run-stack-i-test.sh: New test.
1411 2014-01-20 Mark Wielaard <mjw@redhat.com>
1413 * Makefile.am (TESTS): Add run-stack-d-test.sh.
1414 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1415 testfiledwarfinlines.core.bz2.
1416 * run-stack-d-test.sh: New test.
1417 * testfiledwarfinlines.bz2: New test file.
1418 * testfiledwarfinlines.core.bz2: Likewise.
1420 2014-01-16 Mark Wielaard <mjw@redhat.com>
1422 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1423 on one ET_REL, one ET_EXEC and one ET_DYN file.
1424 * test-subr.sh (self_test_files): Add two ET_REL files, only add
1425 two libebl ET_DYN backend files.
1427 2014-01-16 Mark Wielaard <mjw@redhat.com>
1429 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1431 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1433 Fix false FAILs on testsuite with ulimit -c unlimited.
1434 * backtrace-child.c (sigusr2): Call pthread_exit.
1435 (main): Return, do not call abort.
1437 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1439 Fix corruption of non-C++ symbols by the demangler.
1440 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1441 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1442 (EXTRA_DIST): Add run-backtrace-demangle.sh,
1443 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1444 testfile-backtrace-demangle.core.bz2.
1445 * backtrace-demangle.cc: New file.
1446 * run-backtrace-demangle.sh: New file.
1447 * testfile-backtrace-demangle.bz2: New file.
1448 * testfile-backtrace-demangle.cc: New file.
1449 * testfile-backtrace-demangle.core.bz2: New file.
1451 2014-01-07 Matthias Klose <doko@ubuntu.com>
1453 * backtrace-subr.sh (check_native_core): Check to see if core file
1454 was created without ".PID" extension, if so mv core to core.PID.
1455 Skip test if no core file was created or could be found.
1457 2014-01-04 Mark Wielaard <mjw@redhat.com>
1459 * backtrace-data.c (main): Don't assert if raise returns.
1460 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1461 assume_ptrace_attached true.
1462 (ptrace_detach_stopped): Removed function.
1463 (main): Don't call ptrace_detach_stopped.
1464 * backtrace.c (ptrace_detach_stopped): Removed function.
1465 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1467 (exec_dump): Don't call ptrace_detach_stopped.
1469 2014-01-04 Mark Wielaard <mjw@redhat.com>
1471 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1472 if we cannot adjust core ulimit.
1474 2014-01-04 Mark Wielaard <mjw@redhat.com>
1476 * cleanup-13.c (force_unwind_stop): Removed.
1477 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1478 don't call _Unwind_ForcedUnwind.
1480 2014-01-03 Mark Wielaard <mjw@redhat.com>
1482 * run-addrcfi.sh: Add case for EM_AARCH64.
1483 * testfileaarch64.bz2: New testfile.
1484 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1486 2013-12-30 Mark Wielaard <mjw@redhat.com>
1488 * backtrace-dwarf.c (report_pid): Explicitly call
1489 dwfl_linux_proc_attach and check for errors.
1490 * backtrace.c (report_pid): Likewise.
1492 2013-12-21 Mark Wielaard <mjw@redhat.com>
1494 * backtrace.c (callback_verify): Only assert that case 5 is the last
1495 instruction of backtracegen on x86_64 native.
1497 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1498 Mark Wielaard <mjw@redhat.com>
1500 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1501 and testfilebaz*ppc64*.bz2 files.
1502 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
1503 error on dwfl_module_getsymtab error.
1504 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1505 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1506 Also print section of actual value if different from sym.
1507 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1508 Test addr2line -x by showing different sections for address and
1509 found name in testfile66.
1510 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1511 testfilebaz*ppc64): New tests.
1512 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1513 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1514 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1515 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1516 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1517 testfilebaztabppc64.bz2: New test files.
1519 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1521 unwinder: s390 and s390x
1522 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1523 run-backtrace-core-s390.sh.
1524 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1525 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1526 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1527 * backtrace.s390.core.bz2: New file.
1528 * backtrace.s390.exec.bz2: New file.
1529 * backtrace.s390x.core.bz2: New file.
1530 * backtrace.s390x.exec.bz2: New file.
1531 * run-backtrace-core-s390.sh: New file.
1532 * run-backtrace-core-s390x.sh: New file.
1534 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1536 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1539 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1542 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1543 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1544 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1545 * backtrace.ppc.core.bz2: New file.
1546 * backtrace.ppc.exec.bz2: New file.
1547 * run-backtrace-core-ppc.sh: New file.
1549 2013-12-10 Mark Wielaard <mjw@redhat.com>
1551 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1553 2013-12-10 Mark Wielaard <mjw@redhat.com>
1555 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1556 * backtrace-subr.sh (check_native_core): Disable valgrind while
1558 * run-backtrace-data.sh: Disable valgrind.
1559 * run-backtrace-dwarf.sh: Likewise.
1561 2013-12-09 Mark Wielaard <mjw@redhat.com>
1563 * varlocs.c (print_expr): Update comment to explain empty location
1564 associated with DW_OP_GNU_implicit_pointer.
1566 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1568 Fix test FAIL with -O2.
1569 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1571 2013-12-05 Mark Wielaard <mjw@redhat.com>
1573 * backtrace-data.c (main): If unsupported also print to stderr.
1574 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1576 2013-12-04 Mark Wielaard <mjw@redhat.com>
1578 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1580 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1582 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1583 backtrace-data and backtrace-dwarf.
1584 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1585 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1586 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1587 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1588 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1589 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1590 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1591 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1592 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1593 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1594 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1595 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1596 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1597 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1599 * backtrace-child.c: New file.
1600 * backtrace-data.c: New file.
1601 * backtrace-dwarf.c: New file.
1602 * backtrace-subr.sh: New file.
1603 * backtrace.c: New file.
1604 * cleanup-13.c: New file.
1605 * backtrace.i386.core.bz2: New file.
1606 * backtrace.i386.exec.bz2: New file.
1607 * backtrace.x86_64.core.bz2: New file.
1608 * backtrace.x86_64.exec.bz2: New file.
1609 * run-backtrace-core-i386.sh: New file.
1610 * run-backtrace-core-x86_64.sh: New file.
1611 * run-backtrace-native-biarch.sh: New file.
1612 * run-backtrace-native-core-biarch.sh: New file.
1613 * run-backtrace-native-core.sh: New file.
1614 * run-backtrace-native.sh: New file.
1615 * run-backtrace-data.sh: New file.
1616 * run-backtrace-dwarf.sh: New file.
1618 2013-11-27 Mark Wielaard <mjw@redhat.com>
1620 * dwflsyms.c (gelf_bind_order): New function.
1621 (elf_section_name): Likewise.
1622 (addr_in_section): Likewise.
1623 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1624 Refine assert using gelf_bind_order. Print elf_section_name. Check
1625 bias with addr_in_section.
1626 * run-dwflsyms.sh: Add section names to expected output.
1628 2013-11-26 Mark Wielaard <mjw@redhat.com>
1630 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1632 2013-11-25 Petr Machata <pmachata@redhat.com>
1634 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1635 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1636 * Makefile.am (EXTRA_DIST): Add these.
1637 (TESTS): Add run-funcretval.sh.
1638 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1639 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1640 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1641 * run-funcretval.sh: New file.
1643 2013-11-18 Josh Stone <jistone@redhat.com>
1645 * testfilebazdbg_plr.bz2: New testfile.
1646 * testfilebazmin_plr.bz2: Likewise.
1647 * Makefile.am (EXTRA_DIST): Add the above files.
1648 * run-dwflsyms.sh: Add prelink -r tests.
1650 2013-11-15 Mark Wielaard <mjw@redhat.com>
1652 * testfilebazmdb.bz2: Regenerated.
1653 * testfilebazmin.bz2: Likewise.
1654 * testfilebazdbg_pl.bz2: New testfile.
1655 * testfilebazmin_pl.bz2: Likewise.
1656 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1657 testfilebazmin_pl.bz2.
1658 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1659 print relative address of function symbols.
1660 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1662 2013-11-01 Michael Forney <mforney@mforney.org>
1664 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1665 * run-arsymtest.sh: Use NM.
1667 2013-11-05 Mark Wielaard <mjw@redhat.com>
1669 * allfcts.c (main): Correct dwarf_getfuncs return value check.
1671 2013-10-10 Mark Wielaard <mjw@redhat.com>
1672 Josh Stone <jistone@redhat.com>
1674 * run-allfcts-multi.sh: New test.
1675 * test-offset-loop.bz2: New testfile.
1676 * test-offset-loop.alt.bz2: New testfile.
1677 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1678 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1679 test-offset-loop.alt.bz2.
1681 2013-10-15 Mark Wielaard <mjw@redhat.com>
1683 * run-unstrip-M.sh: New test.
1684 * Makefile.am (TESTS): Add run-unstrip-M.sh.
1685 (EXTRA_DIST): Likewise.
1687 2013-10-06 Mark Wielaard <mjw@redhat.com>
1689 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1690 location expression.
1692 2013-10-03 Josh Stone <jistone@redhat.com>
1694 * typeiter2.c: New file, reversing typeiter.c.
1695 * run-typeiter.sh: Also run typeiter2.
1696 * Makefile.am (check_PROGRAMS): Add typeiter2.
1697 (typeiter2_LDADD): New variable.
1699 2013-09-26 Petr Machata <pmachata@redhat.com>
1701 * run-readelf-mixed-corenote.sh: Update output of testfile71
1702 dump--readelf can newly decode the NT_FILE note.
1704 2013-09-26 Petr Machata <pmachata@redhat.com>
1706 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
1707 * run-readelf-mixed-corenote.sh: New test for this file.
1708 * testfile71.bz2: New file.
1710 2013-09-20 Mark Wielaard <mjw@redhat.com>
1712 * allfcts.c (cb): Return DWARF_CB_ABORT.
1713 (main): Iterate over all offsets returned by dwarf_getfuncs.
1714 * run-allfcts.sh: Add nested_funcs and class_func testcases.
1715 * testfile_nested_funcs.bz2: New test file.
1716 * testfile_class_func.bz2: Likewise.
1717 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
1718 testfile_nested_funcs.bz2.
1720 2013-08-30 Mark Wielaard <mjw@redhat.com>
1722 * Makefile.am (check_PROGRAMS): Add varlocs.
1723 (TESTS): Add run-varlocs.sh.
1724 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
1725 testfile_const_type.bz2, testfile_implicit_pointer.c,
1726 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1727 testfile_entry_value.c, testfile_entry_value.bz2,
1728 testfile_implicit_value.c and testfile_implicit_value.bz2.
1729 (varlocs_LDADD): New.
1730 * run-varlocs: New test.
1731 * testfile_const_type.c: New test source file.
1732 * testfile_entry_value.c: Likewise.
1733 * testfile_implicit_pointer.c: Likewise.
1734 * testfile_implicit_value.c: Likewise.
1735 * testfile_parameter_ref.c: Likewise.
1736 * testfile_const_type.bz2: New test file.
1737 * testfile_entry_value.bz2: Likewise.
1738 * testfile_implicit_pointer.bz2: Likewise.
1739 * testfile_implicit_value.bz2: Likewise.
1740 * testfile_parameter_ref.bz2: Likewise.
1741 * varlocs.c: New test source.
1743 2013-08-29 Mark Wielaard <mjw@redhat.com>
1745 * run-addrcfi.sh: Add case for EM_ARM.
1746 * testfilearm.bz2: New testfile.
1747 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1749 2013-08-28 Mark Wielaard <mjw@redhat.com>
1751 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1753 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1754 * testfiles390.bz2: New testfile.
1755 * testfiles390x.bz2: Likewise.
1756 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1759 2013-08-28 Mark Wielaard <mjw@redhat.com>
1761 * addrcfi.c (handle_cfi): Use printf not error.
1762 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1763 * testfileppc32.bz2: New testfile.
1764 * testfileppc64.bz2: Likewise.
1765 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1768 2013-08-27 Mark Wielaard <mjw@redhat.com>
1770 * run-addrcfi.sh: New test.
1771 * Makefile.am (TESTS): Add run-addrcfi.sh.
1772 (EXTRA_DIST): Likewise.
1773 * addrcfi.c (op_name): New function.
1774 (print_detail): Call and print op_name. Check ops, not result
1775 to check if this is "same value" or "undefined".
1776 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1778 2013-08-13 Mark Wielaard <mjw@redhat.com>
1780 * run-addr2line-i-test.sh: New test.
1781 * testfile-inlines.bz2: New testfile.
1782 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1783 testfile-inlines.bz2.
1784 (TESTS): Add run-addr2line-i-test.sh.
1786 2013-08-12 Mark Wielaard <mjw@redhat.com>
1788 * run-addr2line-test.sh: New test.
1789 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1792 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1794 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1797 2013-07-02 Mark Wielaard <mjw@redhat.com>
1799 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1800 testfilenolines.bz2.
1802 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1804 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1805 test-core.core.bz2 and test-core.exec.bz2.
1806 * run-addrname-test.sh: New test for these files.
1807 * run-unstrip-n.sh: Update expected output. New test for these files.
1808 * test-core-lib.so.bz2: New file.
1809 * test-core.core.bz2: New file.
1810 * test-core.exec.bz2: New file.
1812 2013-05-03 Mark Wielaard <mjw@redhat.com>
1814 * testfilenolines.bz2: New test file.
1815 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1816 * run-get-lines.sh: Run testrun_compare on testfilenolines.
1818 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1820 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1822 2013-04-29 Mark Wielaard <mjw@redhat.com>
1824 * test-subr.sh: Don't use pushd, just cd into test-dir.
1825 (exit_cleanup): Don't use popd, just cd .. to get out.
1827 2013-04-27 Mark Wielaard <mjw@redhat.com>
1829 * test-subr.sh (exit_cleanup): New function.
1830 (trap): Use exit_cleanup as argument.
1831 * run-native-test.sh (native_exit): New function.
1832 (trap): For EXIT (0) use native_exit as argument.
1834 2013-04-27 Mark Wielaard <mjw@redhat.com>
1836 * update1.c (main): Use unique tempfile name and unlink file.
1837 * update2.c (main): Likewise.
1838 * update3.c (main): Likewise.
1839 * update4.c (main): Use unique tempfile name.
1841 2013-04-27 Mark Wielaard <mjw@redhat.com>
1843 * run-alldts.sh: Add testfile-alldts to tempfiles.
1844 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1845 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1846 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1847 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1849 2013-04-26 Mark Wielaard <mjw@redhat.com>
1851 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1853 (TESTS_ENVIRONMENT): Likewise.
1854 (installed_LOG_COMPILER): New variable defining wrapper.
1855 (LOG_COMPILER): Likewise.
1856 * run-*.sh: Fixup location of input and output files.
1857 * test-subr.sh: Create test_dir, pushd to execute test in.
1858 (trap): Remove test_dir.
1859 (testfiles): Use abs_srcdir.
1860 (installed_testrun): Match on abs_builddir or abs_top_builddir.
1861 (self_test_files): Adjust path.
1863 2013-04-24 Mark Wielaard <mjw@redhat.com>
1865 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1867 2013-03-25 Mark Wielaard <mjw@redhat.com>
1869 * run-readelf-aranges.sh: New test.
1870 * testfilefoobarbaz.bz2: New test file.
1871 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1872 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1874 2013-03-25 Mark Wielaard <mjw@redhat.com>
1876 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1878 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1880 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1881 (TESTS): Add run-dwfl-report-elf-align.sh.
1882 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1883 testfile-dwfl-report-elf-align-shlib.so.bz2 .
1884 (dwfl_report_elf_align_LDADD): New.
1885 * dwfl-report-elf-align.c: New file.
1886 * run-dwfl-report-elf-align.sh: New file.
1887 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1889 2013-03-12 Mark Wielaard <mjw@redhat.com>
1891 * run-dwfllines.sh: New test.
1892 * dwfllines.c: New test program.
1893 * Makefile.am (TESTS): Add run-dwfllines.sh.
1894 (EXTRA_DIST): Likewise.
1895 (dwfllines_LDADD): New variable.
1897 2013-02-22 Mark Wielaard <mjw@redhat.com>
1899 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1900 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1902 2013-02-15 Mark Wielaard <mjw@redhat.com>
1904 * testfile-dwzstr.bz2: New testfile.
1905 * testfile-dwzstr.multi.bz2: Likewise.
1906 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1907 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1908 testfile-dwzstr.multi.bz2.
1910 2013-01-30 Mark Wielaard <mjw@redhat.com>
1912 * testfileloc.bz2: New testfile.
1913 * run-readelf-loc.sh: New test.
1914 * Makefile.am (TESTS): Add run-readelf-loc.sh.
1915 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1917 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1919 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1920 and s390x core notes.
1921 * testfile67.bz2: New file.
1922 * testfile68.bz2: New file.
1923 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1925 2013-01-23 Mark Wielaard <mjw@redhat.com>
1927 * testfilebasmin.bz2: New testfile.
1928 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1929 * run-readelf-s.sh: Test testfilebasmin.
1930 * run-dwflsyms.sh: Likewise.
1932 2013-01-16 Mark Wielaard <mjw@redhat.com>
1934 * Makefile.am (check_PROGRAMS): Add dwflsyms.
1935 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1936 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1937 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1938 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1939 (dwflsyms_LDADD): New variable.
1941 2013-01-07 Roland McGrath <roland@hack.frob.com>
1943 * run-prelink-addr-test.sh: Use ln -snf.
1945 2012-12-03 Mark Wielaard <mjw@redhat.com>
1947 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1949 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1951 * run-addrname-test.sh: New test for PIE relocation.
1952 * testfile70.core.bz2: New file.
1953 * testfile70.exec.bz2: New file.
1954 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1955 testfile70.exec.bz2 .
1957 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1959 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1960 testfile69.core.bz2 and testfile69.so.bz2 .
1962 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1964 * run-addrname-test.sh: New test for DSO with build-id bias.
1965 * testfile69.core.bz2: New file.
1966 * testfile69.so.bz2: New file.
1968 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1970 * run-addrname-test.sh: New test for core vDSO bias.
1971 * testfile65.bz2: New file.
1973 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1975 * run-addrname-test.sh: New test for symbol preferences.
1976 * testfile64.bz2: New file.
1978 2012-10-01 Mark Wielaard <mjw@redhat.com>
1980 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1981 * test-wrapper.sh: Export VALGRIND_CMD if available.
1982 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1983 (installed_testrun): Likewise.
1985 2012-09-24 Petr Machata <pmachata@redhat.com>
1987 * testfile63.bz2: New testfile.
1988 * run-readelf-mixed-corenote.sh: New test.
1989 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1990 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
1992 2012-09-24 Petr Machata <pmachata@redhat.com>
1994 * testfile62.bz2: New testfile.
1995 * run-readelf-vmcoreinfo.sh: New test.
1996 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
1997 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
1999 2012-09-18 Petr Machata <pmachata@redhat.com>
2001 * testfile61.bz2: New testfile.
2002 * run-allregs.sh: Run reg_test testfile61.
2003 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
2005 2012-08-24 Mark Wielaard <mjw@redhat.com>
2007 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
2009 2012-08-22 Jeff Kenton <jkenton@tilera.com>
2011 * testfile60.bz2: New testfile.
2012 * run-allregs.sh: Run reg_test testfile60.
2014 2012-08-24 Mark Wielaard <mjw@redhat.com>
2016 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
2019 2012-08-16 Mark Wielaard <mjw@redhat.com>
2021 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
2023 * show-die-info.c (tagnames): Removed.
2025 (dwarf_tag_string): New function using known-dwarf macros.
2026 (dwarf_attr_string): Likewise.
2027 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
2028 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
2030 2012-06-27 Mark Wielaard <mjw@redhat.com>
2032 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
2033 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
2034 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
2035 testfile_multi_main.bz2.
2036 * run-readelf-dwz-multi.sh: New test.
2037 * libtestfile_multi_shared.so.bz2: New testfile.
2038 * testfile_multi.dwz.bz2: New testifle.
2039 * testfile_multi_main.bz2: New testifle.
2041 2012-08-01 Petr Machata <pmachata@redhat.com>
2043 * run-test-archive64.sh: New test.
2044 * testarchive64.a.bz2: New testfile.
2045 * Makefile.am (TESTS): Add run-test-archive64.sh.
2046 (EXTRA_DIST): Likewise.
2048 2012-08-01 Mark Wielaard <mjw@redhat.com>
2050 * run-nm-self.sh: New test.
2051 * run-readelf-self.sh: Likewise.
2052 * test-subr.sh (testrun_on_self_quiet): New function.
2053 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
2054 (EXTRA_DIST): Likewise.
2056 2012-08-01 Mark Wielaard <mjw@redhat.com>
2058 * test-subr.sh (self_test_files): New list of files.
2059 (testrun_on_self): New function.
2060 * run-elflint-self.sh: Use testrun_on_self.
2062 2012-07-19 Mark Wielaard <mjw@redhat.com>
2064 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
2065 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
2066 (EXTRA_DIST): Likewise.
2067 (test_elf_cntl_gelf_getshdr_LDADD): New.
2068 test-elf_cntl_gelf_getshdr.c: New test program.
2069 run-elf_cntl_gelf_getshdr.sh: New test script.
2071 2012-07-19 Mark Wielaard <mjw@redhat.com>
2073 * run-elflint-self.sh: runtests on ../backends/*so files.
2075 2012-07-19 Mark Wielaard <mjw@redhat.com>
2077 * run-unstrip-n.sh: test_cleanup.
2078 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
2080 2012-07-11 Mark Wielaard <mjw@redhat.com>
2082 * run-readelf-macro.sh: New test.
2083 * testfilemacro.bz2: New testfile.
2084 * Makefile.am (TESTS): Add run-readelf-macro.sh.
2085 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2087 2012-06-27 Mark Wielaard <mjw@redhat.com>
2089 * run-readelf-gdb-index.sh: New test.
2090 * testfilegdbindex5.bz2: New testfile.
2091 * testfilegdbindex7.bz2: Likewise.
2092 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
2093 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
2094 testfilegdbindex7.bz2.
2096 2012-07-17 Mark Wielaard <mjw@redhat.com>
2098 * testcore-rtlib-ppc.bz2: New testfile.
2099 * run-unstrip-n.sh: Check new ppc core testfile.
2101 2012-06-26 Mike Frysinger <vapier@gentoo.org>
2103 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
2105 2012-06-26 Mark Wielaard <mjw@redhat.com>
2107 * run-macro-test.sh: New test.
2108 * testfile-macinfo.bz2: New testfile.
2109 * testfile-macros.bz2: Likewise.
2111 2012-05-07 Mark Wielaard <mjw@redhat.com>
2113 * low_high_pc.c: Use proper inttypes in printf formats.
2115 2012-05-11 Mark Wielaard <mjw@redhat.com>
2117 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
2119 2012-05-07 Mark Wielaard <mjw@redhat.com>
2121 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
2123 2012-04-27 Mark Wielaard <mjw@redhat.com>
2125 * Makefile.am (TESTS): Add run-low_high_pc.sh
2126 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
2127 (noinst_PROGRAMS): Add low_high_pc.
2128 (low_high_pc_LDADD): New variable.
2129 * low_high_pc.c: New test.
2131 2012-04-26 Mark Wielaard <mjw@redhat.com>
2133 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
2134 * run-show-ciefde.sh: Removed old libdwarf test.
2135 * show-ciefde.c: Likewise.
2137 2012-04-02 Mark Wielaard <mjw@redhat.com>
2139 * Makefile.am (TESTS): Add run-unstrip-n.sh.
2140 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
2141 * run-unstrip-n.sh: New test.
2142 * testcore-rtlib.bz2: New testfile.
2144 2012-04-02 Mark Wielaard <mjw@redhat.com>
2146 * Makefile.am (TESTS): Add run-readelf-d.sh.
2147 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
2148 * run-readelf-d.sh: New test.
2149 * run-elflint-test.sh: Check new testfile.
2151 2012-03-21 Tom Tromey <tromey@redhat.com>
2153 * typeiter.c: New file.
2154 * run-typeiter.sh: New file.
2155 * testfile59.bz2: New file.
2156 * Makefile.am (noinst_PROGRAMS): Add typeiter.
2157 (TESTS): Add run-typeiter.sh.
2158 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
2159 (typeiter_LDADD): New variable.
2161 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
2163 * run-alldts.sh: testrun ./alldts.
2165 2012-02-21 Roland McGrath <roland@hack.frob.com>
2167 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
2168 * test-subr.sh (installed_testrun): Likewise.
2170 2012-01-18 Roland McGrath <roland@hack.frob.com>
2172 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
2173 it will have been inherited correctly from the test harness.
2174 * asm-tst5.c (main): Likewise.
2175 * asm-tst6.c (main): Likewise.
2176 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
2178 2011-07-09 Roland McGrath <roland@hack.frob.com>
2180 * sha1-tst.c: File removed.
2181 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
2182 (sha1_tst_LDADD): Variable removed.
2184 * md5-sha1-test.c: New file.
2185 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
2186 (md5_sha1_test_LDADD): New variable.
2188 2011-05-30 Mark Wielaard <mjw@redhat.com>
2190 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
2191 run-rerequest_tag.sh
2193 2011-05-24 Mark Wielaard <mjw@redhat.com>
2195 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
2196 * run-strip-reloc.sh: Add hello_s390.ko testcase.
2197 * hello_s390.ko.bz2: New test file.
2199 2011-05-23 Mark Wielaard <mjw@redhat.com>
2201 * Makefile.am (TESTS): Add run-strip-reloc.sh.
2202 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
2203 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
2204 * run-strip-reloc.sh: New test.
2205 * hello_i386.ko.bz2: New test file.
2206 * hello_x86_64.ko.bz2: Likewise.
2207 * hello_ppc64.ko.bz2: Likewise.
2209 2011-05-18 Mark Wielaard <mjw@redhat.com>
2211 * run-strip-groups.sh: New test.
2212 * testfile58.bz2: New test file.
2213 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
2214 (TESTS): Add run-strip-groups.sh.
2215 (EXTRA_DIST): Likewise.
2217 2011-03-28 Marek Polacek <mpolacek@redhat.com>
2219 * alldts.c: New file.
2220 * run-alldts.sh: Use it.
2221 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2222 (alldts_LDADD): New variable.
2224 2011-03-02 Marek Polacek <mpolacek@redhat.com>
2226 * dwarf-getstring.c: New test.
2227 * run-dwarf-getstring.sh: And its wrapper.
2228 * Makefile.am (EXTRA_DIST): Add and update all.
2230 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2232 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
2233 * run-readelf-twofiles.sh: New file.
2235 2011-02-25 Mark Wielaard <mjw@redhat.com>
2237 * Makefile.am (BUILD_RPATH): Be consistent in naming.
2239 2011-02-02 Josh Stone <jistone@redhat.com>
2241 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
2242 * testfile55-64.bz2, testfile55-64.debug.bz2,
2243 testfile55-64.prelink.bz2, testfile55-32.bz2,
2244 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2245 * Makefile.am (EXTRA_DIST): Add and update all.
2247 2011-01-12 Roland McGrath <roland@redhat.com>
2249 * run-prelink-addr-test.sh: Make symlinks to find .debug files
2250 corresponding to .noshdrs files.
2252 2011-01-11 Josh Stone <jistone@redhat.com>
2254 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2255 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2256 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2257 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2258 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2259 * Makefile.am (EXTRA_DIST): Add and update all.
2261 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2262 * testfile53.bz2, testfile53.debug.bz2,
2263 testfile53.prelink.bz2: Deleted, so...
2264 * testfile53-64.bz2, testfile53-64.debug.bz2,
2265 testfile53-64.prelink.bz2: Recreated with 64-bit names.
2266 * testfile53-32.bz2, testfile53-32.debug.bz2,
2267 testfile53-32.prelink.bz2: New in 32-bit.
2268 * Makefile.am (EXTRA_DIST): Add and update all.
2270 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2271 * testfile52.so.bz2, testfile52.so.debug.bz2,
2272 testfile52.prelink.so.bz2: Deleted, so...
2273 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2274 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2275 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2276 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
2277 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
2278 * Makefile.am (EXTRA_DIST): Add and update all.
2280 2011-01-10 Josh Stone <jistone@redhat.com>
2282 * run-prelink-addr-test.sh: New test for prelinked addrs.
2283 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2284 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2285 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2286 * testfile53.bz2, testfile53.debug.bz2: New data files.
2287 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2288 * Makefile.am (EXTRA_DIST): Add them.
2290 2010-06-04 Roland McGrath <roland@redhat.com>
2292 * run-unstrip-test.sh: Also test modifying the file in place.
2294 2010-04-22 Roland McGrath <roland@redhat.com>
2296 * addrcfi.c (handle_cfi): Fix function name in error message.
2297 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2299 2010-04-14 Roland McGrath <roland@redhat.com>
2301 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2303 2010-04-10 Ulrich Drepper <drepper@redhat.com>
2305 * msg_tst.c: Adjust expected error message.
2307 2010-04-01 Petr Machata <pmachata@redhat.com>
2309 * test-flag-nobits.c: New test.
2310 * run-test-flag-nobits.sh: And its wrapper.
2311 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2312 (test_flag_nobits_LDADD): New variable.
2314 2010-02-15 Roland McGrath <roland@redhat.com>
2316 * Makefile.am: Use config/eu.am for common stuff.
2318 * asm-tst9.c (main): Rename local to avoid shadowing another local.
2320 2009-07-22 Roland McGrath <roland@redhat.com>
2322 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2324 2009-07-08 Roland McGrath <roland@redhat.com>
2326 * addrcfi.c: New file.
2327 * Makefile.am (noinst_PROGRAMS): Add it.
2328 (addrcfi_LDADD): New variable.
2330 2009-05-07 Petr Machata <pmachata@redhat.com>
2332 * testfile51.bz2: New data file.
2333 * dwarf-getmacros.c: New test core.
2334 * run-dwarf-getmacros.sh: New test wrapper.
2335 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2336 (dwarf_getmacros_LDADD): New variable.
2338 2009-04-23 Ulrich Drepper <drepper@redhat.com>
2340 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2341 (rdwrmmap_LDADD): Add $(libmudflap).
2343 2009-04-21 Roland McGrath <roland@redhat.com>
2345 * testfile50.bz2: New data file.
2346 * Makefile.am (EXTRA_DIST): Add it.
2347 * run-dwfl-addr-sect.sh: Add a case using it.
2349 2008-12-31 Ulrich Drepper <drepper@redhat.com>
2351 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2352 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2353 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2354 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2355 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2356 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2357 roundss, roundps, roundpd, and roundsd.
2358 * testfile45.S.bz2: Likewise.
2359 * testfile44.expect.bz2: Adjust accordingly.
2360 * testfile45.expect.bz2: Likewise.
2362 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2363 * testfile45.S.bz2: Likewise.
2364 * testfile44.expect.bz2: Adjust accordingly.
2365 * testfile45.expect.bz2: Likewise.
2367 2008-12-30 Ulrich Drepper <drepper@redhat.com>
2369 * testfile44.S.bz2: Add tests for blendpd and blendps.
2370 * testfile45.S.bz2: Likewise.
2371 * testfile44.expect.bz2: Adjust accordingly.
2372 * testfile45.expect.bz2: Likewise.
2374 2008-12-19 Ulrich Drepper <drepper@redhat.com>
2376 * testfile44.S.bz2: Add tests for AMD 3DNOW.
2377 * testfile45.S.bz2: Likewise.
2378 * testfile44.expect.bz2: Adjust accordingly.
2379 * testfile45.expect.bz2: Likewise.
2381 2008-11-26 Roland McGrath <roland@redhat.com>
2383 * dwfl-bug-getmodules.c: New file.
2384 * Makefile.am (noinst_PROGRAMS): Add it.
2385 (dwfl_bug_getmodules_LDADD): New variable.
2387 2008-09-10 Roland McGrath <roland@redhat.com>
2389 * test-subr.sh (LC_ALL): Export it set to "C".
2390 * run-dwfl-addr-sect.sh: Don't do it here.
2391 * run-strings-test.sh: Likewise.
2393 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
2395 * run-addrname-test.sh: Add a new case.
2396 * testfile49.bz2: New data file.
2397 * Makefile.am (EXTRA_DIST): Add it.
2399 2008-04-10 Roland McGrath <roland@redhat.com>
2401 * testfile48.bz2, testfile48.bz2.debug: New data files.
2402 * Makefile.am (EXTRA_DIST): Add them.
2403 * run-strip-test8.sh: Use them.
2405 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2407 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2408 * run-strip-test8.sh: New file.
2409 * testfile47.bz2: New data file.
2410 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2412 2008-03-31 Roland McGrath <roland@redhat.com>
2414 * run-early-offscn.sh: New file.
2415 * early-offscn.c: New file.
2416 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2417 (early_offscn_LDADD): New variable.
2419 2008-03-19 Roland McGrath <roland@redhat.com>
2421 * run-addrname-test.sh: Add a new case.
2423 2008-02-22 Roland McGrath <roland@redhat.com>
2425 * run-elflint-test.sh: Typo fix.
2427 2008-02-21 Roland McGrath <roland@redhat.com>
2429 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2430 for the build down to minimum.
2431 * run-disasm-x86-64.sh: Likewise.
2433 2008-02-20 Roland McGrath <roland@redhat.com>
2435 * testfile46.bz2: New data file.
2436 * Makefile.am (EXTRA_DIST): Add it.
2437 * run-elflint-test.sh: Test on it.
2439 2008-02-01 Ulrich Drepper <drepper@redhat.com>
2441 * Makefile.am: Hook up sha1-tst.c.
2442 * sha1-tst.c: New file.
2444 2008-01-21 Roland McGrath <roland@redhat.com>
2446 * testfile45.S.bz2: Add tests for cltq, cqto.
2447 * testfile45.expect.bz2: Adjust.
2449 2008-01-14 Ulrich Drepper <drepper@redhat.com>
2451 * testfile45.S.bz2: Add more tests.
2452 * testfile45.expect.bz2: Adjust.
2454 2008-01-11 Ulrich Drepper <drepper@redhat.com>
2456 * testfile45.expect.bz2: Adjust for adding of address for %rip based
2459 2008-01-10 Ulrich Drepper <drepper@redhat.com>
2461 * testfile45.S.bz2: Add more tests.
2462 * testfile45.expect.bz2: Adjust.
2464 2008-01-08 Ulrich Drepper <drepper@redhat.com>
2466 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2467 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2468 run-disasm-x86-64.sh.
2469 * run-disasm-x86-64.sh: New file.
2470 * testfile45.S.bz2: New file.
2471 * testfile45.expect.bz2: New file.
2472 * testfile44.S.bz2: New tests.
2473 * testfile44.expect.bz2: Adjust.
2475 2008-01-04 Ulrich Drepper <drepper@redhat.com>
2477 * testfile44.S.bz2: New tests.
2478 * testfile44.expect.bz2: Adjust.
2480 2008-01-04 Roland McGrath <roland@redhat.com>
2482 * dwfl-bug-fd-leak.c (main): Add a cast.
2484 2008-01-03 Ulrich Drepper <drepper@redhat.com>
2486 * testfile44.S.bz2: New tests.
2487 * testfile44.expect.bz2: Adjust.
2489 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2491 * line2addr.c: Use %m modifier instead of %a to appease gcc.
2493 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2495 * testfile44.S.bz2: New tests.
2496 * testfile44.expect.bz2: Adjust.
2498 2007-12-31 Ulrich Drepper <drepper@redhat.com>
2500 * testfile44.S.bz2: New tests.
2501 * testfile44.expect.bz2: Adjust.
2503 2007-12-30 Ulrich Drepper <drepper@redhat.com>
2505 * testfile44.S.bz2: New tests.
2506 * testfile44.expect.bz2: Adjust.
2508 2007-12-29 Ulrich Drepper <drepper@redhat.com>
2510 * testfile44.s.bz2: New tests.
2511 * testfile44.expect.bz2: Adjust.
2513 2007-12-28 Ulrich Drepper <drepper@redhat.com>
2515 * testfile44.S.bz2: New tests.
2516 * testfile44.expect.bz2: Adjust.
2518 2007-12-27 Ulrich Drepper <drepper@redhat.com>
2520 * testfile44.S.bz2: New tests.
2521 * testfile44.expect.bz2: Adjust.
2523 2007-12-26 Ulrich Drepper <drepper@redhat.com>
2525 * testfile44.S.bz2: New tests.
2526 * testfile44.expect.bz2: Adjust
2528 2007-12-21 Ulrich Drepper <drepper@redhat.com>
2530 * testfile44.S.bz2: More tests.
2531 * testfile44.expect.bz2: Adjust appropriately.
2533 2007-12-19 Ulrich Drepper <drepper@redhat.com>
2535 * Makefile.am (TESTS): Add run-disasm.sh.
2536 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2537 testfile44.expect.bz2.
2538 * run-disasm.sh: New file.
2539 * testfile44.S.bz2: New file.
2540 * testfile44.expect.bz2: New file.
2542 2007-12-15 Roland McGrath <roland@redhat.com>
2544 * run-allregs.sh: Change expected output for powerpc spefscr.
2546 2007-10-20 Roland McGrath <roland@redhat.com>
2548 * run-dwfl-addr-sect.sh: Change expected output, no errors.
2550 2007-10-19 Roland McGrath <roland@redhat.com>
2552 * dwfl-addr-sect.c (handle_address): Return int.
2553 Don't exit on error, just return nonzero.
2554 (main): Collect results.
2555 * run-dwfl-addr-sect.sh: New file.
2556 * testfile43.bz2: New data file.
2557 * Makefile.am (EXTRA_DIST, TESTS): Add them.
2559 2007-10-18 Roland McGrath <roland@redhat.com>
2561 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2563 2007-10-16 Roland McGrath <roland@redhat.com>
2565 * test-subr.sh (remove_files): Don't pass -Bb to diff.
2567 2007-10-09 Roland McGrath <roland@redhat.com>
2569 * dwflmodtest.c (print_module): Don't use %p in output.
2570 * run-dwfl-bug-offline-rel.sh: Updated expected output.
2572 2007-10-08 Roland McGrath <roland@redhat.com>
2574 * testfile42.bz2: New data file.
2575 * Makefile.am (EXTRA_DIST): Add it.
2576 * run-elflint-test.sh: New test on that file.
2578 2007-10-04 Roland McGrath <roland@redhat.com>
2580 * run-readelf-test4.sh: New file.
2581 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2583 2007-10-03 Roland McGrath <roland@redhat.com>
2585 * run-readelf-test3.sh: New file.
2586 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2588 2007-10-01 Roland McGrath <roland@redhat.com>
2590 * run-readelf-test2.sh: New file.
2591 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2593 2007-09-11 Roland McGrath <roland@redhat.com>
2595 * run-addrname-test.sh: Add a new case.
2596 * testfile41.bz2: New data file.
2597 * Makefile.am (EXTRA_DIST): Add it.
2599 2007-08-23 Roland McGrath <roland@redhat.com>
2601 * run-allregs.sh: Update expected x86-64 output for %rflags.
2603 2007-08-12 Roland McGrath <roland@redhat.com>
2605 * run-strip-test7.sh: New file.
2606 * testfile39.bz2: New data file.
2607 * testfile40.bz2: New data file.
2608 * testfile40.debug.bz2: New data file.
2609 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2611 2007-08-09 Roland McGrath <roland@redhat.com>
2613 * dwfl-bug-report.c: Fix header inclusion.
2615 2007-08-08 Roland McGrath <roland@redhat.com>
2617 * run-addrname-test.sh: Add a new case using addr2line -S.
2618 * testfile38.bz2: New data file.
2619 * Makefile.am (EXTRA_DIST): Add it.
2621 2007-07-16 Roland McGrath <roland@redhat.com>
2623 * dwfl-bug-report.c: New file.
2624 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2625 (dwfl_bug_report_LDADD): New variable.
2627 2007-06-06 Roland McGrath <roland@redhat.com>
2629 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2631 2007-06-05 Ulrich Drepper <drepper@redhat.com>
2633 * Makefile.am (EXTRA_DIST): Add missing line continuation and
2634 testfile37.bz and testfile37.debug.bz2.
2636 2007-05-23 Roland McGrath <roland@redhat.com>
2638 * run-allregs.sh: Update expected Alpha results.
2640 2007-05-18 Roland McGrath <roland@redhat.com>
2642 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2643 * testfile37.bz2: New data file.
2644 * testfile37.debug.bz2: New data file.
2645 * run-unstrip-test2.sh: New file.
2646 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2648 2007-05-10 Roland McGrath <roland@redhat.com>
2650 * run-dwfl-bug-offline-rel.sh: New file.
2651 * testfile36.bz2: New data file.
2652 * testfile36.debug.bz2: New data file.
2653 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2655 2007-04-28 Roland McGrath <roland@redhat.com>
2657 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2658 * testfile35.bz2: New data file.
2659 * testfile35.debug.bz2: New data file.
2660 * run-unstrip-test.sh: New file.
2661 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2663 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2665 2007-04-26 Roland McGrath <roland@redhat.com>
2667 * run-elflint-self.sh: Run all tests even if one fails.
2669 * run-allregs.sh: Add expected output for alpha.
2671 2007-04-24 Roland McGrath <roland@redhat.com>
2673 * run-strip-test.sh: When we saved the debug info, test unstrip too.
2675 2007-04-22 Roland McGrath <roland@redhat.com>
2677 * run-allregs.sh: Update expected register info.
2679 2007-04-16 Roland McGrath <roland@redhat.com>
2681 * dwfl-addr-sect.c: New file.
2682 * Makefile.am (noinst_PROGRAMS): Add it.
2683 (dwfl_addr_sect_LDADD): New variable.
2685 2007-04-05 Roland McGrath <roland@redhat.com>
2687 * get-files.c: Test dwarf_getsrcdirs.
2688 * run-get-files.sh: Update expected output.
2690 2007-04-01 Roland McGrath <roland@redhat.com>
2692 * run-allregs.sh: Updated expected output for x86_64.
2694 2007-03-04 Roland McGrath <roland@redhat.com>
2696 * dwfl-bug-fd-leak.c: New file.
2697 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2698 (dwfl_bug_fd_leak_LDADD): New variable.
2700 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
2701 show what files have been located.
2703 2007-02-02 Roland McGrath <roland@redhat.com>
2705 * run-addrname-test.sh: New file.
2706 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2707 * testfile34.bz2: New data file.
2708 * Makefile.am (EXTRA_DIST): Add it.
2710 2007-01-20 Roland McGrath <roland@redhat.com>
2712 * testfile33.bz2: New data file.
2713 * Makefile.am (EXTRA_DIST): Add it.
2714 * run-elflint-test.sh: Test on it too.
2716 2007-01-18 Roland McGrath <roland@redhat.com>
2718 * Makefile.am (CFLAGS): Don't molest it.
2720 2007-01-11 Roland McGrath <roland@redhat.com>
2722 * testfile32.bz2: New data file.
2723 * Makefile.am (EXTRA_DIST): Add it.
2724 * run-elflint-test.sh: Test on it too.
2726 2007-02-04 Ulrich Drepper <drepper@redhat.com>
2729 * Makefile (noinst_PROGRAMS): Add arls.
2731 * run-ranlib-test2.sh: Fix type in comment.
2733 2007-01-10 Ulrich Drepper <drepper@redhat.com>
2735 * run-elflint-self.sh (runtest): Show which file has the problem.
2737 2007-01-10 Roland McGrath <roland@redhat.com>
2739 * dwfl-bug-addr-overflow.c: New file.
2740 * Makefile.am (TESTS): Add it.
2741 (dwfl_bug_addr_overflow_LDADD): New variable.
2743 2006-12-17 Roland McGrath <roland@redhat.com>
2745 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2747 2006-09-05 Roland McGrath <roland@redhat.com>
2749 * run-strings-test.sh: Export LC_ALL=C for the test.
2751 2006-08-29 Roland McGrath <roland@redhat.com>
2753 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2754 * run-arsymtest.sh: Likewise.
2756 * run-native-test.sh (native.c compilation): Add some braces.
2758 2006-08-22 Roland McGrath <roland@redhat.com>
2760 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2761 (struct reginfo): New members bits, type.
2762 (one_register, match_register): Update to take new args,
2763 record and display new info.
2764 (main): Display new info.
2765 * run-allregs.sh: Update expected results.
2767 2006-08-03 Roland McGrath <roland@redhat.com>
2769 * run-allregs.sh: Add sparc cases.
2770 * testfile30.bz2: New data file.
2771 * testfile31.bz2: New data file.
2772 * Makefile.am (EXTRA_DIST): Add them.
2774 2006-07-21 Roland McGrath <roland@redhat.com>
2776 * allregs.c (struct reginfo): Increase size of name.
2777 (one_register): Assert that it's big enough.
2779 2006-04-04 Roland McGrath <roland@redhat.com>
2781 * run-bug1-test.sh: Test a second case, to cover both byte orders.
2782 * testfile29.bz2: New file.
2783 * testfile29.rdwr.bz2: New file.
2784 * Makefile.am (EXTRA_DIST): Add them.
2786 2006-04-04 Ulrich Drepper <drepper@redhat.com>
2788 * Makefile.am: Add rules to run run-bug1-test.sh.
2789 * rdwrmmap.c: New file.
2790 * run-bug1-test.sh: New file.
2791 * testfile28.bz2: New file.
2792 * testfile28.rdwr.bz2: New file.
2794 2006-03-09 Roland McGrath <roland@redhat.com>
2796 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2798 2006-03-01 Roland McGrath <roland@redhat.com>
2800 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2801 changes matching 3.0 spec.
2803 2006-01-13 Roland McGrath <roland@redhat.com>
2805 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2806 bash 3.1 whines when it's done in the trap 0 handler.
2808 2006-01-11 Roland McGrath <roland@redhat.com>
2810 * testfile26.bz2: New data file.
2811 * testfile27.bz2: New data file.
2812 * Makefile.am (EXTRA_DIST): Add them.
2813 * run-allregs.sh: Test s390 data.
2815 2005-12-14 Roland McGrath <roland@redhat.com>
2817 * run-native-test.sh: Redirect output from native test process.
2819 2005-12-13 Roland McGrath <roland@redhat.com>
2821 * allregs.c (main): Fail if we find no registers.
2823 * run-native-test.sh: New file.
2824 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2826 2005-12-10 Ulrich Drepper <drepper@redhat.com
2828 * run-readelf-test1.sh: New file.
2829 * Makefile.am (TESTS): Add run-readelf-test1.sh.
2830 (EXTRA_DIST): Likewise.
2832 2005-12-07 Roland McGrath <roland@redhat.com>
2834 * ecp.c (main): Use elf_end to clean up.
2836 2005-11-25 Roland McGrath <roland@redhat.com>
2838 * coverage.sh: Given -v argument, print names of unused files.
2840 * addrscopes.c (main): Use dwfl_end before return.
2841 * allregs.c (main): Likewise.
2842 * find-prologues.c (main): Likewise.
2843 * funcretval.c (main): Likewise.
2844 * funcscopes.c (main): Likewise.
2845 * line2addr.c (main): Likewise.
2847 * run-allregs.sh: New file.
2848 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2850 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2851 * Makefile.am (allregs_LDADD): Updated.
2853 * allregs.c: New file.
2854 * Makefile.am (noinst_PROGRAMS): Add it.
2855 (allregs_LDADD): New variable.
2857 2005-11-18 Roland McGrath <roland@redhat.com>
2859 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2860 * test-wrapper.sh: Likewise.
2862 2005-11-17 Roland McGrath <roland@redhat.com>
2864 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2865 environment for test-wrapper.sh.
2866 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2867 * test-subr.sh (installed_testrun): Likewise.
2868 Use explicit path in ${bindir}.
2870 * Makefile.am (installcheck-local): Fix typo in last change.
2872 2005-11-16 Roland McGrath <roland@redhat.com>
2874 * configure.ac: New file, for standalone build/dist of test suite.
2875 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2876 (asm_TESTS): New variable, broken out of ...
2877 (TESTS): ... here. Also remove msg_tst.
2878 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2879 (installed_TESTS_ENVIRONMENT): New variable.
2880 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2881 [!STANDALONE] (installcheck-local): Likewise.
2882 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2883 * addrscopes.c: Include <config.h>.
2884 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2885 * allfcts.c: Likewise.
2886 * asm-tst1.c: Likewise.
2887 * asm-tst2.c: Likewise.
2888 * asm-tst3.c: Likewise.
2889 * asm-tst4.c: Likewise.
2890 * asm-tst5.c: Likewise.
2891 * asm-tst6.c: Likewise.
2892 * asm-tst7.c: Likewise.
2893 * asm-tst8.c: Likewise.
2894 * asm-tst9.c: Likewise.
2895 * dwflmodtest.c: Likewise.
2896 * find-prologues.c: Likewise.
2897 * funcscopes.c: Likewise.
2898 * get-aranges.c: Likewise.
2899 * get-files.c: Likewise.
2900 * get-lines.c: Likewise.
2901 * get-pubnames.c: Likewise.
2902 * line2addr.c: Likewise.
2903 * newscn.c: Likewise.
2904 * show-abbrev.c: Likewise.
2905 * show-die-info.c: Likewise.
2906 * update3.c: Likewise.
2907 * update4.c: Likewise.
2908 * funcretval.c: Likewise.
2910 * dwflmodtest.c (print_instance): Don't use INTUSE.
2911 (options): Don't use N_ macro.
2913 2005-11-15 Roland McGrath <roland@redhat.com>
2915 * coverage.sh: Look in backends.
2916 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2917 (TESTS_ENVIRONMENT): Likewise.
2919 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2920 pass FUNCDIE direclty to dwfl_module_return_value_location.
2922 * Makefile.am (BUILD_RPATH): New variable.
2923 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2924 (tests_rpath): New variable.
2925 (installcheck-local): Pass it to test-wrapper.sh.
2926 * test-wrapper.sh: In "installed" format, take yes/no value
2927 for elfutils_tests_rpath, which export. When running a test
2928 binary for installcheck, exit 77.
2929 * test-subr.sh (installed_testrun): When running a test binary
2930 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2932 2005-11-14 Roland McGrath <roland@redhat.com>
2934 * test-subr.sh: New file.
2935 * test-wrapper.sh: New file.
2936 * Makefile.am (EXTRA_DIST): Add them.
2937 (AM_LDFLAGS): Variable removed.
2938 (TESTS_ENVIRONMENT): New variable.
2939 (installcheck-local): New target.
2940 * run-addrscopes.sh: Use test-subr.sh.
2941 * run-allfcts.sh: Likewise.
2942 * run-ecp-test.sh: Likewise.
2943 * run-ecp-test2.sh: Likewise.
2944 * run-elflint-self.sh: Likewise.
2945 * run-elflint-test.sh: Likewise.
2946 * run-find-prologues.sh: Likewise.
2947 * run-funcscopes.sh: Likewise.
2948 * run-get-aranges.sh: Likewise.
2949 * run-get-files.sh: Likewise.
2950 * run-get-lines.sh: Likewise.
2951 * run-get-pubnames.sh: Likewise.
2952 * run-line2addr.sh: Likewise.
2953 * run-ranlib-test.sh: Likewise.
2954 * run-ranlib-test2.sh: Likewise.
2955 * run-show-abbrev.sh: Likewise.
2956 * run-show-ciefde.sh: Likewise.
2957 * run-show-die-info.sh: Likewise.
2958 * run-strings-test.sh: Likewise.
2959 * run-strip-test.sh: Likewise.
2961 2005-11-13 Roland McGrath <roland@redhat.com>
2963 * funcretval.c: New file.
2964 * Makefile.am (noinst_PROGRAMS): Add it.
2965 (funcretval_LDADD): New variable.
2967 2005-11-09 Ulrich Drepper <drepper@redhat.com>
2969 * line2addr.c (handle_module): Add missing parameter to printf.
2971 2005-10-27 Roland McGrath <roland@redhat.com>
2973 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2974 * funcscopes.c (handle_function): Likewise.
2975 * dwflmodtest.c (print_inline, print_func): Likewise.
2976 * find-prologues.c (handle_function): Likewise.
2978 2005-10-27 Roland McGrath <roland@redhat.com>
2980 * run-find-prologues.sh: New file.
2981 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2983 * find-prologues.c (handle_function): Skip inlines.
2985 2005-10-25 Roland McGrath <roland@redhat.com>
2987 * find-prologues.c: New file.
2988 * Makefile.am (noinst_PROGRAMS): Add it.
2989 (find_prologues_LDADD): New variable.
2991 2005-09-02 Ulrich Drepper <drepper@redhat.com>
2993 * run-strings-test.sh: Remove strings.out in the end.
2995 2005-08-31 Ulrich Drepper <drepper@redhat.com>
2997 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
2998 * run-allfcts.sh: Likewise.
2999 * run-ecp-test.sh: Likewise.
3000 * run-ecp-test2.sh: Likewise.
3001 * run-elflint-test.sh: Likewise.
3002 * run-funcscopes.sh: Likewise.
3003 * run-get-aranges.sh: Likewise.
3004 * run-get-files.sh: Likewise.
3005 * run-get-lines.sh: Likewise.
3006 * run-get-pubnames.sh: Likewise.
3007 * run-line2addr.sh: Likewise.
3008 * run-ranlib-test2.sh: Likewise.
3009 * run-show-abbrev.sh: Likewise.
3010 * run-show-ciefde.sh: Likewise.
3011 * run-show-die-info.sh: Likewise.
3012 * run-strings-test.sh: Likewise.
3013 * run-strip-test.sh: Likewise.
3015 2005-08-30 Ulrich Drepper <drepper@redhat.com>
3017 * coverage.sh: Handle case where there is no .gcno file at all.
3019 2005-08-29 Ulrich Drepper <drepper@redhat.com>
3021 * Makefile.am (EXTRA_DIST): Add coverage.
3022 [GCOV]: Generate coverage summary after the tests ran
3023 * coverage.sh: New file.
3025 2005-08-28 Ulrich Drepper <drepper@redhat.com>
3027 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
3028 (CLEANFILES): Add *.gcno *.gcda *.gconv.
3030 2005-08-28 Ulrich Drepper <drepper@redhat.com>
3032 * run-strings-test.sh: New file.
3033 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3035 2005-08-27 Roland McGrath <roland@redhat.com>
3037 * addrscopes.c (handle_address): Apply bias to PC addresses.
3039 * run-funcscopes.sh: New file.
3040 * testfile25.bz2: New data file.
3041 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3043 2005-08-26 Roland McGrath <roland@redhat.com>
3045 * addrscopes.c (dwarf_diename_integrate): Removed.
3046 (print_vars, handle_address): Use plain dwarf_diename.
3048 2005-08-25 Roland McGrath <roland@redhat.com>
3050 * funcscopes.c: New file.
3051 * Makefile.am (noinst_PROGRAMS): Add it.
3052 (funcscopes_LDADD): New variable.
3054 * run-addrscopes.sh: Add another case.
3055 * testfile24.bz2: New data file.
3056 * Makefile.am (EXTRA_DIST): Add it.
3058 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
3059 pass it to dwarf_getscopes.
3060 (main): Pass it, true when '=' follows an address.
3062 2005-08-24 Roland McGrath <roland@redhat.com>
3064 * line2addr.c (print_address): Omit () for DSOs.
3066 2005-08-24 Ulrich Drepper <drepper@redhat.com>
3068 * run-line2addr.sh: Remove testfile23 in the end.
3070 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
3071 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
3073 2005-08-22 Roland McGrath <roland@redhat.com>
3075 * run-line2addr.sh: Add a case.
3076 * testfile23.bz2: New data file.
3077 * Makefile.am (EXTRA_DIST): Add it.
3079 2005-08-18 Roland McGrath <roland@redhat.com>
3081 * run-addrscopes.sh: New file.
3082 * testfile22.bz2: New data file.
3083 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3085 * addrscopes.c: New file.
3086 * Makefile.am (noinst_PROGRAMS): Add it.
3087 (addrscopes_LDADD): New variable.
3089 2005-08-15 Ulrich Drepper <drepper@redhat.com>
3091 * run-elflint-self.sh: Don't run test if the file doesn't exist.
3093 2005-08-15 Roland McGrath <roland@redhat.com>
3095 * dwflmodtest.c (print_instance, print_inline): New functions.
3096 (print_func): Call print_inline.
3097 (options, parse_opt): Grok -i/--inlines.
3099 2005-08-07 Roland McGrath <roland@redhat.com>
3101 * dwflmodtest.c: Print function details only if -f flag is given.
3103 2005-08-06 Ulrich Drepper <drepper@redhat.com>
3105 * run-elflint-self.sh: New file.
3106 * Makefile.am (TESTS): Add run-elflint-self.sh.
3107 (EXTRA_DIST): Likewise.
3109 * Makefile.am: Link with statis libs if BUILD_STATIC.
3110 (dwflmodtest_LDADD): Also link with -ldl.
3112 2005-08-02 Ulrich Drepper <drepper@redhat.com>
3114 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
3115 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
3117 * asm-tst2.c: Likewise.
3118 * asm-tst3.c: Likewise.
3119 * asm-tst4.c: Likewise.
3120 * asm-tst5.c: Likewise.
3121 * asm-tst6.c: Likewise.
3122 * asm-tst7.c: Likewise.
3123 * asm-tst8.c: Likewise.
3124 * asm-tst9.c: Likewise.
3126 * msg_tst.c: Add new error message.
3128 2005-07-28 Ulrich Drepper <drepper@redhat.com>
3130 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
3132 2005-06-01 Roland McGrath <roland@redhat.com>
3134 * line2addr.c: Rewritten using libdwfl.
3135 * run-line2addr.sh: Update test for changed arguments.
3136 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
3137 (libdwfl): New variable.
3138 (line2addr_LDADD): Use it.
3140 2005-07-28 Roland McGrath <roland@redhat.com>
3142 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
3143 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
3144 (dwflmodtest_LDADD): New variable.
3145 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
3147 2005-07-21 Ulrich Drepper <drepper@redhat.com>
3149 * testfile18.bz2: New file.
3150 * run-elflint-test.sh: New file.
3151 * Makefile.am (TESTS): Add run-elflint-test.sh.
3152 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
3154 2005-05-24 Ulrich Drepper <drepper@redhat.com>
3156 * get-files.c (main): Use correct format specifier.
3158 2005-05-21 Ulrich Drepper <drepper@redhat.com>
3160 * Makefile.am: Add -Wextra to CFLAGS.
3161 * get-files.c: Remove warning this produced.
3162 * get-pubnames.c: Likewise.
3163 * newfile.c: Likewise.
3164 * newscn.c: Likewise.
3165 * scnnames.c: Likewise.
3166 * showptable.c: Likewise.
3167 * test-nlist.c: Likewise.
3168 * update1.c: Likewise.
3169 * update2.c: Likewise.
3170 * update3.c: Likewise.
3171 * update4.c: Likewise.
3173 2005-05-08 Ulrich Drepper <drepper@redhat.com>
3175 * run-line2addr.sh: Remove testfile14 at the end.
3177 * run-strip-test.sh: Remove debuginfo test input file as well.
3179 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
3182 2005-05-03 Roland McGrath <roland@redhat.com>
3184 * run-strip-test.sh: Use variables for test file names.
3185 Optionally produce separate debug file and check it.
3186 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
3187 * run-strip-test3.sh: Likewise.
3188 * run-strip-test4.sh: New file.
3189 * run-strip-test5.sh: New file.
3190 * run-strip-test6.sh: New file.
3191 * testfile15.bz: New file.
3192 * testfile15.debug.bz: New file.
3193 * testfile16.bz: New file.
3194 * testfile16.debug.bz: New file.
3195 * testfile17.bz: New file.
3196 * testfile17.debug.bz: New file.
3197 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3199 2005-04-25 Ulrich Drepper <drepper@redhat.com>
3201 * run-line2addr.sh: Also use testfile14. Adjust for correct
3202 return of multiple matches.
3203 * testfile14.bz2: New file.
3204 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
3206 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
3208 2005-04-04 Roland McGrath <roland@redhat.com>
3210 * line2addr.c (main): Initialize LINES and NLINES before calling
3211 dwarf_getsrc_file, and free LINES afterwards.
3213 * allfcts.c (main): Use size_t for CUHL.
3215 2005-04-04 Ulrich Drepper <drepper@redhat.com>
3217 * line2addr.c: New file.
3218 * run-line2addr.sh: New file.
3219 * Makefile.am: Add rules to build, run, and distribute new code.
3221 2005-04-02 Ulrich Drepper <drepper@redhat.com>
3223 * allfcts.c: New file.
3224 * run-allfcts.sh: New file.
3225 * Makefile.am: Add rules to build, run, and distribute new code.
3227 2005-02-05 Ulrich Drepper <drepper@redhat.com>
3229 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
3230 programs with -lmudflap.
3232 2004-09-25 Ulrich Drepper <drepper@redhat.com>
3234 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
3235 * asm-tst5.c (main): Likewise.
3236 * asm-tst6.c (main): Likewise.
3238 2004-01-17 Ulrich Drepper <drepper@redhat.com>
3240 * Makefile.am: Support building with mudflap.
3242 2004-01-12 Ulrich Drepper <drepper@redhat.com>
3244 * get-aranges.c: Rewrite to use libdw.
3245 * Makefile.am: Reenable get-aranges test.
3247 2004-01-11 Ulrich Drepper <drepper@redhat.com>
3249 * get-lines.c: New file.
3250 * get-files.c: Adjust for libdw.
3251 * run-get-files.sh: Adjust expected result.
3252 * run-get-lines.sh: Likewise.
3253 * Makefile.am: Run get-lines test. Don't run get-aranges and
3254 get-ciefde test for now.
3256 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3257 change. Print attribute offset information.
3258 * run-show-abbrev.sh: Adjust expected output.
3260 2004-01-09 Ulrich Drepper <drepper@redhat.com>
3262 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3263 * show-die-info.c: Likewise.
3264 * run-show-die-info.sh: Adjust expected output.
3266 2003-08-13 Ulrich Drepper <drepper@redhat.com>
3268 * Makefile.in: Depend on libebl.a, not libebl.so.
3270 2003-08-11 Ulrich Drepper <drepper@redhat.com>
3272 * Moved to CVS archive.