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