Clean up byte order handling in md5 and sha1 code.
[platform/upstream/elfutils.git] / tests / ChangeLog
1 2011-07-09  Roland McGrath  <roland@hack.frob.com>
2
3         * sha1-tst.c: File removed.
4         * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
5         (sha1_tst_LDADD): Variable removed.
6
7         * md5-sha1-test.c: New file.
8         * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
9         (md5_sha1_test_LDADD): New variable.
10
11 2011-05-30  Mark Wielaard  <mjw@redhat.com>
12
13         * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
14         run-rerequest_tag.sh
15
16 2011-05-24  Mark Wielaard  <mjw@redhat.com>
17
18         * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
19         * run-strip-reloc.sh: Add hello_s390.ko testcase.
20         * hello_s390.ko.bz2: New test file.
21
22 2011-05-23  Mark Wielaard  <mjw@redhat.com>
23
24         * Makefile.am (TESTS): Add run-strip-reloc.sh.
25         (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
26         hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
27         * run-strip-reloc.sh: New test.
28         * hello_i386.ko.bz2: New test file.
29         * hello_x86_64.ko.bz2: Likewise.
30         * hello_ppc64.ko.bz2: Likewise.
31
32 2011-05-18  Mark Wielaard  <mjw@redhat.com>
33
34         * run-strip-groups.sh: New test.
35         * testfile58.bz2: New test file.
36         * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
37         (TESTS): Add run-strip-groups.sh.
38         (EXTRA_DIST): Likewise.
39
40 2011-03-28  Marek Polacek  <mpolacek@redhat.com>
41
42         * alldts.c: New file.
43         * run-alldts.sh: Use it.
44         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
45         (alldts_LDADD): New variable.
46
47 2011-03-02  Marek Polacek  <mpolacek@redhat.com>
48
49         * dwarf-getstring.c: New test.
50         * run-dwarf-getstring.sh: And its wrapper.
51         * Makefile.am (EXTRA_DIST): Add and update all.
52
53 2011-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
54
55         * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
56         * run-readelf-twofiles.sh: New file.
57
58 2011-02-25  Mark Wielaard  <mjw@redhat.com>
59
60         * Makefile.am (BUILD_RPATH): Be consistent in naming.
61
62 2011-02-02  Josh Stone  <jistone@redhat.com>
63
64         * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
65         * testfile55-64.bz2, testfile55-64.debug.bz2,
66         testfile55-64.prelink.bz2, testfile55-32.bz2,
67         testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
68         * Makefile.am (EXTRA_DIST): Add and update all.
69
70 2011-01-12  Roland McGrath  <roland@redhat.com>
71
72         * run-prelink-addr-test.sh: Make symlinks to find .debug files
73         corresponding to .noshdrs files.
74
75 2011-01-11  Josh Stone  <jistone@redhat.com>
76
77         * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
78         * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
79         testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
80         testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
81         testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
82         * Makefile.am (EXTRA_DIST): Add and update all.
83
84         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
85         * testfile53.bz2, testfile53.debug.bz2,
86         testfile53.prelink.bz2: Deleted, so...
87         * testfile53-64.bz2, testfile53-64.debug.bz2,
88         testfile53-64.prelink.bz2: Recreated with 64-bit names.
89         * testfile53-32.bz2, testfile53-32.debug.bz2,
90         testfile53-32.prelink.bz2: New in 32-bit.
91         * Makefile.am (EXTRA_DIST): Add and update all.
92
93         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
94         * testfile52.so.bz2, testfile52.so.debug.bz2,
95         testfile52.prelink.so.bz2: Deleted, so...
96         * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
97         testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
98         * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
99         * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
100         testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
101         * Makefile.am (EXTRA_DIST): Add and update all.
102
103 2011-01-10  Josh Stone  <jistone@redhat.com>
104
105         * run-prelink-addr-test.sh: New test for prelinked addrs.
106         * Makefile.am (TESTS, EXTRA_DIST): Add it.
107         * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
108         * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
109         * testfile53.bz2, testfile53.debug.bz2: New data files.
110         * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
111         * Makefile.am (EXTRA_DIST): Add them.
112
113 2010-06-04  Roland McGrath  <roland@redhat.com>
114
115         * run-unstrip-test.sh: Also test modifying the file in place.
116
117 2010-04-22  Roland McGrath  <roland@redhat.com>
118
119         * addrcfi.c (handle_cfi): Fix function name in error message.
120         Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
121
122 2010-04-14  Roland McGrath  <roland@redhat.com>
123
124         * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
125
126 2010-04-10  Ulrich Drepper  <drepper@redhat.com>
127
128         * msg_tst.c: Adjust expected error message.
129
130 2010-04-01  Petr Machata  <pmachata@redhat.com>
131
132         * test-flag-nobits.c: New test.
133         * run-test-flag-nobits.sh: And its wrapper.
134         * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
135         (test_flag_nobits_LDADD): New variable.
136
137 2010-02-15  Roland McGrath  <roland@redhat.com>
138
139         * Makefile.am: Use config/eu.am for common stuff.
140
141         * asm-tst9.c (main): Rename local to avoid shadowing another local.
142
143 2009-07-22  Roland McGrath  <roland@redhat.com>
144
145         * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
146
147 2009-07-08  Roland McGrath  <roland@redhat.com>
148
149         * addrcfi.c: New file.
150         * Makefile.am (noinst_PROGRAMS): Add it.
151         (addrcfi_LDADD): New variable.
152
153 2009-05-07  Petr Machata  <pmachata@redhat.com>
154
155         * testfile51.bz2: New data file.
156         * dwarf-getmacros.c: New test core.
157         * run-dwarf-getmacros.sh: New test wrapper.
158         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
159         (dwarf_getmacros_LDADD): New variable.
160
161 2009-04-23  Ulrich Drepper  <drepper@redhat.com>
162
163         * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
164         (rdwrmmap_LDADD): Add $(libmudflap).
165
166 2009-04-21  Roland McGrath  <roland@redhat.com>
167
168         * testfile50.bz2: New data file.
169         * Makefile.am (EXTRA_DIST): Add it.
170         * run-dwfl-addr-sect.sh: Add a case using it.
171
172 2008-12-31  Ulrich Drepper  <drepper@redhat.com>
173
174         * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
175         mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
176         pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
177         pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
178         pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
179         pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
180         roundss, roundps, roundpd, and roundsd.
181         * testfile45.S.bz2: Likewise.
182         * testfile44.expect.bz2: Adjust accordingly.
183         * testfile45.expect.bz2: Likewise.
184
185         * testfile44.S.bz2: Add tests for blendvpd and blendvps.
186         * testfile45.S.bz2: Likewise.
187         * testfile44.expect.bz2: Adjust accordingly.
188         * testfile45.expect.bz2: Likewise.
189
190 2008-12-30  Ulrich Drepper  <drepper@redhat.com>
191
192         * testfile44.S.bz2: Add tests for blendpd and blendps.
193         * testfile45.S.bz2: Likewise.
194         * testfile44.expect.bz2: Adjust accordingly.
195         * testfile45.expect.bz2: Likewise.
196
197 2008-12-19  Ulrich Drepper  <drepper@redhat.com>
198
199         * testfile44.S.bz2: Add tests for AMD 3DNOW.
200         * testfile45.S.bz2: Likewise.
201         * testfile44.expect.bz2: Adjust accordingly.
202         * testfile45.expect.bz2: Likewise.
203
204 2008-11-26  Roland McGrath  <roland@redhat.com>
205
206         * dwfl-bug-getmodules.c: New file.
207         * Makefile.am (noinst_PROGRAMS): Add it.
208         (dwfl_bug_getmodules_LDADD): New variable.
209
210 2008-09-10  Roland McGrath  <roland@redhat.com>
211
212         * test-subr.sh (LC_ALL): Export it set to "C".
213         * run-dwfl-addr-sect.sh: Don't do it here.
214         * run-strings-test.sh: Likewise.
215
216 2008-08-21  Denys Vlasenko  <dvlasenk@redhat.com>
217
218         * run-addrname-test.sh: Add a new case.
219         * testfile49.bz2: New data file.
220         * Makefile.am (EXTRA_DIST): Add it.
221
222 2008-04-10  Roland McGrath  <roland@redhat.com>
223
224         * testfile48.bz2, testfile48.bz2.debug: New data files.
225         * Makefile.am (EXTRA_DIST): Add them.
226         * run-strip-test8.sh: Use them.
227
228         * testfile16.bz2, testfile16.debug.bz2: Replace data files.
229
230         * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
231         * run-strip-test8.sh: New file.
232         * testfile47.bz2: New data file.
233         * Makefile.am (TESTS, EXTRA_DIST): Add them.
234
235 2008-03-31  Roland McGrath  <roland@redhat.com>
236
237         * run-early-offscn.sh: New file.
238         * early-offscn.c: New file.
239         * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
240         (early_offscn_LDADD): New variable.
241
242 2008-03-19  Roland McGrath  <roland@redhat.com>
243
244         * run-addrname-test.sh: Add a new case.
245
246 2008-02-22  Roland McGrath  <roland@redhat.com>
247
248         * run-elflint-test.sh: Typo fix.
249
250 2008-02-21  Roland McGrath  <roland@redhat.com>
251
252         * run-disasm-x86.sh: Use uname instead of arch, keep tools required
253         for the build down to minimum.
254         * run-disasm-x86-64.sh: Likewise.
255
256 2008-02-20  Roland McGrath  <roland@redhat.com>
257
258         * testfile46.bz2: New data file.
259         * Makefile.am (EXTRA_DIST): Add it.
260         * run-elflint-test.sh: Test on it.
261
262 2008-02-01  Ulrich Drepper  <drepper@redhat.com>
263
264         * Makefile.am: Hook up sha1-tst.c.
265         * sha1-tst.c: New file.
266
267 2008-01-21  Roland McGrath  <roland@redhat.com>
268
269         * testfile45.S.bz2: Add tests for cltq, cqto.
270         * testfile45.expect.bz2: Adjust.
271
272 2008-01-14  Ulrich Drepper  <drepper@redhat.com>
273
274         * testfile45.S.bz2: Add more tests.
275         * testfile45.expect.bz2: Adjust.
276
277 2008-01-11  Ulrich Drepper  <drepper@redhat.com>
278
279         * testfile45.expect.bz2: Adjust for adding of address for %rip based
280         address mode.
281
282 2008-01-10  Ulrich Drepper  <drepper@redhat.com>
283
284         * testfile45.S.bz2: Add more tests.
285         * testfile45.expect.bz2: Adjust.
286
287 2008-01-08  Ulrich Drepper  <drepper@redhat.com>
288
289         * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
290         (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
291         run-disasm-x86-64.sh.
292         * run-disasm-x86-64.sh: New file.
293         * testfile45.S.bz2: New file.
294         * testfile45.expect.bz2: New file.
295         * testfile44.S.bz2: New tests.
296         * testfile44.expect.bz2: Adjust.
297
298 2008-01-04  Ulrich Drepper  <drepper@redhat.com>
299
300         * testfile44.S.bz2: New tests.
301         * testfile44.expect.bz2: Adjust.
302
303 2008-01-04  Roland McGrath  <roland@redhat.com>
304
305         * dwfl-bug-fd-leak.c (main): Add a cast.
306
307 2008-01-03  Ulrich Drepper  <drepper@redhat.com>
308
309         * testfile44.S.bz2: New tests.
310         * testfile44.expect.bz2: Adjust.
311
312 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
313
314         * line2addr.c: Use %m modifier instead of %a to appease gcc.
315
316 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
317
318         * testfile44.S.bz2: New tests.
319         * testfile44.expect.bz2: Adjust.
320
321 2007-12-31  Ulrich Drepper  <drepper@redhat.com>
322
323         * testfile44.S.bz2: New tests.
324         * testfile44.expect.bz2: Adjust.
325
326 2007-12-30  Ulrich Drepper  <drepper@redhat.com>
327
328         * testfile44.S.bz2: New tests.
329         * testfile44.expect.bz2: Adjust.
330
331 2007-12-29  Ulrich Drepper  <drepper@redhat.com>
332
333         * testfile44.s.bz2: New tests.
334         * testfile44.expect.bz2: Adjust.
335
336 2007-12-28  Ulrich Drepper  <drepper@redhat.com>
337
338         * testfile44.S.bz2: New tests.
339         * testfile44.expect.bz2: Adjust.
340
341 2007-12-27  Ulrich Drepper  <drepper@redhat.com>
342
343         * testfile44.S.bz2: New tests.
344         * testfile44.expect.bz2: Adjust.
345
346 2007-12-26  Ulrich Drepper  <drepper@redhat.com>
347
348         * testfile44.S.bz2: New tests.
349         * testfile44.expect.bz2: Adjust
350
351 2007-12-21  Ulrich Drepper  <drepper@redhat.com>
352
353         * testfile44.S.bz2: More tests.
354         * testfile44.expect.bz2: Adjust appropriately.
355
356 2007-12-19  Ulrich Drepper  <drepper@redhat.com>
357
358         * Makefile.am (TESTS): Add run-disasm.sh.
359         (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
360         testfile44.expect.bz2.
361         * run-disasm.sh: New file.
362         * testfile44.S.bz2: New file.
363         * testfile44.expect.bz2: New file.
364
365 2007-12-15  Roland McGrath  <roland@redhat.com>
366
367         * run-allregs.sh: Change expected output for powerpc spefscr.
368
369 2007-10-20  Roland McGrath  <roland@redhat.com>
370
371         * run-dwfl-addr-sect.sh: Change expected output, no errors.
372
373 2007-10-19  Roland McGrath  <roland@redhat.com>
374
375         * dwfl-addr-sect.c (handle_address): Return int.
376         Don't exit on error, just return nonzero.
377         (main): Collect results.
378         * run-dwfl-addr-sect.sh: New file.
379         * testfile43.bz2: New data file.
380         * Makefile.am (EXTRA_DIST, TESTS): Add them.
381
382 2007-10-18  Roland McGrath  <roland@redhat.com>
383
384         * run-allregs.sh: Update expected ppc output for vrsave/vscr.
385
386 2007-10-16  Roland McGrath  <roland@redhat.com>
387
388         * test-subr.sh (remove_files): Don't pass -Bb to diff.
389
390 2007-10-09  Roland McGrath  <roland@redhat.com>
391
392         * dwflmodtest.c (print_module): Don't use %p in output.
393         * run-dwfl-bug-offline-rel.sh: Updated expected output.
394
395 2007-10-08  Roland McGrath  <roland@redhat.com>
396
397         * testfile42.bz2: New data file.
398         * Makefile.am (EXTRA_DIST): Add it.
399         * run-elflint-test.sh: New test on that file.
400
401 2007-10-04  Roland McGrath  <roland@redhat.com>
402
403         * run-readelf-test4.sh: New file.
404         * Makefile.am (TESTS, EXTRA_DIST): Add it.
405
406 2007-10-03  Roland McGrath  <roland@redhat.com>
407
408         * run-readelf-test3.sh: New file.
409         * Makefile.am (TESTS, EXTRA_DIST): Add it.
410
411 2007-10-01  Roland McGrath  <roland@redhat.com>
412
413         * run-readelf-test2.sh: New file.
414         * Makefile.am (TESTS, EXTRA_DIST): Add it.
415
416 2007-09-11  Roland McGrath  <roland@redhat.com>
417
418         * run-addrname-test.sh: Add a new case.
419         * testfile41.bz2: New data file.
420         * Makefile.am (EXTRA_DIST): Add it.
421
422 2007-08-23  Roland McGrath  <roland@redhat.com>
423
424         * run-allregs.sh: Update expected x86-64 output for %rflags.
425
426 2007-08-12  Roland McGrath  <roland@redhat.com>
427
428         * run-strip-test7.sh: New file.
429         * testfile39.bz2: New data file.
430         * testfile40.bz2: New data file.
431         * testfile40.debug.bz2: New data file.
432         * Makefile.am (TESTS, EXTRA_DIST): Add them.
433
434 2007-08-09  Roland McGrath  <roland@redhat.com>
435
436         * dwfl-bug-report.c: Fix header inclusion.
437
438 2007-08-08  Roland McGrath  <roland@redhat.com>
439
440         * run-addrname-test.sh: Add a new case using addr2line -S.
441         * testfile38.bz2: New data file.
442         * Makefile.am (EXTRA_DIST): Add it.
443
444 2007-07-16  Roland McGrath  <roland@redhat.com>
445
446         * dwfl-bug-report.c: New file.
447         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
448         (dwfl_bug_report_LDADD): New variable.
449
450 2007-06-06  Roland McGrath  <roland@redhat.com>
451
452         * run-unstrip-test.sh: Declare testfile.unstrip for removal.
453
454 2007-06-05  Ulrich Drepper  <drepper@redhat.com>
455
456         * Makefile.am (EXTRA_DIST): Add missing line continuation and
457         testfile37.bz and testfile37.debug.bz2.
458
459 2007-05-23  Roland McGrath  <roland@redhat.com>
460
461         * run-allregs.sh: Update expected Alpha results.
462
463 2007-05-18  Roland McGrath  <roland@redhat.com>
464
465         * run-strip-test4.sh (stripped, debugfile): Use new reference files.
466         * testfile37.bz2: New data file.
467         * testfile37.debug.bz2: New data file.
468         * run-unstrip-test2.sh: New file.
469         * Makefile.am (TESTS, EXTRA_DIST): Add them.
470
471 2007-05-10  Roland McGrath  <roland@redhat.com>
472
473         * run-dwfl-bug-offline-rel.sh: New file.
474         * testfile36.bz2: New data file.
475         * testfile36.debug.bz2: New data file.
476         * Makefile.am (TESTS, EXTRA_DIST): Add them.
477
478 2007-04-28  Roland McGrath  <roland@redhat.com>
479
480         * run-strip-test6.sh (stripped, debugfile): Use new reference files.
481         * testfile35.bz2: New data file.
482         * testfile35.debug.bz2: New data file.
483         * run-unstrip-test.sh: New file.
484         * Makefile.am (TESTS, EXTRA_DIST): Add them.
485
486         * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
487
488 2007-04-26  Roland McGrath  <roland@redhat.com>
489
490         * run-elflint-self.sh: Run all tests even if one fails.
491
492         * run-allregs.sh: Add expected output for alpha.
493
494 2007-04-24  Roland McGrath  <roland@redhat.com>
495
496         * run-strip-test.sh: When we saved the debug info, test unstrip too.
497
498 2007-04-22  Roland McGrath  <roland@redhat.com>
499
500         * run-allregs.sh: Update expected register info.
501
502 2007-04-16  Roland McGrath  <roland@redhat.com>
503
504         * dwfl-addr-sect.c: New file.
505         * Makefile.am (noinst_PROGRAMS): Add it.
506         (dwfl_addr_sect_LDADD): New variable.
507
508 2007-04-05  Roland McGrath  <roland@redhat.com>
509
510         * get-files.c: Test dwarf_getsrcdirs.
511         * run-get-files.sh: Update expected output.
512
513 2007-04-01  Roland McGrath  <roland@redhat.com>
514
515         * run-allregs.sh: Updated expected output for x86_64.
516
517 2007-03-04  Roland McGrath  <roland@redhat.com>
518
519         * dwfl-bug-fd-leak.c: New file.
520         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
521         (dwfl_bug_fd_leak_LDADD): New variable.
522
523         * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
524         show what files have been located.
525
526 2007-02-02  Roland McGrath  <roland@redhat.com>
527
528         * run-addrname-test.sh: New file.
529         * Makefile.am (TESTS, EXTRA_DIST): Add it.
530         * testfile34.bz2: New data file.
531         * Makefile.am (EXTRA_DIST): Add it.
532
533 2007-01-20  Roland McGrath  <roland@redhat.com>
534
535         * testfile33.bz2: New data file.
536         * Makefile.am (EXTRA_DIST): Add it.
537         * run-elflint-test.sh: Test on it too.
538
539 2007-01-18  Roland McGrath  <roland@redhat.com>
540
541         * Makefile.am (CFLAGS): Don't molest it.
542
543 2007-01-11  Roland McGrath  <roland@redhat.com>
544
545         * testfile32.bz2: New data file.
546         * Makefile.am (EXTRA_DIST): Add it.
547         * run-elflint-test.sh: Test on it too.
548
549 2007-02-04  Ulrich Drepper  <drepper@redhat.com>
550
551         * arls.c: New file.
552         * Makefile (noinst_PROGRAMS): Add arls.
553
554         * run-ranlib-test2.sh: Fix type in comment.
555
556 2007-01-10  Ulrich Drepper  <drepper@redhat.com>
557
558         * run-elflint-self.sh (runtest): Show which file has the problem.
559
560 2007-01-10  Roland McGrath  <roland@redhat.com>
561
562         * dwfl-bug-addr-overflow.c: New file.
563         * Makefile.am (TESTS): Add it.
564         (dwfl_bug_addr_overflow_LDADD): New variable.
565
566 2006-12-17  Roland McGrath  <roland@redhat.com>
567
568         * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
569
570 2006-09-05  Roland McGrath  <roland@redhat.com>
571
572         * run-strings-test.sh: Export LC_ALL=C for the test.
573
574 2006-08-29  Roland McGrath  <roland@redhat.com>
575
576         * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
577         * run-arsymtest.sh: Likewise.
578
579         * run-native-test.sh (native.c compilation): Add some braces.
580
581 2006-08-22  Roland McGrath  <roland@redhat.com>
582
583         * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
584         (struct reginfo): New members bits, type.
585         (one_register, match_register): Update to take new args,
586         record and display new info.
587         (main): Display new info.
588         * run-allregs.sh: Update expected results.
589
590 2006-08-03  Roland McGrath  <roland@redhat.com>
591
592         * run-allregs.sh: Add sparc cases.
593         * testfile30.bz2: New data file.
594         * testfile31.bz2: New data file.
595         * Makefile.am (EXTRA_DIST): Add them.
596
597 2006-07-21  Roland McGrath  <roland@redhat.com>
598
599         * allregs.c (struct reginfo): Increase size of name.
600         (one_register): Assert that it's big enough.
601
602 2006-04-04  Roland McGrath  <roland@redhat.com>
603
604         * run-bug1-test.sh: Test a second case, to cover both byte orders.
605         * testfile29.bz2: New file.
606         * testfile29.rdwr.bz2: New file.
607         * Makefile.am (EXTRA_DIST): Add them.
608
609 2006-04-04  Ulrich Drepper  <drepper@redhat.com>
610
611         * Makefile.am: Add rules to run run-bug1-test.sh.
612         * rdwrmmap.c: New file.
613         * run-bug1-test.sh: New file.
614         * testfile28.bz2: New file.
615         * testfile28.rdwr.bz2: New file.
616
617 2006-03-09  Roland McGrath  <roland@redhat.com>
618
619         * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
620
621 2006-03-01  Roland McGrath  <roland@redhat.com>
622
623         * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
624         changes matching 3.0 spec.
625
626 2006-01-13  Roland McGrath  <roland@redhat.com>
627
628         * run-native-test.sh: Do kill -9 and reap explicitly at end, since
629         bash 3.1 whines when it's done in the trap 0 handler.
630
631 2006-01-11  Roland McGrath  <roland@redhat.com>
632
633         * testfile26.bz2: New data file.
634         * testfile27.bz2: New data file.
635         * Makefile.am (EXTRA_DIST): Add them.
636         * run-allregs.sh: Test s390 data.
637
638 2005-12-14  Roland McGrath  <roland@redhat.com>
639
640         * run-native-test.sh: Redirect output from native test process.
641
642 2005-12-13  Roland McGrath  <roland@redhat.com>
643
644         * allregs.c (main): Fail if we find no registers.
645
646         * run-native-test.sh: New file.
647         * Makefile.am (TESTS, EXTRA_DIST): Add it.
648
649 2005-12-10  Ulrich Drepper  <drepper@redhat.com
650
651         * run-readelf-test1.sh: New file.
652         * Makefile.am (TESTS): Add run-readelf-test1.sh.
653         (EXTRA_DIST): Likewise.
654
655 2005-12-07  Roland McGrath  <roland@redhat.com>
656
657         * ecp.c (main): Use elf_end to clean up.
658
659 2005-11-25  Roland McGrath  <roland@redhat.com>
660
661         * coverage.sh: Given -v argument, print names of unused files.
662
663         * addrscopes.c (main): Use dwfl_end before return.
664         * allregs.c (main): Likewise.
665         * find-prologues.c (main): Likewise.
666         * funcretval.c (main): Likewise.
667         * funcscopes.c (main): Likewise.
668         * line2addr.c (main): Likewise.
669
670         * run-allregs.sh: New file.
671         * Makefile.am (TESTS, EXTRA_DIST): Add it.
672
673         * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
674         * Makefile.am (allregs_LDADD): Updated.
675
676         * allregs.c: New file.
677         * Makefile.am (noinst_PROGRAMS): Add it.
678         (allregs_LDADD): New variable.
679
680 2005-11-18  Roland McGrath  <roland@redhat.com>
681
682         * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
683         * test-wrapper.sh: Likewise.
684
685 2005-11-17  Roland McGrath  <roland@redhat.com>
686
687         * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
688         environment for test-wrapper.sh.
689         * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
690         * test-subr.sh (installed_testrun): Likewise.
691         Use explicit path in ${bindir}.
692
693         * Makefile.am (installcheck-local): Fix typo in last change.
694
695 2005-11-16  Roland McGrath  <roland@redhat.com>
696
697         * configure.ac: New file, for standalone build/dist of test suite.
698         * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
699         (asm_TESTS): New variable, broken out of ...
700         (TESTS): ... here.  Also remove msg_tst.
701         [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
702         (installed_TESTS_ENVIRONMENT): New variable.
703         [STANDALONE] (TESTS_ENVIRONMENT): Use that.
704         [!STANDALONE] (installcheck-local): Likewise.
705         [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
706         * addrscopes.c: Include <config.h>.
707         Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
708         * allfcts.c: Likewise.
709         * asm-tst1.c: Likewise.
710         * asm-tst2.c: Likewise.
711         * asm-tst3.c: Likewise.
712         * asm-tst4.c: Likewise.
713         * asm-tst5.c: Likewise.
714         * asm-tst6.c: Likewise.
715         * asm-tst7.c: Likewise.
716         * asm-tst8.c: Likewise.
717         * asm-tst9.c: Likewise.
718         * dwflmodtest.c: Likewise.
719         * find-prologues.c: Likewise.
720         * funcscopes.c: Likewise.
721         * get-aranges.c: Likewise.
722         * get-files.c: Likewise.
723         * get-lines.c: Likewise.
724         * get-pubnames.c: Likewise.
725         * line2addr.c: Likewise.
726         * newscn.c: Likewise.
727         * show-abbrev.c: Likewise.
728         * show-die-info.c: Likewise.
729         * update3.c: Likewise.
730         * update4.c: Likewise.
731         * funcretval.c: Likewise.
732
733         * dwflmodtest.c (print_instance): Don't use INTUSE.
734         (options): Don't use N_ macro.
735
736 2005-11-15  Roland McGrath  <roland@redhat.com>
737
738         * coverage.sh: Look in backends.
739         * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
740         (TESTS_ENVIRONMENT): Likewise.
741
742         * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
743         pass FUNCDIE direclty to dwfl_module_return_value_location.
744
745         * Makefile.am (BUILD_RPATH): New variable.
746         [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
747         (tests_rpath): New variable.
748         (installcheck-local): Pass it to test-wrapper.sh.
749         * test-wrapper.sh: In "installed" format, take yes/no value
750         for elfutils_tests_rpath, which export.  When running a test
751         binary for installcheck, exit 77.
752         * test-subr.sh (installed_testrun): When running a test binary
753         for installcheck, exit 77 if $elfutils_tests_rpath = yes.
754
755 2005-11-14  Roland McGrath  <roland@redhat.com>
756
757         * test-subr.sh: New file.
758         * test-wrapper.sh: New file.
759         * Makefile.am (EXTRA_DIST): Add them.
760         (AM_LDFLAGS): Variable removed.
761         (TESTS_ENVIRONMENT): New variable.
762         (installcheck-local): New target.
763         * run-addrscopes.sh: Use test-subr.sh.
764         * run-allfcts.sh: Likewise.
765         * run-ecp-test.sh: Likewise.
766         * run-ecp-test2.sh: Likewise.
767         * run-elflint-self.sh: Likewise.
768         * run-elflint-test.sh: Likewise.
769         * run-find-prologues.sh: Likewise.
770         * run-funcscopes.sh: Likewise.
771         * run-get-aranges.sh: Likewise.
772         * run-get-files.sh: Likewise.
773         * run-get-lines.sh: Likewise.
774         * run-get-pubnames.sh: Likewise.
775         * run-line2addr.sh: Likewise.
776         * run-ranlib-test.sh: Likewise.
777         * run-ranlib-test2.sh: Likewise.
778         * run-show-abbrev.sh: Likewise.
779         * run-show-ciefde.sh: Likewise.
780         * run-show-die-info.sh: Likewise.
781         * run-strings-test.sh: Likewise.
782         * run-strip-test.sh: Likewise.
783
784 2005-11-13  Roland McGrath  <roland@redhat.com>
785
786         * funcretval.c: New file.
787         * Makefile.am (noinst_PROGRAMS): Add it.
788         (funcretval_LDADD): New variable.
789
790 2005-11-09  Ulrich Drepper  <drepper@redhat.com>
791
792         * line2addr.c (handle_module): Add missing parameter to printf.
793
794 2005-10-27  Roland McGrath  <roland@redhat.com>
795
796         * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
797         * funcscopes.c (handle_function): Likewise.
798         * dwflmodtest.c (print_inline, print_func): Likewise.
799         * find-prologues.c (handle_function): Likewise.
800
801 2005-10-27  Roland McGrath  <roland@redhat.com>
802
803         * run-find-prologues.sh: New file.
804         * Makefile.am (TESTS, EXTRA_DIST): Add it.
805
806         * find-prologues.c (handle_function): Skip inlines.
807
808 2005-10-25  Roland McGrath  <roland@redhat.com>
809
810         * find-prologues.c: New file.
811         * Makefile.am (noinst_PROGRAMS): Add it.
812         (find_prologues_LDADD): New variable.
813
814 2005-09-02  Ulrich Drepper  <drepper@redhat.com>
815
816         * run-strings-test.sh: Remove strings.out in the end.
817
818 2005-08-31  Ulrich Drepper  <drepper@redhat.com>
819
820         * run-addrscopes.sh: Use correct exit code if test cannot be performed.
821         * run-allfcts.sh: Likewise.
822         * run-ecp-test.sh: Likewise.
823         * run-ecp-test2.sh: Likewise.
824         * run-elflint-test.sh: Likewise.
825         * run-funcscopes.sh: Likewise.
826         * run-get-aranges.sh: Likewise.
827         * run-get-files.sh: Likewise.
828         * run-get-lines.sh: Likewise.
829         * run-get-pubnames.sh: Likewise.
830         * run-line2addr.sh: Likewise.
831         * run-ranlib-test2.sh: Likewise.
832         * run-show-abbrev.sh: Likewise.
833         * run-show-ciefde.sh: Likewise.
834         * run-show-die-info.sh: Likewise.
835         * run-strings-test.sh: Likewise.
836         * run-strip-test.sh: Likewise.
837
838 2005-08-30  Ulrich Drepper  <drepper@redhat.com>
839
840         * coverage.sh: Handle case where there is no .gcno file at all.
841
842 2005-08-29  Ulrich Drepper  <drepper@redhat.com>
843
844         * Makefile.am (EXTRA_DIST): Add coverage.
845         [GCOV]: Generate coverage summary after the tests ran
846         * coverage.sh: New file.
847
848 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
849
850         * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
851         (CLEANFILES): Add *.gcno *.gcda *.gconv.
852
853 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
854
855         * run-strings-test.sh: New file.
856         * Makefile.am (TESTS, EXTRA_DIST): Add it.
857
858 2005-08-27  Roland McGrath  <roland@redhat.com>
859
860         * addrscopes.c (handle_address): Apply bias to PC addresses.
861
862         * run-funcscopes.sh: New file.
863         * testfile25.bz2: New data file.
864         * Makefile.am (TESTS, EXTRA_DIST): Add them.
865
866 2005-08-26  Roland McGrath  <roland@redhat.com>
867
868         * addrscopes.c (dwarf_diename_integrate): Removed.
869         (print_vars, handle_address): Use plain dwarf_diename.
870
871 2005-08-25  Roland McGrath  <roland@redhat.com>
872
873         * funcscopes.c: New file.
874         * Makefile.am (noinst_PROGRAMS): Add it.
875         (funcscopes_LDADD): New variable.
876
877         * run-addrscopes.sh: Add another case.
878         * testfile24.bz2: New data file.
879         * Makefile.am (EXTRA_DIST): Add it.
880
881         * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
882         pass it to dwarf_getscopes.
883         (main): Pass it, true when '=' follows an address.
884
885 2005-08-24  Roland McGrath  <roland@redhat.com>
886
887         * line2addr.c (print_address): Omit () for DSOs.
888
889 2005-08-24  Ulrich Drepper  <drepper@redhat.com>
890
891         * run-line2addr.sh: Remove testfile23 in the end.
892
893         * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
894         [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
895
896 2005-08-22  Roland McGrath  <roland@redhat.com>
897
898         * run-line2addr.sh: Add a case.
899         * testfile23.bz2: New data file.
900         * Makefile.am (EXTRA_DIST): Add it.
901
902 2005-08-18  Roland McGrath  <roland@redhat.com>
903
904         * run-addrscopes.sh: New file.
905         * testfile22.bz2: New data file.
906         * Makefile.am (TESTS, EXTRA_DIST): Add them.
907
908         * addrscopes.c: New file.
909         * Makefile.am (noinst_PROGRAMS): Add it.
910         (addrscopes_LDADD): New variable.
911
912 2005-08-15  Ulrich Drepper  <drepper@redhat.com>
913
914         * run-elflint-self.sh: Don't run test if the file doesn't exist.
915
916 2005-08-15  Roland McGrath  <roland@redhat.com>
917
918         * dwflmodtest.c (print_instance, print_inline): New functions.
919         (print_func): Call print_inline.
920         (options, parse_opt): Grok -i/--inlines.
921
922 2005-08-07  Roland McGrath  <roland@redhat.com>
923
924         * dwflmodtest.c: Print function details only if -f flag is given.
925
926 2005-08-06  Ulrich Drepper  <drepper@redhat.com>
927
928         * run-elflint-self.sh: New file.
929         * Makefile.am (TESTS): Add run-elflint-self.sh.
930         (EXTRA_DIST): Likewise.
931
932         * Makefile.am: Link with statis libs if BUILD_STATIC.
933         (dwflmodtest_LDADD): Also link with -ldl.
934
935 2005-08-02  Ulrich Drepper  <drepper@redhat.com>
936
937         * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
938         * asm-tst1.c: Adjust for new asm_begin interface.  Open backend
939         library first.
940         * asm-tst2.c: Likewise.
941         * asm-tst3.c: Likewise.
942         * asm-tst4.c: Likewise.
943         * asm-tst5.c: Likewise.
944         * asm-tst6.c: Likewise.
945         * asm-tst7.c: Likewise.
946         * asm-tst8.c: Likewise.
947         * asm-tst9.c: Likewise.
948
949         * msg_tst.c: Add new error message.
950
951 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
952
953         * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
954
955 2005-06-01  Roland McGrath  <roland@redhat.com>
956
957         * line2addr.c: Rewritten using libdwfl.
958         * run-line2addr.sh: Update test for changed arguments.
959         * Makefile.am (INCLUDES): Add libdwfl source directory to path.
960         (libdwfl): New variable.
961         (line2addr_LDADD): Use it.
962
963 2005-07-28  Roland McGrath  <roland@redhat.com>
964
965         * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
966         * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
967         (dwflmodtest_LDADD): New variable.
968         (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
969
970 2005-07-21  Ulrich Drepper  <drepper@redhat.com>
971
972         * testfile18.bz2: New file.
973         * run-elflint-test.sh: New file.
974         * Makefile.am (TESTS): Add run-elflint-test.sh.
975         (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
976
977 2005-05-24  Ulrich Drepper  <drepper@redhat.com>
978
979         * get-files.c (main): Use correct format specifier.
980
981 2005-05-21  Ulrich Drepper  <drepper@redhat.com>
982
983         * Makefile.am: Add -Wextra to CFLAGS.
984         * get-files.c: Remove warning this produced.
985         * get-pubnames.c: Likewise.
986         * newfile.c: Likewise.
987         * newscn.c: Likewise.
988         * scnnames.c: Likewise.
989         * showptable.c: Likewise.
990         * test-nlist.c: Likewise.
991         * update1.c: Likewise.
992         * update2.c: Likewise.
993         * update3.c: Likewise.
994         * update4.c: Likewise.
995
996 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
997
998         * run-line2addr.sh: Remove testfile14 at the end.
999
1000         * run-strip-test.sh: Remove debuginfo test input file as well.
1001
1002         * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
1003         .bz, not .bz2.
1004
1005 2005-05-03  Roland McGrath  <roland@redhat.com>
1006
1007         * run-strip-test.sh: Use variables for test file names.
1008         Optionally produce separate debug file and check it.
1009         * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
1010         * run-strip-test3.sh: Likewise.
1011         * run-strip-test4.sh: New file.
1012         * run-strip-test5.sh: New file.
1013         * run-strip-test6.sh: New file.
1014         * testfile15.bz: New file.
1015         * testfile15.debug.bz: New file.
1016         * testfile16.bz: New file.
1017         * testfile16.debug.bz: New file.
1018         * testfile17.bz: New file.
1019         * testfile17.debug.bz: New file.
1020         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1021
1022 2005-04-25  Ulrich Drepper  <drepper@redhat.com>
1023
1024         * run-line2addr.sh: Also use testfile14.  Adjust for correct
1025         return of multiple matches.
1026         * testfile14.bz2: New file.
1027         * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
1028
1029         * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
1030
1031 2005-04-04  Roland McGrath  <roland@redhat.com>
1032
1033         * line2addr.c (main): Initialize LINES and NLINES before calling
1034         dwarf_getsrc_file, and free LINES afterwards.
1035
1036         * allfcts.c (main): Use size_t for CUHL.
1037
1038 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
1039
1040         * line2addr.c: New file.
1041         * run-line2addr.sh: New file.
1042         * Makefile.am: Add rules to build, run, and distribute new code.
1043
1044 2005-04-02  Ulrich Drepper  <drepper@redhat.com>
1045
1046         * allfcts.c: New file.
1047         * run-allfcts.sh: New file.
1048         * Makefile.am: Add rules to build, run, and distribute new code.
1049
1050 2005-02-05  Ulrich Drepper  <drepper@redhat.com>
1051
1052         * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.  Link all test
1053         programs with -lmudflap.
1054
1055 2004-09-25  Ulrich Drepper  <drepper@redhat.com>
1056
1057         * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
1058         * asm-tst5.c (main): Likewise.
1059         * asm-tst6.c (main): Likewise.
1060
1061 2004-01-17  Ulrich Drepper  <drepper@redhat.com>
1062
1063         * Makefile.am: Support building with mudflap.
1064
1065 2004-01-12  Ulrich Drepper  <drepper@redhat.com>
1066
1067         * get-aranges.c: Rewrite to use libdw.
1068         * Makefile.am: Reenable get-aranges test.
1069
1070 2004-01-11  Ulrich Drepper  <drepper@redhat.com>
1071
1072         * get-lines.c: New file.
1073         * get-files.c: Adjust for libdw.
1074         * run-get-files.sh: Adjust expected result.
1075         * run-get-lines.sh: Likewise.
1076         * Makefile.am: Run get-lines test.  Don't run get-aranges and
1077         get-ciefde test for now.
1078
1079         * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
1080         change.  Print attribute offset information.
1081         * run-show-abbrev.sh: Adjust expected output.
1082
1083 2004-01-09  Ulrich Drepper  <drepper@redhat.com>
1084
1085         * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
1086         * show-die-info.c: Likewise.
1087         * run-show-die-info.sh: Adjust expected output.
1088
1089 2003-08-13  Ulrich Drepper  <drepper@redhat.com>
1090
1091         * Makefile.in: Depend on libebl.a, not libebl.so.
1092
1093 2003-08-11  Ulrich Drepper  <drepper@redhat.com>
1094
1095         * Moved to CVS archive.