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