1 2018-05-18 Mark Wielaard <mark@klomp.org>
3 * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
4 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
5 testfile-hello5.dwo, testfile-world5.dwo.
7 2018-05-17 Mark Wielaard <mark@klomp.org>
9 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
10 (TESTS): Add run-attr-integrate-skel.
11 (EXTRA_DIST): Likewise.
12 (attr_integrate_skel_LDADD): New variable.
13 * attr-integrate-skel.c: New test.
14 * run-attr-integrate-skel.sh: New test runner.
16 2018-05-16 Mark Wielaard <mark@klomp.org>
18 * Makefile.am (check_PROGRAMS): Add get-units-split.
19 (TESTS): Add run-get-units-split.sh.
20 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
21 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
22 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
23 testfile-world4.dwo.bz2.
24 (get_units_split_LDADD): New variable.
25 * get-units-split.c: New test.
26 * run-get-units-split.sh: New test runner.
27 * testfile-dwarf-45.source: Extend with build instructions for new
29 * testfile-hello4.dwo.bz2: New test file.
30 * testfile-hello5.dwo.bz2: Likewise.
31 * testfile-splitdwarf-4.bz2: Likewise.
32 * testfile-splitdwarf-5.bz2: Likewise.
33 * testfile-world5.dwo.bz2 and: Likewise.
34 * testfile-world4.dwo.bz2: Likewise.
36 2018-05-09 Mark Wielaard <mark@klomp.org>
38 * run-readelf-zdebug.sh: Adjust test output for new header layout.
39 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
42 2018-05-11 Mark Wielaard <mark@klomp.org>
44 * Makefile.am (check_PROGRAMS): Add get-units-invalid.
45 (TESTS): Add run-get-units-invalid.sh.
46 (EXTRA_DIST): Likewise.
47 (get_units_invalid_LDADD): New variable.
48 * get-units-invalid.c: New test program.
49 * run-get-units-invalid.sh: New test program runner.
51 2018-05-05 Mark Wielaard <mark@klomp.org>
53 * testfile-dwarf-45.source: New file.
54 * testfile-dwarf-4.bz2: New test file.
55 * testfile-dwarf-5.bz2: Likewise.
56 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
58 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
59 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
61 2018-04-19 Andreas Schwab <schwab@suse.de>
63 * hello_riscv64.ko.bz2: New file.
64 * run-strip-reloc.sh: Test it.
65 * Makefile.am (EXTRA_DIST): Add it.
67 2018-04-16 Mark Wielaard <mark@klomp.org>
69 * testfile-ppc64-min-instr.bz2: New testfile.
70 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
71 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
73 2018-04-11 Mark Wielaard <mark@klomp.org>
75 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
77 2018-04-03 Mark Wielaard <mark@klomp.org>
79 * testfileranges4.debug.bz2: New testfile.
80 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
81 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
83 2018-03-06 Mark Wielaard <mark@klomp.org>
85 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
86 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
87 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
90 2018-02-16 Mark Wielaard <mark@klomp.org>
92 * backtrace-subr.sh (check_native_core): Check if there is any core,
95 2018-02-15 Mark Wielaard <mark@klomp.org>
97 * backtrace-child.c: Include signal.h after sys/ptrace.h.
98 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
101 2018-01-25 Mark Wielaard <mark@klomp.org>
103 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
104 (TESTS): Add run-dwarf-die-addr-die.sh.
105 (EXTRA_DIST): Likewise.
106 (dwarf_die_addr_die_LDADD): New variable.
107 * dwarf-die-addr-die.c: New file.
108 * run-dwarf-die-addr-die.sh: New test.
110 2018-02-09 Joshua Watt <JPEWhacker@gmail.com>
112 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
114 2018-01-22 Mark Wielaard <mark@klomp.org>
116 * allfcts.c (setup_alt): Print warning when alt file couldn't be
118 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
119 where it cannot be found by allfcts itself (but it can by libdw).
121 2018-01-25 Mark Wielaard <mark@klomp.org>
123 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
126 2018-01-14 Petr Machata <pmachata@gmail.com>
128 * testfile-sizes4.o.bz2: New test file.
129 * testfile-sizes4.s: New test source.
130 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
132 2017-12-23 Mark Wielaard <mark@klomp.org>
134 * backtrace-subr.sh (check_native_core): Use a lock file and try
135 to extract core using coredumpctl.
136 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
138 2017-12-11 Dima Kogan <dima@secretsauce.net>
140 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
141 * run-peel-type.sh: Likewise.
142 * testfile-sizes3.o.bz2: Likewise.
144 2017-12-07 Mark Wielaard <mark@klomp.org>
146 * run-readelf-variant.sh: New test.
147 * testfile-ada-variant.bz2: New testfile.
148 * Makefile.am (TESTS): Add run-readelf-variant.sh.
149 (EXTRA_DISTS): Add run-readelf-variant.sh and
150 testfile-ada-variant.bz2.
152 2017-11-29 Mark Wielaard <mark@klomp.org>
154 * run-readelf-loc.sh: Adjust expected loc list output.
155 * run-readelf-zdebug-rel.sh: Likewise.
156 * run-readelf-zdebug.sh: Likewise.
158 2017-11-29 Mark Wielaard <mark@klomp.org>
160 * run-readelf-loc.sh: Adjust expected range list output.
161 * run-readelf-zdebug.sh: Likewise.
163 2017-11-29 Mark Wielaard <mark@klomp.org>
165 * run-readelf-dwz-multi.sh: Add expected file names.
166 * run-readelf-zdebug-rel.sh: Likewise.
168 2017-11-29 Mark Wielaard <mark@klomp.org>
170 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
171 * run-readelf-zdebug-rel.sh: Likewise.
173 2017-11-29 Mark Wielaard <mark@klomp.org>
175 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
176 * run-readelf-loc.sh: Likewise.
177 * run-readelf-zdebug-rel.sh: Likewise.
178 * run-readelf-zdebug.sh: Likewise.
180 2017-11-16 Mark Wielaard <mark@klomp.org>
182 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
184 2017-11-10 Mark Wielaard <mark@klomp.org>
186 * run-exprlocs-self.sh: New test.
187 * run-varlocs-self.sh: Likewise.
188 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
190 (EXTRA_DIST): Likewise.
191 * varlocs.c (cfi_debug_bias): New global variable.
192 (is_ET_REL): Likewise.
193 (print_expr): Don't crash and burn when CFI cannot be found for an
194 ET_REL file for DW_OP_call_frame_cfa.
195 (handle_die): If there is no entry_pc pick the lowest pc start range
197 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
198 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
200 2017-11-03 Mark Wielaard <mark@klomp.org>
202 * run-exprlocs.sh: New test.
203 * testfile-stridex.bz2: New testfile.
204 * Makefile.am (TESTS): Add run-exprlocs.sh.
205 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
206 * varlocs.c (dwarf_tag_string): New function.
207 (dwarf_attr_string): Likewise.
208 (dwarf_form_string): Likewise.
209 (print_expr): Fix typo in error message.r
210 Handle DW_OP_GNU_variable_value.
211 (attr_arg): New struct.
212 (handle_attr): New function.
213 (handle_die): Likewise.
214 (main): Handle --exprlocs argument. Call handle_die.
216 2017-10-16 Mark Wielaard <mark@klomp.org>
218 * md5-sha1-test.c: Removed.
219 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
221 (md5_sha1_test_LDADD): Removed.
223 2017-10-04 Mark Wielaard <mark@klomp.org>
225 * msg_tst.c: Handle ELF_E_INVALID_ELF.
227 2017-09-10 Mark Wielaard <mark@klomp.org>
229 * run-ar.sh: New test.
230 * Makefile.am (TESTS): Add run-ar.sh.
231 (EXTRA_DIST): Likewise.
233 2017-08-18 Ulf Hermann <ulf.hermann@qt.io>
235 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
237 2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
239 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
241 2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
243 * run-strip-nothing.sh: Add -s.
245 2017-07-26 Mark Wielaard <mark@klomp.org>
247 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
249 2016-10-27 Mark Wielaard <mjw@redhat.com>
251 * dwarf_default_lower_bound.c: New test.
252 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
254 (dwarf_default_lower_bound_LDADD): New variable.
256 2017-07-21 Mark Wielaard <mark@klomp.org>
258 * get-lines.c (main): Add dwarf_line_file test.
260 2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
262 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
263 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
265 2017-07-20 Mark Wielaard <mark@klomp.org>
267 * run-strip-g.sh: New test.
268 * Makefile.am (TESTS): Add run-strip-g.sh.
269 (EXTRA_DIST): Likewise.
271 2017-07-18 Mark Wielaard <mark@klomp.org>
273 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
275 2017-05-04 Ulf Hermann <ulf.hermann@qt.io>
277 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
279 2017-07-14 Mark Wielaard <mark@klomp.org>
281 * run-strip-remove-keep.sh: New test.
282 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
283 (EXTRA_DIST): Likewise.
285 2017-06-07 Mark Wielaard <mark@klomp.org>
287 * run-strip-nothing.sh: New test.
288 * Makefile.am (TESTS): Add run-strip-nothing.sh.
289 (EXTRA_DIST): Likewise.
291 2017-06-06 Mark Wielaard <mark@klomp.org>
293 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
295 2017-05-30 Mark Wielaard <mark@klomp.org>
297 * run-backtrace-fp-core-ppc64le.sh: New test.
298 * backtrace.ppc64le.fp.core.bz2: New test file.
299 * backtrace.ppc64le.fp.exec.bz2: New testfile.
300 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
301 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
302 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
303 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
305 2017-02-13 Ulf Hermann <ulf.hermann@qt.io>
306 Mark Wielaard <mark@klomp.org>
308 * Makefile.am: Add test for unwinding with frame pointers on aarch64
309 * backtrace.aarch64.fp.core.bz2: New file
310 * backtrace.aarch64.fp.exec.bz2: New file
311 * run-backtrace-fp-core-aarch64.sh: New file
312 * backtrace-subr.sh (check_err): Allow Invalid register.
313 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
315 2017-04-06 Mark Wielaard <mark@klomp.org>
317 * run-backtrace-fp-core-i386.sh: New test.
318 * backtrace.i386.fp.core.bz2: New test file.
319 * backtrace.i386.fp.exec.bz2: New testfile.
320 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
321 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
322 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
324 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
326 * Makefile.am: Add test for unwinding with frame pointers on x86_64
327 * backtrace.x86_64.fp.core.bz2: New file
328 * backtrace.x86_64.fp.exec.bz2: New file
329 * run-backtrace-fp-core-x86_64.sh: New file
331 2017-04-25 Mark Wielaard <mark@klomp.org>
333 * backtrace-subr.sh (check_backtracegen): New function.
334 (check_core): Add check_backtracegen call.
335 * backtrace.ppc.exec.bz2: Regenerated.
336 * backtrace.ppc.core.bz2: Likewise.
338 2017-04-24 Mark Wielaard <mark@klomp.org>
340 * backtrace.c: Remove option to allow unknown symbols in the trace.
341 * backtrace-substr.sh: Remove option to allow unknown symbols
342 to check_core() and allow failed symbol lookups in check_err().
344 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
346 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
348 * run-readelf-zdebug-rel.sh: Likewise.
350 2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
352 * backtrace-child.c: Include sys/ptrace.h only on linux.
353 * backtrace-dwarf.c: Likewise.
355 2017-04-05 Mark Wielaard <mark@klomp.org>
357 * test-subr.sh (testrun_on_self_compressed): New function.
358 * run-elflint-self.sh: Call testrun_on_self_compressed.
359 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
361 2017-03-30 Mark Wielaard <mark@klomp.org>
363 * peel_type.c: New file.
364 * run-peel-type.sh: New test.
365 * Makefile.am (check_PROGRAMS): Add peel_type.c.
366 (TESTS): Add run-peel-type.sh.
367 (EXTRA_DIST): Likewise.
368 (peel_type_LDADD): New variable.
370 2017-03-27 Mark Wielaard <mark@klomp.org>
372 * fillfile.c: New file.
373 * Makefile.am (check_PROGRAMS): Add fillfile.
375 (fillfile_LDADD): New variable.
377 2017-02-15 Mark Wielaard <mark@klomp.org>
379 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
380 * run-readelf-A.sh: Add testfileppc64.o test.
382 2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
384 * elfstrmerge.c: Include system.h.
386 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
388 * backtrace.c: Add an option to allow unknown symbols in the trace
389 * backtrace-substr.sh: Add an option to allow unknown symbols
390 to check_core() and allow failed symbol lookups in check_err()
392 2017-02-09 Ulf Hermann <ulf.hermann@qt.io>
394 * backtrace-data.c: Don't assert that symbols are found.
395 The unwinder is allowed to ask for invalid addresses. We deny
396 such requests, rather than make the test fail.
398 2016-11-17 Mark Wielaard <mjw@redhat.com>
400 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
402 2016-11-02 Mark Wielaard <mjw@redhat.com>
404 * backtrace-data.c (thread_callback): Add explicit break after error.
405 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
407 2016-10-22 Kevin Cernekee <cernekee@chromium.org>
409 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
410 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
411 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
412 (run-unstrip-test4.sh): New file.
413 (testfile-strtab.bz2): New file.
414 (testfile-strtab.stripped.bz2): New file.
415 (testfile-strtab.debuginfo.bz2): New file.
417 2016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
419 * arextract.c: Remove sys/param.h include, add system.h include.
421 2016-08-30 Mark Wielaard <mjw@redhat.com>
423 * Makefile.am (asm_tst?_LDADD): Add libdw.
425 2016-08-25 Mark Wielaard <mjw@redhat.com>
427 * backtrace-child.c: Disable and add documentation about why we disable
428 RAISE_JMP_PATCHING even on x86_64.
429 * backtrace.c (is_x86_64_native): Rename to...
430 (use_raise_jmp_patching): ... this.
431 (callback_verify): Use use_raise_jmp_patching instead of
433 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
435 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
437 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
438 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
439 use_raise_jmp_patching instead of is_x86_64_native.
441 2016-08-24 Mark Wielaard <mjw@redhat.com>
443 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
445 2016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
447 * testfilesparc64attrs.o.bz2: New file.
448 * run-readelf-A.sh: Check attributes in a sparc object.
450 2016-08-06 Mark Wielaard <mjw@redhat.com>
452 * run-strip-reloc.sh: Add explicit compressed and uncompressed
455 2016-08-10 Richard Henderson <rth@redhat.com>
457 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
460 2016-07-08 Mark Wielaard <mjw@redhat.com>
462 * update3_LDADD: Use libdw instead of libebl.
463 * update4_LDADD: Likewise.
464 * alldts_LDADD: Likewise.
465 * elfstrmerge_LDADD: Likewise.
466 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
467 * elfstrmerge.c (release): Likewise.
469 * update3.c (main): Likewise.
470 * update4.c (main): Likewise.
472 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
474 * Makefile.am (TESTS): Add run-strip-test11.sh.
475 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
476 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
477 (run-strip-test11.sh): New file.
478 (hello_m68k.ko.bz2): New file.
479 (testfile-m68k-core.bz2): New file.
480 (testfile-m68k.bz2): New file.
481 (testfile-m68k-s.bz2): New file.
482 * run-allregs.sh: Add test for testfile-m68k-core.
483 * run-readelf-mixed-corenote.sh: Likewise.
484 * run-strip-reloc.sh: Add test for hello_m68k.ko.
486 2016-07-06 Mark Wielaard <mjw@redhat.com>
488 * Makefile.am (check_PROGRAMS): Add vendorelf.
490 (vendorelf_LDADD): New variable.
491 * vendorelf.c: New test.
492 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
494 2016-06-24 Mark Wielaard <mjw@redhat.com>
496 * Makefile.am (check_PROGRAMS): Add emptyfile.
498 (emptyfile_LDADD): New variable.
499 * emptyfile.c: New test.
501 2016-06-28 Richard Henderson <rth@redhat.com>
503 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
504 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
505 testfile-bpf-dis1.o.bz2
506 (run-disasm-bpf.sh): New file.
507 (testfile-bpf-dis1.expect.bz2): New file.
508 (testfile-bpf-dis1.o.bz2): New file.
510 2016-02-09 Mark Wielaard <mjw@redhat.com>
512 * testfile-s390x-hash-both.bz2: New testfile.
513 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
514 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
516 2016-02-04 Mark Wielaard <mjw@redhat.com>
518 * run-strip-nobitsalign.sh: New test.
519 * testfile-nobitsalign.bz2: New testfile.
520 * testfile-nobitsalign.strip.bz2: Likewise.
521 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
522 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
523 and testfile-nobitsalign.strip.bz2.
524 * run-strip-test.sh: Add --gnu to elflint calls.
526 2016-01-13 Mark Wielaard <mjw@redhat.com>
528 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
530 2016-01-13 Mark Wielaard <mjw@redhat.com>
532 * dwfl-proc-attach.c: Guard linux specific header.
534 2016-01-13 Mark Wielaard <mjw@redhat.com>
536 * system-elf-libelf-test.c: New test.
537 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
538 (check_PROGRAMS): Likewise.
539 (system_elf_libelf_test_CPPFLAGS): New variable.
540 (system_elf_libelf_test_LDADD): Likewise.
542 2016-01-08 Mark Wielaard <mjw@redhat.com>
544 * elfputzdata.c (main): Fix parentheses in strncmp test.
546 2016-01-08 Mark Wielaard <mjw@redhat.com>
548 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
550 2016-01-08 Mark Wielaard <mjw@redhat.com>
552 * Makefile.am (TESTS): Always unconditionally add
553 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
555 2015-12-16 Mark Wielaard <mjw@redhat.com>
557 * run-compress-test.sh: New test.
558 * Makefile.am (TESTS): Add run-compress-test.sh.
559 (EXTRA_DISTS): Likewise.
561 2015-11-26 Mark Wielaard <mjw@redhat.com>
563 * zstrptr.c: New file.
564 * run-zstrptr.sh: New test.
565 * elfputzdata.c (main): (re)compress .shstrtab.
566 * run-elfputzdata.sh: Expect .shstrtab compression.
567 * Makefile.am (check_PROGRAMS): Add zstrptr.
568 (TESTS): Add run-zstrptr.sh.
569 (EXTRA_DIST): Likewise.
570 (zstrptr_LDADD): New variable.
572 2015-10-20 Mark Wielaard <mjw@redhat.com>
574 * run-readelf-zx.sh: New test.
575 * run-readelf-zp.sh: Likewise.
576 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
577 (EXTRA_DIST): Likewise.
579 2015-10-21 Mark Wielaard <mjw@redhat.com>
581 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
582 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
583 (EXTRA_DIST: Likewise.
584 (elfgetzdata_LDADD): New variable.
585 (elfputzdata_LDADD): Likewise.
586 * elfgetzdata.c: New file.
587 * elfputzdata.c: Likewise.
588 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
589 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
590 ELF_E_DECOMPRESS_ERROR.
591 * run-elfgetzdata.sh: New test.
592 * run-elfputzdata.sh: Likewise.
594 2015-10-28 Mark Wielaard <mjw@redhat.com>
596 * run-readelf-z.sh: New test.
597 * Makefile.am (TESTS): Add run-readelf-z.sh.
598 (EXTRA_DIST): Likewise.
600 2015-10-28 Mark Wielaard <mjw@redhat.com>
602 * elfgetchdr.c: New file.
603 * run-elfgetchdr.sh: New test.
604 * testfile-zgabi32.bz2: New testfile.
605 * testfile-zgabi32be.bz2: Likewise.
606 * testfile-zgabi64.bz2: Likewise.
607 * testfile-zgabi64be.bz2: Likewise.
608 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
609 (TESTS): Add run-elfgetchdr.sh.
610 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
611 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
612 (welfgetchdr_LDADD): New variable.
613 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
614 and ELF_E_INVALID_SECTION_FLAGS,
617 2015-10-28 Mark Wielaard <mjw@redhat.com>
619 * dwelfgnucompressed.c: New file.
620 * run-dwelfgnucompressed.sh: New test.
621 * testfile-zgnu32.bz2: New testfile.
622 * testfile-zgnu64.bz2: Likewise.
623 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
624 (TESTS): Add run-dwelfgnucompressed.sh.
625 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
626 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
627 (dwelfgnucompressed_LDADD): New variable.
629 2015-12-31 Mark Wielaard <mjw@redhat.com>
631 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
632 * run-elfstrmerge-test.sh: New test.
633 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
634 (EXTRA_DIST): Likewise.
636 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
638 * run-backtrace-core-sparc.sh: New file.
639 * backtrace.sparc.core.bz2: New file.
640 * backtrace.sparc.exec.bz2: New file.
641 * Makefile.am (EXTRA_DIST): ... and added all here.
642 (TESTS): Added run-backtrace-core-sparc.sh.
644 2015-12-02 Mark Wielaard <mjw@redhat.com>
646 * Makefile.am (valgrind_cmd): Use --leak-check=full.
647 * run-backtrace-demangle.sh: Disable valgrind.
648 * run-stack-demangled-test.sh: Likewise.
649 * run-stack-d-test.sh: Likewise.
650 * run-stack-i-test.sh: Likewise.
652 2015-12-01 Mark Wielaard <mjw@redhat.com>
654 * test-flag-nobits.c (main): Call elf_end.
655 * rerequest_tag.c (main): Call dwarf_end.
656 * funcscopes.c (handle_function): Free scopes.
657 * dwarf-getstring.c (main): Call dwarf_end.
658 * allregs.c (main): Free state.info.
659 * alldts.c (main): Free dyn.
660 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
662 * addrscopes.c (handle_address): Free scopes.
664 2015-10-16 Mark Wielaard <mjw@redhat.com>
666 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
667 [BUILD_STATIC] (libelf): Likewise.
669 2015-10-16 Mark Wielaard <mjw@redhat.com>
671 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
673 2015-10-09 Josh Stone <jistone@redhat.com>
675 * lfs-symbols: New list of LFS-related symbols from lintian.
676 * testfile-nolfs.bz2: New test binary for sanity checking.
677 * run-lfs-symbols.sh: New test.
678 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
679 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
681 * alldts.c (main): Replace open64 with open.
682 * dwarf-getstring.c (main): Likewise.
683 * arls.c: Include config.h.
685 * rdwrmmap.c: Likewise.
686 * test-elf_cntl_gelf_getshdr.c: Likewise.
687 * test-flag-nobits.c: Include config.h.
688 (main): Replace open64 with open.
690 2015-10-09 Mark Wielaard <mjw@redhat.com>
692 * elfshphehdr.c (check): Rename argument from check to statement.
693 (check_elf): Likewise.
695 2015-10-05 Josh Stone <jistone@redhat.com>
697 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
699 2015-10-02 Mark Wielaard <mjw@redhat.com>
701 * elfstrmerge.c: New check program.
702 * run-strip-strmerge.sh: New test.
703 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
704 (EXTRA_DIST): Add run-strip-strmerge.sh
705 (elfstrmerge_LDADD): New variable.
707 2015-09-29 Mark Wielaard <mjw@redhat.com>
709 * elfshphehdr.c: New test.
710 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
712 (elfshphehdr_LDADD): New variable.
714 2015-09-08 Mark Wielaard <mjw@redhat.com>
716 * dwfl-proc-attach.c: New test.
717 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
719 (dwfl_proc_attach_LDADD): New variable.
720 (dwfl_proc_attach_LDFLAGS): Likewise.
722 2015-09-04 Chih-Hung Hsieh <chh@google.com>
724 * varlocs.c (print_base_type): Initialize enctype.
726 2015-09-04 Chih-Hung Hsieh <chh@google.com>
728 * md5-sha1-test.c (md5_expected): Removed.
729 (sha1_expected): Likewise.
731 2015-09-04 Chih-Hung Hsieh <chh@google.com>
733 * asm-tst1.c (main): Replace %Z length modifier with %z.
734 * asm-tst2.c (main): Likewise.
735 * asm-tst3.c (main): Likewise.
736 * asm-tst4.c (main): Likewise.
737 * asm-tst5.c (main): Likewise.
738 * asm-tst6.c (main): Likewise.
739 * asm-tst7.c (main): Likewise.
740 * asm-tst8.c (main): Likewise.
741 * asm-tst9.c (main): Likewise.
742 * sectiondump.c (print_bytes): Likewise.
744 2015-08-14 Mark Wielaard <mjw@redhat.com>
746 * run-addr2line-alt-debugpath.sh: New test.
747 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
748 (EXTRA_DIST): Likewise.
750 2015-07-29 Mark Wielaard <mjw@redhat.com>
752 * run-unstrip-test3.sh: New test.
753 * testfile-info-link.bz2: New file.
754 * testfile-info-link.debuginfo.bz2: Likewise.
755 * testfile-info-link.stripped.bz2: Likewise.
756 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
757 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
758 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
760 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
762 * tests/run-deleted.sh: Skip when detecting a not implemented
763 dwfl_linux_proc_attach.
765 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
767 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
770 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
772 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
774 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
776 * tests/backtrace-data.c: Reduce scope of some includes to match their
778 * tests/backtrace.c: Likewise.
779 * tests/deleted.c: Likewise.
781 2015-06-16 Mark Wielaard <mjw@redhat.com>
783 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
784 for non-ET_REL files.
786 2015-05-30 Mark Wielaard <mjw@redhat.com>
788 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
789 generated before skipping.
790 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
792 * run-backtrace-demangle.sh: Likewise.
793 * run-stack-demangled-test.sh: Likewise.
794 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
796 * run-backtrace-native-core-biarch.sh: Likewise.
797 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
799 2015-05-20 Mark Wielaard <mjw@redhat.com>
801 * run-addr2line-i-test.sh: Add pretty test.
802 * run-addr2line-test.sh: Likewise.
804 2015-05-20 Mark Wielaard <mjw@redhat.com>
806 * run-addr2line-i-demangle-test.sh: New test.
807 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
808 (EXTRA_DIST): Likewise.
810 2015-05-20 Mark Wielaard <mjw@redhat.com>
812 * run-addr2line-test.sh: Add -a test variants.
813 * run-addr2line-i-test.sh: Likewise.
815 2015-05-20 Mark Wielaard <mjw@redhat.com>
817 * run-addrname-test.sh: Make sure all input addresses are hex.
819 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
821 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
822 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
824 * backtrace-dwarf.c (main): Likewise.
825 * backtrace.c (prepare_thread, exec_dump): Likewise.
827 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
829 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
830 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
831 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
832 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
833 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
835 2015-05-01 Mark Wielaard <mjw@redhat.com>
837 * run-stack-d-test.sh: Use --raw and mangled output.
838 * run-stack-i-test.sh: Likewise.
839 * run-stack-demangled-test.sh: New test.
840 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
843 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
845 * Makefile.am (TESTS): Add run-strip-test10.sh.
846 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
847 Add testfile-x32-debug.bz2.
848 * run-strip-test10.sh: New file.
849 * testfile-x32-d.bz2: Likewise.
850 * testfile-x32-debug.bz2: Likewise.
852 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
854 * Makefile.am (TESTS): Add run-strip-test9.sh.
855 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
856 * run-strip-test9.sh: New file.
857 * testfile-x32-s.bz2: Likewise.
859 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
861 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
862 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
863 Add backtrace.x32.exec.bz2.
864 * backtrace.x32.core.bz2 : New file.
865 * backtrace.x32.exec.bz2: Likewise.
866 * run-backtrace-core-x32.sh: Likewise.
868 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
870 * run-addrcfi.sh: Add a test for testfile-x32.
871 * testfile-x32.bz2: New file.
872 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
874 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
876 * run-allregs.sh: Add a test for testfile-x32-core.
878 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
880 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
881 * testfile-x32-core.bz2: New file.
882 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
884 2015-03-18 Petr Machata <pmachata@redhat.com>
886 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
888 * allregs.c (dwarf_encoding_string): Likewise.
889 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
890 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
892 2015-03-18 Petr Machata <pmachata@redhat.com>
894 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
895 debug-ranges-no-lowpc.o.bz2.
897 2015-03-13 Mark Wielaard <mjw@redhat.com>
899 * backtrace-dwarf.c: Add explicit includes.
900 (cleanup_13_abort): Remove unused static declaration.
901 (thread_callback): Add explicit return.
903 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
905 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
906 instead of PTRACE_POKEUSER.
907 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
910 2015-02-18 Mark Wielaard <mjw@redhat.com>
912 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
914 2015-02-11 Josh Stone <jistone@redhat.com>
916 * backtrace.c (exec_dump): Initialize jmp.
918 2015-02-11 Petr Machata <pmachata@redhat.com>
920 * run-dwarf-ranges.sh: New test.
921 * dwarf-ranges.c: New file.
922 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
924 2015-01-21 Mark Wielaard <mjw@redhat.com>
926 * Makefile.am (check_PROGRAMS): Add elfstrtab.
928 (elfstrtab_LDADD): New variable.
929 * elfstrtab.c: New test.
931 2015-01-20 Mark Wielaard <mjw@redhat.com>
933 * Makefile.am (check_PROGRAMS): Add newdata.
935 (newdata_LDADD): new variable.
936 * newdata.c: New test.
938 2015-01-20 Mark Wielaard <mjw@redhat.com>
940 * strptr.c: New file.
941 * run-strptr.sh: New test.
942 * Makefile.am (check_PROGRAMS): Add strptr.
943 (TESTS): Add run-strptr.sh.
944 (EXTRA_DIST): Likewise.
945 (strptr_LDADD): New variable.
947 2015-01-15 Mark Wielaard <mjw@redhat.com>
949 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
950 * vdsosyms.c (main): Use getpid () instead of getppid ().
952 2014-12-27 Mark Wielaard <mjw@redhat.com>
954 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
955 * funcscopes.c (handle_function): Likewise.
956 * run-addrscopes.sh: Adjust last address in scope.
957 * run-funcscopes.sh: Likewise.
959 2015-01-07 Mark Wielaard <mjw@redhat.com>
961 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
963 2015-01-14 Mark Wielaard <mjw@redhat.com>
965 * testfile-debug-types.bz2: New testfile.
966 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
967 * typeiter2.c (main): Print both name and offset of found form DIE.
968 * run-typeiter.s: Adjust output and add testfile-debug-types.
970 2014-12-26 Mark Wielaard <mjw@redhat.com>
972 * run-test-archive64.sh: Add nm test.
974 2014-12-19 Mark Wielaard <mjw@redhat.com>
976 * run-deleted.sh: Don't check libfunc on ppc64.
978 2014-12-19 Mark Wielaard <mjw@redhat.com>
980 * vdsosyms.c (vdso_seen): Removed.
981 (vdso_syms): New global.
982 (module_callback): Set and check vdso_syms.
983 (main): Return value depends on vdso_syms.
985 2014-12-19 Mark Wielaard <mjw@redhat.com>
987 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
989 * run-deleted.sh: Call check_native_unsupported.
991 2014-12-18 Mark Wielaard <mjw@redhat.com>
993 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
995 2014-12-12 Mark Wielaard <mjw@redhat.com>
997 * Makefile.am (deleted_lib_so_CFLAGS): Add
998 -fasynchronous-unwind-tables.
1000 2014-12-11 Josh Stone <jistone@redhat.com>
1002 * run-addr2line-i-lex-test.sh: New test.
1003 * testfile-lex-inlines.bz2: New testfile.
1004 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
1005 testfile-lex-inlines.bz2.
1006 (TESTS): Add run-addr2line-i-lex-test.sh.
1008 2014-12-10 Josh Stone <jistone@redhat.com>
1010 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
1011 preferred over the plain die name.
1013 2014-12-02 Petr Machata <pmachata@redhat.com>
1015 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
1016 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
1017 (main): Initialize off to DWARF_GETMACROS_START when an extra
1018 command line argument is passed.
1019 * testfile-macros-0xff.bz2: New test case.
1020 * testfile-macros-0xff.s: New file (source for the above).
1021 * run-dwarf-getmacros.sh: Add two tests.
1023 2014-11-27 Mark Wielaard <mjw@redhat.com>
1025 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
1027 2014-11-21 Mark Wielaard <mjw@redhat.com>
1029 * run-readelf-A.sh: New test.
1030 * testfileppc32attrs.o.bz2: New test file.
1031 * Makefile.am (TESTS): Add run-readelf-A.sh.
1032 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
1034 2014-11-10 Mark Wielaard <mjw@redhat.com>
1036 * vdsosyms.c: New test.
1037 * Makefile.am (check_PROGRAMS): Add vdsosyms.
1039 (vdsosyms_LDADD): New variable.
1041 2014-09-10 Petr Machata <pmachata@redhat.com>
1043 * dwarf-getmacros.c: Update to use the new macro iteration
1045 * run-dwarf-getmacros.sh: Adjust, add a test that uses
1048 2014-10-06 Mark Wielaard <mjw@redhat.com>
1050 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
1051 * testfile-sizes3.o.bz2: New test file.
1052 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
1054 2014-10-02 Mark Wielaard <mjw@redhat.com>
1056 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
1058 2014-10-02 Mark Wielaard <mjw@redhat.com>
1060 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1061 (TESTS): Add run-aggregate-size.sh.
1062 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1063 and testfile-sizes2.o.bz2.
1064 (aggregate_size_LDADD): New variable.
1065 * aggregate_size.c: New file.
1066 * run-aggregate-size.sh: New test.
1067 * testfile-sizes1.o.bz2: New test file.
1068 * testfile-sizes2.o.bz2: Likewise.
1070 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1072 Support NT_FILE for locating files.
1073 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
1074 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1075 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1076 * linkmap-cut-lib.so.bz2: New file.
1077 * linkmap-cut.bz2: New file.
1078 * linkmap-cut.core.bz2: New file.
1079 * run-linkmap-cut.sh: New file.
1080 * run-unstrip-n.sh: Update its expected output.
1082 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1084 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1085 (TESTS, EXTRA_DIST): Add run-deleted.sh.
1086 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1087 * deleted-lib.c: New file.
1088 * deleted.c: New file.
1089 * run-deleted.sh: New file.
1091 2014-06-15 Mark Wielaard <mjw@redhat.com>
1093 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
1095 2014-06-13 Mark Wielaard <mjw@redhat.com>
1097 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1100 2014-06-13 Mark Wielaard <mjw@redhat.com>
1102 * backtrace-subr.sh (check_native_unsupported): New function.
1103 (check_native): Call it.
1104 (check_native_core): Likewise.
1105 * run-backtrace-dwarf.sh: Likewise.
1107 2014-06-11 Mark Wielaard <mjw@redhat.com>
1109 * backtrace.c (main): Check that Dwfl was attached by calling
1110 dwfl_pid and printing the error when it is not.
1112 2014-05-18 Mark Wielaard <mjw@redhat.com>
1114 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1116 * testfile-backtrace-demangle.bz2: Regenerate.
1117 * testfile-backtrace-demangle.core.bz2: Likewise.
1119 2014-05-02 Mark Wielaard <mjw@redhat.com>
1121 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1122 run-allfcts-multi.sh are now added unconditionally.
1124 2014-05-01 Mark Wielaard <mjw@redhat.com>
1126 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1129 2014-04-30 Mark Wielaard <mjw@redhat.com>
1131 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1132 * Makefile.am (check_PROGRAMS): Add buildid.
1133 (TESTS): Add run-buildid.sh.
1134 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1135 (buildid_LDADD): New variable.
1137 2014-04-24 Florian Weimer <fweimer@redhat.com>
1139 * allfcts.c (setup_alt): New function.
1140 (main): Call it. Implementation additional error checking and
1143 2014-04-24 Florian Weimer <fweimer@redhat.com>
1145 * debugaltlink.c, run-debugaltlink.sh: New files.
1146 * Makefile.am (check_PROGRAMS): Add debugaltlink.
1147 (TESTS): Add run-debugaltlink.sh.
1148 (debugaltlink_LDADD): New variable.
1150 2014-04-11 Mark Wielaard <mjw@redhat.com>
1152 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1153 (check_PROGRAMS): Add debuglink.
1154 (TESTS): Add run-debuglink.sh
1155 (EXTRA_DIST): Likewise.
1156 (debuglink_LDADD): New.
1157 * debuglink.c: New file.
1158 * run-debuglink.sh: Likewise.
1160 2014-03-23 Mark Wielaard <mjw@redhat.com>
1162 * run-nm-self.sh: Use test = not == for string comparisons.
1164 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
1166 * backtrace.c: Make Linux only.
1167 * backtrace-child.c: Make Linux only.
1168 * backtrace-data.c: Make Linux only.
1169 * backtrace-dwarf.c: Make Linux only.
1170 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1172 2014-03-14 Mark Wielaard <mjw@redhat.com>
1174 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1176 * configure.ac: Remove MUDFLAP conditional.
1178 2014-04-09 Mark Wielaard <mjw@redhat.com>
1180 * run-readelf-zdebug.sh: New test.
1181 * testfile-debug.bz2: New testfile.
1182 * testfile-zdebug.bz2: New testfile.
1183 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1184 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1185 testfile-zdebug.bz2.
1187 2014-04-10 Mark Wielaard <mjw@redhat.com>
1189 * testfile_i686_core.bz2: New test file.
1190 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1191 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1193 2014-04-09 Mark Wielaard <mjw@redhat.com>
1195 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1196 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1197 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1198 * run-backtrace-core-aarch64.sh: New test.
1200 2014-03-11 Josh Stone <jistone@redhat.com>
1202 * testfilebaxmin.bz2: New testfile.
1203 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1204 * run-readelf-s.sh: Test testfilebaxmin.
1205 * run-dwflsyms.sh: Likewise.
1207 2014-01-26 Mark Wielaard <mjw@redhat.com>
1209 * backtrace-subr.sh (check_unsupported): Special case arm*.
1211 2014-01-25 Mark Wielaard <mjw@redhat.com>
1213 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1214 location expression: call_frame_cfa stack_value.
1216 2014-01-22 Mark Wielaard <mjw@redhat.com>
1218 * Makefile.am (line2addr_no_Wformat): Removed.
1220 2014-01-21 Mark Wielaard <mjw@redhat.com>
1222 * Makefile.am (TESTS): Add run-stack-i-test.sh.
1223 (EXTRA_DIST): Likewise.
1224 * run-stack-i-test.sh: New test.
1226 2014-01-20 Mark Wielaard <mjw@redhat.com>
1228 * Makefile.am (TESTS): Add run-stack-d-test.sh.
1229 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1230 testfiledwarfinlines.core.bz2.
1231 * run-stack-d-test.sh: New test.
1232 * testfiledwarfinlines.bz2: New test file.
1233 * testfiledwarfinlines.core.bz2: Likewise.
1235 2014-01-16 Mark Wielaard <mjw@redhat.com>
1237 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1238 on one ET_REL, one ET_EXEC and one ET_DYN file.
1239 * test-subr.sh (self_test_files): Add two ET_REL files, only add
1240 two libebl ET_DYN backend files.
1242 2014-01-16 Mark Wielaard <mjw@redhat.com>
1244 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1246 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1248 Fix false FAILs on testsuite with ulimit -c unlimited.
1249 * backtrace-child.c (sigusr2): Call pthread_exit.
1250 (main): Return, do not call abort.
1252 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1254 Fix corruption of non-C++ symbols by the demangler.
1255 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1256 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1257 (EXTRA_DIST): Add run-backtrace-demangle.sh,
1258 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1259 testfile-backtrace-demangle.core.bz2.
1260 * backtrace-demangle.cc: New file.
1261 * run-backtrace-demangle.sh: New file.
1262 * testfile-backtrace-demangle.bz2: New file.
1263 * testfile-backtrace-demangle.cc: New file.
1264 * testfile-backtrace-demangle.core.bz2: New file.
1266 2014-01-07 Matthias Klose <doko@ubuntu.com>
1268 * backtrace-subr.sh (check_native_core): Check to see if core file
1269 was created without ".PID" extension, if so mv core to core.PID.
1270 Skip test if no core file was created or could be found.
1272 2014-01-04 Mark Wielaard <mjw@redhat.com>
1274 * backtrace-data.c (main): Don't assert if raise returns.
1275 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1276 assume_ptrace_attached true.
1277 (ptrace_detach_stopped): Removed function.
1278 (main): Don't call ptrace_detach_stopped.
1279 * backtrace.c (ptrace_detach_stopped): Removed function.
1280 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1282 (exec_dump): Don't call ptrace_detach_stopped.
1284 2014-01-04 Mark Wielaard <mjw@redhat.com>
1286 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1287 if we cannot adjust core ulimit.
1289 2014-01-04 Mark Wielaard <mjw@redhat.com>
1291 * cleanup-13.c (force_unwind_stop): Removed.
1292 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1293 don't call _Unwind_ForcedUnwind.
1295 2014-01-03 Mark Wielaard <mjw@redhat.com>
1297 * run-addrcfi.sh: Add case for EM_AARCH64.
1298 * testfileaarch64.bz2: New testfile.
1299 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1301 2013-12-30 Mark Wielaard <mjw@redhat.com>
1303 * backtrace-dwarf.c (report_pid): Explicitly call
1304 dwfl_linux_proc_attach and check for errors.
1305 * backtrace.c (report_pid): Likewise.
1307 2013-12-21 Mark Wielaard <mjw@redhat.com>
1309 * backtrace.c (callback_verify): Only assert that case 5 is the last
1310 instruction of backtracegen on x86_64 native.
1312 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1313 Mark Wielaard <mjw@redhat.com>
1315 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1316 and testfilebaz*ppc64*.bz2 files.
1317 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
1318 error on dwfl_module_getsymtab error.
1319 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1320 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1321 Also print section of actual value if different from sym.
1322 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1323 Test addr2line -x by showing different sections for address and
1324 found name in testfile66.
1325 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1326 testfilebaz*ppc64): New tests.
1327 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1328 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1329 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1330 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1331 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1332 testfilebaztabppc64.bz2: New test files.
1334 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1336 unwinder: s390 and s390x
1337 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1338 run-backtrace-core-s390.sh.
1339 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1340 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1341 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1342 * backtrace.s390.core.bz2: New file.
1343 * backtrace.s390.exec.bz2: New file.
1344 * backtrace.s390x.core.bz2: New file.
1345 * backtrace.s390x.exec.bz2: New file.
1346 * run-backtrace-core-s390.sh: New file.
1347 * run-backtrace-core-s390x.sh: New file.
1349 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1351 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1354 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1357 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1358 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1359 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1360 * backtrace.ppc.core.bz2: New file.
1361 * backtrace.ppc.exec.bz2: New file.
1362 * run-backtrace-core-ppc.sh: New file.
1364 2013-12-10 Mark Wielaard <mjw@redhat.com>
1366 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1368 2013-12-10 Mark Wielaard <mjw@redhat.com>
1370 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1371 * backtrace-subr.sh (check_native_core): Disable valgrind while
1373 * run-backtrace-data.sh: Disable valgrind.
1374 * run-backtrace-dwarf.sh: Likewise.
1376 2013-12-09 Mark Wielaard <mjw@redhat.com>
1378 * varlocs.c (print_expr): Update comment to explain empty location
1379 associated with DW_OP_GNU_implicit_pointer.
1381 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1383 Fix test FAIL with -O2.
1384 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1386 2013-12-05 Mark Wielaard <mjw@redhat.com>
1388 * backtrace-data.c (main): If unsupported also print to stderr.
1389 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1391 2013-12-04 Mark Wielaard <mjw@redhat.com>
1393 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1395 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1397 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1398 backtrace-data and backtrace-dwarf.
1399 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1400 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1401 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1402 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1403 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1404 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1405 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1406 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1407 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1408 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1409 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1410 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1411 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1412 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1414 * backtrace-child.c: New file.
1415 * backtrace-data.c: New file.
1416 * backtrace-dwarf.c: New file.
1417 * backtrace-subr.sh: New file.
1418 * backtrace.c: New file.
1419 * cleanup-13.c: New file.
1420 * backtrace.i386.core.bz2: New file.
1421 * backtrace.i386.exec.bz2: New file.
1422 * backtrace.x86_64.core.bz2: New file.
1423 * backtrace.x86_64.exec.bz2: New file.
1424 * run-backtrace-core-i386.sh: New file.
1425 * run-backtrace-core-x86_64.sh: New file.
1426 * run-backtrace-native-biarch.sh: New file.
1427 * run-backtrace-native-core-biarch.sh: New file.
1428 * run-backtrace-native-core.sh: New file.
1429 * run-backtrace-native.sh: New file.
1430 * run-backtrace-data.sh: New file.
1431 * run-backtrace-dwarf.sh: New file.
1433 2013-11-27 Mark Wielaard <mjw@redhat.com>
1435 * dwflsyms.c (gelf_bind_order): New function.
1436 (elf_section_name): Likewise.
1437 (addr_in_section): Likewise.
1438 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1439 Refine assert using gelf_bind_order. Print elf_section_name. Check
1440 bias with addr_in_section.
1441 * run-dwflsyms.sh: Add section names to expected output.
1443 2013-11-26 Mark Wielaard <mjw@redhat.com>
1445 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1447 2013-11-25 Petr Machata <pmachata@redhat.com>
1449 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1450 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1451 * Makefile.am (EXTRA_DIST): Add these.
1452 (TESTS): Add run-funcretval.sh.
1453 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1454 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1455 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1456 * run-funcretval.sh: New file.
1458 2013-11-18 Josh Stone <jistone@redhat.com>
1460 * testfilebazdbg_plr.bz2: New testfile.
1461 * testfilebazmin_plr.bz2: Likewise.
1462 * Makefile.am (EXTRA_DIST): Add the above files.
1463 * run-dwflsyms.sh: Add prelink -r tests.
1465 2013-11-15 Mark Wielaard <mjw@redhat.com>
1467 * testfilebazmdb.bz2: Regenerated.
1468 * testfilebazmin.bz2: Likewise.
1469 * testfilebazdbg_pl.bz2: New testfile.
1470 * testfilebazmin_pl.bz2: Likewise.
1471 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1472 testfilebazmin_pl.bz2.
1473 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1474 print relative address of function symbols.
1475 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1477 2013-11-01 Michael Forney <mforney@mforney.org>
1479 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1480 * run-arsymtest.sh: Use NM.
1482 2013-11-05 Mark Wielaard <mjw@redhat.com>
1484 * allfcts.c (main): Correct dwarf_getfuncs return value check.
1486 2013-10-10 Mark Wielaard <mjw@redhat.com>
1487 Josh Stone <jistone@redhat.com>
1489 * run-allfcts-multi.sh: New test.
1490 * test-offset-loop.bz2: New testfile.
1491 * test-offset-loop.alt.bz2: New testfile.
1492 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1493 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1494 test-offset-loop.alt.bz2.
1496 2013-10-15 Mark Wielaard <mjw@redhat.com>
1498 * run-unstrip-M.sh: New test.
1499 * Makefile.am (TESTS): Add run-unstrip-M.sh.
1500 (EXTRA_DIST): Likewise.
1502 2013-10-06 Mark Wielaard <mjw@redhat.com>
1504 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1505 location expression.
1507 2013-10-03 Josh Stone <jistone@redhat.com>
1509 * typeiter2.c: New file, reversing typeiter.c.
1510 * run-typeiter.sh: Also run typeiter2.
1511 * Makefile.am (check_PROGRAMS): Add typeiter2.
1512 (typeiter2_LDADD): New variable.
1514 2013-09-26 Petr Machata <pmachata@redhat.com>
1516 * run-readelf-mixed-corenote.sh: Update output of testfile71
1517 dump--readelf can newly decode the NT_FILE note.
1519 2013-09-26 Petr Machata <pmachata@redhat.com>
1521 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
1522 * run-readelf-mixed-corenote.sh: New test for this file.
1523 * testfile71.bz2: New file.
1525 2013-09-20 Mark Wielaard <mjw@redhat.com>
1527 * allfcts.c (cb): Return DWARF_CB_ABORT.
1528 (main): Iterate over all offsets returned by dwarf_getfuncs.
1529 * run-allfcts.sh: Add nested_funcs and class_func testcases.
1530 * testfile_nested_funcs.bz2: New test file.
1531 * testfile_class_func.bz2: Likewise.
1532 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
1533 testfile_nested_funcs.bz2.
1535 2013-08-30 Mark Wielaard <mjw@redhat.com>
1537 * Makefile.am (check_PROGRAMS): Add varlocs.
1538 (TESTS): Add run-varlocs.sh.
1539 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
1540 testfile_const_type.bz2, testfile_implicit_pointer.c,
1541 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1542 testfile_entry_value.c, testfile_entry_value.bz2,
1543 testfile_implicit_value.c and testfile_implicit_value.bz2.
1544 (varlocs_LDADD): New.
1545 * run-varlocs: New test.
1546 * testfile_const_type.c: New test source file.
1547 * testfile_entry_value.c: Likewise.
1548 * testfile_implicit_pointer.c: Likewise.
1549 * testfile_implicit_value.c: Likewise.
1550 * testfile_parameter_ref.c: Likewise.
1551 * testfile_const_type.bz2: New test file.
1552 * testfile_entry_value.bz2: Likewise.
1553 * testfile_implicit_pointer.bz2: Likewise.
1554 * testfile_implicit_value.bz2: Likewise.
1555 * testfile_parameter_ref.bz2: Likewise.
1556 * varlocs.c: New test source.
1558 2013-08-29 Mark Wielaard <mjw@redhat.com>
1560 * run-addrcfi.sh: Add case for EM_ARM.
1561 * testfilearm.bz2: New testfile.
1562 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1564 2013-08-28 Mark Wielaard <mjw@redhat.com>
1566 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1568 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1569 * testfiles390.bz2: New testfile.
1570 * testfiles390x.bz2: Likewise.
1571 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1574 2013-08-28 Mark Wielaard <mjw@redhat.com>
1576 * addrcfi.c (handle_cfi): Use printf not error.
1577 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1578 * testfileppc32.bz2: New testfile.
1579 * testfileppc64.bz2: Likewise.
1580 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1583 2013-08-27 Mark Wielaard <mjw@redhat.com>
1585 * run-addrcfi.sh: New test.
1586 * Makefile.am (TESTS): Add run-addrcfi.sh.
1587 (EXTRA_DIST): Likewise.
1588 * addrcfi.c (op_name): New function.
1589 (print_detail): Call and print op_name. Check ops, not result
1590 to check if this is "same value" or "undefined".
1591 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1593 2013-08-13 Mark Wielaard <mjw@redhat.com>
1595 * run-addr2line-i-test.sh: New test.
1596 * testfile-inlines.bz2: New testfile.
1597 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1598 testfile-inlines.bz2.
1599 (TESTS): Add run-addr2line-i-test.sh.
1601 2013-08-12 Mark Wielaard <mjw@redhat.com>
1603 * run-addr2line-test.sh: New test.
1604 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1607 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1609 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1612 2013-07-02 Mark Wielaard <mjw@redhat.com>
1614 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1615 testfilenolines.bz2.
1617 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1619 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1620 test-core.core.bz2 and test-core.exec.bz2.
1621 * run-addrname-test.sh: New test for these files.
1622 * run-unstrip-n.sh: Update expected output. New test for these files.
1623 * test-core-lib.so.bz2: New file.
1624 * test-core.core.bz2: New file.
1625 * test-core.exec.bz2: New file.
1627 2013-05-03 Mark Wielaard <mjw@redhat.com>
1629 * testfilenolines.bz2: New test file.
1630 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1631 * run-get-lines.sh: Run testrun_compare on testfilenolines.
1633 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1635 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1637 2013-04-29 Mark Wielaard <mjw@redhat.com>
1639 * test-subr.sh: Don't use pushd, just cd into test-dir.
1640 (exit_cleanup): Don't use popd, just cd .. to get out.
1642 2013-04-27 Mark Wielaard <mjw@redhat.com>
1644 * test-subr.sh (exit_cleanup): New function.
1645 (trap): Use exit_cleanup as argument.
1646 * run-native-test.sh (native_exit): New function.
1647 (trap): For EXIT (0) use native_exit as argument.
1649 2013-04-27 Mark Wielaard <mjw@redhat.com>
1651 * update1.c (main): Use unique tempfile name and unlink file.
1652 * update2.c (main): Likewise.
1653 * update3.c (main): Likewise.
1654 * update4.c (main): Use unique tempfile name.
1656 2013-04-27 Mark Wielaard <mjw@redhat.com>
1658 * run-alldts.sh: Add testfile-alldts to tempfiles.
1659 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1660 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1661 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1662 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1664 2013-04-26 Mark Wielaard <mjw@redhat.com>
1666 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1668 (TESTS_ENVIRONMENT): Likewise.
1669 (installed_LOG_COMPILER): New variable defining wrapper.
1670 (LOG_COMPILER): Likewise.
1671 * run-*.sh: Fixup location of input and output files.
1672 * test-subr.sh: Create test_dir, pushd to execute test in.
1673 (trap): Remove test_dir.
1674 (testfiles): Use abs_srcdir.
1675 (installed_testrun): Match on abs_builddir or abs_top_builddir.
1676 (self_test_files): Adjust path.
1678 2013-04-24 Mark Wielaard <mjw@redhat.com>
1680 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1682 2013-03-25 Mark Wielaard <mjw@redhat.com>
1684 * run-readelf-aranges.sh: New test.
1685 * testfilefoobarbaz.bz2: New test file.
1686 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1687 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1689 2013-03-25 Mark Wielaard <mjw@redhat.com>
1691 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1693 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1695 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1696 (TESTS): Add run-dwfl-report-elf-align.sh.
1697 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1698 testfile-dwfl-report-elf-align-shlib.so.bz2 .
1699 (dwfl_report_elf_align_LDADD): New.
1700 * dwfl-report-elf-align.c: New file.
1701 * run-dwfl-report-elf-align.sh: New file.
1702 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1704 2013-03-12 Mark Wielaard <mjw@redhat.com>
1706 * run-dwfllines.sh: New test.
1707 * dwfllines.c: New test program.
1708 * Makefile.am (TESTS): Add run-dwfllines.sh.
1709 (EXTRA_DIST): Likewise.
1710 (dwfllines_LDADD): New variable.
1712 2013-02-22 Mark Wielaard <mjw@redhat.com>
1714 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1715 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1717 2013-02-15 Mark Wielaard <mjw@redhat.com>
1719 * testfile-dwzstr.bz2: New testfile.
1720 * testfile-dwzstr.multi.bz2: Likewise.
1721 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1722 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1723 testfile-dwzstr.multi.bz2.
1725 2013-01-30 Mark Wielaard <mjw@redhat.com>
1727 * testfileloc.bz2: New testfile.
1728 * run-readelf-loc.sh: New test.
1729 * Makefile.am (TESTS): Add run-readelf-loc.sh.
1730 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1732 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1734 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1735 and s390x core notes.
1736 * testfile67.bz2: New file.
1737 * testfile68.bz2: New file.
1738 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1740 2013-01-23 Mark Wielaard <mjw@redhat.com>
1742 * testfilebasmin.bz2: New testfile.
1743 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1744 * run-readelf-s.sh: Test testfilebasmin.
1745 * run-dwflsyms.sh: Likewise.
1747 2013-01-16 Mark Wielaard <mjw@redhat.com>
1749 * Makefile.am (check_PROGRAMS): Add dwflsyms.
1750 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1751 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1752 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1753 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1754 (dwflsyms_LDADD): New variable.
1756 2013-01-07 Roland McGrath <roland@hack.frob.com>
1758 * run-prelink-addr-test.sh: Use ln -snf.
1760 2012-12-03 Mark Wielaard <mjw@redhat.com>
1762 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1764 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1766 * run-addrname-test.sh: New test for PIE relocation.
1767 * testfile70.core.bz2: New file.
1768 * testfile70.exec.bz2: New file.
1769 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1770 testfile70.exec.bz2 .
1772 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1774 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1775 testfile69.core.bz2 and testfile69.so.bz2 .
1777 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1779 * run-addrname-test.sh: New test for DSO with build-id bias.
1780 * testfile69.core.bz2: New file.
1781 * testfile69.so.bz2: New file.
1783 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1785 * run-addrname-test.sh: New test for core vDSO bias.
1786 * testfile65.bz2: New file.
1788 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1790 * run-addrname-test.sh: New test for symbol preferences.
1791 * testfile64.bz2: New file.
1793 2012-10-01 Mark Wielaard <mjw@redhat.com>
1795 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1796 * test-wrapper.sh: Export VALGRIND_CMD if available.
1797 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1798 (installed_testrun): Likewise.
1800 2012-09-24 Petr Machata <pmachata@redhat.com>
1802 * testfile63.bz2: New testfile.
1803 * run-readelf-mixed-corenote.sh: New test.
1804 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1805 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
1807 2012-09-24 Petr Machata <pmachata@redhat.com>
1809 * testfile62.bz2: New testfile.
1810 * run-readelf-vmcoreinfo.sh: New test.
1811 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
1812 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
1814 2012-09-18 Petr Machata <pmachata@redhat.com>
1816 * testfile61.bz2: New testfile.
1817 * run-allregs.sh: Run reg_test testfile61.
1818 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
1820 2012-08-24 Mark Wielaard <mjw@redhat.com>
1822 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
1824 2012-08-22 Jeff Kenton <jkenton@tilera.com>
1826 * testfile60.bz2: New testfile.
1827 * run-allregs.sh: Run reg_test testfile60.
1829 2012-08-24 Mark Wielaard <mjw@redhat.com>
1831 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
1834 2012-08-16 Mark Wielaard <mjw@redhat.com>
1836 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
1838 * show-die-info.c (tagnames): Removed.
1840 (dwarf_tag_string): New function using known-dwarf macros.
1841 (dwarf_attr_string): Likewise.
1842 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
1843 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
1845 2012-06-27 Mark Wielaard <mjw@redhat.com>
1847 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
1848 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
1849 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
1850 testfile_multi_main.bz2.
1851 * run-readelf-dwz-multi.sh: New test.
1852 * libtestfile_multi_shared.so.bz2: New testfile.
1853 * testfile_multi.dwz.bz2: New testifle.
1854 * testfile_multi_main.bz2: New testifle.
1856 2012-08-01 Petr Machata <pmachata@redhat.com>
1858 * run-test-archive64.sh: New test.
1859 * testarchive64.a.bz2: New testfile.
1860 * Makefile.am (TESTS): Add run-test-archive64.sh.
1861 (EXTRA_DIST): Likewise.
1863 2012-08-01 Mark Wielaard <mjw@redhat.com>
1865 * run-nm-self.sh: New test.
1866 * run-readelf-self.sh: Likewise.
1867 * test-subr.sh (testrun_on_self_quiet): New function.
1868 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
1869 (EXTRA_DIST): Likewise.
1871 2012-08-01 Mark Wielaard <mjw@redhat.com>
1873 * test-subr.sh (self_test_files): New list of files.
1874 (testrun_on_self): New function.
1875 * run-elflint-self.sh: Use testrun_on_self.
1877 2012-07-19 Mark Wielaard <mjw@redhat.com>
1879 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
1880 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
1881 (EXTRA_DIST): Likewise.
1882 (test_elf_cntl_gelf_getshdr_LDADD): New.
1883 test-elf_cntl_gelf_getshdr.c: New test program.
1884 run-elf_cntl_gelf_getshdr.sh: New test script.
1886 2012-07-19 Mark Wielaard <mjw@redhat.com>
1888 * run-elflint-self.sh: runtests on ../backends/*so files.
1890 2012-07-19 Mark Wielaard <mjw@redhat.com>
1892 * run-unstrip-n.sh: test_cleanup.
1893 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
1895 2012-07-11 Mark Wielaard <mjw@redhat.com>
1897 * run-readelf-macro.sh: New test.
1898 * testfilemacro.bz2: New testfile.
1899 * Makefile.am (TESTS): Add run-readelf-macro.sh.
1900 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
1902 2012-06-27 Mark Wielaard <mjw@redhat.com>
1904 * run-readelf-gdb-index.sh: New test.
1905 * testfilegdbindex5.bz2: New testfile.
1906 * testfilegdbindex7.bz2: Likewise.
1907 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
1908 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
1909 testfilegdbindex7.bz2.
1911 2012-07-17 Mark Wielaard <mjw@redhat.com>
1913 * testcore-rtlib-ppc.bz2: New testfile.
1914 * run-unstrip-n.sh: Check new ppc core testfile.
1916 2012-06-26 Mike Frysinger <vapier@gentoo.org>
1918 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
1920 2012-06-26 Mark Wielaard <mjw@redhat.com>
1922 * run-macro-test.sh: New test.
1923 * testfile-macinfo.bz2: New testfile.
1924 * testfile-macros.bz2: Likewise.
1926 2012-05-07 Mark Wielaard <mjw@redhat.com>
1928 * low_high_pc.c: Use proper inttypes in printf formats.
1930 2012-05-11 Mark Wielaard <mjw@redhat.com>
1932 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
1934 2012-05-07 Mark Wielaard <mjw@redhat.com>
1936 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
1938 2012-04-27 Mark Wielaard <mjw@redhat.com>
1940 * Makefile.am (TESTS): Add run-low_high_pc.sh
1941 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
1942 (noinst_PROGRAMS): Add low_high_pc.
1943 (low_high_pc_LDADD): New variable.
1944 * low_high_pc.c: New test.
1946 2012-04-26 Mark Wielaard <mjw@redhat.com>
1948 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
1949 * run-show-ciefde.sh: Removed old libdwarf test.
1950 * show-ciefde.c: Likewise.
1952 2012-04-02 Mark Wielaard <mjw@redhat.com>
1954 * Makefile.am (TESTS): Add run-unstrip-n.sh.
1955 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
1956 * run-unstrip-n.sh: New test.
1957 * testcore-rtlib.bz2: New testfile.
1959 2012-04-02 Mark Wielaard <mjw@redhat.com>
1961 * Makefile.am (TESTS): Add run-readelf-d.sh.
1962 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
1963 * run-readelf-d.sh: New test.
1964 * run-elflint-test.sh: Check new testfile.
1966 2012-03-21 Tom Tromey <tromey@redhat.com>
1968 * typeiter.c: New file.
1969 * run-typeiter.sh: New file.
1970 * testfile59.bz2: New file.
1971 * Makefile.am (noinst_PROGRAMS): Add typeiter.
1972 (TESTS): Add run-typeiter.sh.
1973 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
1974 (typeiter_LDADD): New variable.
1976 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
1978 * run-alldts.sh: testrun ./alldts.
1980 2012-02-21 Roland McGrath <roland@hack.frob.com>
1982 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
1983 * test-subr.sh (installed_testrun): Likewise.
1985 2012-01-18 Roland McGrath <roland@hack.frob.com>
1987 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
1988 it will have been inherited correctly from the test harness.
1989 * asm-tst5.c (main): Likewise.
1990 * asm-tst6.c (main): Likewise.
1991 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
1993 2011-07-09 Roland McGrath <roland@hack.frob.com>
1995 * sha1-tst.c: File removed.
1996 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
1997 (sha1_tst_LDADD): Variable removed.
1999 * md5-sha1-test.c: New file.
2000 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
2001 (md5_sha1_test_LDADD): New variable.
2003 2011-05-30 Mark Wielaard <mjw@redhat.com>
2005 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
2006 run-rerequest_tag.sh
2008 2011-05-24 Mark Wielaard <mjw@redhat.com>
2010 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
2011 * run-strip-reloc.sh: Add hello_s390.ko testcase.
2012 * hello_s390.ko.bz2: New test file.
2014 2011-05-23 Mark Wielaard <mjw@redhat.com>
2016 * Makefile.am (TESTS): Add run-strip-reloc.sh.
2017 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
2018 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
2019 * run-strip-reloc.sh: New test.
2020 * hello_i386.ko.bz2: New test file.
2021 * hello_x86_64.ko.bz2: Likewise.
2022 * hello_ppc64.ko.bz2: Likewise.
2024 2011-05-18 Mark Wielaard <mjw@redhat.com>
2026 * run-strip-groups.sh: New test.
2027 * testfile58.bz2: New test file.
2028 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
2029 (TESTS): Add run-strip-groups.sh.
2030 (EXTRA_DIST): Likewise.
2032 2011-03-28 Marek Polacek <mpolacek@redhat.com>
2034 * alldts.c: New file.
2035 * run-alldts.sh: Use it.
2036 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2037 (alldts_LDADD): New variable.
2039 2011-03-02 Marek Polacek <mpolacek@redhat.com>
2041 * dwarf-getstring.c: New test.
2042 * run-dwarf-getstring.sh: And its wrapper.
2043 * Makefile.am (EXTRA_DIST): Add and update all.
2045 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2047 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
2048 * run-readelf-twofiles.sh: New file.
2050 2011-02-25 Mark Wielaard <mjw@redhat.com>
2052 * Makefile.am (BUILD_RPATH): Be consistent in naming.
2054 2011-02-02 Josh Stone <jistone@redhat.com>
2056 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
2057 * testfile55-64.bz2, testfile55-64.debug.bz2,
2058 testfile55-64.prelink.bz2, testfile55-32.bz2,
2059 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2060 * Makefile.am (EXTRA_DIST): Add and update all.
2062 2011-01-12 Roland McGrath <roland@redhat.com>
2064 * run-prelink-addr-test.sh: Make symlinks to find .debug files
2065 corresponding to .noshdrs files.
2067 2011-01-11 Josh Stone <jistone@redhat.com>
2069 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2070 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2071 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2072 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2073 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2074 * Makefile.am (EXTRA_DIST): Add and update all.
2076 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2077 * testfile53.bz2, testfile53.debug.bz2,
2078 testfile53.prelink.bz2: Deleted, so...
2079 * testfile53-64.bz2, testfile53-64.debug.bz2,
2080 testfile53-64.prelink.bz2: Recreated with 64-bit names.
2081 * testfile53-32.bz2, testfile53-32.debug.bz2,
2082 testfile53-32.prelink.bz2: New in 32-bit.
2083 * Makefile.am (EXTRA_DIST): Add and update all.
2085 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2086 * testfile52.so.bz2, testfile52.so.debug.bz2,
2087 testfile52.prelink.so.bz2: Deleted, so...
2088 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2089 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2090 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2091 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
2092 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
2093 * Makefile.am (EXTRA_DIST): Add and update all.
2095 2011-01-10 Josh Stone <jistone@redhat.com>
2097 * run-prelink-addr-test.sh: New test for prelinked addrs.
2098 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2099 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2100 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2101 * testfile53.bz2, testfile53.debug.bz2: New data files.
2102 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2103 * Makefile.am (EXTRA_DIST): Add them.
2105 2010-06-04 Roland McGrath <roland@redhat.com>
2107 * run-unstrip-test.sh: Also test modifying the file in place.
2109 2010-04-22 Roland McGrath <roland@redhat.com>
2111 * addrcfi.c (handle_cfi): Fix function name in error message.
2112 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2114 2010-04-14 Roland McGrath <roland@redhat.com>
2116 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2118 2010-04-10 Ulrich Drepper <drepper@redhat.com>
2120 * msg_tst.c: Adjust expected error message.
2122 2010-04-01 Petr Machata <pmachata@redhat.com>
2124 * test-flag-nobits.c: New test.
2125 * run-test-flag-nobits.sh: And its wrapper.
2126 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2127 (test_flag_nobits_LDADD): New variable.
2129 2010-02-15 Roland McGrath <roland@redhat.com>
2131 * Makefile.am: Use config/eu.am for common stuff.
2133 * asm-tst9.c (main): Rename local to avoid shadowing another local.
2135 2009-07-22 Roland McGrath <roland@redhat.com>
2137 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2139 2009-07-08 Roland McGrath <roland@redhat.com>
2141 * addrcfi.c: New file.
2142 * Makefile.am (noinst_PROGRAMS): Add it.
2143 (addrcfi_LDADD): New variable.
2145 2009-05-07 Petr Machata <pmachata@redhat.com>
2147 * testfile51.bz2: New data file.
2148 * dwarf-getmacros.c: New test core.
2149 * run-dwarf-getmacros.sh: New test wrapper.
2150 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2151 (dwarf_getmacros_LDADD): New variable.
2153 2009-04-23 Ulrich Drepper <drepper@redhat.com>
2155 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2156 (rdwrmmap_LDADD): Add $(libmudflap).
2158 2009-04-21 Roland McGrath <roland@redhat.com>
2160 * testfile50.bz2: New data file.
2161 * Makefile.am (EXTRA_DIST): Add it.
2162 * run-dwfl-addr-sect.sh: Add a case using it.
2164 2008-12-31 Ulrich Drepper <drepper@redhat.com>
2166 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2167 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2168 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2169 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2170 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2171 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2172 roundss, roundps, roundpd, and roundsd.
2173 * testfile45.S.bz2: Likewise.
2174 * testfile44.expect.bz2: Adjust accordingly.
2175 * testfile45.expect.bz2: Likewise.
2177 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2178 * testfile45.S.bz2: Likewise.
2179 * testfile44.expect.bz2: Adjust accordingly.
2180 * testfile45.expect.bz2: Likewise.
2182 2008-12-30 Ulrich Drepper <drepper@redhat.com>
2184 * testfile44.S.bz2: Add tests for blendpd and blendps.
2185 * testfile45.S.bz2: Likewise.
2186 * testfile44.expect.bz2: Adjust accordingly.
2187 * testfile45.expect.bz2: Likewise.
2189 2008-12-19 Ulrich Drepper <drepper@redhat.com>
2191 * testfile44.S.bz2: Add tests for AMD 3DNOW.
2192 * testfile45.S.bz2: Likewise.
2193 * testfile44.expect.bz2: Adjust accordingly.
2194 * testfile45.expect.bz2: Likewise.
2196 2008-11-26 Roland McGrath <roland@redhat.com>
2198 * dwfl-bug-getmodules.c: New file.
2199 * Makefile.am (noinst_PROGRAMS): Add it.
2200 (dwfl_bug_getmodules_LDADD): New variable.
2202 2008-09-10 Roland McGrath <roland@redhat.com>
2204 * test-subr.sh (LC_ALL): Export it set to "C".
2205 * run-dwfl-addr-sect.sh: Don't do it here.
2206 * run-strings-test.sh: Likewise.
2208 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
2210 * run-addrname-test.sh: Add a new case.
2211 * testfile49.bz2: New data file.
2212 * Makefile.am (EXTRA_DIST): Add it.
2214 2008-04-10 Roland McGrath <roland@redhat.com>
2216 * testfile48.bz2, testfile48.bz2.debug: New data files.
2217 * Makefile.am (EXTRA_DIST): Add them.
2218 * run-strip-test8.sh: Use them.
2220 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2222 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2223 * run-strip-test8.sh: New file.
2224 * testfile47.bz2: New data file.
2225 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2227 2008-03-31 Roland McGrath <roland@redhat.com>
2229 * run-early-offscn.sh: New file.
2230 * early-offscn.c: New file.
2231 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2232 (early_offscn_LDADD): New variable.
2234 2008-03-19 Roland McGrath <roland@redhat.com>
2236 * run-addrname-test.sh: Add a new case.
2238 2008-02-22 Roland McGrath <roland@redhat.com>
2240 * run-elflint-test.sh: Typo fix.
2242 2008-02-21 Roland McGrath <roland@redhat.com>
2244 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2245 for the build down to minimum.
2246 * run-disasm-x86-64.sh: Likewise.
2248 2008-02-20 Roland McGrath <roland@redhat.com>
2250 * testfile46.bz2: New data file.
2251 * Makefile.am (EXTRA_DIST): Add it.
2252 * run-elflint-test.sh: Test on it.
2254 2008-02-01 Ulrich Drepper <drepper@redhat.com>
2256 * Makefile.am: Hook up sha1-tst.c.
2257 * sha1-tst.c: New file.
2259 2008-01-21 Roland McGrath <roland@redhat.com>
2261 * testfile45.S.bz2: Add tests for cltq, cqto.
2262 * testfile45.expect.bz2: Adjust.
2264 2008-01-14 Ulrich Drepper <drepper@redhat.com>
2266 * testfile45.S.bz2: Add more tests.
2267 * testfile45.expect.bz2: Adjust.
2269 2008-01-11 Ulrich Drepper <drepper@redhat.com>
2271 * testfile45.expect.bz2: Adjust for adding of address for %rip based
2274 2008-01-10 Ulrich Drepper <drepper@redhat.com>
2276 * testfile45.S.bz2: Add more tests.
2277 * testfile45.expect.bz2: Adjust.
2279 2008-01-08 Ulrich Drepper <drepper@redhat.com>
2281 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2282 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2283 run-disasm-x86-64.sh.
2284 * run-disasm-x86-64.sh: New file.
2285 * testfile45.S.bz2: New file.
2286 * testfile45.expect.bz2: New file.
2287 * testfile44.S.bz2: New tests.
2288 * testfile44.expect.bz2: Adjust.
2290 2008-01-04 Ulrich Drepper <drepper@redhat.com>
2292 * testfile44.S.bz2: New tests.
2293 * testfile44.expect.bz2: Adjust.
2295 2008-01-04 Roland McGrath <roland@redhat.com>
2297 * dwfl-bug-fd-leak.c (main): Add a cast.
2299 2008-01-03 Ulrich Drepper <drepper@redhat.com>
2301 * testfile44.S.bz2: New tests.
2302 * testfile44.expect.bz2: Adjust.
2304 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2306 * line2addr.c: Use %m modifier instead of %a to appease gcc.
2308 2008-01-01 Ulrich Drepper <drepper@redhat.com>
2310 * testfile44.S.bz2: New tests.
2311 * testfile44.expect.bz2: Adjust.
2313 2007-12-31 Ulrich Drepper <drepper@redhat.com>
2315 * testfile44.S.bz2: New tests.
2316 * testfile44.expect.bz2: Adjust.
2318 2007-12-30 Ulrich Drepper <drepper@redhat.com>
2320 * testfile44.S.bz2: New tests.
2321 * testfile44.expect.bz2: Adjust.
2323 2007-12-29 Ulrich Drepper <drepper@redhat.com>
2325 * testfile44.s.bz2: New tests.
2326 * testfile44.expect.bz2: Adjust.
2328 2007-12-28 Ulrich Drepper <drepper@redhat.com>
2330 * testfile44.S.bz2: New tests.
2331 * testfile44.expect.bz2: Adjust.
2333 2007-12-27 Ulrich Drepper <drepper@redhat.com>
2335 * testfile44.S.bz2: New tests.
2336 * testfile44.expect.bz2: Adjust.
2338 2007-12-26 Ulrich Drepper <drepper@redhat.com>
2340 * testfile44.S.bz2: New tests.
2341 * testfile44.expect.bz2: Adjust
2343 2007-12-21 Ulrich Drepper <drepper@redhat.com>
2345 * testfile44.S.bz2: More tests.
2346 * testfile44.expect.bz2: Adjust appropriately.
2348 2007-12-19 Ulrich Drepper <drepper@redhat.com>
2350 * Makefile.am (TESTS): Add run-disasm.sh.
2351 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2352 testfile44.expect.bz2.
2353 * run-disasm.sh: New file.
2354 * testfile44.S.bz2: New file.
2355 * testfile44.expect.bz2: New file.
2357 2007-12-15 Roland McGrath <roland@redhat.com>
2359 * run-allregs.sh: Change expected output for powerpc spefscr.
2361 2007-10-20 Roland McGrath <roland@redhat.com>
2363 * run-dwfl-addr-sect.sh: Change expected output, no errors.
2365 2007-10-19 Roland McGrath <roland@redhat.com>
2367 * dwfl-addr-sect.c (handle_address): Return int.
2368 Don't exit on error, just return nonzero.
2369 (main): Collect results.
2370 * run-dwfl-addr-sect.sh: New file.
2371 * testfile43.bz2: New data file.
2372 * Makefile.am (EXTRA_DIST, TESTS): Add them.
2374 2007-10-18 Roland McGrath <roland@redhat.com>
2376 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2378 2007-10-16 Roland McGrath <roland@redhat.com>
2380 * test-subr.sh (remove_files): Don't pass -Bb to diff.
2382 2007-10-09 Roland McGrath <roland@redhat.com>
2384 * dwflmodtest.c (print_module): Don't use %p in output.
2385 * run-dwfl-bug-offline-rel.sh: Updated expected output.
2387 2007-10-08 Roland McGrath <roland@redhat.com>
2389 * testfile42.bz2: New data file.
2390 * Makefile.am (EXTRA_DIST): Add it.
2391 * run-elflint-test.sh: New test on that file.
2393 2007-10-04 Roland McGrath <roland@redhat.com>
2395 * run-readelf-test4.sh: New file.
2396 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2398 2007-10-03 Roland McGrath <roland@redhat.com>
2400 * run-readelf-test3.sh: New file.
2401 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2403 2007-10-01 Roland McGrath <roland@redhat.com>
2405 * run-readelf-test2.sh: New file.
2406 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2408 2007-09-11 Roland McGrath <roland@redhat.com>
2410 * run-addrname-test.sh: Add a new case.
2411 * testfile41.bz2: New data file.
2412 * Makefile.am (EXTRA_DIST): Add it.
2414 2007-08-23 Roland McGrath <roland@redhat.com>
2416 * run-allregs.sh: Update expected x86-64 output for %rflags.
2418 2007-08-12 Roland McGrath <roland@redhat.com>
2420 * run-strip-test7.sh: New file.
2421 * testfile39.bz2: New data file.
2422 * testfile40.bz2: New data file.
2423 * testfile40.debug.bz2: New data file.
2424 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2426 2007-08-09 Roland McGrath <roland@redhat.com>
2428 * dwfl-bug-report.c: Fix header inclusion.
2430 2007-08-08 Roland McGrath <roland@redhat.com>
2432 * run-addrname-test.sh: Add a new case using addr2line -S.
2433 * testfile38.bz2: New data file.
2434 * Makefile.am (EXTRA_DIST): Add it.
2436 2007-07-16 Roland McGrath <roland@redhat.com>
2438 * dwfl-bug-report.c: New file.
2439 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2440 (dwfl_bug_report_LDADD): New variable.
2442 2007-06-06 Roland McGrath <roland@redhat.com>
2444 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2446 2007-06-05 Ulrich Drepper <drepper@redhat.com>
2448 * Makefile.am (EXTRA_DIST): Add missing line continuation and
2449 testfile37.bz and testfile37.debug.bz2.
2451 2007-05-23 Roland McGrath <roland@redhat.com>
2453 * run-allregs.sh: Update expected Alpha results.
2455 2007-05-18 Roland McGrath <roland@redhat.com>
2457 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2458 * testfile37.bz2: New data file.
2459 * testfile37.debug.bz2: New data file.
2460 * run-unstrip-test2.sh: New file.
2461 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2463 2007-05-10 Roland McGrath <roland@redhat.com>
2465 * run-dwfl-bug-offline-rel.sh: New file.
2466 * testfile36.bz2: New data file.
2467 * testfile36.debug.bz2: New data file.
2468 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2470 2007-04-28 Roland McGrath <roland@redhat.com>
2472 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2473 * testfile35.bz2: New data file.
2474 * testfile35.debug.bz2: New data file.
2475 * run-unstrip-test.sh: New file.
2476 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2478 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2480 2007-04-26 Roland McGrath <roland@redhat.com>
2482 * run-elflint-self.sh: Run all tests even if one fails.
2484 * run-allregs.sh: Add expected output for alpha.
2486 2007-04-24 Roland McGrath <roland@redhat.com>
2488 * run-strip-test.sh: When we saved the debug info, test unstrip too.
2490 2007-04-22 Roland McGrath <roland@redhat.com>
2492 * run-allregs.sh: Update expected register info.
2494 2007-04-16 Roland McGrath <roland@redhat.com>
2496 * dwfl-addr-sect.c: New file.
2497 * Makefile.am (noinst_PROGRAMS): Add it.
2498 (dwfl_addr_sect_LDADD): New variable.
2500 2007-04-05 Roland McGrath <roland@redhat.com>
2502 * get-files.c: Test dwarf_getsrcdirs.
2503 * run-get-files.sh: Update expected output.
2505 2007-04-01 Roland McGrath <roland@redhat.com>
2507 * run-allregs.sh: Updated expected output for x86_64.
2509 2007-03-04 Roland McGrath <roland@redhat.com>
2511 * dwfl-bug-fd-leak.c: New file.
2512 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2513 (dwfl_bug_fd_leak_LDADD): New variable.
2515 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
2516 show what files have been located.
2518 2007-02-02 Roland McGrath <roland@redhat.com>
2520 * run-addrname-test.sh: New file.
2521 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2522 * testfile34.bz2: New data file.
2523 * Makefile.am (EXTRA_DIST): Add it.
2525 2007-01-20 Roland McGrath <roland@redhat.com>
2527 * testfile33.bz2: New data file.
2528 * Makefile.am (EXTRA_DIST): Add it.
2529 * run-elflint-test.sh: Test on it too.
2531 2007-01-18 Roland McGrath <roland@redhat.com>
2533 * Makefile.am (CFLAGS): Don't molest it.
2535 2007-01-11 Roland McGrath <roland@redhat.com>
2537 * testfile32.bz2: New data file.
2538 * Makefile.am (EXTRA_DIST): Add it.
2539 * run-elflint-test.sh: Test on it too.
2541 2007-02-04 Ulrich Drepper <drepper@redhat.com>
2544 * Makefile (noinst_PROGRAMS): Add arls.
2546 * run-ranlib-test2.sh: Fix type in comment.
2548 2007-01-10 Ulrich Drepper <drepper@redhat.com>
2550 * run-elflint-self.sh (runtest): Show which file has the problem.
2552 2007-01-10 Roland McGrath <roland@redhat.com>
2554 * dwfl-bug-addr-overflow.c: New file.
2555 * Makefile.am (TESTS): Add it.
2556 (dwfl_bug_addr_overflow_LDADD): New variable.
2558 2006-12-17 Roland McGrath <roland@redhat.com>
2560 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2562 2006-09-05 Roland McGrath <roland@redhat.com>
2564 * run-strings-test.sh: Export LC_ALL=C for the test.
2566 2006-08-29 Roland McGrath <roland@redhat.com>
2568 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2569 * run-arsymtest.sh: Likewise.
2571 * run-native-test.sh (native.c compilation): Add some braces.
2573 2006-08-22 Roland McGrath <roland@redhat.com>
2575 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2576 (struct reginfo): New members bits, type.
2577 (one_register, match_register): Update to take new args,
2578 record and display new info.
2579 (main): Display new info.
2580 * run-allregs.sh: Update expected results.
2582 2006-08-03 Roland McGrath <roland@redhat.com>
2584 * run-allregs.sh: Add sparc cases.
2585 * testfile30.bz2: New data file.
2586 * testfile31.bz2: New data file.
2587 * Makefile.am (EXTRA_DIST): Add them.
2589 2006-07-21 Roland McGrath <roland@redhat.com>
2591 * allregs.c (struct reginfo): Increase size of name.
2592 (one_register): Assert that it's big enough.
2594 2006-04-04 Roland McGrath <roland@redhat.com>
2596 * run-bug1-test.sh: Test a second case, to cover both byte orders.
2597 * testfile29.bz2: New file.
2598 * testfile29.rdwr.bz2: New file.
2599 * Makefile.am (EXTRA_DIST): Add them.
2601 2006-04-04 Ulrich Drepper <drepper@redhat.com>
2603 * Makefile.am: Add rules to run run-bug1-test.sh.
2604 * rdwrmmap.c: New file.
2605 * run-bug1-test.sh: New file.
2606 * testfile28.bz2: New file.
2607 * testfile28.rdwr.bz2: New file.
2609 2006-03-09 Roland McGrath <roland@redhat.com>
2611 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2613 2006-03-01 Roland McGrath <roland@redhat.com>
2615 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2616 changes matching 3.0 spec.
2618 2006-01-13 Roland McGrath <roland@redhat.com>
2620 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2621 bash 3.1 whines when it's done in the trap 0 handler.
2623 2006-01-11 Roland McGrath <roland@redhat.com>
2625 * testfile26.bz2: New data file.
2626 * testfile27.bz2: New data file.
2627 * Makefile.am (EXTRA_DIST): Add them.
2628 * run-allregs.sh: Test s390 data.
2630 2005-12-14 Roland McGrath <roland@redhat.com>
2632 * run-native-test.sh: Redirect output from native test process.
2634 2005-12-13 Roland McGrath <roland@redhat.com>
2636 * allregs.c (main): Fail if we find no registers.
2638 * run-native-test.sh: New file.
2639 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2641 2005-12-10 Ulrich Drepper <drepper@redhat.com
2643 * run-readelf-test1.sh: New file.
2644 * Makefile.am (TESTS): Add run-readelf-test1.sh.
2645 (EXTRA_DIST): Likewise.
2647 2005-12-07 Roland McGrath <roland@redhat.com>
2649 * ecp.c (main): Use elf_end to clean up.
2651 2005-11-25 Roland McGrath <roland@redhat.com>
2653 * coverage.sh: Given -v argument, print names of unused files.
2655 * addrscopes.c (main): Use dwfl_end before return.
2656 * allregs.c (main): Likewise.
2657 * find-prologues.c (main): Likewise.
2658 * funcretval.c (main): Likewise.
2659 * funcscopes.c (main): Likewise.
2660 * line2addr.c (main): Likewise.
2662 * run-allregs.sh: New file.
2663 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2665 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2666 * Makefile.am (allregs_LDADD): Updated.
2668 * allregs.c: New file.
2669 * Makefile.am (noinst_PROGRAMS): Add it.
2670 (allregs_LDADD): New variable.
2672 2005-11-18 Roland McGrath <roland@redhat.com>
2674 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2675 * test-wrapper.sh: Likewise.
2677 2005-11-17 Roland McGrath <roland@redhat.com>
2679 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2680 environment for test-wrapper.sh.
2681 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2682 * test-subr.sh (installed_testrun): Likewise.
2683 Use explicit path in ${bindir}.
2685 * Makefile.am (installcheck-local): Fix typo in last change.
2687 2005-11-16 Roland McGrath <roland@redhat.com>
2689 * configure.ac: New file, for standalone build/dist of test suite.
2690 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2691 (asm_TESTS): New variable, broken out of ...
2692 (TESTS): ... here. Also remove msg_tst.
2693 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2694 (installed_TESTS_ENVIRONMENT): New variable.
2695 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2696 [!STANDALONE] (installcheck-local): Likewise.
2697 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2698 * addrscopes.c: Include <config.h>.
2699 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2700 * allfcts.c: Likewise.
2701 * asm-tst1.c: Likewise.
2702 * asm-tst2.c: Likewise.
2703 * asm-tst3.c: Likewise.
2704 * asm-tst4.c: Likewise.
2705 * asm-tst5.c: Likewise.
2706 * asm-tst6.c: Likewise.
2707 * asm-tst7.c: Likewise.
2708 * asm-tst8.c: Likewise.
2709 * asm-tst9.c: Likewise.
2710 * dwflmodtest.c: Likewise.
2711 * find-prologues.c: Likewise.
2712 * funcscopes.c: Likewise.
2713 * get-aranges.c: Likewise.
2714 * get-files.c: Likewise.
2715 * get-lines.c: Likewise.
2716 * get-pubnames.c: Likewise.
2717 * line2addr.c: Likewise.
2718 * newscn.c: Likewise.
2719 * show-abbrev.c: Likewise.
2720 * show-die-info.c: Likewise.
2721 * update3.c: Likewise.
2722 * update4.c: Likewise.
2723 * funcretval.c: Likewise.
2725 * dwflmodtest.c (print_instance): Don't use INTUSE.
2726 (options): Don't use N_ macro.
2728 2005-11-15 Roland McGrath <roland@redhat.com>
2730 * coverage.sh: Look in backends.
2731 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2732 (TESTS_ENVIRONMENT): Likewise.
2734 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2735 pass FUNCDIE direclty to dwfl_module_return_value_location.
2737 * Makefile.am (BUILD_RPATH): New variable.
2738 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2739 (tests_rpath): New variable.
2740 (installcheck-local): Pass it to test-wrapper.sh.
2741 * test-wrapper.sh: In "installed" format, take yes/no value
2742 for elfutils_tests_rpath, which export. When running a test
2743 binary for installcheck, exit 77.
2744 * test-subr.sh (installed_testrun): When running a test binary
2745 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2747 2005-11-14 Roland McGrath <roland@redhat.com>
2749 * test-subr.sh: New file.
2750 * test-wrapper.sh: New file.
2751 * Makefile.am (EXTRA_DIST): Add them.
2752 (AM_LDFLAGS): Variable removed.
2753 (TESTS_ENVIRONMENT): New variable.
2754 (installcheck-local): New target.
2755 * run-addrscopes.sh: Use test-subr.sh.
2756 * run-allfcts.sh: Likewise.
2757 * run-ecp-test.sh: Likewise.
2758 * run-ecp-test2.sh: Likewise.
2759 * run-elflint-self.sh: Likewise.
2760 * run-elflint-test.sh: Likewise.
2761 * run-find-prologues.sh: Likewise.
2762 * run-funcscopes.sh: Likewise.
2763 * run-get-aranges.sh: Likewise.
2764 * run-get-files.sh: Likewise.
2765 * run-get-lines.sh: Likewise.
2766 * run-get-pubnames.sh: Likewise.
2767 * run-line2addr.sh: Likewise.
2768 * run-ranlib-test.sh: Likewise.
2769 * run-ranlib-test2.sh: Likewise.
2770 * run-show-abbrev.sh: Likewise.
2771 * run-show-ciefde.sh: Likewise.
2772 * run-show-die-info.sh: Likewise.
2773 * run-strings-test.sh: Likewise.
2774 * run-strip-test.sh: Likewise.
2776 2005-11-13 Roland McGrath <roland@redhat.com>
2778 * funcretval.c: New file.
2779 * Makefile.am (noinst_PROGRAMS): Add it.
2780 (funcretval_LDADD): New variable.
2782 2005-11-09 Ulrich Drepper <drepper@redhat.com>
2784 * line2addr.c (handle_module): Add missing parameter to printf.
2786 2005-10-27 Roland McGrath <roland@redhat.com>
2788 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2789 * funcscopes.c (handle_function): Likewise.
2790 * dwflmodtest.c (print_inline, print_func): Likewise.
2791 * find-prologues.c (handle_function): Likewise.
2793 2005-10-27 Roland McGrath <roland@redhat.com>
2795 * run-find-prologues.sh: New file.
2796 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2798 * find-prologues.c (handle_function): Skip inlines.
2800 2005-10-25 Roland McGrath <roland@redhat.com>
2802 * find-prologues.c: New file.
2803 * Makefile.am (noinst_PROGRAMS): Add it.
2804 (find_prologues_LDADD): New variable.
2806 2005-09-02 Ulrich Drepper <drepper@redhat.com>
2808 * run-strings-test.sh: Remove strings.out in the end.
2810 2005-08-31 Ulrich Drepper <drepper@redhat.com>
2812 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
2813 * run-allfcts.sh: Likewise.
2814 * run-ecp-test.sh: Likewise.
2815 * run-ecp-test2.sh: Likewise.
2816 * run-elflint-test.sh: Likewise.
2817 * run-funcscopes.sh: Likewise.
2818 * run-get-aranges.sh: Likewise.
2819 * run-get-files.sh: Likewise.
2820 * run-get-lines.sh: Likewise.
2821 * run-get-pubnames.sh: Likewise.
2822 * run-line2addr.sh: Likewise.
2823 * run-ranlib-test2.sh: Likewise.
2824 * run-show-abbrev.sh: Likewise.
2825 * run-show-ciefde.sh: Likewise.
2826 * run-show-die-info.sh: Likewise.
2827 * run-strings-test.sh: Likewise.
2828 * run-strip-test.sh: Likewise.
2830 2005-08-30 Ulrich Drepper <drepper@redhat.com>
2832 * coverage.sh: Handle case where there is no .gcno file at all.
2834 2005-08-29 Ulrich Drepper <drepper@redhat.com>
2836 * Makefile.am (EXTRA_DIST): Add coverage.
2837 [GCOV]: Generate coverage summary after the tests ran
2838 * coverage.sh: New file.
2840 2005-08-28 Ulrich Drepper <drepper@redhat.com>
2842 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
2843 (CLEANFILES): Add *.gcno *.gcda *.gconv.
2845 2005-08-28 Ulrich Drepper <drepper@redhat.com>
2847 * run-strings-test.sh: New file.
2848 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2850 2005-08-27 Roland McGrath <roland@redhat.com>
2852 * addrscopes.c (handle_address): Apply bias to PC addresses.
2854 * run-funcscopes.sh: New file.
2855 * testfile25.bz2: New data file.
2856 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2858 2005-08-26 Roland McGrath <roland@redhat.com>
2860 * addrscopes.c (dwarf_diename_integrate): Removed.
2861 (print_vars, handle_address): Use plain dwarf_diename.
2863 2005-08-25 Roland McGrath <roland@redhat.com>
2865 * funcscopes.c: New file.
2866 * Makefile.am (noinst_PROGRAMS): Add it.
2867 (funcscopes_LDADD): New variable.
2869 * run-addrscopes.sh: Add another case.
2870 * testfile24.bz2: New data file.
2871 * Makefile.am (EXTRA_DIST): Add it.
2873 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
2874 pass it to dwarf_getscopes.
2875 (main): Pass it, true when '=' follows an address.
2877 2005-08-24 Roland McGrath <roland@redhat.com>
2879 * line2addr.c (print_address): Omit () for DSOs.
2881 2005-08-24 Ulrich Drepper <drepper@redhat.com>
2883 * run-line2addr.sh: Remove testfile23 in the end.
2885 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
2886 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
2888 2005-08-22 Roland McGrath <roland@redhat.com>
2890 * run-line2addr.sh: Add a case.
2891 * testfile23.bz2: New data file.
2892 * Makefile.am (EXTRA_DIST): Add it.
2894 2005-08-18 Roland McGrath <roland@redhat.com>
2896 * run-addrscopes.sh: New file.
2897 * testfile22.bz2: New data file.
2898 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2900 * addrscopes.c: New file.
2901 * Makefile.am (noinst_PROGRAMS): Add it.
2902 (addrscopes_LDADD): New variable.
2904 2005-08-15 Ulrich Drepper <drepper@redhat.com>
2906 * run-elflint-self.sh: Don't run test if the file doesn't exist.
2908 2005-08-15 Roland McGrath <roland@redhat.com>
2910 * dwflmodtest.c (print_instance, print_inline): New functions.
2911 (print_func): Call print_inline.
2912 (options, parse_opt): Grok -i/--inlines.
2914 2005-08-07 Roland McGrath <roland@redhat.com>
2916 * dwflmodtest.c: Print function details only if -f flag is given.
2918 2005-08-06 Ulrich Drepper <drepper@redhat.com>
2920 * run-elflint-self.sh: New file.
2921 * Makefile.am (TESTS): Add run-elflint-self.sh.
2922 (EXTRA_DIST): Likewise.
2924 * Makefile.am: Link with statis libs if BUILD_STATIC.
2925 (dwflmodtest_LDADD): Also link with -ldl.
2927 2005-08-02 Ulrich Drepper <drepper@redhat.com>
2929 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
2930 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
2932 * asm-tst2.c: Likewise.
2933 * asm-tst3.c: Likewise.
2934 * asm-tst4.c: Likewise.
2935 * asm-tst5.c: Likewise.
2936 * asm-tst6.c: Likewise.
2937 * asm-tst7.c: Likewise.
2938 * asm-tst8.c: Likewise.
2939 * asm-tst9.c: Likewise.
2941 * msg_tst.c: Add new error message.
2943 2005-07-28 Ulrich Drepper <drepper@redhat.com>
2945 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
2947 2005-06-01 Roland McGrath <roland@redhat.com>
2949 * line2addr.c: Rewritten using libdwfl.
2950 * run-line2addr.sh: Update test for changed arguments.
2951 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
2952 (libdwfl): New variable.
2953 (line2addr_LDADD): Use it.
2955 2005-07-28 Roland McGrath <roland@redhat.com>
2957 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
2958 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
2959 (dwflmodtest_LDADD): New variable.
2960 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
2962 2005-07-21 Ulrich Drepper <drepper@redhat.com>
2964 * testfile18.bz2: New file.
2965 * run-elflint-test.sh: New file.
2966 * Makefile.am (TESTS): Add run-elflint-test.sh.
2967 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
2969 2005-05-24 Ulrich Drepper <drepper@redhat.com>
2971 * get-files.c (main): Use correct format specifier.
2973 2005-05-21 Ulrich Drepper <drepper@redhat.com>
2975 * Makefile.am: Add -Wextra to CFLAGS.
2976 * get-files.c: Remove warning this produced.
2977 * get-pubnames.c: Likewise.
2978 * newfile.c: Likewise.
2979 * newscn.c: Likewise.
2980 * scnnames.c: Likewise.
2981 * showptable.c: Likewise.
2982 * test-nlist.c: Likewise.
2983 * update1.c: Likewise.
2984 * update2.c: Likewise.
2985 * update3.c: Likewise.
2986 * update4.c: Likewise.
2988 2005-05-08 Ulrich Drepper <drepper@redhat.com>
2990 * run-line2addr.sh: Remove testfile14 at the end.
2992 * run-strip-test.sh: Remove debuginfo test input file as well.
2994 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
2997 2005-05-03 Roland McGrath <roland@redhat.com>
2999 * run-strip-test.sh: Use variables for test file names.
3000 Optionally produce separate debug file and check it.
3001 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
3002 * run-strip-test3.sh: Likewise.
3003 * run-strip-test4.sh: New file.
3004 * run-strip-test5.sh: New file.
3005 * run-strip-test6.sh: New file.
3006 * testfile15.bz: New file.
3007 * testfile15.debug.bz: New file.
3008 * testfile16.bz: New file.
3009 * testfile16.debug.bz: New file.
3010 * testfile17.bz: New file.
3011 * testfile17.debug.bz: New file.
3012 * Makefile.am (TESTS, EXTRA_DIST): Add them.
3014 2005-04-25 Ulrich Drepper <drepper@redhat.com>
3016 * run-line2addr.sh: Also use testfile14. Adjust for correct
3017 return of multiple matches.
3018 * testfile14.bz2: New file.
3019 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
3021 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
3023 2005-04-04 Roland McGrath <roland@redhat.com>
3025 * line2addr.c (main): Initialize LINES and NLINES before calling
3026 dwarf_getsrc_file, and free LINES afterwards.
3028 * allfcts.c (main): Use size_t for CUHL.
3030 2005-04-04 Ulrich Drepper <drepper@redhat.com>
3032 * line2addr.c: New file.
3033 * run-line2addr.sh: New file.
3034 * Makefile.am: Add rules to build, run, and distribute new code.
3036 2005-04-02 Ulrich Drepper <drepper@redhat.com>
3038 * allfcts.c: New file.
3039 * run-allfcts.sh: New file.
3040 * Makefile.am: Add rules to build, run, and distribute new code.
3042 2005-02-05 Ulrich Drepper <drepper@redhat.com>
3044 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
3045 programs with -lmudflap.
3047 2004-09-25 Ulrich Drepper <drepper@redhat.com>
3049 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
3050 * asm-tst5.c (main): Likewise.
3051 * asm-tst6.c (main): Likewise.
3053 2004-01-17 Ulrich Drepper <drepper@redhat.com>
3055 * Makefile.am: Support building with mudflap.
3057 2004-01-12 Ulrich Drepper <drepper@redhat.com>
3059 * get-aranges.c: Rewrite to use libdw.
3060 * Makefile.am: Reenable get-aranges test.
3062 2004-01-11 Ulrich Drepper <drepper@redhat.com>
3064 * get-lines.c: New file.
3065 * get-files.c: Adjust for libdw.
3066 * run-get-files.sh: Adjust expected result.
3067 * run-get-lines.sh: Likewise.
3068 * Makefile.am: Run get-lines test. Don't run get-aranges and
3069 get-ciefde test for now.
3071 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3072 change. Print attribute offset information.
3073 * run-show-abbrev.sh: Adjust expected output.
3075 2004-01-09 Ulrich Drepper <drepper@redhat.com>
3077 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3078 * show-die-info.c: Likewise.
3079 * run-show-die-info.sh: Adjust expected output.
3081 2003-08-13 Ulrich Drepper <drepper@redhat.com>
3083 * Makefile.in: Depend on libebl.a, not libebl.so.
3085 2003-08-11 Ulrich Drepper <drepper@redhat.com>
3087 * Moved to CVS archive.