1 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
3 * run-allregs.sh: Add a test for testfile-x32-core.
5 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
7 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
8 * testfile-x32-core.bz2: New file.
9 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
11 2015-03-18 Petr Machata <pmachata@redhat.com>
13 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
15 * allregs.c (dwarf_encoding_string): Likewise.
16 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
17 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
19 2015-03-18 Petr Machata <pmachata@redhat.com>
21 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
22 debug-ranges-no-lowpc.o.bz2.
24 2015-03-13 Mark Wielaard <mjw@redhat.com>
26 * backtrace-dwarf.c: Add explicit includes.
27 (cleanup_13_abort): Remove unused static declaration.
28 (thread_callback): Add explicit return.
30 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
32 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
33 instead of PTRACE_POKEUSER.
34 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
37 2015-02-18 Mark Wielaard <mjw@redhat.com>
39 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
41 2015-02-11 Josh Stone <jistone@redhat.com>
43 * backtrace.c (exec_dump): Initialize jmp.
45 2015-02-11 Petr Machata <pmachata@redhat.com>
47 * run-dwarf-ranges.sh: New test.
48 * dwarf-ranges.c: New file.
49 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
51 2015-01-21 Mark Wielaard <mjw@redhat.com>
53 * Makefile.am (check_PROGRAMS): Add elfstrtab.
55 (elfstrtab_LDADD): New variable.
56 * elfstrtab.c: New test.
58 2015-01-20 Mark Wielaard <mjw@redhat.com>
60 * Makefile.am (check_PROGRAMS): Add newdata.
62 (newdata_LDADD): new variable.
63 * newdata.c: New test.
65 2015-01-20 Mark Wielaard <mjw@redhat.com>
68 * run-strptr.sh: New test.
69 * Makefile.am (check_PROGRAMS): Add strptr.
70 (TESTS): Add run-strptr.sh.
71 (EXTRA_DIST): Likewise.
72 (strptr_LDADD): New variable.
74 2015-01-15 Mark Wielaard <mjw@redhat.com>
76 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
77 * vdsosyms.c (main): Use getpid () instead of getppid ().
79 2014-12-27 Mark Wielaard <mjw@redhat.com>
81 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
82 * funcscopes.c (handle_function): Likewise.
83 * run-addrscopes.sh: Adjust last address in scope.
84 * run-funcscopes.sh: Likewise.
86 2015-01-07 Mark Wielaard <mjw@redhat.com>
88 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
90 2015-01-14 Mark Wielaard <mjw@redhat.com>
92 * testfile-debug-types.bz2: New testfile.
93 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
94 * typeiter2.c (main): Print both name and offset of found form DIE.
95 * run-typeiter.s: Adjust output and add testfile-debug-types.
97 2014-12-26 Mark Wielaard <mjw@redhat.com>
99 * run-test-archive64.sh: Add nm test.
101 2014-12-19 Mark Wielaard <mjw@redhat.com>
103 * run-deleted.sh: Don't check libfunc on ppc64.
105 2014-12-19 Mark Wielaard <mjw@redhat.com>
107 * vdsosyms.c (vdso_seen): Removed.
108 (vdso_syms): New global.
109 (module_callback): Set and check vdso_syms.
110 (main): Return value depends on vdso_syms.
112 2014-12-19 Mark Wielaard <mjw@redhat.com>
114 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
116 * run-deleted.sh: Call check_native_unsupported.
118 2014-12-18 Mark Wielaard <mjw@redhat.com>
120 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
122 2014-12-12 Mark Wielaard <mjw@redhat.com>
124 * Makefile.am (deleted_lib_so_CFLAGS): Add
125 -fasynchronous-unwind-tables.
127 2014-12-11 Josh Stone <jistone@redhat.com>
129 * run-addr2line-i-lex-test.sh: New test.
130 * testfile-lex-inlines.bz2: New testfile.
131 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
132 testfile-lex-inlines.bz2.
133 (TESTS): Add run-addr2line-i-lex-test.sh.
135 2014-12-10 Josh Stone <jistone@redhat.com>
137 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
138 preferred over the plain die name.
140 2014-12-02 Petr Machata <pmachata@redhat.com>
142 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
143 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
144 (main): Initialize off to DWARF_GETMACROS_START when an extra
145 command line argument is passed.
146 * testfile-macros-0xff.bz2: New test case.
147 * testfile-macros-0xff.s: New file (source for the above).
148 * run-dwarf-getmacros.sh: Add two tests.
150 2014-11-27 Mark Wielaard <mjw@redhat.com>
152 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
154 2014-11-21 Mark Wielaard <mjw@redhat.com>
156 * run-readelf-A.sh: New test.
157 * testfileppc32attrs.o.bz2: New test file.
158 * Makefile.am (TESTS): Add run-readelf-A.sh.
159 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
161 2014-11-10 Mark Wielaard <mjw@redhat.com>
163 * vdsosyms.c: New test.
164 * Makefile.am (check_PROGRAMS): Add vdsosyms.
166 (vdsosyms_LDADD): New variable.
168 2014-09-10 Petr Machata <pmachata@redhat.com>
170 * dwarf-getmacros.c: Update to use the new macro iteration
172 * run-dwarf-getmacros.sh: Adjust, add a test that uses
175 2014-10-06 Mark Wielaard <mjw@redhat.com>
177 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
178 * testfile-sizes3.o.bz2: New test file.
179 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
181 2014-10-02 Mark Wielaard <mjw@redhat.com>
183 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
185 2014-10-02 Mark Wielaard <mjw@redhat.com>
187 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
188 (TESTS): Add run-aggregate-size.sh.
189 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
190 and testfile-sizes2.o.bz2.
191 (aggregate_size_LDADD): New variable.
192 * aggregate_size.c: New file.
193 * run-aggregate-size.sh: New test.
194 * testfile-sizes1.o.bz2: New test file.
195 * testfile-sizes2.o.bz2: Likewise.
197 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
199 Support NT_FILE for locating files.
200 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
201 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
202 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
203 * linkmap-cut-lib.so.bz2: New file.
204 * linkmap-cut.bz2: New file.
205 * linkmap-cut.core.bz2: New file.
206 * run-linkmap-cut.sh: New file.
207 * run-unstrip-n.sh: Update its expected output.
209 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
211 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
212 (TESTS, EXTRA_DIST): Add run-deleted.sh.
213 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
214 * deleted-lib.c: New file.
215 * deleted.c: New file.
216 * run-deleted.sh: New file.
218 2014-06-15 Mark Wielaard <mjw@redhat.com>
220 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
222 2014-06-13 Mark Wielaard <mjw@redhat.com>
224 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
227 2014-06-13 Mark Wielaard <mjw@redhat.com>
229 * backtrace-subr.sh (check_native_unsupported): New function.
230 (check_native): Call it.
231 (check_native_core): Likewise.
232 * run-backtrace-dwarf.sh: Likewise.
234 2014-06-11 Mark Wielaard <mjw@redhat.com>
236 * backtrace.c (main): Check that Dwfl was attached by calling
237 dwfl_pid and printing the error when it is not.
239 2014-05-18 Mark Wielaard <mjw@redhat.com>
241 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
243 * testfile-backtrace-demangle.bz2: Regenerate.
244 * testfile-backtrace-demangle.core.bz2: Likewise.
246 2014-05-02 Mark Wielaard <mjw@redhat.com>
248 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
249 run-allfcts-multi.sh are now added unconditionally.
251 2014-05-01 Mark Wielaard <mjw@redhat.com>
253 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
256 2014-04-30 Mark Wielaard <mjw@redhat.com>
258 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
259 * Makefile.am (check_PROGRAMS): Add buildid.
260 (TESTS): Add run-buildid.sh.
261 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
262 (buildid_LDADD): New variable.
264 2014-04-24 Florian Weimer <fweimer@redhat.com>
266 * allfcts.c (setup_alt): New function.
267 (main): Call it. Implementation additional error checking and
270 2014-04-24 Florian Weimer <fweimer@redhat.com>
272 * debugaltlink.c, run-debugaltlink.sh: New files.
273 * Makefile.am (check_PROGRAMS): Add debugaltlink.
274 (TESTS): Add run-debugaltlink.sh.
275 (debugaltlink_LDADD): New variable.
277 2014-04-11 Mark Wielaard <mjw@redhat.com>
279 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
280 (check_PROGRAMS): Add debuglink.
281 (TESTS): Add run-debuglink.sh
282 (EXTRA_DIST): Likewise.
283 (debuglink_LDADD): New.
284 * debuglink.c: New file.
285 * run-debuglink.sh: Likewise.
287 2014-03-23 Mark Wielaard <mjw@redhat.com>
289 * run-nm-self.sh: Use test = not == for string comparisons.
291 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
293 * backtrace.c: Make Linux only.
294 * backtrace-child.c: Make Linux only.
295 * backtrace-data.c: Make Linux only.
296 * backtrace-dwarf.c: Make Linux only.
297 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
299 2014-03-14 Mark Wielaard <mjw@redhat.com>
301 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
303 * configure.ac: Remove MUDFLAP conditional.
305 2014-04-09 Mark Wielaard <mjw@redhat.com>
307 * run-readelf-zdebug.sh: New test.
308 * testfile-debug.bz2: New testfile.
309 * testfile-zdebug.bz2: New testfile.
310 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
311 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
314 2014-04-10 Mark Wielaard <mjw@redhat.com>
316 * testfile_i686_core.bz2: New test file.
317 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
318 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
320 2014-04-09 Mark Wielaard <mjw@redhat.com>
322 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
323 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
324 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
325 * run-backtrace-core-aarch64.sh: New test.
327 2014-03-11 Josh Stone <jistone@redhat.com>
329 * testfilebaxmin.bz2: New testfile.
330 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
331 * run-readelf-s.sh: Test testfilebaxmin.
332 * run-dwflsyms.sh: Likewise.
334 2014-01-26 Mark Wielaard <mjw@redhat.com>
336 * backtrace-subr.sh (check_unsupported): Special case arm*.
338 2014-01-25 Mark Wielaard <mjw@redhat.com>
340 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
341 location expression: call_frame_cfa stack_value.
343 2014-01-22 Mark Wielaard <mjw@redhat.com>
345 * Makefile.am (line2addr_no_Wformat): Removed.
347 2014-01-21 Mark Wielaard <mjw@redhat.com>
349 * Makefile.am (TESTS): Add run-stack-i-test.sh.
350 (EXTRA_DIST): Likewise.
351 * run-stack-i-test.sh: New test.
353 2014-01-20 Mark Wielaard <mjw@redhat.com>
355 * Makefile.am (TESTS): Add run-stack-d-test.sh.
356 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
357 testfiledwarfinlines.core.bz2.
358 * run-stack-d-test.sh: New test.
359 * testfiledwarfinlines.bz2: New test file.
360 * testfiledwarfinlines.core.bz2: Likewise.
362 2014-01-16 Mark Wielaard <mjw@redhat.com>
364 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
365 on one ET_REL, one ET_EXEC and one ET_DYN file.
366 * test-subr.sh (self_test_files): Add two ET_REL files, only add
367 two libebl ET_DYN backend files.
369 2014-01-16 Mark Wielaard <mjw@redhat.com>
371 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
373 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
375 Fix false FAILs on testsuite with ulimit -c unlimited.
376 * backtrace-child.c (sigusr2): Call pthread_exit.
377 (main): Return, do not call abort.
379 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
381 Fix corruption of non-C++ symbols by the demangler.
382 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
383 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
384 (EXTRA_DIST): Add run-backtrace-demangle.sh,
385 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
386 testfile-backtrace-demangle.core.bz2.
387 * backtrace-demangle.cc: New file.
388 * run-backtrace-demangle.sh: New file.
389 * testfile-backtrace-demangle.bz2: New file.
390 * testfile-backtrace-demangle.cc: New file.
391 * testfile-backtrace-demangle.core.bz2: New file.
393 2014-01-07 Matthias Klose <doko@ubuntu.com>
395 * backtrace-subr.sh (check_native_core): Check to see if core file
396 was created without ".PID" extension, if so mv core to core.PID.
397 Skip test if no core file was created or could be found.
399 2014-01-04 Mark Wielaard <mjw@redhat.com>
401 * backtrace-data.c (main): Don't assert if raise returns.
402 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
403 assume_ptrace_attached true.
404 (ptrace_detach_stopped): Removed function.
405 (main): Don't call ptrace_detach_stopped.
406 * backtrace.c (ptrace_detach_stopped): Removed function.
407 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
409 (exec_dump): Don't call ptrace_detach_stopped.
411 2014-01-04 Mark Wielaard <mjw@redhat.com>
413 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
414 if we cannot adjust core ulimit.
416 2014-01-04 Mark Wielaard <mjw@redhat.com>
418 * cleanup-13.c (force_unwind_stop): Removed.
419 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
420 don't call _Unwind_ForcedUnwind.
422 2014-01-03 Mark Wielaard <mjw@redhat.com>
424 * run-addrcfi.sh: Add case for EM_AARCH64.
425 * testfileaarch64.bz2: New testfile.
426 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
428 2013-12-30 Mark Wielaard <mjw@redhat.com>
430 * backtrace-dwarf.c (report_pid): Explicitly call
431 dwfl_linux_proc_attach and check for errors.
432 * backtrace.c (report_pid): Likewise.
434 2013-12-21 Mark Wielaard <mjw@redhat.com>
436 * backtrace.c (callback_verify): Only assert that case 5 is the last
437 instruction of backtracegen on x86_64 native.
439 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
440 Mark Wielaard <mjw@redhat.com>
442 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
443 and testfilebaz*ppc64*.bz2 files.
444 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
445 error on dwfl_module_getsymtab error.
446 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
447 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
448 Also print section of actual value if different from sym.
449 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
450 Test addr2line -x by showing different sections for address and
451 found name in testfile66.
452 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
453 testfilebaz*ppc64): New tests.
454 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
455 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
456 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
457 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
458 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
459 testfilebaztabppc64.bz2: New test files.
461 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
463 unwinder: s390 and s390x
464 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
465 run-backtrace-core-s390.sh.
466 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
467 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
468 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
469 * backtrace.s390.core.bz2: New file.
470 * backtrace.s390.exec.bz2: New file.
471 * backtrace.s390x.core.bz2: New file.
472 * backtrace.s390x.exec.bz2: New file.
473 * run-backtrace-core-s390.sh: New file.
474 * run-backtrace-core-s390x.sh: New file.
476 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
478 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
481 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
484 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
485 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
486 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
487 * backtrace.ppc.core.bz2: New file.
488 * backtrace.ppc.exec.bz2: New file.
489 * run-backtrace-core-ppc.sh: New file.
491 2013-12-10 Mark Wielaard <mjw@redhat.com>
493 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
495 2013-12-10 Mark Wielaard <mjw@redhat.com>
497 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
498 * backtrace-subr.sh (check_native_core): Disable valgrind while
500 * run-backtrace-data.sh: Disable valgrind.
501 * run-backtrace-dwarf.sh: Likewise.
503 2013-12-09 Mark Wielaard <mjw@redhat.com>
505 * varlocs.c (print_expr): Update comment to explain empty location
506 associated with DW_OP_GNU_implicit_pointer.
508 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
510 Fix test FAIL with -O2.
511 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
513 2013-12-05 Mark Wielaard <mjw@redhat.com>
515 * backtrace-data.c (main): If unsupported also print to stderr.
516 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
518 2013-12-04 Mark Wielaard <mjw@redhat.com>
520 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
522 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
524 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
525 backtrace-data and backtrace-dwarf.
526 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
527 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
528 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
529 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
530 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
531 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
532 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
533 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
534 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
535 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
536 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
537 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
538 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
539 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
541 * backtrace-child.c: New file.
542 * backtrace-data.c: New file.
543 * backtrace-dwarf.c: New file.
544 * backtrace-subr.sh: New file.
545 * backtrace.c: New file.
546 * cleanup-13.c: New file.
547 * backtrace.i386.core.bz2: New file.
548 * backtrace.i386.exec.bz2: New file.
549 * backtrace.x86_64.core.bz2: New file.
550 * backtrace.x86_64.exec.bz2: New file.
551 * run-backtrace-core-i386.sh: New file.
552 * run-backtrace-core-x86_64.sh: New file.
553 * run-backtrace-native-biarch.sh: New file.
554 * run-backtrace-native-core-biarch.sh: New file.
555 * run-backtrace-native-core.sh: New file.
556 * run-backtrace-native.sh: New file.
557 * run-backtrace-data.sh: New file.
558 * run-backtrace-dwarf.sh: New file.
560 2013-11-27 Mark Wielaard <mjw@redhat.com>
562 * dwflsyms.c (gelf_bind_order): New function.
563 (elf_section_name): Likewise.
564 (addr_in_section): Likewise.
565 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
566 Refine assert using gelf_bind_order. Print elf_section_name. Check
567 bias with addr_in_section.
568 * run-dwflsyms.sh: Add section names to expected output.
570 2013-11-26 Mark Wielaard <mjw@redhat.com>
572 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
574 2013-11-25 Petr Machata <pmachata@redhat.com>
576 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
577 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
578 * Makefile.am (EXTRA_DIST): Add these.
579 (TESTS): Add run-funcretval.sh.
580 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
581 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
582 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
583 * run-funcretval.sh: New file.
585 2013-11-18 Josh Stone <jistone@redhat.com>
587 * testfilebazdbg_plr.bz2: New testfile.
588 * testfilebazmin_plr.bz2: Likewise.
589 * Makefile.am (EXTRA_DIST): Add the above files.
590 * run-dwflsyms.sh: Add prelink -r tests.
592 2013-11-15 Mark Wielaard <mjw@redhat.com>
594 * testfilebazmdb.bz2: Regenerated.
595 * testfilebazmin.bz2: Likewise.
596 * testfilebazdbg_pl.bz2: New testfile.
597 * testfilebazmin_pl.bz2: Likewise.
598 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
599 testfilebazmin_pl.bz2.
600 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
601 print relative address of function symbols.
602 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
604 2013-11-01 Michael Forney <mforney@mforney.org>
606 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
607 * run-arsymtest.sh: Use NM.
609 2013-11-05 Mark Wielaard <mjw@redhat.com>
611 * allfcts.c (main): Correct dwarf_getfuncs return value check.
613 2013-10-10 Mark Wielaard <mjw@redhat.com>
614 Josh Stone <jistone@redhat.com>
616 * run-allfcts-multi.sh: New test.
617 * test-offset-loop.bz2: New testfile.
618 * test-offset-loop.alt.bz2: New testfile.
619 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
620 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
621 test-offset-loop.alt.bz2.
623 2013-10-15 Mark Wielaard <mjw@redhat.com>
625 * run-unstrip-M.sh: New test.
626 * Makefile.am (TESTS): Add run-unstrip-M.sh.
627 (EXTRA_DIST): Likewise.
629 2013-10-06 Mark Wielaard <mjw@redhat.com>
631 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
634 2013-10-03 Josh Stone <jistone@redhat.com>
636 * typeiter2.c: New file, reversing typeiter.c.
637 * run-typeiter.sh: Also run typeiter2.
638 * Makefile.am (check_PROGRAMS): Add typeiter2.
639 (typeiter2_LDADD): New variable.
641 2013-09-26 Petr Machata <pmachata@redhat.com>
643 * run-readelf-mixed-corenote.sh: Update output of testfile71
644 dump--readelf can newly decode the NT_FILE note.
646 2013-09-26 Petr Machata <pmachata@redhat.com>
648 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
649 * run-readelf-mixed-corenote.sh: New test for this file.
650 * testfile71.bz2: New file.
652 2013-09-20 Mark Wielaard <mjw@redhat.com>
654 * allfcts.c (cb): Return DWARF_CB_ABORT.
655 (main): Iterate over all offsets returned by dwarf_getfuncs.
656 * run-allfcts.sh: Add nested_funcs and class_func testcases.
657 * testfile_nested_funcs.bz2: New test file.
658 * testfile_class_func.bz2: Likewise.
659 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
660 testfile_nested_funcs.bz2.
662 2013-08-30 Mark Wielaard <mjw@redhat.com>
664 * Makefile.am (check_PROGRAMS): Add varlocs.
665 (TESTS): Add run-varlocs.sh.
666 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
667 testfile_const_type.bz2, testfile_implicit_pointer.c,
668 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
669 testfile_entry_value.c, testfile_entry_value.bz2,
670 testfile_implicit_value.c and testfile_implicit_value.bz2.
671 (varlocs_LDADD): New.
672 * run-varlocs: New test.
673 * testfile_const_type.c: New test source file.
674 * testfile_entry_value.c: Likewise.
675 * testfile_implicit_pointer.c: Likewise.
676 * testfile_implicit_value.c: Likewise.
677 * testfile_parameter_ref.c: Likewise.
678 * testfile_const_type.bz2: New test file.
679 * testfile_entry_value.bz2: Likewise.
680 * testfile_implicit_pointer.bz2: Likewise.
681 * testfile_implicit_value.bz2: Likewise.
682 * testfile_parameter_ref.bz2: Likewise.
683 * varlocs.c: New test source.
685 2013-08-29 Mark Wielaard <mjw@redhat.com>
687 * run-addrcfi.sh: Add case for EM_ARM.
688 * testfilearm.bz2: New testfile.
689 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
691 2013-08-28 Mark Wielaard <mjw@redhat.com>
693 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
695 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
696 * testfiles390.bz2: New testfile.
697 * testfiles390x.bz2: Likewise.
698 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
701 2013-08-28 Mark Wielaard <mjw@redhat.com>
703 * addrcfi.c (handle_cfi): Use printf not error.
704 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
705 * testfileppc32.bz2: New testfile.
706 * testfileppc64.bz2: Likewise.
707 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
710 2013-08-27 Mark Wielaard <mjw@redhat.com>
712 * run-addrcfi.sh: New test.
713 * Makefile.am (TESTS): Add run-addrcfi.sh.
714 (EXTRA_DIST): Likewise.
715 * addrcfi.c (op_name): New function.
716 (print_detail): Call and print op_name. Check ops, not result
717 to check if this is "same value" or "undefined".
718 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
720 2013-08-13 Mark Wielaard <mjw@redhat.com>
722 * run-addr2line-i-test.sh: New test.
723 * testfile-inlines.bz2: New testfile.
724 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
725 testfile-inlines.bz2.
726 (TESTS): Add run-addr2line-i-test.sh.
728 2013-08-12 Mark Wielaard <mjw@redhat.com>
730 * run-addr2line-test.sh: New test.
731 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
734 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
736 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
739 2013-07-02 Mark Wielaard <mjw@redhat.com>
741 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
744 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
746 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
747 test-core.core.bz2 and test-core.exec.bz2.
748 * run-addrname-test.sh: New test for these files.
749 * run-unstrip-n.sh: Update expected output. New test for these files.
750 * test-core-lib.so.bz2: New file.
751 * test-core.core.bz2: New file.
752 * test-core.exec.bz2: New file.
754 2013-05-03 Mark Wielaard <mjw@redhat.com>
756 * testfilenolines.bz2: New test file.
757 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
758 * run-get-lines.sh: Run testrun_compare on testfilenolines.
760 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
762 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
764 2013-04-29 Mark Wielaard <mjw@redhat.com>
766 * test-subr.sh: Don't use pushd, just cd into test-dir.
767 (exit_cleanup): Don't use popd, just cd .. to get out.
769 2013-04-27 Mark Wielaard <mjw@redhat.com>
771 * test-subr.sh (exit_cleanup): New function.
772 (trap): Use exit_cleanup as argument.
773 * run-native-test.sh (native_exit): New function.
774 (trap): For EXIT (0) use native_exit as argument.
776 2013-04-27 Mark Wielaard <mjw@redhat.com>
778 * update1.c (main): Use unique tempfile name and unlink file.
779 * update2.c (main): Likewise.
780 * update3.c (main): Likewise.
781 * update4.c (main): Use unique tempfile name.
783 2013-04-27 Mark Wielaard <mjw@redhat.com>
785 * run-alldts.sh: Add testfile-alldts to tempfiles.
786 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
787 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
788 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
789 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
791 2013-04-26 Mark Wielaard <mjw@redhat.com>
793 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
795 (TESTS_ENVIRONMENT): Likewise.
796 (installed_LOG_COMPILER): New variable defining wrapper.
797 (LOG_COMPILER): Likewise.
798 * run-*.sh: Fixup location of input and output files.
799 * test-subr.sh: Create test_dir, pushd to execute test in.
800 (trap): Remove test_dir.
801 (testfiles): Use abs_srcdir.
802 (installed_testrun): Match on abs_builddir or abs_top_builddir.
803 (self_test_files): Adjust path.
805 2013-04-24 Mark Wielaard <mjw@redhat.com>
807 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
809 2013-03-25 Mark Wielaard <mjw@redhat.com>
811 * run-readelf-aranges.sh: New test.
812 * testfilefoobarbaz.bz2: New test file.
813 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
814 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
816 2013-03-25 Mark Wielaard <mjw@redhat.com>
818 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
820 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
822 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
823 (TESTS): Add run-dwfl-report-elf-align.sh.
824 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
825 testfile-dwfl-report-elf-align-shlib.so.bz2 .
826 (dwfl_report_elf_align_LDADD): New.
827 * dwfl-report-elf-align.c: New file.
828 * run-dwfl-report-elf-align.sh: New file.
829 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
831 2013-03-12 Mark Wielaard <mjw@redhat.com>
833 * run-dwfllines.sh: New test.
834 * dwfllines.c: New test program.
835 * Makefile.am (TESTS): Add run-dwfllines.sh.
836 (EXTRA_DIST): Likewise.
837 (dwfllines_LDADD): New variable.
839 2013-02-22 Mark Wielaard <mjw@redhat.com>
841 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
842 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
844 2013-02-15 Mark Wielaard <mjw@redhat.com>
846 * testfile-dwzstr.bz2: New testfile.
847 * testfile-dwzstr.multi.bz2: Likewise.
848 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
849 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
850 testfile-dwzstr.multi.bz2.
852 2013-01-30 Mark Wielaard <mjw@redhat.com>
854 * testfileloc.bz2: New testfile.
855 * run-readelf-loc.sh: New test.
856 * Makefile.am (TESTS): Add run-readelf-loc.sh.
857 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
859 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
861 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
862 and s390x core notes.
863 * testfile67.bz2: New file.
864 * testfile68.bz2: New file.
865 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
867 2013-01-23 Mark Wielaard <mjw@redhat.com>
869 * testfilebasmin.bz2: New testfile.
870 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
871 * run-readelf-s.sh: Test testfilebasmin.
872 * run-dwflsyms.sh: Likewise.
874 2013-01-16 Mark Wielaard <mjw@redhat.com>
876 * Makefile.am (check_PROGRAMS): Add dwflsyms.
877 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
878 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
879 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
880 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
881 (dwflsyms_LDADD): New variable.
883 2013-01-07 Roland McGrath <roland@hack.frob.com>
885 * run-prelink-addr-test.sh: Use ln -snf.
887 2012-12-03 Mark Wielaard <mjw@redhat.com>
889 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
891 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
893 * run-addrname-test.sh: New test for PIE relocation.
894 * testfile70.core.bz2: New file.
895 * testfile70.exec.bz2: New file.
896 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
897 testfile70.exec.bz2 .
899 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
901 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
902 testfile69.core.bz2 and testfile69.so.bz2 .
904 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
906 * run-addrname-test.sh: New test for DSO with build-id bias.
907 * testfile69.core.bz2: New file.
908 * testfile69.so.bz2: New file.
910 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
912 * run-addrname-test.sh: New test for core vDSO bias.
913 * testfile65.bz2: New file.
915 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
917 * run-addrname-test.sh: New test for symbol preferences.
918 * testfile64.bz2: New file.
920 2012-10-01 Mark Wielaard <mjw@redhat.com>
922 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
923 * test-wrapper.sh: Export VALGRIND_CMD if available.
924 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
925 (installed_testrun): Likewise.
927 2012-09-24 Petr Machata <pmachata@redhat.com>
929 * testfile63.bz2: New testfile.
930 * run-readelf-mixed-corenote.sh: New test.
931 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
932 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
934 2012-09-24 Petr Machata <pmachata@redhat.com>
936 * testfile62.bz2: New testfile.
937 * run-readelf-vmcoreinfo.sh: New test.
938 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
939 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
941 2012-09-18 Petr Machata <pmachata@redhat.com>
943 * testfile61.bz2: New testfile.
944 * run-allregs.sh: Run reg_test testfile61.
945 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
947 2012-08-24 Mark Wielaard <mjw@redhat.com>
949 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
951 2012-08-22 Jeff Kenton <jkenton@tilera.com>
953 * testfile60.bz2: New testfile.
954 * run-allregs.sh: Run reg_test testfile60.
956 2012-08-24 Mark Wielaard <mjw@redhat.com>
958 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
961 2012-08-16 Mark Wielaard <mjw@redhat.com>
963 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
965 * show-die-info.c (tagnames): Removed.
967 (dwarf_tag_string): New function using known-dwarf macros.
968 (dwarf_attr_string): Likewise.
969 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
970 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
972 2012-06-27 Mark Wielaard <mjw@redhat.com>
974 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
975 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
976 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
977 testfile_multi_main.bz2.
978 * run-readelf-dwz-multi.sh: New test.
979 * libtestfile_multi_shared.so.bz2: New testfile.
980 * testfile_multi.dwz.bz2: New testifle.
981 * testfile_multi_main.bz2: New testifle.
983 2012-08-01 Petr Machata <pmachata@redhat.com>
985 * run-test-archive64.sh: New test.
986 * testarchive64.a.bz2: New testfile.
987 * Makefile.am (TESTS): Add run-test-archive64.sh.
988 (EXTRA_DIST): Likewise.
990 2012-08-01 Mark Wielaard <mjw@redhat.com>
992 * run-nm-self.sh: New test.
993 * run-readelf-self.sh: Likewise.
994 * test-subr.sh (testrun_on_self_quiet): New function.
995 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
996 (EXTRA_DIST): Likewise.
998 2012-08-01 Mark Wielaard <mjw@redhat.com>
1000 * test-subr.sh (self_test_files): New list of files.
1001 (testrun_on_self): New function.
1002 * run-elflint-self.sh: Use testrun_on_self.
1004 2012-07-19 Mark Wielaard <mjw@redhat.com>
1006 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
1007 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
1008 (EXTRA_DIST): Likewise.
1009 (test_elf_cntl_gelf_getshdr_LDADD): New.
1010 test-elf_cntl_gelf_getshdr.c: New test program.
1011 run-elf_cntl_gelf_getshdr.sh: New test script.
1013 2012-07-19 Mark Wielaard <mjw@redhat.com>
1015 * run-elflint-self.sh: runtests on ../backends/*so files.
1017 2012-07-19 Mark Wielaard <mjw@redhat.com>
1019 * run-unstrip-n.sh: test_cleanup.
1020 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
1022 2012-07-11 Mark Wielaard <mjw@redhat.com>
1024 * run-readelf-macro.sh: New test.
1025 * testfilemacro.bz2: New testfile.
1026 * Makefile.am (TESTS): Add run-readelf-macro.sh.
1027 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
1029 2012-06-27 Mark Wielaard <mjw@redhat.com>
1031 * run-readelf-gdb-index.sh: New test.
1032 * testfilegdbindex5.bz2: New testfile.
1033 * testfilegdbindex7.bz2: Likewise.
1034 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
1035 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
1036 testfilegdbindex7.bz2.
1038 2012-07-17 Mark Wielaard <mjw@redhat.com>
1040 * testcore-rtlib-ppc.bz2: New testfile.
1041 * run-unstrip-n.sh: Check new ppc core testfile.
1043 2012-06-26 Mike Frysinger <vapier@gentoo.org>
1045 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
1047 2012-06-26 Mark Wielaard <mjw@redhat.com>
1049 * run-macro-test.sh: New test.
1050 * testfile-macinfo.bz2: New testfile.
1051 * testfile-macros.bz2: Likewise.
1053 2012-05-07 Mark Wielaard <mjw@redhat.com>
1055 * low_high_pc.c: Use proper inttypes in printf formats.
1057 2012-05-11 Mark Wielaard <mjw@redhat.com>
1059 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
1061 2012-05-07 Mark Wielaard <mjw@redhat.com>
1063 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
1065 2012-04-27 Mark Wielaard <mjw@redhat.com>
1067 * Makefile.am (TESTS): Add run-low_high_pc.sh
1068 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
1069 (noinst_PROGRAMS): Add low_high_pc.
1070 (low_high_pc_LDADD): New variable.
1071 * low_high_pc.c: New test.
1073 2012-04-26 Mark Wielaard <mjw@redhat.com>
1075 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
1076 * run-show-ciefde.sh: Removed old libdwarf test.
1077 * show-ciefde.c: Likewise.
1079 2012-04-02 Mark Wielaard <mjw@redhat.com>
1081 * Makefile.am (TESTS): Add run-unstrip-n.sh.
1082 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
1083 * run-unstrip-n.sh: New test.
1084 * testcore-rtlib.bz2: New testfile.
1086 2012-04-02 Mark Wielaard <mjw@redhat.com>
1088 * Makefile.am (TESTS): Add run-readelf-d.sh.
1089 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
1090 * run-readelf-d.sh: New test.
1091 * run-elflint-test.sh: Check new testfile.
1093 2012-03-21 Tom Tromey <tromey@redhat.com>
1095 * typeiter.c: New file.
1096 * run-typeiter.sh: New file.
1097 * testfile59.bz2: New file.
1098 * Makefile.am (noinst_PROGRAMS): Add typeiter.
1099 (TESTS): Add run-typeiter.sh.
1100 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
1101 (typeiter_LDADD): New variable.
1103 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
1105 * run-alldts.sh: testrun ./alldts.
1107 2012-02-21 Roland McGrath <roland@hack.frob.com>
1109 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
1110 * test-subr.sh (installed_testrun): Likewise.
1112 2012-01-18 Roland McGrath <roland@hack.frob.com>
1114 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
1115 it will have been inherited correctly from the test harness.
1116 * asm-tst5.c (main): Likewise.
1117 * asm-tst6.c (main): Likewise.
1118 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
1120 2011-07-09 Roland McGrath <roland@hack.frob.com>
1122 * sha1-tst.c: File removed.
1123 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
1124 (sha1_tst_LDADD): Variable removed.
1126 * md5-sha1-test.c: New file.
1127 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
1128 (md5_sha1_test_LDADD): New variable.
1130 2011-05-30 Mark Wielaard <mjw@redhat.com>
1132 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
1133 run-rerequest_tag.sh
1135 2011-05-24 Mark Wielaard <mjw@redhat.com>
1137 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
1138 * run-strip-reloc.sh: Add hello_s390.ko testcase.
1139 * hello_s390.ko.bz2: New test file.
1141 2011-05-23 Mark Wielaard <mjw@redhat.com>
1143 * Makefile.am (TESTS): Add run-strip-reloc.sh.
1144 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
1145 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
1146 * run-strip-reloc.sh: New test.
1147 * hello_i386.ko.bz2: New test file.
1148 * hello_x86_64.ko.bz2: Likewise.
1149 * hello_ppc64.ko.bz2: Likewise.
1151 2011-05-18 Mark Wielaard <mjw@redhat.com>
1153 * run-strip-groups.sh: New test.
1154 * testfile58.bz2: New test file.
1155 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
1156 (TESTS): Add run-strip-groups.sh.
1157 (EXTRA_DIST): Likewise.
1159 2011-03-28 Marek Polacek <mpolacek@redhat.com>
1161 * alldts.c: New file.
1162 * run-alldts.sh: Use it.
1163 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1164 (alldts_LDADD): New variable.
1166 2011-03-02 Marek Polacek <mpolacek@redhat.com>
1168 * dwarf-getstring.c: New test.
1169 * run-dwarf-getstring.sh: And its wrapper.
1170 * Makefile.am (EXTRA_DIST): Add and update all.
1172 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1174 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
1175 * run-readelf-twofiles.sh: New file.
1177 2011-02-25 Mark Wielaard <mjw@redhat.com>
1179 * Makefile.am (BUILD_RPATH): Be consistent in naming.
1181 2011-02-02 Josh Stone <jistone@redhat.com>
1183 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
1184 * testfile55-64.bz2, testfile55-64.debug.bz2,
1185 testfile55-64.prelink.bz2, testfile55-32.bz2,
1186 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
1187 * Makefile.am (EXTRA_DIST): Add and update all.
1189 2011-01-12 Roland McGrath <roland@redhat.com>
1191 * run-prelink-addr-test.sh: Make symlinks to find .debug files
1192 corresponding to .noshdrs files.
1194 2011-01-11 Josh Stone <jistone@redhat.com>
1196 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
1197 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
1198 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
1199 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
1200 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
1201 * Makefile.am (EXTRA_DIST): Add and update all.
1203 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
1204 * testfile53.bz2, testfile53.debug.bz2,
1205 testfile53.prelink.bz2: Deleted, so...
1206 * testfile53-64.bz2, testfile53-64.debug.bz2,
1207 testfile53-64.prelink.bz2: Recreated with 64-bit names.
1208 * testfile53-32.bz2, testfile53-32.debug.bz2,
1209 testfile53-32.prelink.bz2: New in 32-bit.
1210 * Makefile.am (EXTRA_DIST): Add and update all.
1212 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
1213 * testfile52.so.bz2, testfile52.so.debug.bz2,
1214 testfile52.prelink.so.bz2: Deleted, so...
1215 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
1216 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
1217 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
1218 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
1219 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
1220 * Makefile.am (EXTRA_DIST): Add and update all.
1222 2011-01-10 Josh Stone <jistone@redhat.com>
1224 * run-prelink-addr-test.sh: New test for prelinked addrs.
1225 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1226 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
1227 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
1228 * testfile53.bz2, testfile53.debug.bz2: New data files.
1229 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
1230 * Makefile.am (EXTRA_DIST): Add them.
1232 2010-06-04 Roland McGrath <roland@redhat.com>
1234 * run-unstrip-test.sh: Also test modifying the file in place.
1236 2010-04-22 Roland McGrath <roland@redhat.com>
1238 * addrcfi.c (handle_cfi): Fix function name in error message.
1239 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
1241 2010-04-14 Roland McGrath <roland@redhat.com>
1243 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
1245 2010-04-10 Ulrich Drepper <drepper@redhat.com>
1247 * msg_tst.c: Adjust expected error message.
1249 2010-04-01 Petr Machata <pmachata@redhat.com>
1251 * test-flag-nobits.c: New test.
1252 * run-test-flag-nobits.sh: And its wrapper.
1253 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
1254 (test_flag_nobits_LDADD): New variable.
1256 2010-02-15 Roland McGrath <roland@redhat.com>
1258 * Makefile.am: Use config/eu.am for common stuff.
1260 * asm-tst9.c (main): Rename local to avoid shadowing another local.
1262 2009-07-22 Roland McGrath <roland@redhat.com>
1264 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
1266 2009-07-08 Roland McGrath <roland@redhat.com>
1268 * addrcfi.c: New file.
1269 * Makefile.am (noinst_PROGRAMS): Add it.
1270 (addrcfi_LDADD): New variable.
1272 2009-05-07 Petr Machata <pmachata@redhat.com>
1274 * testfile51.bz2: New data file.
1275 * dwarf-getmacros.c: New test core.
1276 * run-dwarf-getmacros.sh: New test wrapper.
1277 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1278 (dwarf_getmacros_LDADD): New variable.
1280 2009-04-23 Ulrich Drepper <drepper@redhat.com>
1282 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
1283 (rdwrmmap_LDADD): Add $(libmudflap).
1285 2009-04-21 Roland McGrath <roland@redhat.com>
1287 * testfile50.bz2: New data file.
1288 * Makefile.am (EXTRA_DIST): Add it.
1289 * run-dwfl-addr-sect.sh: Add a case using it.
1291 2008-12-31 Ulrich Drepper <drepper@redhat.com>
1293 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
1294 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
1295 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
1296 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
1297 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
1298 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
1299 roundss, roundps, roundpd, and roundsd.
1300 * testfile45.S.bz2: Likewise.
1301 * testfile44.expect.bz2: Adjust accordingly.
1302 * testfile45.expect.bz2: Likewise.
1304 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
1305 * testfile45.S.bz2: Likewise.
1306 * testfile44.expect.bz2: Adjust accordingly.
1307 * testfile45.expect.bz2: Likewise.
1309 2008-12-30 Ulrich Drepper <drepper@redhat.com>
1311 * testfile44.S.bz2: Add tests for blendpd and blendps.
1312 * testfile45.S.bz2: Likewise.
1313 * testfile44.expect.bz2: Adjust accordingly.
1314 * testfile45.expect.bz2: Likewise.
1316 2008-12-19 Ulrich Drepper <drepper@redhat.com>
1318 * testfile44.S.bz2: Add tests for AMD 3DNOW.
1319 * testfile45.S.bz2: Likewise.
1320 * testfile44.expect.bz2: Adjust accordingly.
1321 * testfile45.expect.bz2: Likewise.
1323 2008-11-26 Roland McGrath <roland@redhat.com>
1325 * dwfl-bug-getmodules.c: New file.
1326 * Makefile.am (noinst_PROGRAMS): Add it.
1327 (dwfl_bug_getmodules_LDADD): New variable.
1329 2008-09-10 Roland McGrath <roland@redhat.com>
1331 * test-subr.sh (LC_ALL): Export it set to "C".
1332 * run-dwfl-addr-sect.sh: Don't do it here.
1333 * run-strings-test.sh: Likewise.
1335 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
1337 * run-addrname-test.sh: Add a new case.
1338 * testfile49.bz2: New data file.
1339 * Makefile.am (EXTRA_DIST): Add it.
1341 2008-04-10 Roland McGrath <roland@redhat.com>
1343 * testfile48.bz2, testfile48.bz2.debug: New data files.
1344 * Makefile.am (EXTRA_DIST): Add them.
1345 * run-strip-test8.sh: Use them.
1347 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
1349 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
1350 * run-strip-test8.sh: New file.
1351 * testfile47.bz2: New data file.
1352 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1354 2008-03-31 Roland McGrath <roland@redhat.com>
1356 * run-early-offscn.sh: New file.
1357 * early-offscn.c: New file.
1358 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
1359 (early_offscn_LDADD): New variable.
1361 2008-03-19 Roland McGrath <roland@redhat.com>
1363 * run-addrname-test.sh: Add a new case.
1365 2008-02-22 Roland McGrath <roland@redhat.com>
1367 * run-elflint-test.sh: Typo fix.
1369 2008-02-21 Roland McGrath <roland@redhat.com>
1371 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
1372 for the build down to minimum.
1373 * run-disasm-x86-64.sh: Likewise.
1375 2008-02-20 Roland McGrath <roland@redhat.com>
1377 * testfile46.bz2: New data file.
1378 * Makefile.am (EXTRA_DIST): Add it.
1379 * run-elflint-test.sh: Test on it.
1381 2008-02-01 Ulrich Drepper <drepper@redhat.com>
1383 * Makefile.am: Hook up sha1-tst.c.
1384 * sha1-tst.c: New file.
1386 2008-01-21 Roland McGrath <roland@redhat.com>
1388 * testfile45.S.bz2: Add tests for cltq, cqto.
1389 * testfile45.expect.bz2: Adjust.
1391 2008-01-14 Ulrich Drepper <drepper@redhat.com>
1393 * testfile45.S.bz2: Add more tests.
1394 * testfile45.expect.bz2: Adjust.
1396 2008-01-11 Ulrich Drepper <drepper@redhat.com>
1398 * testfile45.expect.bz2: Adjust for adding of address for %rip based
1401 2008-01-10 Ulrich Drepper <drepper@redhat.com>
1403 * testfile45.S.bz2: Add more tests.
1404 * testfile45.expect.bz2: Adjust.
1406 2008-01-08 Ulrich Drepper <drepper@redhat.com>
1408 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
1409 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
1410 run-disasm-x86-64.sh.
1411 * run-disasm-x86-64.sh: New file.
1412 * testfile45.S.bz2: New file.
1413 * testfile45.expect.bz2: New file.
1414 * testfile44.S.bz2: New tests.
1415 * testfile44.expect.bz2: Adjust.
1417 2008-01-04 Ulrich Drepper <drepper@redhat.com>
1419 * testfile44.S.bz2: New tests.
1420 * testfile44.expect.bz2: Adjust.
1422 2008-01-04 Roland McGrath <roland@redhat.com>
1424 * dwfl-bug-fd-leak.c (main): Add a cast.
1426 2008-01-03 Ulrich Drepper <drepper@redhat.com>
1428 * testfile44.S.bz2: New tests.
1429 * testfile44.expect.bz2: Adjust.
1431 2008-01-01 Ulrich Drepper <drepper@redhat.com>
1433 * line2addr.c: Use %m modifier instead of %a to appease gcc.
1435 2008-01-01 Ulrich Drepper <drepper@redhat.com>
1437 * testfile44.S.bz2: New tests.
1438 * testfile44.expect.bz2: Adjust.
1440 2007-12-31 Ulrich Drepper <drepper@redhat.com>
1442 * testfile44.S.bz2: New tests.
1443 * testfile44.expect.bz2: Adjust.
1445 2007-12-30 Ulrich Drepper <drepper@redhat.com>
1447 * testfile44.S.bz2: New tests.
1448 * testfile44.expect.bz2: Adjust.
1450 2007-12-29 Ulrich Drepper <drepper@redhat.com>
1452 * testfile44.s.bz2: New tests.
1453 * testfile44.expect.bz2: Adjust.
1455 2007-12-28 Ulrich Drepper <drepper@redhat.com>
1457 * testfile44.S.bz2: New tests.
1458 * testfile44.expect.bz2: Adjust.
1460 2007-12-27 Ulrich Drepper <drepper@redhat.com>
1462 * testfile44.S.bz2: New tests.
1463 * testfile44.expect.bz2: Adjust.
1465 2007-12-26 Ulrich Drepper <drepper@redhat.com>
1467 * testfile44.S.bz2: New tests.
1468 * testfile44.expect.bz2: Adjust
1470 2007-12-21 Ulrich Drepper <drepper@redhat.com>
1472 * testfile44.S.bz2: More tests.
1473 * testfile44.expect.bz2: Adjust appropriately.
1475 2007-12-19 Ulrich Drepper <drepper@redhat.com>
1477 * Makefile.am (TESTS): Add run-disasm.sh.
1478 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1479 testfile44.expect.bz2.
1480 * run-disasm.sh: New file.
1481 * testfile44.S.bz2: New file.
1482 * testfile44.expect.bz2: New file.
1484 2007-12-15 Roland McGrath <roland@redhat.com>
1486 * run-allregs.sh: Change expected output for powerpc spefscr.
1488 2007-10-20 Roland McGrath <roland@redhat.com>
1490 * run-dwfl-addr-sect.sh: Change expected output, no errors.
1492 2007-10-19 Roland McGrath <roland@redhat.com>
1494 * dwfl-addr-sect.c (handle_address): Return int.
1495 Don't exit on error, just return nonzero.
1496 (main): Collect results.
1497 * run-dwfl-addr-sect.sh: New file.
1498 * testfile43.bz2: New data file.
1499 * Makefile.am (EXTRA_DIST, TESTS): Add them.
1501 2007-10-18 Roland McGrath <roland@redhat.com>
1503 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1505 2007-10-16 Roland McGrath <roland@redhat.com>
1507 * test-subr.sh (remove_files): Don't pass -Bb to diff.
1509 2007-10-09 Roland McGrath <roland@redhat.com>
1511 * dwflmodtest.c (print_module): Don't use %p in output.
1512 * run-dwfl-bug-offline-rel.sh: Updated expected output.
1514 2007-10-08 Roland McGrath <roland@redhat.com>
1516 * testfile42.bz2: New data file.
1517 * Makefile.am (EXTRA_DIST): Add it.
1518 * run-elflint-test.sh: New test on that file.
1520 2007-10-04 Roland McGrath <roland@redhat.com>
1522 * run-readelf-test4.sh: New file.
1523 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1525 2007-10-03 Roland McGrath <roland@redhat.com>
1527 * run-readelf-test3.sh: New file.
1528 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1530 2007-10-01 Roland McGrath <roland@redhat.com>
1532 * run-readelf-test2.sh: New file.
1533 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1535 2007-09-11 Roland McGrath <roland@redhat.com>
1537 * run-addrname-test.sh: Add a new case.
1538 * testfile41.bz2: New data file.
1539 * Makefile.am (EXTRA_DIST): Add it.
1541 2007-08-23 Roland McGrath <roland@redhat.com>
1543 * run-allregs.sh: Update expected x86-64 output for %rflags.
1545 2007-08-12 Roland McGrath <roland@redhat.com>
1547 * run-strip-test7.sh: New file.
1548 * testfile39.bz2: New data file.
1549 * testfile40.bz2: New data file.
1550 * testfile40.debug.bz2: New data file.
1551 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1553 2007-08-09 Roland McGrath <roland@redhat.com>
1555 * dwfl-bug-report.c: Fix header inclusion.
1557 2007-08-08 Roland McGrath <roland@redhat.com>
1559 * run-addrname-test.sh: Add a new case using addr2line -S.
1560 * testfile38.bz2: New data file.
1561 * Makefile.am (EXTRA_DIST): Add it.
1563 2007-07-16 Roland McGrath <roland@redhat.com>
1565 * dwfl-bug-report.c: New file.
1566 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1567 (dwfl_bug_report_LDADD): New variable.
1569 2007-06-06 Roland McGrath <roland@redhat.com>
1571 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1573 2007-06-05 Ulrich Drepper <drepper@redhat.com>
1575 * Makefile.am (EXTRA_DIST): Add missing line continuation and
1576 testfile37.bz and testfile37.debug.bz2.
1578 2007-05-23 Roland McGrath <roland@redhat.com>
1580 * run-allregs.sh: Update expected Alpha results.
1582 2007-05-18 Roland McGrath <roland@redhat.com>
1584 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1585 * testfile37.bz2: New data file.
1586 * testfile37.debug.bz2: New data file.
1587 * run-unstrip-test2.sh: New file.
1588 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1590 2007-05-10 Roland McGrath <roland@redhat.com>
1592 * run-dwfl-bug-offline-rel.sh: New file.
1593 * testfile36.bz2: New data file.
1594 * testfile36.debug.bz2: New data file.
1595 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1597 2007-04-28 Roland McGrath <roland@redhat.com>
1599 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1600 * testfile35.bz2: New data file.
1601 * testfile35.debug.bz2: New data file.
1602 * run-unstrip-test.sh: New file.
1603 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1605 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1607 2007-04-26 Roland McGrath <roland@redhat.com>
1609 * run-elflint-self.sh: Run all tests even if one fails.
1611 * run-allregs.sh: Add expected output for alpha.
1613 2007-04-24 Roland McGrath <roland@redhat.com>
1615 * run-strip-test.sh: When we saved the debug info, test unstrip too.
1617 2007-04-22 Roland McGrath <roland@redhat.com>
1619 * run-allregs.sh: Update expected register info.
1621 2007-04-16 Roland McGrath <roland@redhat.com>
1623 * dwfl-addr-sect.c: New file.
1624 * Makefile.am (noinst_PROGRAMS): Add it.
1625 (dwfl_addr_sect_LDADD): New variable.
1627 2007-04-05 Roland McGrath <roland@redhat.com>
1629 * get-files.c: Test dwarf_getsrcdirs.
1630 * run-get-files.sh: Update expected output.
1632 2007-04-01 Roland McGrath <roland@redhat.com>
1634 * run-allregs.sh: Updated expected output for x86_64.
1636 2007-03-04 Roland McGrath <roland@redhat.com>
1638 * dwfl-bug-fd-leak.c: New file.
1639 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1640 (dwfl_bug_fd_leak_LDADD): New variable.
1642 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1643 show what files have been located.
1645 2007-02-02 Roland McGrath <roland@redhat.com>
1647 * run-addrname-test.sh: New file.
1648 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1649 * testfile34.bz2: New data file.
1650 * Makefile.am (EXTRA_DIST): Add it.
1652 2007-01-20 Roland McGrath <roland@redhat.com>
1654 * testfile33.bz2: New data file.
1655 * Makefile.am (EXTRA_DIST): Add it.
1656 * run-elflint-test.sh: Test on it too.
1658 2007-01-18 Roland McGrath <roland@redhat.com>
1660 * Makefile.am (CFLAGS): Don't molest it.
1662 2007-01-11 Roland McGrath <roland@redhat.com>
1664 * testfile32.bz2: New data file.
1665 * Makefile.am (EXTRA_DIST): Add it.
1666 * run-elflint-test.sh: Test on it too.
1668 2007-02-04 Ulrich Drepper <drepper@redhat.com>
1671 * Makefile (noinst_PROGRAMS): Add arls.
1673 * run-ranlib-test2.sh: Fix type in comment.
1675 2007-01-10 Ulrich Drepper <drepper@redhat.com>
1677 * run-elflint-self.sh (runtest): Show which file has the problem.
1679 2007-01-10 Roland McGrath <roland@redhat.com>
1681 * dwfl-bug-addr-overflow.c: New file.
1682 * Makefile.am (TESTS): Add it.
1683 (dwfl_bug_addr_overflow_LDADD): New variable.
1685 2006-12-17 Roland McGrath <roland@redhat.com>
1687 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
1689 2006-09-05 Roland McGrath <roland@redhat.com>
1691 * run-strings-test.sh: Export LC_ALL=C for the test.
1693 2006-08-29 Roland McGrath <roland@redhat.com>
1695 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
1696 * run-arsymtest.sh: Likewise.
1698 * run-native-test.sh (native.c compilation): Add some braces.
1700 2006-08-22 Roland McGrath <roland@redhat.com>
1702 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
1703 (struct reginfo): New members bits, type.
1704 (one_register, match_register): Update to take new args,
1705 record and display new info.
1706 (main): Display new info.
1707 * run-allregs.sh: Update expected results.
1709 2006-08-03 Roland McGrath <roland@redhat.com>
1711 * run-allregs.sh: Add sparc cases.
1712 * testfile30.bz2: New data file.
1713 * testfile31.bz2: New data file.
1714 * Makefile.am (EXTRA_DIST): Add them.
1716 2006-07-21 Roland McGrath <roland@redhat.com>
1718 * allregs.c (struct reginfo): Increase size of name.
1719 (one_register): Assert that it's big enough.
1721 2006-04-04 Roland McGrath <roland@redhat.com>
1723 * run-bug1-test.sh: Test a second case, to cover both byte orders.
1724 * testfile29.bz2: New file.
1725 * testfile29.rdwr.bz2: New file.
1726 * Makefile.am (EXTRA_DIST): Add them.
1728 2006-04-04 Ulrich Drepper <drepper@redhat.com>
1730 * Makefile.am: Add rules to run run-bug1-test.sh.
1731 * rdwrmmap.c: New file.
1732 * run-bug1-test.sh: New file.
1733 * testfile28.bz2: New file.
1734 * testfile28.rdwr.bz2: New file.
1736 2006-03-09 Roland McGrath <roland@redhat.com>
1738 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
1740 2006-03-01 Roland McGrath <roland@redhat.com>
1742 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
1743 changes matching 3.0 spec.
1745 2006-01-13 Roland McGrath <roland@redhat.com>
1747 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
1748 bash 3.1 whines when it's done in the trap 0 handler.
1750 2006-01-11 Roland McGrath <roland@redhat.com>
1752 * testfile26.bz2: New data file.
1753 * testfile27.bz2: New data file.
1754 * Makefile.am (EXTRA_DIST): Add them.
1755 * run-allregs.sh: Test s390 data.
1757 2005-12-14 Roland McGrath <roland@redhat.com>
1759 * run-native-test.sh: Redirect output from native test process.
1761 2005-12-13 Roland McGrath <roland@redhat.com>
1763 * allregs.c (main): Fail if we find no registers.
1765 * run-native-test.sh: New file.
1766 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1768 2005-12-10 Ulrich Drepper <drepper@redhat.com
1770 * run-readelf-test1.sh: New file.
1771 * Makefile.am (TESTS): Add run-readelf-test1.sh.
1772 (EXTRA_DIST): Likewise.
1774 2005-12-07 Roland McGrath <roland@redhat.com>
1776 * ecp.c (main): Use elf_end to clean up.
1778 2005-11-25 Roland McGrath <roland@redhat.com>
1780 * coverage.sh: Given -v argument, print names of unused files.
1782 * addrscopes.c (main): Use dwfl_end before return.
1783 * allregs.c (main): Likewise.
1784 * find-prologues.c (main): Likewise.
1785 * funcretval.c (main): Likewise.
1786 * funcscopes.c (main): Likewise.
1787 * line2addr.c (main): Likewise.
1789 * run-allregs.sh: New file.
1790 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1792 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
1793 * Makefile.am (allregs_LDADD): Updated.
1795 * allregs.c: New file.
1796 * Makefile.am (noinst_PROGRAMS): Add it.
1797 (allregs_LDADD): New variable.
1799 2005-11-18 Roland McGrath <roland@redhat.com>
1801 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
1802 * test-wrapper.sh: Likewise.
1804 2005-11-17 Roland McGrath <roland@redhat.com>
1806 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
1807 environment for test-wrapper.sh.
1808 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
1809 * test-subr.sh (installed_testrun): Likewise.
1810 Use explicit path in ${bindir}.
1812 * Makefile.am (installcheck-local): Fix typo in last change.
1814 2005-11-16 Roland McGrath <roland@redhat.com>
1816 * configure.ac: New file, for standalone build/dist of test suite.
1817 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
1818 (asm_TESTS): New variable, broken out of ...
1819 (TESTS): ... here. Also remove msg_tst.
1820 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
1821 (installed_TESTS_ENVIRONMENT): New variable.
1822 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
1823 [!STANDALONE] (installcheck-local): Likewise.
1824 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
1825 * addrscopes.c: Include <config.h>.
1826 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
1827 * allfcts.c: Likewise.
1828 * asm-tst1.c: Likewise.
1829 * asm-tst2.c: Likewise.
1830 * asm-tst3.c: Likewise.
1831 * asm-tst4.c: Likewise.
1832 * asm-tst5.c: Likewise.
1833 * asm-tst6.c: Likewise.
1834 * asm-tst7.c: Likewise.
1835 * asm-tst8.c: Likewise.
1836 * asm-tst9.c: Likewise.
1837 * dwflmodtest.c: Likewise.
1838 * find-prologues.c: Likewise.
1839 * funcscopes.c: Likewise.
1840 * get-aranges.c: Likewise.
1841 * get-files.c: Likewise.
1842 * get-lines.c: Likewise.
1843 * get-pubnames.c: Likewise.
1844 * line2addr.c: Likewise.
1845 * newscn.c: Likewise.
1846 * show-abbrev.c: Likewise.
1847 * show-die-info.c: Likewise.
1848 * update3.c: Likewise.
1849 * update4.c: Likewise.
1850 * funcretval.c: Likewise.
1852 * dwflmodtest.c (print_instance): Don't use INTUSE.
1853 (options): Don't use N_ macro.
1855 2005-11-15 Roland McGrath <roland@redhat.com>
1857 * coverage.sh: Look in backends.
1858 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
1859 (TESTS_ENVIRONMENT): Likewise.
1861 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
1862 pass FUNCDIE direclty to dwfl_module_return_value_location.
1864 * Makefile.am (BUILD_RPATH): New variable.
1865 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
1866 (tests_rpath): New variable.
1867 (installcheck-local): Pass it to test-wrapper.sh.
1868 * test-wrapper.sh: In "installed" format, take yes/no value
1869 for elfutils_tests_rpath, which export. When running a test
1870 binary for installcheck, exit 77.
1871 * test-subr.sh (installed_testrun): When running a test binary
1872 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
1874 2005-11-14 Roland McGrath <roland@redhat.com>
1876 * test-subr.sh: New file.
1877 * test-wrapper.sh: New file.
1878 * Makefile.am (EXTRA_DIST): Add them.
1879 (AM_LDFLAGS): Variable removed.
1880 (TESTS_ENVIRONMENT): New variable.
1881 (installcheck-local): New target.
1882 * run-addrscopes.sh: Use test-subr.sh.
1883 * run-allfcts.sh: Likewise.
1884 * run-ecp-test.sh: Likewise.
1885 * run-ecp-test2.sh: Likewise.
1886 * run-elflint-self.sh: Likewise.
1887 * run-elflint-test.sh: Likewise.
1888 * run-find-prologues.sh: Likewise.
1889 * run-funcscopes.sh: Likewise.
1890 * run-get-aranges.sh: Likewise.
1891 * run-get-files.sh: Likewise.
1892 * run-get-lines.sh: Likewise.
1893 * run-get-pubnames.sh: Likewise.
1894 * run-line2addr.sh: Likewise.
1895 * run-ranlib-test.sh: Likewise.
1896 * run-ranlib-test2.sh: Likewise.
1897 * run-show-abbrev.sh: Likewise.
1898 * run-show-ciefde.sh: Likewise.
1899 * run-show-die-info.sh: Likewise.
1900 * run-strings-test.sh: Likewise.
1901 * run-strip-test.sh: Likewise.
1903 2005-11-13 Roland McGrath <roland@redhat.com>
1905 * funcretval.c: New file.
1906 * Makefile.am (noinst_PROGRAMS): Add it.
1907 (funcretval_LDADD): New variable.
1909 2005-11-09 Ulrich Drepper <drepper@redhat.com>
1911 * line2addr.c (handle_module): Add missing parameter to printf.
1913 2005-10-27 Roland McGrath <roland@redhat.com>
1915 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
1916 * funcscopes.c (handle_function): Likewise.
1917 * dwflmodtest.c (print_inline, print_func): Likewise.
1918 * find-prologues.c (handle_function): Likewise.
1920 2005-10-27 Roland McGrath <roland@redhat.com>
1922 * run-find-prologues.sh: New file.
1923 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1925 * find-prologues.c (handle_function): Skip inlines.
1927 2005-10-25 Roland McGrath <roland@redhat.com>
1929 * find-prologues.c: New file.
1930 * Makefile.am (noinst_PROGRAMS): Add it.
1931 (find_prologues_LDADD): New variable.
1933 2005-09-02 Ulrich Drepper <drepper@redhat.com>
1935 * run-strings-test.sh: Remove strings.out in the end.
1937 2005-08-31 Ulrich Drepper <drepper@redhat.com>
1939 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
1940 * run-allfcts.sh: Likewise.
1941 * run-ecp-test.sh: Likewise.
1942 * run-ecp-test2.sh: Likewise.
1943 * run-elflint-test.sh: Likewise.
1944 * run-funcscopes.sh: Likewise.
1945 * run-get-aranges.sh: Likewise.
1946 * run-get-files.sh: Likewise.
1947 * run-get-lines.sh: Likewise.
1948 * run-get-pubnames.sh: Likewise.
1949 * run-line2addr.sh: Likewise.
1950 * run-ranlib-test2.sh: Likewise.
1951 * run-show-abbrev.sh: Likewise.
1952 * run-show-ciefde.sh: Likewise.
1953 * run-show-die-info.sh: Likewise.
1954 * run-strings-test.sh: Likewise.
1955 * run-strip-test.sh: Likewise.
1957 2005-08-30 Ulrich Drepper <drepper@redhat.com>
1959 * coverage.sh: Handle case where there is no .gcno file at all.
1961 2005-08-29 Ulrich Drepper <drepper@redhat.com>
1963 * Makefile.am (EXTRA_DIST): Add coverage.
1964 [GCOV]: Generate coverage summary after the tests ran
1965 * coverage.sh: New file.
1967 2005-08-28 Ulrich Drepper <drepper@redhat.com>
1969 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
1970 (CLEANFILES): Add *.gcno *.gcda *.gconv.
1972 2005-08-28 Ulrich Drepper <drepper@redhat.com>
1974 * run-strings-test.sh: New file.
1975 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1977 2005-08-27 Roland McGrath <roland@redhat.com>
1979 * addrscopes.c (handle_address): Apply bias to PC addresses.
1981 * run-funcscopes.sh: New file.
1982 * testfile25.bz2: New data file.
1983 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1985 2005-08-26 Roland McGrath <roland@redhat.com>
1987 * addrscopes.c (dwarf_diename_integrate): Removed.
1988 (print_vars, handle_address): Use plain dwarf_diename.
1990 2005-08-25 Roland McGrath <roland@redhat.com>
1992 * funcscopes.c: New file.
1993 * Makefile.am (noinst_PROGRAMS): Add it.
1994 (funcscopes_LDADD): New variable.
1996 * run-addrscopes.sh: Add another case.
1997 * testfile24.bz2: New data file.
1998 * Makefile.am (EXTRA_DIST): Add it.
2000 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
2001 pass it to dwarf_getscopes.
2002 (main): Pass it, true when '=' follows an address.
2004 2005-08-24 Roland McGrath <roland@redhat.com>
2006 * line2addr.c (print_address): Omit () for DSOs.
2008 2005-08-24 Ulrich Drepper <drepper@redhat.com>
2010 * run-line2addr.sh: Remove testfile23 in the end.
2012 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
2013 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
2015 2005-08-22 Roland McGrath <roland@redhat.com>
2017 * run-line2addr.sh: Add a case.
2018 * testfile23.bz2: New data file.
2019 * Makefile.am (EXTRA_DIST): Add it.
2021 2005-08-18 Roland McGrath <roland@redhat.com>
2023 * run-addrscopes.sh: New file.
2024 * testfile22.bz2: New data file.
2025 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2027 * addrscopes.c: New file.
2028 * Makefile.am (noinst_PROGRAMS): Add it.
2029 (addrscopes_LDADD): New variable.
2031 2005-08-15 Ulrich Drepper <drepper@redhat.com>
2033 * run-elflint-self.sh: Don't run test if the file doesn't exist.
2035 2005-08-15 Roland McGrath <roland@redhat.com>
2037 * dwflmodtest.c (print_instance, print_inline): New functions.
2038 (print_func): Call print_inline.
2039 (options, parse_opt): Grok -i/--inlines.
2041 2005-08-07 Roland McGrath <roland@redhat.com>
2043 * dwflmodtest.c: Print function details only if -f flag is given.
2045 2005-08-06 Ulrich Drepper <drepper@redhat.com>
2047 * run-elflint-self.sh: New file.
2048 * Makefile.am (TESTS): Add run-elflint-self.sh.
2049 (EXTRA_DIST): Likewise.
2051 * Makefile.am: Link with statis libs if BUILD_STATIC.
2052 (dwflmodtest_LDADD): Also link with -ldl.
2054 2005-08-02 Ulrich Drepper <drepper@redhat.com>
2056 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
2057 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
2059 * asm-tst2.c: Likewise.
2060 * asm-tst3.c: Likewise.
2061 * asm-tst4.c: Likewise.
2062 * asm-tst5.c: Likewise.
2063 * asm-tst6.c: Likewise.
2064 * asm-tst7.c: Likewise.
2065 * asm-tst8.c: Likewise.
2066 * asm-tst9.c: Likewise.
2068 * msg_tst.c: Add new error message.
2070 2005-07-28 Ulrich Drepper <drepper@redhat.com>
2072 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
2074 2005-06-01 Roland McGrath <roland@redhat.com>
2076 * line2addr.c: Rewritten using libdwfl.
2077 * run-line2addr.sh: Update test for changed arguments.
2078 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
2079 (libdwfl): New variable.
2080 (line2addr_LDADD): Use it.
2082 2005-07-28 Roland McGrath <roland@redhat.com>
2084 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
2085 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
2086 (dwflmodtest_LDADD): New variable.
2087 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
2089 2005-07-21 Ulrich Drepper <drepper@redhat.com>
2091 * testfile18.bz2: New file.
2092 * run-elflint-test.sh: New file.
2093 * Makefile.am (TESTS): Add run-elflint-test.sh.
2094 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
2096 2005-05-24 Ulrich Drepper <drepper@redhat.com>
2098 * get-files.c (main): Use correct format specifier.
2100 2005-05-21 Ulrich Drepper <drepper@redhat.com>
2102 * Makefile.am: Add -Wextra to CFLAGS.
2103 * get-files.c: Remove warning this produced.
2104 * get-pubnames.c: Likewise.
2105 * newfile.c: Likewise.
2106 * newscn.c: Likewise.
2107 * scnnames.c: Likewise.
2108 * showptable.c: Likewise.
2109 * test-nlist.c: Likewise.
2110 * update1.c: Likewise.
2111 * update2.c: Likewise.
2112 * update3.c: Likewise.
2113 * update4.c: Likewise.
2115 2005-05-08 Ulrich Drepper <drepper@redhat.com>
2117 * run-line2addr.sh: Remove testfile14 at the end.
2119 * run-strip-test.sh: Remove debuginfo test input file as well.
2121 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
2124 2005-05-03 Roland McGrath <roland@redhat.com>
2126 * run-strip-test.sh: Use variables for test file names.
2127 Optionally produce separate debug file and check it.
2128 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
2129 * run-strip-test3.sh: Likewise.
2130 * run-strip-test4.sh: New file.
2131 * run-strip-test5.sh: New file.
2132 * run-strip-test6.sh: New file.
2133 * testfile15.bz: New file.
2134 * testfile15.debug.bz: New file.
2135 * testfile16.bz: New file.
2136 * testfile16.debug.bz: New file.
2137 * testfile17.bz: New file.
2138 * testfile17.debug.bz: New file.
2139 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2141 2005-04-25 Ulrich Drepper <drepper@redhat.com>
2143 * run-line2addr.sh: Also use testfile14. Adjust for correct
2144 return of multiple matches.
2145 * testfile14.bz2: New file.
2146 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
2148 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
2150 2005-04-04 Roland McGrath <roland@redhat.com>
2152 * line2addr.c (main): Initialize LINES and NLINES before calling
2153 dwarf_getsrc_file, and free LINES afterwards.
2155 * allfcts.c (main): Use size_t for CUHL.
2157 2005-04-04 Ulrich Drepper <drepper@redhat.com>
2159 * line2addr.c: New file.
2160 * run-line2addr.sh: New file.
2161 * Makefile.am: Add rules to build, run, and distribute new code.
2163 2005-04-02 Ulrich Drepper <drepper@redhat.com>
2165 * allfcts.c: New file.
2166 * run-allfcts.sh: New file.
2167 * Makefile.am: Add rules to build, run, and distribute new code.
2169 2005-02-05 Ulrich Drepper <drepper@redhat.com>
2171 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
2172 programs with -lmudflap.
2174 2004-09-25 Ulrich Drepper <drepper@redhat.com>
2176 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
2177 * asm-tst5.c (main): Likewise.
2178 * asm-tst6.c (main): Likewise.
2180 2004-01-17 Ulrich Drepper <drepper@redhat.com>
2182 * Makefile.am: Support building with mudflap.
2184 2004-01-12 Ulrich Drepper <drepper@redhat.com>
2186 * get-aranges.c: Rewrite to use libdw.
2187 * Makefile.am: Reenable get-aranges test.
2189 2004-01-11 Ulrich Drepper <drepper@redhat.com>
2191 * get-lines.c: New file.
2192 * get-files.c: Adjust for libdw.
2193 * run-get-files.sh: Adjust expected result.
2194 * run-get-lines.sh: Likewise.
2195 * Makefile.am: Run get-lines test. Don't run get-aranges and
2196 get-ciefde test for now.
2198 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
2199 change. Print attribute offset information.
2200 * run-show-abbrev.sh: Adjust expected output.
2202 2004-01-09 Ulrich Drepper <drepper@redhat.com>
2204 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
2205 * show-die-info.c: Likewise.
2206 * run-show-die-info.sh: Adjust expected output.
2208 2003-08-13 Ulrich Drepper <drepper@redhat.com>
2210 * Makefile.in: Depend on libebl.a, not libebl.so.
2212 2003-08-11 Ulrich Drepper <drepper@redhat.com>
2214 * Moved to CVS archive.