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