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