1 2016-01-08 Mark Wielaard <mjw@redhat.com>
3 * elfputzdata.c (main): Fix parentheses in strncmp test.
5 2016-01-08 Mark Wielaard <mjw@redhat.com>
7 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
9 2016-01-08 Mark Wielaard <mjw@redhat.com>
11 * Makefile.am (TESTS): Always unconditionally add
12 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
14 2015-12-16 Mark Wielaard <mjw@redhat.com>
16 * run-compress-test.sh: New test.
17 * Makefile.am (TESTS): Add run-compress-test.sh.
18 (EXTRA_DISTS): Likewise.
20 2015-11-26 Mark Wielaard <mjw@redhat.com>
22 * zstrptr.c: New file.
23 * run-zstrptr.sh: New test.
24 * elfputzdata.c (main): (re)compress .shstrtab.
25 * run-elfputzdata.sh: Expect .shstrtab compression.
26 * Makefile.am (check_PROGRAMS): Add zstrptr.
27 (TESTS): Add run-zstrptr.sh.
28 (EXTRA_DIST): Likewise.
29 (zstrptr_LDADD): New variable.
31 2015-10-20 Mark Wielaard <mjw@redhat.com>
33 * run-readelf-zx.sh: New test.
34 * run-readelf-zp.sh: Likewise.
35 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
36 (EXTRA_DIST): Likewise.
38 2015-10-21 Mark Wielaard <mjw@redhat.com>
40 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
41 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
42 (EXTRA_DIST: Likewise.
43 (elfgetzdata_LDADD): New variable.
44 (elfputzdata_LDADD): Likewise.
45 * elfgetzdata.c: New file.
46 * elfputzdata.c: Likewise.
47 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
48 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
49 ELF_E_DECOMPRESS_ERROR.
50 * run-elfgetzdata.sh: New test.
51 * run-elfputzdata.sh: Likewise.
53 2015-10-28 Mark Wielaard <mjw@redhat.com>
55 * run-readelf-z.sh: New test.
56 * Makefile.am (TESTS): Add run-readelf-z.sh.
57 (EXTRA_DIST): Likewise.
59 2015-10-28 Mark Wielaard <mjw@redhat.com>
61 * elfgetchdr.c: New file.
62 * run-elfgetchdr.sh: New test.
63 * testfile-zgabi32.bz2: New testfile.
64 * testfile-zgabi32be.bz2: Likewise.
65 * testfile-zgabi64.bz2: Likewise.
66 * testfile-zgabi64be.bz2: Likewise.
67 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
68 (TESTS): Add run-elfgetchdr.sh.
69 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
70 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
71 (welfgetchdr_LDADD): New variable.
72 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
73 and ELF_E_INVALID_SECTION_FLAGS,
76 2015-10-28 Mark Wielaard <mjw@redhat.com>
78 * dwelfgnucompressed.c: New file.
79 * run-dwelfgnucompressed.sh: New test.
80 * testfile-zgnu32.bz2: New testfile.
81 * testfile-zgnu64.bz2: Likewise.
82 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
83 (TESTS): Add run-dwelfgnucompressed.sh.
84 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
85 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
86 (dwelfgnucompressed_LDADD): New variable.
88 2015-12-31 Mark Wielaard <mjw@redhat.com>
90 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
91 * run-elfstrmerge-test.sh: New test.
92 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
93 (EXTRA_DIST): Likewise.
95 2015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
97 * run-backtrace-core-sparc.sh: New file.
98 * backtrace.sparc.core.bz2: New file.
99 * backtrace.sparc.exec.bz2: New file.
100 * Makefile.am (EXTRA_DIST): ... and added all here.
101 (TESTS): Added run-backtrace-core-sparc.sh.
103 2015-12-02 Mark Wielaard <mjw@redhat.com>
105 * Makefile.am (valgrind_cmd): Use --leak-check=full.
106 * run-backtrace-demangle.sh: Disable valgrind.
107 * run-stack-demangled-test.sh: Likewise.
108 * run-stack-d-test.sh: Likewise.
109 * run-stack-i-test.sh: Likewise.
111 2015-12-01 Mark Wielaard <mjw@redhat.com>
113 * test-flag-nobits.c (main): Call elf_end.
114 * rerequest_tag.c (main): Call dwarf_end.
115 * funcscopes.c (handle_function): Free scopes.
116 * dwarf-getstring.c (main): Call dwarf_end.
117 * allregs.c (main): Free state.info.
118 * alldts.c (main): Free dyn.
119 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
121 * addrscopes.c (handle_address): Free scopes.
123 2015-10-16 Mark Wielaard <mjw@redhat.com>
125 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
126 [BUILD_STATIC] (libelf): Likewise.
128 2015-10-16 Mark Wielaard <mjw@redhat.com>
130 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
132 2015-10-09 Josh Stone <jistone@redhat.com>
134 * lfs-symbols: New list of LFS-related symbols from lintian.
135 * testfile-nolfs.bz2: New test binary for sanity checking.
136 * run-lfs-symbols.sh: New test.
137 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
138 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
140 * alldts.c (main): Replace open64 with open.
141 * dwarf-getstring.c (main): Likewise.
142 * arls.c: Include config.h.
144 * rdwrmmap.c: Likewise.
145 * test-elf_cntl_gelf_getshdr.c: Likewise.
146 * test-flag-nobits.c: Include config.h.
147 (main): Replace open64 with open.
149 2015-10-09 Mark Wielaard <mjw@redhat.com>
151 * elfshphehdr.c (check): Rename argument from check to statement.
152 (check_elf): Likewise.
154 2015-10-05 Josh Stone <jistone@redhat.com>
156 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
158 2015-10-02 Mark Wielaard <mjw@redhat.com>
160 * elfstrmerge.c: New check program.
161 * run-strip-strmerge.sh: New test.
162 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
163 (EXTRA_DIST): Add run-strip-strmerge.sh
164 (elfstrmerge_LDADD): New variable.
166 2015-09-29 Mark Wielaard <mjw@redhat.com>
168 * elfshphehdr.c: New test.
169 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
171 (elfshphehdr_LDADD): New variable.
173 2015-09-08 Mark Wielaard <mjw@redhat.com>
175 * dwfl-proc-attach.c: New test.
176 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
178 (dwfl_proc_attach_LDADD): New variable.
179 (dwfl_proc_attach_LDFLAGS): Likewise.
181 2015-09-04 Chih-Hung Hsieh <chh@google.com>
183 * varlocs.c (print_base_type): Initialize enctype.
185 2015-09-04 Chih-Hung Hsieh <chh@google.com>
187 * md5-sha1-test.c (md5_expected): Removed.
188 (sha1_expected): Likewise.
190 2015-09-04 Chih-Hung Hsieh <chh@google.com>
192 * asm-tst1.c (main): Replace %Z length modifier with %z.
193 * asm-tst2.c (main): Likewise.
194 * asm-tst3.c (main): Likewise.
195 * asm-tst4.c (main): Likewise.
196 * asm-tst5.c (main): Likewise.
197 * asm-tst6.c (main): Likewise.
198 * asm-tst7.c (main): Likewise.
199 * asm-tst8.c (main): Likewise.
200 * asm-tst9.c (main): Likewise.
201 * sectiondump.c (print_bytes): Likewise.
203 2015-08-14 Mark Wielaard <mjw@redhat.com>
205 * run-addr2line-alt-debugpath.sh: New test.
206 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
207 (EXTRA_DIST): Likewise.
209 2015-07-29 Mark Wielaard <mjw@redhat.com>
211 * run-unstrip-test3.sh: New test.
212 * testfile-info-link.bz2: New file.
213 * testfile-info-link.debuginfo.bz2: Likewise.
214 * testfile-info-link.stripped.bz2: Likewise.
215 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
216 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
217 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
219 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
221 * tests/run-deleted.sh: Skip when detecting a not implemented
222 dwfl_linux_proc_attach.
224 2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
226 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
229 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
231 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
233 2015-06-26 Pino Toscano <toscano.pino@tiscali.it>
235 * tests/backtrace-data.c: Reduce scope of some includes to match their
237 * tests/backtrace.c: Likewise.
238 * tests/deleted.c: Likewise.
240 2015-06-16 Mark Wielaard <mjw@redhat.com>
242 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
243 for non-ET_REL files.
245 2015-05-30 Mark Wielaard <mjw@redhat.com>
247 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
248 generated before skipping.
249 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
251 * run-backtrace-demangle.sh: Likewise.
252 * run-stack-demangled-test.sh: Likewise.
253 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
255 * run-backtrace-native-core-biarch.sh: Likewise.
256 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
258 2015-05-20 Mark Wielaard <mjw@redhat.com>
260 * run-addr2line-i-test.sh: Add pretty test.
261 * run-addr2line-test.sh: Likewise.
263 2015-05-20 Mark Wielaard <mjw@redhat.com>
265 * run-addr2line-i-demangle-test.sh: New test.
266 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
267 (EXTRA_DIST): Likewise.
269 2015-05-20 Mark Wielaard <mjw@redhat.com>
271 * run-addr2line-test.sh: Add -a test variants.
272 * run-addr2line-i-test.sh: Likewise.
274 2015-05-20 Mark Wielaard <mjw@redhat.com>
276 * run-addrname-test.sh: Make sure all input addresses are hex.
278 2015-05-04 Max Filippov <jcmvbkbc@gmail.com>
280 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
281 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
283 * backtrace-dwarf.c (main): Likewise.
284 * backtrace.c (prepare_thread, exec_dump): Likewise.
286 2015-05-04 Anthony G. Basile <blueness@gentoo.org>
288 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
289 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
290 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
291 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
292 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
294 2015-05-01 Mark Wielaard <mjw@redhat.com>
296 * run-stack-d-test.sh: Use --raw and mangled output.
297 * run-stack-i-test.sh: Likewise.
298 * run-stack-demangled-test.sh: New test.
299 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
302 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
304 * Makefile.am (TESTS): Add run-strip-test10.sh.
305 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
306 Add testfile-x32-debug.bz2.
307 * run-strip-test10.sh: New file.
308 * testfile-x32-d.bz2: Likewise.
309 * testfile-x32-debug.bz2: Likewise.
311 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
313 * Makefile.am (TESTS): Add run-strip-test9.sh.
314 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
315 * run-strip-test9.sh: New file.
316 * testfile-x32-s.bz2: Likewise.
318 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
320 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
321 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
322 Add backtrace.x32.exec.bz2.
323 * backtrace.x32.core.bz2 : New file.
324 * backtrace.x32.exec.bz2: Likewise.
325 * run-backtrace-core-x32.sh: Likewise.
327 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
329 * run-addrcfi.sh: Add a test for testfile-x32.
330 * testfile-x32.bz2: New file.
331 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
333 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
335 * run-allregs.sh: Add a test for testfile-x32-core.
337 2015-04-01 H.J. Lu <hjl.tools@gmail.com>
339 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
340 * testfile-x32-core.bz2: New file.
341 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
343 2015-03-18 Petr Machata <pmachata@redhat.com>
345 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
347 * allregs.c (dwarf_encoding_string): Likewise.
348 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
349 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
351 2015-03-18 Petr Machata <pmachata@redhat.com>
353 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
354 debug-ranges-no-lowpc.o.bz2.
356 2015-03-13 Mark Wielaard <mjw@redhat.com>
358 * backtrace-dwarf.c: Add explicit includes.
359 (cleanup_13_abort): Remove unused static declaration.
360 (thread_callback): Add explicit return.
362 2015-03-13 H.J. Lu <hjl.tools@gmail.com>
364 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
365 instead of PTRACE_POKEUSER.
366 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
369 2015-02-18 Mark Wielaard <mjw@redhat.com>
371 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
373 2015-02-11 Josh Stone <jistone@redhat.com>
375 * backtrace.c (exec_dump): Initialize jmp.
377 2015-02-11 Petr Machata <pmachata@redhat.com>
379 * run-dwarf-ranges.sh: New test.
380 * dwarf-ranges.c: New file.
381 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
383 2015-01-21 Mark Wielaard <mjw@redhat.com>
385 * Makefile.am (check_PROGRAMS): Add elfstrtab.
387 (elfstrtab_LDADD): New variable.
388 * elfstrtab.c: New test.
390 2015-01-20 Mark Wielaard <mjw@redhat.com>
392 * Makefile.am (check_PROGRAMS): Add newdata.
394 (newdata_LDADD): new variable.
395 * newdata.c: New test.
397 2015-01-20 Mark Wielaard <mjw@redhat.com>
399 * strptr.c: New file.
400 * run-strptr.sh: New test.
401 * Makefile.am (check_PROGRAMS): Add strptr.
402 (TESTS): Add run-strptr.sh.
403 (EXTRA_DIST): Likewise.
404 (strptr_LDADD): New variable.
406 2015-01-15 Mark Wielaard <mjw@redhat.com>
408 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
409 * vdsosyms.c (main): Use getpid () instead of getppid ().
411 2014-12-27 Mark Wielaard <mjw@redhat.com>
413 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
414 * funcscopes.c (handle_function): Likewise.
415 * run-addrscopes.sh: Adjust last address in scope.
416 * run-funcscopes.sh: Likewise.
418 2015-01-07 Mark Wielaard <mjw@redhat.com>
420 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
422 2015-01-14 Mark Wielaard <mjw@redhat.com>
424 * testfile-debug-types.bz2: New testfile.
425 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
426 * typeiter2.c (main): Print both name and offset of found form DIE.
427 * run-typeiter.s: Adjust output and add testfile-debug-types.
429 2014-12-26 Mark Wielaard <mjw@redhat.com>
431 * run-test-archive64.sh: Add nm test.
433 2014-12-19 Mark Wielaard <mjw@redhat.com>
435 * run-deleted.sh: Don't check libfunc on ppc64.
437 2014-12-19 Mark Wielaard <mjw@redhat.com>
439 * vdsosyms.c (vdso_seen): Removed.
440 (vdso_syms): New global.
441 (module_callback): Set and check vdso_syms.
442 (main): Return value depends on vdso_syms.
444 2014-12-19 Mark Wielaard <mjw@redhat.com>
446 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
448 * run-deleted.sh: Call check_native_unsupported.
450 2014-12-18 Mark Wielaard <mjw@redhat.com>
452 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
454 2014-12-12 Mark Wielaard <mjw@redhat.com>
456 * Makefile.am (deleted_lib_so_CFLAGS): Add
457 -fasynchronous-unwind-tables.
459 2014-12-11 Josh Stone <jistone@redhat.com>
461 * run-addr2line-i-lex-test.sh: New test.
462 * testfile-lex-inlines.bz2: New testfile.
463 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
464 testfile-lex-inlines.bz2.
465 (TESTS): Add run-addr2line-i-lex-test.sh.
467 2014-12-10 Josh Stone <jistone@redhat.com>
469 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
470 preferred over the plain die name.
472 2014-12-02 Petr Machata <pmachata@redhat.com>
474 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
475 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
476 (main): Initialize off to DWARF_GETMACROS_START when an extra
477 command line argument is passed.
478 * testfile-macros-0xff.bz2: New test case.
479 * testfile-macros-0xff.s: New file (source for the above).
480 * run-dwarf-getmacros.sh: Add two tests.
482 2014-11-27 Mark Wielaard <mjw@redhat.com>
484 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
486 2014-11-21 Mark Wielaard <mjw@redhat.com>
488 * run-readelf-A.sh: New test.
489 * testfileppc32attrs.o.bz2: New test file.
490 * Makefile.am (TESTS): Add run-readelf-A.sh.
491 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
493 2014-11-10 Mark Wielaard <mjw@redhat.com>
495 * vdsosyms.c: New test.
496 * Makefile.am (check_PROGRAMS): Add vdsosyms.
498 (vdsosyms_LDADD): New variable.
500 2014-09-10 Petr Machata <pmachata@redhat.com>
502 * dwarf-getmacros.c: Update to use the new macro iteration
504 * run-dwarf-getmacros.sh: Adjust, add a test that uses
507 2014-10-06 Mark Wielaard <mjw@redhat.com>
509 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
510 * testfile-sizes3.o.bz2: New test file.
511 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
513 2014-10-02 Mark Wielaard <mjw@redhat.com>
515 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
517 2014-10-02 Mark Wielaard <mjw@redhat.com>
519 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
520 (TESTS): Add run-aggregate-size.sh.
521 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
522 and testfile-sizes2.o.bz2.
523 (aggregate_size_LDADD): New variable.
524 * aggregate_size.c: New file.
525 * run-aggregate-size.sh: New test.
526 * testfile-sizes1.o.bz2: New test file.
527 * testfile-sizes2.o.bz2: Likewise.
529 2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
531 Support NT_FILE for locating files.
532 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
533 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
534 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
535 * linkmap-cut-lib.so.bz2: New file.
536 * linkmap-cut.bz2: New file.
537 * linkmap-cut.core.bz2: New file.
538 * run-linkmap-cut.sh: New file.
539 * run-unstrip-n.sh: Update its expected output.
541 2014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
543 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
544 (TESTS, EXTRA_DIST): Add run-deleted.sh.
545 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
546 * deleted-lib.c: New file.
547 * deleted.c: New file.
548 * run-deleted.sh: New file.
550 2014-06-15 Mark Wielaard <mjw@redhat.com>
552 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
554 2014-06-13 Mark Wielaard <mjw@redhat.com>
556 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
559 2014-06-13 Mark Wielaard <mjw@redhat.com>
561 * backtrace-subr.sh (check_native_unsupported): New function.
562 (check_native): Call it.
563 (check_native_core): Likewise.
564 * run-backtrace-dwarf.sh: Likewise.
566 2014-06-11 Mark Wielaard <mjw@redhat.com>
568 * backtrace.c (main): Check that Dwfl was attached by calling
569 dwfl_pid and printing the error when it is not.
571 2014-05-18 Mark Wielaard <mjw@redhat.com>
573 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
575 * testfile-backtrace-demangle.bz2: Regenerate.
576 * testfile-backtrace-demangle.core.bz2: Likewise.
578 2014-05-02 Mark Wielaard <mjw@redhat.com>
580 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
581 run-allfcts-multi.sh are now added unconditionally.
583 2014-05-01 Mark Wielaard <mjw@redhat.com>
585 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
588 2014-04-30 Mark Wielaard <mjw@redhat.com>
590 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
591 * Makefile.am (check_PROGRAMS): Add buildid.
592 (TESTS): Add run-buildid.sh.
593 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
594 (buildid_LDADD): New variable.
596 2014-04-24 Florian Weimer <fweimer@redhat.com>
598 * allfcts.c (setup_alt): New function.
599 (main): Call it. Implementation additional error checking and
602 2014-04-24 Florian Weimer <fweimer@redhat.com>
604 * debugaltlink.c, run-debugaltlink.sh: New files.
605 * Makefile.am (check_PROGRAMS): Add debugaltlink.
606 (TESTS): Add run-debugaltlink.sh.
607 (debugaltlink_LDADD): New variable.
609 2014-04-11 Mark Wielaard <mjw@redhat.com>
611 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
612 (check_PROGRAMS): Add debuglink.
613 (TESTS): Add run-debuglink.sh
614 (EXTRA_DIST): Likewise.
615 (debuglink_LDADD): New.
616 * debuglink.c: New file.
617 * run-debuglink.sh: Likewise.
619 2014-03-23 Mark Wielaard <mjw@redhat.com>
621 * run-nm-self.sh: Use test = not == for string comparisons.
623 2014-04-22 Kurt Roeckx <kurt@roeckx.be>
625 * backtrace.c: Make Linux only.
626 * backtrace-child.c: Make Linux only.
627 * backtrace-data.c: Make Linux only.
628 * backtrace-dwarf.c: Make Linux only.
629 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
631 2014-03-14 Mark Wielaard <mjw@redhat.com>
633 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
635 * configure.ac: Remove MUDFLAP conditional.
637 2014-04-09 Mark Wielaard <mjw@redhat.com>
639 * run-readelf-zdebug.sh: New test.
640 * testfile-debug.bz2: New testfile.
641 * testfile-zdebug.bz2: New testfile.
642 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
643 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
646 2014-04-10 Mark Wielaard <mjw@redhat.com>
648 * testfile_i686_core.bz2: New test file.
649 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
650 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
652 2014-04-09 Mark Wielaard <mjw@redhat.com>
654 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
655 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
656 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
657 * run-backtrace-core-aarch64.sh: New test.
659 2014-03-11 Josh Stone <jistone@redhat.com>
661 * testfilebaxmin.bz2: New testfile.
662 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
663 * run-readelf-s.sh: Test testfilebaxmin.
664 * run-dwflsyms.sh: Likewise.
666 2014-01-26 Mark Wielaard <mjw@redhat.com>
668 * backtrace-subr.sh (check_unsupported): Special case arm*.
670 2014-01-25 Mark Wielaard <mjw@redhat.com>
672 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
673 location expression: call_frame_cfa stack_value.
675 2014-01-22 Mark Wielaard <mjw@redhat.com>
677 * Makefile.am (line2addr_no_Wformat): Removed.
679 2014-01-21 Mark Wielaard <mjw@redhat.com>
681 * Makefile.am (TESTS): Add run-stack-i-test.sh.
682 (EXTRA_DIST): Likewise.
683 * run-stack-i-test.sh: New test.
685 2014-01-20 Mark Wielaard <mjw@redhat.com>
687 * Makefile.am (TESTS): Add run-stack-d-test.sh.
688 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
689 testfiledwarfinlines.core.bz2.
690 * run-stack-d-test.sh: New test.
691 * testfiledwarfinlines.bz2: New test file.
692 * testfiledwarfinlines.core.bz2: Likewise.
694 2014-01-16 Mark Wielaard <mjw@redhat.com>
696 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
697 on one ET_REL, one ET_EXEC and one ET_DYN file.
698 * test-subr.sh (self_test_files): Add two ET_REL files, only add
699 two libebl ET_DYN backend files.
701 2014-01-16 Mark Wielaard <mjw@redhat.com>
703 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
705 2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
707 Fix false FAILs on testsuite with ulimit -c unlimited.
708 * backtrace-child.c (sigusr2): Call pthread_exit.
709 (main): Return, do not call abort.
711 2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
713 Fix corruption of non-C++ symbols by the demangler.
714 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
715 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
716 (EXTRA_DIST): Add run-backtrace-demangle.sh,
717 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
718 testfile-backtrace-demangle.core.bz2.
719 * backtrace-demangle.cc: New file.
720 * run-backtrace-demangle.sh: New file.
721 * testfile-backtrace-demangle.bz2: New file.
722 * testfile-backtrace-demangle.cc: New file.
723 * testfile-backtrace-demangle.core.bz2: New file.
725 2014-01-07 Matthias Klose <doko@ubuntu.com>
727 * backtrace-subr.sh (check_native_core): Check to see if core file
728 was created without ".PID" extension, if so mv core to core.PID.
729 Skip test if no core file was created or could be found.
731 2014-01-04 Mark Wielaard <mjw@redhat.com>
733 * backtrace-data.c (main): Don't assert if raise returns.
734 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
735 assume_ptrace_attached true.
736 (ptrace_detach_stopped): Removed function.
737 (main): Don't call ptrace_detach_stopped.
738 * backtrace.c (ptrace_detach_stopped): Removed function.
739 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
741 (exec_dump): Don't call ptrace_detach_stopped.
743 2014-01-04 Mark Wielaard <mjw@redhat.com>
745 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
746 if we cannot adjust core ulimit.
748 2014-01-04 Mark Wielaard <mjw@redhat.com>
750 * cleanup-13.c (force_unwind_stop): Removed.
751 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
752 don't call _Unwind_ForcedUnwind.
754 2014-01-03 Mark Wielaard <mjw@redhat.com>
756 * run-addrcfi.sh: Add case for EM_AARCH64.
757 * testfileaarch64.bz2: New testfile.
758 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
760 2013-12-30 Mark Wielaard <mjw@redhat.com>
762 * backtrace-dwarf.c (report_pid): Explicitly call
763 dwfl_linux_proc_attach and check for errors.
764 * backtrace.c (report_pid): Likewise.
766 2013-12-21 Mark Wielaard <mjw@redhat.com>
768 * backtrace.c (callback_verify): Only assert that case 5 is the last
769 instruction of backtracegen on x86_64 native.
771 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
772 Mark Wielaard <mjw@redhat.com>
774 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
775 and testfilebaz*ppc64*.bz2 files.
776 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
777 error on dwfl_module_getsymtab error.
778 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
779 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
780 Also print section of actual value if different from sym.
781 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
782 Test addr2line -x by showing different sections for address and
783 found name in testfile66.
784 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
785 testfilebaz*ppc64): New tests.
786 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
787 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
788 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
789 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
790 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
791 testfilebaztabppc64.bz2: New test files.
793 2013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
795 unwinder: s390 and s390x
796 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
797 run-backtrace-core-s390.sh.
798 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
799 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
800 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
801 * backtrace.s390.core.bz2: New file.
802 * backtrace.s390.exec.bz2: New file.
803 * backtrace.s390x.core.bz2: New file.
804 * backtrace.s390x.exec.bz2: New file.
805 * run-backtrace-core-s390.sh: New file.
806 * run-backtrace-core-s390x.sh: New file.
808 2013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
810 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
813 2013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
816 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
817 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
818 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
819 * backtrace.ppc.core.bz2: New file.
820 * backtrace.ppc.exec.bz2: New file.
821 * run-backtrace-core-ppc.sh: New file.
823 2013-12-10 Mark Wielaard <mjw@redhat.com>
825 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
827 2013-12-10 Mark Wielaard <mjw@redhat.com>
829 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
830 * backtrace-subr.sh (check_native_core): Disable valgrind while
832 * run-backtrace-data.sh: Disable valgrind.
833 * run-backtrace-dwarf.sh: Likewise.
835 2013-12-09 Mark Wielaard <mjw@redhat.com>
837 * varlocs.c (print_expr): Update comment to explain empty location
838 associated with DW_OP_GNU_implicit_pointer.
840 2013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
842 Fix test FAIL with -O2.
843 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
845 2013-12-05 Mark Wielaard <mjw@redhat.com>
847 * backtrace-data.c (main): If unsupported also print to stderr.
848 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
850 2013-12-04 Mark Wielaard <mjw@redhat.com>
852 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
854 2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
856 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
857 backtrace-data and backtrace-dwarf.
858 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
859 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
860 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
861 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
862 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
863 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
864 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
865 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
866 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
867 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
868 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
869 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
870 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
871 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
873 * backtrace-child.c: New file.
874 * backtrace-data.c: New file.
875 * backtrace-dwarf.c: New file.
876 * backtrace-subr.sh: New file.
877 * backtrace.c: New file.
878 * cleanup-13.c: New file.
879 * backtrace.i386.core.bz2: New file.
880 * backtrace.i386.exec.bz2: New file.
881 * backtrace.x86_64.core.bz2: New file.
882 * backtrace.x86_64.exec.bz2: New file.
883 * run-backtrace-core-i386.sh: New file.
884 * run-backtrace-core-x86_64.sh: New file.
885 * run-backtrace-native-biarch.sh: New file.
886 * run-backtrace-native-core-biarch.sh: New file.
887 * run-backtrace-native-core.sh: New file.
888 * run-backtrace-native.sh: New file.
889 * run-backtrace-data.sh: New file.
890 * run-backtrace-dwarf.sh: New file.
892 2013-11-27 Mark Wielaard <mjw@redhat.com>
894 * dwflsyms.c (gelf_bind_order): New function.
895 (elf_section_name): Likewise.
896 (addr_in_section): Likewise.
897 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
898 Refine assert using gelf_bind_order. Print elf_section_name. Check
899 bias with addr_in_section.
900 * run-dwflsyms.sh: Add section names to expected output.
902 2013-11-26 Mark Wielaard <mjw@redhat.com>
904 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
906 2013-11-25 Petr Machata <pmachata@redhat.com>
908 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
909 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
910 * Makefile.am (EXTRA_DIST): Add these.
911 (TESTS): Add run-funcretval.sh.
912 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
913 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
914 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
915 * run-funcretval.sh: New file.
917 2013-11-18 Josh Stone <jistone@redhat.com>
919 * testfilebazdbg_plr.bz2: New testfile.
920 * testfilebazmin_plr.bz2: Likewise.
921 * Makefile.am (EXTRA_DIST): Add the above files.
922 * run-dwflsyms.sh: Add prelink -r tests.
924 2013-11-15 Mark Wielaard <mjw@redhat.com>
926 * testfilebazmdb.bz2: Regenerated.
927 * testfilebazmin.bz2: Likewise.
928 * testfilebazdbg_pl.bz2: New testfile.
929 * testfilebazmin_pl.bz2: Likewise.
930 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
931 testfilebazmin_pl.bz2.
932 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
933 print relative address of function symbols.
934 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
936 2013-11-01 Michael Forney <mforney@mforney.org>
938 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
939 * run-arsymtest.sh: Use NM.
941 2013-11-05 Mark Wielaard <mjw@redhat.com>
943 * allfcts.c (main): Correct dwarf_getfuncs return value check.
945 2013-10-10 Mark Wielaard <mjw@redhat.com>
946 Josh Stone <jistone@redhat.com>
948 * run-allfcts-multi.sh: New test.
949 * test-offset-loop.bz2: New testfile.
950 * test-offset-loop.alt.bz2: New testfile.
951 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
952 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
953 test-offset-loop.alt.bz2.
955 2013-10-15 Mark Wielaard <mjw@redhat.com>
957 * run-unstrip-M.sh: New test.
958 * Makefile.am (TESTS): Add run-unstrip-M.sh.
959 (EXTRA_DIST): Likewise.
961 2013-10-06 Mark Wielaard <mjw@redhat.com>
963 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
966 2013-10-03 Josh Stone <jistone@redhat.com>
968 * typeiter2.c: New file, reversing typeiter.c.
969 * run-typeiter.sh: Also run typeiter2.
970 * Makefile.am (check_PROGRAMS): Add typeiter2.
971 (typeiter2_LDADD): New variable.
973 2013-09-26 Petr Machata <pmachata@redhat.com>
975 * run-readelf-mixed-corenote.sh: Update output of testfile71
976 dump--readelf can newly decode the NT_FILE note.
978 2013-09-26 Petr Machata <pmachata@redhat.com>
980 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
981 * run-readelf-mixed-corenote.sh: New test for this file.
982 * testfile71.bz2: New file.
984 2013-09-20 Mark Wielaard <mjw@redhat.com>
986 * allfcts.c (cb): Return DWARF_CB_ABORT.
987 (main): Iterate over all offsets returned by dwarf_getfuncs.
988 * run-allfcts.sh: Add nested_funcs and class_func testcases.
989 * testfile_nested_funcs.bz2: New test file.
990 * testfile_class_func.bz2: Likewise.
991 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
992 testfile_nested_funcs.bz2.
994 2013-08-30 Mark Wielaard <mjw@redhat.com>
996 * Makefile.am (check_PROGRAMS): Add varlocs.
997 (TESTS): Add run-varlocs.sh.
998 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
999 testfile_const_type.bz2, testfile_implicit_pointer.c,
1000 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1001 testfile_entry_value.c, testfile_entry_value.bz2,
1002 testfile_implicit_value.c and testfile_implicit_value.bz2.
1003 (varlocs_LDADD): New.
1004 * run-varlocs: New test.
1005 * testfile_const_type.c: New test source file.
1006 * testfile_entry_value.c: Likewise.
1007 * testfile_implicit_pointer.c: Likewise.
1008 * testfile_implicit_value.c: Likewise.
1009 * testfile_parameter_ref.c: Likewise.
1010 * testfile_const_type.bz2: New test file.
1011 * testfile_entry_value.bz2: Likewise.
1012 * testfile_implicit_pointer.bz2: Likewise.
1013 * testfile_implicit_value.bz2: Likewise.
1014 * testfile_parameter_ref.bz2: Likewise.
1015 * varlocs.c: New test source.
1017 2013-08-29 Mark Wielaard <mjw@redhat.com>
1019 * run-addrcfi.sh: Add case for EM_ARM.
1020 * testfilearm.bz2: New testfile.
1021 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1023 2013-08-28 Mark Wielaard <mjw@redhat.com>
1025 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1027 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1028 * testfiles390.bz2: New testfile.
1029 * testfiles390x.bz2: Likewise.
1030 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1033 2013-08-28 Mark Wielaard <mjw@redhat.com>
1035 * addrcfi.c (handle_cfi): Use printf not error.
1036 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1037 * testfileppc32.bz2: New testfile.
1038 * testfileppc64.bz2: Likewise.
1039 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1042 2013-08-27 Mark Wielaard <mjw@redhat.com>
1044 * run-addrcfi.sh: New test.
1045 * Makefile.am (TESTS): Add run-addrcfi.sh.
1046 (EXTRA_DIST): Likewise.
1047 * addrcfi.c (op_name): New function.
1048 (print_detail): Call and print op_name. Check ops, not result
1049 to check if this is "same value" or "undefined".
1050 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1052 2013-08-13 Mark Wielaard <mjw@redhat.com>
1054 * run-addr2line-i-test.sh: New test.
1055 * testfile-inlines.bz2: New testfile.
1056 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1057 testfile-inlines.bz2.
1058 (TESTS): Add run-addr2line-i-test.sh.
1060 2013-08-12 Mark Wielaard <mjw@redhat.com>
1062 * run-addr2line-test.sh: New test.
1063 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1066 2013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1068 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1071 2013-07-02 Mark Wielaard <mjw@redhat.com>
1073 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1074 testfilenolines.bz2.
1076 2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1078 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1079 test-core.core.bz2 and test-core.exec.bz2.
1080 * run-addrname-test.sh: New test for these files.
1081 * run-unstrip-n.sh: Update expected output. New test for these files.
1082 * test-core-lib.so.bz2: New file.
1083 * test-core.core.bz2: New file.
1084 * test-core.exec.bz2: New file.
1086 2013-05-03 Mark Wielaard <mjw@redhat.com>
1088 * testfilenolines.bz2: New test file.
1089 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1090 * run-get-lines.sh: Run testrun_compare on testfilenolines.
1092 2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1094 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1096 2013-04-29 Mark Wielaard <mjw@redhat.com>
1098 * test-subr.sh: Don't use pushd, just cd into test-dir.
1099 (exit_cleanup): Don't use popd, just cd .. to get out.
1101 2013-04-27 Mark Wielaard <mjw@redhat.com>
1103 * test-subr.sh (exit_cleanup): New function.
1104 (trap): Use exit_cleanup as argument.
1105 * run-native-test.sh (native_exit): New function.
1106 (trap): For EXIT (0) use native_exit as argument.
1108 2013-04-27 Mark Wielaard <mjw@redhat.com>
1110 * update1.c (main): Use unique tempfile name and unlink file.
1111 * update2.c (main): Likewise.
1112 * update3.c (main): Likewise.
1113 * update4.c (main): Use unique tempfile name.
1115 2013-04-27 Mark Wielaard <mjw@redhat.com>
1117 * run-alldts.sh: Add testfile-alldts to tempfiles.
1118 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1119 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1120 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1121 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1123 2013-04-26 Mark Wielaard <mjw@redhat.com>
1125 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1127 (TESTS_ENVIRONMENT): Likewise.
1128 (installed_LOG_COMPILER): New variable defining wrapper.
1129 (LOG_COMPILER): Likewise.
1130 * run-*.sh: Fixup location of input and output files.
1131 * test-subr.sh: Create test_dir, pushd to execute test in.
1132 (trap): Remove test_dir.
1133 (testfiles): Use abs_srcdir.
1134 (installed_testrun): Match on abs_builddir or abs_top_builddir.
1135 (self_test_files): Adjust path.
1137 2013-04-24 Mark Wielaard <mjw@redhat.com>
1139 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1141 2013-03-25 Mark Wielaard <mjw@redhat.com>
1143 * run-readelf-aranges.sh: New test.
1144 * testfilefoobarbaz.bz2: New test file.
1145 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1146 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1148 2013-03-25 Mark Wielaard <mjw@redhat.com>
1150 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1152 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1154 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1155 (TESTS): Add run-dwfl-report-elf-align.sh.
1156 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1157 testfile-dwfl-report-elf-align-shlib.so.bz2 .
1158 (dwfl_report_elf_align_LDADD): New.
1159 * dwfl-report-elf-align.c: New file.
1160 * run-dwfl-report-elf-align.sh: New file.
1161 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1163 2013-03-12 Mark Wielaard <mjw@redhat.com>
1165 * run-dwfllines.sh: New test.
1166 * dwfllines.c: New test program.
1167 * Makefile.am (TESTS): Add run-dwfllines.sh.
1168 (EXTRA_DIST): Likewise.
1169 (dwfllines_LDADD): New variable.
1171 2013-02-22 Mark Wielaard <mjw@redhat.com>
1173 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1174 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1176 2013-02-15 Mark Wielaard <mjw@redhat.com>
1178 * testfile-dwzstr.bz2: New testfile.
1179 * testfile-dwzstr.multi.bz2: Likewise.
1180 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1181 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1182 testfile-dwzstr.multi.bz2.
1184 2013-01-30 Mark Wielaard <mjw@redhat.com>
1186 * testfileloc.bz2: New testfile.
1187 * run-readelf-loc.sh: New test.
1188 * Makefile.am (TESTS): Add run-readelf-loc.sh.
1189 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1191 2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1193 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1194 and s390x core notes.
1195 * testfile67.bz2: New file.
1196 * testfile68.bz2: New file.
1197 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1199 2013-01-23 Mark Wielaard <mjw@redhat.com>
1201 * testfilebasmin.bz2: New testfile.
1202 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1203 * run-readelf-s.sh: Test testfilebasmin.
1204 * run-dwflsyms.sh: Likewise.
1206 2013-01-16 Mark Wielaard <mjw@redhat.com>
1208 * Makefile.am (check_PROGRAMS): Add dwflsyms.
1209 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1210 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1211 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1212 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1213 (dwflsyms_LDADD): New variable.
1215 2013-01-07 Roland McGrath <roland@hack.frob.com>
1217 * run-prelink-addr-test.sh: Use ln -snf.
1219 2012-12-03 Mark Wielaard <mjw@redhat.com>
1221 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1223 2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1225 * run-addrname-test.sh: New test for PIE relocation.
1226 * testfile70.core.bz2: New file.
1227 * testfile70.exec.bz2: New file.
1228 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1229 testfile70.exec.bz2 .
1231 2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1233 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1234 testfile69.core.bz2 and testfile69.so.bz2 .
1236 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1238 * run-addrname-test.sh: New test for DSO with build-id bias.
1239 * testfile69.core.bz2: New file.
1240 * testfile69.so.bz2: New file.
1242 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1244 * run-addrname-test.sh: New test for core vDSO bias.
1245 * testfile65.bz2: New file.
1247 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1249 * run-addrname-test.sh: New test for symbol preferences.
1250 * testfile64.bz2: New file.
1252 2012-10-01 Mark Wielaard <mjw@redhat.com>
1254 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1255 * test-wrapper.sh: Export VALGRIND_CMD if available.
1256 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1257 (installed_testrun): Likewise.
1259 2012-09-24 Petr Machata <pmachata@redhat.com>
1261 * testfile63.bz2: New testfile.
1262 * run-readelf-mixed-corenote.sh: New test.
1263 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1264 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
1266 2012-09-24 Petr Machata <pmachata@redhat.com>
1268 * testfile62.bz2: New testfile.
1269 * run-readelf-vmcoreinfo.sh: New test.
1270 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
1271 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
1273 2012-09-18 Petr Machata <pmachata@redhat.com>
1275 * testfile61.bz2: New testfile.
1276 * run-allregs.sh: Run reg_test testfile61.
1277 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
1279 2012-08-24 Mark Wielaard <mjw@redhat.com>
1281 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
1283 2012-08-22 Jeff Kenton <jkenton@tilera.com>
1285 * testfile60.bz2: New testfile.
1286 * run-allregs.sh: Run reg_test testfile60.
1288 2012-08-24 Mark Wielaard <mjw@redhat.com>
1290 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
1293 2012-08-16 Mark Wielaard <mjw@redhat.com>
1295 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
1297 * show-die-info.c (tagnames): Removed.
1299 (dwarf_tag_string): New function using known-dwarf macros.
1300 (dwarf_attr_string): Likewise.
1301 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
1302 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
1304 2012-06-27 Mark Wielaard <mjw@redhat.com>
1306 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
1307 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
1308 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
1309 testfile_multi_main.bz2.
1310 * run-readelf-dwz-multi.sh: New test.
1311 * libtestfile_multi_shared.so.bz2: New testfile.
1312 * testfile_multi.dwz.bz2: New testifle.
1313 * testfile_multi_main.bz2: New testifle.
1315 2012-08-01 Petr Machata <pmachata@redhat.com>
1317 * run-test-archive64.sh: New test.
1318 * testarchive64.a.bz2: New testfile.
1319 * Makefile.am (TESTS): Add run-test-archive64.sh.
1320 (EXTRA_DIST): Likewise.
1322 2012-08-01 Mark Wielaard <mjw@redhat.com>
1324 * run-nm-self.sh: New test.
1325 * run-readelf-self.sh: Likewise.
1326 * test-subr.sh (testrun_on_self_quiet): New function.
1327 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
1328 (EXTRA_DIST): Likewise.
1330 2012-08-01 Mark Wielaard <mjw@redhat.com>
1332 * test-subr.sh (self_test_files): New list of files.
1333 (testrun_on_self): New function.
1334 * run-elflint-self.sh: Use testrun_on_self.
1336 2012-07-19 Mark Wielaard <mjw@redhat.com>
1338 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
1339 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
1340 (EXTRA_DIST): Likewise.
1341 (test_elf_cntl_gelf_getshdr_LDADD): New.
1342 test-elf_cntl_gelf_getshdr.c: New test program.
1343 run-elf_cntl_gelf_getshdr.sh: New test script.
1345 2012-07-19 Mark Wielaard <mjw@redhat.com>
1347 * run-elflint-self.sh: runtests on ../backends/*so files.
1349 2012-07-19 Mark Wielaard <mjw@redhat.com>
1351 * run-unstrip-n.sh: test_cleanup.
1352 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
1354 2012-07-11 Mark Wielaard <mjw@redhat.com>
1356 * run-readelf-macro.sh: New test.
1357 * testfilemacro.bz2: New testfile.
1358 * Makefile.am (TESTS): Add run-readelf-macro.sh.
1359 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
1361 2012-06-27 Mark Wielaard <mjw@redhat.com>
1363 * run-readelf-gdb-index.sh: New test.
1364 * testfilegdbindex5.bz2: New testfile.
1365 * testfilegdbindex7.bz2: Likewise.
1366 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
1367 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
1368 testfilegdbindex7.bz2.
1370 2012-07-17 Mark Wielaard <mjw@redhat.com>
1372 * testcore-rtlib-ppc.bz2: New testfile.
1373 * run-unstrip-n.sh: Check new ppc core testfile.
1375 2012-06-26 Mike Frysinger <vapier@gentoo.org>
1377 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
1379 2012-06-26 Mark Wielaard <mjw@redhat.com>
1381 * run-macro-test.sh: New test.
1382 * testfile-macinfo.bz2: New testfile.
1383 * testfile-macros.bz2: Likewise.
1385 2012-05-07 Mark Wielaard <mjw@redhat.com>
1387 * low_high_pc.c: Use proper inttypes in printf formats.
1389 2012-05-11 Mark Wielaard <mjw@redhat.com>
1391 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
1393 2012-05-07 Mark Wielaard <mjw@redhat.com>
1395 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
1397 2012-04-27 Mark Wielaard <mjw@redhat.com>
1399 * Makefile.am (TESTS): Add run-low_high_pc.sh
1400 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
1401 (noinst_PROGRAMS): Add low_high_pc.
1402 (low_high_pc_LDADD): New variable.
1403 * low_high_pc.c: New test.
1405 2012-04-26 Mark Wielaard <mjw@redhat.com>
1407 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
1408 * run-show-ciefde.sh: Removed old libdwarf test.
1409 * show-ciefde.c: Likewise.
1411 2012-04-02 Mark Wielaard <mjw@redhat.com>
1413 * Makefile.am (TESTS): Add run-unstrip-n.sh.
1414 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
1415 * run-unstrip-n.sh: New test.
1416 * testcore-rtlib.bz2: New testfile.
1418 2012-04-02 Mark Wielaard <mjw@redhat.com>
1420 * Makefile.am (TESTS): Add run-readelf-d.sh.
1421 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
1422 * run-readelf-d.sh: New test.
1423 * run-elflint-test.sh: Check new testfile.
1425 2012-03-21 Tom Tromey <tromey@redhat.com>
1427 * typeiter.c: New file.
1428 * run-typeiter.sh: New file.
1429 * testfile59.bz2: New file.
1430 * Makefile.am (noinst_PROGRAMS): Add typeiter.
1431 (TESTS): Add run-typeiter.sh.
1432 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
1433 (typeiter_LDADD): New variable.
1435 2012-02-21 Kurt Roeckx <kurt@roeckx.be>
1437 * run-alldts.sh: testrun ./alldts.
1439 2012-02-21 Roland McGrath <roland@hack.frob.com>
1441 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
1442 * test-subr.sh (installed_testrun): Likewise.
1444 2012-01-18 Roland McGrath <roland@hack.frob.com>
1446 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
1447 it will have been inherited correctly from the test harness.
1448 * asm-tst5.c (main): Likewise.
1449 * asm-tst6.c (main): Likewise.
1450 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
1452 2011-07-09 Roland McGrath <roland@hack.frob.com>
1454 * sha1-tst.c: File removed.
1455 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
1456 (sha1_tst_LDADD): Variable removed.
1458 * md5-sha1-test.c: New file.
1459 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
1460 (md5_sha1_test_LDADD): New variable.
1462 2011-05-30 Mark Wielaard <mjw@redhat.com>
1464 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
1465 run-rerequest_tag.sh
1467 2011-05-24 Mark Wielaard <mjw@redhat.com>
1469 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
1470 * run-strip-reloc.sh: Add hello_s390.ko testcase.
1471 * hello_s390.ko.bz2: New test file.
1473 2011-05-23 Mark Wielaard <mjw@redhat.com>
1475 * Makefile.am (TESTS): Add run-strip-reloc.sh.
1476 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
1477 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
1478 * run-strip-reloc.sh: New test.
1479 * hello_i386.ko.bz2: New test file.
1480 * hello_x86_64.ko.bz2: Likewise.
1481 * hello_ppc64.ko.bz2: Likewise.
1483 2011-05-18 Mark Wielaard <mjw@redhat.com>
1485 * run-strip-groups.sh: New test.
1486 * testfile58.bz2: New test file.
1487 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
1488 (TESTS): Add run-strip-groups.sh.
1489 (EXTRA_DIST): Likewise.
1491 2011-03-28 Marek Polacek <mpolacek@redhat.com>
1493 * alldts.c: New file.
1494 * run-alldts.sh: Use it.
1495 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1496 (alldts_LDADD): New variable.
1498 2011-03-02 Marek Polacek <mpolacek@redhat.com>
1500 * dwarf-getstring.c: New test.
1501 * run-dwarf-getstring.sh: And its wrapper.
1502 * Makefile.am (EXTRA_DIST): Add and update all.
1504 2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1506 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
1507 * run-readelf-twofiles.sh: New file.
1509 2011-02-25 Mark Wielaard <mjw@redhat.com>
1511 * Makefile.am (BUILD_RPATH): Be consistent in naming.
1513 2011-02-02 Josh Stone <jistone@redhat.com>
1515 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
1516 * testfile55-64.bz2, testfile55-64.debug.bz2,
1517 testfile55-64.prelink.bz2, testfile55-32.bz2,
1518 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
1519 * Makefile.am (EXTRA_DIST): Add and update all.
1521 2011-01-12 Roland McGrath <roland@redhat.com>
1523 * run-prelink-addr-test.sh: Make symlinks to find .debug files
1524 corresponding to .noshdrs files.
1526 2011-01-11 Josh Stone <jistone@redhat.com>
1528 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
1529 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
1530 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
1531 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
1532 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
1533 * Makefile.am (EXTRA_DIST): Add and update all.
1535 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
1536 * testfile53.bz2, testfile53.debug.bz2,
1537 testfile53.prelink.bz2: Deleted, so...
1538 * testfile53-64.bz2, testfile53-64.debug.bz2,
1539 testfile53-64.prelink.bz2: Recreated with 64-bit names.
1540 * testfile53-32.bz2, testfile53-32.debug.bz2,
1541 testfile53-32.prelink.bz2: New in 32-bit.
1542 * Makefile.am (EXTRA_DIST): Add and update all.
1544 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
1545 * testfile52.so.bz2, testfile52.so.debug.bz2,
1546 testfile52.prelink.so.bz2: Deleted, so...
1547 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
1548 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
1549 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
1550 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
1551 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
1552 * Makefile.am (EXTRA_DIST): Add and update all.
1554 2011-01-10 Josh Stone <jistone@redhat.com>
1556 * run-prelink-addr-test.sh: New test for prelinked addrs.
1557 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1558 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
1559 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
1560 * testfile53.bz2, testfile53.debug.bz2: New data files.
1561 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
1562 * Makefile.am (EXTRA_DIST): Add them.
1564 2010-06-04 Roland McGrath <roland@redhat.com>
1566 * run-unstrip-test.sh: Also test modifying the file in place.
1568 2010-04-22 Roland McGrath <roland@redhat.com>
1570 * addrcfi.c (handle_cfi): Fix function name in error message.
1571 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
1573 2010-04-14 Roland McGrath <roland@redhat.com>
1575 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
1577 2010-04-10 Ulrich Drepper <drepper@redhat.com>
1579 * msg_tst.c: Adjust expected error message.
1581 2010-04-01 Petr Machata <pmachata@redhat.com>
1583 * test-flag-nobits.c: New test.
1584 * run-test-flag-nobits.sh: And its wrapper.
1585 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
1586 (test_flag_nobits_LDADD): New variable.
1588 2010-02-15 Roland McGrath <roland@redhat.com>
1590 * Makefile.am: Use config/eu.am for common stuff.
1592 * asm-tst9.c (main): Rename local to avoid shadowing another local.
1594 2009-07-22 Roland McGrath <roland@redhat.com>
1596 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
1598 2009-07-08 Roland McGrath <roland@redhat.com>
1600 * addrcfi.c: New file.
1601 * Makefile.am (noinst_PROGRAMS): Add it.
1602 (addrcfi_LDADD): New variable.
1604 2009-05-07 Petr Machata <pmachata@redhat.com>
1606 * testfile51.bz2: New data file.
1607 * dwarf-getmacros.c: New test core.
1608 * run-dwarf-getmacros.sh: New test wrapper.
1609 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1610 (dwarf_getmacros_LDADD): New variable.
1612 2009-04-23 Ulrich Drepper <drepper@redhat.com>
1614 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
1615 (rdwrmmap_LDADD): Add $(libmudflap).
1617 2009-04-21 Roland McGrath <roland@redhat.com>
1619 * testfile50.bz2: New data file.
1620 * Makefile.am (EXTRA_DIST): Add it.
1621 * run-dwfl-addr-sect.sh: Add a case using it.
1623 2008-12-31 Ulrich Drepper <drepper@redhat.com>
1625 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
1626 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
1627 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
1628 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
1629 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
1630 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
1631 roundss, roundps, roundpd, and roundsd.
1632 * testfile45.S.bz2: Likewise.
1633 * testfile44.expect.bz2: Adjust accordingly.
1634 * testfile45.expect.bz2: Likewise.
1636 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
1637 * testfile45.S.bz2: Likewise.
1638 * testfile44.expect.bz2: Adjust accordingly.
1639 * testfile45.expect.bz2: Likewise.
1641 2008-12-30 Ulrich Drepper <drepper@redhat.com>
1643 * testfile44.S.bz2: Add tests for blendpd and blendps.
1644 * testfile45.S.bz2: Likewise.
1645 * testfile44.expect.bz2: Adjust accordingly.
1646 * testfile45.expect.bz2: Likewise.
1648 2008-12-19 Ulrich Drepper <drepper@redhat.com>
1650 * testfile44.S.bz2: Add tests for AMD 3DNOW.
1651 * testfile45.S.bz2: Likewise.
1652 * testfile44.expect.bz2: Adjust accordingly.
1653 * testfile45.expect.bz2: Likewise.
1655 2008-11-26 Roland McGrath <roland@redhat.com>
1657 * dwfl-bug-getmodules.c: New file.
1658 * Makefile.am (noinst_PROGRAMS): Add it.
1659 (dwfl_bug_getmodules_LDADD): New variable.
1661 2008-09-10 Roland McGrath <roland@redhat.com>
1663 * test-subr.sh (LC_ALL): Export it set to "C".
1664 * run-dwfl-addr-sect.sh: Don't do it here.
1665 * run-strings-test.sh: Likewise.
1667 2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
1669 * run-addrname-test.sh: Add a new case.
1670 * testfile49.bz2: New data file.
1671 * Makefile.am (EXTRA_DIST): Add it.
1673 2008-04-10 Roland McGrath <roland@redhat.com>
1675 * testfile48.bz2, testfile48.bz2.debug: New data files.
1676 * Makefile.am (EXTRA_DIST): Add them.
1677 * run-strip-test8.sh: Use them.
1679 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
1681 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
1682 * run-strip-test8.sh: New file.
1683 * testfile47.bz2: New data file.
1684 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1686 2008-03-31 Roland McGrath <roland@redhat.com>
1688 * run-early-offscn.sh: New file.
1689 * early-offscn.c: New file.
1690 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
1691 (early_offscn_LDADD): New variable.
1693 2008-03-19 Roland McGrath <roland@redhat.com>
1695 * run-addrname-test.sh: Add a new case.
1697 2008-02-22 Roland McGrath <roland@redhat.com>
1699 * run-elflint-test.sh: Typo fix.
1701 2008-02-21 Roland McGrath <roland@redhat.com>
1703 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
1704 for the build down to minimum.
1705 * run-disasm-x86-64.sh: Likewise.
1707 2008-02-20 Roland McGrath <roland@redhat.com>
1709 * testfile46.bz2: New data file.
1710 * Makefile.am (EXTRA_DIST): Add it.
1711 * run-elflint-test.sh: Test on it.
1713 2008-02-01 Ulrich Drepper <drepper@redhat.com>
1715 * Makefile.am: Hook up sha1-tst.c.
1716 * sha1-tst.c: New file.
1718 2008-01-21 Roland McGrath <roland@redhat.com>
1720 * testfile45.S.bz2: Add tests for cltq, cqto.
1721 * testfile45.expect.bz2: Adjust.
1723 2008-01-14 Ulrich Drepper <drepper@redhat.com>
1725 * testfile45.S.bz2: Add more tests.
1726 * testfile45.expect.bz2: Adjust.
1728 2008-01-11 Ulrich Drepper <drepper@redhat.com>
1730 * testfile45.expect.bz2: Adjust for adding of address for %rip based
1733 2008-01-10 Ulrich Drepper <drepper@redhat.com>
1735 * testfile45.S.bz2: Add more tests.
1736 * testfile45.expect.bz2: Adjust.
1738 2008-01-08 Ulrich Drepper <drepper@redhat.com>
1740 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
1741 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
1742 run-disasm-x86-64.sh.
1743 * run-disasm-x86-64.sh: New file.
1744 * testfile45.S.bz2: New file.
1745 * testfile45.expect.bz2: New file.
1746 * testfile44.S.bz2: New tests.
1747 * testfile44.expect.bz2: Adjust.
1749 2008-01-04 Ulrich Drepper <drepper@redhat.com>
1751 * testfile44.S.bz2: New tests.
1752 * testfile44.expect.bz2: Adjust.
1754 2008-01-04 Roland McGrath <roland@redhat.com>
1756 * dwfl-bug-fd-leak.c (main): Add a cast.
1758 2008-01-03 Ulrich Drepper <drepper@redhat.com>
1760 * testfile44.S.bz2: New tests.
1761 * testfile44.expect.bz2: Adjust.
1763 2008-01-01 Ulrich Drepper <drepper@redhat.com>
1765 * line2addr.c: Use %m modifier instead of %a to appease gcc.
1767 2008-01-01 Ulrich Drepper <drepper@redhat.com>
1769 * testfile44.S.bz2: New tests.
1770 * testfile44.expect.bz2: Adjust.
1772 2007-12-31 Ulrich Drepper <drepper@redhat.com>
1774 * testfile44.S.bz2: New tests.
1775 * testfile44.expect.bz2: Adjust.
1777 2007-12-30 Ulrich Drepper <drepper@redhat.com>
1779 * testfile44.S.bz2: New tests.
1780 * testfile44.expect.bz2: Adjust.
1782 2007-12-29 Ulrich Drepper <drepper@redhat.com>
1784 * testfile44.s.bz2: New tests.
1785 * testfile44.expect.bz2: Adjust.
1787 2007-12-28 Ulrich Drepper <drepper@redhat.com>
1789 * testfile44.S.bz2: New tests.
1790 * testfile44.expect.bz2: Adjust.
1792 2007-12-27 Ulrich Drepper <drepper@redhat.com>
1794 * testfile44.S.bz2: New tests.
1795 * testfile44.expect.bz2: Adjust.
1797 2007-12-26 Ulrich Drepper <drepper@redhat.com>
1799 * testfile44.S.bz2: New tests.
1800 * testfile44.expect.bz2: Adjust
1802 2007-12-21 Ulrich Drepper <drepper@redhat.com>
1804 * testfile44.S.bz2: More tests.
1805 * testfile44.expect.bz2: Adjust appropriately.
1807 2007-12-19 Ulrich Drepper <drepper@redhat.com>
1809 * Makefile.am (TESTS): Add run-disasm.sh.
1810 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1811 testfile44.expect.bz2.
1812 * run-disasm.sh: New file.
1813 * testfile44.S.bz2: New file.
1814 * testfile44.expect.bz2: New file.
1816 2007-12-15 Roland McGrath <roland@redhat.com>
1818 * run-allregs.sh: Change expected output for powerpc spefscr.
1820 2007-10-20 Roland McGrath <roland@redhat.com>
1822 * run-dwfl-addr-sect.sh: Change expected output, no errors.
1824 2007-10-19 Roland McGrath <roland@redhat.com>
1826 * dwfl-addr-sect.c (handle_address): Return int.
1827 Don't exit on error, just return nonzero.
1828 (main): Collect results.
1829 * run-dwfl-addr-sect.sh: New file.
1830 * testfile43.bz2: New data file.
1831 * Makefile.am (EXTRA_DIST, TESTS): Add them.
1833 2007-10-18 Roland McGrath <roland@redhat.com>
1835 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1837 2007-10-16 Roland McGrath <roland@redhat.com>
1839 * test-subr.sh (remove_files): Don't pass -Bb to diff.
1841 2007-10-09 Roland McGrath <roland@redhat.com>
1843 * dwflmodtest.c (print_module): Don't use %p in output.
1844 * run-dwfl-bug-offline-rel.sh: Updated expected output.
1846 2007-10-08 Roland McGrath <roland@redhat.com>
1848 * testfile42.bz2: New data file.
1849 * Makefile.am (EXTRA_DIST): Add it.
1850 * run-elflint-test.sh: New test on that file.
1852 2007-10-04 Roland McGrath <roland@redhat.com>
1854 * run-readelf-test4.sh: New file.
1855 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1857 2007-10-03 Roland McGrath <roland@redhat.com>
1859 * run-readelf-test3.sh: New file.
1860 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1862 2007-10-01 Roland McGrath <roland@redhat.com>
1864 * run-readelf-test2.sh: New file.
1865 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1867 2007-09-11 Roland McGrath <roland@redhat.com>
1869 * run-addrname-test.sh: Add a new case.
1870 * testfile41.bz2: New data file.
1871 * Makefile.am (EXTRA_DIST): Add it.
1873 2007-08-23 Roland McGrath <roland@redhat.com>
1875 * run-allregs.sh: Update expected x86-64 output for %rflags.
1877 2007-08-12 Roland McGrath <roland@redhat.com>
1879 * run-strip-test7.sh: New file.
1880 * testfile39.bz2: New data file.
1881 * testfile40.bz2: New data file.
1882 * testfile40.debug.bz2: New data file.
1883 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1885 2007-08-09 Roland McGrath <roland@redhat.com>
1887 * dwfl-bug-report.c: Fix header inclusion.
1889 2007-08-08 Roland McGrath <roland@redhat.com>
1891 * run-addrname-test.sh: Add a new case using addr2line -S.
1892 * testfile38.bz2: New data file.
1893 * Makefile.am (EXTRA_DIST): Add it.
1895 2007-07-16 Roland McGrath <roland@redhat.com>
1897 * dwfl-bug-report.c: New file.
1898 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1899 (dwfl_bug_report_LDADD): New variable.
1901 2007-06-06 Roland McGrath <roland@redhat.com>
1903 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1905 2007-06-05 Ulrich Drepper <drepper@redhat.com>
1907 * Makefile.am (EXTRA_DIST): Add missing line continuation and
1908 testfile37.bz and testfile37.debug.bz2.
1910 2007-05-23 Roland McGrath <roland@redhat.com>
1912 * run-allregs.sh: Update expected Alpha results.
1914 2007-05-18 Roland McGrath <roland@redhat.com>
1916 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1917 * testfile37.bz2: New data file.
1918 * testfile37.debug.bz2: New data file.
1919 * run-unstrip-test2.sh: New file.
1920 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1922 2007-05-10 Roland McGrath <roland@redhat.com>
1924 * run-dwfl-bug-offline-rel.sh: New file.
1925 * testfile36.bz2: New data file.
1926 * testfile36.debug.bz2: New data file.
1927 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1929 2007-04-28 Roland McGrath <roland@redhat.com>
1931 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1932 * testfile35.bz2: New data file.
1933 * testfile35.debug.bz2: New data file.
1934 * run-unstrip-test.sh: New file.
1935 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1937 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1939 2007-04-26 Roland McGrath <roland@redhat.com>
1941 * run-elflint-self.sh: Run all tests even if one fails.
1943 * run-allregs.sh: Add expected output for alpha.
1945 2007-04-24 Roland McGrath <roland@redhat.com>
1947 * run-strip-test.sh: When we saved the debug info, test unstrip too.
1949 2007-04-22 Roland McGrath <roland@redhat.com>
1951 * run-allregs.sh: Update expected register info.
1953 2007-04-16 Roland McGrath <roland@redhat.com>
1955 * dwfl-addr-sect.c: New file.
1956 * Makefile.am (noinst_PROGRAMS): Add it.
1957 (dwfl_addr_sect_LDADD): New variable.
1959 2007-04-05 Roland McGrath <roland@redhat.com>
1961 * get-files.c: Test dwarf_getsrcdirs.
1962 * run-get-files.sh: Update expected output.
1964 2007-04-01 Roland McGrath <roland@redhat.com>
1966 * run-allregs.sh: Updated expected output for x86_64.
1968 2007-03-04 Roland McGrath <roland@redhat.com>
1970 * dwfl-bug-fd-leak.c: New file.
1971 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1972 (dwfl_bug_fd_leak_LDADD): New variable.
1974 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1975 show what files have been located.
1977 2007-02-02 Roland McGrath <roland@redhat.com>
1979 * run-addrname-test.sh: New file.
1980 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1981 * testfile34.bz2: New data file.
1982 * Makefile.am (EXTRA_DIST): Add it.
1984 2007-01-20 Roland McGrath <roland@redhat.com>
1986 * testfile33.bz2: New data file.
1987 * Makefile.am (EXTRA_DIST): Add it.
1988 * run-elflint-test.sh: Test on it too.
1990 2007-01-18 Roland McGrath <roland@redhat.com>
1992 * Makefile.am (CFLAGS): Don't molest it.
1994 2007-01-11 Roland McGrath <roland@redhat.com>
1996 * testfile32.bz2: New data file.
1997 * Makefile.am (EXTRA_DIST): Add it.
1998 * run-elflint-test.sh: Test on it too.
2000 2007-02-04 Ulrich Drepper <drepper@redhat.com>
2003 * Makefile (noinst_PROGRAMS): Add arls.
2005 * run-ranlib-test2.sh: Fix type in comment.
2007 2007-01-10 Ulrich Drepper <drepper@redhat.com>
2009 * run-elflint-self.sh (runtest): Show which file has the problem.
2011 2007-01-10 Roland McGrath <roland@redhat.com>
2013 * dwfl-bug-addr-overflow.c: New file.
2014 * Makefile.am (TESTS): Add it.
2015 (dwfl_bug_addr_overflow_LDADD): New variable.
2017 2006-12-17 Roland McGrath <roland@redhat.com>
2019 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2021 2006-09-05 Roland McGrath <roland@redhat.com>
2023 * run-strings-test.sh: Export LC_ALL=C for the test.
2025 2006-08-29 Roland McGrath <roland@redhat.com>
2027 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2028 * run-arsymtest.sh: Likewise.
2030 * run-native-test.sh (native.c compilation): Add some braces.
2032 2006-08-22 Roland McGrath <roland@redhat.com>
2034 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2035 (struct reginfo): New members bits, type.
2036 (one_register, match_register): Update to take new args,
2037 record and display new info.
2038 (main): Display new info.
2039 * run-allregs.sh: Update expected results.
2041 2006-08-03 Roland McGrath <roland@redhat.com>
2043 * run-allregs.sh: Add sparc cases.
2044 * testfile30.bz2: New data file.
2045 * testfile31.bz2: New data file.
2046 * Makefile.am (EXTRA_DIST): Add them.
2048 2006-07-21 Roland McGrath <roland@redhat.com>
2050 * allregs.c (struct reginfo): Increase size of name.
2051 (one_register): Assert that it's big enough.
2053 2006-04-04 Roland McGrath <roland@redhat.com>
2055 * run-bug1-test.sh: Test a second case, to cover both byte orders.
2056 * testfile29.bz2: New file.
2057 * testfile29.rdwr.bz2: New file.
2058 * Makefile.am (EXTRA_DIST): Add them.
2060 2006-04-04 Ulrich Drepper <drepper@redhat.com>
2062 * Makefile.am: Add rules to run run-bug1-test.sh.
2063 * rdwrmmap.c: New file.
2064 * run-bug1-test.sh: New file.
2065 * testfile28.bz2: New file.
2066 * testfile28.rdwr.bz2: New file.
2068 2006-03-09 Roland McGrath <roland@redhat.com>
2070 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2072 2006-03-01 Roland McGrath <roland@redhat.com>
2074 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2075 changes matching 3.0 spec.
2077 2006-01-13 Roland McGrath <roland@redhat.com>
2079 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2080 bash 3.1 whines when it's done in the trap 0 handler.
2082 2006-01-11 Roland McGrath <roland@redhat.com>
2084 * testfile26.bz2: New data file.
2085 * testfile27.bz2: New data file.
2086 * Makefile.am (EXTRA_DIST): Add them.
2087 * run-allregs.sh: Test s390 data.
2089 2005-12-14 Roland McGrath <roland@redhat.com>
2091 * run-native-test.sh: Redirect output from native test process.
2093 2005-12-13 Roland McGrath <roland@redhat.com>
2095 * allregs.c (main): Fail if we find no registers.
2097 * run-native-test.sh: New file.
2098 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2100 2005-12-10 Ulrich Drepper <drepper@redhat.com
2102 * run-readelf-test1.sh: New file.
2103 * Makefile.am (TESTS): Add run-readelf-test1.sh.
2104 (EXTRA_DIST): Likewise.
2106 2005-12-07 Roland McGrath <roland@redhat.com>
2108 * ecp.c (main): Use elf_end to clean up.
2110 2005-11-25 Roland McGrath <roland@redhat.com>
2112 * coverage.sh: Given -v argument, print names of unused files.
2114 * addrscopes.c (main): Use dwfl_end before return.
2115 * allregs.c (main): Likewise.
2116 * find-prologues.c (main): Likewise.
2117 * funcretval.c (main): Likewise.
2118 * funcscopes.c (main): Likewise.
2119 * line2addr.c (main): Likewise.
2121 * run-allregs.sh: New file.
2122 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2124 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2125 * Makefile.am (allregs_LDADD): Updated.
2127 * allregs.c: New file.
2128 * Makefile.am (noinst_PROGRAMS): Add it.
2129 (allregs_LDADD): New variable.
2131 2005-11-18 Roland McGrath <roland@redhat.com>
2133 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2134 * test-wrapper.sh: Likewise.
2136 2005-11-17 Roland McGrath <roland@redhat.com>
2138 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2139 environment for test-wrapper.sh.
2140 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2141 * test-subr.sh (installed_testrun): Likewise.
2142 Use explicit path in ${bindir}.
2144 * Makefile.am (installcheck-local): Fix typo in last change.
2146 2005-11-16 Roland McGrath <roland@redhat.com>
2148 * configure.ac: New file, for standalone build/dist of test suite.
2149 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2150 (asm_TESTS): New variable, broken out of ...
2151 (TESTS): ... here. Also remove msg_tst.
2152 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2153 (installed_TESTS_ENVIRONMENT): New variable.
2154 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2155 [!STANDALONE] (installcheck-local): Likewise.
2156 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2157 * addrscopes.c: Include <config.h>.
2158 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2159 * allfcts.c: Likewise.
2160 * asm-tst1.c: Likewise.
2161 * asm-tst2.c: Likewise.
2162 * asm-tst3.c: Likewise.
2163 * asm-tst4.c: Likewise.
2164 * asm-tst5.c: Likewise.
2165 * asm-tst6.c: Likewise.
2166 * asm-tst7.c: Likewise.
2167 * asm-tst8.c: Likewise.
2168 * asm-tst9.c: Likewise.
2169 * dwflmodtest.c: Likewise.
2170 * find-prologues.c: Likewise.
2171 * funcscopes.c: Likewise.
2172 * get-aranges.c: Likewise.
2173 * get-files.c: Likewise.
2174 * get-lines.c: Likewise.
2175 * get-pubnames.c: Likewise.
2176 * line2addr.c: Likewise.
2177 * newscn.c: Likewise.
2178 * show-abbrev.c: Likewise.
2179 * show-die-info.c: Likewise.
2180 * update3.c: Likewise.
2181 * update4.c: Likewise.
2182 * funcretval.c: Likewise.
2184 * dwflmodtest.c (print_instance): Don't use INTUSE.
2185 (options): Don't use N_ macro.
2187 2005-11-15 Roland McGrath <roland@redhat.com>
2189 * coverage.sh: Look in backends.
2190 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2191 (TESTS_ENVIRONMENT): Likewise.
2193 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2194 pass FUNCDIE direclty to dwfl_module_return_value_location.
2196 * Makefile.am (BUILD_RPATH): New variable.
2197 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2198 (tests_rpath): New variable.
2199 (installcheck-local): Pass it to test-wrapper.sh.
2200 * test-wrapper.sh: In "installed" format, take yes/no value
2201 for elfutils_tests_rpath, which export. When running a test
2202 binary for installcheck, exit 77.
2203 * test-subr.sh (installed_testrun): When running a test binary
2204 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2206 2005-11-14 Roland McGrath <roland@redhat.com>
2208 * test-subr.sh: New file.
2209 * test-wrapper.sh: New file.
2210 * Makefile.am (EXTRA_DIST): Add them.
2211 (AM_LDFLAGS): Variable removed.
2212 (TESTS_ENVIRONMENT): New variable.
2213 (installcheck-local): New target.
2214 * run-addrscopes.sh: Use test-subr.sh.
2215 * run-allfcts.sh: Likewise.
2216 * run-ecp-test.sh: Likewise.
2217 * run-ecp-test2.sh: Likewise.
2218 * run-elflint-self.sh: Likewise.
2219 * run-elflint-test.sh: Likewise.
2220 * run-find-prologues.sh: Likewise.
2221 * run-funcscopes.sh: Likewise.
2222 * run-get-aranges.sh: Likewise.
2223 * run-get-files.sh: Likewise.
2224 * run-get-lines.sh: Likewise.
2225 * run-get-pubnames.sh: Likewise.
2226 * run-line2addr.sh: Likewise.
2227 * run-ranlib-test.sh: Likewise.
2228 * run-ranlib-test2.sh: Likewise.
2229 * run-show-abbrev.sh: Likewise.
2230 * run-show-ciefde.sh: Likewise.
2231 * run-show-die-info.sh: Likewise.
2232 * run-strings-test.sh: Likewise.
2233 * run-strip-test.sh: Likewise.
2235 2005-11-13 Roland McGrath <roland@redhat.com>
2237 * funcretval.c: New file.
2238 * Makefile.am (noinst_PROGRAMS): Add it.
2239 (funcretval_LDADD): New variable.
2241 2005-11-09 Ulrich Drepper <drepper@redhat.com>
2243 * line2addr.c (handle_module): Add missing parameter to printf.
2245 2005-10-27 Roland McGrath <roland@redhat.com>
2247 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2248 * funcscopes.c (handle_function): Likewise.
2249 * dwflmodtest.c (print_inline, print_func): Likewise.
2250 * find-prologues.c (handle_function): Likewise.
2252 2005-10-27 Roland McGrath <roland@redhat.com>
2254 * run-find-prologues.sh: New file.
2255 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2257 * find-prologues.c (handle_function): Skip inlines.
2259 2005-10-25 Roland McGrath <roland@redhat.com>
2261 * find-prologues.c: New file.
2262 * Makefile.am (noinst_PROGRAMS): Add it.
2263 (find_prologues_LDADD): New variable.
2265 2005-09-02 Ulrich Drepper <drepper@redhat.com>
2267 * run-strings-test.sh: Remove strings.out in the end.
2269 2005-08-31 Ulrich Drepper <drepper@redhat.com>
2271 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
2272 * run-allfcts.sh: Likewise.
2273 * run-ecp-test.sh: Likewise.
2274 * run-ecp-test2.sh: Likewise.
2275 * run-elflint-test.sh: Likewise.
2276 * run-funcscopes.sh: Likewise.
2277 * run-get-aranges.sh: Likewise.
2278 * run-get-files.sh: Likewise.
2279 * run-get-lines.sh: Likewise.
2280 * run-get-pubnames.sh: Likewise.
2281 * run-line2addr.sh: Likewise.
2282 * run-ranlib-test2.sh: Likewise.
2283 * run-show-abbrev.sh: Likewise.
2284 * run-show-ciefde.sh: Likewise.
2285 * run-show-die-info.sh: Likewise.
2286 * run-strings-test.sh: Likewise.
2287 * run-strip-test.sh: Likewise.
2289 2005-08-30 Ulrich Drepper <drepper@redhat.com>
2291 * coverage.sh: Handle case where there is no .gcno file at all.
2293 2005-08-29 Ulrich Drepper <drepper@redhat.com>
2295 * Makefile.am (EXTRA_DIST): Add coverage.
2296 [GCOV]: Generate coverage summary after the tests ran
2297 * coverage.sh: New file.
2299 2005-08-28 Ulrich Drepper <drepper@redhat.com>
2301 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
2302 (CLEANFILES): Add *.gcno *.gcda *.gconv.
2304 2005-08-28 Ulrich Drepper <drepper@redhat.com>
2306 * run-strings-test.sh: New file.
2307 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2309 2005-08-27 Roland McGrath <roland@redhat.com>
2311 * addrscopes.c (handle_address): Apply bias to PC addresses.
2313 * run-funcscopes.sh: New file.
2314 * testfile25.bz2: New data file.
2315 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2317 2005-08-26 Roland McGrath <roland@redhat.com>
2319 * addrscopes.c (dwarf_diename_integrate): Removed.
2320 (print_vars, handle_address): Use plain dwarf_diename.
2322 2005-08-25 Roland McGrath <roland@redhat.com>
2324 * funcscopes.c: New file.
2325 * Makefile.am (noinst_PROGRAMS): Add it.
2326 (funcscopes_LDADD): New variable.
2328 * run-addrscopes.sh: Add another case.
2329 * testfile24.bz2: New data file.
2330 * Makefile.am (EXTRA_DIST): Add it.
2332 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
2333 pass it to dwarf_getscopes.
2334 (main): Pass it, true when '=' follows an address.
2336 2005-08-24 Roland McGrath <roland@redhat.com>
2338 * line2addr.c (print_address): Omit () for DSOs.
2340 2005-08-24 Ulrich Drepper <drepper@redhat.com>
2342 * run-line2addr.sh: Remove testfile23 in the end.
2344 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
2345 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
2347 2005-08-22 Roland McGrath <roland@redhat.com>
2349 * run-line2addr.sh: Add a case.
2350 * testfile23.bz2: New data file.
2351 * Makefile.am (EXTRA_DIST): Add it.
2353 2005-08-18 Roland McGrath <roland@redhat.com>
2355 * run-addrscopes.sh: New file.
2356 * testfile22.bz2: New data file.
2357 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2359 * addrscopes.c: New file.
2360 * Makefile.am (noinst_PROGRAMS): Add it.
2361 (addrscopes_LDADD): New variable.
2363 2005-08-15 Ulrich Drepper <drepper@redhat.com>
2365 * run-elflint-self.sh: Don't run test if the file doesn't exist.
2367 2005-08-15 Roland McGrath <roland@redhat.com>
2369 * dwflmodtest.c (print_instance, print_inline): New functions.
2370 (print_func): Call print_inline.
2371 (options, parse_opt): Grok -i/--inlines.
2373 2005-08-07 Roland McGrath <roland@redhat.com>
2375 * dwflmodtest.c: Print function details only if -f flag is given.
2377 2005-08-06 Ulrich Drepper <drepper@redhat.com>
2379 * run-elflint-self.sh: New file.
2380 * Makefile.am (TESTS): Add run-elflint-self.sh.
2381 (EXTRA_DIST): Likewise.
2383 * Makefile.am: Link with statis libs if BUILD_STATIC.
2384 (dwflmodtest_LDADD): Also link with -ldl.
2386 2005-08-02 Ulrich Drepper <drepper@redhat.com>
2388 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
2389 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
2391 * asm-tst2.c: Likewise.
2392 * asm-tst3.c: Likewise.
2393 * asm-tst4.c: Likewise.
2394 * asm-tst5.c: Likewise.
2395 * asm-tst6.c: Likewise.
2396 * asm-tst7.c: Likewise.
2397 * asm-tst8.c: Likewise.
2398 * asm-tst9.c: Likewise.
2400 * msg_tst.c: Add new error message.
2402 2005-07-28 Ulrich Drepper <drepper@redhat.com>
2404 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
2406 2005-06-01 Roland McGrath <roland@redhat.com>
2408 * line2addr.c: Rewritten using libdwfl.
2409 * run-line2addr.sh: Update test for changed arguments.
2410 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
2411 (libdwfl): New variable.
2412 (line2addr_LDADD): Use it.
2414 2005-07-28 Roland McGrath <roland@redhat.com>
2416 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
2417 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
2418 (dwflmodtest_LDADD): New variable.
2419 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
2421 2005-07-21 Ulrich Drepper <drepper@redhat.com>
2423 * testfile18.bz2: New file.
2424 * run-elflint-test.sh: New file.
2425 * Makefile.am (TESTS): Add run-elflint-test.sh.
2426 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
2428 2005-05-24 Ulrich Drepper <drepper@redhat.com>
2430 * get-files.c (main): Use correct format specifier.
2432 2005-05-21 Ulrich Drepper <drepper@redhat.com>
2434 * Makefile.am: Add -Wextra to CFLAGS.
2435 * get-files.c: Remove warning this produced.
2436 * get-pubnames.c: Likewise.
2437 * newfile.c: Likewise.
2438 * newscn.c: Likewise.
2439 * scnnames.c: Likewise.
2440 * showptable.c: Likewise.
2441 * test-nlist.c: Likewise.
2442 * update1.c: Likewise.
2443 * update2.c: Likewise.
2444 * update3.c: Likewise.
2445 * update4.c: Likewise.
2447 2005-05-08 Ulrich Drepper <drepper@redhat.com>
2449 * run-line2addr.sh: Remove testfile14 at the end.
2451 * run-strip-test.sh: Remove debuginfo test input file as well.
2453 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
2456 2005-05-03 Roland McGrath <roland@redhat.com>
2458 * run-strip-test.sh: Use variables for test file names.
2459 Optionally produce separate debug file and check it.
2460 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
2461 * run-strip-test3.sh: Likewise.
2462 * run-strip-test4.sh: New file.
2463 * run-strip-test5.sh: New file.
2464 * run-strip-test6.sh: New file.
2465 * testfile15.bz: New file.
2466 * testfile15.debug.bz: New file.
2467 * testfile16.bz: New file.
2468 * testfile16.debug.bz: New file.
2469 * testfile17.bz: New file.
2470 * testfile17.debug.bz: New file.
2471 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2473 2005-04-25 Ulrich Drepper <drepper@redhat.com>
2475 * run-line2addr.sh: Also use testfile14. Adjust for correct
2476 return of multiple matches.
2477 * testfile14.bz2: New file.
2478 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
2480 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
2482 2005-04-04 Roland McGrath <roland@redhat.com>
2484 * line2addr.c (main): Initialize LINES and NLINES before calling
2485 dwarf_getsrc_file, and free LINES afterwards.
2487 * allfcts.c (main): Use size_t for CUHL.
2489 2005-04-04 Ulrich Drepper <drepper@redhat.com>
2491 * line2addr.c: New file.
2492 * run-line2addr.sh: New file.
2493 * Makefile.am: Add rules to build, run, and distribute new code.
2495 2005-04-02 Ulrich Drepper <drepper@redhat.com>
2497 * allfcts.c: New file.
2498 * run-allfcts.sh: New file.
2499 * Makefile.am: Add rules to build, run, and distribute new code.
2501 2005-02-05 Ulrich Drepper <drepper@redhat.com>
2503 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
2504 programs with -lmudflap.
2506 2004-09-25 Ulrich Drepper <drepper@redhat.com>
2508 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
2509 * asm-tst5.c (main): Likewise.
2510 * asm-tst6.c (main): Likewise.
2512 2004-01-17 Ulrich Drepper <drepper@redhat.com>
2514 * Makefile.am: Support building with mudflap.
2516 2004-01-12 Ulrich Drepper <drepper@redhat.com>
2518 * get-aranges.c: Rewrite to use libdw.
2519 * Makefile.am: Reenable get-aranges test.
2521 2004-01-11 Ulrich Drepper <drepper@redhat.com>
2523 * get-lines.c: New file.
2524 * get-files.c: Adjust for libdw.
2525 * run-get-files.sh: Adjust expected result.
2526 * run-get-lines.sh: Likewise.
2527 * Makefile.am: Run get-lines test. Don't run get-aranges and
2528 get-ciefde test for now.
2530 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
2531 change. Print attribute offset information.
2532 * run-show-abbrev.sh: Adjust expected output.
2534 2004-01-09 Ulrich Drepper <drepper@redhat.com>
2536 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
2537 * show-die-info.c: Likewise.
2538 * run-show-die-info.sh: Adjust expected output.
2540 2003-08-13 Ulrich Drepper <drepper@redhat.com>
2542 * Makefile.in: Depend on libebl.a, not libebl.so.
2544 2003-08-11 Ulrich Drepper <drepper@redhat.com>
2546 * Moved to CVS archive.