Improve AM_SILENT_RULES coverage
[platform/upstream/elfutils.git] / tests / ChangeLog
1 2015-10-05  Josh Stone  <jistone@redhat.com>
2
3         * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
4
5 2015-10-02  Mark Wielaard  <mjw@redhat.com>
6
7         * elfstrmerge.c: New check program.
8         * run-strip-strmerge.sh: New test.
9         * Makefile.am (check_PROGRAMS): Add elfstrmerge.
10         (EXTRA_DIST): Add run-strip-strmerge.sh
11         (elfstrmerge_LDADD): New variable.
12
13 2015-09-29  Mark Wielaard  <mjw@redhat.com>
14
15         * elfshphehdr.c: New test.
16         * Makefile.am (check_PROGRAMS): Add elfshphehdr.
17         (TESTS): Likewise.
18         (elfshphehdr_LDADD): New variable.
19
20 2015-09-08  Mark Wielaard  <mjw@redhat.com>
21
22         * dwfl-proc-attach.c: New test.
23         * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
24         (TESTS): Likewise.
25         (dwfl_proc_attach_LDADD): New variable.
26         (dwfl_proc_attach_LDFLAGS): Likewise.
27
28 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
29
30         * varlocs.c (print_base_type): Initialize enctype.
31
32 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
33
34         * md5-sha1-test.c (md5_expected): Removed.
35         (sha1_expected): Likewise.
36
37 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
38
39         * asm-tst1.c (main): Replace %Z length modifier with %z.
40         * asm-tst2.c (main): Likewise.
41         * asm-tst3.c (main): Likewise.
42         * asm-tst4.c (main): Likewise.
43         * asm-tst5.c (main): Likewise.
44         * asm-tst6.c (main): Likewise.
45         * asm-tst7.c (main): Likewise.
46         * asm-tst8.c (main): Likewise.
47         * asm-tst9.c (main): Likewise.
48         * sectiondump.c (print_bytes): Likewise.
49
50 2015-08-14  Mark Wielaard  <mjw@redhat.com>
51
52         * run-addr2line-alt-debugpath.sh: New test.
53         * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
54         (EXTRA_DIST): Likewise.
55
56 2015-07-29  Mark Wielaard  <mjw@redhat.com>
57
58         * run-unstrip-test3.sh: New test.
59         * testfile-info-link.bz2: New file.
60         * testfile-info-link.debuginfo.bz2: Likewise.
61         * testfile-info-link.stripped.bz2: Likewise.
62         * Makefile.am (TESTS): Add run-unstrip-test3.sh.
63         (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
64         testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
65
66 2015-06-27  Pino Toscano  <toscano.pino@tiscali.it>
67
68         * tests/run-deleted.sh: Skip when detecting a not implemented
69         dwfl_linux_proc_attach.
70
71 2015-06-27  Pino Toscano  <toscano.pino@tiscali.it>
72
73         * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
74         dwfl_addrmodule.
75
76 2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
77
78         * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
79
80 2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
81
82         * tests/backtrace-data.c: Reduce scope of some includes to match their
83         usage.
84         * tests/backtrace.c: Likewise.
85         * tests/deleted.c: Likewise.
86
87 2015-06-16  Mark Wielaard  <mjw@redhat.com>
88
89         * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
90         for non-ET_REL files.
91
92 2015-05-30  Mark Wielaard  <mjw@redhat.com>
93
94         * backtrace-subr.sh (check_native_core): Notice core file couldn't be
95         generated before skipping.
96         * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
97         before skipping.
98         * run-backtrace-demangle.sh: Likewise.
99         * run-stack-demangled-test.sh: Likewise.
100         * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
101         before skipping.
102         * run-backtrace-native-core-biarch.sh: Likewise.
103         * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
104
105 2015-05-20  Mark Wielaard  <mjw@redhat.com>
106
107         * run-addr2line-i-test.sh: Add pretty test.
108         * run-addr2line-test.sh: Likewise.
109
110 2015-05-20  Mark Wielaard  <mjw@redhat.com>
111
112         * run-addr2line-i-demangle-test.sh: New test.
113         * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
114         (EXTRA_DIST): Likewise.
115
116 2015-05-20  Mark Wielaard  <mjw@redhat.com>
117
118         * run-addr2line-test.sh: Add -a test variants.
119         * run-addr2line-i-test.sh: Likewise.
120
121 2015-05-20  Mark Wielaard  <mjw@redhat.com>
122
123         * run-addrname-test.sh: Make sure all input addresses are hex.
124
125 2015-05-04  Max Filippov  <jcmvbkbc@gmail.com>
126
127         * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
128         * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
129         (main): Likewise.
130         * backtrace-dwarf.c (main): Likewise.
131         * backtrace.c (prepare_thread, exec_dump): Likewise.
132
133 2015-05-04  Anthony G. Basile  <blueness@gentoo.org>
134
135         * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
136         (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
137         (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
138         (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
139         (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
140
141 2015-05-01  Mark Wielaard  <mjw@redhat.com>
142
143         * run-stack-d-test.sh: Use --raw and mangled output.
144         * run-stack-i-test.sh: Likewise.
145         * run-stack-demangled-test.sh: New test.
146         * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
147         (TESTS): Likewise.
148
149 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
150
151         * Makefile.am (TESTS): Add run-strip-test10.sh.
152         (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
153         Add testfile-x32-debug.bz2.
154         * run-strip-test10.sh: New file.
155         * testfile-x32-d.bz2: Likewise.
156         * testfile-x32-debug.bz2: Likewise.
157
158 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
159
160         * Makefile.am (TESTS): Add run-strip-test9.sh.
161         (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
162         * run-strip-test9.sh: New file.
163         * testfile-x32-s.bz2: Likewise.
164
165 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
166
167         * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
168         (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
169         Add backtrace.x32.exec.bz2.
170         * backtrace.x32.core.bz2 : New file.
171         * backtrace.x32.exec.bz2: Likewise.
172         * run-backtrace-core-x32.sh: Likewise.
173
174 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
175
176         * run-addrcfi.sh: Add a test for testfile-x32.
177         * testfile-x32.bz2: New file.
178         * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
179
180 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
181
182         * run-allregs.sh: Add a test for testfile-x32-core.
183
184 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
185
186         * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
187         * testfile-x32-core.bz2: New file.
188         * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
189
190 2015-03-18  Petr Machata  <pmachata@redhat.com>
191
192         * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
193         the API changes.
194         * allregs.c (dwarf_encoding_string): Likewise.
195         * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
196         * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
197
198 2015-03-18  Petr Machata  <pmachata@redhat.com>
199
200         * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
201         debug-ranges-no-lowpc.o.bz2.
202
203 2015-03-13  Mark Wielaard  <mjw@redhat.com>
204
205         * backtrace-dwarf.c: Add explicit includes.
206         (cleanup_13_abort): Remove unused static declaration.
207         (thread_callback): Add explicit return.
208
209 2015-03-13  H.J. Lu  <hjl.tools@gmail.com>
210
211         * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
212         instead of PTRACE_POKEUSER.
213         (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
214         is_x86_64_native.
215
216 2015-02-18  Mark Wielaard  <mjw@redhat.com>
217
218         * newdata.c (check_section_data): Use PRId64 for printing loff_t.
219
220 2015-02-11  Josh Stone  <jistone@redhat.com>
221
222         * backtrace.c (exec_dump): Initialize jmp.
223
224 2015-02-11  Petr Machata  <pmachata@redhat.com>
225
226         * run-dwarf-ranges.sh: New test.
227         * dwarf-ranges.c: New file.
228         * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
229
230 2015-01-21  Mark Wielaard  <mjw@redhat.com>
231
232         * Makefile.am (check_PROGRAMS): Add elfstrtab.
233         (TESTS): Likewise.
234         (elfstrtab_LDADD): New variable.
235         * elfstrtab.c: New test.
236
237 2015-01-20  Mark Wielaard  <mjw@redhat.com>
238
239         * Makefile.am (check_PROGRAMS): Add newdata.
240         (TESTS): Likewise.
241         (newdata_LDADD): new variable.
242         * newdata.c: New test.
243
244 2015-01-20  Mark Wielaard  <mjw@redhat.com>
245
246         * strptr.c: New file.
247         * run-strptr.sh: New test.
248         * Makefile.am (check_PROGRAMS): Add strptr.
249         (TESTS): Add run-strptr.sh.
250         (EXTRA_DIST): Likewise.
251         (strptr_LDADD): New variable.
252
253 2015-01-15  Mark Wielaard  <mjw@redhat.com>
254
255         * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
256         * vdsosyms.c (main): Use getpid () instead of getppid ().
257
258 2014-12-27  Mark Wielaard  <mjw@redhat.com>
259
260         * addrscopes.c (handle_address): Last address in scope is highpc - 1.
261         * funcscopes.c (handle_function): Likewise.
262         * run-addrscopes.sh: Adjust last address in scope.
263         * run-funcscopes.sh: Likewise.
264
265 2015-01-07  Mark Wielaard  <mjw@redhat.com>
266
267         * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
268
269 2015-01-14  Mark Wielaard  <mjw@redhat.com>
270
271         * testfile-debug-types.bz2: New testfile.
272         * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
273         * typeiter2.c (main): Print both name and offset of found form DIE.
274         * run-typeiter.s: Adjust output and add testfile-debug-types.
275
276 2014-12-26  Mark Wielaard  <mjw@redhat.com>
277
278         * run-test-archive64.sh: Add nm test.
279
280 2014-12-19  Mark Wielaard  <mjw@redhat.com>
281
282         * run-deleted.sh: Don't check libfunc on ppc64.
283
284 2014-12-19  Mark Wielaard  <mjw@redhat.com>
285
286         * vdsosyms.c (vdso_seen): Removed.
287         (vdso_syms): New global.
288         (module_callback): Set and check vdso_syms.
289         (main): Return value depends on vdso_syms.
290
291 2014-12-19  Mark Wielaard  <mjw@redhat.com>
292
293         * backtrace-subr.sh (check_native_unsupported): Relax special ARM
294         grep a little.
295         * run-deleted.sh: Call check_native_unsupported.
296
297 2014-12-18  Mark Wielaard  <mjw@redhat.com>
298
299         * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
300
301 2014-12-12  Mark Wielaard  <mjw@redhat.com>
302
303         * Makefile.am (deleted_lib_so_CFLAGS): Add
304         -fasynchronous-unwind-tables.
305
306 2014-12-11  Josh Stone  <jistone@redhat.com>
307
308         * run-addr2line-i-lex-test.sh: New test.
309         * testfile-lex-inlines.bz2: New testfile.
310         * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
311         testfile-lex-inlines.bz2.
312         (TESTS): Add run-addr2line-i-lex-test.sh.
313
314 2014-12-10  Josh Stone  <jistone@redhat.com>
315
316         * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
317         preferred over the plain die name.
318
319 2014-12-02  Petr Machata  <pmachata@redhat.com>
320
321         * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
322         DW_MACRO_GNU_undef_indirect opcodes.  Add a default branch.
323         (main): Initialize off to DWARF_GETMACROS_START when an extra
324         command line argument is passed.
325         * testfile-macros-0xff.bz2: New test case.
326         * testfile-macros-0xff.s: New file (source for the above).
327         * run-dwarf-getmacros.sh: Add two tests.
328
329 2014-11-27  Mark Wielaard  <mjw@redhat.com>
330
331         * vdsosyms.c (main): Call dwfl_linux_proc_attach.
332
333 2014-11-21  Mark Wielaard  <mjw@redhat.com>
334
335         * run-readelf-A.sh: New test.
336         * testfileppc32attrs.o.bz2: New test file.
337         * Makefile.am (TESTS): Add run-readelf-A.sh.
338         (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
339
340 2014-11-10  Mark Wielaard  <mjw@redhat.com>
341
342         * vdsosyms.c: New test.
343         * Makefile.am (check_PROGRAMS): Add vdsosyms.
344         (TESTS): Likewise.
345         (vdsosyms_LDADD): New variable.
346
347 2014-09-10  Petr Machata  <pmachata@redhat.com>
348
349         * dwarf-getmacros.c: Update to use the new macro iteration
350         interfaces.
351         * run-dwarf-getmacros.sh: Adjust, add a test that uses
352         testfile-macros.
353
354 2014-10-06  Mark Wielaard  <mjw@redhat.com>
355
356         * run-aggregate-size.sh: Add testfile-sizes3.o test case.
357         * testfile-sizes3.o.bz2: New test file.
358         * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
359
360 2014-10-02  Mark Wielaard  <mjw@redhat.com>
361
362         * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
363
364 2014-10-02  Mark Wielaard  <mjw@redhat.com>
365
366         * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
367         (TESTS): Add run-aggregate-size.sh.
368         (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
369         and testfile-sizes2.o.bz2.
370         (aggregate_size_LDADD): New variable.
371         * aggregate_size.c: New file.
372         * run-aggregate-size.sh: New test.
373         * testfile-sizes1.o.bz2: New test file.
374         * testfile-sizes2.o.bz2: Likewise.
375
376 2014-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
377
378         Support NT_FILE for locating files.
379         * Makefile.am (TESTS): Add run-linkmap-cut.sh.
380         (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
381         linkmap-cut.bz2 and linkmap-cut.core.bz2 .
382         * linkmap-cut-lib.so.bz2: New file.
383         * linkmap-cut.bz2: New file.
384         * linkmap-cut.core.bz2: New file.
385         * run-linkmap-cut.sh: New file.
386         * run-unstrip-n.sh: Update its expected output.
387
388 2014-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
389
390         * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
391         (TESTS, EXTRA_DIST): Add run-deleted.sh.
392         (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
393         * deleted-lib.c: New file.
394         * deleted.c: New file.
395         * run-deleted.sh: New file.
396
397 2014-06-15  Mark Wielaard  <mjw@redhat.com>
398
399         * backtrace.c (frame_callback): Error on seeing more than 16 frames.
400
401 2014-06-13  Mark Wielaard  <mjw@redhat.com>
402
403         * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
404         frame symname.
405
406 2014-06-13  Mark Wielaard  <mjw@redhat.com>
407
408         * backtrace-subr.sh (check_native_unsupported): New function.
409         (check_native): Call it.
410         (check_native_core): Likewise.
411         * run-backtrace-dwarf.sh: Likewise.
412
413 2014-06-11  Mark Wielaard  <mjw@redhat.com>
414
415         * backtrace.c (main): Check that Dwfl was attached by calling
416         dwfl_pid and printing the error when it is not.
417
418 2014-05-18  Mark Wielaard  <mjw@redhat.com>
419
420         * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
421         (f): Likewise.
422         * testfile-backtrace-demangle.bz2: Regenerate.
423         * testfile-backtrace-demangle.core.bz2: Likewise.
424
425 2014-05-02  Mark Wielaard  <mjw@redhat.com>
426
427         * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
428         run-allfcts-multi.sh are now added unconditionally.
429
430 2014-05-01  Mark Wielaard  <mjw@redhat.com>
431
432         * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
433         subdir.
434
435 2014-04-30  Mark Wielaard  <mjw@redhat.com>
436
437         * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
438         * Makefile.am (check_PROGRAMS): Add buildid.
439         (TESTS): Add run-buildid.sh.
440         (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
441         (buildid_LDADD): New variable.
442
443 2014-04-24  Florian Weimer  <fweimer@redhat.com>
444
445         * allfcts.c (setup_alt): New function.
446         (main): Call it.  Implementation additional error checking and
447         reporting.
448
449 2014-04-24  Florian Weimer  <fweimer@redhat.com>
450
451         * debugaltlink.c, run-debugaltlink.sh: New files.
452         * Makefile.am (check_PROGRAMS): Add debugaltlink.
453         (TESTS): Add run-debugaltlink.sh.
454         (debugaltlink_LDADD): New variable.
455
456 2014-04-11  Mark Wielaard  <mjw@redhat.com>
457
458         * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
459         (check_PROGRAMS): Add debuglink.
460         (TESTS): Add run-debuglink.sh
461         (EXTRA_DIST): Likewise.
462         (debuglink_LDADD): New.
463         * debuglink.c: New file.
464         * run-debuglink.sh: Likewise.
465
466 2014-03-23  Mark Wielaard  <mjw@redhat.com>
467
468         * run-nm-self.sh: Use test = not == for string comparisons.
469
470 2014-04-22  Kurt Roeckx  <kurt@roeckx.be>
471
472         * backtrace.c: Make Linux only.
473         * backtrace-child.c: Make Linux only.
474         * backtrace-data.c: Make Linux only.
475         * backtrace-dwarf.c: Make Linux only.
476         * backtrace-subr.sh: Skip core file unwinding tests when not supported.
477
478 2014-03-14  Mark Wielaard  <mjw@redhat.com>
479
480         * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
481         LDADD lines.
482         * configure.ac: Remove MUDFLAP conditional.
483
484 2014-04-09  Mark Wielaard  <mjw@redhat.com>
485
486         * run-readelf-zdebug.sh: New test.
487         * testfile-debug.bz2: New testfile.
488         * testfile-zdebug.bz2: New testfile.
489         * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
490         (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
491         testfile-zdebug.bz2.
492
493 2014-04-10  Mark Wielaard  <mjw@redhat.com>
494
495         * testfile_i686_core.bz2: New test file.
496         * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
497         * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
498
499 2014-04-09  Mark Wielaard  <mjw@redhat.com>
500
501         * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
502         (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
503         backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
504         * run-backtrace-core-aarch64.sh: New test.
505
506 2014-03-11  Josh Stone  <jistone@redhat.com>
507
508         * testfilebaxmin.bz2: New testfile.
509         * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
510         * run-readelf-s.sh: Test testfilebaxmin.
511         * run-dwflsyms.sh: Likewise.
512
513 2014-01-26  Mark Wielaard  <mjw@redhat.com>
514
515         * backtrace-subr.sh (check_unsupported): Special case arm*.
516
517 2014-01-25  Mark Wielaard  <mjw@redhat.com>
518
519         * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
520         location expression: call_frame_cfa stack_value.
521
522 2014-01-22  Mark Wielaard  <mjw@redhat.com>
523
524         * Makefile.am (line2addr_no_Wformat): Removed.
525
526 2014-01-21  Mark Wielaard  <mjw@redhat.com>
527
528         * Makefile.am (TESTS): Add run-stack-i-test.sh.
529         (EXTRA_DIST): Likewise.
530         * run-stack-i-test.sh: New test.
531
532 2014-01-20  Mark Wielaard  <mjw@redhat.com>
533
534         * Makefile.am (TESTS): Add run-stack-d-test.sh.
535         (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
536         testfiledwarfinlines.core.bz2.
537         * run-stack-d-test.sh: New test.
538         * testfiledwarfinlines.bz2: New test file.
539         * testfiledwarfinlines.core.bz2: Likewise.
540
541 2014-01-16  Mark Wielaard  <mjw@redhat.com>
542
543         * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
544         on one ET_REL, one ET_EXEC and one ET_DYN file.
545         * test-subr.sh (self_test_files): Add two ET_REL files, only add
546         two libebl ET_DYN backend files.
547
548 2014-01-16  Mark Wielaard  <mjw@redhat.com>
549
550         * run-backtrace-demangle.sh: Check exitcode and max number of frames.
551
552 2014-01-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
553
554         Fix false FAILs on testsuite with ulimit -c unlimited.
555         * backtrace-child.c (sigusr2): Call pthread_exit.
556         (main): Return, do not call abort.
557
558 2014-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
559
560         Fix corruption of non-C++ symbols by the demangler.
561         * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
562         <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
563         (EXTRA_DIST): Add run-backtrace-demangle.sh,
564         testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
565         testfile-backtrace-demangle.core.bz2.
566         * backtrace-demangle.cc: New file.
567         * run-backtrace-demangle.sh: New file.
568         * testfile-backtrace-demangle.bz2: New file.
569         * testfile-backtrace-demangle.cc: New file.
570         * testfile-backtrace-demangle.core.bz2: New file.
571
572 2014-01-07  Matthias Klose <doko@ubuntu.com>
573
574         * backtrace-subr.sh (check_native_core): Check to see if core file
575         was created without ".PID" extension, if so mv core to core.PID.
576         Skip test if no core file was created or could be found.
577
578 2014-01-04  Mark Wielaard  <mjw@redhat.com>
579
580         * backtrace-data.c (main): Don't assert if raise returns.
581         * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
582         assume_ptrace_attached true.
583         (ptrace_detach_stopped): Removed function.
584         (main): Don't call ptrace_detach_stopped.
585         * backtrace.c (ptrace_detach_stopped): Removed function.
586         (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
587         true.
588         (exec_dump): Don't call ptrace_detach_stopped.
589
590 2014-01-04  Mark Wielaard  <mjw@redhat.com>
591
592         * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
593         if we cannot adjust core ulimit.
594
595 2014-01-04  Mark Wielaard  <mjw@redhat.com>
596
597         * cleanup-13.c (force_unwind_stop): Removed.
598         (force_unwind): Just call abort. Don't setup _Unwind_Exception and
599         don't call _Unwind_ForcedUnwind.
600
601 2014-01-03  Mark Wielaard  <mjw@redhat.com>
602
603         * run-addrcfi.sh: Add case for EM_AARCH64.
604         * testfileaarch64.bz2: New testfile.
605         * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
606
607 2013-12-30  Mark Wielaard  <mjw@redhat.com>
608
609         * backtrace-dwarf.c (report_pid): Explicitly call
610         dwfl_linux_proc_attach and check for errors.
611         * backtrace.c (report_pid): Likewise.
612
613 2013-12-21  Mark Wielaard  <mjw@redhat.com>
614
615         * backtrace.c (callback_verify): Only assert that case 5 is the last
616         instruction of backtracegen on x86_64 native.
617
618 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
619             Mark Wielaard  <mjw@redhat.com>
620
621         * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
622         and testfilebaz*ppc64*.bz2 files.
623         * dwflsyms.c (list_syms): Remove unused from parameter mod_name.  Print
624         error on dwfl_module_getsymtab error.
625         (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
626         Compare values for non-ET_REL. Use dwfl_module_addrinfo.
627         Also print section of actual value if different from sym.
628         * run-addrname-test.sh (testfile66, testfile66.core): New tests.
629         Test addr2line -x by showing different sections for address and
630         found name in testfile66.
631         * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
632         testfilebaz*ppc64): New tests.
633         * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
634         testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
635         testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
636         testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
637         testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
638         testfilebaztabppc64.bz2: New test files.
639
640 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
641
642         unwinder: s390 and s390x
643         * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
644         run-backtrace-core-s390.sh.
645         (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
646         backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
647         run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
648         * backtrace.s390.core.bz2: New file.
649         * backtrace.s390.exec.bz2: New file.
650         * backtrace.s390x.core.bz2: New file.
651         * backtrace.s390x.exec.bz2: New file.
652         * run-backtrace-core-s390.sh: New file.
653         * run-backtrace-core-s390x.sh: New file.
654
655 2013-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
656
657         * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
658         code.
659
660 2013-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
661
662         unwinder: ppc
663         * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
664         (EXTRA_DIST): Add backtrace.ppc.core.bz2,
665         backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
666         * backtrace.ppc.core.bz2: New file.
667         * backtrace.ppc.exec.bz2: New file.
668         * run-backtrace-core-ppc.sh: New file.
669
670 2013-12-10  Mark Wielaard  <mjw@redhat.com>
671
672         * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
673
674 2013-12-10  Mark Wielaard  <mjw@redhat.com>
675
676         * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
677         * backtrace-subr.sh (check_native_core): Disable valgrind while
678         dumping core.
679         * run-backtrace-data.sh: Disable valgrind.
680         * run-backtrace-dwarf.sh: Likewise.
681
682 2013-12-09  Mark Wielaard  <mjw@redhat.com>
683
684         * varlocs.c (print_expr): Update comment to explain empty location
685         associated with DW_OP_GNU_implicit_pointer.
686
687 2013-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
688
689         Fix test FAIL with -O2.
690         * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
691
692 2013-12-05  Mark Wielaard  <mjw@redhat.com>
693
694         * backtrace-data.c (main): If unsupported also print to stderr.
695         * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
696
697 2013-12-04  Mark Wielaard  <mjw@redhat.com>
698
699         * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
700
701 2013-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
702
703         * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
704         backtrace-data and backtrace-dwarf.
705         (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
706         (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
707         run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
708         run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
709         run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
710         <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
711         (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
712         cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
713         run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
714         run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
715         backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
716         backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
717         (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
718         (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
719         New.
720         * backtrace-child.c: New file.
721         * backtrace-data.c: New file.
722         * backtrace-dwarf.c: New file.
723         * backtrace-subr.sh: New file.
724         * backtrace.c: New file.
725         * cleanup-13.c: New file.
726         * backtrace.i386.core.bz2: New file.
727         * backtrace.i386.exec.bz2: New file.
728         * backtrace.x86_64.core.bz2: New file.
729         * backtrace.x86_64.exec.bz2: New file.
730         * run-backtrace-core-i386.sh: New file.
731         * run-backtrace-core-x86_64.sh: New file.
732         * run-backtrace-native-biarch.sh: New file.
733         * run-backtrace-native-core-biarch.sh: New file.
734         * run-backtrace-native-core.sh: New file.
735         * run-backtrace-native.sh: New file.
736         * run-backtrace-data.sh: New file.
737         * run-backtrace-dwarf.sh: New file.
738
739 2013-11-27  Mark Wielaard  <mjw@redhat.com>
740
741         * dwflsyms.c (gelf_bind_order): New function.
742         (elf_section_name): Likewise.
743         (addr_in_section): Likewise.
744         (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
745         Refine assert using gelf_bind_order. Print elf_section_name. Check
746         bias with addr_in_section.
747         * run-dwflsyms.sh: Add section names to expected output.
748
749 2013-11-26  Mark Wielaard  <mjw@redhat.com>
750
751         * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
752
753 2013-11-25  Petr Machata  <pmachata@redhat.com>
754
755         * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
756         * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
757         * Makefile.am (EXTRA_DIST): Add these.
758         (TESTS): Add run-funcretval.sh.
759         * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
760         * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
761         * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
762         * run-funcretval.sh: New file.
763
764 2013-11-18  Josh Stone  <jistone@redhat.com>
765
766         * testfilebazdbg_plr.bz2: New testfile.
767         * testfilebazmin_plr.bz2: Likewise.
768         * Makefile.am (EXTRA_DIST): Add the above files.
769         * run-dwflsyms.sh: Add prelink -r tests.
770
771 2013-11-15  Mark Wielaard  <mjw@redhat.com>
772
773         * testfilebazmdb.bz2: Regenerated.
774         * testfilebazmin.bz2: Likewise.
775         * testfilebazdbg_pl.bz2: New testfile.
776         * testfilebazmin_pl.bz2: Likewise.
777         * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
778         testfilebazmin_pl.bz2.
779         * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
780         print relative address of function symbols.
781         * run-dwflsyms.sh: Add prelink tests and adjust expected output.
782
783 2013-11-01  Michael Forney  <mforney@mforney.org>
784
785         * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
786         * run-arsymtest.sh: Use NM.
787
788 2013-11-05  Mark Wielaard  <mjw@redhat.com>
789
790         * allfcts.c (main): Correct dwarf_getfuncs return value check.
791
792 2013-10-10  Mark Wielaard  <mjw@redhat.com>
793             Josh Stone  <jistone@redhat.com>
794
795         * run-allfcts-multi.sh: New test.
796         * test-offset-loop.bz2: New testfile.
797         * test-offset-loop.alt.bz2: New testfile.
798         * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
799         (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
800         test-offset-loop.alt.bz2.
801
802 2013-10-15  Mark Wielaard  <mjw@redhat.com>
803
804         * run-unstrip-M.sh: New test.
805         * Makefile.am (TESTS): Add run-unstrip-M.sh.
806         (EXTRA_DIST): Likewise.
807
808 2013-10-06  Mark Wielaard  <mjw@redhat.com>
809
810         * run-addrcfi.sh: Remove nop from expected ppc and ppc64
811         location expression.
812
813 2013-10-03  Josh Stone  <jistone@redhat.com>
814
815         * typeiter2.c: New file, reversing typeiter.c.
816         * run-typeiter.sh: Also run typeiter2.
817         * Makefile.am (check_PROGRAMS): Add typeiter2.
818         (typeiter2_LDADD): New variable.
819
820 2013-09-26  Petr Machata  <pmachata@redhat.com>
821
822         * run-readelf-mixed-corenote.sh: Update output of testfile71
823         dump--readelf can newly decode the NT_FILE note.
824
825 2013-09-26  Petr Machata  <pmachata@redhat.com>
826
827         * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
828         * run-readelf-mixed-corenote.sh: New test for this file.
829         * testfile71.bz2: New file.
830
831 2013-09-20  Mark Wielaard  <mjw@redhat.com>
832
833         * allfcts.c (cb): Return DWARF_CB_ABORT.
834         (main): Iterate over all offsets returned by dwarf_getfuncs.
835         * run-allfcts.sh: Add nested_funcs and class_func testcases.
836         * testfile_nested_funcs.bz2: New test file.
837         * testfile_class_func.bz2: Likewise.
838         * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
839         testfile_nested_funcs.bz2.
840
841 2013-08-30  Mark Wielaard  <mjw@redhat.com>
842
843         * Makefile.am (check_PROGRAMS): Add varlocs.
844         (TESTS): Add run-varlocs.sh.
845         (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
846         testfile_const_type.bz2, testfile_implicit_pointer.c,
847         testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
848         testfile_entry_value.c, testfile_entry_value.bz2,
849         testfile_implicit_value.c and testfile_implicit_value.bz2.
850         (varlocs_LDADD): New.
851         * run-varlocs: New test.
852         * testfile_const_type.c: New test source file.
853         * testfile_entry_value.c: Likewise.
854         * testfile_implicit_pointer.c: Likewise.
855         * testfile_implicit_value.c: Likewise.
856         * testfile_parameter_ref.c: Likewise.
857         * testfile_const_type.bz2: New test file.
858         * testfile_entry_value.bz2: Likewise.
859         * testfile_implicit_pointer.bz2: Likewise.
860         * testfile_implicit_value.bz2: Likewise.
861         * testfile_parameter_ref.bz2: Likewise.
862         * varlocs.c: New test source.
863
864 2013-08-29  Mark Wielaard  <mjw@redhat.com>
865
866         * run-addrcfi.sh: Add case for EM_ARM.
867         * testfilearm.bz2: New testfile.
868         * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
869
870 2013-08-28  Mark Wielaard  <mjw@redhat.com>
871
872         * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
873         completely missing.
874         * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
875         * testfiles390.bz2: New testfile.
876         * testfiles390x.bz2: Likewise.
877         * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
878         testfiles390x.bz2.
879
880 2013-08-28  Mark Wielaard  <mjw@redhat.com>
881
882         * addrcfi.c (handle_cfi): Use printf not error.
883         * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
884         * testfileppc32.bz2: New testfile.
885         * testfileppc64.bz2: Likewise.
886         * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
887         testfileppc64.bz2.
888
889 2013-08-27  Mark Wielaard  <mjw@redhat.com>
890
891         * run-addrcfi.sh: New test.
892         * Makefile.am (TESTS): Add run-addrcfi.sh.
893         (EXTRA_DIST): Likewise.
894         * addrcfi.c (op_name): New function.
895         (print_detail): Call and print op_name. Check ops, not result
896         to check if this is "same value" or "undefined".
897         (handle_cfi): Make sure cfa_ops doesn't point to NULL.
898
899 2013-08-13  Mark Wielaard  <mjw@redhat.com>
900
901         * run-addr2line-i-test.sh: New test.
902         * testfile-inlines.bz2: New testfile.
903         * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
904         testfile-inlines.bz2.
905         (TESTS): Add run-addr2line-i-test.sh.
906
907 2013-08-12  Mark Wielaard  <mjw@redhat.com>
908
909         * run-addr2line-test.sh: New test.
910         * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
911         (TESTS): Likewise.
912
913 2013-07-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
914
915         * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
916         the entries.
917
918 2013-07-02  Mark Wielaard  <mjw@redhat.com>
919
920         * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
921         testfilenolines.bz2.
922
923 2013-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
924
925         * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
926         test-core.core.bz2 and test-core.exec.bz2.
927         * run-addrname-test.sh: New test for these files.
928         * run-unstrip-n.sh: Update expected output.  New test for these files.
929         * test-core-lib.so.bz2: New file.
930         * test-core.core.bz2: New file.
931         * test-core.exec.bz2: New file.
932
933 2013-05-03  Mark Wielaard  <mjw@redhat.com>
934
935         * testfilenolines.bz2: New test file.
936         * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
937         * run-get-lines.sh: Run testrun_compare on testfilenolines.
938
939 2013-04-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
940
941         * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
942
943 2013-04-29  Mark Wielaard  <mjw@redhat.com>
944
945         * test-subr.sh: Don't use pushd, just cd into test-dir.
946         (exit_cleanup): Don't use popd, just cd .. to get out.
947
948 2013-04-27  Mark Wielaard  <mjw@redhat.com>
949
950         * test-subr.sh (exit_cleanup): New function.
951         (trap): Use exit_cleanup as argument.
952         * run-native-test.sh (native_exit): New function.
953         (trap): For EXIT (0) use native_exit as argument.
954
955 2013-04-27  Mark Wielaard  <mjw@redhat.com>
956
957         * update1.c (main): Use unique tempfile name and unlink file.
958         * update2.c (main): Likewise.
959         * update3.c (main): Likewise.
960         * update4.c (main): Use unique tempfile name.
961
962 2013-04-27  Mark Wielaard  <mjw@redhat.com>
963
964         * run-alldts.sh: Add testfile-alldts to tempfiles.
965         * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
966         * run-macro-test.sh: Add readelf.macros.out to tempfiles.
967         * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
968         and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
969
970 2013-04-26  Mark Wielaard  <mjw@redhat.com>
971
972         * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
973         remove wrapper.
974         (TESTS_ENVIRONMENT): Likewise.
975         (installed_LOG_COMPILER): New variable defining wrapper.
976         (LOG_COMPILER): Likewise.
977         * run-*.sh: Fixup location of input and output files.
978         * test-subr.sh: Create test_dir, pushd to execute test in.
979         (trap): Remove test_dir.
980         (testfiles): Use abs_srcdir.
981         (installed_testrun): Match on abs_builddir or abs_top_builddir.
982         (self_test_files): Adjust path.
983
984 2013-04-24  Mark Wielaard  <mjw@redhat.com>
985
986         * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
987
988 2013-03-25  Mark Wielaard  <mjw@redhat.com>
989
990         * run-readelf-aranges.sh: New test.
991         * testfilefoobarbaz.bz2: New test file.
992         * Makefile.am (TESTS): Add run-readelf-aranges.sh.
993         (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
994
995 2013-03-25  Mark Wielaard  <mjw@redhat.com>
996
997         * run-readelf-dwz-multi.sh: Expect high_pc also as address.
998
999 2013-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1000
1001         * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1002         (TESTS): Add run-dwfl-report-elf-align.sh.
1003         (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1004         testfile-dwfl-report-elf-align-shlib.so.bz2 .
1005         (dwfl_report_elf_align_LDADD): New.
1006         * dwfl-report-elf-align.c: New file.
1007         * run-dwfl-report-elf-align.sh: New file.
1008         * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1009
1010 2013-03-12  Mark Wielaard  <mjw@redhat.com>
1011
1012         * run-dwfllines.sh: New test.
1013         * dwfllines.c: New test program.
1014         * Makefile.am (TESTS): Add run-dwfllines.sh.
1015         (EXTRA_DIST): Likewise.
1016         (dwfllines_LDADD): New variable.
1017
1018 2013-02-22  Mark Wielaard  <mjw@redhat.com>
1019
1020         * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1021         (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1022
1023 2013-02-15  Mark Wielaard  <mjw@redhat.com>
1024
1025         * testfile-dwzstr.bz2: New testfile.
1026         * testfile-dwzstr.multi.bz2: Likewise.
1027         * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1028         * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1029         testfile-dwzstr.multi.bz2.
1030
1031 2013-01-30  Mark Wielaard  <mjw@redhat.com>
1032
1033         * testfileloc.bz2: New testfile.
1034         * run-readelf-loc.sh: New test.
1035         * Makefile.am (TESTS): Add run-readelf-loc.sh.
1036         (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1037
1038 2013-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1039
1040         * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1041         and s390x core notes.
1042         * testfile67.bz2: New file.
1043         * testfile68.bz2: New file.
1044         * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1045
1046 2013-01-23  Mark Wielaard  <mjw@redhat.com>
1047
1048         * testfilebasmin.bz2: New testfile.
1049         * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1050         * run-readelf-s.sh: Test testfilebasmin.
1051         * run-dwflsyms.sh: Likewise.
1052
1053 2013-01-16  Mark Wielaard  <mjw@redhat.com>
1054
1055         * Makefile.am (check_PROGRAMS): Add dwflsyms.
1056         (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1057         (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1058         testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1059         testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1060         (dwflsyms_LDADD): New variable.
1061
1062 2013-01-07  Roland McGrath  <roland@hack.frob.com>
1063
1064         * run-prelink-addr-test.sh: Use ln -snf.
1065
1066 2012-12-03  Mark Wielaard  <mjw@redhat.com>
1067
1068         * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1069
1070 2012-11-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1071
1072         * run-addrname-test.sh: New test for PIE relocation.
1073         * testfile70.core.bz2: New file.
1074         * testfile70.exec.bz2: New file.
1075         * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1076         testfile70.exec.bz2 .
1077
1078 2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1079
1080         * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1081         testfile69.core.bz2 and testfile69.so.bz2 .
1082
1083 2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1084
1085         * run-addrname-test.sh: New test for DSO with build-id bias.
1086         * testfile69.core.bz2: New file.
1087         * testfile69.so.bz2: New file.
1088
1089 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1090
1091         * run-addrname-test.sh: New test for core vDSO bias.
1092         * testfile65.bz2: New file.
1093
1094 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1095
1096         * run-addrname-test.sh: New test for symbol preferences.
1097         * testfile64.bz2: New file.
1098
1099 2012-10-01  Mark Wielaard  <mjw@redhat.com>
1100
1101         * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1102         * test-wrapper.sh: Export VALGRIND_CMD if available.
1103         * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1104         (installed_testrun): Likewise.
1105
1106 2012-09-24  Petr Machata  <pmachata@redhat.com>
1107
1108         * testfile63.bz2: New testfile.
1109         * run-readelf-mixed-corenote.sh: New test.
1110         * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1111         (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
1112
1113 2012-09-24  Petr Machata  <pmachata@redhat.com>
1114
1115         * testfile62.bz2: New testfile.
1116         * run-readelf-vmcoreinfo.sh: New test.
1117         * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
1118         (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
1119
1120 2012-09-18  Petr Machata  <pmachata@redhat.com>
1121
1122         * testfile61.bz2: New testfile.
1123         * run-allregs.sh: Run reg_test testfile61.
1124         * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
1125
1126 2012-08-24  Mark Wielaard  <mjw@redhat.com>
1127
1128         * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
1129
1130 2012-08-22  Jeff Kenton  <jkenton@tilera.com>
1131
1132         * testfile60.bz2: New testfile.
1133         * run-allregs.sh: Run reg_test testfile60.
1134
1135 2012-08-24  Mark Wielaard  <mjw@redhat.com>
1136
1137         * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
1138         ENABLE_DWZ.
1139
1140 2012-08-16  Mark Wielaard  <mjw@redhat.com>
1141
1142         * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
1143         macros.
1144         * show-die-info.c (tagnames): Removed.
1145         (attrs): Removed.
1146         (dwarf_tag_string): New function using known-dwarf macros.
1147         (dwarf_attr_string): Likewise.
1148         (handle): Call dwarf_tag_string and dwarf_attr_string instead.
1149         * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
1150
1151 2012-06-27  Mark Wielaard  <mjw@redhat.com>
1152
1153         * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
1154         (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
1155         libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
1156         testfile_multi_main.bz2.
1157         * run-readelf-dwz-multi.sh: New test.
1158         * libtestfile_multi_shared.so.bz2: New testfile.
1159         * testfile_multi.dwz.bz2: New testifle.
1160         * testfile_multi_main.bz2: New testifle.
1161
1162 2012-08-01  Petr Machata  <pmachata@redhat.com>
1163
1164         * run-test-archive64.sh: New test.
1165         * testarchive64.a.bz2: New testfile.
1166         * Makefile.am (TESTS): Add run-test-archive64.sh.
1167         (EXTRA_DIST): Likewise.
1168
1169 2012-08-01  Mark Wielaard  <mjw@redhat.com>
1170
1171         * run-nm-self.sh: New test.
1172         * run-readelf-self.sh: Likewise.
1173         * test-subr.sh (testrun_on_self_quiet): New function.
1174         * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
1175         (EXTRA_DIST): Likewise.
1176
1177 2012-08-01  Mark Wielaard  <mjw@redhat.com>
1178
1179         * test-subr.sh (self_test_files): New list of files.
1180         (testrun_on_self): New function.
1181         * run-elflint-self.sh: Use testrun_on_self.
1182
1183 2012-07-19  Mark Wielaard  <mjw@redhat.com>
1184
1185         * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
1186         (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
1187         (EXTRA_DIST): Likewise.
1188         (test_elf_cntl_gelf_getshdr_LDADD): New.
1189         test-elf_cntl_gelf_getshdr.c: New test program.
1190         run-elf_cntl_gelf_getshdr.sh: New test script.
1191
1192 2012-07-19  Mark Wielaard  <mjw@redhat.com>
1193
1194         * run-elflint-self.sh: runtests on ../backends/*so files.
1195
1196 2012-07-19  Mark Wielaard  <mjw@redhat.com>
1197
1198         * run-unstrip-n.sh: test_cleanup.
1199         * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
1200
1201 2012-07-11  Mark Wielaard  <mjw@redhat.com>
1202
1203         * run-readelf-macro.sh: New test.
1204         * testfilemacro.bz2: New testfile.
1205         * Makefile.am (TESTS): Add run-readelf-macro.sh.
1206         (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
1207
1208 2012-06-27  Mark Wielaard  <mjw@redhat.com>
1209
1210         * run-readelf-gdb-index.sh: New test.
1211         * testfilegdbindex5.bz2: New testfile.
1212         * testfilegdbindex7.bz2: Likewise.
1213         * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
1214         (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
1215         testfilegdbindex7.bz2.
1216
1217 2012-07-17  Mark Wielaard  <mjw@redhat.com>
1218
1219         * testcore-rtlib-ppc.bz2: New testfile.
1220         * run-unstrip-n.sh: Check new ppc core testfile.
1221
1222 2012-06-26  Mike Frysinger  <vapier@gentoo.org>
1223
1224         * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
1225
1226 2012-06-26  Mark Wielaard  <mjw@redhat.com>
1227
1228         * run-macro-test.sh: New test.
1229         * testfile-macinfo.bz2: New testfile.
1230         * testfile-macros.bz2: Likewise.
1231
1232 2012-05-07  Mark Wielaard  <mjw@redhat.com>
1233
1234         * low_high_pc.c: Use proper inttypes in printf formats.
1235
1236 2012-05-11  Mark Wielaard  <mjw@redhat.com>
1237
1238         * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
1239
1240 2012-05-07  Mark Wielaard  <mjw@redhat.com>
1241
1242         * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
1243
1244 2012-04-27  Mark Wielaard  <mjw@redhat.com>
1245
1246         * Makefile.am (TESTS): Add run-low_high_pc.sh
1247         (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
1248         (noinst_PROGRAMS): Add low_high_pc.
1249         (low_high_pc_LDADD): New variable.
1250         * low_high_pc.c: New test.
1251
1252 2012-04-26  Mark Wielaard  <mjw@redhat.com>
1253
1254         * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
1255         * run-show-ciefde.sh: Removed old libdwarf test.
1256         * show-ciefde.c: Likewise.
1257
1258 2012-04-02  Mark Wielaard  <mjw@redhat.com>
1259
1260         * Makefile.am (TESTS): Add run-unstrip-n.sh.
1261         (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
1262         * run-unstrip-n.sh: New test.
1263         * testcore-rtlib.bz2: New testfile.
1264
1265 2012-04-02  Mark Wielaard  <mjw@redhat.com>
1266
1267         * Makefile.am (TESTS): Add run-readelf-d.sh.
1268         (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
1269         * run-readelf-d.sh: New test.
1270         * run-elflint-test.sh: Check new testfile.
1271
1272 2012-03-21  Tom Tromey  <tromey@redhat.com>
1273
1274         * typeiter.c: New file.
1275         * run-typeiter.sh: New file.
1276         * testfile59.bz2: New file.
1277         * Makefile.am (noinst_PROGRAMS): Add typeiter.
1278         (TESTS): Add run-typeiter.sh.
1279         (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
1280         (typeiter_LDADD): New variable.
1281
1282 2012-02-21  Kurt Roeckx  <kurt@roeckx.be>
1283
1284         * run-alldts.sh: testrun ./alldts.
1285
1286 2012-02-21  Roland McGrath  <roland@hack.frob.com>
1287
1288         * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
1289         * test-subr.sh (installed_testrun): Likewise.
1290
1291 2012-01-18  Roland McGrath  <roland@hack.frob.com>
1292
1293         * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
1294         it will have been inherited correctly from the test harness.
1295         * asm-tst5.c (main): Likewise.
1296         * asm-tst6.c (main): Likewise.
1297         Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
1298
1299 2011-07-09  Roland McGrath  <roland@hack.frob.com>
1300
1301         * sha1-tst.c: File removed.
1302         * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
1303         (sha1_tst_LDADD): Variable removed.
1304
1305         * md5-sha1-test.c: New file.
1306         * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
1307         (md5_sha1_test_LDADD): New variable.
1308
1309 2011-05-30  Mark Wielaard  <mjw@redhat.com>
1310
1311         * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
1312         run-rerequest_tag.sh
1313
1314 2011-05-24  Mark Wielaard  <mjw@redhat.com>
1315
1316         * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
1317         * run-strip-reloc.sh: Add hello_s390.ko testcase.
1318         * hello_s390.ko.bz2: New test file.
1319
1320 2011-05-23  Mark Wielaard  <mjw@redhat.com>
1321
1322         * Makefile.am (TESTS): Add run-strip-reloc.sh.
1323         (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
1324         hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
1325         * run-strip-reloc.sh: New test.
1326         * hello_i386.ko.bz2: New test file.
1327         * hello_x86_64.ko.bz2: Likewise.
1328         * hello_ppc64.ko.bz2: Likewise.
1329
1330 2011-05-18  Mark Wielaard  <mjw@redhat.com>
1331
1332         * run-strip-groups.sh: New test.
1333         * testfile58.bz2: New test file.
1334         * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
1335         (TESTS): Add run-strip-groups.sh.
1336         (EXTRA_DIST): Likewise.
1337
1338 2011-03-28  Marek Polacek  <mpolacek@redhat.com>
1339
1340         * alldts.c: New file.
1341         * run-alldts.sh: Use it.
1342         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1343         (alldts_LDADD): New variable.
1344
1345 2011-03-02  Marek Polacek  <mpolacek@redhat.com>
1346
1347         * dwarf-getstring.c: New test.
1348         * run-dwarf-getstring.sh: And its wrapper.
1349         * Makefile.am (EXTRA_DIST): Add and update all.
1350
1351 2011-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1352
1353         * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
1354         * run-readelf-twofiles.sh: New file.
1355
1356 2011-02-25  Mark Wielaard  <mjw@redhat.com>
1357
1358         * Makefile.am (BUILD_RPATH): Be consistent in naming.
1359
1360 2011-02-02  Josh Stone  <jistone@redhat.com>
1361
1362         * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
1363         * testfile55-64.bz2, testfile55-64.debug.bz2,
1364         testfile55-64.prelink.bz2, testfile55-32.bz2,
1365         testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
1366         * Makefile.am (EXTRA_DIST): Add and update all.
1367
1368 2011-01-12  Roland McGrath  <roland@redhat.com>
1369
1370         * run-prelink-addr-test.sh: Make symlinks to find .debug files
1371         corresponding to .noshdrs files.
1372
1373 2011-01-11  Josh Stone  <jistone@redhat.com>
1374
1375         * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
1376         * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
1377         testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
1378         testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
1379         testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
1380         * Makefile.am (EXTRA_DIST): Add and update all.
1381
1382         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
1383         * testfile53.bz2, testfile53.debug.bz2,
1384         testfile53.prelink.bz2: Deleted, so...
1385         * testfile53-64.bz2, testfile53-64.debug.bz2,
1386         testfile53-64.prelink.bz2: Recreated with 64-bit names.
1387         * testfile53-32.bz2, testfile53-32.debug.bz2,
1388         testfile53-32.prelink.bz2: New in 32-bit.
1389         * Makefile.am (EXTRA_DIST): Add and update all.
1390
1391         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
1392         * testfile52.so.bz2, testfile52.so.debug.bz2,
1393         testfile52.prelink.so.bz2: Deleted, so...
1394         * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
1395         testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
1396         * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
1397         * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
1398         testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
1399         * Makefile.am (EXTRA_DIST): Add and update all.
1400
1401 2011-01-10  Josh Stone  <jistone@redhat.com>
1402
1403         * run-prelink-addr-test.sh: New test for prelinked addrs.
1404         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1405         * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
1406         * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
1407         * testfile53.bz2, testfile53.debug.bz2: New data files.
1408         * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
1409         * Makefile.am (EXTRA_DIST): Add them.
1410
1411 2010-06-04  Roland McGrath  <roland@redhat.com>
1412
1413         * run-unstrip-test.sh: Also test modifying the file in place.
1414
1415 2010-04-22  Roland McGrath  <roland@redhat.com>
1416
1417         * addrcfi.c (handle_cfi): Fix function name in error message.
1418         Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
1419
1420 2010-04-14  Roland McGrath  <roland@redhat.com>
1421
1422         * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
1423
1424 2010-04-10  Ulrich Drepper  <drepper@redhat.com>
1425
1426         * msg_tst.c: Adjust expected error message.
1427
1428 2010-04-01  Petr Machata  <pmachata@redhat.com>
1429
1430         * test-flag-nobits.c: New test.
1431         * run-test-flag-nobits.sh: And its wrapper.
1432         * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
1433         (test_flag_nobits_LDADD): New variable.
1434
1435 2010-02-15  Roland McGrath  <roland@redhat.com>
1436
1437         * Makefile.am: Use config/eu.am for common stuff.
1438
1439         * asm-tst9.c (main): Rename local to avoid shadowing another local.
1440
1441 2009-07-22  Roland McGrath  <roland@redhat.com>
1442
1443         * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
1444
1445 2009-07-08  Roland McGrath  <roland@redhat.com>
1446
1447         * addrcfi.c: New file.
1448         * Makefile.am (noinst_PROGRAMS): Add it.
1449         (addrcfi_LDADD): New variable.
1450
1451 2009-05-07  Petr Machata  <pmachata@redhat.com>
1452
1453         * testfile51.bz2: New data file.
1454         * dwarf-getmacros.c: New test core.
1455         * run-dwarf-getmacros.sh: New test wrapper.
1456         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1457         (dwarf_getmacros_LDADD): New variable.
1458
1459 2009-04-23  Ulrich Drepper  <drepper@redhat.com>
1460
1461         * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
1462         (rdwrmmap_LDADD): Add $(libmudflap).
1463
1464 2009-04-21  Roland McGrath  <roland@redhat.com>
1465
1466         * testfile50.bz2: New data file.
1467         * Makefile.am (EXTRA_DIST): Add it.
1468         * run-dwfl-addr-sect.sh: Add a case using it.
1469
1470 2008-12-31  Ulrich Drepper  <drepper@redhat.com>
1471
1472         * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
1473         mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
1474         pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
1475         pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
1476         pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
1477         pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
1478         roundss, roundps, roundpd, and roundsd.
1479         * testfile45.S.bz2: Likewise.
1480         * testfile44.expect.bz2: Adjust accordingly.
1481         * testfile45.expect.bz2: Likewise.
1482
1483         * testfile44.S.bz2: Add tests for blendvpd and blendvps.
1484         * testfile45.S.bz2: Likewise.
1485         * testfile44.expect.bz2: Adjust accordingly.
1486         * testfile45.expect.bz2: Likewise.
1487
1488 2008-12-30  Ulrich Drepper  <drepper@redhat.com>
1489
1490         * testfile44.S.bz2: Add tests for blendpd and blendps.
1491         * testfile45.S.bz2: Likewise.
1492         * testfile44.expect.bz2: Adjust accordingly.
1493         * testfile45.expect.bz2: Likewise.
1494
1495 2008-12-19  Ulrich Drepper  <drepper@redhat.com>
1496
1497         * testfile44.S.bz2: Add tests for AMD 3DNOW.
1498         * testfile45.S.bz2: Likewise.
1499         * testfile44.expect.bz2: Adjust accordingly.
1500         * testfile45.expect.bz2: Likewise.
1501
1502 2008-11-26  Roland McGrath  <roland@redhat.com>
1503
1504         * dwfl-bug-getmodules.c: New file.
1505         * Makefile.am (noinst_PROGRAMS): Add it.
1506         (dwfl_bug_getmodules_LDADD): New variable.
1507
1508 2008-09-10  Roland McGrath  <roland@redhat.com>
1509
1510         * test-subr.sh (LC_ALL): Export it set to "C".
1511         * run-dwfl-addr-sect.sh: Don't do it here.
1512         * run-strings-test.sh: Likewise.
1513
1514 2008-08-21  Denys Vlasenko  <dvlasenk@redhat.com>
1515
1516         * run-addrname-test.sh: Add a new case.
1517         * testfile49.bz2: New data file.
1518         * Makefile.am (EXTRA_DIST): Add it.
1519
1520 2008-04-10  Roland McGrath  <roland@redhat.com>
1521
1522         * testfile48.bz2, testfile48.bz2.debug: New data files.
1523         * Makefile.am (EXTRA_DIST): Add them.
1524         * run-strip-test8.sh: Use them.
1525
1526         * testfile16.bz2, testfile16.debug.bz2: Replace data files.
1527
1528         * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
1529         * run-strip-test8.sh: New file.
1530         * testfile47.bz2: New data file.
1531         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1532
1533 2008-03-31  Roland McGrath  <roland@redhat.com>
1534
1535         * run-early-offscn.sh: New file.
1536         * early-offscn.c: New file.
1537         * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
1538         (early_offscn_LDADD): New variable.
1539
1540 2008-03-19  Roland McGrath  <roland@redhat.com>
1541
1542         * run-addrname-test.sh: Add a new case.
1543
1544 2008-02-22  Roland McGrath  <roland@redhat.com>
1545
1546         * run-elflint-test.sh: Typo fix.
1547
1548 2008-02-21  Roland McGrath  <roland@redhat.com>
1549
1550         * run-disasm-x86.sh: Use uname instead of arch, keep tools required
1551         for the build down to minimum.
1552         * run-disasm-x86-64.sh: Likewise.
1553
1554 2008-02-20  Roland McGrath  <roland@redhat.com>
1555
1556         * testfile46.bz2: New data file.
1557         * Makefile.am (EXTRA_DIST): Add it.
1558         * run-elflint-test.sh: Test on it.
1559
1560 2008-02-01  Ulrich Drepper  <drepper@redhat.com>
1561
1562         * Makefile.am: Hook up sha1-tst.c.
1563         * sha1-tst.c: New file.
1564
1565 2008-01-21  Roland McGrath  <roland@redhat.com>
1566
1567         * testfile45.S.bz2: Add tests for cltq, cqto.
1568         * testfile45.expect.bz2: Adjust.
1569
1570 2008-01-14  Ulrich Drepper  <drepper@redhat.com>
1571
1572         * testfile45.S.bz2: Add more tests.
1573         * testfile45.expect.bz2: Adjust.
1574
1575 2008-01-11  Ulrich Drepper  <drepper@redhat.com>
1576
1577         * testfile45.expect.bz2: Adjust for adding of address for %rip based
1578         address mode.
1579
1580 2008-01-10  Ulrich Drepper  <drepper@redhat.com>
1581
1582         * testfile45.S.bz2: Add more tests.
1583         * testfile45.expect.bz2: Adjust.
1584
1585 2008-01-08  Ulrich Drepper  <drepper@redhat.com>
1586
1587         * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
1588         (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
1589         run-disasm-x86-64.sh.
1590         * run-disasm-x86-64.sh: New file.
1591         * testfile45.S.bz2: New file.
1592         * testfile45.expect.bz2: New file.
1593         * testfile44.S.bz2: New tests.
1594         * testfile44.expect.bz2: Adjust.
1595
1596 2008-01-04  Ulrich Drepper  <drepper@redhat.com>
1597
1598         * testfile44.S.bz2: New tests.
1599         * testfile44.expect.bz2: Adjust.
1600
1601 2008-01-04  Roland McGrath  <roland@redhat.com>
1602
1603         * dwfl-bug-fd-leak.c (main): Add a cast.
1604
1605 2008-01-03  Ulrich Drepper  <drepper@redhat.com>
1606
1607         * testfile44.S.bz2: New tests.
1608         * testfile44.expect.bz2: Adjust.
1609
1610 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
1611
1612         * line2addr.c: Use %m modifier instead of %a to appease gcc.
1613
1614 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
1615
1616         * testfile44.S.bz2: New tests.
1617         * testfile44.expect.bz2: Adjust.
1618
1619 2007-12-31  Ulrich Drepper  <drepper@redhat.com>
1620
1621         * testfile44.S.bz2: New tests.
1622         * testfile44.expect.bz2: Adjust.
1623
1624 2007-12-30  Ulrich Drepper  <drepper@redhat.com>
1625
1626         * testfile44.S.bz2: New tests.
1627         * testfile44.expect.bz2: Adjust.
1628
1629 2007-12-29  Ulrich Drepper  <drepper@redhat.com>
1630
1631         * testfile44.s.bz2: New tests.
1632         * testfile44.expect.bz2: Adjust.
1633
1634 2007-12-28  Ulrich Drepper  <drepper@redhat.com>
1635
1636         * testfile44.S.bz2: New tests.
1637         * testfile44.expect.bz2: Adjust.
1638
1639 2007-12-27  Ulrich Drepper  <drepper@redhat.com>
1640
1641         * testfile44.S.bz2: New tests.
1642         * testfile44.expect.bz2: Adjust.
1643
1644 2007-12-26  Ulrich Drepper  <drepper@redhat.com>
1645
1646         * testfile44.S.bz2: New tests.
1647         * testfile44.expect.bz2: Adjust
1648
1649 2007-12-21  Ulrich Drepper  <drepper@redhat.com>
1650
1651         * testfile44.S.bz2: More tests.
1652         * testfile44.expect.bz2: Adjust appropriately.
1653
1654 2007-12-19  Ulrich Drepper  <drepper@redhat.com>
1655
1656         * Makefile.am (TESTS): Add run-disasm.sh.
1657         (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1658         testfile44.expect.bz2.
1659         * run-disasm.sh: New file.
1660         * testfile44.S.bz2: New file.
1661         * testfile44.expect.bz2: New file.
1662
1663 2007-12-15  Roland McGrath  <roland@redhat.com>
1664
1665         * run-allregs.sh: Change expected output for powerpc spefscr.
1666
1667 2007-10-20  Roland McGrath  <roland@redhat.com>
1668
1669         * run-dwfl-addr-sect.sh: Change expected output, no errors.
1670
1671 2007-10-19  Roland McGrath  <roland@redhat.com>
1672
1673         * dwfl-addr-sect.c (handle_address): Return int.
1674         Don't exit on error, just return nonzero.
1675         (main): Collect results.
1676         * run-dwfl-addr-sect.sh: New file.
1677         * testfile43.bz2: New data file.
1678         * Makefile.am (EXTRA_DIST, TESTS): Add them.
1679
1680 2007-10-18  Roland McGrath  <roland@redhat.com>
1681
1682         * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1683
1684 2007-10-16  Roland McGrath  <roland@redhat.com>
1685
1686         * test-subr.sh (remove_files): Don't pass -Bb to diff.
1687
1688 2007-10-09  Roland McGrath  <roland@redhat.com>
1689
1690         * dwflmodtest.c (print_module): Don't use %p in output.
1691         * run-dwfl-bug-offline-rel.sh: Updated expected output.
1692
1693 2007-10-08  Roland McGrath  <roland@redhat.com>
1694
1695         * testfile42.bz2: New data file.
1696         * Makefile.am (EXTRA_DIST): Add it.
1697         * run-elflint-test.sh: New test on that file.
1698
1699 2007-10-04  Roland McGrath  <roland@redhat.com>
1700
1701         * run-readelf-test4.sh: New file.
1702         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1703
1704 2007-10-03  Roland McGrath  <roland@redhat.com>
1705
1706         * run-readelf-test3.sh: New file.
1707         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1708
1709 2007-10-01  Roland McGrath  <roland@redhat.com>
1710
1711         * run-readelf-test2.sh: New file.
1712         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1713
1714 2007-09-11  Roland McGrath  <roland@redhat.com>
1715
1716         * run-addrname-test.sh: Add a new case.
1717         * testfile41.bz2: New data file.
1718         * Makefile.am (EXTRA_DIST): Add it.
1719
1720 2007-08-23  Roland McGrath  <roland@redhat.com>
1721
1722         * run-allregs.sh: Update expected x86-64 output for %rflags.
1723
1724 2007-08-12  Roland McGrath  <roland@redhat.com>
1725
1726         * run-strip-test7.sh: New file.
1727         * testfile39.bz2: New data file.
1728         * testfile40.bz2: New data file.
1729         * testfile40.debug.bz2: New data file.
1730         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1731
1732 2007-08-09  Roland McGrath  <roland@redhat.com>
1733
1734         * dwfl-bug-report.c: Fix header inclusion.
1735
1736 2007-08-08  Roland McGrath  <roland@redhat.com>
1737
1738         * run-addrname-test.sh: Add a new case using addr2line -S.
1739         * testfile38.bz2: New data file.
1740         * Makefile.am (EXTRA_DIST): Add it.
1741
1742 2007-07-16  Roland McGrath  <roland@redhat.com>
1743
1744         * dwfl-bug-report.c: New file.
1745         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1746         (dwfl_bug_report_LDADD): New variable.
1747
1748 2007-06-06  Roland McGrath  <roland@redhat.com>
1749
1750         * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1751
1752 2007-06-05  Ulrich Drepper  <drepper@redhat.com>
1753
1754         * Makefile.am (EXTRA_DIST): Add missing line continuation and
1755         testfile37.bz and testfile37.debug.bz2.
1756
1757 2007-05-23  Roland McGrath  <roland@redhat.com>
1758
1759         * run-allregs.sh: Update expected Alpha results.
1760
1761 2007-05-18  Roland McGrath  <roland@redhat.com>
1762
1763         * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1764         * testfile37.bz2: New data file.
1765         * testfile37.debug.bz2: New data file.
1766         * run-unstrip-test2.sh: New file.
1767         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1768
1769 2007-05-10  Roland McGrath  <roland@redhat.com>
1770
1771         * run-dwfl-bug-offline-rel.sh: New file.
1772         * testfile36.bz2: New data file.
1773         * testfile36.debug.bz2: New data file.
1774         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1775
1776 2007-04-28  Roland McGrath  <roland@redhat.com>
1777
1778         * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1779         * testfile35.bz2: New data file.
1780         * testfile35.debug.bz2: New data file.
1781         * run-unstrip-test.sh: New file.
1782         * Makefile.am (TESTS, EXTRA_DIST): Add them.
1783
1784         * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1785
1786 2007-04-26  Roland McGrath  <roland@redhat.com>
1787
1788         * run-elflint-self.sh: Run all tests even if one fails.
1789
1790         * run-allregs.sh: Add expected output for alpha.
1791
1792 2007-04-24  Roland McGrath  <roland@redhat.com>
1793
1794         * run-strip-test.sh: When we saved the debug info, test unstrip too.
1795
1796 2007-04-22  Roland McGrath  <roland@redhat.com>
1797
1798         * run-allregs.sh: Update expected register info.
1799
1800 2007-04-16  Roland McGrath  <roland@redhat.com>
1801
1802         * dwfl-addr-sect.c: New file.
1803         * Makefile.am (noinst_PROGRAMS): Add it.
1804         (dwfl_addr_sect_LDADD): New variable.
1805
1806 2007-04-05  Roland McGrath  <roland@redhat.com>
1807
1808         * get-files.c: Test dwarf_getsrcdirs.
1809         * run-get-files.sh: Update expected output.
1810
1811 2007-04-01  Roland McGrath  <roland@redhat.com>
1812
1813         * run-allregs.sh: Updated expected output for x86_64.
1814
1815 2007-03-04  Roland McGrath  <roland@redhat.com>
1816
1817         * dwfl-bug-fd-leak.c: New file.
1818         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1819         (dwfl_bug_fd_leak_LDADD): New variable.
1820
1821         * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1822         show what files have been located.
1823
1824 2007-02-02  Roland McGrath  <roland@redhat.com>
1825
1826         * run-addrname-test.sh: New file.
1827         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1828         * testfile34.bz2: New data file.
1829         * Makefile.am (EXTRA_DIST): Add it.
1830
1831 2007-01-20  Roland McGrath  <roland@redhat.com>
1832
1833         * testfile33.bz2: New data file.
1834         * Makefile.am (EXTRA_DIST): Add it.
1835         * run-elflint-test.sh: Test on it too.
1836
1837 2007-01-18  Roland McGrath  <roland@redhat.com>
1838
1839         * Makefile.am (CFLAGS): Don't molest it.
1840
1841 2007-01-11  Roland McGrath  <roland@redhat.com>
1842
1843         * testfile32.bz2: New data file.
1844         * Makefile.am (EXTRA_DIST): Add it.
1845         * run-elflint-test.sh: Test on it too.
1846
1847 2007-02-04  Ulrich Drepper  <drepper@redhat.com>
1848
1849         * arls.c: New file.
1850         * Makefile (noinst_PROGRAMS): Add arls.
1851
1852         * run-ranlib-test2.sh: Fix type in comment.
1853
1854 2007-01-10  Ulrich Drepper  <drepper@redhat.com>
1855
1856         * run-elflint-self.sh (runtest): Show which file has the problem.
1857
1858 2007-01-10  Roland McGrath  <roland@redhat.com>
1859
1860         * dwfl-bug-addr-overflow.c: New file.
1861         * Makefile.am (TESTS): Add it.
1862         (dwfl_bug_addr_overflow_LDADD): New variable.
1863
1864 2006-12-17  Roland McGrath  <roland@redhat.com>
1865
1866         * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
1867
1868 2006-09-05  Roland McGrath  <roland@redhat.com>
1869
1870         * run-strings-test.sh: Export LC_ALL=C for the test.
1871
1872 2006-08-29  Roland McGrath  <roland@redhat.com>
1873
1874         * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
1875         * run-arsymtest.sh: Likewise.
1876
1877         * run-native-test.sh (native.c compilation): Add some braces.
1878
1879 2006-08-22  Roland McGrath  <roland@redhat.com>
1880
1881         * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
1882         (struct reginfo): New members bits, type.
1883         (one_register, match_register): Update to take new args,
1884         record and display new info.
1885         (main): Display new info.
1886         * run-allregs.sh: Update expected results.
1887
1888 2006-08-03  Roland McGrath  <roland@redhat.com>
1889
1890         * run-allregs.sh: Add sparc cases.
1891         * testfile30.bz2: New data file.
1892         * testfile31.bz2: New data file.
1893         * Makefile.am (EXTRA_DIST): Add them.
1894
1895 2006-07-21  Roland McGrath  <roland@redhat.com>
1896
1897         * allregs.c (struct reginfo): Increase size of name.
1898         (one_register): Assert that it's big enough.
1899
1900 2006-04-04  Roland McGrath  <roland@redhat.com>
1901
1902         * run-bug1-test.sh: Test a second case, to cover both byte orders.
1903         * testfile29.bz2: New file.
1904         * testfile29.rdwr.bz2: New file.
1905         * Makefile.am (EXTRA_DIST): Add them.
1906
1907 2006-04-04  Ulrich Drepper  <drepper@redhat.com>
1908
1909         * Makefile.am: Add rules to run run-bug1-test.sh.
1910         * rdwrmmap.c: New file.
1911         * run-bug1-test.sh: New file.
1912         * testfile28.bz2: New file.
1913         * testfile28.rdwr.bz2: New file.
1914
1915 2006-03-09  Roland McGrath  <roland@redhat.com>
1916
1917         * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
1918
1919 2006-03-01  Roland McGrath  <roland@redhat.com>
1920
1921         * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
1922         changes matching 3.0 spec.
1923
1924 2006-01-13  Roland McGrath  <roland@redhat.com>
1925
1926         * run-native-test.sh: Do kill -9 and reap explicitly at end, since
1927         bash 3.1 whines when it's done in the trap 0 handler.
1928
1929 2006-01-11  Roland McGrath  <roland@redhat.com>
1930
1931         * testfile26.bz2: New data file.
1932         * testfile27.bz2: New data file.
1933         * Makefile.am (EXTRA_DIST): Add them.
1934         * run-allregs.sh: Test s390 data.
1935
1936 2005-12-14  Roland McGrath  <roland@redhat.com>
1937
1938         * run-native-test.sh: Redirect output from native test process.
1939
1940 2005-12-13  Roland McGrath  <roland@redhat.com>
1941
1942         * allregs.c (main): Fail if we find no registers.
1943
1944         * run-native-test.sh: New file.
1945         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1946
1947 2005-12-10  Ulrich Drepper  <drepper@redhat.com
1948
1949         * run-readelf-test1.sh: New file.
1950         * Makefile.am (TESTS): Add run-readelf-test1.sh.
1951         (EXTRA_DIST): Likewise.
1952
1953 2005-12-07  Roland McGrath  <roland@redhat.com>
1954
1955         * ecp.c (main): Use elf_end to clean up.
1956
1957 2005-11-25  Roland McGrath  <roland@redhat.com>
1958
1959         * coverage.sh: Given -v argument, print names of unused files.
1960
1961         * addrscopes.c (main): Use dwfl_end before return.
1962         * allregs.c (main): Likewise.
1963         * find-prologues.c (main): Likewise.
1964         * funcretval.c (main): Likewise.
1965         * funcscopes.c (main): Likewise.
1966         * line2addr.c (main): Likewise.
1967
1968         * run-allregs.sh: New file.
1969         * Makefile.am (TESTS, EXTRA_DIST): Add it.
1970
1971         * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
1972         * Makefile.am (allregs_LDADD): Updated.
1973
1974         * allregs.c: New file.
1975         * Makefile.am (noinst_PROGRAMS): Add it.
1976         (allregs_LDADD): New variable.
1977
1978 2005-11-18  Roland McGrath  <roland@redhat.com>
1979
1980         * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
1981         * test-wrapper.sh: Likewise.
1982
1983 2005-11-17  Roland McGrath  <roland@redhat.com>
1984
1985         * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
1986         environment for test-wrapper.sh.
1987         * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
1988         * test-subr.sh (installed_testrun): Likewise.
1989         Use explicit path in ${bindir}.
1990
1991         * Makefile.am (installcheck-local): Fix typo in last change.
1992
1993 2005-11-16  Roland McGrath  <roland@redhat.com>
1994
1995         * configure.ac: New file, for standalone build/dist of test suite.
1996         * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
1997         (asm_TESTS): New variable, broken out of ...
1998         (TESTS): ... here.  Also remove msg_tst.
1999         [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2000         (installed_TESTS_ENVIRONMENT): New variable.
2001         [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2002         [!STANDALONE] (installcheck-local): Likewise.
2003         [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2004         * addrscopes.c: Include <config.h>.
2005         Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2006         * allfcts.c: Likewise.
2007         * asm-tst1.c: Likewise.
2008         * asm-tst2.c: Likewise.
2009         * asm-tst3.c: Likewise.
2010         * asm-tst4.c: Likewise.
2011         * asm-tst5.c: Likewise.
2012         * asm-tst6.c: Likewise.
2013         * asm-tst7.c: Likewise.
2014         * asm-tst8.c: Likewise.
2015         * asm-tst9.c: Likewise.
2016         * dwflmodtest.c: Likewise.
2017         * find-prologues.c: Likewise.
2018         * funcscopes.c: Likewise.
2019         * get-aranges.c: Likewise.
2020         * get-files.c: Likewise.
2021         * get-lines.c: Likewise.
2022         * get-pubnames.c: Likewise.
2023         * line2addr.c: Likewise.
2024         * newscn.c: Likewise.
2025         * show-abbrev.c: Likewise.
2026         * show-die-info.c: Likewise.
2027         * update3.c: Likewise.
2028         * update4.c: Likewise.
2029         * funcretval.c: Likewise.
2030
2031         * dwflmodtest.c (print_instance): Don't use INTUSE.
2032         (options): Don't use N_ macro.
2033
2034 2005-11-15  Roland McGrath  <roland@redhat.com>
2035
2036         * coverage.sh: Look in backends.
2037         * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2038         (TESTS_ENVIRONMENT): Likewise.
2039
2040         * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2041         pass FUNCDIE direclty to dwfl_module_return_value_location.
2042
2043         * Makefile.am (BUILD_RPATH): New variable.
2044         [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2045         (tests_rpath): New variable.
2046         (installcheck-local): Pass it to test-wrapper.sh.
2047         * test-wrapper.sh: In "installed" format, take yes/no value
2048         for elfutils_tests_rpath, which export.  When running a test
2049         binary for installcheck, exit 77.
2050         * test-subr.sh (installed_testrun): When running a test binary
2051         for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2052
2053 2005-11-14  Roland McGrath  <roland@redhat.com>
2054
2055         * test-subr.sh: New file.
2056         * test-wrapper.sh: New file.
2057         * Makefile.am (EXTRA_DIST): Add them.
2058         (AM_LDFLAGS): Variable removed.
2059         (TESTS_ENVIRONMENT): New variable.
2060         (installcheck-local): New target.
2061         * run-addrscopes.sh: Use test-subr.sh.
2062         * run-allfcts.sh: Likewise.
2063         * run-ecp-test.sh: Likewise.
2064         * run-ecp-test2.sh: Likewise.
2065         * run-elflint-self.sh: Likewise.
2066         * run-elflint-test.sh: Likewise.
2067         * run-find-prologues.sh: Likewise.
2068         * run-funcscopes.sh: Likewise.
2069         * run-get-aranges.sh: Likewise.
2070         * run-get-files.sh: Likewise.
2071         * run-get-lines.sh: Likewise.
2072         * run-get-pubnames.sh: Likewise.
2073         * run-line2addr.sh: Likewise.
2074         * run-ranlib-test.sh: Likewise.
2075         * run-ranlib-test2.sh: Likewise.
2076         * run-show-abbrev.sh: Likewise.
2077         * run-show-ciefde.sh: Likewise.
2078         * run-show-die-info.sh: Likewise.
2079         * run-strings-test.sh: Likewise.
2080         * run-strip-test.sh: Likewise.
2081
2082 2005-11-13  Roland McGrath  <roland@redhat.com>
2083
2084         * funcretval.c: New file.
2085         * Makefile.am (noinst_PROGRAMS): Add it.
2086         (funcretval_LDADD): New variable.
2087
2088 2005-11-09  Ulrich Drepper  <drepper@redhat.com>
2089
2090         * line2addr.c (handle_module): Add missing parameter to printf.
2091
2092 2005-10-27  Roland McGrath  <roland@redhat.com>
2093
2094         * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2095         * funcscopes.c (handle_function): Likewise.
2096         * dwflmodtest.c (print_inline, print_func): Likewise.
2097         * find-prologues.c (handle_function): Likewise.
2098
2099 2005-10-27  Roland McGrath  <roland@redhat.com>
2100
2101         * run-find-prologues.sh: New file.
2102         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2103
2104         * find-prologues.c (handle_function): Skip inlines.
2105
2106 2005-10-25  Roland McGrath  <roland@redhat.com>
2107
2108         * find-prologues.c: New file.
2109         * Makefile.am (noinst_PROGRAMS): Add it.
2110         (find_prologues_LDADD): New variable.
2111
2112 2005-09-02  Ulrich Drepper  <drepper@redhat.com>
2113
2114         * run-strings-test.sh: Remove strings.out in the end.
2115
2116 2005-08-31  Ulrich Drepper  <drepper@redhat.com>
2117
2118         * run-addrscopes.sh: Use correct exit code if test cannot be performed.
2119         * run-allfcts.sh: Likewise.
2120         * run-ecp-test.sh: Likewise.
2121         * run-ecp-test2.sh: Likewise.
2122         * run-elflint-test.sh: Likewise.
2123         * run-funcscopes.sh: Likewise.
2124         * run-get-aranges.sh: Likewise.
2125         * run-get-files.sh: Likewise.
2126         * run-get-lines.sh: Likewise.
2127         * run-get-pubnames.sh: Likewise.
2128         * run-line2addr.sh: Likewise.
2129         * run-ranlib-test2.sh: Likewise.
2130         * run-show-abbrev.sh: Likewise.
2131         * run-show-ciefde.sh: Likewise.
2132         * run-show-die-info.sh: Likewise.
2133         * run-strings-test.sh: Likewise.
2134         * run-strip-test.sh: Likewise.
2135
2136 2005-08-30  Ulrich Drepper  <drepper@redhat.com>
2137
2138         * coverage.sh: Handle case where there is no .gcno file at all.
2139
2140 2005-08-29  Ulrich Drepper  <drepper@redhat.com>
2141
2142         * Makefile.am (EXTRA_DIST): Add coverage.
2143         [GCOV]: Generate coverage summary after the tests ran
2144         * coverage.sh: New file.
2145
2146 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
2147
2148         * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
2149         (CLEANFILES): Add *.gcno *.gcda *.gconv.
2150
2151 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
2152
2153         * run-strings-test.sh: New file.
2154         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2155
2156 2005-08-27  Roland McGrath  <roland@redhat.com>
2157
2158         * addrscopes.c (handle_address): Apply bias to PC addresses.
2159
2160         * run-funcscopes.sh: New file.
2161         * testfile25.bz2: New data file.
2162         * Makefile.am (TESTS, EXTRA_DIST): Add them.
2163
2164 2005-08-26  Roland McGrath  <roland@redhat.com>
2165
2166         * addrscopes.c (dwarf_diename_integrate): Removed.
2167         (print_vars, handle_address): Use plain dwarf_diename.
2168
2169 2005-08-25  Roland McGrath  <roland@redhat.com>
2170
2171         * funcscopes.c: New file.
2172         * Makefile.am (noinst_PROGRAMS): Add it.
2173         (funcscopes_LDADD): New variable.
2174
2175         * run-addrscopes.sh: Add another case.
2176         * testfile24.bz2: New data file.
2177         * Makefile.am (EXTRA_DIST): Add it.
2178
2179         * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
2180         pass it to dwarf_getscopes.
2181         (main): Pass it, true when '=' follows an address.
2182
2183 2005-08-24  Roland McGrath  <roland@redhat.com>
2184
2185         * line2addr.c (print_address): Omit () for DSOs.
2186
2187 2005-08-24  Ulrich Drepper  <drepper@redhat.com>
2188
2189         * run-line2addr.sh: Remove testfile23 in the end.
2190
2191         * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
2192         [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
2193
2194 2005-08-22  Roland McGrath  <roland@redhat.com>
2195
2196         * run-line2addr.sh: Add a case.
2197         * testfile23.bz2: New data file.
2198         * Makefile.am (EXTRA_DIST): Add it.
2199
2200 2005-08-18  Roland McGrath  <roland@redhat.com>
2201
2202         * run-addrscopes.sh: New file.
2203         * testfile22.bz2: New data file.
2204         * Makefile.am (TESTS, EXTRA_DIST): Add them.
2205
2206         * addrscopes.c: New file.
2207         * Makefile.am (noinst_PROGRAMS): Add it.
2208         (addrscopes_LDADD): New variable.
2209
2210 2005-08-15  Ulrich Drepper  <drepper@redhat.com>
2211
2212         * run-elflint-self.sh: Don't run test if the file doesn't exist.
2213
2214 2005-08-15  Roland McGrath  <roland@redhat.com>
2215
2216         * dwflmodtest.c (print_instance, print_inline): New functions.
2217         (print_func): Call print_inline.
2218         (options, parse_opt): Grok -i/--inlines.
2219
2220 2005-08-07  Roland McGrath  <roland@redhat.com>
2221
2222         * dwflmodtest.c: Print function details only if -f flag is given.
2223
2224 2005-08-06  Ulrich Drepper  <drepper@redhat.com>
2225
2226         * run-elflint-self.sh: New file.
2227         * Makefile.am (TESTS): Add run-elflint-self.sh.
2228         (EXTRA_DIST): Likewise.
2229
2230         * Makefile.am: Link with statis libs if BUILD_STATIC.
2231         (dwflmodtest_LDADD): Also link with -ldl.
2232
2233 2005-08-02  Ulrich Drepper  <drepper@redhat.com>
2234
2235         * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
2236         * asm-tst1.c: Adjust for new asm_begin interface.  Open backend
2237         library first.
2238         * asm-tst2.c: Likewise.
2239         * asm-tst3.c: Likewise.
2240         * asm-tst4.c: Likewise.
2241         * asm-tst5.c: Likewise.
2242         * asm-tst6.c: Likewise.
2243         * asm-tst7.c: Likewise.
2244         * asm-tst8.c: Likewise.
2245         * asm-tst9.c: Likewise.
2246
2247         * msg_tst.c: Add new error message.
2248
2249 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
2250
2251         * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
2252
2253 2005-06-01  Roland McGrath  <roland@redhat.com>
2254
2255         * line2addr.c: Rewritten using libdwfl.
2256         * run-line2addr.sh: Update test for changed arguments.
2257         * Makefile.am (INCLUDES): Add libdwfl source directory to path.
2258         (libdwfl): New variable.
2259         (line2addr_LDADD): Use it.
2260
2261 2005-07-28  Roland McGrath  <roland@redhat.com>
2262
2263         * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
2264         * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
2265         (dwflmodtest_LDADD): New variable.
2266         (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
2267
2268 2005-07-21  Ulrich Drepper  <drepper@redhat.com>
2269
2270         * testfile18.bz2: New file.
2271         * run-elflint-test.sh: New file.
2272         * Makefile.am (TESTS): Add run-elflint-test.sh.
2273         (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
2274
2275 2005-05-24  Ulrich Drepper  <drepper@redhat.com>
2276
2277         * get-files.c (main): Use correct format specifier.
2278
2279 2005-05-21  Ulrich Drepper  <drepper@redhat.com>
2280
2281         * Makefile.am: Add -Wextra to CFLAGS.
2282         * get-files.c: Remove warning this produced.
2283         * get-pubnames.c: Likewise.
2284         * newfile.c: Likewise.
2285         * newscn.c: Likewise.
2286         * scnnames.c: Likewise.
2287         * showptable.c: Likewise.
2288         * test-nlist.c: Likewise.
2289         * update1.c: Likewise.
2290         * update2.c: Likewise.
2291         * update3.c: Likewise.
2292         * update4.c: Likewise.
2293
2294 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
2295
2296         * run-line2addr.sh: Remove testfile14 at the end.
2297
2298         * run-strip-test.sh: Remove debuginfo test input file as well.
2299
2300         * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
2301         .bz, not .bz2.
2302
2303 2005-05-03  Roland McGrath  <roland@redhat.com>
2304
2305         * run-strip-test.sh: Use variables for test file names.
2306         Optionally produce separate debug file and check it.
2307         * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
2308         * run-strip-test3.sh: Likewise.
2309         * run-strip-test4.sh: New file.
2310         * run-strip-test5.sh: New file.
2311         * run-strip-test6.sh: New file.
2312         * testfile15.bz: New file.
2313         * testfile15.debug.bz: New file.
2314         * testfile16.bz: New file.
2315         * testfile16.debug.bz: New file.
2316         * testfile17.bz: New file.
2317         * testfile17.debug.bz: New file.
2318         * Makefile.am (TESTS, EXTRA_DIST): Add them.
2319
2320 2005-04-25  Ulrich Drepper  <drepper@redhat.com>
2321
2322         * run-line2addr.sh: Also use testfile14.  Adjust for correct
2323         return of multiple matches.
2324         * testfile14.bz2: New file.
2325         * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
2326
2327         * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
2328
2329 2005-04-04  Roland McGrath  <roland@redhat.com>
2330
2331         * line2addr.c (main): Initialize LINES and NLINES before calling
2332         dwarf_getsrc_file, and free LINES afterwards.
2333
2334         * allfcts.c (main): Use size_t for CUHL.
2335
2336 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
2337
2338         * line2addr.c: New file.
2339         * run-line2addr.sh: New file.
2340         * Makefile.am: Add rules to build, run, and distribute new code.
2341
2342 2005-04-02  Ulrich Drepper  <drepper@redhat.com>
2343
2344         * allfcts.c: New file.
2345         * run-allfcts.sh: New file.
2346         * Makefile.am: Add rules to build, run, and distribute new code.
2347
2348 2005-02-05  Ulrich Drepper  <drepper@redhat.com>
2349
2350         * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.  Link all test
2351         programs with -lmudflap.
2352
2353 2004-09-25  Ulrich Drepper  <drepper@redhat.com>
2354
2355         * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
2356         * asm-tst5.c (main): Likewise.
2357         * asm-tst6.c (main): Likewise.
2358
2359 2004-01-17  Ulrich Drepper  <drepper@redhat.com>
2360
2361         * Makefile.am: Support building with mudflap.
2362
2363 2004-01-12  Ulrich Drepper  <drepper@redhat.com>
2364
2365         * get-aranges.c: Rewrite to use libdw.
2366         * Makefile.am: Reenable get-aranges test.
2367
2368 2004-01-11  Ulrich Drepper  <drepper@redhat.com>
2369
2370         * get-lines.c: New file.
2371         * get-files.c: Adjust for libdw.
2372         * run-get-files.sh: Adjust expected result.
2373         * run-get-lines.sh: Likewise.
2374         * Makefile.am: Run get-lines test.  Don't run get-aranges and
2375         get-ciefde test for now.
2376
2377         * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
2378         change.  Print attribute offset information.
2379         * run-show-abbrev.sh: Adjust expected output.
2380
2381 2004-01-09  Ulrich Drepper  <drepper@redhat.com>
2382
2383         * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
2384         * show-die-info.c: Likewise.
2385         * run-show-die-info.sh: Adjust expected output.
2386
2387 2003-08-13  Ulrich Drepper  <drepper@redhat.com>
2388
2389         * Makefile.in: Depend on libebl.a, not libebl.so.
2390
2391 2003-08-11  Ulrich Drepper  <drepper@redhat.com>
2392
2393         * Moved to CVS archive.