dce6ebe6748ff450277e0c51330188f1623df4ae
[platform/upstream/elfutils.git] / tests / ChangeLog
1 2014-06-15  Mark Wielaard  <mjw@redhat.com>
2
3         * backtrace.c (frame_callback): Error on seeing more than 16 frames.
4
5 2014-06-13  Mark Wielaard  <mjw@redhat.com>
6
7         * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
8         frame symname.
9
10 2014-06-13  Mark Wielaard  <mjw@redhat.com>
11
12         * backtrace-subr.sh (check_native_unsupported): New function.
13         (check_native): Call it.
14         (check_native_core): Likewise.
15         * run-backtrace-dwarf.sh: Likewise.
16
17 2014-06-11  Mark Wielaard  <mjw@redhat.com>
18
19         * backtrace.c (main): Check that Dwfl was attached by calling
20         dwfl_pid and printing the error when it is not.
21
22 2014-05-18  Mark Wielaard  <mjw@redhat.com>
23
24         * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
25         (f): Likewise.
26         * testfile-backtrace-demangle.bz2: Regenerate.
27         * testfile-backtrace-demangle.core.bz2: Likewise.
28
29 2014-05-02  Mark Wielaard  <mjw@redhat.com>
30
31         * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
32         run-allfcts-multi.sh are now added unconditionally.
33
34 2014-05-01  Mark Wielaard  <mjw@redhat.com>
35
36         * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
37         subdir.
38
39 2014-04-30  Mark Wielaard  <mjw@redhat.com>
40
41         * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
42         * Makefile.am (check_PROGRAMS): Add buildid.
43         (TESTS): Add run-buildid.sh.
44         (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
45         (buildid_LDADD): New variable.
46
47 2014-04-24  Florian Weimer  <fweimer@redhat.com>
48
49         * allfcts.c (setup_alt): New function.
50         (main): Call it.  Implementation additional error checking and
51         reporting.
52
53 2014-04-24  Florian Weimer  <fweimer@redhat.com>
54
55         * debugaltlink.c, run-debugaltlink.sh: New files.
56         * Makefile.am (check_PROGRAMS): Add debugaltlink.
57         (TESTS): Add run-debugaltlink.sh.
58         (debugaltlink_LDADD): New variable.
59
60 2014-04-11  Mark Wielaard  <mjw@redhat.com>
61
62         * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
63         (check_PROGRAMS): Add debuglink.
64         (TESTS): Add run-debuglink.sh
65         (EXTRA_DIST): Likewise.
66         (debuglink_LDADD): New.
67         * debuglink.c: New file.
68         * run-debuglink.sh: Likewise.
69
70 2014-03-23  Mark Wielaard  <mjw@redhat.com>
71
72         * run-nm-self.sh: Use test = not == for string comparisons.
73
74 2014-04-22  Kurt Roeckx  <kurt@roeckx.be>
75
76         * backtrace.c: Make Linux only.
77         * backtrace-child.c: Make Linux only.
78         * backtrace-data.c: Make Linux only.
79         * backtrace-dwarf.c: Make Linux only.
80         * backtrace-subr.sh: Skip core file unwinding tests when not supported.
81
82 2014-03-14  Mark Wielaard  <mjw@redhat.com>
83
84         * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
85         LDADD lines.
86         * configure.ac: Remove MUDFLAP conditional.
87
88 2014-04-09  Mark Wielaard  <mjw@redhat.com>
89
90         * run-readelf-zdebug.sh: New test.
91         * testfile-debug.bz2: New testfile.
92         * testfile-zdebug.bz2: New testfile.
93         * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
94         (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
95         testfile-zdebug.bz2.
96
97 2014-04-10  Mark Wielaard  <mjw@redhat.com>
98
99         * testfile_i686_core.bz2: New test file.
100         * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
101         * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
102
103 2014-04-09  Mark Wielaard  <mjw@redhat.com>
104
105         * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
106         (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
107         backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
108         * run-backtrace-core-aarch64.sh: New test.
109
110 2014-03-11  Josh Stone  <jistone@redhat.com>
111
112         * testfilebaxmin.bz2: New testfile.
113         * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
114         * run-readelf-s.sh: Test testfilebaxmin.
115         * run-dwflsyms.sh: Likewise.
116
117 2014-01-26  Mark Wielaard  <mjw@redhat.com>
118
119         * backtrace-subr.sh (check_unsupported): Special case arm*.
120
121 2014-01-25  Mark Wielaard  <mjw@redhat.com>
122
123         * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
124         location expression: call_frame_cfa stack_value.
125
126 2014-01-22  Mark Wielaard  <mjw@redhat.com>
127
128         * Makefile.am (line2addr_no_Wformat): Removed.
129
130 2014-01-21  Mark Wielaard  <mjw@redhat.com>
131
132         * Makefile.am (TESTS): Add run-stack-i-test.sh.
133         (EXTRA_DIST): Likewise.
134         * run-stack-i-test.sh: New test.
135
136 2014-01-20  Mark Wielaard  <mjw@redhat.com>
137
138         * Makefile.am (TESTS): Add run-stack-d-test.sh.
139         (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
140         testfiledwarfinlines.core.bz2.
141         * run-stack-d-test.sh: New test.
142         * testfiledwarfinlines.bz2: New test file.
143         * testfiledwarfinlines.core.bz2: Likewise.
144
145 2014-01-16  Mark Wielaard  <mjw@redhat.com>
146
147         * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
148         on one ET_REL, one ET_EXEC and one ET_DYN file.
149         * test-subr.sh (self_test_files): Add two ET_REL files, only add
150         two libebl ET_DYN backend files.
151
152 2014-01-16  Mark Wielaard  <mjw@redhat.com>
153
154         * run-backtrace-demangle.sh: Check exitcode and max number of frames.
155
156 2014-01-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
157
158         Fix false FAILs on testsuite with ulimit -c unlimited.
159         * backtrace-child.c (sigusr2): Call pthread_exit.
160         (main): Return, do not call abort.
161
162 2014-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
163
164         Fix corruption of non-C++ symbols by the demangler.
165         * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
166         <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
167         (EXTRA_DIST): Add run-backtrace-demangle.sh,
168         testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
169         testfile-backtrace-demangle.core.bz2.
170         * backtrace-demangle.cc: New file.
171         * run-backtrace-demangle.sh: New file.
172         * testfile-backtrace-demangle.bz2: New file.
173         * testfile-backtrace-demangle.cc: New file.
174         * testfile-backtrace-demangle.core.bz2: New file.
175
176 2014-01-07  Matthias Klose <doko@ubuntu.com>
177
178         * backtrace-subr.sh (check_native_core): Check to see if core file
179         was created without ".PID" extension, if so mv core to core.PID.
180         Skip test if no core file was created or could be found.
181
182 2014-01-04  Mark Wielaard  <mjw@redhat.com>
183
184         * backtrace-data.c (main): Don't assert if raise returns.
185         * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
186         assume_ptrace_attached true.
187         (ptrace_detach_stopped): Removed function.
188         (main): Don't call ptrace_detach_stopped.
189         * backtrace.c (ptrace_detach_stopped): Removed function.
190         (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
191         true.
192         (exec_dump): Don't call ptrace_detach_stopped.
193
194 2014-01-04  Mark Wielaard  <mjw@redhat.com>
195
196         * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
197         if we cannot adjust core ulimit.
198
199 2014-01-04  Mark Wielaard  <mjw@redhat.com>
200
201         * cleanup-13.c (force_unwind_stop): Removed.
202         (force_unwind): Just call abort. Don't setup _Unwind_Exception and
203         don't call _Unwind_ForcedUnwind.
204
205 2014-01-03  Mark Wielaard  <mjw@redhat.com>
206
207         * run-addrcfi.sh: Add case for EM_AARCH64.
208         * testfileaarch64.bz2: New testfile.
209         * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
210
211 2013-12-30  Mark Wielaard  <mjw@redhat.com>
212
213         * backtrace-dwarf.c (report_pid): Explicitly call
214         dwfl_linux_proc_attach and check for errors.
215         * backtrace.c (report_pid): Likewise.
216
217 2013-12-21  Mark Wielaard  <mjw@redhat.com>
218
219         * backtrace.c (callback_verify): Only assert that case 5 is the last
220         instruction of backtracegen on x86_64 native.
221
222 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
223             Mark Wielaard  <mjw@redhat.com>
224
225         * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
226         and testfilebaz*ppc64*.bz2 files.
227         * dwflsyms.c (list_syms): Remove unused from parameter mod_name.  Print
228         error on dwfl_module_getsymtab error.
229         (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
230         Compare values for non-ET_REL. Use dwfl_module_addrinfo.
231         Also print section of actual value if different from sym.
232         * run-addrname-test.sh (testfile66, testfile66.core): New tests.
233         Test addr2line -x by showing different sections for address and
234         found name in testfile66.
235         * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
236         testfilebaz*ppc64): New tests.
237         * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
238         testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
239         testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
240         testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
241         testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
242         testfilebaztabppc64.bz2: New test files.
243
244 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
245
246         unwinder: s390 and s390x
247         * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
248         run-backtrace-core-s390.sh.
249         (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
250         backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
251         run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
252         * backtrace.s390.core.bz2: New file.
253         * backtrace.s390.exec.bz2: New file.
254         * backtrace.s390x.core.bz2: New file.
255         * backtrace.s390x.exec.bz2: New file.
256         * run-backtrace-core-s390.sh: New file.
257         * run-backtrace-core-s390x.sh: New file.
258
259 2013-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
260
261         * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
262         code.
263
264 2013-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
265
266         unwinder: ppc
267         * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
268         (EXTRA_DIST): Add backtrace.ppc.core.bz2,
269         backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
270         * backtrace.ppc.core.bz2: New file.
271         * backtrace.ppc.exec.bz2: New file.
272         * run-backtrace-core-ppc.sh: New file.
273
274 2013-12-10  Mark Wielaard  <mjw@redhat.com>
275
276         * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
277
278 2013-12-10  Mark Wielaard  <mjw@redhat.com>
279
280         * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
281         * backtrace-subr.sh (check_native_core): Disable valgrind while
282         dumping core.
283         * run-backtrace-data.sh: Disable valgrind.
284         * run-backtrace-dwarf.sh: Likewise.
285
286 2013-12-09  Mark Wielaard  <mjw@redhat.com>
287
288         * varlocs.c (print_expr): Update comment to explain empty location
289         associated with DW_OP_GNU_implicit_pointer.
290
291 2013-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
292
293         Fix test FAIL with -O2.
294         * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
295
296 2013-12-05  Mark Wielaard  <mjw@redhat.com>
297
298         * backtrace-data.c (main): If unsupported also print to stderr.
299         * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
300
301 2013-12-04  Mark Wielaard  <mjw@redhat.com>
302
303         * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
304
305 2013-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
306
307         * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
308         backtrace-data and backtrace-dwarf.
309         (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
310         (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
311         run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
312         run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
313         run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
314         <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
315         (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
316         cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
317         run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
318         run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
319         backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
320         backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
321         (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
322         (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
323         New.
324         * backtrace-child.c: New file.
325         * backtrace-data.c: New file.
326         * backtrace-dwarf.c: New file.
327         * backtrace-subr.sh: New file.
328         * backtrace.c: New file.
329         * cleanup-13.c: New file.
330         * backtrace.i386.core.bz2: New file.
331         * backtrace.i386.exec.bz2: New file.
332         * backtrace.x86_64.core.bz2: New file.
333         * backtrace.x86_64.exec.bz2: New file.
334         * run-backtrace-core-i386.sh: New file.
335         * run-backtrace-core-x86_64.sh: New file.
336         * run-backtrace-native-biarch.sh: New file.
337         * run-backtrace-native-core-biarch.sh: New file.
338         * run-backtrace-native-core.sh: New file.
339         * run-backtrace-native.sh: New file.
340         * run-backtrace-data.sh: New file.
341         * run-backtrace-dwarf.sh: New file.
342
343 2013-11-27  Mark Wielaard  <mjw@redhat.com>
344
345         * dwflsyms.c (gelf_bind_order): New function.
346         (elf_section_name): Likewise.
347         (addr_in_section): Likewise.
348         (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
349         Refine assert using gelf_bind_order. Print elf_section_name. Check
350         bias with addr_in_section.
351         * run-dwflsyms.sh: Add section names to expected output.
352
353 2013-11-26  Mark Wielaard  <mjw@redhat.com>
354
355         * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
356
357 2013-11-25  Petr Machata  <pmachata@redhat.com>
358
359         * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
360         * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
361         * Makefile.am (EXTRA_DIST): Add these.
362         (TESTS): Add run-funcretval.sh.
363         * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
364         * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
365         * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
366         * run-funcretval.sh: New file.
367
368 2013-11-18  Josh Stone  <jistone@redhat.com>
369
370         * testfilebazdbg_plr.bz2: New testfile.
371         * testfilebazmin_plr.bz2: Likewise.
372         * Makefile.am (EXTRA_DIST): Add the above files.
373         * run-dwflsyms.sh: Add prelink -r tests.
374
375 2013-11-15  Mark Wielaard  <mjw@redhat.com>
376
377         * testfilebazmdb.bz2: Regenerated.
378         * testfilebazmin.bz2: Likewise.
379         * testfilebazdbg_pl.bz2: New testfile.
380         * testfilebazmin_pl.bz2: Likewise.
381         * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
382         testfilebazmin_pl.bz2.
383         * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
384         print relative address of function symbols.
385         * run-dwflsyms.sh: Add prelink tests and adjust expected output.
386
387 2013-11-01  Michael Forney  <mforney@mforney.org>
388
389         * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
390         * run-arsymtest.sh: Use NM.
391
392 2013-11-05  Mark Wielaard  <mjw@redhat.com>
393
394         * allfcts.c (main): Correct dwarf_getfuncs return value check.
395
396 2013-10-10  Mark Wielaard  <mjw@redhat.com>
397             Josh Stone  <jistone@redhat.com>
398
399         * run-allfcts-multi.sh: New test.
400         * test-offset-loop.bz2: New testfile.
401         * test-offset-loop.alt.bz2: New testfile.
402         * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
403         (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
404         test-offset-loop.alt.bz2.
405
406 2013-10-15  Mark Wielaard  <mjw@redhat.com>
407
408         * run-unstrip-M.sh: New test.
409         * Makefile.am (TESTS): Add run-unstrip-M.sh.
410         (EXTRA_DIST): Likewise.
411
412 2013-10-06  Mark Wielaard  <mjw@redhat.com>
413
414         * run-addrcfi.sh: Remove nop from expected ppc and ppc64
415         location expression.
416
417 2013-10-03  Josh Stone  <jistone@redhat.com>
418
419         * typeiter2.c: New file, reversing typeiter.c.
420         * run-typeiter.sh: Also run typeiter2.
421         * Makefile.am (check_PROGRAMS): Add typeiter2.
422         (typeiter2_LDADD): New variable.
423
424 2013-09-26  Petr Machata  <pmachata@redhat.com>
425
426         * run-readelf-mixed-corenote.sh: Update output of testfile71
427         dump--readelf can newly decode the NT_FILE note.
428
429 2013-09-26  Petr Machata  <pmachata@redhat.com>
430
431         * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
432         * run-readelf-mixed-corenote.sh: New test for this file.
433         * testfile71.bz2: New file.
434
435 2013-09-20  Mark Wielaard  <mjw@redhat.com>
436
437         * allfcts.c (cb): Return DWARF_CB_ABORT.
438         (main): Iterate over all offsets returned by dwarf_getfuncs.
439         * run-allfcts.sh: Add nested_funcs and class_func testcases.
440         * testfile_nested_funcs.bz2: New test file.
441         * testfile_class_func.bz2: Likewise.
442         * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
443         testfile_nested_funcs.bz2.
444
445 2013-08-30  Mark Wielaard  <mjw@redhat.com>
446
447         * Makefile.am (check_PROGRAMS): Add varlocs.
448         (TESTS): Add run-varlocs.sh.
449         (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
450         testfile_const_type.bz2, testfile_implicit_pointer.c,
451         testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
452         testfile_entry_value.c, testfile_entry_value.bz2,
453         testfile_implicit_value.c and testfile_implicit_value.bz2.
454         (varlocs_LDADD): New.
455         * run-varlocs: New test.
456         * testfile_const_type.c: New test source file.
457         * testfile_entry_value.c: Likewise.
458         * testfile_implicit_pointer.c: Likewise.
459         * testfile_implicit_value.c: Likewise.
460         * testfile_parameter_ref.c: Likewise.
461         * testfile_const_type.bz2: New test file.
462         * testfile_entry_value.bz2: Likewise.
463         * testfile_implicit_pointer.bz2: Likewise.
464         * testfile_implicit_value.bz2: Likewise.
465         * testfile_parameter_ref.bz2: Likewise.
466         * varlocs.c: New test source.
467
468 2013-08-29  Mark Wielaard  <mjw@redhat.com>
469
470         * run-addrcfi.sh: Add case for EM_ARM.
471         * testfilearm.bz2: New testfile.
472         * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
473
474 2013-08-28  Mark Wielaard  <mjw@redhat.com>
475
476         * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
477         completely missing.
478         * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
479         * testfiles390.bz2: New testfile.
480         * testfiles390x.bz2: Likewise.
481         * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
482         testfiles390x.bz2.
483
484 2013-08-28  Mark Wielaard  <mjw@redhat.com>
485
486         * addrcfi.c (handle_cfi): Use printf not error.
487         * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
488         * testfileppc32.bz2: New testfile.
489         * testfileppc64.bz2: Likewise.
490         * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
491         testfileppc64.bz2.
492
493 2013-08-27  Mark Wielaard  <mjw@redhat.com>
494
495         * run-addrcfi.sh: New test.
496         * Makefile.am (TESTS): Add run-addrcfi.sh.
497         (EXTRA_DIST): Likewise.
498         * addrcfi.c (op_name): New function.
499         (print_detail): Call and print op_name. Check ops, not result
500         to check if this is "same value" or "undefined".
501         (handle_cfi): Make sure cfa_ops doesn't point to NULL.
502
503 2013-08-13  Mark Wielaard  <mjw@redhat.com>
504
505         * run-addr2line-i-test.sh: New test.
506         * testfile-inlines.bz2: New testfile.
507         * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
508         testfile-inlines.bz2.
509         (TESTS): Add run-addr2line-i-test.sh.
510
511 2013-08-12  Mark Wielaard  <mjw@redhat.com>
512
513         * run-addr2line-test.sh: New test.
514         * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
515         (TESTS): Likewise.
516
517 2013-07-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
518
519         * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
520         the entries.
521
522 2013-07-02  Mark Wielaard  <mjw@redhat.com>
523
524         * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
525         testfilenolines.bz2.
526
527 2013-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
528
529         * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
530         test-core.core.bz2 and test-core.exec.bz2.
531         * run-addrname-test.sh: New test for these files.
532         * run-unstrip-n.sh: Update expected output.  New test for these files.
533         * test-core-lib.so.bz2: New file.
534         * test-core.core.bz2: New file.
535         * test-core.exec.bz2: New file.
536
537 2013-05-03  Mark Wielaard  <mjw@redhat.com>
538
539         * testfilenolines.bz2: New test file.
540         * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
541         * run-get-lines.sh: Run testrun_compare on testfilenolines.
542
543 2013-04-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
544
545         * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
546
547 2013-04-29  Mark Wielaard  <mjw@redhat.com>
548
549         * test-subr.sh: Don't use pushd, just cd into test-dir.
550         (exit_cleanup): Don't use popd, just cd .. to get out.
551
552 2013-04-27  Mark Wielaard  <mjw@redhat.com>
553
554         * test-subr.sh (exit_cleanup): New function.
555         (trap): Use exit_cleanup as argument.
556         * run-native-test.sh (native_exit): New function.
557         (trap): For EXIT (0) use native_exit as argument.
558
559 2013-04-27  Mark Wielaard  <mjw@redhat.com>
560
561         * update1.c (main): Use unique tempfile name and unlink file.
562         * update2.c (main): Likewise.
563         * update3.c (main): Likewise.
564         * update4.c (main): Use unique tempfile name.
565
566 2013-04-27  Mark Wielaard  <mjw@redhat.com>
567
568         * run-alldts.sh: Add testfile-alldts to tempfiles.
569         * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
570         * run-macro-test.sh: Add readelf.macros.out to tempfiles.
571         * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
572         and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
573
574 2013-04-26  Mark Wielaard  <mjw@redhat.com>
575
576         * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
577         remove wrapper.
578         (TESTS_ENVIRONMENT): Likewise.
579         (installed_LOG_COMPILER): New variable defining wrapper.
580         (LOG_COMPILER): Likewise.
581         * run-*.sh: Fixup location of input and output files.
582         * test-subr.sh: Create test_dir, pushd to execute test in.
583         (trap): Remove test_dir.
584         (testfiles): Use abs_srcdir.
585         (installed_testrun): Match on abs_builddir or abs_top_builddir.
586         (self_test_files): Adjust path.
587
588 2013-04-24  Mark Wielaard  <mjw@redhat.com>
589
590         * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
591
592 2013-03-25  Mark Wielaard  <mjw@redhat.com>
593
594         * run-readelf-aranges.sh: New test.
595         * testfilefoobarbaz.bz2: New test file.
596         * Makefile.am (TESTS): Add run-readelf-aranges.sh.
597         (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
598
599 2013-03-25  Mark Wielaard  <mjw@redhat.com>
600
601         * run-readelf-dwz-multi.sh: Expect high_pc also as address.
602
603 2013-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
604
605         * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
606         (TESTS): Add run-dwfl-report-elf-align.sh.
607         (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
608         testfile-dwfl-report-elf-align-shlib.so.bz2 .
609         (dwfl_report_elf_align_LDADD): New.
610         * dwfl-report-elf-align.c: New file.
611         * run-dwfl-report-elf-align.sh: New file.
612         * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
613
614 2013-03-12  Mark Wielaard  <mjw@redhat.com>
615
616         * run-dwfllines.sh: New test.
617         * dwfllines.c: New test program.
618         * Makefile.am (TESTS): Add run-dwfllines.sh.
619         (EXTRA_DIST): Likewise.
620         (dwfllines_LDADD): New variable.
621
622 2013-02-22  Mark Wielaard  <mjw@redhat.com>
623
624         * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
625         (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
626
627 2013-02-15  Mark Wielaard  <mjw@redhat.com>
628
629         * testfile-dwzstr.bz2: New testfile.
630         * testfile-dwzstr.multi.bz2: Likewise.
631         * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
632         * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
633         testfile-dwzstr.multi.bz2.
634
635 2013-01-30  Mark Wielaard  <mjw@redhat.com>
636
637         * testfileloc.bz2: New testfile.
638         * run-readelf-loc.sh: New test.
639         * Makefile.am (TESTS): Add run-readelf-loc.sh.
640         (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
641
642 2013-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
643
644         * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
645         and s390x core notes.
646         * testfile67.bz2: New file.
647         * testfile68.bz2: New file.
648         * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
649
650 2013-01-23  Mark Wielaard  <mjw@redhat.com>
651
652         * testfilebasmin.bz2: New testfile.
653         * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
654         * run-readelf-s.sh: Test testfilebasmin.
655         * run-dwflsyms.sh: Likewise.
656
657 2013-01-16  Mark Wielaard  <mjw@redhat.com>
658
659         * Makefile.am (check_PROGRAMS): Add dwflsyms.
660         (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
661         (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
662         testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
663         testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
664         (dwflsyms_LDADD): New variable.
665
666 2013-01-07  Roland McGrath  <roland@hack.frob.com>
667
668         * run-prelink-addr-test.sh: Use ln -snf.
669
670 2012-12-03  Mark Wielaard  <mjw@redhat.com>
671
672         * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
673
674 2012-11-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
675
676         * run-addrname-test.sh: New test for PIE relocation.
677         * testfile70.core.bz2: New file.
678         * testfile70.exec.bz2: New file.
679         * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
680         testfile70.exec.bz2 .
681
682 2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
683
684         * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
685         testfile69.core.bz2 and testfile69.so.bz2 .
686
687 2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
688
689         * run-addrname-test.sh: New test for DSO with build-id bias.
690         * testfile69.core.bz2: New file.
691         * testfile69.so.bz2: New file.
692
693 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
694
695         * run-addrname-test.sh: New test for core vDSO bias.
696         * testfile65.bz2: New file.
697
698 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
699
700         * run-addrname-test.sh: New test for symbol preferences.
701         * testfile64.bz2: New file.
702
703 2012-10-01  Mark Wielaard  <mjw@redhat.com>
704
705         * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
706         * test-wrapper.sh: Export VALGRIND_CMD if available.
707         * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
708         (installed_testrun): Likewise.
709
710 2012-09-24  Petr Machata  <pmachata@redhat.com>
711
712         * testfile63.bz2: New testfile.
713         * run-readelf-mixed-corenote.sh: New test.
714         * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
715         (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
716
717 2012-09-24  Petr Machata  <pmachata@redhat.com>
718
719         * testfile62.bz2: New testfile.
720         * run-readelf-vmcoreinfo.sh: New test.
721         * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
722         (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
723
724 2012-09-18  Petr Machata  <pmachata@redhat.com>
725
726         * testfile61.bz2: New testfile.
727         * run-allregs.sh: Run reg_test testfile61.
728         * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
729
730 2012-08-24  Mark Wielaard  <mjw@redhat.com>
731
732         * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
733
734 2012-08-22  Jeff Kenton  <jkenton@tilera.com>
735
736         * testfile60.bz2: New testfile.
737         * run-allregs.sh: Run reg_test testfile60.
738
739 2012-08-24  Mark Wielaard  <mjw@redhat.com>
740
741         * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
742         ENABLE_DWZ.
743
744 2012-08-16  Mark Wielaard  <mjw@redhat.com>
745
746         * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
747         macros.
748         * show-die-info.c (tagnames): Removed.
749         (attrs): Removed.
750         (dwarf_tag_string): New function using known-dwarf macros.
751         (dwarf_attr_string): Likewise.
752         (handle): Call dwarf_tag_string and dwarf_attr_string instead.
753         * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
754
755 2012-06-27  Mark Wielaard  <mjw@redhat.com>
756
757         * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
758         (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
759         libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
760         testfile_multi_main.bz2.
761         * run-readelf-dwz-multi.sh: New test.
762         * libtestfile_multi_shared.so.bz2: New testfile.
763         * testfile_multi.dwz.bz2: New testifle.
764         * testfile_multi_main.bz2: New testifle.
765
766 2012-08-01  Petr Machata  <pmachata@redhat.com>
767
768         * run-test-archive64.sh: New test.
769         * testarchive64.a.bz2: New testfile.
770         * Makefile.am (TESTS): Add run-test-archive64.sh.
771         (EXTRA_DIST): Likewise.
772
773 2012-08-01  Mark Wielaard  <mjw@redhat.com>
774
775         * run-nm-self.sh: New test.
776         * run-readelf-self.sh: Likewise.
777         * test-subr.sh (testrun_on_self_quiet): New function.
778         * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
779         (EXTRA_DIST): Likewise.
780
781 2012-08-01  Mark Wielaard  <mjw@redhat.com>
782
783         * test-subr.sh (self_test_files): New list of files.
784         (testrun_on_self): New function.
785         * run-elflint-self.sh: Use testrun_on_self.
786
787 2012-07-19  Mark Wielaard  <mjw@redhat.com>
788
789         * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
790         (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
791         (EXTRA_DIST): Likewise.
792         (test_elf_cntl_gelf_getshdr_LDADD): New.
793         test-elf_cntl_gelf_getshdr.c: New test program.
794         run-elf_cntl_gelf_getshdr.sh: New test script.
795
796 2012-07-19  Mark Wielaard  <mjw@redhat.com>
797
798         * run-elflint-self.sh: runtests on ../backends/*so files.
799
800 2012-07-19  Mark Wielaard  <mjw@redhat.com>
801
802         * run-unstrip-n.sh: test_cleanup.
803         * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
804
805 2012-07-11  Mark Wielaard  <mjw@redhat.com>
806
807         * run-readelf-macro.sh: New test.
808         * testfilemacro.bz2: New testfile.
809         * Makefile.am (TESTS): Add run-readelf-macro.sh.
810         (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
811
812 2012-06-27  Mark Wielaard  <mjw@redhat.com>
813
814         * run-readelf-gdb-index.sh: New test.
815         * testfilegdbindex5.bz2: New testfile.
816         * testfilegdbindex7.bz2: Likewise.
817         * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
818         (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
819         testfilegdbindex7.bz2.
820
821 2012-07-17  Mark Wielaard  <mjw@redhat.com>
822
823         * testcore-rtlib-ppc.bz2: New testfile.
824         * run-unstrip-n.sh: Check new ppc core testfile.
825
826 2012-06-26  Mike Frysinger  <vapier@gentoo.org>
827
828         * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
829
830 2012-06-26  Mark Wielaard  <mjw@redhat.com>
831
832         * run-macro-test.sh: New test.
833         * testfile-macinfo.bz2: New testfile.
834         * testfile-macros.bz2: Likewise.
835
836 2012-05-07  Mark Wielaard  <mjw@redhat.com>
837
838         * low_high_pc.c: Use proper inttypes in printf formats.
839
840 2012-05-11  Mark Wielaard  <mjw@redhat.com>
841
842         * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
843
844 2012-05-07  Mark Wielaard  <mjw@redhat.com>
845
846         * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
847
848 2012-04-27  Mark Wielaard  <mjw@redhat.com>
849
850         * Makefile.am (TESTS): Add run-low_high_pc.sh
851         (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
852         (noinst_PROGRAMS): Add low_high_pc.
853         (low_high_pc_LDADD): New variable.
854         * low_high_pc.c: New test.
855
856 2012-04-26  Mark Wielaard  <mjw@redhat.com>
857
858         * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
859         * run-show-ciefde.sh: Removed old libdwarf test.
860         * show-ciefde.c: Likewise.
861
862 2012-04-02  Mark Wielaard  <mjw@redhat.com>
863
864         * Makefile.am (TESTS): Add run-unstrip-n.sh.
865         (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
866         * run-unstrip-n.sh: New test.
867         * testcore-rtlib.bz2: New testfile.
868
869 2012-04-02  Mark Wielaard  <mjw@redhat.com>
870
871         * Makefile.am (TESTS): Add run-readelf-d.sh.
872         (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
873         * run-readelf-d.sh: New test.
874         * run-elflint-test.sh: Check new testfile.
875
876 2012-03-21  Tom Tromey  <tromey@redhat.com>
877
878         * typeiter.c: New file.
879         * run-typeiter.sh: New file.
880         * testfile59.bz2: New file.
881         * Makefile.am (noinst_PROGRAMS): Add typeiter.
882         (TESTS): Add run-typeiter.sh.
883         (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
884         (typeiter_LDADD): New variable.
885
886 2012-02-21  Kurt Roeckx  <kurt@roeckx.be>
887
888         * run-alldts.sh: testrun ./alldts.
889
890 2012-02-21  Roland McGrath  <roland@hack.frob.com>
891
892         * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
893         * test-subr.sh (installed_testrun): Likewise.
894
895 2012-01-18  Roland McGrath  <roland@hack.frob.com>
896
897         * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
898         it will have been inherited correctly from the test harness.
899         * asm-tst5.c (main): Likewise.
900         * asm-tst6.c (main): Likewise.
901         Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
902
903 2011-07-09  Roland McGrath  <roland@hack.frob.com>
904
905         * sha1-tst.c: File removed.
906         * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
907         (sha1_tst_LDADD): Variable removed.
908
909         * md5-sha1-test.c: New file.
910         * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
911         (md5_sha1_test_LDADD): New variable.
912
913 2011-05-30  Mark Wielaard  <mjw@redhat.com>
914
915         * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
916         run-rerequest_tag.sh
917
918 2011-05-24  Mark Wielaard  <mjw@redhat.com>
919
920         * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
921         * run-strip-reloc.sh: Add hello_s390.ko testcase.
922         * hello_s390.ko.bz2: New test file.
923
924 2011-05-23  Mark Wielaard  <mjw@redhat.com>
925
926         * Makefile.am (TESTS): Add run-strip-reloc.sh.
927         (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
928         hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
929         * run-strip-reloc.sh: New test.
930         * hello_i386.ko.bz2: New test file.
931         * hello_x86_64.ko.bz2: Likewise.
932         * hello_ppc64.ko.bz2: Likewise.
933
934 2011-05-18  Mark Wielaard  <mjw@redhat.com>
935
936         * run-strip-groups.sh: New test.
937         * testfile58.bz2: New test file.
938         * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
939         (TESTS): Add run-strip-groups.sh.
940         (EXTRA_DIST): Likewise.
941
942 2011-03-28  Marek Polacek  <mpolacek@redhat.com>
943
944         * alldts.c: New file.
945         * run-alldts.sh: Use it.
946         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
947         (alldts_LDADD): New variable.
948
949 2011-03-02  Marek Polacek  <mpolacek@redhat.com>
950
951         * dwarf-getstring.c: New test.
952         * run-dwarf-getstring.sh: And its wrapper.
953         * Makefile.am (EXTRA_DIST): Add and update all.
954
955 2011-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
956
957         * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
958         * run-readelf-twofiles.sh: New file.
959
960 2011-02-25  Mark Wielaard  <mjw@redhat.com>
961
962         * Makefile.am (BUILD_RPATH): Be consistent in naming.
963
964 2011-02-02  Josh Stone  <jistone@redhat.com>
965
966         * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
967         * testfile55-64.bz2, testfile55-64.debug.bz2,
968         testfile55-64.prelink.bz2, testfile55-32.bz2,
969         testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
970         * Makefile.am (EXTRA_DIST): Add and update all.
971
972 2011-01-12  Roland McGrath  <roland@redhat.com>
973
974         * run-prelink-addr-test.sh: Make symlinks to find .debug files
975         corresponding to .noshdrs files.
976
977 2011-01-11  Josh Stone  <jistone@redhat.com>
978
979         * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
980         * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
981         testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
982         testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
983         testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
984         * Makefile.am (EXTRA_DIST): Add and update all.
985
986         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
987         * testfile53.bz2, testfile53.debug.bz2,
988         testfile53.prelink.bz2: Deleted, so...
989         * testfile53-64.bz2, testfile53-64.debug.bz2,
990         testfile53-64.prelink.bz2: Recreated with 64-bit names.
991         * testfile53-32.bz2, testfile53-32.debug.bz2,
992         testfile53-32.prelink.bz2: New in 32-bit.
993         * Makefile.am (EXTRA_DIST): Add and update all.
994
995         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
996         * testfile52.so.bz2, testfile52.so.debug.bz2,
997         testfile52.prelink.so.bz2: Deleted, so...
998         * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
999         testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
1000         * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
1001         * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
1002         testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
1003         * Makefile.am (EXTRA_DIST): Add and update all.
1004
1005 2011-01-10  Josh Stone  <jistone@redhat.com>
1006
1007         * run-prelink-addr-test.sh: New test for prelinked addrs.
1008         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1009         * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
1010         * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
1011         * testfile53.bz2, testfile53.debug.bz2: New data files.
1012         * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
1013         * Makefile.am (EXTRA_DIST): Add them.
1014
1015 2010-06-04  Roland McGrath  <roland@redhat.com>
1016
1017         * run-unstrip-test.sh: Also test modifying the file in place.
1018
1019 2010-04-22  Roland McGrath  <roland@redhat.com>
1020
1021         * addrcfi.c (handle_cfi): Fix function name in error message.
1022         Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
1023
1024 2010-04-14  Roland McGrath  <roland@redhat.com>
1025
1026         * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
1027
1028 2010-04-10  Ulrich Drepper  <drepper@redhat.com>
1029
1030         * msg_tst.c: Adjust expected error message.
1031
1032 2010-04-01  Petr Machata  <pmachata@redhat.com>
1033
1034         * test-flag-nobits.c: New test.
1035         * run-test-flag-nobits.sh: And its wrapper.
1036         * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
1037         (test_flag_nobits_LDADD): New variable.
1038
1039 2010-02-15  Roland McGrath  <roland@redhat.com>
1040
1041         * Makefile.am: Use config/eu.am for common stuff.
1042
1043         * asm-tst9.c (main): Rename local to avoid shadowing another local.
1044
1045 2009-07-22  Roland McGrath  <roland@redhat.com>
1046
1047         * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
1048
1049 2009-07-08  Roland McGrath  <roland@redhat.com>
1050
1051         * addrcfi.c: New file.
1052         * Makefile.am (noinst_PROGRAMS): Add it.
1053         (addrcfi_LDADD): New variable.
1054
1055 2009-05-07  Petr Machata  <pmachata@redhat.com>
1056
1057         * testfile51.bz2: New data file.
1058         * dwarf-getmacros.c: New test core.
1059         * run-dwarf-getmacros.sh: New test wrapper.
1060         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1061         (dwarf_getmacros_LDADD): New variable.
1062
1063 2009-04-23  Ulrich Drepper  <drepper@redhat.com>
1064
1065         * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
1066         (rdwrmmap_LDADD): Add $(libmudflap).
1067
1068 2009-04-21  Roland McGrath  <roland@redhat.com>
1069
1070         * testfile50.bz2: New data file.
1071         * Makefile.am (EXTRA_DIST): Add it.
1072         * run-dwfl-addr-sect.sh: Add a case using it.
1073
1074 2008-12-31  Ulrich Drepper  <drepper@redhat.com>
1075
1076         * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
1077         mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
1078         pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
1079         pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
1080         pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
1081         pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
1082         roundss, roundps, roundpd, and roundsd.
1083         * testfile45.S.bz2: Likewise.
1084         * testfile44.expect.bz2: Adjust accordingly.
1085         * testfile45.expect.bz2: Likewise.
1086
1087         * testfile44.S.bz2: Add tests for blendvpd and blendvps.
1088         * testfile45.S.bz2: Likewise.
1089         * testfile44.expect.bz2: Adjust accordingly.
1090         * testfile45.expect.bz2: Likewise.
1091
1092 2008-12-30  Ulrich Drepper  <drepper@redhat.com>
1093
1094         * testfile44.S.bz2: Add tests for blendpd and blendps.
1095         * testfile45.S.bz2: Likewise.
1096         * testfile44.expect.bz2: Adjust accordingly.
1097         * testfile45.expect.bz2: Likewise.
1098
1099 2008-12-19  Ulrich Drepper  <drepper@redhat.com>
1100
1101         * testfile44.S.bz2: Add tests for AMD 3DNOW.
1102         * testfile45.S.bz2: Likewise.
1103         * testfile44.expect.bz2: Adjust accordingly.
1104         * testfile45.expect.bz2: Likewise.
1105
1106 2008-11-26  Roland McGrath  <roland@redhat.com>
1107
1108         * dwfl-bug-getmodules.c: New file.
1109         * Makefile.am (noinst_PROGRAMS): Add it.
1110         (dwfl_bug_getmodules_LDADD): New variable.
1111
1112 2008-09-10  Roland McGrath  <roland@redhat.com>
1113
1114         * test-subr.sh (LC_ALL): Export it set to "C".
1115         * run-dwfl-addr-sect.sh: Don't do it here.
1116         * run-strings-test.sh: Likewise.
1117
1118 2008-08-21  Denys Vlasenko  <dvlasenk@redhat.com>
1119
1120         * run-addrname-test.sh: Add a new case.
1121         * testfile49.bz2: New data file.
1122         * Makefile.am (EXTRA_DIST): Add it.
1123
1124 2008-04-10  Roland McGrath  <roland@redhat.com>
1125
1126         * testfile48.bz2, testfile48.bz2.debug: New data files.
1127         * Makefile.am (EXTRA_DIST): Add them.
1128         * run-strip-test8.sh: Use them.
1129
1130         * testfile16.bz2, testfile16.debug.bz2: Replace data files.
1131
1132         * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
1133         * run-strip-test8.sh: New file.
1134         * testfile47.bz2: New data file.
1135         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1136
1137 2008-03-31  Roland McGrath  <roland@redhat.com>
1138
1139         * run-early-offscn.sh: New file.
1140         * early-offscn.c: New file.
1141         * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
1142         (early_offscn_LDADD): New variable.
1143
1144 2008-03-19  Roland McGrath  <roland@redhat.com>
1145
1146         * run-addrname-test.sh: Add a new case.
1147
1148 2008-02-22  Roland McGrath  <roland@redhat.com>
1149
1150         * run-elflint-test.sh: Typo fix.
1151
1152 2008-02-21  Roland McGrath  <roland@redhat.com>
1153
1154         * run-disasm-x86.sh: Use uname instead of arch, keep tools required
1155         for the build down to minimum.
1156         * run-disasm-x86-64.sh: Likewise.
1157
1158 2008-02-20  Roland McGrath  <roland@redhat.com>
1159
1160         * testfile46.bz2: New data file.
1161         * Makefile.am (EXTRA_DIST): Add it.
1162         * run-elflint-test.sh: Test on it.
1163
1164 2008-02-01  Ulrich Drepper  <drepper@redhat.com>
1165
1166         * Makefile.am: Hook up sha1-tst.c.
1167         * sha1-tst.c: New file.
1168
1169 2008-01-21  Roland McGrath  <roland@redhat.com>
1170
1171         * testfile45.S.bz2: Add tests for cltq, cqto.
1172         * testfile45.expect.bz2: Adjust.
1173
1174 2008-01-14  Ulrich Drepper  <drepper@redhat.com>
1175
1176         * testfile45.S.bz2: Add more tests.
1177         * testfile45.expect.bz2: Adjust.
1178
1179 2008-01-11  Ulrich Drepper  <drepper@redhat.com>
1180
1181         * testfile45.expect.bz2: Adjust for adding of address for %rip based
1182         address mode.
1183
1184 2008-01-10  Ulrich Drepper  <drepper@redhat.com>
1185
1186         * testfile45.S.bz2: Add more tests.
1187         * testfile45.expect.bz2: Adjust.
1188
1189 2008-01-08  Ulrich Drepper  <drepper@redhat.com>
1190
1191         * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
1192         (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
1193         run-disasm-x86-64.sh.
1194         * run-disasm-x86-64.sh: New file.
1195         * testfile45.S.bz2: New file.
1196         * testfile45.expect.bz2: New file.
1197         * testfile44.S.bz2: New tests.
1198         * testfile44.expect.bz2: Adjust.
1199
1200 2008-01-04  Ulrich Drepper  <drepper@redhat.com>
1201
1202         * testfile44.S.bz2: New tests.
1203         * testfile44.expect.bz2: Adjust.
1204
1205 2008-01-04  Roland McGrath  <roland@redhat.com>
1206
1207         * dwfl-bug-fd-leak.c (main): Add a cast.
1208
1209 2008-01-03  Ulrich Drepper  <drepper@redhat.com>
1210
1211         * testfile44.S.bz2: New tests.
1212         * testfile44.expect.bz2: Adjust.
1213
1214 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
1215
1216         * line2addr.c: Use %m modifier instead of %a to appease gcc.
1217
1218 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
1219
1220         * testfile44.S.bz2: New tests.
1221         * testfile44.expect.bz2: Adjust.
1222
1223 2007-12-31  Ulrich Drepper  <drepper@redhat.com>
1224
1225         * testfile44.S.bz2: New tests.
1226         * testfile44.expect.bz2: Adjust.
1227
1228 2007-12-30  Ulrich Drepper  <drepper@redhat.com>
1229
1230         * testfile44.S.bz2: New tests.
1231         * testfile44.expect.bz2: Adjust.
1232
1233 2007-12-29  Ulrich Drepper  <drepper@redhat.com>
1234
1235         * testfile44.s.bz2: New tests.
1236         * testfile44.expect.bz2: Adjust.
1237
1238 2007-12-28  Ulrich Drepper  <drepper@redhat.com>
1239
1240         * testfile44.S.bz2: New tests.
1241         * testfile44.expect.bz2: Adjust.
1242
1243 2007-12-27  Ulrich Drepper  <drepper@redhat.com>
1244
1245         * testfile44.S.bz2: New tests.
1246         * testfile44.expect.bz2: Adjust.
1247
1248 2007-12-26  Ulrich Drepper  <drepper@redhat.com>
1249
1250         * testfile44.S.bz2: New tests.
1251         * testfile44.expect.bz2: Adjust
1252
1253 2007-12-21  Ulrich Drepper  <drepper@redhat.com>
1254
1255         * testfile44.S.bz2: More tests.
1256         * testfile44.expect.bz2: Adjust appropriately.
1257
1258 2007-12-19  Ulrich Drepper  <drepper@redhat.com>
1259
1260         * Makefile.am (TESTS): Add run-disasm.sh.
1261         (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1262         testfile44.expect.bz2.
1263         * run-disasm.sh: New file.
1264         * testfile44.S.bz2: New file.
1265         * testfile44.expect.bz2: New file.
1266
1267 2007-12-15  Roland McGrath  <roland@redhat.com>
1268
1269         * run-allregs.sh: Change expected output for powerpc spefscr.
1270
1271 2007-10-20  Roland McGrath  <roland@redhat.com>
1272
1273         * run-dwfl-addr-sect.sh: Change expected output, no errors.
1274
1275 2007-10-19  Roland McGrath  <roland@redhat.com>
1276
1277         * dwfl-addr-sect.c (handle_address): Return int.
1278         Don't exit on error, just return nonzero.
1279         (main): Collect results.
1280         * run-dwfl-addr-sect.sh: New file.
1281         * testfile43.bz2: New data file.
1282         * Makefile.am (EXTRA_DIST, TESTS): Add them.
1283
1284 2007-10-18  Roland McGrath  <roland@redhat.com>
1285
1286         * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1287
1288 2007-10-16  Roland McGrath  <roland@redhat.com>
1289
1290         * test-subr.sh (remove_files): Don't pass -Bb to diff.
1291
1292 2007-10-09  Roland McGrath  <roland@redhat.com>
1293
1294         * dwflmodtest.c (print_module): Don't use %p in output.
1295         * run-dwfl-bug-offline-rel.sh: Updated expected output.
1296
1297 2007-10-08  Roland McGrath  <roland@redhat.com>
1298
1299         * testfile42.bz2: New data file.
1300         * Makefile.am (EXTRA_DIST): Add it.
1301         * run-elflint-test.sh: New test on that file.
1302
1303 2007-10-04  Roland McGrath  <roland@redhat.com>
1304
1305         * run-readelf-test4.sh: New file.
1306         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1307
1308 2007-10-03  Roland McGrath  <roland@redhat.com>
1309
1310         * run-readelf-test3.sh: New file.
1311         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1312
1313 2007-10-01  Roland McGrath  <roland@redhat.com>
1314
1315         * run-readelf-test2.sh: New file.
1316         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1317
1318 2007-09-11  Roland McGrath  <roland@redhat.com>
1319
1320         * run-addrname-test.sh: Add a new case.
1321         * testfile41.bz2: New data file.
1322         * Makefile.am (EXTRA_DIST): Add it.
1323
1324 2007-08-23  Roland McGrath  <roland@redhat.com>
1325
1326         * run-allregs.sh: Update expected x86-64 output for %rflags.
1327
1328 2007-08-12  Roland McGrath  <roland@redhat.com>
1329
1330         * run-strip-test7.sh: New file.
1331         * testfile39.bz2: New data file.
1332         * testfile40.bz2: New data file.
1333         * testfile40.debug.bz2: New data file.
1334         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1335
1336 2007-08-09  Roland McGrath  <roland@redhat.com>
1337
1338         * dwfl-bug-report.c: Fix header inclusion.
1339
1340 2007-08-08  Roland McGrath  <roland@redhat.com>
1341
1342         * run-addrname-test.sh: Add a new case using addr2line -S.
1343         * testfile38.bz2: New data file.
1344         * Makefile.am (EXTRA_DIST): Add it.
1345
1346 2007-07-16  Roland McGrath  <roland@redhat.com>
1347
1348         * dwfl-bug-report.c: New file.
1349         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1350         (dwfl_bug_report_LDADD): New variable.
1351
1352 2007-06-06  Roland McGrath  <roland@redhat.com>
1353
1354         * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1355
1356 2007-06-05  Ulrich Drepper  <drepper@redhat.com>
1357
1358         * Makefile.am (EXTRA_DIST): Add missing line continuation and
1359         testfile37.bz and testfile37.debug.bz2.
1360
1361 2007-05-23  Roland McGrath  <roland@redhat.com>
1362
1363         * run-allregs.sh: Update expected Alpha results.
1364
1365 2007-05-18  Roland McGrath  <roland@redhat.com>
1366
1367         * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1368         * testfile37.bz2: New data file.
1369         * testfile37.debug.bz2: New data file.
1370         * run-unstrip-test2.sh: New file.
1371         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1372
1373 2007-05-10  Roland McGrath  <roland@redhat.com>
1374
1375         * run-dwfl-bug-offline-rel.sh: New file.
1376         * testfile36.bz2: New data file.
1377         * testfile36.debug.bz2: New data file.
1378         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1379
1380 2007-04-28  Roland McGrath  <roland@redhat.com>
1381
1382         * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1383         * testfile35.bz2: New data file.
1384         * testfile35.debug.bz2: New data file.
1385         * run-unstrip-test.sh: New file.
1386         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1387
1388         * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1389
1390 2007-04-26  Roland McGrath  <roland@redhat.com>
1391
1392         * run-elflint-self.sh: Run all tests even if one fails.
1393
1394         * run-allregs.sh: Add expected output for alpha.
1395
1396 2007-04-24  Roland McGrath  <roland@redhat.com>
1397
1398         * run-strip-test.sh: When we saved the debug info, test unstrip too.
1399
1400 2007-04-22  Roland McGrath  <roland@redhat.com>
1401
1402         * run-allregs.sh: Update expected register info.
1403
1404 2007-04-16  Roland McGrath  <roland@redhat.com>
1405
1406         * dwfl-addr-sect.c: New file.
1407         * Makefile.am (noinst_PROGRAMS): Add it.
1408         (dwfl_addr_sect_LDADD): New variable.
1409
1410 2007-04-05  Roland McGrath  <roland@redhat.com>
1411
1412         * get-files.c: Test dwarf_getsrcdirs.
1413         * run-get-files.sh: Update expected output.
1414
1415 2007-04-01  Roland McGrath  <roland@redhat.com>
1416
1417         * run-allregs.sh: Updated expected output for x86_64.
1418
1419 2007-03-04  Roland McGrath  <roland@redhat.com>
1420
1421         * dwfl-bug-fd-leak.c: New file.
1422         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1423         (dwfl_bug_fd_leak_LDADD): New variable.
1424
1425         * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1426         show what files have been located.
1427
1428 2007-02-02  Roland McGrath  <roland@redhat.com>
1429
1430         * run-addrname-test.sh: New file.
1431         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1432         * testfile34.bz2: New data file.
1433         * Makefile.am (EXTRA_DIST): Add it.
1434
1435 2007-01-20  Roland McGrath  <roland@redhat.com>
1436
1437         * testfile33.bz2: New data file.
1438         * Makefile.am (EXTRA_DIST): Add it.
1439         * run-elflint-test.sh: Test on it too.
1440
1441 2007-01-18  Roland McGrath  <roland@redhat.com>
1442
1443         * Makefile.am (CFLAGS): Don't molest it.
1444
1445 2007-01-11  Roland McGrath  <roland@redhat.com>
1446
1447         * testfile32.bz2: New data file.
1448         * Makefile.am (EXTRA_DIST): Add it.
1449         * run-elflint-test.sh: Test on it too.
1450
1451 2007-02-04  Ulrich Drepper  <drepper@redhat.com>
1452
1453         * arls.c: New file.
1454         * Makefile (noinst_PROGRAMS): Add arls.
1455
1456         * run-ranlib-test2.sh: Fix type in comment.
1457
1458 2007-01-10  Ulrich Drepper  <drepper@redhat.com>
1459
1460         * run-elflint-self.sh (runtest): Show which file has the problem.
1461
1462 2007-01-10  Roland McGrath  <roland@redhat.com>
1463
1464         * dwfl-bug-addr-overflow.c: New file.
1465         * Makefile.am (TESTS): Add it.
1466         (dwfl_bug_addr_overflow_LDADD): New variable.
1467
1468 2006-12-17  Roland McGrath  <roland@redhat.com>
1469
1470         * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
1471
1472 2006-09-05  Roland McGrath  <roland@redhat.com>
1473
1474         * run-strings-test.sh: Export LC_ALL=C for the test.
1475
1476 2006-08-29  Roland McGrath  <roland@redhat.com>
1477
1478         * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
1479         * run-arsymtest.sh: Likewise.
1480
1481         * run-native-test.sh (native.c compilation): Add some braces.
1482
1483 2006-08-22  Roland McGrath  <roland@redhat.com>
1484
1485         * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
1486         (struct reginfo): New members bits, type.
1487         (one_register, match_register): Update to take new args,
1488         record and display new info.
1489         (main): Display new info.
1490         * run-allregs.sh: Update expected results.
1491
1492 2006-08-03  Roland McGrath  <roland@redhat.com>
1493
1494         * run-allregs.sh: Add sparc cases.
1495         * testfile30.bz2: New data file.
1496         * testfile31.bz2: New data file.
1497         * Makefile.am (EXTRA_DIST): Add them.
1498
1499 2006-07-21  Roland McGrath  <roland@redhat.com>
1500
1501         * allregs.c (struct reginfo): Increase size of name.
1502         (one_register): Assert that it's big enough.
1503
1504 2006-04-04  Roland McGrath  <roland@redhat.com>
1505
1506         * run-bug1-test.sh: Test a second case, to cover both byte orders.
1507         * testfile29.bz2: New file.
1508         * testfile29.rdwr.bz2: New file.
1509         * Makefile.am (EXTRA_DIST): Add them.
1510
1511 2006-04-04  Ulrich Drepper  <drepper@redhat.com>
1512
1513         * Makefile.am: Add rules to run run-bug1-test.sh.
1514         * rdwrmmap.c: New file.
1515         * run-bug1-test.sh: New file.
1516         * testfile28.bz2: New file.
1517         * testfile28.rdwr.bz2: New file.
1518
1519 2006-03-09  Roland McGrath  <roland@redhat.com>
1520
1521         * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
1522
1523 2006-03-01  Roland McGrath  <roland@redhat.com>
1524
1525         * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
1526         changes matching 3.0 spec.
1527
1528 2006-01-13  Roland McGrath  <roland@redhat.com>
1529
1530         * run-native-test.sh: Do kill -9 and reap explicitly at end, since
1531         bash 3.1 whines when it's done in the trap 0 handler.
1532
1533 2006-01-11  Roland McGrath  <roland@redhat.com>
1534
1535         * testfile26.bz2: New data file.
1536         * testfile27.bz2: New data file.
1537         * Makefile.am (EXTRA_DIST): Add them.
1538         * run-allregs.sh: Test s390 data.
1539
1540 2005-12-14  Roland McGrath  <roland@redhat.com>
1541
1542         * run-native-test.sh: Redirect output from native test process.
1543
1544 2005-12-13  Roland McGrath  <roland@redhat.com>
1545
1546         * allregs.c (main): Fail if we find no registers.
1547
1548         * run-native-test.sh: New file.
1549         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1550
1551 2005-12-10  Ulrich Drepper  <drepper@redhat.com
1552
1553         * run-readelf-test1.sh: New file.
1554         * Makefile.am (TESTS): Add run-readelf-test1.sh.
1555         (EXTRA_DIST): Likewise.
1556
1557 2005-12-07  Roland McGrath  <roland@redhat.com>
1558
1559         * ecp.c (main): Use elf_end to clean up.
1560
1561 2005-11-25  Roland McGrath  <roland@redhat.com>
1562
1563         * coverage.sh: Given -v argument, print names of unused files.
1564
1565         * addrscopes.c (main): Use dwfl_end before return.
1566         * allregs.c (main): Likewise.
1567         * find-prologues.c (main): Likewise.
1568         * funcretval.c (main): Likewise.
1569         * funcscopes.c (main): Likewise.
1570         * line2addr.c (main): Likewise.
1571
1572         * run-allregs.sh: New file.
1573         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1574
1575         * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
1576         * Makefile.am (allregs_LDADD): Updated.
1577
1578         * allregs.c: New file.
1579         * Makefile.am (noinst_PROGRAMS): Add it.
1580         (allregs_LDADD): New variable.
1581
1582 2005-11-18  Roland McGrath  <roland@redhat.com>
1583
1584         * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
1585         * test-wrapper.sh: Likewise.
1586
1587 2005-11-17  Roland McGrath  <roland@redhat.com>
1588
1589         * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
1590         environment for test-wrapper.sh.
1591         * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
1592         * test-subr.sh (installed_testrun): Likewise.
1593         Use explicit path in ${bindir}.
1594
1595         * Makefile.am (installcheck-local): Fix typo in last change.
1596
1597 2005-11-16  Roland McGrath  <roland@redhat.com>
1598
1599         * configure.ac: New file, for standalone build/dist of test suite.
1600         * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
1601         (asm_TESTS): New variable, broken out of ...
1602         (TESTS): ... here.  Also remove msg_tst.
1603         [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
1604         (installed_TESTS_ENVIRONMENT): New variable.
1605         [STANDALONE] (TESTS_ENVIRONMENT): Use that.
1606         [!STANDALONE] (installcheck-local): Likewise.
1607         [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
1608         * addrscopes.c: Include <config.h>.
1609         Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
1610         * allfcts.c: Likewise.
1611         * asm-tst1.c: Likewise.
1612         * asm-tst2.c: Likewise.
1613         * asm-tst3.c: Likewise.
1614         * asm-tst4.c: Likewise.
1615         * asm-tst5.c: Likewise.
1616         * asm-tst6.c: Likewise.
1617         * asm-tst7.c: Likewise.
1618         * asm-tst8.c: Likewise.
1619         * asm-tst9.c: Likewise.
1620         * dwflmodtest.c: Likewise.
1621         * find-prologues.c: Likewise.
1622         * funcscopes.c: Likewise.
1623         * get-aranges.c: Likewise.
1624         * get-files.c: Likewise.
1625         * get-lines.c: Likewise.
1626         * get-pubnames.c: Likewise.
1627         * line2addr.c: Likewise.
1628         * newscn.c: Likewise.
1629         * show-abbrev.c: Likewise.
1630         * show-die-info.c: Likewise.
1631         * update3.c: Likewise.
1632         * update4.c: Likewise.
1633         * funcretval.c: Likewise.
1634
1635         * dwflmodtest.c (print_instance): Don't use INTUSE.
1636         (options): Don't use N_ macro.
1637
1638 2005-11-15  Roland McGrath  <roland@redhat.com>
1639
1640         * coverage.sh: Look in backends.
1641         * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
1642         (TESTS_ENVIRONMENT): Likewise.
1643
1644         * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
1645         pass FUNCDIE direclty to dwfl_module_return_value_location.
1646
1647         * Makefile.am (BUILD_RPATH): New variable.
1648         [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
1649         (tests_rpath): New variable.
1650         (installcheck-local): Pass it to test-wrapper.sh.
1651         * test-wrapper.sh: In "installed" format, take yes/no value
1652         for elfutils_tests_rpath, which export.  When running a test
1653         binary for installcheck, exit 77.
1654         * test-subr.sh (installed_testrun): When running a test binary
1655         for installcheck, exit 77 if $elfutils_tests_rpath = yes.
1656
1657 2005-11-14  Roland McGrath  <roland@redhat.com>
1658
1659         * test-subr.sh: New file.
1660         * test-wrapper.sh: New file.
1661         * Makefile.am (EXTRA_DIST): Add them.
1662         (AM_LDFLAGS): Variable removed.
1663         (TESTS_ENVIRONMENT): New variable.
1664         (installcheck-local): New target.
1665         * run-addrscopes.sh: Use test-subr.sh.
1666         * run-allfcts.sh: Likewise.
1667         * run-ecp-test.sh: Likewise.
1668         * run-ecp-test2.sh: Likewise.
1669         * run-elflint-self.sh: Likewise.
1670         * run-elflint-test.sh: Likewise.
1671         * run-find-prologues.sh: Likewise.
1672         * run-funcscopes.sh: Likewise.
1673         * run-get-aranges.sh: Likewise.
1674         * run-get-files.sh: Likewise.
1675         * run-get-lines.sh: Likewise.
1676         * run-get-pubnames.sh: Likewise.
1677         * run-line2addr.sh: Likewise.
1678         * run-ranlib-test.sh: Likewise.
1679         * run-ranlib-test2.sh: Likewise.
1680         * run-show-abbrev.sh: Likewise.
1681         * run-show-ciefde.sh: Likewise.
1682         * run-show-die-info.sh: Likewise.
1683         * run-strings-test.sh: Likewise.
1684         * run-strip-test.sh: Likewise.
1685
1686 2005-11-13  Roland McGrath  <roland@redhat.com>
1687
1688         * funcretval.c: New file.
1689         * Makefile.am (noinst_PROGRAMS): Add it.
1690         (funcretval_LDADD): New variable.
1691
1692 2005-11-09  Ulrich Drepper  <drepper@redhat.com>
1693
1694         * line2addr.c (handle_module): Add missing parameter to printf.
1695
1696 2005-10-27  Roland McGrath  <roland@redhat.com>
1697
1698         * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
1699         * funcscopes.c (handle_function): Likewise.
1700         * dwflmodtest.c (print_inline, print_func): Likewise.
1701         * find-prologues.c (handle_function): Likewise.
1702
1703 2005-10-27  Roland McGrath  <roland@redhat.com>
1704
1705         * run-find-prologues.sh: New file.
1706         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1707
1708         * find-prologues.c (handle_function): Skip inlines.
1709
1710 2005-10-25  Roland McGrath  <roland@redhat.com>
1711
1712         * find-prologues.c: New file.
1713         * Makefile.am (noinst_PROGRAMS): Add it.
1714         (find_prologues_LDADD): New variable.
1715
1716 2005-09-02  Ulrich Drepper  <drepper@redhat.com>
1717
1718         * run-strings-test.sh: Remove strings.out in the end.
1719
1720 2005-08-31  Ulrich Drepper  <drepper@redhat.com>
1721
1722         * run-addrscopes.sh: Use correct exit code if test cannot be performed.
1723         * run-allfcts.sh: Likewise.
1724         * run-ecp-test.sh: Likewise.
1725         * run-ecp-test2.sh: Likewise.
1726         * run-elflint-test.sh: Likewise.
1727         * run-funcscopes.sh: Likewise.
1728         * run-get-aranges.sh: Likewise.
1729         * run-get-files.sh: Likewise.
1730         * run-get-lines.sh: Likewise.
1731         * run-get-pubnames.sh: Likewise.
1732         * run-line2addr.sh: Likewise.
1733         * run-ranlib-test2.sh: Likewise.
1734         * run-show-abbrev.sh: Likewise.
1735         * run-show-ciefde.sh: Likewise.
1736         * run-show-die-info.sh: Likewise.
1737         * run-strings-test.sh: Likewise.
1738         * run-strip-test.sh: Likewise.
1739
1740 2005-08-30  Ulrich Drepper  <drepper@redhat.com>
1741
1742         * coverage.sh: Handle case where there is no .gcno file at all.
1743
1744 2005-08-29  Ulrich Drepper  <drepper@redhat.com>
1745
1746         * Makefile.am (EXTRA_DIST): Add coverage.
1747         [GCOV]: Generate coverage summary after the tests ran
1748         * coverage.sh: New file.
1749
1750 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
1751
1752         * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
1753         (CLEANFILES): Add *.gcno *.gcda *.gconv.
1754
1755 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
1756
1757         * run-strings-test.sh: New file.
1758         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1759
1760 2005-08-27  Roland McGrath  <roland@redhat.com>
1761
1762         * addrscopes.c (handle_address): Apply bias to PC addresses.
1763
1764         * run-funcscopes.sh: New file.
1765         * testfile25.bz2: New data file.
1766         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1767
1768 2005-08-26  Roland McGrath  <roland@redhat.com>
1769
1770         * addrscopes.c (dwarf_diename_integrate): Removed.
1771         (print_vars, handle_address): Use plain dwarf_diename.
1772
1773 2005-08-25  Roland McGrath  <roland@redhat.com>
1774
1775         * funcscopes.c: New file.
1776         * Makefile.am (noinst_PROGRAMS): Add it.
1777         (funcscopes_LDADD): New variable.
1778
1779         * run-addrscopes.sh: Add another case.
1780         * testfile24.bz2: New data file.
1781         * Makefile.am (EXTRA_DIST): Add it.
1782
1783         * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
1784         pass it to dwarf_getscopes.
1785         (main): Pass it, true when '=' follows an address.
1786
1787 2005-08-24  Roland McGrath  <roland@redhat.com>
1788
1789         * line2addr.c (print_address): Omit () for DSOs.
1790
1791 2005-08-24  Ulrich Drepper  <drepper@redhat.com>
1792
1793         * run-line2addr.sh: Remove testfile23 in the end.
1794
1795         * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
1796         [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
1797
1798 2005-08-22  Roland McGrath  <roland@redhat.com>
1799
1800         * run-line2addr.sh: Add a case.
1801         * testfile23.bz2: New data file.
1802         * Makefile.am (EXTRA_DIST): Add it.
1803
1804 2005-08-18  Roland McGrath  <roland@redhat.com>
1805
1806         * run-addrscopes.sh: New file.
1807         * testfile22.bz2: New data file.
1808         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1809
1810         * addrscopes.c: New file.
1811         * Makefile.am (noinst_PROGRAMS): Add it.
1812         (addrscopes_LDADD): New variable.
1813
1814 2005-08-15  Ulrich Drepper  <drepper@redhat.com>
1815
1816         * run-elflint-self.sh: Don't run test if the file doesn't exist.
1817
1818 2005-08-15  Roland McGrath  <roland@redhat.com>
1819
1820         * dwflmodtest.c (print_instance, print_inline): New functions.
1821         (print_func): Call print_inline.
1822         (options, parse_opt): Grok -i/--inlines.
1823
1824 2005-08-07  Roland McGrath  <roland@redhat.com>
1825
1826         * dwflmodtest.c: Print function details only if -f flag is given.
1827
1828 2005-08-06  Ulrich Drepper  <drepper@redhat.com>
1829
1830         * run-elflint-self.sh: New file.
1831         * Makefile.am (TESTS): Add run-elflint-self.sh.
1832         (EXTRA_DIST): Likewise.
1833
1834         * Makefile.am: Link with statis libs if BUILD_STATIC.
1835         (dwflmodtest_LDADD): Also link with -ldl.
1836
1837 2005-08-02  Ulrich Drepper  <drepper@redhat.com>
1838
1839         * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
1840         * asm-tst1.c: Adjust for new asm_begin interface.  Open backend
1841         library first.
1842         * asm-tst2.c: Likewise.
1843         * asm-tst3.c: Likewise.
1844         * asm-tst4.c: Likewise.
1845         * asm-tst5.c: Likewise.
1846         * asm-tst6.c: Likewise.
1847         * asm-tst7.c: Likewise.
1848         * asm-tst8.c: Likewise.
1849         * asm-tst9.c: Likewise.
1850
1851         * msg_tst.c: Add new error message.
1852
1853 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
1854
1855         * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
1856
1857 2005-06-01  Roland McGrath  <roland@redhat.com>
1858
1859         * line2addr.c: Rewritten using libdwfl.
1860         * run-line2addr.sh: Update test for changed arguments.
1861         * Makefile.am (INCLUDES): Add libdwfl source directory to path.
1862         (libdwfl): New variable.
1863         (line2addr_LDADD): Use it.
1864
1865 2005-07-28  Roland McGrath  <roland@redhat.com>
1866
1867         * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
1868         * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
1869         (dwflmodtest_LDADD): New variable.
1870         (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
1871
1872 2005-07-21  Ulrich Drepper  <drepper@redhat.com>
1873
1874         * testfile18.bz2: New file.
1875         * run-elflint-test.sh: New file.
1876         * Makefile.am (TESTS): Add run-elflint-test.sh.
1877         (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1878
1879 2005-05-24  Ulrich Drepper  <drepper@redhat.com>
1880
1881         * get-files.c (main): Use correct format specifier.
1882
1883 2005-05-21  Ulrich Drepper  <drepper@redhat.com>
1884
1885         * Makefile.am: Add -Wextra to CFLAGS.
1886         * get-files.c: Remove warning this produced.
1887         * get-pubnames.c: Likewise.
1888         * newfile.c: Likewise.
1889         * newscn.c: Likewise.
1890         * scnnames.c: Likewise.
1891         * showptable.c: Likewise.
1892         * test-nlist.c: Likewise.
1893         * update1.c: Likewise.
1894         * update2.c: Likewise.
1895         * update3.c: Likewise.
1896         * update4.c: Likewise.
1897
1898 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
1899
1900         * run-line2addr.sh: Remove testfile14 at the end.
1901
1902         * run-strip-test.sh: Remove debuginfo test input file as well.
1903
1904         * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
1905         .bz, not .bz2.
1906
1907 2005-05-03  Roland McGrath  <roland@redhat.com>
1908
1909         * run-strip-test.sh: Use variables for test file names.
1910         Optionally produce separate debug file and check it.
1911         * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
1912         * run-strip-test3.sh: Likewise.
1913         * run-strip-test4.sh: New file.
1914         * run-strip-test5.sh: New file.
1915         * run-strip-test6.sh: New file.
1916         * testfile15.bz: New file.
1917         * testfile15.debug.bz: New file.
1918         * testfile16.bz: New file.
1919         * testfile16.debug.bz: New file.
1920         * testfile17.bz: New file.
1921         * testfile17.debug.bz: New file.
1922         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1923
1924 2005-04-25  Ulrich Drepper  <drepper@redhat.com>
1925
1926         * run-line2addr.sh: Also use testfile14.  Adjust for correct
1927         return of multiple matches.
1928         * testfile14.bz2: New file.
1929         * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
1930
1931         * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
1932
1933 2005-04-04  Roland McGrath  <roland@redhat.com>
1934
1935         * line2addr.c (main): Initialize LINES and NLINES before calling
1936         dwarf_getsrc_file, and free LINES afterwards.
1937
1938         * allfcts.c (main): Use size_t for CUHL.
1939
1940 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
1941
1942         * line2addr.c: New file.
1943         * run-line2addr.sh: New file.
1944         * Makefile.am: Add rules to build, run, and distribute new code.
1945
1946 2005-04-02  Ulrich Drepper  <drepper@redhat.com>
1947
1948         * allfcts.c: New file.
1949         * run-allfcts.sh: New file.
1950         * Makefile.am: Add rules to build, run, and distribute new code.
1951
1952 2005-02-05  Ulrich Drepper  <drepper@redhat.com>
1953
1954         * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.  Link all test
1955         programs with -lmudflap.
1956
1957 2004-09-25  Ulrich Drepper  <drepper@redhat.com>
1958
1959         * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
1960         * asm-tst5.c (main): Likewise.
1961         * asm-tst6.c (main): Likewise.
1962
1963 2004-01-17  Ulrich Drepper  <drepper@redhat.com>
1964
1965         * Makefile.am: Support building with mudflap.
1966
1967 2004-01-12  Ulrich Drepper  <drepper@redhat.com>
1968
1969         * get-aranges.c: Rewrite to use libdw.
1970         * Makefile.am: Reenable get-aranges test.
1971
1972 2004-01-11  Ulrich Drepper  <drepper@redhat.com>
1973
1974         * get-lines.c: New file.
1975         * get-files.c: Adjust for libdw.
1976         * run-get-files.sh: Adjust expected result.
1977         * run-get-lines.sh: Likewise.
1978         * Makefile.am: Run get-lines test.  Don't run get-aranges and
1979         get-ciefde test for now.
1980
1981         * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
1982         change.  Print attribute offset information.
1983         * run-show-abbrev.sh: Adjust expected output.
1984
1985 2004-01-09  Ulrich Drepper  <drepper@redhat.com>
1986
1987         * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
1988         * show-die-info.c: Likewise.
1989         * run-show-die-info.sh: Adjust expected output.
1990
1991 2003-08-13  Ulrich Drepper  <drepper@redhat.com>
1992
1993         * Makefile.in: Depend on libebl.a, not libebl.so.
1994
1995 2003-08-11  Ulrich Drepper  <drepper@redhat.com>
1996
1997         * Moved to CVS archive.