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