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