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