1 2019-01-24 Mark Wielaard <mark@klomp.org>
3 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
6 2019-01-31 Mark Wielaard <mark@klomp.org>
8 * backtrace-child.c (stdarg): Remove assert (errno == 0).
10 * backtrace-data.c (maps_lookup): Likewise.
11 (set_initial_registers): Likewise.
13 * backtrace.c (prepare_thread): Likewise.
14 (exec_dump): Likewise.
16 2019-01-29 Yonghong Song <yhs@fb.com>
18 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse
21 2019-01-18 Ulf Hermann <ulf.hermann@qt.io>
23 * run-annobingroup.sh: Use different files for strip output.
24 * run-strip-test-many.sh: Use different files for strip output,
25 check results of strip, unstrip, elflint.
27 2019-01-24 Mark Wielaard <mark@klomp.org>
29 * addsections.c (add_sections): Change the name of the old shstrtab
30 section to ".old_shstrtab" and give the old shstrtab name to the
33 2019-01-09 Ulf Hermann <ulf.hermann@qt.io>
35 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found.
37 2018-12-27 Jim Wilson <jimw@sifive.com>
39 * run-readelf-mixed-corenote.sh: Update with new riscv64 output.
41 2018-12-02 Mark Wielaard <mark@klomp.org>
43 * testfile_gnu_props.32le.o.bz2: New testfile.
44 * testfile_gnu_props.64le.o.bz2: Likewise.
45 * testfile_gnu_props.32be.o.bz2: Likewise.
46 * testfile_gnu_props.64be.o.bz2: Likewise.
47 * Makefile (EXTRA_DIST): Add new testfiles.
48 * run-readelf-n.sh: Run tests on new testfiles.
50 2018-11-28 Mark Wielaard <mark@klomp.org>
52 * backtrace-data.c (main): Improve error message.
53 * run-backtrace-data.sh: Skip exit 77 return.
55 2018-11-21 Mark Wielaard <mark@klomp.org>
57 * backtrace-subr.sh (check_unsupported): Call test_cleanup before
60 2018-11-17 Mark Wielaard <mark@klomp.org>
62 * run-strip-version.sh: New test.
63 * testfile-version.bz2: New test file.
64 * Makefile.am (TESTS): Add run-strip-version.sh.
65 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2.
67 2018-11-09 Mark Wielaard <mark@klomp.org>
69 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o
70 testfile-debug-rel-ppc64-g.o.
72 2018-11-12 Mark Wielaard <mark@klomp.org>
74 * run-readelf-n.sh: Add testfile-annobingroup.o test.
76 2018-11-11 Mark Wielaard <mark@klomp.org>
78 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test
81 2018-11-04 Mark Wielaard <mark@klomp.org>
83 * testfile-bpf-reloc.expect.bz2: Update with new expected jump
86 2018-10-20 Mark Wielaard <mark@klomp.org>
88 * run-readelf-compressed.sh: New test.
89 * Makefile.am (TESTS): Add run-readelf-compressed.sh.
90 (EXTRA_DIST): Likewise.
92 2018-11-09 Mark Wielaard <mark@klomp.org>
94 * testfile-debug-rel-ppc64-g.o.bz2: New test file.
95 * testfile-debug-rel-ppc64-z.o.bz2: Likewise.
96 * testfile-debug-rel-ppc64.o.bz2: Likewise.
97 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2,
98 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2.
99 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o.
100 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o.
102 2018-10-26 Mark Wielaard <mark@klomp.org>
104 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only.
106 2018-10-18 Mark Wielaard <mark@klomp.org>
108 * run-readelf-n.sh: New test.
109 * testfile-gnu-property-note.bz2: New testfile.
110 * testfile-gnu-property-note.o.bz2: Likewise.
111 * Makefile.am (TESTS): Add run-readelf-n.sh.
112 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2,
113 testfile-gnu-property-note.o.bz2.
115 2018-10-12 Mark Wielaard <mark@klomp.org>
117 * run-readelf-zdebug.sh: Adjust flags output.
118 * run-readelf-macro.sh: Likewise.
119 * run-readelf-macros.sh: New test.
120 * testfile-macros-object.o.bz2: New test file.
121 * Makefile.am (TESTS): Add run-readelf-macros.sh.
122 (EXTRA_DIST): Add run-readelf-macros.sh and
123 testfile-macros-object.o.bz2.
125 2018-09-12 Mark Wielaard <mark@klomp.org>
127 * run-annobingroup.sh: Add x86_64 ET_REL testcase.
128 * testfile-annobingroup-x86_64.o.bz2: New test file.
129 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2.
131 2018-09-18 Mark Wielaard <mark@klomp.org>
133 * backtrace-dwarf.c (thread_callback): Only error when
134 dwfl_thread_getframes returns an error.
135 (main): Don't call abort or assert but print an error when
136 something unexpected happens.
138 2018-09-13 Mark Wielaard <mark@klomp.org>
140 * run-strip-test-many.sh: New test.
141 * Makefile.am (TESTS): Add run-strip-test-many.sh.
142 (EXTRA_DIST): Likewise.
144 2018-09-13 Mark Wielaard <mark@klomp.org>
146 * run-typeiter-many.sh: New test.
147 * Makefile.am (TESTS): Add run-typeiter-many.sh.
148 (EXTRA_DIST): Likewise.
150 2018-09-13 Mark Wielaard <mark@klomp.org>
152 * run-copymany-sections.sh: New test.
153 * Makefile.am (TESTS): Add run-copymany-sections.sh.
154 (EXTRA_DIST): Likewise.
156 2018-09-12 Mark Wielaard <mark@klomp.org>
158 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections.
159 (TESTS): Add run-copyadd-sections.sh.
160 (EXTRA_DIST): Likewise.
161 (elfcopy_LDADD): New variable.
162 (addsections_LDADD): Likewise.
163 * addsections.c: New file.
164 * elfcopy.c: Likewise.
165 * run-copyadd-sections.sh: New test.
167 2018-09-11 Mark Wielaard <mark@klomp.org>
169 * backtrace-dwarf.c (main): Add section attribute.
171 2018-07-24 Mark Wielaard <mark@klomp.org>
173 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests.
174 * testfile-annobingroup-i386.o.bz2: New test file.
175 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2.
177 2018-07-21 Mark Wielaard <mark@klomp.org>
179 * run-annobingroup.sh: New test.
180 * testfile-annobingroup.o.bz2: New test file.
181 * Makefile.am (TESTS): Add run-annobingroup.sh.
182 (EXTRA_DIST): Add run-annobingroup.sh and
183 testfile-annobingroup.o.bz2.
185 2018-07-19 Andreas Schwab <schwab@suse.de>
187 * Makefile.am (TESTS): Add run-strip-test12.sh.
188 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2,
189 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2.
190 (run-strip-test11.sh): New file.
191 (testfile-riscv64.bz2): New file.
192 (testfile-riscv64-s.bz2): New file.
193 (testfile-riscv64-core.bz2): New file.
194 * run-allregs.sh: Add test for testfile-riscv64-core.
195 * run-readelf-mixed-corenote.sh: Likewise.
197 2018-07-16 Ulf Hermann <ulf.hermann@qt.io>
199 * run-strip-reloc.sh: Remove previous testfiles before running the
202 2018-07-17 Mark Wielaard <mark@klomp.org>
204 * hello_riscv64.ko.bz2: Updated with debuginfo.
205 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
207 2018-07-05 Mark Wielaard <mark@klomp.org>
209 * next_cfi.c (handle_section): Take a new argument name. Check
210 whether the section is compressed and uncompress if so.
211 (main): Check also for .zdebug_frame and pass the name of the
212 section to handle_section.
214 2018-07-04 Ross Burton <ross.burton@intel.com>
216 * addrscopes.c: Remove error.h include, add system.h include.
217 * allregs.c: Likewise.
218 * backtrace-data.c: Likewise.
219 * backtrace-dwarf.c: Likewise.
220 * backtrace.c: Likewise.
221 * buildid.c: Likewise.
222 * debugaltlink.c: Likewise.
223 * debuglink.c: Likewise.
224 * deleted.c : Likewise.
225 * dwarfcfi.c: Likewise.
226 * dwfl-addr-sect.c: Likewise.
227 * dwfl-bug-addr-overflow.c: Likewise.
228 * dwfl-bug-fd-leak.c: Likewise.
229 * dwfl-bug-getmodules.c: Likewise.
230 * dwfl-proc-attach.c: Likewise.
231 * dwfl-report-elf-align.c: Likewise.
232 * dwfllines.c: Likewise.
233 * dwflmodtest.c: Likewise.
234 * dwflsyms.c: Likewise.
235 * early-offscn.c: Likewise
237 * elfstrmerge.c: Likewise.
238 * find-prologues.c: Likewise.
239 * funcretval.c: Likewise.
240 * funcscopes.c: Likewise.
241 * getsrc_die.c: Likewise.
242 * line2addr.c: Likewise.
243 * low_high_pc.c: Likewise.
244 * next_cfi.c: Likewise.
245 * rdwrmmap.c: Likewise.
246 * saridx.c: Likewise.
247 * sectiondump.c: Likewise.
248 * varlocs.c: Likewise.
249 * vdsosyms.c: Likewise.
251 2018-06-28 Mark Wielaard <mark@klomp.org>
253 * next_cfi.c: New file.
254 * run-next-cfi.sh: New test.
255 * run-next-cfi-self.sh: Likewise.
256 * Makefile.am (check_PROGRAMS): Add next_cfi.
257 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh.
258 (EXTRA_DIST): Likewise.
259 (next_cfi_LDADD): New variable.
261 2018-06-27 Mark Wielaard <mark@klomp.org>
263 * dwarf_cfi.c: New file.
264 * run-dwarfcfi.sh: New test.
265 * testfile11-debugframe.bz2: New testfile.
266 * testfile12-debugframe.bz2: Likewise.
267 * testfileaarch64-debugframe.bz2: Likewise.
268 * testfilearm-debugframe.bz2: Likewise.
269 * testfileppc32-debugframe.bz2: Likewise.
270 * testfileppc64-debugframe.bz2: Likewise.
271 * Makefile.am (check_PROGRAMS): Add dwarfcfi.
272 (TESTS): Add run-dwarfcfi.sh.
273 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2,
274 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2,
275 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and
276 testfileppc64-debugframe.bz2.
278 2018-06-23 Mark Wielaard <mark@klomp.org>
280 * varlocs.c (print_expr): Take a new depth argument. Check it isn't
281 greater than MAX_DEPTH (64). Pass on to print_expr_block.
282 (print_expr_block): Take a new depth argument. Pass it to print_expr.
283 (print_expr_block_addrs): Call print_expr_block with zero depth.
285 2018-06-25 Mark Wielaard <mark@klomp.org>
287 * next-files.c: New file.
288 * next-lines.c: Likewise.
289 * run-next-files.sh: New test.
290 * run-next-lines.sh: Likewise.
291 * testfile-only-debug-line.bz2: New test file.
292 * Makefile.am (check_PROGRAMS): Add next-files and next-lines.
293 (TESTS): Add run-next-files.sh and run-next-lines.sh.
294 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and
295 testfile-only-debug-line.bz2.
296 (next_lines_LDADD): New variable.
297 (next_files_LDADD): Likewise.
299 2018-06-16 Yonghong Song <yhs@fb.com>
301 * run-reloc-bpf.sh: New test.
302 * testfile-bpf-reloc.o.bz2: New test file.
303 * testfile-bpf-reloc.expect.bz2: New test file.
304 * Makefile.am (TESTS): Add run-reloc-bpf.sh.
305 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and
306 testfile-bpf-reloc.expect.bz2.
308 2018-06-13 Mark Wielaard <mark@klomp.org>
310 * run-readelf-const-values.sh: New test.
311 * testfile-const-values.debug.bz2: New test file.
312 * run-readelf-zdebug-rel.sh: Adjust expected const_value.
313 * Makefile.am (TESTS): Add run-readelf-const-values.sh.
314 (EXTRA_DIST): Add run-readelf-const-values.sh and
315 testfile-const-values.debug.bz2.
317 2018-06-08 Mark Wielaard <mark@klomp.org>
319 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
320 target, do not assert.
322 2018-06-08 Mark Wielaard <mark@klomp.org>
324 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
325 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
327 2018-06-08 Mark Wielaard <mark@klomp.org>
329 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
330 actually is a cfi_debug.
332 2018-06-07 Mark Wielaard <mark@klomp.org>
334 * run-readelf-loc.sh: Fix expected output for startx_length.
336 2018-06-06 Mark Wielaard <mark@klomp.org>
338 * varlocs.c (print_base_type): Use error, not assert when the DIE
341 2018-06-02 Mark Wielaard <mark@klomp.org>
343 * test-subr.sh (self_test_files_exe): Drop shared libraries.
344 Keep addr2line, elfcmp, objdump and readelf.
346 2018-05-31 Mark Wielaard <mark@klomp.org>
348 * run-readelf-types.sh: New test.
349 * Makefile.am (TESTS): Add run-readelf-types.sh.
350 (EXTRA_DIST): Likewise.
352 2018-05-31 Mark Wielaard <mark@klomp.org>
354 * splitdwarf4-not-split4.dwo.bz2: New test file.
355 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
356 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
357 and testfile-splitdwarf4-not-split4.debug.
358 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
359 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
360 and testfile-splitdwarf4-not-split4.debug.bz2.
362 2018-05-31 Mark Wielaard <mark@klomp.org>
364 * test-subr.sh (self_test_files): Split into self_test_files_exe,
365 self_test_files_lib and self_test_obj.
366 (testrun_on_self_exe): New function.
367 (testrun_on_self_lib): Likewise.
368 * run-get-units-split.sh: Replace testrun_on_self with
369 testrun_on_self_exe and testrun_on_self_lib.
370 * run-unit-info.sh: Likewise.
372 2018-05-31 Mark Wielaard <mark@klomp.org>
374 * low_high_pc.c (handle_die): Handle NULL name. Print offset and
376 (main): Check if the cu DIE is a skeleton, then get and handle
378 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
379 testfile-splitdwarf-5. Run on all selftest files.
381 2018-05-31 Mark Wielaard <mark@klomp.org>
383 * get-units-invalid.c (main): Check dwarf_cuoffset and
386 2018-05-29 Mark Wielaard <mark@klomp.org>
388 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
389 type, gotten through dwarf_get_units.
390 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
391 split-dwarf-4, split-dwarf-5 and dwo files.
393 2018-05-29 Mark Wielaard <mark@klomp.org>
395 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
396 * run-varlocs.sh: Likewise.
398 2018-05-29 Mark Wielaard <mark@klomp.org>
400 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
402 2018-05-28 Mark Wielaard <mark@klomp.org>
404 * run-readelf-info-plus.sh: New test.
405 * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
406 (EXTRA_DIST): Likewise.
408 2018-04-29 Mark Wielaard <mark@klomp.org>
410 * run-readelf-addr.sh: New test.
411 * Makefile.am (TESTS): Add run-readelf-addr.sh.
412 (EXTRA_DIST): Likewise.
414 2018-04-27 Mark Wielaard <mark@klomp.org>
416 * run-readelf-ranges.sh: Adjust expected output for address base.
417 * run-readelf-addr.sh: New test.
418 * Makefile.am (TESTS): Add run-readelf-addr.sh.
419 (EXTRA_DIST): Likewise.
421 2018-04-07 Mark Wielaard <mark@klomp.org>
423 * run-varlocs.sh: Run on testfileranges5.debug and
424 testsplitfileranges5.debug.
425 * varlocs.c (is_debug): New bool.
426 (print_expr): Don't fail on missing CFI for is_debug.
427 (main): Parse --debug, set is_debug.
429 2018-04-12 Mark Wielaard <mark@klomp.org>
431 * run-readelf-loc.sh: Add new testcases.
433 2018-04-06 Mark Wielaard <mark@klomp.org>
435 * testfileranges5.debug.bz2: New testfile.
436 * testfilesplitranges5.debug.bz2: Likewise.
437 * testfile-ranges-hello5.dwo.bz2: Likewise.
438 * testfile-ranges-world5.dwo.bz2: Likewise.
439 * run-dwarf-ranges.sh: Run on testfileranges5.debug.
440 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
441 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
442 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
443 testfile-ranges-world5.dwo.bz2.
445 2018-04-11 Mark Wielaard <mark@klomp.org>
447 * run-readelf-ranges.sh: New test.
448 * Makefile.am (TESTS): Add run-readelf-ranges.sh.
449 (EXTRA_DIST): Likewise.
451 2018-05-21 Mark Wielaard <mark@klomp.org>
453 * addrx_constx-4.dwo.bz2: New testfile.
454 * addrx_constx-5.dwo.bz2: Likewise.
455 * testfile-addrx_constx-4.bz2: Likewise.
456 * testfile-addrx_constx-5.bz2: Likewise
457 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
458 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
459 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
460 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
461 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
462 (main): Handle split DWARF.
463 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
465 2018-05-20 Mark Wielaard <mark@klomp.org>
467 * unit-info.c: New test.
468 * run-unit-info.sh: New test runner.
469 * Makefile.am (check_PROGRAMS): Add unit-info.
470 (TESTS): Add run-unit-info.sh
471 (EXTRA_INFO): Likewise.
472 (unit_info_LDADD): New variable.
474 2018-05-24 Mark Wielaard <mark@klomp.org>
476 * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
477 * run-all-dwarf-ranges.sh: Correct expected output.
479 2018-05-18 Mark Wielaard <mark@klomp.org>
481 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
482 (TESTS): Add run-all-dwarf-ranges.sh.
483 (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
484 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
485 and testfile-ranges-world.dwo.bz2.
486 (all_dwarf_ranges_LDADD): New variable.
487 * all-dwarf-ranges.c: New test program.
488 * run-all-dwarf-ranges: New test runner.
489 * testfile-ranges-hello.dwo.bz2: New test file.
490 * testfile-ranges-world.dwo.bz2: Likewise.
491 * testfilesplitranges4.debug.bz2: Likewise.
493 2018-05-18 Mark Wielaard <mark@klomp.org>
495 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
496 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
497 testfile-hello5.dwo, testfile-world5.dwo.
499 2018-05-17 Mark Wielaard <mark@klomp.org>
501 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
502 (TESTS): Add run-attr-integrate-skel.
503 (EXTRA_DIST): Likewise.
504 (attr_integrate_skel_LDADD): New variable.
505 * attr-integrate-skel.c: New test.
506 * run-attr-integrate-skel.sh: New test runner.
508 2018-05-16 Mark Wielaard <mark@klomp.org>
510 * Makefile.am (check_PROGRAMS): Add get-units-split.
511 (TESTS): Add run-get-units-split.sh.
512 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
513 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
514 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
515 testfile-world4.dwo.bz2.
516 (get_units_split_LDADD): New variable.
517 * get-units-split.c: New test.
518 * run-get-units-split.sh: New test runner.
519 * testfile-dwarf-45.source: Extend with build instructions for new
521 * testfile-hello4.dwo.bz2: New test file.
522 * testfile-hello5.dwo.bz2: Likewise.
523 * testfile-splitdwarf-4.bz2: Likewise.
524 * testfile-splitdwarf-5.bz2: Likewise.
525 * testfile-world5.dwo.bz2 and: Likewise.
526 * testfile-world4.dwo.bz2: Likewise.
528 2018-05-09 Mark Wielaard <mark@klomp.org>
530 * run-readelf-zdebug.sh: Adjust test output for new header layout.
531 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
532 and testfile-dwarf-5.
534 2018-05-11 Mark Wielaard <mark@klomp.org>
536 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
537 (TESTS): Add run-get-units-invalid.sh.
538 (EXTRA_DIST): Likewise.
539 (get_units_invalid_LDADD): New variable.
540 * get-units-invalid.c: New test program.
541 * run-get-units-invalid.sh: New test program runner.
543 2018-05-05 Mark Wielaard <mark@klomp.org>
545 * testfile-dwarf-45.source: New file.
546 * testfile-dwarf-4.bz2: New test file.
547 * testfile-dwarf-5.bz2: Likewise.
548 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
550 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
551 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
553 2018-04-19 Andreas Schwab <schwab@suse.de>
555 * hello_riscv64.ko.bz2: New file.
556 * run-strip-reloc.sh: Test it.
557 * Makefile.am (EXTRA_DIST): Add it.
559 2018-04-16 Mark Wielaard <mark@klomp.org>
561 * testfile-ppc64-min-instr.bz2: New testfile.
562 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
563 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
565 2018-04-11 Mark Wielaard <mark@klomp.org>
567 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
569 2018-04-03 Mark Wielaard <mark@klomp.org>
571 * testfileranges4.debug.bz2: New testfile.
572 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
573 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
575 2018-03-06 Mark Wielaard <mark@klomp.org>
577 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
578 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
579 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
582 2018-02-16 Mark Wielaard <mark@klomp.org>
584 * backtrace-subr.sh (check_native_core): Check if there is any core,
587 2018-02-15 Mark Wielaard <mark@klomp.org>
589 * backtrace-child.c: Include signal.h after sys/ptrace.h.
590 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
593 2018-01-25 Mark Wielaard <mark@klomp.org>
595 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
596 (TESTS): Add run-dwarf-die-addr-die.sh.
597 (EXTRA_DIST): Likewise.
598 (dwarf_die_addr_die_LDADD): New variable.
599 * dwarf-die-addr-die.c: New file.
600 * run-dwarf-die-addr-die.sh: New test.
602 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
604 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
606 2018-01-22 Mark Wielaard <mark@klomp.org>
608 * allfcts.c (setup_alt): Print warning when alt file couldn't be
610 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
611 where it cannot be found by allfcts itself (but it can by libdw).
613 2018-01-25 Mark Wielaard <mark@klomp.org>
615 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
618 2018-01-14 Petr Machata <pmachata@gmail.com>
620 * testfile-sizes4.o.bz2: New test file.
621 * testfile-sizes4.s: New test source.
622 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
624 2017-12-23 Mark Wielaard <mark@klomp.org>
626 * backtrace-subr.sh (check_native_core): Use a lock file and try
627 to extract core using coredumpctl.
628 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
630 2017-12-11 Dima Kogan <dima@secretsauce.net>
632 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
633 * run-peel-type.sh: Likewise.
634 * testfile-sizes3.o.bz2: Likewise.
636 2017-12-07 Mark Wielaard <mark@klomp.org>
638 * run-readelf-variant.sh: New test.
639 * testfile-ada-variant.bz2: New testfile.
640 * Makefile.am (TESTS): Add run-readelf-variant.sh.
641 (EXTRA_DISTS): Add run-readelf-variant.sh and
642 testfile-ada-variant.bz2.
644 2017-11-29 Mark Wielaard <mark@klomp.org>
646 * run-readelf-loc.sh: Adjust expected loc list output.
647 * run-readelf-zdebug-rel.sh: Likewise.
648 * run-readelf-zdebug.sh: Likewise.
650 2017-11-29 Mark Wielaard <mark@klomp.org>
652 * run-readelf-loc.sh: Adjust expected range list output.
653 * run-readelf-zdebug.sh: Likewise.
655 2017-11-29 Mark Wielaard <mark@klomp.org>
657 * run-readelf-dwz-multi.sh: Add expected file names.
658 * run-readelf-zdebug-rel.sh: Likewise.
660 2017-11-29 Mark Wielaard <mark@klomp.org>
662 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
663 * run-readelf-zdebug-rel.sh: Likewise.
665 2017-11-29 Mark Wielaard <mark@klomp.org>
667 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
668 * run-readelf-loc.sh: Likewise.
669 * run-readelf-zdebug-rel.sh: Likewise.
670 * run-readelf-zdebug.sh: Likewise.
672 2017-11-16 Mark Wielaard <mark@klomp.org>
674 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
676 2017-11-10 Mark Wielaard <mark@klomp.org>
678 * run-exprlocs-self.sh: New test.
679 * run-varlocs-self.sh: Likewise.
680 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
682 (EXTRA_DIST): Likewise.
683 * varlocs.c (cfi_debug_bias): New global variable.
684 (is_ET_REL): Likewise.
685 (print_expr): Don't crash and burn when CFI cannot be found for an
686 ET_REL file for DW_OP_call_frame_cfa.
687 (handle_die): If there is no entry_pc pick the lowest pc start range
689 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
690 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
692 2017-11-03 Mark Wielaard <mark@klomp.org>
694 * run-exprlocs.sh: New test.
695 * testfile-stridex.bz2: New testfile.
696 * Makefile.am (TESTS): Add run-exprlocs.sh.
697 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
698 * varlocs.c (dwarf_tag_string): New function.
699 (dwarf_attr_string): Likewise.
700 (dwarf_form_string): Likewise.
701 (print_expr): Fix typo in error message.r
702 Handle DW_OP_GNU_variable_value.
703 (attr_arg): New struct.
704 (handle_attr): New function.
705 (handle_die): Likewise.
706 (main): Handle --exprlocs argument. Call handle_die.
708 2017-10-16 Mark Wielaard <mark@klomp.org>
710 * md5-sha1-test.c: Removed.
711 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
713 (md5_sha1_test_LDADD): Removed.
715 2017-10-04 Mark Wielaard <mark@klomp.org>
717 * msg_tst.c: Handle ELF_E_INVALID_ELF.
719 2017-09-10 Mark Wielaard <mark@klomp.org>
721 * run-ar.sh: New test.
722 * Makefile.am (TESTS): Add run-ar.sh.
723 (EXTRA_DIST): Likewise.
725 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
727 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
729 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
731 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
733 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
735 * run-strip-nothing.sh: Add -s.
737 2017-07-26 Mark Wielaard <mark@klomp.org>
739 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
741 2016-10-27 Mark Wielaard <mjw@redhat.com>
743 * dwarf_default_lower_bound.c: New test.
744 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
746 (dwarf_default_lower_bound_LDADD): New variable.
748 2017-07-21 Mark Wielaard <mark@klomp.org>
750 * get-lines.c (main): Add dwarf_line_file test.
752 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
754 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
755 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
757 2017-07-20 Mark Wielaard <mark@klomp.org>
759 * run-strip-g.sh: New test.
760 * Makefile.am (TESTS): Add run-strip-g.sh.
761 (EXTRA_DIST): Likewise.
763 2017-07-18 Mark Wielaard <mark@klomp.org>
765 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
767 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
769 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
771 2017-07-14 Mark Wielaard <mark@klomp.org>
773 * run-strip-remove-keep.sh: New test.
774 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
775 (EXTRA_DIST): Likewise.
777 2017-06-07 Mark Wielaard <mark@klomp.org>
779 * run-strip-nothing.sh: New test.
780 * Makefile.am (TESTS): Add run-strip-nothing.sh.
781 (EXTRA_DIST): Likewise.
783 2017-06-06 Mark Wielaard <mark@klomp.org>
785 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
787 2017-05-30 Mark Wielaard <mark@klomp.org>
789 * run-backtrace-fp-core-ppc64le.sh: New test.
790 * backtrace.ppc64le.fp.core.bz2: New test file.
791 * backtrace.ppc64le.fp.exec.bz2: New testfile.
792 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
793 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
794 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
795 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
797 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
798 Mark Wielaard <mark@klomp.org>
800 * Makefile.am: Add test for unwinding with frame pointers on aarch64
801 * backtrace.aarch64.fp.core.bz2: New file
802 * backtrace.aarch64.fp.exec.bz2: New file
803 * run-backtrace-fp-core-aarch64.sh: New file
804 * backtrace-subr.sh (check_err): Allow Invalid register.
805 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
807 2017-04-06 Mark Wielaard <mark@klomp.org>
809 * run-backtrace-fp-core-i386.sh: New test.
810 * backtrace.i386.fp.core.bz2: New test file.
811 * backtrace.i386.fp.exec.bz2: New testfile.
812 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
813 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
814 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
816 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
818 * Makefile.am: Add test for unwinding with frame pointers on x86_64
819 * backtrace.x86_64.fp.core.bz2: New file
820 * backtrace.x86_64.fp.exec.bz2: New file
821 * run-backtrace-fp-core-x86_64.sh: New file
823 2017-04-25 Mark Wielaard <mark@klomp.org>
825 * backtrace-subr.sh (check_backtracegen): New function.
826 (check_core): Add check_backtracegen call.
827 * backtrace.ppc.exec.bz2: Regenerated.
828 * backtrace.ppc.core.bz2: Likewise.
830 2017-04-24 Mark Wielaard <mark@klomp.org>
832 * backtrace.c: Remove option to allow unknown symbols in the trace.
833 * backtrace-substr.sh: Remove option to allow unknown symbols
834 to check_core() and allow failed symbol lookups in check_err().
836 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
838 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
840 * run-readelf-zdebug-rel.sh: Likewise.
842 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
844 * backtrace-child.c: Include sys/ptrace.h only on linux.
845 * backtrace-dwarf.c: Likewise.
847 2017-04-05 Mark Wielaard <mark@klomp.org>
849 * test-subr.sh (testrun_on_self_compressed): New function.
850 * run-elflint-self.sh: Call testrun_on_self_compressed.
851 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
853 2017-03-30 Mark Wielaard <mark@klomp.org>
855 * peel_type.c: New file.
856 * run-peel-type.sh: New test.
857 * Makefile.am (check_PROGRAMS): Add peel_type.c.
858 (TESTS): Add run-peel-type.sh.
859 (EXTRA_DIST): Likewise.
860 (peel_type_LDADD): New variable.
862 2017-03-27 Mark Wielaard <mark@klomp.org>
864 * fillfile.c: New file.
865 * Makefile.am (check_PROGRAMS): Add fillfile.
867 (fillfile_LDADD): New variable.
869 2017-02-15 Mark Wielaard <mark@klomp.org>
871 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
872 * run-readelf-A.sh: Add testfileppc64.o test.
874 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
876 * elfstrmerge.c: Include system.h.
878 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
880 * backtrace.c: Add an option to allow unknown symbols in the trace
881 * backtrace-substr.sh: Add an option to allow unknown symbols
882 to check_core() and allow failed symbol lookups in check_err()
884 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
886 * backtrace-data.c: Don't assert that symbols are found.
887 The unwinder is allowed to ask for invalid addresses. We deny
888 such requests, rather than make the test fail.
890 2016-11-17 Mark Wielaard <mjw@redhat.com>
892 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
894 2016-11-02 Mark Wielaard <mjw@redhat.com>
896 * backtrace-data.c (thread_callback): Add explicit break after error.
897 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
899 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
901 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
902 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
903 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
904 (run-unstrip-test4.sh): New file.
905 (testfile-strtab.bz2): New file.
906 (testfile-strtab.stripped.bz2): New file.
907 (testfile-strtab.debuginfo.bz2): New file.
909 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
911 * arextract.c: Remove sys/param.h include, add system.h include.
913 2016-08-30 Mark Wielaard <mjw@redhat.com>
915 * Makefile.am (asm_tst?_LDADD): Add libdw.
917 2016-08-25 Mark Wielaard <mjw@redhat.com>
919 * backtrace-child.c: Disable and add documentation about why we disable
920 RAISE_JMP_PATCHING even on x86_64.
921 * backtrace.c (is_x86_64_native): Rename to...
922 (use_raise_jmp_patching): ... this.
923 (callback_verify): Use use_raise_jmp_patching instead of
925 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
927 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
929 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
930 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
931 use_raise_jmp_patching instead of is_x86_64_native.
933 2016-08-24 Mark Wielaard <mjw@redhat.com>
935 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
937 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
939 * testfilesparc64attrs.o.bz2: New file.
940 * run-readelf-A.sh: Check attributes in a sparc object.
942 2016-08-06 Mark Wielaard <mjw@redhat.com>
944 * run-strip-reloc.sh: Add explicit compressed and uncompressed
947 2016-08-10 Richard Henderson <rth@redhat.com>
949 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
952 2016-07-08 Mark Wielaard <mjw@redhat.com>
954 * update3_LDADD: Use libdw instead of libebl.
955 * update4_LDADD: Likewise.
956 * alldts_LDADD: Likewise.
957 * elfstrmerge_LDADD: Likewise.
958 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
959 * elfstrmerge.c (release): Likewise.
961 * update3.c (main): Likewise.
962 * update4.c (main): Likewise.
964 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
966 * Makefile.am (TESTS): Add run-strip-test11.sh.
967 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
968 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
969 (run-strip-test11.sh): New file.
970 (hello_m68k.ko.bz2): New file.
971 (testfile-m68k-core.bz2): New file.
972 (testfile-m68k.bz2): New file.
973 (testfile-m68k-s.bz2): New file.
974 * run-allregs.sh: Add test for testfile-m68k-core.
975 * run-readelf-mixed-corenote.sh: Likewise.
976 * run-strip-reloc.sh: Add test for hello_m68k.ko.
978 2016-07-06 Mark Wielaard <mjw@redhat.com>
980 * Makefile.am (check_PROGRAMS): Add vendorelf.
982 (vendorelf_LDADD): New variable.
983 * vendorelf.c: New test.
984 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
986 2016-06-24 Mark Wielaard <mjw@redhat.com>
988 * Makefile.am (check_PROGRAMS): Add emptyfile.
990 (emptyfile_LDADD): New variable.
991 * emptyfile.c: New test.
993 2016-06-28 Richard Henderson <rth@redhat.com>
995 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
996 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
997 testfile-bpf-dis1.o.bz2
998 (run-disasm-bpf.sh): New file.
999 (testfile-bpf-dis1.expect.bz2): New file.
1000 (testfile-bpf-dis1.o.bz2): New file.
1002 2016-02-09 Mark Wielaard <mjw@redhat.com>
1004 * testfile-s390x-hash-both.bz2: New testfile.
1005 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
1006 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
1008 2016-02-04 Mark Wielaard <mjw@redhat.com>
1010 * run-strip-nobitsalign.sh: New test.
1011 * testfile-nobitsalign.bz2: New testfile.
1012 * testfile-nobitsalign.strip.bz2: Likewise.
1013 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
1014 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
1015 and testfile-nobitsalign.strip.bz2.
1016 * run-strip-test.sh: Add --gnu to elflint calls.
1018 2016-01-13 Mark Wielaard <mjw@redhat.com>
1020 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
1022 2016-01-13 Mark Wielaard <mjw@redhat.com>
1024 * dwfl-proc-attach.c: Guard linux specific header.
1026 2016-01-13 Mark Wielaard <mjw@redhat.com>
1028 * system-elf-libelf-test.c: New test.
1029 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
1030 (check_PROGRAMS): Likewise.
1031 (system_elf_libelf_test_CPPFLAGS): New variable.
1032 (system_elf_libelf_test_LDADD): Likewise.
1034 2016-01-08 Mark Wielaard <mjw@redhat.com>
1036 * elfputzdata.c (main): Fix parentheses in strncmp test.
1038 2016-01-08 Mark Wielaard <mjw@redhat.com>
1040 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
1042 2016-01-08 Mark Wielaard <mjw@redhat.com>
1044 * Makefile.am (TESTS): Always unconditionally add
1045 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
1047 2015-12-16 Mark Wielaard <mjw@redhat.com>
1049 * run-compress-test.sh: New test.
1050 * Makefile.am (TESTS): Add run-compress-test.sh.
1051 (EXTRA_DISTS): Likewise.
1053 2015-11-26 Mark Wielaard <mjw@redhat.com>
1055 * zstrptr.c: New file.
1056 * run-zstrptr.sh: New test.
1057 * elfputzdata.c (main): (re)compress .shstrtab.
1058 * run-elfputzdata.sh: Expect .shstrtab compression.
1059 * Makefile.am (check_PROGRAMS): Add zstrptr.
1060 (TESTS): Add run-zstrptr.sh.
1061 (EXTRA_DIST): Likewise.
1062 (zstrptr_LDADD): New variable.
1064 2015-10-20 Mark Wielaard <mjw@redhat.com>
1066 * run-readelf-zx.sh: New test.
1067 * run-readelf-zp.sh: Likewise.
1068 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
1069 (EXTRA_DIST): Likewise.
1071 2015-10-21 Mark Wielaard <mjw@redhat.com>
1073 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
1074 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
1075 (EXTRA_DIST: Likewise.
1076 (elfgetzdata_LDADD): New variable.
1077 (elfputzdata_LDADD): Likewise.
1078 * elfgetzdata.c: New file.
1079 * elfputzdata.c: Likewise.
1080 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
1081 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
1082 ELF_E_DECOMPRESS_ERROR.
1083 * run-elfgetzdata.sh: New test.
1084 * run-elfputzdata.sh: Likewise.
1086 2015-10-28 Mark Wielaard <mjw@redhat.com>
1088 * run-readelf-z.sh: New test.
1089 * Makefile.am (TESTS): Add run-readelf-z.sh.
1090 (EXTRA_DIST): Likewise.
1092 2015-10-28 Mark Wielaard <mjw@redhat.com>
1094 * elfgetchdr.c: New file.
1095 * run-elfgetchdr.sh: New test.
1096 * testfile-zgabi32.bz2: New testfile.
1097 * testfile-zgabi32be.bz2: Likewise.
1098 * testfile-zgabi64.bz2: Likewise.
1099 * testfile-zgabi64be.bz2: Likewise.
1100 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
1101 (TESTS): Add run-elfgetchdr.sh.
1102 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
1103 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
1104 (welfgetchdr_LDADD): New variable.
1105 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
1106 and ELF_E_INVALID_SECTION_FLAGS,
1109 2015-10-28 Mark Wielaard <mjw@redhat.com>
1111 * dwelfgnucompressed.c: New file.
1112 * run-dwelfgnucompressed.sh: New test.
1113 * testfile-zgnu32.bz2: New testfile.
1114 * testfile-zgnu64.bz2: Likewise.
1115 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
1116 (TESTS): Add run-dwelfgnucompressed.sh.
1117 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
1118 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
1119 (dwelfgnucompressed_LDADD): New variable.
1121 2015-12-31 Mark Wielaard <mjw@redhat.com>
1123 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
1124 * run-elfstrmerge-test.sh: New test.
1125 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
1126 (EXTRA_DIST): Likewise.
1128 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
1130 * run-backtrace-core-sparc.sh: New file.
1131 * backtrace.sparc.core.bz2: New file.
1132 * backtrace.sparc.exec.bz2: New file.
1133 * Makefile.am (EXTRA_DIST): ... and added all here.
1134 (TESTS): Added run-backtrace-core-sparc.sh.
1136 2015-12-02 Mark Wielaard <mjw@redhat.com>
1138 * Makefile.am (valgrind_cmd): Use --leak-check=full.
1139 * run-backtrace-demangle.sh: Disable valgrind.
1140 * run-stack-demangled-test.sh: Likewise.
1141 * run-stack-d-test.sh: Likewise.
1142 * run-stack-i-test.sh: Likewise.
1144 2015-12-01 Mark Wielaard <mjw@redhat.com>
1146 * test-flag-nobits.c (main): Call elf_end.
1147 * rerequest_tag.c (main): Call dwarf_end.
1148 * funcscopes.c (handle_function): Free scopes.
1149 * dwarf-getstring.c (main): Call dwarf_end.
1150 * allregs.c (main): Free state.info.
1151 * alldts.c (main): Free dyn.
1152 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
1154 * addrscopes.c (handle_address): Free scopes.
1156 2015-10-16 Mark Wielaard <mjw@redhat.com>
1158 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
1159 [BUILD_STATIC] (libelf): Likewise.
1161 2015-10-16 Mark Wielaard <mjw@redhat.com>
1163 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
1165 2015-10-09 Josh Stone <jistone@redhat.com>
1167 * lfs-symbols: New list of LFS-related symbols from lintian.
1168 * testfile-nolfs.bz2: New test binary for sanity checking.
1169 * run-lfs-symbols.sh: New test.
1170 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
1171 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
1173 * alldts.c (main): Replace open64 with open.
1174 * dwarf-getstring.c (main): Likewise.
1175 * arls.c: Include config.h.
1177 * rdwrmmap.c: Likewise.
1178 * test-elf_cntl_gelf_getshdr.c: Likewise.
1179 * test-flag-nobits.c: Include config.h.
1180 (main): Replace open64 with open.
1182 2015-10-09 Mark Wielaard <mjw@redhat.com>
1184 * elfshphehdr.c (check): Rename argument from check to statement.
1185 (check_elf): Likewise.
1187 2015-10-05 Josh Stone <jistone@redhat.com>
1189 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
1191 2015-10-02 Mark Wielaard <mjw@redhat.com>
1193 * elfstrmerge.c: New check program.
1194 * run-strip-strmerge.sh: New test.
1195 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
1196 (EXTRA_DIST): Add run-strip-strmerge.sh
1197 (elfstrmerge_LDADD): New variable.
1199 2015-09-29 Mark Wielaard <mjw@redhat.com>
1201 * elfshphehdr.c: New test.
1202 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
1204 (elfshphehdr_LDADD): New variable.
1206 2015-09-08 Mark Wielaard <mjw@redhat.com>
1208 * dwfl-proc-attach.c: New test.
1209 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
1211 (dwfl_proc_attach_LDADD): New variable.
1212 (dwfl_proc_attach_LDFLAGS): Likewise.
1214 2015-09-04 Chih-Hung Hsieh <chh@google.com>
1216 * varlocs.c (print_base_type): Initialize enctype.
1218 2015-09-04 Chih-Hung Hsieh <chh@google.com>
1220 * md5-sha1-test.c (md5_expected): Removed.
1221 (sha1_expected): Likewise.
1223 2015-09-04 Chih-Hung Hsieh <chh@google.com>
1225 * asm-tst1.c (main): Replace %Z length modifier with %z.
1226 * asm-tst2.c (main): Likewise.
1227 * asm-tst3.c (main): Likewise.
1228 * asm-tst4.c (main): Likewise.
1229 * asm-tst5.c (main): Likewise.
1230 * asm-tst6.c (main): Likewise.
1231 * asm-tst7.c (main): Likewise.
1232 * asm-tst8.c (main): Likewise.
1233 * asm-tst9.c (main): Likewise.
1234 * sectiondump.c (print_bytes): Likewise.
1236 2015-08-14 Mark Wielaard <mjw@redhat.com>
1238 * run-addr2line-alt-debugpath.sh: New test.
1239 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
1240 (EXTRA_DIST): Likewise.
1242 2015-07-29 Mark Wielaard <mjw@redhat.com>
1244 * run-unstrip-test3.sh: New test.
1245 * testfile-info-link.bz2: New file.
1246 * testfile-info-link.debuginfo.bz2: Likewise.
1247 * testfile-info-link.stripped.bz2: Likewise.
1248 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
1249 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
1250 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
1252 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
1254 * tests/run-deleted.sh: Skip when detecting a not implemented
1255 dwfl_linux_proc_attach.
1257 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
1259 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
1262 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
1264 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
1266 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
1268 * tests/backtrace-data.c: Reduce scope of some includes to match their
1270 * tests/backtrace.c: Likewise.
1271 * tests/deleted.c: Likewise.
1273 2015-06-16 Mark Wielaard <mjw@redhat.com>
1275 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
1276 for non-ET_REL files.
1278 2015-05-30 Mark Wielaard <mjw@redhat.com>
1280 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
1281 generated before skipping.
1282 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
1284 * run-backtrace-demangle.sh: Likewise.
1285 * run-stack-demangled-test.sh: Likewise.
1286 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
1288 * run-backtrace-native-core-biarch.sh: Likewise.
1289 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
1291 2015-05-20 Mark Wielaard <mjw@redhat.com>
1293 * run-addr2line-i-test.sh: Add pretty test.
1294 * run-addr2line-test.sh: Likewise.
1296 2015-05-20 Mark Wielaard <mjw@redhat.com>
1298 * run-addr2line-i-demangle-test.sh: New test.
1299 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
1300 (EXTRA_DIST): Likewise.
1302 2015-05-20 Mark Wielaard <mjw@redhat.com>
1304 * run-addr2line-test.sh: Add -a test variants.
1305 * run-addr2line-i-test.sh: Likewise.
1307 2015-05-20 Mark Wielaard <mjw@redhat.com>
1309 * run-addrname-test.sh: Make sure all input addresses are hex.
1311 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
1313 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
1314 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
1316 * backtrace-dwarf.c (main): Likewise.
1317 * backtrace.c (prepare_thread, exec_dump): Likewise.
1319 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
1321 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
1322 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
1323 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
1324 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
1325 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
1327 2015-05-01 Mark Wielaard <mjw@redhat.com>
1329 * run-stack-d-test.sh: Use --raw and mangled output.
1330 * run-stack-i-test.sh: Likewise.
1331 * run-stack-demangled-test.sh: New test.
1332 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
1335 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1337 * Makefile.am (TESTS): Add run-strip-test10.sh.
1338 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
1339 Add testfile-x32-debug.bz2.
1340 * run-strip-test10.sh: New file.
1341 * testfile-x32-d.bz2: Likewise.
1342 * testfile-x32-debug.bz2: Likewise.
1344 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1346 * Makefile.am (TESTS): Add run-strip-test9.sh.
1347 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
1348 * run-strip-test9.sh: New file.
1349 * testfile-x32-s.bz2: Likewise.
1351 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1353 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
1354 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
1355 Add backtrace.x32.exec.bz2.
1356 * backtrace.x32.core.bz2 : New file.
1357 * backtrace.x32.exec.bz2: Likewise.
1358 * run-backtrace-core-x32.sh: Likewise.
1360 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1362 * run-addrcfi.sh: Add a test for testfile-x32.
1363 * testfile-x32.bz2: New file.
1364 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
1366 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1368 * run-allregs.sh: Add a test for testfile-x32-core.
1370 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
1372 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
1373 * testfile-x32-core.bz2: New file.
1374 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
1376 2015-03-18 Petr Machata <pmachata@redhat.com>
1378 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
1380 * allregs.c (dwarf_encoding_string): Likewise.
1381 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
1382 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
1384 2015-03-18 Petr Machata <pmachata@redhat.com>
1386 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
1387 debug-ranges-no-lowpc.o.bz2.
1389 2015-03-13 Mark Wielaard <mjw@redhat.com>
1391 * backtrace-dwarf.c: Add explicit includes.
1392 (cleanup_13_abort): Remove unused static declaration.
1393 (thread_callback): Add explicit return.
1395 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
1397 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
1398 instead of PTRACE_POKEUSER.
1399 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
1402 2015-02-18 Mark Wielaard <mjw@redhat.com>
1404 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
1406 2015-02-11 Josh Stone <jistone@redhat.com>
1408 * backtrace.c (exec_dump): Initialize jmp.
1410 2015-02-11 Petr Machata <pmachata@redhat.com>
1412 * run-dwarf-ranges.sh: New test.
1413 * dwarf-ranges.c: New file.
1414 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
1416 2015-01-21 Mark Wielaard <mjw@redhat.com>
1418 * Makefile.am (check_PROGRAMS): Add elfstrtab.
1420 (elfstrtab_LDADD): New variable.
1421 * elfstrtab.c: New test.
1423 2015-01-20 Mark Wielaard <mjw@redhat.com>
1425 * Makefile.am (check_PROGRAMS): Add newdata.
1427 (newdata_LDADD): new variable.
1428 * newdata.c: New test.
1430 2015-01-20 Mark Wielaard <mjw@redhat.com>
1432 * strptr.c: New file.
1433 * run-strptr.sh: New test.
1434 * Makefile.am (check_PROGRAMS): Add strptr.
1435 (TESTS): Add run-strptr.sh.
1436 (EXTRA_DIST): Likewise.
1437 (strptr_LDADD): New variable.
1439 2015-01-15 Mark Wielaard <mjw@redhat.com>
1441 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
1442 * vdsosyms.c (main): Use getpid () instead of getppid ().
1444 2014-12-27 Mark Wielaard <mjw@redhat.com>
1446 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
1447 * funcscopes.c (handle_function): Likewise.
1448 * run-addrscopes.sh: Adjust last address in scope.
1449 * run-funcscopes.sh: Likewise.
1451 2015-01-07 Mark Wielaard <mjw@redhat.com>
1453 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
1455 2015-01-14 Mark Wielaard <mjw@redhat.com>
1457 * testfile-debug-types.bz2: New testfile.
1458 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
1459 * typeiter2.c (main): Print both name and offset of found form DIE.
1460 * run-typeiter.s: Adjust output and add testfile-debug-types.
1462 2014-12-26 Mark Wielaard <mjw@redhat.com>
1464 * run-test-archive64.sh: Add nm test.
1466 2014-12-19 Mark Wielaard <mjw@redhat.com>
1468 * run-deleted.sh: Don't check libfunc on ppc64.
1470 2014-12-19 Mark Wielaard <mjw@redhat.com>
1472 * vdsosyms.c (vdso_seen): Removed.
1473 (vdso_syms): New global.
1474 (module_callback): Set and check vdso_syms.
1475 (main): Return value depends on vdso_syms.
1477 2014-12-19 Mark Wielaard <mjw@redhat.com>
1479 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
1481 * run-deleted.sh: Call check_native_unsupported.
1483 2014-12-18 Mark Wielaard <mjw@redhat.com>
1485 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
1487 2014-12-12 Mark Wielaard <mjw@redhat.com>
1489 * Makefile.am (deleted_lib_so_CFLAGS): Add
1490 -fasynchronous-unwind-tables.
1492 2014-12-11 Josh Stone <jistone@redhat.com>
1494 * run-addr2line-i-lex-test.sh: New test.
1495 * testfile-lex-inlines.bz2: New testfile.
1496 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
1497 testfile-lex-inlines.bz2.
1498 (TESTS): Add run-addr2line-i-lex-test.sh.
1500 2014-12-10 Josh Stone <jistone@redhat.com>
1502 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
1503 preferred over the plain die name.
1505 2014-12-02 Petr Machata <pmachata@redhat.com>
1507 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
1508 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
1509 (main): Initialize off to DWARF_GETMACROS_START when an extra
1510 command line argument is passed.
1511 * testfile-macros-0xff.bz2: New test case.
1512 * testfile-macros-0xff.s: New file (source for the above).
1513 * run-dwarf-getmacros.sh: Add two tests.
1515 2014-11-27 Mark Wielaard <mjw@redhat.com>
1517 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
1519 2014-11-21 Mark Wielaard <mjw@redhat.com>
1521 * run-readelf-A.sh: New test.
1522 * testfileppc32attrs.o.bz2: New test file.
1523 * Makefile.am (TESTS): Add run-readelf-A.sh.
1524 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
1526 2014-11-10 Mark Wielaard <mjw@redhat.com>
1528 * vdsosyms.c: New test.
1529 * Makefile.am (check_PROGRAMS): Add vdsosyms.
1531 (vdsosyms_LDADD): New variable.
1533 2014-09-10 Petr Machata <pmachata@redhat.com>
1535 * dwarf-getmacros.c: Update to use the new macro iteration
1537 * run-dwarf-getmacros.sh: Adjust, add a test that uses
1540 2014-10-06 Mark Wielaard <mjw@redhat.com>
1542 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
1543 * testfile-sizes3.o.bz2: New test file.
1544 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
1546 2014-10-02 Mark Wielaard <mjw@redhat.com>
1548 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
1550 2014-10-02 Mark Wielaard <mjw@redhat.com>
1552 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1553 (TESTS): Add run-aggregate-size.sh.
1554 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1555 and testfile-sizes2.o.bz2.
1556 (aggregate_size_LDADD): New variable.
1557 * aggregate_size.c: New file.
1558 * run-aggregate-size.sh: New test.
1559 * testfile-sizes1.o.bz2: New test file.
1560 * testfile-sizes2.o.bz2: Likewise.
1562 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1564 Support NT_FILE for locating files.
1565 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
1566 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1567 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1568 * linkmap-cut-lib.so.bz2: New file.
1569 * linkmap-cut.bz2: New file.
1570 * linkmap-cut.core.bz2: New file.
1571 * run-linkmap-cut.sh: New file.
1572 * run-unstrip-n.sh: Update its expected output.
1574 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1576 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1577 (TESTS, EXTRA_DIST): Add run-deleted.sh.
1578 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1579 * deleted-lib.c: New file.
1580 * deleted.c: New file.
1581 * run-deleted.sh: New file.
1583 2014-06-15 Mark Wielaard <mjw@redhat.com>
1585 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
1587 2014-06-13 Mark Wielaard <mjw@redhat.com>
1589 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1592 2014-06-13 Mark Wielaard <mjw@redhat.com>
1594 * backtrace-subr.sh (check_native_unsupported): New function.
1595 (check_native): Call it.
1596 (check_native_core): Likewise.
1597 * run-backtrace-dwarf.sh: Likewise.
1599 2014-06-11 Mark Wielaard <mjw@redhat.com>
1601 * backtrace.c (main): Check that Dwfl was attached by calling
1602 dwfl_pid and printing the error when it is not.
1604 2014-05-18 Mark Wielaard <mjw@redhat.com>
1606 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1608 * testfile-backtrace-demangle.bz2: Regenerate.
1609 * testfile-backtrace-demangle.core.bz2: Likewise.
1611 2014-05-02 Mark Wielaard <mjw@redhat.com>
1613 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1614 run-allfcts-multi.sh are now added unconditionally.
1616 2014-05-01 Mark Wielaard <mjw@redhat.com>
1618 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1621 2014-04-30 Mark Wielaard <mjw@redhat.com>
1623 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1624 * Makefile.am (check_PROGRAMS): Add buildid.
1625 (TESTS): Add run-buildid.sh.
1626 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1627 (buildid_LDADD): New variable.
1629 2014-04-24 Florian Weimer <fweimer@redhat.com>
1631 * allfcts.c (setup_alt): New function.
1632 (main): Call it. Implementation additional error checking and
1635 2014-04-24 Florian Weimer <fweimer@redhat.com>
1637 * debugaltlink.c, run-debugaltlink.sh: New files.
1638 * Makefile.am (check_PROGRAMS): Add debugaltlink.
1639 (TESTS): Add run-debugaltlink.sh.
1640 (debugaltlink_LDADD): New variable.
1642 2014-04-11 Mark Wielaard <mjw@redhat.com>
1644 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1645 (check_PROGRAMS): Add debuglink.
1646 (TESTS): Add run-debuglink.sh
1647 (EXTRA_DIST): Likewise.
1648 (debuglink_LDADD): New.
1649 * debuglink.c: New file.
1650 * run-debuglink.sh: Likewise.
1652 2014-03-23 Mark Wielaard <mjw@redhat.com>
1654 * run-nm-self.sh: Use test = not == for string comparisons.
1656 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
1658 * backtrace.c: Make Linux only.
1659 * backtrace-child.c: Make Linux only.
1660 * backtrace-data.c: Make Linux only.
1661 * backtrace-dwarf.c: Make Linux only.
1662 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1664 2014-03-14 Mark Wielaard <mjw@redhat.com>
1666 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1668 * configure.ac: Remove MUDFLAP conditional.
1670 2014-04-09 Mark Wielaard <mjw@redhat.com>
1672 * run-readelf-zdebug.sh: New test.
1673 * testfile-debug.bz2: New testfile.
1674 * testfile-zdebug.bz2: New testfile.
1675 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1676 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1677 testfile-zdebug.bz2.
1679 2014-04-10 Mark Wielaard <mjw@redhat.com>
1681 * testfile_i686_core.bz2: New test file.
1682 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1683 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1685 2014-04-09 Mark Wielaard <mjw@redhat.com>
1687 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1688 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1689 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1690 * run-backtrace-core-aarch64.sh: New test.
1692 2014-03-11 Josh Stone <jistone@redhat.com>
1694 * testfilebaxmin.bz2: New testfile.
1695 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1696 * run-readelf-s.sh: Test testfilebaxmin.
1697 * run-dwflsyms.sh: Likewise.
1699 2014-01-26 Mark Wielaard <mjw@redhat.com>
1701 * backtrace-subr.sh (check_unsupported): Special case arm*.
1703 2014-01-25 Mark Wielaard <mjw@redhat.com>
1705 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1706 location expression: call_frame_cfa stack_value.
1708 2014-01-22 Mark Wielaard <mjw@redhat.com>
1710 * Makefile.am (line2addr_no_Wformat): Removed.
1712 2014-01-21 Mark Wielaard <mjw@redhat.com>
1714 * Makefile.am (TESTS): Add run-stack-i-test.sh.
1715 (EXTRA_DIST): Likewise.
1716 * run-stack-i-test.sh: New test.
1718 2014-01-20 Mark Wielaard <mjw@redhat.com>
1720 * Makefile.am (TESTS): Add run-stack-d-test.sh.
1721 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1722 testfiledwarfinlines.core.bz2.
1723 * run-stack-d-test.sh: New test.
1724 * testfiledwarfinlines.bz2: New test file.
1725 * testfiledwarfinlines.core.bz2: Likewise.
1727 2014-01-16 Mark Wielaard <mjw@redhat.com>
1729 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1730 on one ET_REL, one ET_EXEC and one ET_DYN file.
1731 * test-subr.sh (self_test_files): Add two ET_REL files, only add
1732 two libebl ET_DYN backend files.
1734 2014-01-16 Mark Wielaard <mjw@redhat.com>
1736 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1738 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1740 Fix false FAILs on testsuite with ulimit -c unlimited.
1741 * backtrace-child.c (sigusr2): Call pthread_exit.
1742 (main): Return, do not call abort.
1744 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1746 Fix corruption of non-C++ symbols by the demangler.
1747 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1748 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1749 (EXTRA_DIST): Add run-backtrace-demangle.sh,
1750 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1751 testfile-backtrace-demangle.core.bz2.
1752 * backtrace-demangle.cc: New file.
1753 * run-backtrace-demangle.sh: New file.
1754 * testfile-backtrace-demangle.bz2: New file.
1755 * testfile-backtrace-demangle.cc: New file.
1756 * testfile-backtrace-demangle.core.bz2: New file.
1758 2014-01-07 Matthias Klose <doko@ubuntu.com>
1760 * backtrace-subr.sh (check_native_core): Check to see if core file
1761 was created without ".PID" extension, if so mv core to core.PID.
1762 Skip test if no core file was created or could be found.
1764 2014-01-04 Mark Wielaard <mjw@redhat.com>
1766 * backtrace-data.c (main): Don't assert if raise returns.
1767 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1768 assume_ptrace_attached true.
1769 (ptrace_detach_stopped): Removed function.
1770 (main): Don't call ptrace_detach_stopped.
1771 * backtrace.c (ptrace_detach_stopped): Removed function.
1772 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1774 (exec_dump): Don't call ptrace_detach_stopped.
1776 2014-01-04 Mark Wielaard <mjw@redhat.com>
1778 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1779 if we cannot adjust core ulimit.
1781 2014-01-04 Mark Wielaard <mjw@redhat.com>
1783 * cleanup-13.c (force_unwind_stop): Removed.
1784 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1785 don't call _Unwind_ForcedUnwind.
1787 2014-01-03 Mark Wielaard <mjw@redhat.com>
1789 * run-addrcfi.sh: Add case for EM_AARCH64.
1790 * testfileaarch64.bz2: New testfile.
1791 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1793 2013-12-30 Mark Wielaard <mjw@redhat.com>
1795 * backtrace-dwarf.c (report_pid): Explicitly call
1796 dwfl_linux_proc_attach and check for errors.
1797 * backtrace.c (report_pid): Likewise.
1799 2013-12-21 Mark Wielaard <mjw@redhat.com>
1801 * backtrace.c (callback_verify): Only assert that case 5 is the last
1802 instruction of backtracegen on x86_64 native.
1804 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1805 Mark Wielaard <mjw@redhat.com>
1807 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1808 and testfilebaz*ppc64*.bz2 files.
1809 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
1810 error on dwfl_module_getsymtab error.
1811 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1812 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1813 Also print section of actual value if different from sym.
1814 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1815 Test addr2line -x by showing different sections for address and
1816 found name in testfile66.
1817 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1818 testfilebaz*ppc64): New tests.
1819 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1820 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1821 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1822 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1823 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1824 testfilebaztabppc64.bz2: New test files.
1826 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1828 unwinder: s390 and s390x
1829 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1830 run-backtrace-core-s390.sh.
1831 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1832 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1833 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1834 * backtrace.s390.core.bz2: New file.
1835 * backtrace.s390.exec.bz2: New file.
1836 * backtrace.s390x.core.bz2: New file.
1837 * backtrace.s390x.exec.bz2: New file.
1838 * run-backtrace-core-s390.sh: New file.
1839 * run-backtrace-core-s390x.sh: New file.
1841 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1843 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1846 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1849 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1850 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1851 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1852 * backtrace.ppc.core.bz2: New file.
1853 * backtrace.ppc.exec.bz2: New file.
1854 * run-backtrace-core-ppc.sh: New file.
1856 2013-12-10 Mark Wielaard <mjw@redhat.com>
1858 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1860 2013-12-10 Mark Wielaard <mjw@redhat.com>
1862 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1863 * backtrace-subr.sh (check_native_core): Disable valgrind while
1865 * run-backtrace-data.sh: Disable valgrind.
1866 * run-backtrace-dwarf.sh: Likewise.
1868 2013-12-09 Mark Wielaard <mjw@redhat.com>
1870 * varlocs.c (print_expr): Update comment to explain empty location
1871 associated with DW_OP_GNU_implicit_pointer.
1873 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1875 Fix test FAIL with -O2.
1876 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1878 2013-12-05 Mark Wielaard <mjw@redhat.com>
1880 * backtrace-data.c (main): If unsupported also print to stderr.
1881 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1883 2013-12-04 Mark Wielaard <mjw@redhat.com>
1885 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1887 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1889 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1890 backtrace-data and backtrace-dwarf.
1891 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1892 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1893 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1894 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1895 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1896 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1897 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1898 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1899 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1900 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1901 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1902 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1903 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1904 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1906 * backtrace-child.c: New file.
1907 * backtrace-data.c: New file.
1908 * backtrace-dwarf.c: New file.
1909 * backtrace-subr.sh: New file.
1910 * backtrace.c: New file.
1911 * cleanup-13.c: New file.
1912 * backtrace.i386.core.bz2: New file.
1913 * backtrace.i386.exec.bz2: New file.
1914 * backtrace.x86_64.core.bz2: New file.
1915 * backtrace.x86_64.exec.bz2: New file.
1916 * run-backtrace-core-i386.sh: New file.
1917 * run-backtrace-core-x86_64.sh: New file.
1918 * run-backtrace-native-biarch.sh: New file.
1919 * run-backtrace-native-core-biarch.sh: New file.
1920 * run-backtrace-native-core.sh: New file.
1921 * run-backtrace-native.sh: New file.
1922 * run-backtrace-data.sh: New file.
1923 * run-backtrace-dwarf.sh: New file.
1925 2013-11-27 Mark Wielaard <mjw@redhat.com>
1927 * dwflsyms.c (gelf_bind_order): New function.
1928 (elf_section_name): Likewise.
1929 (addr_in_section): Likewise.
1930 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1931 Refine assert using gelf_bind_order. Print elf_section_name. Check
1932 bias with addr_in_section.
1933 * run-dwflsyms.sh: Add section names to expected output.
1935 2013-11-26 Mark Wielaard <mjw@redhat.com>
1937 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1939 2013-11-25 Petr Machata <pmachata@redhat.com>
1941 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1942 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1943 * Makefile.am (EXTRA_DIST): Add these.
1944 (TESTS): Add run-funcretval.sh.
1945 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1946 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1947 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1948 * run-funcretval.sh: New file.
1950 2013-11-18 Josh Stone <jistone@redhat.com>
1952 * testfilebazdbg_plr.bz2: New testfile.
1953 * testfilebazmin_plr.bz2: Likewise.
1954 * Makefile.am (EXTRA_DIST): Add the above files.
1955 * run-dwflsyms.sh: Add prelink -r tests.
1957 2013-11-15 Mark Wielaard <mjw@redhat.com>
1959 * testfilebazmdb.bz2: Regenerated.
1960 * testfilebazmin.bz2: Likewise.
1961 * testfilebazdbg_pl.bz2: New testfile.
1962 * testfilebazmin_pl.bz2: Likewise.
1963 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1964 testfilebazmin_pl.bz2.
1965 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1966 print relative address of function symbols.
1967 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1969 2013-11-01 Michael Forney <mforney@mforney.org>
1971 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1972 * run-arsymtest.sh: Use NM.
1974 2013-11-05 Mark Wielaard <mjw@redhat.com>
1976 * allfcts.c (main): Correct dwarf_getfuncs return value check.
1978 2013-10-10 Mark Wielaard <mjw@redhat.com>
1979 Josh Stone <jistone@redhat.com>
1981 * run-allfcts-multi.sh: New test.
1982 * test-offset-loop.bz2: New testfile.
1983 * test-offset-loop.alt.bz2: New testfile.
1984 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1985 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1986 test-offset-loop.alt.bz2.
1988 2013-10-15 Mark Wielaard <mjw@redhat.com>
1990 * run-unstrip-M.sh: New test.
1991 * Makefile.am (TESTS): Add run-unstrip-M.sh.
1992 (EXTRA_DIST): Likewise.
1994 2013-10-06 Mark Wielaard <mjw@redhat.com>
1996 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1997 location expression.
1999 2013-10-03 Josh Stone <jistone@redhat.com>
2001 * typeiter2.c: New file, reversing typeiter.c.
2002 * run-typeiter.sh: Also run typeiter2.
2003 * Makefile.am (check_PROGRAMS): Add typeiter2.
2004 (typeiter2_LDADD): New variable.
2006 2013-09-26 Petr Machata <pmachata@redhat.com>
2008 * run-readelf-mixed-corenote.sh: Update output of testfile71
2009 dump--readelf can newly decode the NT_FILE note.
2011 2013-09-26 Petr Machata <pmachata@redhat.com>
2013 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
2014 * run-readelf-mixed-corenote.sh: New test for this file.
2015 * testfile71.bz2: New file.
2017 2013-09-20 Mark Wielaard <mjw@redhat.com>
2019 * allfcts.c (cb): Return DWARF_CB_ABORT.
2020 (main): Iterate over all offsets returned by dwarf_getfuncs.
2021 * run-allfcts.sh: Add nested_funcs and class_func testcases.
2022 * testfile_nested_funcs.bz2: New test file.
2023 * testfile_class_func.bz2: Likewise.
2024 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
2025 testfile_nested_funcs.bz2.
2027 2013-08-30 Mark Wielaard <mjw@redhat.com>
2029 * Makefile.am (check_PROGRAMS): Add varlocs.
2030 (TESTS): Add run-varlocs.sh.
2031 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
2032 testfile_const_type.bz2, testfile_implicit_pointer.c,
2033 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
2034 testfile_entry_value.c, testfile_entry_value.bz2,
2035 testfile_implicit_value.c and testfile_implicit_value.bz2.
2036 (varlocs_LDADD): New.
2037 * run-varlocs: New test.
2038 * testfile_const_type.c: New test source file.
2039 * testfile_entry_value.c: Likewise.
2040 * testfile_implicit_pointer.c: Likewise.
2041 * testfile_implicit_value.c: Likewise.
2042 * testfile_parameter_ref.c: Likewise.
2043 * testfile_const_type.bz2: New test file.
2044 * testfile_entry_value.bz2: Likewise.
2045 * testfile_implicit_pointer.bz2: Likewise.
2046 * testfile_implicit_value.bz2: Likewise.
2047 * testfile_parameter_ref.bz2: Likewise.
2048 * varlocs.c: New test source.
2050 2013-08-29 Mark Wielaard <mjw@redhat.com>
2052 * run-addrcfi.sh: Add case for EM_ARM.
2053 * testfilearm.bz2: New testfile.
2054 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
2056 2013-08-28 Mark Wielaard <mjw@redhat.com>
2058 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
2060 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
2061 * testfiles390.bz2: New testfile.
2062 * testfiles390x.bz2: Likewise.
2063 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
2066 2013-08-28 Mark Wielaard <mjw@redhat.com>
2068 * addrcfi.c (handle_cfi): Use printf not error.
2069 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
2070 * testfileppc32.bz2: New testfile.
2071 * testfileppc64.bz2: Likewise.
2072 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
2075 2013-08-27 Mark Wielaard <mjw@redhat.com>
2077 * run-addrcfi.sh: New test.
2078 * Makefile.am (TESTS): Add run-addrcfi.sh.
2079 (EXTRA_DIST): Likewise.
2080 * addrcfi.c (op_name): New function.
2081 (print_detail): Call and print op_name. Check ops, not result
2082 to check if this is "same value" or "undefined".
2083 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
2085 2013-08-13 Mark Wielaard <mjw@redhat.com>
2087 * run-addr2line-i-test.sh: New test.
2088 * testfile-inlines.bz2: New testfile.
2089 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
2090 testfile-inlines.bz2.
2091 (TESTS): Add run-addr2line-i-test.sh.
2093 2013-08-12 Mark Wielaard <mjw@redhat.com>
2095 * run-addr2line-test.sh: New test.
2096 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
2099 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2101 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
2104 2013-07-02 Mark Wielaard <mjw@redhat.com>
2106 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
2107 testfilenolines.bz2.
2109 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2111 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
2112 test-core.core.bz2 and test-core.exec.bz2.
2113 * run-addrname-test.sh: New test for these files.
2114 * run-unstrip-n.sh: Update expected output. New test for these files.
2115 * test-core-lib.so.bz2: New file.
2116 * test-core.core.bz2: New file.
2117 * test-core.exec.bz2: New file.
2119 2013-05-03 Mark Wielaard <mjw@redhat.com>
2121 * testfilenolines.bz2: New test file.
2122 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
2123 * run-get-lines.sh: Run testrun_compare on testfilenolines.
2125 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2127 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
2129 2013-04-29 Mark Wielaard <mjw@redhat.com>
2131 * test-subr.sh: Don't use pushd, just cd into test-dir.
2132 (exit_cleanup): Don't use popd, just cd .. to get out.
2134 2013-04-27 Mark Wielaard <mjw@redhat.com>
2136 * test-subr.sh (exit_cleanup): New function.
2137 (trap): Use exit_cleanup as argument.
2138 * run-native-test.sh (native_exit): New function.
2139 (trap): For EXIT (0) use native_exit as argument.
2141 2013-04-27 Mark Wielaard <mjw@redhat.com>
2143 * update1.c (main): Use unique tempfile name and unlink file.
2144 * update2.c (main): Likewise.
2145 * update3.c (main): Likewise.
2146 * update4.c (main): Use unique tempfile name.
2148 2013-04-27 Mark Wielaard <mjw@redhat.com>
2150 * run-alldts.sh: Add testfile-alldts to tempfiles.
2151 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
2152 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
2153 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
2154 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
2156 2013-04-26 Mark Wielaard <mjw@redhat.com>
2158 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
2160 (TESTS_ENVIRONMENT): Likewise.
2161 (installed_LOG_COMPILER): New variable defining wrapper.
2162 (LOG_COMPILER): Likewise.
2163 * run-*.sh: Fixup location of input and output files.
2164 * test-subr.sh: Create test_dir, pushd to execute test in.
2165 (trap): Remove test_dir.
2166 (testfiles): Use abs_srcdir.
2167 (installed_testrun): Match on abs_builddir or abs_top_builddir.
2168 (self_test_files): Adjust path.
2170 2013-04-24 Mark Wielaard <mjw@redhat.com>
2172 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
2174 2013-03-25 Mark Wielaard <mjw@redhat.com>
2176 * run-readelf-aranges.sh: New test.
2177 * testfilefoobarbaz.bz2: New test file.
2178 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
2179 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
2181 2013-03-25 Mark Wielaard <mjw@redhat.com>
2183 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
2185 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2187 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
2188 (TESTS): Add run-dwfl-report-elf-align.sh.
2189 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
2190 testfile-dwfl-report-elf-align-shlib.so.bz2 .
2191 (dwfl_report_elf_align_LDADD): New.
2192 * dwfl-report-elf-align.c: New file.
2193 * run-dwfl-report-elf-align.sh: New file.
2194 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
2196 2013-03-12 Mark Wielaard <mjw@redhat.com>
2198 * run-dwfllines.sh: New test.
2199 * dwfllines.c: New test program.
2200 * Makefile.am (TESTS): Add run-dwfllines.sh.
2201 (EXTRA_DIST): Likewise.
2202 (dwfllines_LDADD): New variable.
2204 2013-02-22 Mark Wielaard <mjw@redhat.com>
2206 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
2207 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
2209 2013-02-15 Mark Wielaard <mjw@redhat.com>
2211 * testfile-dwzstr.bz2: New testfile.
2212 * testfile-dwzstr.multi.bz2: Likewise.
2213 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
2214 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
2215 testfile-dwzstr.multi.bz2.
2217 2013-01-30 Mark Wielaard <mjw@redhat.com>
2219 * testfileloc.bz2: New testfile.
2220 * run-readelf-loc.sh: New test.
2221 * Makefile.am (TESTS): Add run-readelf-loc.sh.
2222 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
2224 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2226 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
2227 and s390x core notes.
2228 * testfile67.bz2: New file.
2229 * testfile68.bz2: New file.
2230 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
2232 2013-01-23 Mark Wielaard <mjw@redhat.com>
2234 * testfilebasmin.bz2: New testfile.
2235 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
2236 * run-readelf-s.sh: Test testfilebasmin.
2237 * run-dwflsyms.sh: Likewise.
2239 2013-01-16 Mark Wielaard <mjw@redhat.com>
2241 * Makefile.am (check_PROGRAMS): Add dwflsyms.
2242 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
2243 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
2244 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
2245 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
2246 (dwflsyms_LDADD): New variable.
2248 2013-01-07 Roland McGrath <roland@hack.frob.com>
2250 * run-prelink-addr-test.sh: Use ln -snf.
2252 2012-12-03 Mark Wielaard <mjw@redhat.com>
2254 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
2256 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2258 * run-addrname-test.sh: New test for PIE relocation.
2259 * testfile70.core.bz2: New file.
2260 * testfile70.exec.bz2: New file.
2261 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
2262 testfile70.exec.bz2 .
2264 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2266 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
2267 testfile69.core.bz2 and testfile69.so.bz2 .
2269 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2271 * run-addrname-test.sh: New test for DSO with build-id bias.
2272 * testfile69.core.bz2: New file.
2273 * testfile69.so.bz2: New file.
2275 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2277 * run-addrname-test.sh: New test for core vDSO bias.
2278 * testfile65.bz2: New file.
2280 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2282 * run-addrname-test.sh: New test for symbol preferences.
2283 * testfile64.bz2: New file.
2285 2012-10-01 Mark Wielaard <mjw@redhat.com>
2287 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
2288 * test-wrapper.sh: Export VALGRIND_CMD if available.
2289 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
2290 (installed_testrun): Likewise.
2292 2012-09-24 Petr Machata <pmachata@redhat.com>
2294 * testfile63.bz2: New testfile.
2295 * run-readelf-mixed-corenote.sh: New test.
2296 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
2297 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
2299 2012-09-24 Petr Machata <pmachata@redhat.com>
2301 * testfile62.bz2: New testfile.
2302 * run-readelf-vmcoreinfo.sh: New test.
2303 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
2304 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
2306 2012-09-18 Petr Machata <pmachata@redhat.com>
2308 * testfile61.bz2: New testfile.
2309 * run-allregs.sh: Run reg_test testfile61.
2310 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
2312 2012-08-24 Mark Wielaard <mjw@redhat.com>
2314 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
2316 2012-08-22 Jeff Kenton <jkenton@tilera.com>
2318 * testfile60.bz2: New testfile.
2319 * run-allregs.sh: Run reg_test testfile60.
2321 2012-08-24 Mark Wielaard <mjw@redhat.com>
2323 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
2326 2012-08-16 Mark Wielaard <mjw@redhat.com>
2328 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
2330 * show-die-info.c (tagnames): Removed.
2332 (dwarf_tag_string): New function using known-dwarf macros.
2333 (dwarf_attr_string): Likewise.
2334 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
2335 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
2337 2012-06-27 Mark Wielaard <mjw@redhat.com>
2339 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
2340 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
2341 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
2342 testfile_multi_main.bz2.
2343 * run-readelf-dwz-multi.sh: New test.
2344 * libtestfile_multi_shared.so.bz2: New testfile.
2345 * testfile_multi.dwz.bz2: New testifle.
2346 * testfile_multi_main.bz2: New testifle.
2348 2012-08-01 Petr Machata <pmachata@redhat.com>
2350 * run-test-archive64.sh: New test.
2351 * testarchive64.a.bz2: New testfile.
2352 * Makefile.am (TESTS): Add run-test-archive64.sh.
2353 (EXTRA_DIST): Likewise.
2355 2012-08-01 Mark Wielaard <mjw@redhat.com>
2357 * run-nm-self.sh: New test.
2358 * run-readelf-self.sh: Likewise.
2359 * test-subr.sh (testrun_on_self_quiet): New function.
2360 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
2361 (EXTRA_DIST): Likewise.
2363 2012-08-01 Mark Wielaard <mjw@redhat.com>
2365 * test-subr.sh (self_test_files): New list of files.
2366 (testrun_on_self): New function.
2367 * run-elflint-self.sh: Use testrun_on_self.
2369 2012-07-19 Mark Wielaard <mjw@redhat.com>
2371 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
2372 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
2373 (EXTRA_DIST): Likewise.
2374 (test_elf_cntl_gelf_getshdr_LDADD): New.
2375 test-elf_cntl_gelf_getshdr.c: New test program.
2376 run-elf_cntl_gelf_getshdr.sh: New test script.
2378 2012-07-19 Mark Wielaard <mjw@redhat.com>
2380 * run-elflint-self.sh: runtests on ../backends/*so files.
2382 2012-07-19 Mark Wielaard <mjw@redhat.com>
2384 * run-unstrip-n.sh: test_cleanup.
2385 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
2387 2012-07-11 Mark Wielaard <mjw@redhat.com>
2389 * run-readelf-macro.sh: New test.
2390 * testfilemacro.bz2: New testfile.
2391 * Makefile.am (TESTS): Add run-readelf-macro.sh.
2392 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2394 2012-06-27 Mark Wielaard <mjw@redhat.com>
2396 * run-readelf-gdb-index.sh: New test.
2397 * testfilegdbindex5.bz2: New testfile.
2398 * testfilegdbindex7.bz2: Likewise.
2399 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
2400 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
2401 testfilegdbindex7.bz2.
2403 2012-07-17 Mark Wielaard <mjw@redhat.com>
2405 * testcore-rtlib-ppc.bz2: New testfile.
2406 * run-unstrip-n.sh: Check new ppc core testfile.
2408 2012-06-26 Mike Frysinger <vapier@gentoo.org>
2410 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
2412 2012-06-26 Mark Wielaard <mjw@redhat.com>
2414 * run-macro-test.sh: New test.
2415 * testfile-macinfo.bz2: New testfile.
2416 * testfile-macros.bz2: Likewise.
2418 2012-05-07 Mark Wielaard <mjw@redhat.com>
2420 * low_high_pc.c: Use proper inttypes in printf formats.
2422 2012-05-11 Mark Wielaard <mjw@redhat.com>
2424 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
2426 2012-05-07 Mark Wielaard <mjw@redhat.com>
2428 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
2430 2012-04-27 Mark Wielaard <mjw@redhat.com>
2432 * Makefile.am (TESTS): Add run-low_high_pc.sh
2433 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
2434 (noinst_PROGRAMS): Add low_high_pc.
2435 (low_high_pc_LDADD): New variable.
2436 * low_high_pc.c: New test.
2438 2012-04-26 Mark Wielaard <mjw@redhat.com>
2440 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
2441 * run-show-ciefde.sh: Removed old libdwarf test.
2442 * show-ciefde.c: Likewise.
2444 2012-04-02 Mark Wielaard <mjw@redhat.com>
2446 * Makefile.am (TESTS): Add run-unstrip-n.sh.
2447 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
2448 * run-unstrip-n.sh: New test.
2449 * testcore-rtlib.bz2: New testfile.
2451 2012-04-02 Mark Wielaard <mjw@redhat.com>
2453 * Makefile.am (TESTS): Add run-readelf-d.sh.
2454 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
2455 * run-readelf-d.sh: New test.
2456 * run-elflint-test.sh: Check new testfile.
2458 2012-03-21 Tom Tromey <tromey@redhat.com>
2460 * typeiter.c: New file.
2461 * run-typeiter.sh: New file.
2462 * testfile59.bz2: New file.
2463 * Makefile.am (noinst_PROGRAMS): Add typeiter.
2464 (TESTS): Add run-typeiter.sh.
2465 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
2466 (typeiter_LDADD): New variable.
2468 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
2470 * run-alldts.sh: testrun ./alldts.
2472 2012-02-21 Roland McGrath <roland@hack.frob.com>
2474 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
2475 * test-subr.sh (installed_testrun): Likewise.
2477 2012-01-18 Roland McGrath <roland@hack.frob.com>
2479 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
2480 it will have been inherited correctly from the test harness.
2481 * asm-tst5.c (main): Likewise.
2482 * asm-tst6.c (main): Likewise.
2483 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
2485 2011-07-09 Roland McGrath <roland@hack.frob.com>
2487 * sha1-tst.c: File removed.
2488 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
2489 (sha1_tst_LDADD): Variable removed.
2491 * md5-sha1-test.c: New file.
2492 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
2493 (md5_sha1_test_LDADD): New variable.
2495 2011-05-30 Mark Wielaard <mjw@redhat.com>
2497 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
2498 run-rerequest_tag.sh
2500 2011-05-24 Mark Wielaard <mjw@redhat.com>
2502 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
2503 * run-strip-reloc.sh: Add hello_s390.ko testcase.
2504 * hello_s390.ko.bz2: New test file.
2506 2011-05-23 Mark Wielaard <mjw@redhat.com>
2508 * Makefile.am (TESTS): Add run-strip-reloc.sh.
2509 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
2510 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
2511 * run-strip-reloc.sh: New test.
2512 * hello_i386.ko.bz2: New test file.
2513 * hello_x86_64.ko.bz2: Likewise.
2514 * hello_ppc64.ko.bz2: Likewise.
2516 2011-05-18 Mark Wielaard <mjw@redhat.com>
2518 * run-strip-groups.sh: New test.
2519 * testfile58.bz2: New test file.
2520 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
2521 (TESTS): Add run-strip-groups.sh.
2522 (EXTRA_DIST): Likewise.
2524 2011-03-28 Marek Polacek <mpolacek@redhat.com>
2526 * alldts.c: New file.
2527 * run-alldts.sh: Use it.
2528 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2529 (alldts_LDADD): New variable.
2531 2011-03-02 Marek Polacek <mpolacek@redhat.com>
2533 * dwarf-getstring.c: New test.
2534 * run-dwarf-getstring.sh: And its wrapper.
2535 * Makefile.am (EXTRA_DIST): Add and update all.
2537 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2539 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
2540 * run-readelf-twofiles.sh: New file.
2542 2011-02-25 Mark Wielaard <mjw@redhat.com>
2544 * Makefile.am (BUILD_RPATH): Be consistent in naming.
2546 2011-02-02 Josh Stone <jistone@redhat.com>
2548 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
2549 * testfile55-64.bz2, testfile55-64.debug.bz2,
2550 testfile55-64.prelink.bz2, testfile55-32.bz2,
2551 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2552 * Makefile.am (EXTRA_DIST): Add and update all.
2554 2011-01-12 Roland McGrath <roland@redhat.com>
2556 * run-prelink-addr-test.sh: Make symlinks to find .debug files
2557 corresponding to .noshdrs files.
2559 2011-01-11 Josh Stone <jistone@redhat.com>
2561 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2562 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2563 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2564 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2565 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2566 * Makefile.am (EXTRA_DIST): Add and update all.
2568 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2569 * testfile53.bz2, testfile53.debug.bz2,
2570 testfile53.prelink.bz2: Deleted, so...
2571 * testfile53-64.bz2, testfile53-64.debug.bz2,
2572 testfile53-64.prelink.bz2: Recreated with 64-bit names.
2573 * testfile53-32.bz2, testfile53-32.debug.bz2,
2574 testfile53-32.prelink.bz2: New in 32-bit.
2575 * Makefile.am (EXTRA_DIST): Add and update all.
2577 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2578 * testfile52.so.bz2, testfile52.so.debug.bz2,
2579 testfile52.prelink.so.bz2: Deleted, so...
2580 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2581 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2582 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2583 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
2584 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
2585 * Makefile.am (EXTRA_DIST): Add and update all.
2587 2011-01-10 Josh Stone <jistone@redhat.com>
2589 * run-prelink-addr-test.sh: New test for prelinked addrs.
2590 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2591 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2592 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2593 * testfile53.bz2, testfile53.debug.bz2: New data files.
2594 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2595 * Makefile.am (EXTRA_DIST): Add them.
2597 2010-06-04 Roland McGrath <roland@redhat.com>
2599 * run-unstrip-test.sh: Also test modifying the file in place.
2601 2010-04-22 Roland McGrath <roland@redhat.com>
2603 * addrcfi.c (handle_cfi): Fix function name in error message.
2604 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2606 2010-04-14 Roland McGrath <roland@redhat.com>
2608 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2610 2010-04-10 Ulrich Drepper <drepper@redhat.com>
2612 * msg_tst.c: Adjust expected error message.
2614 2010-04-01 Petr Machata <pmachata@redhat.com>
2616 * test-flag-nobits.c: New test.
2617 * run-test-flag-nobits.sh: And its wrapper.
2618 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2619 (test_flag_nobits_LDADD): New variable.
2621 2010-02-15 Roland McGrath <roland@redhat.com>
2623 * Makefile.am: Use config/eu.am for common stuff.
2625 * asm-tst9.c (main): Rename local to avoid shadowing another local.
2627 2009-07-22 Roland McGrath <roland@redhat.com>
2629 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2631 2009-07-08 Roland McGrath <roland@redhat.com>
2633 * addrcfi.c: New file.
2634 * Makefile.am (noinst_PROGRAMS): Add it.
2635 (addrcfi_LDADD): New variable.
2637 2009-05-07 Petr Machata <pmachata@redhat.com>
2639 * testfile51.bz2: New data file.
2640 * dwarf-getmacros.c: New test core.
2641 * run-dwarf-getmacros.sh: New test wrapper.
2642 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2643 (dwarf_getmacros_LDADD): New variable.
2645 2009-04-23 Ulrich Drepper <drepper@redhat.com>
2647 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2648 (rdwrmmap_LDADD): Add $(libmudflap).
2650 2009-04-21 Roland McGrath <roland@redhat.com>
2652 * testfile50.bz2: New data file.
2653 * Makefile.am (EXTRA_DIST): Add it.
2654 * run-dwfl-addr-sect.sh: Add a case using it.
2656 2008-12-31 Ulrich Drepper <drepper@redhat.com>
2658 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2659 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2660 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2661 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2662 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2663 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2664 roundss, roundps, roundpd, and roundsd.
2665 * testfile45.S.bz2: Likewise.
2666 * testfile44.expect.bz2: Adjust accordingly.
2667 * testfile45.expect.bz2: Likewise.
2669 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2670 * testfile45.S.bz2: Likewise.
2671 * testfile44.expect.bz2: Adjust accordingly.
2672 * testfile45.expect.bz2: Likewise.
2674 2008-12-30 Ulrich Drepper <drepper@redhat.com>
2676 * testfile44.S.bz2: Add tests for blendpd and blendps.
2677 * testfile45.S.bz2: Likewise.
2678 * testfile44.expect.bz2: Adjust accordingly.
2679 * testfile45.expect.bz2: Likewise.
2681 2008-12-19 Ulrich Drepper <drepper@redhat.com>
2683 * testfile44.S.bz2: Add tests for AMD 3DNOW.
2684 * testfile45.S.bz2: Likewise.
2685 * testfile44.expect.bz2: Adjust accordingly.
2686 * testfile45.expect.bz2: Likewise.
2688 2008-11-26 Roland McGrath <roland@redhat.com>
2690 * dwfl-bug-getmodules.c: New file.
2691 * Makefile.am (noinst_PROGRAMS): Add it.
2692 (dwfl_bug_getmodules_LDADD): New variable.
2694 2008-09-10 Roland McGrath <roland@redhat.com>
2696 * test-subr.sh (LC_ALL): Export it set to "C".
2697 * run-dwfl-addr-sect.sh: Don't do it here.
2698 * run-strings-test.sh: Likewise.
2700 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
2702 * run-addrname-test.sh: Add a new case.
2703 * testfile49.bz2: New data file.
2704 * Makefile.am (EXTRA_DIST): Add it.
2706 2008-04-10 Roland McGrath <roland@redhat.com>
2708 * testfile48.bz2, testfile48.bz2.debug: New data files.
2709 * Makefile.am (EXTRA_DIST): Add them.
2710 * run-strip-test8.sh: Use them.
2712 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2714 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2715 * run-strip-test8.sh: New file.
2716 * testfile47.bz2: New data file.
2717 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2719 2008-03-31 Roland McGrath <roland@redhat.com>
2721 * run-early-offscn.sh: New file.
2722 * early-offscn.c: New file.
2723 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2724 (early_offscn_LDADD): New variable.
2726 2008-03-19 Roland McGrath <roland@redhat.com>
2728 * run-addrname-test.sh: Add a new case.
2730 2008-02-22 Roland McGrath <roland@redhat.com>
2732 * run-elflint-test.sh: Typo fix.
2734 2008-02-21 Roland McGrath <roland@redhat.com>
2736 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2737 for the build down to minimum.
2738 * run-disasm-x86-64.sh: Likewise.
2740 2008-02-20 Roland McGrath <roland@redhat.com>
2742 * testfile46.bz2: New data file.
2743 * Makefile.am (EXTRA_DIST): Add it.
2744 * run-elflint-test.sh: Test on it.
2746 2008-02-01 Ulrich Drepper <drepper@redhat.com>
2748 * Makefile.am: Hook up sha1-tst.c.
2749 * sha1-tst.c: New file.
2751 2008-01-21 Roland McGrath <roland@redhat.com>
2753 * testfile45.S.bz2: Add tests for cltq, cqto.
2754 * testfile45.expect.bz2: Adjust.
2756 2008-01-14 Ulrich Drepper <drepper@redhat.com>
2758 * testfile45.S.bz2: Add more tests.
2759 * testfile45.expect.bz2: Adjust.
2761 2008-01-11 Ulrich Drepper <drepper@redhat.com>
2763 * testfile45.expect.bz2: Adjust for adding of address for %rip based
2766 2008-01-10 Ulrich Drepper <drepper@redhat.com>
2768 * testfile45.S.bz2: Add more tests.
2769 * testfile45.expect.bz2: Adjust.
2771 2008-01-08 Ulrich Drepper <drepper@redhat.com>
2773 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2774 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2775 run-disasm-x86-64.sh.
2776 * run-disasm-x86-64.sh: New file.
2777 * testfile45.S.bz2: New file.
2778 * testfile45.expect.bz2: New file.
2779 * testfile44.S.bz2: New tests.
2780 * testfile44.expect.bz2: Adjust.
2782 2008-01-04 Ulrich Drepper <drepper@redhat.com>
2784 * testfile44.S.bz2: New tests.
2785 * testfile44.expect.bz2: Adjust.
2787 2008-01-04 Roland McGrath <roland@redhat.com>
2789 * dwfl-bug-fd-leak.c (main): Add a cast.
2791 2008-01-03 Ulrich Drepper <drepper@redhat.com>
2793 * testfile44.S.bz2: New tests.
2794 * testfile44.expect.bz2: Adjust.
2796 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2798 * line2addr.c: Use %m modifier instead of %a to appease gcc.
2800 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2802 * testfile44.S.bz2: New tests.
2803 * testfile44.expect.bz2: Adjust.
2805 2007-12-31 Ulrich Drepper <drepper@redhat.com>
2807 * testfile44.S.bz2: New tests.
2808 * testfile44.expect.bz2: Adjust.
2810 2007-12-30 Ulrich Drepper <drepper@redhat.com>
2812 * testfile44.S.bz2: New tests.
2813 * testfile44.expect.bz2: Adjust.
2815 2007-12-29 Ulrich Drepper <drepper@redhat.com>
2817 * testfile44.s.bz2: New tests.
2818 * testfile44.expect.bz2: Adjust.
2820 2007-12-28 Ulrich Drepper <drepper@redhat.com>
2822 * testfile44.S.bz2: New tests.
2823 * testfile44.expect.bz2: Adjust.
2825 2007-12-27 Ulrich Drepper <drepper@redhat.com>
2827 * testfile44.S.bz2: New tests.
2828 * testfile44.expect.bz2: Adjust.
2830 2007-12-26 Ulrich Drepper <drepper@redhat.com>
2832 * testfile44.S.bz2: New tests.
2833 * testfile44.expect.bz2: Adjust
2835 2007-12-21 Ulrich Drepper <drepper@redhat.com>
2837 * testfile44.S.bz2: More tests.
2838 * testfile44.expect.bz2: Adjust appropriately.
2840 2007-12-19 Ulrich Drepper <drepper@redhat.com>
2842 * Makefile.am (TESTS): Add run-disasm.sh.
2843 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2844 testfile44.expect.bz2.
2845 * run-disasm.sh: New file.
2846 * testfile44.S.bz2: New file.
2847 * testfile44.expect.bz2: New file.
2849 2007-12-15 Roland McGrath <roland@redhat.com>
2851 * run-allregs.sh: Change expected output for powerpc spefscr.
2853 2007-10-20 Roland McGrath <roland@redhat.com>
2855 * run-dwfl-addr-sect.sh: Change expected output, no errors.
2857 2007-10-19 Roland McGrath <roland@redhat.com>
2859 * dwfl-addr-sect.c (handle_address): Return int.
2860 Don't exit on error, just return nonzero.
2861 (main): Collect results.
2862 * run-dwfl-addr-sect.sh: New file.
2863 * testfile43.bz2: New data file.
2864 * Makefile.am (EXTRA_DIST, TESTS): Add them.
2866 2007-10-18 Roland McGrath <roland@redhat.com>
2868 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2870 2007-10-16 Roland McGrath <roland@redhat.com>
2872 * test-subr.sh (remove_files): Don't pass -Bb to diff.
2874 2007-10-09 Roland McGrath <roland@redhat.com>
2876 * dwflmodtest.c (print_module): Don't use %p in output.
2877 * run-dwfl-bug-offline-rel.sh: Updated expected output.
2879 2007-10-08 Roland McGrath <roland@redhat.com>
2881 * testfile42.bz2: New data file.
2882 * Makefile.am (EXTRA_DIST): Add it.
2883 * run-elflint-test.sh: New test on that file.
2885 2007-10-04 Roland McGrath <roland@redhat.com>
2887 * run-readelf-test4.sh: New file.
2888 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2890 2007-10-03 Roland McGrath <roland@redhat.com>
2892 * run-readelf-test3.sh: New file.
2893 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2895 2007-10-01 Roland McGrath <roland@redhat.com>
2897 * run-readelf-test2.sh: New file.
2898 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2900 2007-09-11 Roland McGrath <roland@redhat.com>
2902 * run-addrname-test.sh: Add a new case.
2903 * testfile41.bz2: New data file.
2904 * Makefile.am (EXTRA_DIST): Add it.
2906 2007-08-23 Roland McGrath <roland@redhat.com>
2908 * run-allregs.sh: Update expected x86-64 output for %rflags.
2910 2007-08-12 Roland McGrath <roland@redhat.com>
2912 * run-strip-test7.sh: New file.
2913 * testfile39.bz2: New data file.
2914 * testfile40.bz2: New data file.
2915 * testfile40.debug.bz2: New data file.
2916 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2918 2007-08-09 Roland McGrath <roland@redhat.com>
2920 * dwfl-bug-report.c: Fix header inclusion.
2922 2007-08-08 Roland McGrath <roland@redhat.com>
2924 * run-addrname-test.sh: Add a new case using addr2line -S.
2925 * testfile38.bz2: New data file.
2926 * Makefile.am (EXTRA_DIST): Add it.
2928 2007-07-16 Roland McGrath <roland@redhat.com>
2930 * dwfl-bug-report.c: New file.
2931 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2932 (dwfl_bug_report_LDADD): New variable.
2934 2007-06-06 Roland McGrath <roland@redhat.com>
2936 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2938 2007-06-05 Ulrich Drepper <drepper@redhat.com>
2940 * Makefile.am (EXTRA_DIST): Add missing line continuation and
2941 testfile37.bz and testfile37.debug.bz2.
2943 2007-05-23 Roland McGrath <roland@redhat.com>
2945 * run-allregs.sh: Update expected Alpha results.
2947 2007-05-18 Roland McGrath <roland@redhat.com>
2949 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2950 * testfile37.bz2: New data file.
2951 * testfile37.debug.bz2: New data file.
2952 * run-unstrip-test2.sh: New file.
2953 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2955 2007-05-10 Roland McGrath <roland@redhat.com>
2957 * run-dwfl-bug-offline-rel.sh: New file.
2958 * testfile36.bz2: New data file.
2959 * testfile36.debug.bz2: New data file.
2960 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2962 2007-04-28 Roland McGrath <roland@redhat.com>
2964 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2965 * testfile35.bz2: New data file.
2966 * testfile35.debug.bz2: New data file.
2967 * run-unstrip-test.sh: New file.
2968 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2970 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2972 2007-04-26 Roland McGrath <roland@redhat.com>
2974 * run-elflint-self.sh: Run all tests even if one fails.
2976 * run-allregs.sh: Add expected output for alpha.
2978 2007-04-24 Roland McGrath <roland@redhat.com>
2980 * run-strip-test.sh: When we saved the debug info, test unstrip too.
2982 2007-04-22 Roland McGrath <roland@redhat.com>
2984 * run-allregs.sh: Update expected register info.
2986 2007-04-16 Roland McGrath <roland@redhat.com>
2988 * dwfl-addr-sect.c: New file.
2989 * Makefile.am (noinst_PROGRAMS): Add it.
2990 (dwfl_addr_sect_LDADD): New variable.
2992 2007-04-05 Roland McGrath <roland@redhat.com>
2994 * get-files.c: Test dwarf_getsrcdirs.
2995 * run-get-files.sh: Update expected output.
2997 2007-04-01 Roland McGrath <roland@redhat.com>
2999 * run-allregs.sh: Updated expected output for x86_64.
3001 2007-03-04 Roland McGrath <roland@redhat.com>
3003 * dwfl-bug-fd-leak.c: New file.
3004 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
3005 (dwfl_bug_fd_leak_LDADD): New variable.
3007 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
3008 show what files have been located.
3010 2007-02-02 Roland McGrath <roland@redhat.com>
3012 * run-addrname-test.sh: New file.
3013 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3014 * testfile34.bz2: New data file.
3015 * Makefile.am (EXTRA_DIST): Add it.
3017 2007-01-20 Roland McGrath <roland@redhat.com>
3019 * testfile33.bz2: New data file.
3020 * Makefile.am (EXTRA_DIST): Add it.
3021 * run-elflint-test.sh: Test on it too.
3023 2007-01-18 Roland McGrath <roland@redhat.com>
3025 * Makefile.am (CFLAGS): Don't molest it.
3027 2007-01-11 Roland McGrath <roland@redhat.com>
3029 * testfile32.bz2: New data file.
3030 * Makefile.am (EXTRA_DIST): Add it.
3031 * run-elflint-test.sh: Test on it too.
3033 2007-02-04 Ulrich Drepper <drepper@redhat.com>
3036 * Makefile (noinst_PROGRAMS): Add arls.
3038 * run-ranlib-test2.sh: Fix type in comment.
3040 2007-01-10 Ulrich Drepper <drepper@redhat.com>
3042 * run-elflint-self.sh (runtest): Show which file has the problem.
3044 2007-01-10 Roland McGrath <roland@redhat.com>
3046 * dwfl-bug-addr-overflow.c: New file.
3047 * Makefile.am (TESTS): Add it.
3048 (dwfl_bug_addr_overflow_LDADD): New variable.
3050 2006-12-17 Roland McGrath <roland@redhat.com>
3052 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
3054 2006-09-05 Roland McGrath <roland@redhat.com>
3056 * run-strings-test.sh: Export LC_ALL=C for the test.
3058 2006-08-29 Roland McGrath <roland@redhat.com>
3060 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
3061 * run-arsymtest.sh: Likewise.
3063 * run-native-test.sh (native.c compilation): Add some braces.
3065 2006-08-22 Roland McGrath <roland@redhat.com>
3067 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
3068 (struct reginfo): New members bits, type.
3069 (one_register, match_register): Update to take new args,
3070 record and display new info.
3071 (main): Display new info.
3072 * run-allregs.sh: Update expected results.
3074 2006-08-03 Roland McGrath <roland@redhat.com>
3076 * run-allregs.sh: Add sparc cases.
3077 * testfile30.bz2: New data file.
3078 * testfile31.bz2: New data file.
3079 * Makefile.am (EXTRA_DIST): Add them.
3081 2006-07-21 Roland McGrath <roland@redhat.com>
3083 * allregs.c (struct reginfo): Increase size of name.
3084 (one_register): Assert that it's big enough.
3086 2006-04-04 Roland McGrath <roland@redhat.com>
3088 * run-bug1-test.sh: Test a second case, to cover both byte orders.
3089 * testfile29.bz2: New file.
3090 * testfile29.rdwr.bz2: New file.
3091 * Makefile.am (EXTRA_DIST): Add them.
3093 2006-04-04 Ulrich Drepper <drepper@redhat.com>
3095 * Makefile.am: Add rules to run run-bug1-test.sh.
3096 * rdwrmmap.c: New file.
3097 * run-bug1-test.sh: New file.
3098 * testfile28.bz2: New file.
3099 * testfile28.rdwr.bz2: New file.
3101 2006-03-09 Roland McGrath <roland@redhat.com>
3103 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
3105 2006-03-01 Roland McGrath <roland@redhat.com>
3107 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
3108 changes matching 3.0 spec.
3110 2006-01-13 Roland McGrath <roland@redhat.com>
3112 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
3113 bash 3.1 whines when it's done in the trap 0 handler.
3115 2006-01-11 Roland McGrath <roland@redhat.com>
3117 * testfile26.bz2: New data file.
3118 * testfile27.bz2: New data file.
3119 * Makefile.am (EXTRA_DIST): Add them.
3120 * run-allregs.sh: Test s390 data.
3122 2005-12-14 Roland McGrath <roland@redhat.com>
3124 * run-native-test.sh: Redirect output from native test process.
3126 2005-12-13 Roland McGrath <roland@redhat.com>
3128 * allregs.c (main): Fail if we find no registers.
3130 * run-native-test.sh: New file.
3131 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3133 2005-12-10 Ulrich Drepper <drepper@redhat.com
3135 * run-readelf-test1.sh: New file.
3136 * Makefile.am (TESTS): Add run-readelf-test1.sh.
3137 (EXTRA_DIST): Likewise.
3139 2005-12-07 Roland McGrath <roland@redhat.com>
3141 * ecp.c (main): Use elf_end to clean up.
3143 2005-11-25 Roland McGrath <roland@redhat.com>
3145 * coverage.sh: Given -v argument, print names of unused files.
3147 * addrscopes.c (main): Use dwfl_end before return.
3148 * allregs.c (main): Likewise.
3149 * find-prologues.c (main): Likewise.
3150 * funcretval.c (main): Likewise.
3151 * funcscopes.c (main): Likewise.
3152 * line2addr.c (main): Likewise.
3154 * run-allregs.sh: New file.
3155 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3157 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
3158 * Makefile.am (allregs_LDADD): Updated.
3160 * allregs.c: New file.
3161 * Makefile.am (noinst_PROGRAMS): Add it.
3162 (allregs_LDADD): New variable.
3164 2005-11-18 Roland McGrath <roland@redhat.com>
3166 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
3167 * test-wrapper.sh: Likewise.
3169 2005-11-17 Roland McGrath <roland@redhat.com>
3171 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
3172 environment for test-wrapper.sh.
3173 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
3174 * test-subr.sh (installed_testrun): Likewise.
3175 Use explicit path in ${bindir}.
3177 * Makefile.am (installcheck-local): Fix typo in last change.
3179 2005-11-16 Roland McGrath <roland@redhat.com>
3181 * configure.ac: New file, for standalone build/dist of test suite.
3182 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
3183 (asm_TESTS): New variable, broken out of ...
3184 (TESTS): ... here. Also remove msg_tst.
3185 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
3186 (installed_TESTS_ENVIRONMENT): New variable.
3187 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
3188 [!STANDALONE] (installcheck-local): Likewise.
3189 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
3190 * addrscopes.c: Include <config.h>.
3191 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
3192 * allfcts.c: Likewise.
3193 * asm-tst1.c: Likewise.
3194 * asm-tst2.c: Likewise.
3195 * asm-tst3.c: Likewise.
3196 * asm-tst4.c: Likewise.
3197 * asm-tst5.c: Likewise.
3198 * asm-tst6.c: Likewise.
3199 * asm-tst7.c: Likewise.
3200 * asm-tst8.c: Likewise.
3201 * asm-tst9.c: Likewise.
3202 * dwflmodtest.c: Likewise.
3203 * find-prologues.c: Likewise.
3204 * funcscopes.c: Likewise.
3205 * get-aranges.c: Likewise.
3206 * get-files.c: Likewise.
3207 * get-lines.c: Likewise.
3208 * get-pubnames.c: Likewise.
3209 * line2addr.c: Likewise.
3210 * newscn.c: Likewise.
3211 * show-abbrev.c: Likewise.
3212 * show-die-info.c: Likewise.
3213 * update3.c: Likewise.
3214 * update4.c: Likewise.
3215 * funcretval.c: Likewise.
3217 * dwflmodtest.c (print_instance): Don't use INTUSE.
3218 (options): Don't use N_ macro.
3220 2005-11-15 Roland McGrath <roland@redhat.com>
3222 * coverage.sh: Look in backends.
3223 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
3224 (TESTS_ENVIRONMENT): Likewise.
3226 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
3227 pass FUNCDIE direclty to dwfl_module_return_value_location.
3229 * Makefile.am (BUILD_RPATH): New variable.
3230 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
3231 (tests_rpath): New variable.
3232 (installcheck-local): Pass it to test-wrapper.sh.
3233 * test-wrapper.sh: In "installed" format, take yes/no value
3234 for elfutils_tests_rpath, which export. When running a test
3235 binary for installcheck, exit 77.
3236 * test-subr.sh (installed_testrun): When running a test binary
3237 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
3239 2005-11-14 Roland McGrath <roland@redhat.com>
3241 * test-subr.sh: New file.
3242 * test-wrapper.sh: New file.
3243 * Makefile.am (EXTRA_DIST): Add them.
3244 (AM_LDFLAGS): Variable removed.
3245 (TESTS_ENVIRONMENT): New variable.
3246 (installcheck-local): New target.
3247 * run-addrscopes.sh: Use test-subr.sh.
3248 * run-allfcts.sh: Likewise.
3249 * run-ecp-test.sh: Likewise.
3250 * run-ecp-test2.sh: Likewise.
3251 * run-elflint-self.sh: Likewise.
3252 * run-elflint-test.sh: Likewise.
3253 * run-find-prologues.sh: Likewise.
3254 * run-funcscopes.sh: Likewise.
3255 * run-get-aranges.sh: Likewise.
3256 * run-get-files.sh: Likewise.
3257 * run-get-lines.sh: Likewise.
3258 * run-get-pubnames.sh: Likewise.
3259 * run-line2addr.sh: Likewise.
3260 * run-ranlib-test.sh: Likewise.
3261 * run-ranlib-test2.sh: Likewise.
3262 * run-show-abbrev.sh: Likewise.
3263 * run-show-ciefde.sh: Likewise.
3264 * run-show-die-info.sh: Likewise.
3265 * run-strings-test.sh: Likewise.
3266 * run-strip-test.sh: Likewise.
3268 2005-11-13 Roland McGrath <roland@redhat.com>
3270 * funcretval.c: New file.
3271 * Makefile.am (noinst_PROGRAMS): Add it.
3272 (funcretval_LDADD): New variable.
3274 2005-11-09 Ulrich Drepper <drepper@redhat.com>
3276 * line2addr.c (handle_module): Add missing parameter to printf.
3278 2005-10-27 Roland McGrath <roland@redhat.com>
3280 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
3281 * funcscopes.c (handle_function): Likewise.
3282 * dwflmodtest.c (print_inline, print_func): Likewise.
3283 * find-prologues.c (handle_function): Likewise.
3285 2005-10-27 Roland McGrath <roland@redhat.com>
3287 * run-find-prologues.sh: New file.
3288 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3290 * find-prologues.c (handle_function): Skip inlines.
3292 2005-10-25 Roland McGrath <roland@redhat.com>
3294 * find-prologues.c: New file.
3295 * Makefile.am (noinst_PROGRAMS): Add it.
3296 (find_prologues_LDADD): New variable.
3298 2005-09-02 Ulrich Drepper <drepper@redhat.com>
3300 * run-strings-test.sh: Remove strings.out in the end.
3302 2005-08-31 Ulrich Drepper <drepper@redhat.com>
3304 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
3305 * run-allfcts.sh: Likewise.
3306 * run-ecp-test.sh: Likewise.
3307 * run-ecp-test2.sh: Likewise.
3308 * run-elflint-test.sh: Likewise.
3309 * run-funcscopes.sh: Likewise.
3310 * run-get-aranges.sh: Likewise.
3311 * run-get-files.sh: Likewise.
3312 * run-get-lines.sh: Likewise.
3313 * run-get-pubnames.sh: Likewise.
3314 * run-line2addr.sh: Likewise.
3315 * run-ranlib-test2.sh: Likewise.
3316 * run-show-abbrev.sh: Likewise.
3317 * run-show-ciefde.sh: Likewise.
3318 * run-show-die-info.sh: Likewise.
3319 * run-strings-test.sh: Likewise.
3320 * run-strip-test.sh: Likewise.
3322 2005-08-30 Ulrich Drepper <drepper@redhat.com>
3324 * coverage.sh: Handle case where there is no .gcno file at all.
3326 2005-08-29 Ulrich Drepper <drepper@redhat.com>
3328 * Makefile.am (EXTRA_DIST): Add coverage.
3329 [GCOV]: Generate coverage summary after the tests ran
3330 * coverage.sh: New file.
3332 2005-08-28 Ulrich Drepper <drepper@redhat.com>
3334 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
3335 (CLEANFILES): Add *.gcno *.gcda *.gconv.
3337 2005-08-28 Ulrich Drepper <drepper@redhat.com>
3339 * run-strings-test.sh: New file.
3340 * Makefile.am (TESTS, EXTRA_DIST): Add it.
3342 2005-08-27 Roland McGrath <roland@redhat.com>
3344 * addrscopes.c (handle_address): Apply bias to PC addresses.
3346 * run-funcscopes.sh: New file.
3347 * testfile25.bz2: New data file.
3348 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3350 2005-08-26 Roland McGrath <roland@redhat.com>
3352 * addrscopes.c (dwarf_diename_integrate): Removed.
3353 (print_vars, handle_address): Use plain dwarf_diename.
3355 2005-08-25 Roland McGrath <roland@redhat.com>
3357 * funcscopes.c: New file.
3358 * Makefile.am (noinst_PROGRAMS): Add it.
3359 (funcscopes_LDADD): New variable.
3361 * run-addrscopes.sh: Add another case.
3362 * testfile24.bz2: New data file.
3363 * Makefile.am (EXTRA_DIST): Add it.
3365 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
3366 pass it to dwarf_getscopes.
3367 (main): Pass it, true when '=' follows an address.
3369 2005-08-24 Roland McGrath <roland@redhat.com>
3371 * line2addr.c (print_address): Omit () for DSOs.
3373 2005-08-24 Ulrich Drepper <drepper@redhat.com>
3375 * run-line2addr.sh: Remove testfile23 in the end.
3377 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
3378 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
3380 2005-08-22 Roland McGrath <roland@redhat.com>
3382 * run-line2addr.sh: Add a case.
3383 * testfile23.bz2: New data file.
3384 * Makefile.am (EXTRA_DIST): Add it.
3386 2005-08-18 Roland McGrath <roland@redhat.com>
3388 * run-addrscopes.sh: New file.
3389 * testfile22.bz2: New data file.
3390 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3392 * addrscopes.c: New file.
3393 * Makefile.am (noinst_PROGRAMS): Add it.
3394 (addrscopes_LDADD): New variable.
3396 2005-08-15 Ulrich Drepper <drepper@redhat.com>
3398 * run-elflint-self.sh: Don't run test if the file doesn't exist.
3400 2005-08-15 Roland McGrath <roland@redhat.com>
3402 * dwflmodtest.c (print_instance, print_inline): New functions.
3403 (print_func): Call print_inline.
3404 (options, parse_opt): Grok -i/--inlines.
3406 2005-08-07 Roland McGrath <roland@redhat.com>
3408 * dwflmodtest.c: Print function details only if -f flag is given.
3410 2005-08-06 Ulrich Drepper <drepper@redhat.com>
3412 * run-elflint-self.sh: New file.
3413 * Makefile.am (TESTS): Add run-elflint-self.sh.
3414 (EXTRA_DIST): Likewise.
3416 * Makefile.am: Link with statis libs if BUILD_STATIC.
3417 (dwflmodtest_LDADD): Also link with -ldl.
3419 2005-08-02 Ulrich Drepper <drepper@redhat.com>
3421 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
3422 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
3424 * asm-tst2.c: Likewise.
3425 * asm-tst3.c: Likewise.
3426 * asm-tst4.c: Likewise.
3427 * asm-tst5.c: Likewise.
3428 * asm-tst6.c: Likewise.
3429 * asm-tst7.c: Likewise.
3430 * asm-tst8.c: Likewise.
3431 * asm-tst9.c: Likewise.
3433 * msg_tst.c: Add new error message.
3435 2005-07-28 Ulrich Drepper <drepper@redhat.com>
3437 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
3439 2005-06-01 Roland McGrath <roland@redhat.com>
3441 * line2addr.c: Rewritten using libdwfl.
3442 * run-line2addr.sh: Update test for changed arguments.
3443 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
3444 (libdwfl): New variable.
3445 (line2addr_LDADD): Use it.
3447 2005-07-28 Roland McGrath <roland@redhat.com>
3449 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
3450 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
3451 (dwflmodtest_LDADD): New variable.
3452 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
3454 2005-07-21 Ulrich Drepper <drepper@redhat.com>
3456 * testfile18.bz2: New file.
3457 * run-elflint-test.sh: New file.
3458 * Makefile.am (TESTS): Add run-elflint-test.sh.
3459 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
3461 2005-05-24 Ulrich Drepper <drepper@redhat.com>
3463 * get-files.c (main): Use correct format specifier.
3465 2005-05-21 Ulrich Drepper <drepper@redhat.com>
3467 * Makefile.am: Add -Wextra to CFLAGS.
3468 * get-files.c: Remove warning this produced.
3469 * get-pubnames.c: Likewise.
3470 * newfile.c: Likewise.
3471 * newscn.c: Likewise.
3472 * scnnames.c: Likewise.
3473 * showptable.c: Likewise.
3474 * test-nlist.c: Likewise.
3475 * update1.c: Likewise.
3476 * update2.c: Likewise.
3477 * update3.c: Likewise.
3478 * update4.c: Likewise.
3480 2005-05-08 Ulrich Drepper <drepper@redhat.com>
3482 * run-line2addr.sh: Remove testfile14 at the end.
3484 * run-strip-test.sh: Remove debuginfo test input file as well.
3486 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
3489 2005-05-03 Roland McGrath <roland@redhat.com>
3491 * run-strip-test.sh: Use variables for test file names.
3492 Optionally produce separate debug file and check it.
3493 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
3494 * run-strip-test3.sh: Likewise.
3495 * run-strip-test4.sh: New file.
3496 * run-strip-test5.sh: New file.
3497 * run-strip-test6.sh: New file.
3498 * testfile15.bz: New file.
3499 * testfile15.debug.bz: New file.
3500 * testfile16.bz: New file.
3501 * testfile16.debug.bz: New file.
3502 * testfile17.bz: New file.
3503 * testfile17.debug.bz: New file.
3504 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3506 2005-04-25 Ulrich Drepper <drepper@redhat.com>
3508 * run-line2addr.sh: Also use testfile14. Adjust for correct
3509 return of multiple matches.
3510 * testfile14.bz2: New file.
3511 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
3513 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
3515 2005-04-04 Roland McGrath <roland@redhat.com>
3517 * line2addr.c (main): Initialize LINES and NLINES before calling
3518 dwarf_getsrc_file, and free LINES afterwards.
3520 * allfcts.c (main): Use size_t for CUHL.
3522 2005-04-04 Ulrich Drepper <drepper@redhat.com>
3524 * line2addr.c: New file.
3525 * run-line2addr.sh: New file.
3526 * Makefile.am: Add rules to build, run, and distribute new code.
3528 2005-04-02 Ulrich Drepper <drepper@redhat.com>
3530 * allfcts.c: New file.
3531 * run-allfcts.sh: New file.
3532 * Makefile.am: Add rules to build, run, and distribute new code.
3534 2005-02-05 Ulrich Drepper <drepper@redhat.com>
3536 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
3537 programs with -lmudflap.
3539 2004-09-25 Ulrich Drepper <drepper@redhat.com>
3541 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
3542 * asm-tst5.c (main): Likewise.
3543 * asm-tst6.c (main): Likewise.
3545 2004-01-17 Ulrich Drepper <drepper@redhat.com>
3547 * Makefile.am: Support building with mudflap.
3549 2004-01-12 Ulrich Drepper <drepper@redhat.com>
3551 * get-aranges.c: Rewrite to use libdw.
3552 * Makefile.am: Reenable get-aranges test.
3554 2004-01-11 Ulrich Drepper <drepper@redhat.com>
3556 * get-lines.c: New file.
3557 * get-files.c: Adjust for libdw.
3558 * run-get-files.sh: Adjust expected result.
3559 * run-get-lines.sh: Likewise.
3560 * Makefile.am: Run get-lines test. Don't run get-aranges and
3561 get-ciefde test for now.
3563 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3564 change. Print attribute offset information.
3565 * run-show-abbrev.sh: Adjust expected output.
3567 2004-01-09 Ulrich Drepper <drepper@redhat.com>
3569 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3570 * show-die-info.c: Likewise.
3571 * run-show-die-info.sh: Adjust expected output.
3573 2003-08-13 Ulrich Drepper <drepper@redhat.com>
3575 * Makefile.in: Depend on libebl.a, not libebl.so.
3577 2003-08-11 Ulrich Drepper <drepper@redhat.com>
3579 * Moved to CVS archive.