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