backends,bpf: add proper relocation support
[platform/upstream/elfutils.git] / tests / ChangeLog
1 2018-06-16  Yonghong Song  <yhs@fb.com>
2
3         * run-reloc-bpf.sh: New test.
4         * testfile-bpf-reloc.o.bz2: New test file.
5         * testfile-bpf-reloc.expect.bz2: New test file.
6         * Makefile.am (TESTS): Add run-reloc-bpf.sh.
7         (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and
8         testfile-bpf-reloc.expect.bz2.
9
10 2018-06-13  Mark Wielaard  <mark@klomp.org>
11
12         * run-readelf-const-values.sh: New test.
13         * testfile-const-values.debug.bz2: New test file.
14         * run-readelf-zdebug-rel.sh: Adjust expected const_value.
15         * Makefile.am (TESTS): Add run-readelf-const-values.sh.
16         (EXTRA_DIST): Add run-readelf-const-values.sh and
17         testfile-const-values.debug.bz2.
18
19 2018-06-08  Mark Wielaard  <mark@klomp.org>
20
21         * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
22         target, do not assert.
23
24 2018-06-08  Mark Wielaard  <mark@klomp.org>
25
26         * get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
27         * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
28
29 2018-06-08  Mark Wielaard  <mark@klomp.org>
30
31         * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
32         actually is a cfi_debug.
33
34 2018-06-07  Mark Wielaard  <mark@klomp.org>
35
36         * run-readelf-loc.sh: Fix expected output for startx_length.
37
38 2018-06-06  Mark Wielaard  <mark@klomp.org>
39
40         * varlocs.c (print_base_type): Use error, not assert when the DIE
41         isn't a base type.
42
43 2018-06-02  Mark Wielaard  <mark@klomp.org>
44
45         * test-subr.sh (self_test_files_exe): Drop shared libraries.
46         Keep addr2line, elfcmp, objdump and readelf.
47
48 2018-05-31  Mark Wielaard  <mark@klomp.org>
49
50         * run-readelf-types.sh: New test.
51         * Makefile.am (TESTS): Add run-readelf-types.sh.
52         (EXTRA_DIST): Likewise.
53
54 2018-05-31  Mark Wielaard  <mark@klomp.org>
55
56         * splitdwarf4-not-split4.dwo.bz2: New test file.
57         * testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
58         * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
59         and testfile-splitdwarf4-not-split4.debug.
60         * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
61         * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
62         and testfile-splitdwarf4-not-split4.debug.bz2.
63
64 2018-05-31  Mark Wielaard  <mark@klomp.org>
65
66         * test-subr.sh (self_test_files): Split into self_test_files_exe,
67         self_test_files_lib and self_test_obj.
68         (testrun_on_self_exe): New function.
69         (testrun_on_self_lib): Likewise.
70         * run-get-units-split.sh: Replace testrun_on_self with
71         testrun_on_self_exe and testrun_on_self_lib.
72         * run-unit-info.sh: Likewise.
73
74 2018-05-31  Mark Wielaard  <mark@klomp.org>
75
76         * low_high_pc.c (handle_die): Handle NULL name. Print offset and
77         name of die.
78         (main): Check if the cu DIE is a skeleton, then get and handle
79         the split subdie.
80         * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
81         testfile-splitdwarf-5. Run on all selftest files.
82
83 2018-05-31  Mark Wielaard  <mark@klomp.org>
84
85         * get-units-invalid.c (main): Check dwarf_cuoffset and
86         dwarf_dieoffset.
87
88 2018-05-29  Mark Wielaard  <mark@klomp.org>
89
90         * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
91         type, gotten through dwarf_get_units.
92         * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
93         split-dwarf-4, split-dwarf-5 and dwo files.
94
95 2018-05-29  Mark Wielaard  <mark@klomp.org>
96
97         * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
98         * run-varlocs.sh: Likewise.
99
100 2018-05-29  Mark Wielaard  <mark@klomp.org>
101
102         * run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
103
104 2018-05-28  Mark Wielaard  <mark@klomp.org>
105
106         * run-readelf-info-plus.sh: New test.
107         * Makefile.am (TESTS): Add run-readelf-info-plus.sh.
108         (EXTRA_DIST): Likewise.
109
110 2018-04-29  Mark Wielaard  <mark@klomp.org>
111
112         * run-readelf-addr.sh: New test.
113         * Makefile.am (TESTS): Add run-readelf-addr.sh.
114         (EXTRA_DIST): Likewise.
115
116 2018-04-27  Mark Wielaard  <mark@klomp.org>
117
118         * run-readelf-ranges.sh: Adjust expected output for address base.
119         * run-readelf-addr.sh: New test.
120         * Makefile.am (TESTS): Add run-readelf-addr.sh.
121         (EXTRA_DIST): Likewise.
122
123 2018-04-07  Mark Wielaard  <mark@klomp.org>
124
125         * run-varlocs.sh: Run on testfileranges5.debug and
126         testsplitfileranges5.debug.
127         * varlocs.c (is_debug): New bool.
128         (print_expr): Don't fail on missing CFI for is_debug.
129         (main): Parse --debug, set is_debug.
130
131 2018-04-12  Mark Wielaard  <mark@klomp.org>
132
133         * run-readelf-loc.sh: Add new testcases.
134
135 2018-04-06  Mark Wielaard  <mark@klomp.org>
136
137         * testfileranges5.debug.bz2: New testfile.
138         * testfilesplitranges5.debug.bz2: Likewise.
139         * testfile-ranges-hello5.dwo.bz2: Likewise.
140         * testfile-ranges-world5.dwo.bz2: Likewise.
141         * run-dwarf-ranges.sh: Run on testfileranges5.debug.
142         * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
143         * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
144         testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
145         testfile-ranges-world5.dwo.bz2.
146
147 2018-04-11  Mark Wielaard  <mark@klomp.org>
148
149         * run-readelf-ranges.sh: New test.
150         * Makefile.am (TESTS): Add run-readelf-ranges.sh.
151         (EXTRA_DIST): Likewise.
152
153 2018-05-21  Mark Wielaard  <mark@klomp.org>
154
155         * addrx_constx-4.dwo.bz2: New testfile.
156         * addrx_constx-5.dwo.bz2: Likewise.
157         * testfile-addrx_constx-4.bz2: Likewise.
158         * testfile-addrx_constx-5.bz2: Likewise
159         * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
160         testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
161         * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
162         * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
163         DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
164         (main): Handle split DWARF.
165         * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
166
167 2018-05-20  Mark Wielaard  <mark@klomp.org>
168
169         * unit-info.c: New test.
170         * run-unit-info.sh: New test runner.
171         * Makefile.am (check_PROGRAMS): Add unit-info.
172         (TESTS): Add run-unit-info.sh
173         (EXTRA_INFO): Likewise.
174         (unit_info_LDADD): New variable.
175
176 2018-05-24  Mark Wielaard  <mark@klomp.org>
177
178         * get-units-invalid.c (main): Add check for invalid dwarf_ranges.
179         * run-all-dwarf-ranges.sh: Correct expected output.
180
181 2018-05-18  Mark Wielaard  <mark@klomp.org>
182
183         * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
184         (TESTS): Add run-all-dwarf-ranges.sh.
185         (EXTRA_DIST): Add run-all-dwarf-ranges.sh,
186         testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
187         and testfile-ranges-world.dwo.bz2.
188         (all_dwarf_ranges_LDADD): New variable.
189         * all-dwarf-ranges.c: New test program.
190         * run-all-dwarf-ranges: New test runner.
191         * testfile-ranges-hello.dwo.bz2: New test file.
192         * testfile-ranges-world.dwo.bz2: Likewise.
193         * testfilesplitranges4.debug.bz2: Likewise.
194
195 2018-05-18  Mark Wielaard  <mark@klomp.org>
196
197         * run-get-files.sh: Add testcases for testfile-splitdwarf-4,
198         testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
199         testfile-hello5.dwo, testfile-world5.dwo.
200
201 2018-05-17  Mark Wielaard  <mark@klomp.org>
202
203         * Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
204         (TESTS): Add run-attr-integrate-skel.
205         (EXTRA_DIST): Likewise.
206         (attr_integrate_skel_LDADD): New variable.
207         * attr-integrate-skel.c: New test.
208         * run-attr-integrate-skel.sh: New test runner.
209
210 2018-05-16  Mark Wielaard  <mark@klomp.org>
211
212         * Makefile.am (check_PROGRAMS): Add get-units-split.
213         (TESTS): Add run-get-units-split.sh.
214         (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
215         testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
216         testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
217         testfile-world4.dwo.bz2.
218         (get_units_split_LDADD): New variable.
219         * get-units-split.c: New test.
220         * run-get-units-split.sh: New test runner.
221         * testfile-dwarf-45.source: Extend with build instructions for new
222         test files.
223         * testfile-hello4.dwo.bz2: New test file.
224         * testfile-hello5.dwo.bz2: Likewise.
225         * testfile-splitdwarf-4.bz2: Likewise.
226         * testfile-splitdwarf-5.bz2: Likewise.
227         * testfile-world5.dwo.bz2 and: Likewise.
228         * testfile-world4.dwo.bz2: Likewise.
229
230 2018-05-09  Mark Wielaard  <mark@klomp.org>
231
232         * run-readelf-zdebug.sh: Adjust test output for new header layout.
233         * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
234         and testfile-dwarf-5.
235
236 2018-05-11  Mark Wielaard  <mark@klomp.org>
237
238         * Makefile.am (check_PROGRAMS): Add get-units-invalid.
239         (TESTS): Add run-get-units-invalid.sh.
240         (EXTRA_DIST): Likewise.
241         (get_units_invalid_LDADD): New variable.
242         * get-units-invalid.c: New test program.
243         * run-get-units-invalid.sh: New test program runner.
244
245 2018-05-05  Mark Wielaard  <mark@klomp.org>
246
247         * testfile-dwarf-45.source: New file.
248         * testfile-dwarf-4.bz2: New test file.
249         * testfile-dwarf-5.bz2: Likewise.
250         * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
251         testfile-dwarf-5.
252         * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
253         testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
254
255 2018-04-19  Andreas Schwab  <schwab@suse.de>
256
257         * hello_riscv64.ko.bz2: New file.
258         * run-strip-reloc.sh: Test it.
259         * Makefile.am (EXTRA_DIST): Add it.
260
261 2018-04-16  Mark Wielaard  <mark@klomp.org>
262
263         * testfile-ppc64-min-instr.bz2: New testfile.
264         * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
265         * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
266
267 2018-04-11  Mark Wielaard  <mark@klomp.org>
268
269         * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
270
271 2018-04-03  Mark Wielaard  <mark@klomp.org>
272
273         * testfileranges4.debug.bz2: New testfile.
274         * run-dwarf-ranges.sh: Run on testfileranges4.debug.
275         * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
276
277 2018-03-06  Mark Wielaard  <mark@klomp.org>
278
279         * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
280         DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
281         DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
282         DW_OP_const_type.
283
284 2018-02-16  Mark Wielaard  <mark@klomp.org>
285
286         * backtrace-subr.sh (check_native_core): Check if there is any core,
287         if so, use it.
288
289 2018-02-15  Mark Wielaard  <mark@klomp.org>
290
291         * backtrace-child.c: Include signal.h after sys/ptrace.h.
292         * backtrace-dwarf.c: Include sys/wait.h and signal.h after
293         sys/ptrace.h.
294
295 2018-01-25  Mark Wielaard  <mark@klomp.org>
296
297         * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
298         (TESTS): Add run-dwarf-die-addr-die.sh.
299         (EXTRA_DIST): Likewise.
300         (dwarf_die_addr_die_LDADD): New variable.
301         * dwarf-die-addr-die.c: New file.
302         * run-dwarf-die-addr-die.sh: New test.
303
304 2018-02-09  Joshua Watt  <JPEWhacker@gmail.com>
305
306         * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
307
308 2018-01-22  Mark Wielaard  <mark@klomp.org>
309
310         * allfcts.c (setup_alt): Print warning when alt file couldn't be
311         found.
312         * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
313         where it cannot be found by allfcts itself (but it can by libdw).
314
315 2018-01-25  Mark Wielaard  <mark@klomp.org>
316
317         * elfstrmerge.c (main): Initialize and check symtabshdr instead of
318         symtabndx.
319
320 2018-01-14  Petr Machata  <pmachata@gmail.com>
321
322         * testfile-sizes4.o.bz2: New test file.
323         * testfile-sizes4.s: New test source.
324         * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
325
326 2017-12-23  Mark Wielaard  <mark@klomp.org>
327
328         * backtrace-subr.sh (check_native_core): Use a lock file and try
329         to extract core using coredumpctl.
330         * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
331
332 2017-12-11  Dima Kogan  <dima@secretsauce.net>
333
334         * run-aggregate-size.sh: Added check for multi-dimensional arrays.
335         * run-peel-type.sh: Likewise.
336         * testfile-sizes3.o.bz2: Likewise.
337
338 2017-12-07  Mark Wielaard  <mark@klomp.org>
339
340         * run-readelf-variant.sh: New test.
341         * testfile-ada-variant.bz2: New testfile.
342         * Makefile.am (TESTS): Add run-readelf-variant.sh.
343         (EXTRA_DISTS): Add run-readelf-variant.sh and
344         testfile-ada-variant.bz2.
345
346 2017-11-29  Mark Wielaard  <mark@klomp.org>
347
348         * run-readelf-loc.sh: Adjust expected loc list output.
349         * run-readelf-zdebug-rel.sh: Likewise.
350         * run-readelf-zdebug.sh: Likewise.
351
352 2017-11-29  Mark Wielaard  <mark@klomp.org>
353
354         * run-readelf-loc.sh: Adjust expected range list output.
355         * run-readelf-zdebug.sh: Likewise.
356
357 2017-11-29  Mark Wielaard  <mark@klomp.org>
358
359         * run-readelf-dwz-multi.sh: Add expected file names.
360         * run-readelf-zdebug-rel.sh: Likewise.
361
362 2017-11-29  Mark Wielaard  <mark@klomp.org>
363
364         * run-readelf-dwz-multi.sh: Add expected abbrev codes.
365         * run-readelf-zdebug-rel.sh: Likewise.
366
367 2017-11-29  Mark Wielaard  <mark@klomp.org>
368
369         * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
370         * run-readelf-loc.sh: Likewise.
371         * run-readelf-zdebug-rel.sh: Likewise.
372         * run-readelf-zdebug.sh: Likewise.
373
374 2017-11-16  Mark Wielaard  <mark@klomp.org>
375
376         * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
377
378 2017-11-10  Mark Wielaard  <mark@klomp.org>
379
380         * run-exprlocs-self.sh: New test.
381         * run-varlocs-self.sh: Likewise.
382         * Makefile.am (TESTS) Add run-exprlocs-self.sh and
383         run-varlocs-self.sh.
384         (EXTRA_DIST): Likewise.
385         * varlocs.c (cfi_debug_bias): New global variable.
386         (is_ET_REL): Likewise.
387         (print_expr): Don't crash and burn when CFI cannot be found for an
388         ET_REL file for DW_OP_call_frame_cfa.
389         (handle_die): If there is no entry_pc pick the lowest pc start range
390         for the DIE.
391         (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
392         and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
393
394 2017-11-03  Mark Wielaard  <mark@klomp.org>
395
396         * run-exprlocs.sh: New test.
397         * testfile-stridex.bz2: New testfile.
398         * Makefile.am (TESTS): Add run-exprlocs.sh.
399         (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
400         * varlocs.c (dwarf_tag_string): New function.
401         (dwarf_attr_string): Likewise.
402         (dwarf_form_string): Likewise.
403         (print_expr): Fix typo in error message.r
404         Handle DW_OP_GNU_variable_value.
405         (attr_arg): New struct.
406         (handle_attr): New function.
407         (handle_die): Likewise.
408         (main): Handle --exprlocs argument. Call handle_die.
409
410 2017-10-16  Mark Wielaard  <mark@klomp.org>
411
412         * md5-sha1-test.c: Removed.
413         * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
414         (TESTS): Likewise.
415         (md5_sha1_test_LDADD): Removed.
416
417 2017-10-04  Mark Wielaard  <mark@klomp.org>
418
419         * msg_tst.c: Handle ELF_E_INVALID_ELF.
420
421 2017-09-10  Mark Wielaard  <mark@klomp.org>
422
423         * run-ar.sh: New test.
424         * Makefile.am (TESTS): Add run-ar.sh.
425         (EXTRA_DIST): Likewise.
426
427 2017-08-18  Ulf Hermann <ulf.hermann@qt.io>
428
429         * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
430
431 2017-04-27  Ulf Hermann <ulf.hermann@qt.io>
432
433         * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
434
435 2017-08-08  Dmitry V. Levin <ldv@altlinux.org>
436
437         * run-strip-nothing.sh: Add -s.
438
439 2017-07-26  Mark Wielaard  <mark@klomp.org>
440
441         * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
442
443 2016-10-27  Mark Wielaard  <mjw@redhat.com>
444
445         * dwarf_default_lower_bound.c: New test.
446         * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
447         (TESTS): Likewise.
448         (dwarf_default_lower_bound_LDADD): New variable.
449
450 2017-07-21  Mark Wielaard  <mark@klomp.org>
451
452         * get-lines.c (main): Add dwarf_line_file test.
453
454 2017-07-19  Gustavo Romero <gromero@linux.vnet.ibm.com>
455
456         * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
457         * run-allregs.sh: Update generic SPRs names to HTM SPRs names
458
459 2017-07-20  Mark Wielaard  <mark@klomp.org>
460
461         * run-strip-g.sh: New test.
462         * Makefile.am (TESTS): Add run-strip-g.sh.
463         (EXTRA_DIST): Likewise.
464
465 2017-07-18  Mark Wielaard  <mark@klomp.org>
466
467         * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
468
469 2017-05-04  Ulf Hermann  <ulf.hermann@qt.io>
470
471         * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
472
473 2017-07-14  Mark Wielaard  <mark@klomp.org>
474
475         * run-strip-remove-keep.sh: New test.
476         * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
477         (EXTRA_DIST): Likewise.
478
479 2017-06-07  Mark Wielaard  <mark@klomp.org>
480
481         * run-strip-nothing.sh: New test.
482         * Makefile.am (TESTS): Add run-strip-nothing.sh.
483         (EXTRA_DIST): Likewise.
484
485 2017-06-06  Mark Wielaard  <mark@klomp.org>
486
487         * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
488
489 2017-05-30  Mark Wielaard  <mark@klomp.org>
490
491         * run-backtrace-fp-core-ppc64le.sh: New test.
492         * backtrace.ppc64le.fp.core.bz2: New test file.
493         * backtrace.ppc64le.fp.exec.bz2: New testfile.
494         * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
495         * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
496         (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
497         backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
498
499 2017-02-13  Ulf Hermann  <ulf.hermann@qt.io>
500             Mark Wielaard  <mark@klomp.org>
501
502         * Makefile.am: Add test for unwinding with frame pointers on aarch64
503         * backtrace.aarch64.fp.core.bz2: New file
504         * backtrace.aarch64.fp.exec.bz2: New file
505         * run-backtrace-fp-core-aarch64.sh: New file
506         * backtrace-subr.sh (check_err): Allow Invalid register.
507         * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
508
509 2017-04-06  Mark Wielaard  <mark@klomp.org>
510
511         * run-backtrace-fp-core-i386.sh: New test.
512         * backtrace.i386.fp.core.bz2: New test file.
513         * backtrace.i386.fp.exec.bz2: New testfile.
514         * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
515         (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
516         backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
517
518 2017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
519
520         * Makefile.am: Add test for unwinding with frame pointers on x86_64
521         * backtrace.x86_64.fp.core.bz2: New file
522         * backtrace.x86_64.fp.exec.bz2: New file
523         * run-backtrace-fp-core-x86_64.sh: New file
524
525 2017-04-25  Mark Wielaard  <mark@klomp.org>
526
527         * backtrace-subr.sh (check_backtracegen): New function.
528         (check_core): Add check_backtracegen call.
529         * backtrace.ppc.exec.bz2: Regenerated.
530         * backtrace.ppc.core.bz2: Likewise.
531
532 2017-04-24  Mark Wielaard  <mark@klomp.org>
533
534         * backtrace.c: Remove option to allow unknown symbols in the trace.
535         * backtrace-substr.sh: Remove option to allow unknown symbols
536         to check_core() and allow failed symbol lookups in check_err().
537
538 2017-04-20  Ulf Hermann <ulf.hermann@qt.io>
539
540         * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
541         that are set.
542         * run-readelf-zdebug-rel.sh: Likewise.
543
544 2017-04-20  Ulf Hermann <ulf.hermann@qt.io>
545
546         * backtrace-child.c: Include sys/ptrace.h only on linux.
547         * backtrace-dwarf.c: Likewise.
548
549 2017-04-05  Mark Wielaard  <mark@klomp.org>
550
551         * test-subr.sh (testrun_on_self_compressed): New function.
552         * run-elflint-self.sh: Call testrun_on_self_compressed.
553         * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
554
555 2017-03-30  Mark Wielaard  <mark@klomp.org>
556
557         * peel_type.c: New file.
558         * run-peel-type.sh: New test.
559         * Makefile.am (check_PROGRAMS): Add peel_type.c.
560         (TESTS): Add run-peel-type.sh.
561         (EXTRA_DIST): Likewise.
562         (peel_type_LDADD): New variable.
563
564 2017-03-27  Mark Wielaard  <mark@klomp.org>
565
566         * fillfile.c: New file.
567         * Makefile.am (check_PROGRAMS): Add fillfile.
568         (TESTS): Likewise.
569         (fillfile_LDADD): New variable.
570
571 2017-02-15  Mark Wielaard  <mark@klomp.org>
572
573         * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
574         * run-readelf-A.sh: Add testfileppc64.o test.
575
576 2017-02-15  Ulf Hermann  <ulf.hermann@qt.io>
577
578         * elfstrmerge.c: Include system.h.
579
580 2017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
581
582         * backtrace.c: Add an option to allow unknown symbols in the trace
583         * backtrace-substr.sh: Add an option to allow unknown symbols
584         to check_core() and allow failed symbol lookups in check_err()
585
586 2017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
587
588         * backtrace-data.c: Don't assert that symbols are found.
589         The unwinder is allowed to ask for invalid addresses. We deny
590         such requests, rather than make the test fail.
591
592 2016-11-17  Mark Wielaard  <mjw@redhat.com>
593
594         * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
595
596 2016-11-02  Mark Wielaard  <mjw@redhat.com>
597
598         * backtrace-data.c (thread_callback): Add explicit break after error.
599         * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
600
601 2016-10-22  Kevin Cernekee  <cernekee@chromium.org>
602
603         * Makefile.am (TESTS): Add run-unstrip-test4.sh.
604         (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
605         testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
606         (run-unstrip-test4.sh): New file.
607         (testfile-strtab.bz2): New file.
608         (testfile-strtab.stripped.bz2): New file.
609         (testfile-strtab.debuginfo.bz2): New file.
610
611 2016-10-11  Akihiko Odaki  <akihiko.odaki.4i@stu.hosei.ac.jp>
612
613         * arextract.c: Remove sys/param.h include, add system.h include.
614
615 2016-08-30  Mark Wielaard  <mjw@redhat.com>
616
617         * Makefile.am (asm_tst?_LDADD): Add libdw.
618
619 2016-08-25  Mark Wielaard  <mjw@redhat.com>
620
621         * backtrace-child.c: Disable and add documentation about why we disable
622         RAISE_JMP_PATCHING even on x86_64.
623         * backtrace.c (is_x86_64_native): Rename to...
624         (use_raise_jmp_patching): ... this.
625         (callback_verify): Use use_raise_jmp_patching instead of
626         is_x86_64_native.
627         (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
628         path.
629         (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
630         conditional.
631         (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
632         RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
633         use_raise_jmp_patching instead of is_x86_64_native.
634
635 2016-08-24  Mark Wielaard  <mjw@redhat.com>
636
637         * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
638
639 2016-08-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
640
641         * testfilesparc64attrs.o.bz2: New file.
642         * run-readelf-A.sh: Check attributes in a sparc object.
643
644 2016-08-06  Mark Wielaard  <mjw@redhat.com>
645
646         * run-strip-reloc.sh: Add explicit compressed and uncompressed
647         test cases.
648
649 2016-08-10  Richard Henderson  <rth@redhat.com>
650
651         * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
652         output.
653
654 2016-07-08  Mark Wielaard  <mjw@redhat.com>
655
656         * update3_LDADD: Use libdw instead of libebl.
657         * update4_LDADD: Likewise.
658         * alldts_LDADD: Likewise.
659         * elfstrmerge_LDADD: Likewise.
660         * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
661         * elfstrmerge.c (release): Likewise.
662         (main): Likewise.
663         * update3.c (main): Likewise.
664         * update4.c (main): Likewise.
665
666 2016-07-10  Andreas Schwab  <schwab@linux-m68k.org>
667
668         * Makefile.am (TESTS): Add run-strip-test11.sh.
669         (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
670         testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
671         (run-strip-test11.sh): New file.
672         (hello_m68k.ko.bz2): New file.
673         (testfile-m68k-core.bz2): New file.
674         (testfile-m68k.bz2): New file.
675         (testfile-m68k-s.bz2): New file.
676         * run-allregs.sh: Add test for testfile-m68k-core.
677         * run-readelf-mixed-corenote.sh: Likewise.
678         * run-strip-reloc.sh: Add test for hello_m68k.ko.
679
680 2016-07-06  Mark Wielaard  <mjw@redhat.com>
681
682         * Makefile.am (check_PROGRAMS): Add vendorelf.
683         (TESTS): Likewise.
684         (vendorelf_LDADD): New variable.
685         * vendorelf.c: New test.
686         * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
687
688 2016-06-24  Mark Wielaard  <mjw@redhat.com>
689
690         * Makefile.am (check_PROGRAMS): Add emptyfile.
691         (TESTS): Likewise.
692         (emptyfile_LDADD): New variable.
693         * emptyfile.c: New test.
694
695 2016-06-28  Richard Henderson  <rth@redhat.com>
696
697         * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
698         (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
699         testfile-bpf-dis1.o.bz2
700         (run-disasm-bpf.sh): New file.
701         (testfile-bpf-dis1.expect.bz2): New file.
702         (testfile-bpf-dis1.o.bz2): New file.
703
704 2016-02-09  Mark Wielaard  <mjw@redhat.com>
705
706         * testfile-s390x-hash-both.bz2: New testfile.
707         * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
708         * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
709
710 2016-02-04  Mark Wielaard  <mjw@redhat.com>
711
712         * run-strip-nobitsalign.sh: New test.
713         * testfile-nobitsalign.bz2: New testfile.
714         * testfile-nobitsalign.strip.bz2: Likewise.
715         * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
716         (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
717         and testfile-nobitsalign.strip.bz2.
718         * run-strip-test.sh: Add --gnu to elflint calls.
719
720 2016-01-13  Mark Wielaard  <mjw@redhat.com>
721
722         * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
723
724 2016-01-13  Mark Wielaard  <mjw@redhat.com>
725
726         * dwfl-proc-attach.c: Guard linux specific header.
727
728 2016-01-13  Mark Wielaard  <mjw@redhat.com>
729
730         * system-elf-libelf-test.c: New test.
731         * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
732         (check_PROGRAMS): Likewise.
733         (system_elf_libelf_test_CPPFLAGS): New variable.
734         (system_elf_libelf_test_LDADD): Likewise.
735
736 2016-01-08  Mark Wielaard  <mjw@redhat.com>
737
738         * elfputzdata.c (main): Fix parentheses in strncmp test.
739
740 2016-01-08  Mark Wielaard  <mjw@redhat.com>
741
742         * elfputzdata.c (main): Use PRId64 to print 64 bit value.
743
744 2016-01-08  Mark Wielaard  <mjw@redhat.com>
745
746         * Makefile.am (TESTS): Always unconditionally add
747         run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
748
749 2015-12-16  Mark Wielaard  <mjw@redhat.com>
750
751         * run-compress-test.sh: New test.
752         * Makefile.am (TESTS): Add run-compress-test.sh.
753         (EXTRA_DISTS): Likewise.
754
755 2015-11-26  Mark Wielaard  <mjw@redhat.com>
756
757         * zstrptr.c: New file.
758         * run-zstrptr.sh: New test.
759         * elfputzdata.c (main): (re)compress .shstrtab.
760         * run-elfputzdata.sh: Expect .shstrtab compression.
761         * Makefile.am (check_PROGRAMS): Add zstrptr.
762         (TESTS): Add run-zstrptr.sh.
763         (EXTRA_DIST): Likewise.
764         (zstrptr_LDADD): New variable.
765
766 2015-10-20  Mark Wielaard  <mjw@redhat.com>
767
768         * run-readelf-zx.sh: New test.
769         * run-readelf-zp.sh: Likewise.
770         * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
771         (EXTRA_DIST): Likewise.
772
773 2015-10-21  Mark Wielaard  <mjw@redhat.com>
774
775         * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
776         (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
777         (EXTRA_DIST: Likewise.
778         (elfgetzdata_LDADD): New variable.
779         (elfputzdata_LDADD): Likewise.
780         * elfgetzdata.c: New file.
781         * elfputzdata.c: Likewise.
782         * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
783         ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
784         ELF_E_DECOMPRESS_ERROR.
785         * run-elfgetzdata.sh: New test.
786         * run-elfputzdata.sh: Likewise.
787
788 2015-10-28  Mark Wielaard  <mjw@redhat.com>
789
790         * run-readelf-z.sh: New test.
791         * Makefile.am (TESTS): Add run-readelf-z.sh.
792         (EXTRA_DIST): Likewise.
793
794 2015-10-28  Mark Wielaard  <mjw@redhat.com>
795
796         * elfgetchdr.c: New file.
797         * run-elfgetchdr.sh: New test.
798         * testfile-zgabi32.bz2: New testfile.
799         * testfile-zgabi32be.bz2: Likewise.
800         * testfile-zgabi64.bz2: Likewise.
801         * testfile-zgabi64be.bz2: Likewise.
802         * Makefile.am (check_PROGRAMS): Add elfgetchdr.
803         (TESTS): Add run-elfgetchdr.sh.
804         (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
805         testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
806         (welfgetchdr_LDADD): New variable.
807         * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
808         and ELF_E_INVALID_SECTION_FLAGS,
809
810
811 2015-10-28  Mark Wielaard  <mjw@redhat.com>
812
813         * dwelfgnucompressed.c: New file.
814         * run-dwelfgnucompressed.sh: New test.
815         * testfile-zgnu32.bz2: New testfile.
816         * testfile-zgnu64.bz2: Likewise.
817         * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
818         (TESTS): Add run-dwelfgnucompressed.sh.
819         (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
820         testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
821         (dwelfgnucompressed_LDADD): New variable.
822
823 2015-12-31  Mark Wielaard  <mjw@redhat.com>
824
825         * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
826         * run-elfstrmerge-test.sh: New test.
827         * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
828         (EXTRA_DIST): Likewise.
829
830 2015-12-08  Jose E. Marchesi  <jose.marchesi@oracle.com>
831
832         * run-backtrace-core-sparc.sh: New file.
833         * backtrace.sparc.core.bz2: New file.
834         * backtrace.sparc.exec.bz2: New file.
835         * Makefile.am (EXTRA_DIST): ... and added all here.
836         (TESTS): Added run-backtrace-core-sparc.sh.
837
838 2015-12-02  Mark Wielaard  <mjw@redhat.com>
839
840         * Makefile.am (valgrind_cmd): Use --leak-check=full.
841         * run-backtrace-demangle.sh: Disable valgrind.
842         * run-stack-demangled-test.sh: Likewise.
843         * run-stack-d-test.sh: Likewise.
844         * run-stack-i-test.sh: Likewise.
845
846 2015-12-01  Mark Wielaard  <mjw@redhat.com>
847
848         * test-flag-nobits.c (main): Call elf_end.
849         * rerequest_tag.c (main): Call dwarf_end.
850         * funcscopes.c (handle_function): Free scopes.
851         * dwarf-getstring.c (main): Call dwarf_end.
852         * allregs.c (main): Free state.info.
853         * alldts.c (main): Free dyn.
854         * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
855         calls.
856         * addrscopes.c (handle_address): Free scopes.
857
858 2015-10-16  Mark Wielaard  <mjw@redhat.com>
859
860         * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
861         [BUILD_STATIC] (libelf): Likewise.
862
863 2015-10-16  Mark Wielaard  <mjw@redhat.com>
864
865         * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
866
867 2015-10-09  Josh Stone  <jistone@redhat.com>
868
869         * lfs-symbols: New list of LFS-related symbols from lintian.
870         * testfile-nolfs.bz2: New test binary for sanity checking.
871         * run-lfs-symbols.sh: New test.
872         * Makefile.am (TESTS): Add run-lfs-symbols.sh.
873         (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
874         run-lfs-symbols.sh.
875         * alldts.c (main): Replace open64 with open.
876         * dwarf-getstring.c (main): Likewise.
877         * arls.c: Include config.h.
878         * ecp.c: Likewise.
879         * rdwrmmap.c: Likewise.
880         * test-elf_cntl_gelf_getshdr.c: Likewise.
881         * test-flag-nobits.c: Include config.h.
882         (main): Replace open64 with open.
883
884 2015-10-09  Mark Wielaard  <mjw@redhat.com>
885
886         * elfshphehdr.c (check): Rename argument from check to statement.
887         (check_elf): Likewise.
888
889 2015-10-05  Josh Stone  <jistone@redhat.com>
890
891         * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
892
893 2015-10-02  Mark Wielaard  <mjw@redhat.com>
894
895         * elfstrmerge.c: New check program.
896         * run-strip-strmerge.sh: New test.
897         * Makefile.am (check_PROGRAMS): Add elfstrmerge.
898         (EXTRA_DIST): Add run-strip-strmerge.sh
899         (elfstrmerge_LDADD): New variable.
900
901 2015-09-29  Mark Wielaard  <mjw@redhat.com>
902
903         * elfshphehdr.c: New test.
904         * Makefile.am (check_PROGRAMS): Add elfshphehdr.
905         (TESTS): Likewise.
906         (elfshphehdr_LDADD): New variable.
907
908 2015-09-08  Mark Wielaard  <mjw@redhat.com>
909
910         * dwfl-proc-attach.c: New test.
911         * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
912         (TESTS): Likewise.
913         (dwfl_proc_attach_LDADD): New variable.
914         (dwfl_proc_attach_LDFLAGS): Likewise.
915
916 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
917
918         * varlocs.c (print_base_type): Initialize enctype.
919
920 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
921
922         * md5-sha1-test.c (md5_expected): Removed.
923         (sha1_expected): Likewise.
924
925 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
926
927         * asm-tst1.c (main): Replace %Z length modifier with %z.
928         * asm-tst2.c (main): Likewise.
929         * asm-tst3.c (main): Likewise.
930         * asm-tst4.c (main): Likewise.
931         * asm-tst5.c (main): Likewise.
932         * asm-tst6.c (main): Likewise.
933         * asm-tst7.c (main): Likewise.
934         * asm-tst8.c (main): Likewise.
935         * asm-tst9.c (main): Likewise.
936         * sectiondump.c (print_bytes): Likewise.
937
938 2015-08-14  Mark Wielaard  <mjw@redhat.com>
939
940         * run-addr2line-alt-debugpath.sh: New test.
941         * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
942         (EXTRA_DIST): Likewise.
943
944 2015-07-29  Mark Wielaard  <mjw@redhat.com>
945
946         * run-unstrip-test3.sh: New test.
947         * testfile-info-link.bz2: New file.
948         * testfile-info-link.debuginfo.bz2: Likewise.
949         * testfile-info-link.stripped.bz2: Likewise.
950         * Makefile.am (TESTS): Add run-unstrip-test3.sh.
951         (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
952         testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
953
954 2015-06-27  Pino Toscano  <toscano.pino@tiscali.it>
955
956         * tests/run-deleted.sh: Skip when detecting a not implemented
957         dwfl_linux_proc_attach.
958
959 2015-06-27  Pino Toscano  <toscano.pino@tiscali.it>
960
961         * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
962         dwfl_addrmodule.
963
964 2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
965
966         * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
967
968 2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
969
970         * tests/backtrace-data.c: Reduce scope of some includes to match their
971         usage.
972         * tests/backtrace.c: Likewise.
973         * tests/deleted.c: Likewise.
974
975 2015-06-16  Mark Wielaard  <mjw@redhat.com>
976
977         * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
978         for non-ET_REL files.
979
980 2015-05-30  Mark Wielaard  <mjw@redhat.com>
981
982         * backtrace-subr.sh (check_native_core): Notice core file couldn't be
983         generated before skipping.
984         * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
985         before skipping.
986         * run-backtrace-demangle.sh: Likewise.
987         * run-stack-demangled-test.sh: Likewise.
988         * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
989         before skipping.
990         * run-backtrace-native-core-biarch.sh: Likewise.
991         * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
992
993 2015-05-20  Mark Wielaard  <mjw@redhat.com>
994
995         * run-addr2line-i-test.sh: Add pretty test.
996         * run-addr2line-test.sh: Likewise.
997
998 2015-05-20  Mark Wielaard  <mjw@redhat.com>
999
1000         * run-addr2line-i-demangle-test.sh: New test.
1001         * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
1002         (EXTRA_DIST): Likewise.
1003
1004 2015-05-20  Mark Wielaard  <mjw@redhat.com>
1005
1006         * run-addr2line-test.sh: Add -a test variants.
1007         * run-addr2line-i-test.sh: Likewise.
1008
1009 2015-05-20  Mark Wielaard  <mjw@redhat.com>
1010
1011         * run-addrname-test.sh: Make sure all input addresses are hex.
1012
1013 2015-05-04  Max Filippov  <jcmvbkbc@gmail.com>
1014
1015         * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
1016         * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
1017         (main): Likewise.
1018         * backtrace-dwarf.c (main): Likewise.
1019         * backtrace.c (prepare_thread, exec_dump): Likewise.
1020
1021 2015-05-04  Anthony G. Basile  <blueness@gentoo.org>
1022
1023         * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
1024         (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
1025         (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
1026         (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
1027         (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
1028
1029 2015-05-01  Mark Wielaard  <mjw@redhat.com>
1030
1031         * run-stack-d-test.sh: Use --raw and mangled output.
1032         * run-stack-i-test.sh: Likewise.
1033         * run-stack-demangled-test.sh: New test.
1034         * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
1035         (TESTS): Likewise.
1036
1037 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1038
1039         * Makefile.am (TESTS): Add run-strip-test10.sh.
1040         (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
1041         Add testfile-x32-debug.bz2.
1042         * run-strip-test10.sh: New file.
1043         * testfile-x32-d.bz2: Likewise.
1044         * testfile-x32-debug.bz2: Likewise.
1045
1046 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1047
1048         * Makefile.am (TESTS): Add run-strip-test9.sh.
1049         (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
1050         * run-strip-test9.sh: New file.
1051         * testfile-x32-s.bz2: Likewise.
1052
1053 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1054
1055         * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
1056         (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
1057         Add backtrace.x32.exec.bz2.
1058         * backtrace.x32.core.bz2 : New file.
1059         * backtrace.x32.exec.bz2: Likewise.
1060         * run-backtrace-core-x32.sh: Likewise.
1061
1062 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1063
1064         * run-addrcfi.sh: Add a test for testfile-x32.
1065         * testfile-x32.bz2: New file.
1066         * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
1067
1068 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1069
1070         * run-allregs.sh: Add a test for testfile-x32-core.
1071
1072 2015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1073
1074         * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
1075         * testfile-x32-core.bz2: New file.
1076         * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
1077
1078 2015-03-18  Petr Machata  <pmachata@redhat.com>
1079
1080         * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
1081         the API changes.
1082         * allregs.c (dwarf_encoding_string): Likewise.
1083         * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
1084         * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
1085
1086 2015-03-18  Petr Machata  <pmachata@redhat.com>
1087
1088         * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
1089         debug-ranges-no-lowpc.o.bz2.
1090
1091 2015-03-13  Mark Wielaard  <mjw@redhat.com>
1092
1093         * backtrace-dwarf.c: Add explicit includes.
1094         (cleanup_13_abort): Remove unused static declaration.
1095         (thread_callback): Add explicit return.
1096
1097 2015-03-13  H.J. Lu  <hjl.tools@gmail.com>
1098
1099         * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
1100         instead of PTRACE_POKEUSER.
1101         (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
1102         is_x86_64_native.
1103
1104 2015-02-18  Mark Wielaard  <mjw@redhat.com>
1105
1106         * newdata.c (check_section_data): Use PRId64 for printing loff_t.
1107
1108 2015-02-11  Josh Stone  <jistone@redhat.com>
1109
1110         * backtrace.c (exec_dump): Initialize jmp.
1111
1112 2015-02-11  Petr Machata  <pmachata@redhat.com>
1113
1114         * run-dwarf-ranges.sh: New test.
1115         * dwarf-ranges.c: New file.
1116         * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
1117
1118 2015-01-21  Mark Wielaard  <mjw@redhat.com>
1119
1120         * Makefile.am (check_PROGRAMS): Add elfstrtab.
1121         (TESTS): Likewise.
1122         (elfstrtab_LDADD): New variable.
1123         * elfstrtab.c: New test.
1124
1125 2015-01-20  Mark Wielaard  <mjw@redhat.com>
1126
1127         * Makefile.am (check_PROGRAMS): Add newdata.
1128         (TESTS): Likewise.
1129         (newdata_LDADD): new variable.
1130         * newdata.c: New test.
1131
1132 2015-01-20  Mark Wielaard  <mjw@redhat.com>
1133
1134         * strptr.c: New file.
1135         * run-strptr.sh: New test.
1136         * Makefile.am (check_PROGRAMS): Add strptr.
1137         (TESTS): Add run-strptr.sh.
1138         (EXTRA_DIST): Likewise.
1139         (strptr_LDADD): New variable.
1140
1141 2015-01-15  Mark Wielaard  <mjw@redhat.com>
1142
1143         * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
1144         * vdsosyms.c (main): Use getpid () instead of getppid ().
1145
1146 2014-12-27  Mark Wielaard  <mjw@redhat.com>
1147
1148         * addrscopes.c (handle_address): Last address in scope is highpc - 1.
1149         * funcscopes.c (handle_function): Likewise.
1150         * run-addrscopes.sh: Adjust last address in scope.
1151         * run-funcscopes.sh: Likewise.
1152
1153 2015-01-07  Mark Wielaard  <mjw@redhat.com>
1154
1155         * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
1156
1157 2015-01-14  Mark Wielaard  <mjw@redhat.com>
1158
1159         * testfile-debug-types.bz2: New testfile.
1160         * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
1161         * typeiter2.c (main): Print both name and offset of found form DIE.
1162         * run-typeiter.s: Adjust output and add testfile-debug-types.
1163
1164 2014-12-26  Mark Wielaard  <mjw@redhat.com>
1165
1166         * run-test-archive64.sh: Add nm test.
1167
1168 2014-12-19  Mark Wielaard  <mjw@redhat.com>
1169
1170         * run-deleted.sh: Don't check libfunc on ppc64.
1171
1172 2014-12-19  Mark Wielaard  <mjw@redhat.com>
1173
1174         * vdsosyms.c (vdso_seen): Removed.
1175         (vdso_syms): New global.
1176         (module_callback): Set and check vdso_syms.
1177         (main): Return value depends on vdso_syms.
1178
1179 2014-12-19  Mark Wielaard  <mjw@redhat.com>
1180
1181         * backtrace-subr.sh (check_native_unsupported): Relax special ARM
1182         grep a little.
1183         * run-deleted.sh: Call check_native_unsupported.
1184
1185 2014-12-18  Mark Wielaard  <mjw@redhat.com>
1186
1187         * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
1188
1189 2014-12-12  Mark Wielaard  <mjw@redhat.com>
1190
1191         * Makefile.am (deleted_lib_so_CFLAGS): Add
1192         -fasynchronous-unwind-tables.
1193
1194 2014-12-11  Josh Stone  <jistone@redhat.com>
1195
1196         * run-addr2line-i-lex-test.sh: New test.
1197         * testfile-lex-inlines.bz2: New testfile.
1198         * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
1199         testfile-lex-inlines.bz2.
1200         (TESTS): Add run-addr2line-i-lex-test.sh.
1201
1202 2014-12-10  Josh Stone  <jistone@redhat.com>
1203
1204         * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
1205         preferred over the plain die name.
1206
1207 2014-12-02  Petr Machata  <pmachata@redhat.com>
1208
1209         * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
1210         DW_MACRO_GNU_undef_indirect opcodes.  Add a default branch.
1211         (main): Initialize off to DWARF_GETMACROS_START when an extra
1212         command line argument is passed.
1213         * testfile-macros-0xff.bz2: New test case.
1214         * testfile-macros-0xff.s: New file (source for the above).
1215         * run-dwarf-getmacros.sh: Add two tests.
1216
1217 2014-11-27  Mark Wielaard  <mjw@redhat.com>
1218
1219         * vdsosyms.c (main): Call dwfl_linux_proc_attach.
1220
1221 2014-11-21  Mark Wielaard  <mjw@redhat.com>
1222
1223         * run-readelf-A.sh: New test.
1224         * testfileppc32attrs.o.bz2: New test file.
1225         * Makefile.am (TESTS): Add run-readelf-A.sh.
1226         (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
1227
1228 2014-11-10  Mark Wielaard  <mjw@redhat.com>
1229
1230         * vdsosyms.c: New test.
1231         * Makefile.am (check_PROGRAMS): Add vdsosyms.
1232         (TESTS): Likewise.
1233         (vdsosyms_LDADD): New variable.
1234
1235 2014-09-10  Petr Machata  <pmachata@redhat.com>
1236
1237         * dwarf-getmacros.c: Update to use the new macro iteration
1238         interfaces.
1239         * run-dwarf-getmacros.sh: Adjust, add a test that uses
1240         testfile-macros.
1241
1242 2014-10-06  Mark Wielaard  <mjw@redhat.com>
1243
1244         * run-aggregate-size.sh: Add testfile-sizes3.o test case.
1245         * testfile-sizes3.o.bz2: New test file.
1246         * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
1247
1248 2014-10-02  Mark Wielaard  <mjw@redhat.com>
1249
1250         * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
1251
1252 2014-10-02  Mark Wielaard  <mjw@redhat.com>
1253
1254         * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1255         (TESTS): Add run-aggregate-size.sh.
1256         (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1257         and testfile-sizes2.o.bz2.
1258         (aggregate_size_LDADD): New variable.
1259         * aggregate_size.c: New file.
1260         * run-aggregate-size.sh: New test.
1261         * testfile-sizes1.o.bz2: New test file.
1262         * testfile-sizes2.o.bz2: Likewise.
1263
1264 2014-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1265
1266         Support NT_FILE for locating files.
1267         * Makefile.am (TESTS): Add run-linkmap-cut.sh.
1268         (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1269         linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1270         * linkmap-cut-lib.so.bz2: New file.
1271         * linkmap-cut.bz2: New file.
1272         * linkmap-cut.core.bz2: New file.
1273         * run-linkmap-cut.sh: New file.
1274         * run-unstrip-n.sh: Update its expected output.
1275
1276 2014-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1277
1278         * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1279         (TESTS, EXTRA_DIST): Add run-deleted.sh.
1280         (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1281         * deleted-lib.c: New file.
1282         * deleted.c: New file.
1283         * run-deleted.sh: New file.
1284
1285 2014-06-15  Mark Wielaard  <mjw@redhat.com>
1286
1287         * backtrace.c (frame_callback): Error on seeing more than 16 frames.
1288
1289 2014-06-13  Mark Wielaard  <mjw@redhat.com>
1290
1291         * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1292         frame symname.
1293
1294 2014-06-13  Mark Wielaard  <mjw@redhat.com>
1295
1296         * backtrace-subr.sh (check_native_unsupported): New function.
1297         (check_native): Call it.
1298         (check_native_core): Likewise.
1299         * run-backtrace-dwarf.sh: Likewise.
1300
1301 2014-06-11  Mark Wielaard  <mjw@redhat.com>
1302
1303         * backtrace.c (main): Check that Dwfl was attached by calling
1304         dwfl_pid and printing the error when it is not.
1305
1306 2014-05-18  Mark Wielaard  <mjw@redhat.com>
1307
1308         * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1309         (f): Likewise.
1310         * testfile-backtrace-demangle.bz2: Regenerate.
1311         * testfile-backtrace-demangle.core.bz2: Likewise.
1312
1313 2014-05-02  Mark Wielaard  <mjw@redhat.com>
1314
1315         * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1316         run-allfcts-multi.sh are now added unconditionally.
1317
1318 2014-05-01  Mark Wielaard  <mjw@redhat.com>
1319
1320         * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1321         subdir.
1322
1323 2014-04-30  Mark Wielaard  <mjw@redhat.com>
1324
1325         * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1326         * Makefile.am (check_PROGRAMS): Add buildid.
1327         (TESTS): Add run-buildid.sh.
1328         (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1329         (buildid_LDADD): New variable.
1330
1331 2014-04-24  Florian Weimer  <fweimer@redhat.com>
1332
1333         * allfcts.c (setup_alt): New function.
1334         (main): Call it.  Implementation additional error checking and
1335         reporting.
1336
1337 2014-04-24  Florian Weimer  <fweimer@redhat.com>
1338
1339         * debugaltlink.c, run-debugaltlink.sh: New files.
1340         * Makefile.am (check_PROGRAMS): Add debugaltlink.
1341         (TESTS): Add run-debugaltlink.sh.
1342         (debugaltlink_LDADD): New variable.
1343
1344 2014-04-11  Mark Wielaard  <mjw@redhat.com>
1345
1346         * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1347         (check_PROGRAMS): Add debuglink.
1348         (TESTS): Add run-debuglink.sh
1349         (EXTRA_DIST): Likewise.
1350         (debuglink_LDADD): New.
1351         * debuglink.c: New file.
1352         * run-debuglink.sh: Likewise.
1353
1354 2014-03-23  Mark Wielaard  <mjw@redhat.com>
1355
1356         * run-nm-self.sh: Use test = not == for string comparisons.
1357
1358 2014-04-22  Kurt Roeckx  <kurt@roeckx.be>
1359
1360         * backtrace.c: Make Linux only.
1361         * backtrace-child.c: Make Linux only.
1362         * backtrace-data.c: Make Linux only.
1363         * backtrace-dwarf.c: Make Linux only.
1364         * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1365
1366 2014-03-14  Mark Wielaard  <mjw@redhat.com>
1367
1368         * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1369         LDADD lines.
1370         * configure.ac: Remove MUDFLAP conditional.
1371
1372 2014-04-09  Mark Wielaard  <mjw@redhat.com>
1373
1374         * run-readelf-zdebug.sh: New test.
1375         * testfile-debug.bz2: New testfile.
1376         * testfile-zdebug.bz2: New testfile.
1377         * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1378         (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1379         testfile-zdebug.bz2.
1380
1381 2014-04-10  Mark Wielaard  <mjw@redhat.com>
1382
1383         * testfile_i686_core.bz2: New test file.
1384         * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1385         * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1386
1387 2014-04-09  Mark Wielaard  <mjw@redhat.com>
1388
1389         * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1390         (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1391         backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1392         * run-backtrace-core-aarch64.sh: New test.
1393
1394 2014-03-11  Josh Stone  <jistone@redhat.com>
1395
1396         * testfilebaxmin.bz2: New testfile.
1397         * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1398         * run-readelf-s.sh: Test testfilebaxmin.
1399         * run-dwflsyms.sh: Likewise.
1400
1401 2014-01-26  Mark Wielaard  <mjw@redhat.com>
1402
1403         * backtrace-subr.sh (check_unsupported): Special case arm*.
1404
1405 2014-01-25  Mark Wielaard  <mjw@redhat.com>
1406
1407         * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1408         location expression: call_frame_cfa stack_value.
1409
1410 2014-01-22  Mark Wielaard  <mjw@redhat.com>
1411
1412         * Makefile.am (line2addr_no_Wformat): Removed.
1413
1414 2014-01-21  Mark Wielaard  <mjw@redhat.com>
1415
1416         * Makefile.am (TESTS): Add run-stack-i-test.sh.
1417         (EXTRA_DIST): Likewise.
1418         * run-stack-i-test.sh: New test.
1419
1420 2014-01-20  Mark Wielaard  <mjw@redhat.com>
1421
1422         * Makefile.am (TESTS): Add run-stack-d-test.sh.
1423         (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1424         testfiledwarfinlines.core.bz2.
1425         * run-stack-d-test.sh: New test.
1426         * testfiledwarfinlines.bz2: New test file.
1427         * testfiledwarfinlines.core.bz2: Likewise.
1428
1429 2014-01-16  Mark Wielaard  <mjw@redhat.com>
1430
1431         * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1432         on one ET_REL, one ET_EXEC and one ET_DYN file.
1433         * test-subr.sh (self_test_files): Add two ET_REL files, only add
1434         two libebl ET_DYN backend files.
1435
1436 2014-01-16  Mark Wielaard  <mjw@redhat.com>
1437
1438         * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1439
1440 2014-01-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1441
1442         Fix false FAILs on testsuite with ulimit -c unlimited.
1443         * backtrace-child.c (sigusr2): Call pthread_exit.
1444         (main): Return, do not call abort.
1445
1446 2014-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1447
1448         Fix corruption of non-C++ symbols by the demangler.
1449         * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1450         <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1451         (EXTRA_DIST): Add run-backtrace-demangle.sh,
1452         testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1453         testfile-backtrace-demangle.core.bz2.
1454         * backtrace-demangle.cc: New file.
1455         * run-backtrace-demangle.sh: New file.
1456         * testfile-backtrace-demangle.bz2: New file.
1457         * testfile-backtrace-demangle.cc: New file.
1458         * testfile-backtrace-demangle.core.bz2: New file.
1459
1460 2014-01-07  Matthias Klose <doko@ubuntu.com>
1461
1462         * backtrace-subr.sh (check_native_core): Check to see if core file
1463         was created without ".PID" extension, if so mv core to core.PID.
1464         Skip test if no core file was created or could be found.
1465
1466 2014-01-04  Mark Wielaard  <mjw@redhat.com>
1467
1468         * backtrace-data.c (main): Don't assert if raise returns.
1469         * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1470         assume_ptrace_attached true.
1471         (ptrace_detach_stopped): Removed function.
1472         (main): Don't call ptrace_detach_stopped.
1473         * backtrace.c (ptrace_detach_stopped): Removed function.
1474         (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1475         true.
1476         (exec_dump): Don't call ptrace_detach_stopped.
1477
1478 2014-01-04  Mark Wielaard  <mjw@redhat.com>
1479
1480         * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1481         if we cannot adjust core ulimit.
1482
1483 2014-01-04  Mark Wielaard  <mjw@redhat.com>
1484
1485         * cleanup-13.c (force_unwind_stop): Removed.
1486         (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1487         don't call _Unwind_ForcedUnwind.
1488
1489 2014-01-03  Mark Wielaard  <mjw@redhat.com>
1490
1491         * run-addrcfi.sh: Add case for EM_AARCH64.
1492         * testfileaarch64.bz2: New testfile.
1493         * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1494
1495 2013-12-30  Mark Wielaard  <mjw@redhat.com>
1496
1497         * backtrace-dwarf.c (report_pid): Explicitly call
1498         dwfl_linux_proc_attach and check for errors.
1499         * backtrace.c (report_pid): Likewise.
1500
1501 2013-12-21  Mark Wielaard  <mjw@redhat.com>
1502
1503         * backtrace.c (callback_verify): Only assert that case 5 is the last
1504         instruction of backtracegen on x86_64 native.
1505
1506 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1507             Mark Wielaard  <mjw@redhat.com>
1508
1509         * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1510         and testfilebaz*ppc64*.bz2 files.
1511         * dwflsyms.c (list_syms): Remove unused from parameter mod_name.  Print
1512         error on dwfl_module_getsymtab error.
1513         (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1514         Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1515         Also print section of actual value if different from sym.
1516         * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1517         Test addr2line -x by showing different sections for address and
1518         found name in testfile66.
1519         * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1520         testfilebaz*ppc64): New tests.
1521         * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1522         testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1523         testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1524         testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1525         testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1526         testfilebaztabppc64.bz2: New test files.
1527
1528 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1529
1530         unwinder: s390 and s390x
1531         * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1532         run-backtrace-core-s390.sh.
1533         (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1534         backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1535         run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1536         * backtrace.s390.core.bz2: New file.
1537         * backtrace.s390.exec.bz2: New file.
1538         * backtrace.s390x.core.bz2: New file.
1539         * backtrace.s390x.exec.bz2: New file.
1540         * run-backtrace-core-s390.sh: New file.
1541         * run-backtrace-core-s390x.sh: New file.
1542
1543 2013-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1544
1545         * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1546         code.
1547
1548 2013-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1549
1550         unwinder: ppc
1551         * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1552         (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1553         backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1554         * backtrace.ppc.core.bz2: New file.
1555         * backtrace.ppc.exec.bz2: New file.
1556         * run-backtrace-core-ppc.sh: New file.
1557
1558 2013-12-10  Mark Wielaard  <mjw@redhat.com>
1559
1560         * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1561
1562 2013-12-10  Mark Wielaard  <mjw@redhat.com>
1563
1564         * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1565         * backtrace-subr.sh (check_native_core): Disable valgrind while
1566         dumping core.
1567         * run-backtrace-data.sh: Disable valgrind.
1568         * run-backtrace-dwarf.sh: Likewise.
1569
1570 2013-12-09  Mark Wielaard  <mjw@redhat.com>
1571
1572         * varlocs.c (print_expr): Update comment to explain empty location
1573         associated with DW_OP_GNU_implicit_pointer.
1574
1575 2013-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1576
1577         Fix test FAIL with -O2.
1578         * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1579
1580 2013-12-05  Mark Wielaard  <mjw@redhat.com>
1581
1582         * backtrace-data.c (main): If unsupported also print to stderr.
1583         * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1584
1585 2013-12-04  Mark Wielaard  <mjw@redhat.com>
1586
1587         * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1588
1589 2013-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1590
1591         * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1592         backtrace-data and backtrace-dwarf.
1593         (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1594         (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1595         run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1596         run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1597         run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1598         <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1599         (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1600         cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1601         run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1602         run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1603         backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1604         backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1605         (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1606         (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1607         New.
1608         * backtrace-child.c: New file.
1609         * backtrace-data.c: New file.
1610         * backtrace-dwarf.c: New file.
1611         * backtrace-subr.sh: New file.
1612         * backtrace.c: New file.
1613         * cleanup-13.c: New file.
1614         * backtrace.i386.core.bz2: New file.
1615         * backtrace.i386.exec.bz2: New file.
1616         * backtrace.x86_64.core.bz2: New file.
1617         * backtrace.x86_64.exec.bz2: New file.
1618         * run-backtrace-core-i386.sh: New file.
1619         * run-backtrace-core-x86_64.sh: New file.
1620         * run-backtrace-native-biarch.sh: New file.
1621         * run-backtrace-native-core-biarch.sh: New file.
1622         * run-backtrace-native-core.sh: New file.
1623         * run-backtrace-native.sh: New file.
1624         * run-backtrace-data.sh: New file.
1625         * run-backtrace-dwarf.sh: New file.
1626
1627 2013-11-27  Mark Wielaard  <mjw@redhat.com>
1628
1629         * dwflsyms.c (gelf_bind_order): New function.
1630         (elf_section_name): Likewise.
1631         (addr_in_section): Likewise.
1632         (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1633         Refine assert using gelf_bind_order. Print elf_section_name. Check
1634         bias with addr_in_section.
1635         * run-dwflsyms.sh: Add section names to expected output.
1636
1637 2013-11-26  Mark Wielaard  <mjw@redhat.com>
1638
1639         * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1640
1641 2013-11-25  Petr Machata  <pmachata@redhat.com>
1642
1643         * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1644         * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1645         * Makefile.am (EXTRA_DIST): Add these.
1646         (TESTS): Add run-funcretval.sh.
1647         * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1648         * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1649         * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1650         * run-funcretval.sh: New file.
1651
1652 2013-11-18  Josh Stone  <jistone@redhat.com>
1653
1654         * testfilebazdbg_plr.bz2: New testfile.
1655         * testfilebazmin_plr.bz2: Likewise.
1656         * Makefile.am (EXTRA_DIST): Add the above files.
1657         * run-dwflsyms.sh: Add prelink -r tests.
1658
1659 2013-11-15  Mark Wielaard  <mjw@redhat.com>
1660
1661         * testfilebazmdb.bz2: Regenerated.
1662         * testfilebazmin.bz2: Likewise.
1663         * testfilebazdbg_pl.bz2: New testfile.
1664         * testfilebazmin_pl.bz2: Likewise.
1665         * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1666         testfilebazmin_pl.bz2.
1667         * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1668         print relative address of function symbols.
1669         * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1670
1671 2013-11-01  Michael Forney  <mforney@mforney.org>
1672
1673         * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1674         * run-arsymtest.sh: Use NM.
1675
1676 2013-11-05  Mark Wielaard  <mjw@redhat.com>
1677
1678         * allfcts.c (main): Correct dwarf_getfuncs return value check.
1679
1680 2013-10-10  Mark Wielaard  <mjw@redhat.com>
1681             Josh Stone  <jistone@redhat.com>
1682
1683         * run-allfcts-multi.sh: New test.
1684         * test-offset-loop.bz2: New testfile.
1685         * test-offset-loop.alt.bz2: New testfile.
1686         * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1687         (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1688         test-offset-loop.alt.bz2.
1689
1690 2013-10-15  Mark Wielaard  <mjw@redhat.com>
1691
1692         * run-unstrip-M.sh: New test.
1693         * Makefile.am (TESTS): Add run-unstrip-M.sh.
1694         (EXTRA_DIST): Likewise.
1695
1696 2013-10-06  Mark Wielaard  <mjw@redhat.com>
1697
1698         * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1699         location expression.
1700
1701 2013-10-03  Josh Stone  <jistone@redhat.com>
1702
1703         * typeiter2.c: New file, reversing typeiter.c.
1704         * run-typeiter.sh: Also run typeiter2.
1705         * Makefile.am (check_PROGRAMS): Add typeiter2.
1706         (typeiter2_LDADD): New variable.
1707
1708 2013-09-26  Petr Machata  <pmachata@redhat.com>
1709
1710         * run-readelf-mixed-corenote.sh: Update output of testfile71
1711         dump--readelf can newly decode the NT_FILE note.
1712
1713 2013-09-26  Petr Machata  <pmachata@redhat.com>
1714
1715         * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
1716         * run-readelf-mixed-corenote.sh: New test for this file.
1717         * testfile71.bz2: New file.
1718
1719 2013-09-20  Mark Wielaard  <mjw@redhat.com>
1720
1721         * allfcts.c (cb): Return DWARF_CB_ABORT.
1722         (main): Iterate over all offsets returned by dwarf_getfuncs.
1723         * run-allfcts.sh: Add nested_funcs and class_func testcases.
1724         * testfile_nested_funcs.bz2: New test file.
1725         * testfile_class_func.bz2: Likewise.
1726         * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
1727         testfile_nested_funcs.bz2.
1728
1729 2013-08-30  Mark Wielaard  <mjw@redhat.com>
1730
1731         * Makefile.am (check_PROGRAMS): Add varlocs.
1732         (TESTS): Add run-varlocs.sh.
1733         (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
1734         testfile_const_type.bz2, testfile_implicit_pointer.c,
1735         testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1736         testfile_entry_value.c, testfile_entry_value.bz2,
1737         testfile_implicit_value.c and testfile_implicit_value.bz2.
1738         (varlocs_LDADD): New.
1739         * run-varlocs: New test.
1740         * testfile_const_type.c: New test source file.
1741         * testfile_entry_value.c: Likewise.
1742         * testfile_implicit_pointer.c: Likewise.
1743         * testfile_implicit_value.c: Likewise.
1744         * testfile_parameter_ref.c: Likewise.
1745         * testfile_const_type.bz2: New test file.
1746         * testfile_entry_value.bz2: Likewise.
1747         * testfile_implicit_pointer.bz2: Likewise.
1748         * testfile_implicit_value.bz2: Likewise.
1749         * testfile_parameter_ref.bz2: Likewise.
1750         * varlocs.c: New test source.
1751
1752 2013-08-29  Mark Wielaard  <mjw@redhat.com>
1753
1754         * run-addrcfi.sh: Add case for EM_ARM.
1755         * testfilearm.bz2: New testfile.
1756         * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1757
1758 2013-08-28  Mark Wielaard  <mjw@redhat.com>
1759
1760         * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1761         completely missing.
1762         * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1763         * testfiles390.bz2: New testfile.
1764         * testfiles390x.bz2: Likewise.
1765         * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1766         testfiles390x.bz2.
1767
1768 2013-08-28  Mark Wielaard  <mjw@redhat.com>
1769
1770         * addrcfi.c (handle_cfi): Use printf not error.
1771         * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1772         * testfileppc32.bz2: New testfile.
1773         * testfileppc64.bz2: Likewise.
1774         * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1775         testfileppc64.bz2.
1776
1777 2013-08-27  Mark Wielaard  <mjw@redhat.com>
1778
1779         * run-addrcfi.sh: New test.
1780         * Makefile.am (TESTS): Add run-addrcfi.sh.
1781         (EXTRA_DIST): Likewise.
1782         * addrcfi.c (op_name): New function.
1783         (print_detail): Call and print op_name. Check ops, not result
1784         to check if this is "same value" or "undefined".
1785         (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1786
1787 2013-08-13  Mark Wielaard  <mjw@redhat.com>
1788
1789         * run-addr2line-i-test.sh: New test.
1790         * testfile-inlines.bz2: New testfile.
1791         * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1792         testfile-inlines.bz2.
1793         (TESTS): Add run-addr2line-i-test.sh.
1794
1795 2013-08-12  Mark Wielaard  <mjw@redhat.com>
1796
1797         * run-addr2line-test.sh: New test.
1798         * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1799         (TESTS): Likewise.
1800
1801 2013-07-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
1802
1803         * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1804         the entries.
1805
1806 2013-07-02  Mark Wielaard  <mjw@redhat.com>
1807
1808         * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1809         testfilenolines.bz2.
1810
1811 2013-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
1812
1813         * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1814         test-core.core.bz2 and test-core.exec.bz2.
1815         * run-addrname-test.sh: New test for these files.
1816         * run-unstrip-n.sh: Update expected output.  New test for these files.
1817         * test-core-lib.so.bz2: New file.
1818         * test-core.core.bz2: New file.
1819         * test-core.exec.bz2: New file.
1820
1821 2013-05-03  Mark Wielaard  <mjw@redhat.com>
1822
1823         * testfilenolines.bz2: New test file.
1824         * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1825         * run-get-lines.sh: Run testrun_compare on testfilenolines.
1826
1827 2013-04-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
1828
1829         * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1830
1831 2013-04-29  Mark Wielaard  <mjw@redhat.com>
1832
1833         * test-subr.sh: Don't use pushd, just cd into test-dir.
1834         (exit_cleanup): Don't use popd, just cd .. to get out.
1835
1836 2013-04-27  Mark Wielaard  <mjw@redhat.com>
1837
1838         * test-subr.sh (exit_cleanup): New function.
1839         (trap): Use exit_cleanup as argument.
1840         * run-native-test.sh (native_exit): New function.
1841         (trap): For EXIT (0) use native_exit as argument.
1842
1843 2013-04-27  Mark Wielaard  <mjw@redhat.com>
1844
1845         * update1.c (main): Use unique tempfile name and unlink file.
1846         * update2.c (main): Likewise.
1847         * update3.c (main): Likewise.
1848         * update4.c (main): Use unique tempfile name.
1849
1850 2013-04-27  Mark Wielaard  <mjw@redhat.com>
1851
1852         * run-alldts.sh: Add testfile-alldts to tempfiles.
1853         * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1854         * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1855         * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1856         and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1857
1858 2013-04-26  Mark Wielaard  <mjw@redhat.com>
1859
1860         * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1861         remove wrapper.
1862         (TESTS_ENVIRONMENT): Likewise.
1863         (installed_LOG_COMPILER): New variable defining wrapper.
1864         (LOG_COMPILER): Likewise.
1865         * run-*.sh: Fixup location of input and output files.
1866         * test-subr.sh: Create test_dir, pushd to execute test in.
1867         (trap): Remove test_dir.
1868         (testfiles): Use abs_srcdir.
1869         (installed_testrun): Match on abs_builddir or abs_top_builddir.
1870         (self_test_files): Adjust path.
1871
1872 2013-04-24  Mark Wielaard  <mjw@redhat.com>
1873
1874         * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1875
1876 2013-03-25  Mark Wielaard  <mjw@redhat.com>
1877
1878         * run-readelf-aranges.sh: New test.
1879         * testfilefoobarbaz.bz2: New test file.
1880         * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1881         (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1882
1883 2013-03-25  Mark Wielaard  <mjw@redhat.com>
1884
1885         * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1886
1887 2013-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1888
1889         * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1890         (TESTS): Add run-dwfl-report-elf-align.sh.
1891         (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1892         testfile-dwfl-report-elf-align-shlib.so.bz2 .
1893         (dwfl_report_elf_align_LDADD): New.
1894         * dwfl-report-elf-align.c: New file.
1895         * run-dwfl-report-elf-align.sh: New file.
1896         * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1897
1898 2013-03-12  Mark Wielaard  <mjw@redhat.com>
1899
1900         * run-dwfllines.sh: New test.
1901         * dwfllines.c: New test program.
1902         * Makefile.am (TESTS): Add run-dwfllines.sh.
1903         (EXTRA_DIST): Likewise.
1904         (dwfllines_LDADD): New variable.
1905
1906 2013-02-22  Mark Wielaard  <mjw@redhat.com>
1907
1908         * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1909         (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1910
1911 2013-02-15  Mark Wielaard  <mjw@redhat.com>
1912
1913         * testfile-dwzstr.bz2: New testfile.
1914         * testfile-dwzstr.multi.bz2: Likewise.
1915         * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1916         * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1917         testfile-dwzstr.multi.bz2.
1918
1919 2013-01-30  Mark Wielaard  <mjw@redhat.com>
1920
1921         * testfileloc.bz2: New testfile.
1922         * run-readelf-loc.sh: New test.
1923         * Makefile.am (TESTS): Add run-readelf-loc.sh.
1924         (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1925
1926 2013-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1927
1928         * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1929         and s390x core notes.
1930         * testfile67.bz2: New file.
1931         * testfile68.bz2: New file.
1932         * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1933
1934 2013-01-23  Mark Wielaard  <mjw@redhat.com>
1935
1936         * testfilebasmin.bz2: New testfile.
1937         * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1938         * run-readelf-s.sh: Test testfilebasmin.
1939         * run-dwflsyms.sh: Likewise.
1940
1941 2013-01-16  Mark Wielaard  <mjw@redhat.com>
1942
1943         * Makefile.am (check_PROGRAMS): Add dwflsyms.
1944         (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1945         (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1946         testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1947         testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1948         (dwflsyms_LDADD): New variable.
1949
1950 2013-01-07  Roland McGrath  <roland@hack.frob.com>
1951
1952         * run-prelink-addr-test.sh: Use ln -snf.
1953
1954 2012-12-03  Mark Wielaard  <mjw@redhat.com>
1955
1956         * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1957
1958 2012-11-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1959
1960         * run-addrname-test.sh: New test for PIE relocation.
1961         * testfile70.core.bz2: New file.
1962         * testfile70.exec.bz2: New file.
1963         * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1964         testfile70.exec.bz2 .
1965
1966 2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1967
1968         * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1969         testfile69.core.bz2 and testfile69.so.bz2 .
1970
1971 2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1972
1973         * run-addrname-test.sh: New test for DSO with build-id bias.
1974         * testfile69.core.bz2: New file.
1975         * testfile69.so.bz2: New file.
1976
1977 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1978
1979         * run-addrname-test.sh: New test for core vDSO bias.
1980         * testfile65.bz2: New file.
1981
1982 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1983
1984         * run-addrname-test.sh: New test for symbol preferences.
1985         * testfile64.bz2: New file.
1986
1987 2012-10-01  Mark Wielaard  <mjw@redhat.com>
1988
1989         * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1990         * test-wrapper.sh: Export VALGRIND_CMD if available.
1991         * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1992         (installed_testrun): Likewise.
1993
1994 2012-09-24  Petr Machata  <pmachata@redhat.com>
1995
1996         * testfile63.bz2: New testfile.
1997         * run-readelf-mixed-corenote.sh: New test.
1998         * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1999         (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
2000
2001 2012-09-24  Petr Machata  <pmachata@redhat.com>
2002
2003         * testfile62.bz2: New testfile.
2004         * run-readelf-vmcoreinfo.sh: New test.
2005         * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
2006         (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
2007
2008 2012-09-18  Petr Machata  <pmachata@redhat.com>
2009
2010         * testfile61.bz2: New testfile.
2011         * run-allregs.sh: Run reg_test testfile61.
2012         * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
2013
2014 2012-08-24  Mark Wielaard  <mjw@redhat.com>
2015
2016         * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
2017
2018 2012-08-22  Jeff Kenton  <jkenton@tilera.com>
2019
2020         * testfile60.bz2: New testfile.
2021         * run-allregs.sh: Run reg_test testfile60.
2022
2023 2012-08-24  Mark Wielaard  <mjw@redhat.com>
2024
2025         * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
2026         ENABLE_DWZ.
2027
2028 2012-08-16  Mark Wielaard  <mjw@redhat.com>
2029
2030         * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
2031         macros.
2032         * show-die-info.c (tagnames): Removed.
2033         (attrs): Removed.
2034         (dwarf_tag_string): New function using known-dwarf macros.
2035         (dwarf_attr_string): Likewise.
2036         (handle): Call dwarf_tag_string and dwarf_attr_string instead.
2037         * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
2038
2039 2012-06-27  Mark Wielaard  <mjw@redhat.com>
2040
2041         * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
2042         (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
2043         libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
2044         testfile_multi_main.bz2.
2045         * run-readelf-dwz-multi.sh: New test.
2046         * libtestfile_multi_shared.so.bz2: New testfile.
2047         * testfile_multi.dwz.bz2: New testifle.
2048         * testfile_multi_main.bz2: New testifle.
2049
2050 2012-08-01  Petr Machata  <pmachata@redhat.com>
2051
2052         * run-test-archive64.sh: New test.
2053         * testarchive64.a.bz2: New testfile.
2054         * Makefile.am (TESTS): Add run-test-archive64.sh.
2055         (EXTRA_DIST): Likewise.
2056
2057 2012-08-01  Mark Wielaard  <mjw@redhat.com>
2058
2059         * run-nm-self.sh: New test.
2060         * run-readelf-self.sh: Likewise.
2061         * test-subr.sh (testrun_on_self_quiet): New function.
2062         * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
2063         (EXTRA_DIST): Likewise.
2064
2065 2012-08-01  Mark Wielaard  <mjw@redhat.com>
2066
2067         * test-subr.sh (self_test_files): New list of files.
2068         (testrun_on_self): New function.
2069         * run-elflint-self.sh: Use testrun_on_self.
2070
2071 2012-07-19  Mark Wielaard  <mjw@redhat.com>
2072
2073         * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
2074         (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
2075         (EXTRA_DIST): Likewise.
2076         (test_elf_cntl_gelf_getshdr_LDADD): New.
2077         test-elf_cntl_gelf_getshdr.c: New test program.
2078         run-elf_cntl_gelf_getshdr.sh: New test script.
2079
2080 2012-07-19  Mark Wielaard  <mjw@redhat.com>
2081
2082         * run-elflint-self.sh: runtests on ../backends/*so files.
2083
2084 2012-07-19  Mark Wielaard  <mjw@redhat.com>
2085
2086         * run-unstrip-n.sh: test_cleanup.
2087         * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
2088
2089 2012-07-11  Mark Wielaard  <mjw@redhat.com>
2090
2091         * run-readelf-macro.sh: New test.
2092         * testfilemacro.bz2: New testfile.
2093         * Makefile.am (TESTS): Add run-readelf-macro.sh.
2094         (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2095
2096 2012-06-27  Mark Wielaard  <mjw@redhat.com>
2097
2098         * run-readelf-gdb-index.sh: New test.
2099         * testfilegdbindex5.bz2: New testfile.
2100         * testfilegdbindex7.bz2: Likewise.
2101         * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
2102         (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
2103         testfilegdbindex7.bz2.
2104
2105 2012-07-17  Mark Wielaard  <mjw@redhat.com>
2106
2107         * testcore-rtlib-ppc.bz2: New testfile.
2108         * run-unstrip-n.sh: Check new ppc core testfile.
2109
2110 2012-06-26  Mike Frysinger  <vapier@gentoo.org>
2111
2112         * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
2113
2114 2012-06-26  Mark Wielaard  <mjw@redhat.com>
2115
2116         * run-macro-test.sh: New test.
2117         * testfile-macinfo.bz2: New testfile.
2118         * testfile-macros.bz2: Likewise.
2119
2120 2012-05-07  Mark Wielaard  <mjw@redhat.com>
2121
2122         * low_high_pc.c: Use proper inttypes in printf formats.
2123
2124 2012-05-11  Mark Wielaard  <mjw@redhat.com>
2125
2126         * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
2127
2128 2012-05-07  Mark Wielaard  <mjw@redhat.com>
2129
2130         * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
2131
2132 2012-04-27  Mark Wielaard  <mjw@redhat.com>
2133
2134         * Makefile.am (TESTS): Add run-low_high_pc.sh
2135         (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
2136         (noinst_PROGRAMS): Add low_high_pc.
2137         (low_high_pc_LDADD): New variable.
2138         * low_high_pc.c: New test.
2139
2140 2012-04-26  Mark Wielaard  <mjw@redhat.com>
2141
2142         * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
2143         * run-show-ciefde.sh: Removed old libdwarf test.
2144         * show-ciefde.c: Likewise.
2145
2146 2012-04-02  Mark Wielaard  <mjw@redhat.com>
2147
2148         * Makefile.am (TESTS): Add run-unstrip-n.sh.
2149         (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
2150         * run-unstrip-n.sh: New test.
2151         * testcore-rtlib.bz2: New testfile.
2152
2153 2012-04-02  Mark Wielaard  <mjw@redhat.com>
2154
2155         * Makefile.am (TESTS): Add run-readelf-d.sh.
2156         (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
2157         * run-readelf-d.sh: New test.
2158         * run-elflint-test.sh: Check new testfile.
2159
2160 2012-03-21  Tom Tromey  <tromey@redhat.com>
2161
2162         * typeiter.c: New file.
2163         * run-typeiter.sh: New file.
2164         * testfile59.bz2: New file.
2165         * Makefile.am (noinst_PROGRAMS): Add typeiter.
2166         (TESTS): Add run-typeiter.sh.
2167         (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
2168         (typeiter_LDADD): New variable.
2169
2170 2012-02-21  Kurt Roeckx  <kurt@roeckx.be>
2171
2172         * run-alldts.sh: testrun ./alldts.
2173
2174 2012-02-21  Roland McGrath  <roland@hack.frob.com>
2175
2176         * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
2177         * test-subr.sh (installed_testrun): Likewise.
2178
2179 2012-01-18  Roland McGrath  <roland@hack.frob.com>
2180
2181         * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
2182         it will have been inherited correctly from the test harness.
2183         * asm-tst5.c (main): Likewise.
2184         * asm-tst6.c (main): Likewise.
2185         Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
2186
2187 2011-07-09  Roland McGrath  <roland@hack.frob.com>
2188
2189         * sha1-tst.c: File removed.
2190         * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
2191         (sha1_tst_LDADD): Variable removed.
2192
2193         * md5-sha1-test.c: New file.
2194         * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
2195         (md5_sha1_test_LDADD): New variable.
2196
2197 2011-05-30  Mark Wielaard  <mjw@redhat.com>
2198
2199         * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
2200         run-rerequest_tag.sh
2201
2202 2011-05-24  Mark Wielaard  <mjw@redhat.com>
2203
2204         * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
2205         * run-strip-reloc.sh: Add hello_s390.ko testcase.
2206         * hello_s390.ko.bz2: New test file.
2207
2208 2011-05-23  Mark Wielaard  <mjw@redhat.com>
2209
2210         * Makefile.am (TESTS): Add run-strip-reloc.sh.
2211         (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
2212         hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
2213         * run-strip-reloc.sh: New test.
2214         * hello_i386.ko.bz2: New test file.
2215         * hello_x86_64.ko.bz2: Likewise.
2216         * hello_ppc64.ko.bz2: Likewise.
2217
2218 2011-05-18  Mark Wielaard  <mjw@redhat.com>
2219
2220         * run-strip-groups.sh: New test.
2221         * testfile58.bz2: New test file.
2222         * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
2223         (TESTS): Add run-strip-groups.sh.
2224         (EXTRA_DIST): Likewise.
2225
2226 2011-03-28  Marek Polacek  <mpolacek@redhat.com>
2227
2228         * alldts.c: New file.
2229         * run-alldts.sh: Use it.
2230         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2231         (alldts_LDADD): New variable.
2232
2233 2011-03-02  Marek Polacek  <mpolacek@redhat.com>
2234
2235         * dwarf-getstring.c: New test.
2236         * run-dwarf-getstring.sh: And its wrapper.
2237         * Makefile.am (EXTRA_DIST): Add and update all.
2238
2239 2011-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2240
2241         * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
2242         * run-readelf-twofiles.sh: New file.
2243
2244 2011-02-25  Mark Wielaard  <mjw@redhat.com>
2245
2246         * Makefile.am (BUILD_RPATH): Be consistent in naming.
2247
2248 2011-02-02  Josh Stone  <jistone@redhat.com>
2249
2250         * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
2251         * testfile55-64.bz2, testfile55-64.debug.bz2,
2252         testfile55-64.prelink.bz2, testfile55-32.bz2,
2253         testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2254         * Makefile.am (EXTRA_DIST): Add and update all.
2255
2256 2011-01-12  Roland McGrath  <roland@redhat.com>
2257
2258         * run-prelink-addr-test.sh: Make symlinks to find .debug files
2259         corresponding to .noshdrs files.
2260
2261 2011-01-11  Josh Stone  <jistone@redhat.com>
2262
2263         * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2264         * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2265         testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2266         testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2267         testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2268         * Makefile.am (EXTRA_DIST): Add and update all.
2269
2270         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2271         * testfile53.bz2, testfile53.debug.bz2,
2272         testfile53.prelink.bz2: Deleted, so...
2273         * testfile53-64.bz2, testfile53-64.debug.bz2,
2274         testfile53-64.prelink.bz2: Recreated with 64-bit names.
2275         * testfile53-32.bz2, testfile53-32.debug.bz2,
2276         testfile53-32.prelink.bz2: New in 32-bit.
2277         * Makefile.am (EXTRA_DIST): Add and update all.
2278
2279         * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2280         * testfile52.so.bz2, testfile52.so.debug.bz2,
2281         testfile52.prelink.so.bz2: Deleted, so...
2282         * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2283         testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2284         * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2285         * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
2286         testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
2287         * Makefile.am (EXTRA_DIST): Add and update all.
2288
2289 2011-01-10  Josh Stone  <jistone@redhat.com>
2290
2291         * run-prelink-addr-test.sh: New test for prelinked addrs.
2292         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2293         * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2294         * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2295         * testfile53.bz2, testfile53.debug.bz2: New data files.
2296         * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2297         * Makefile.am (EXTRA_DIST): Add them.
2298
2299 2010-06-04  Roland McGrath  <roland@redhat.com>
2300
2301         * run-unstrip-test.sh: Also test modifying the file in place.
2302
2303 2010-04-22  Roland McGrath  <roland@redhat.com>
2304
2305         * addrcfi.c (handle_cfi): Fix function name in error message.
2306         Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2307
2308 2010-04-14  Roland McGrath  <roland@redhat.com>
2309
2310         * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2311
2312 2010-04-10  Ulrich Drepper  <drepper@redhat.com>
2313
2314         * msg_tst.c: Adjust expected error message.
2315
2316 2010-04-01  Petr Machata  <pmachata@redhat.com>
2317
2318         * test-flag-nobits.c: New test.
2319         * run-test-flag-nobits.sh: And its wrapper.
2320         * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2321         (test_flag_nobits_LDADD): New variable.
2322
2323 2010-02-15  Roland McGrath  <roland@redhat.com>
2324
2325         * Makefile.am: Use config/eu.am for common stuff.
2326
2327         * asm-tst9.c (main): Rename local to avoid shadowing another local.
2328
2329 2009-07-22  Roland McGrath  <roland@redhat.com>
2330
2331         * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2332
2333 2009-07-08  Roland McGrath  <roland@redhat.com>
2334
2335         * addrcfi.c: New file.
2336         * Makefile.am (noinst_PROGRAMS): Add it.
2337         (addrcfi_LDADD): New variable.
2338
2339 2009-05-07  Petr Machata  <pmachata@redhat.com>
2340
2341         * testfile51.bz2: New data file.
2342         * dwarf-getmacros.c: New test core.
2343         * run-dwarf-getmacros.sh: New test wrapper.
2344         * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2345         (dwarf_getmacros_LDADD): New variable.
2346
2347 2009-04-23  Ulrich Drepper  <drepper@redhat.com>
2348
2349         * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2350         (rdwrmmap_LDADD): Add $(libmudflap).
2351
2352 2009-04-21  Roland McGrath  <roland@redhat.com>
2353
2354         * testfile50.bz2: New data file.
2355         * Makefile.am (EXTRA_DIST): Add it.
2356         * run-dwfl-addr-sect.sh: Add a case using it.
2357
2358 2008-12-31  Ulrich Drepper  <drepper@redhat.com>
2359
2360         * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2361         mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2362         pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2363         pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2364         pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2365         pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2366         roundss, roundps, roundpd, and roundsd.
2367         * testfile45.S.bz2: Likewise.
2368         * testfile44.expect.bz2: Adjust accordingly.
2369         * testfile45.expect.bz2: Likewise.
2370
2371         * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2372         * testfile45.S.bz2: Likewise.
2373         * testfile44.expect.bz2: Adjust accordingly.
2374         * testfile45.expect.bz2: Likewise.
2375
2376 2008-12-30  Ulrich Drepper  <drepper@redhat.com>
2377
2378         * testfile44.S.bz2: Add tests for blendpd and blendps.
2379         * testfile45.S.bz2: Likewise.
2380         * testfile44.expect.bz2: Adjust accordingly.
2381         * testfile45.expect.bz2: Likewise.
2382
2383 2008-12-19  Ulrich Drepper  <drepper@redhat.com>
2384
2385         * testfile44.S.bz2: Add tests for AMD 3DNOW.
2386         * testfile45.S.bz2: Likewise.
2387         * testfile44.expect.bz2: Adjust accordingly.
2388         * testfile45.expect.bz2: Likewise.
2389
2390 2008-11-26  Roland McGrath  <roland@redhat.com>
2391
2392         * dwfl-bug-getmodules.c: New file.
2393         * Makefile.am (noinst_PROGRAMS): Add it.
2394         (dwfl_bug_getmodules_LDADD): New variable.
2395
2396 2008-09-10  Roland McGrath  <roland@redhat.com>
2397
2398         * test-subr.sh (LC_ALL): Export it set to "C".
2399         * run-dwfl-addr-sect.sh: Don't do it here.
2400         * run-strings-test.sh: Likewise.
2401
2402 2008-08-21  Denys Vlasenko  <dvlasenk@redhat.com>
2403
2404         * run-addrname-test.sh: Add a new case.
2405         * testfile49.bz2: New data file.
2406         * Makefile.am (EXTRA_DIST): Add it.
2407
2408 2008-04-10  Roland McGrath  <roland@redhat.com>
2409
2410         * testfile48.bz2, testfile48.bz2.debug: New data files.
2411         * Makefile.am (EXTRA_DIST): Add them.
2412         * run-strip-test8.sh: Use them.
2413
2414         * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2415
2416         * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2417         * run-strip-test8.sh: New file.
2418         * testfile47.bz2: New data file.
2419         * Makefile.am (TESTS, EXTRA_DIST): Add them.
2420
2421 2008-03-31  Roland McGrath  <roland@redhat.com>
2422
2423         * run-early-offscn.sh: New file.
2424         * early-offscn.c: New file.
2425         * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2426         (early_offscn_LDADD): New variable.
2427
2428 2008-03-19  Roland McGrath  <roland@redhat.com>
2429
2430         * run-addrname-test.sh: Add a new case.
2431
2432 2008-02-22  Roland McGrath  <roland@redhat.com>
2433
2434         * run-elflint-test.sh: Typo fix.
2435
2436 2008-02-21  Roland McGrath  <roland@redhat.com>
2437
2438         * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2439         for the build down to minimum.
2440         * run-disasm-x86-64.sh: Likewise.
2441
2442 2008-02-20  Roland McGrath  <roland@redhat.com>
2443
2444         * testfile46.bz2: New data file.
2445         * Makefile.am (EXTRA_DIST): Add it.
2446         * run-elflint-test.sh: Test on it.
2447
2448 2008-02-01  Ulrich Drepper  <drepper@redhat.com>
2449
2450         * Makefile.am: Hook up sha1-tst.c.
2451         * sha1-tst.c: New file.
2452
2453 2008-01-21  Roland McGrath  <roland@redhat.com>
2454
2455         * testfile45.S.bz2: Add tests for cltq, cqto.
2456         * testfile45.expect.bz2: Adjust.
2457
2458 2008-01-14  Ulrich Drepper  <drepper@redhat.com>
2459
2460         * testfile45.S.bz2: Add more tests.
2461         * testfile45.expect.bz2: Adjust.
2462
2463 2008-01-11  Ulrich Drepper  <drepper@redhat.com>
2464
2465         * testfile45.expect.bz2: Adjust for adding of address for %rip based
2466         address mode.
2467
2468 2008-01-10  Ulrich Drepper  <drepper@redhat.com>
2469
2470         * testfile45.S.bz2: Add more tests.
2471         * testfile45.expect.bz2: Adjust.
2472
2473 2008-01-08  Ulrich Drepper  <drepper@redhat.com>
2474
2475         * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2476         (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2477         run-disasm-x86-64.sh.
2478         * run-disasm-x86-64.sh: New file.
2479         * testfile45.S.bz2: New file.
2480         * testfile45.expect.bz2: New file.
2481         * testfile44.S.bz2: New tests.
2482         * testfile44.expect.bz2: Adjust.
2483
2484 2008-01-04  Ulrich Drepper  <drepper@redhat.com>
2485
2486         * testfile44.S.bz2: New tests.
2487         * testfile44.expect.bz2: Adjust.
2488
2489 2008-01-04  Roland McGrath  <roland@redhat.com>
2490
2491         * dwfl-bug-fd-leak.c (main): Add a cast.
2492
2493 2008-01-03  Ulrich Drepper  <drepper@redhat.com>
2494
2495         * testfile44.S.bz2: New tests.
2496         * testfile44.expect.bz2: Adjust.
2497
2498 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
2499
2500         * line2addr.c: Use %m modifier instead of %a to appease gcc.
2501
2502 2008-01-01  Ulrich Drepper  <drepper@redhat.com>
2503
2504         * testfile44.S.bz2: New tests.
2505         * testfile44.expect.bz2: Adjust.
2506
2507 2007-12-31  Ulrich Drepper  <drepper@redhat.com>
2508
2509         * testfile44.S.bz2: New tests.
2510         * testfile44.expect.bz2: Adjust.
2511
2512 2007-12-30  Ulrich Drepper  <drepper@redhat.com>
2513
2514         * testfile44.S.bz2: New tests.
2515         * testfile44.expect.bz2: Adjust.
2516
2517 2007-12-29  Ulrich Drepper  <drepper@redhat.com>
2518
2519         * testfile44.s.bz2: New tests.
2520         * testfile44.expect.bz2: Adjust.
2521
2522 2007-12-28  Ulrich Drepper  <drepper@redhat.com>
2523
2524         * testfile44.S.bz2: New tests.
2525         * testfile44.expect.bz2: Adjust.
2526
2527 2007-12-27  Ulrich Drepper  <drepper@redhat.com>
2528
2529         * testfile44.S.bz2: New tests.
2530         * testfile44.expect.bz2: Adjust.
2531
2532 2007-12-26  Ulrich Drepper  <drepper@redhat.com>
2533
2534         * testfile44.S.bz2: New tests.
2535         * testfile44.expect.bz2: Adjust
2536
2537 2007-12-21  Ulrich Drepper  <drepper@redhat.com>
2538
2539         * testfile44.S.bz2: More tests.
2540         * testfile44.expect.bz2: Adjust appropriately.
2541
2542 2007-12-19  Ulrich Drepper  <drepper@redhat.com>
2543
2544         * Makefile.am (TESTS): Add run-disasm.sh.
2545         (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2546         testfile44.expect.bz2.
2547         * run-disasm.sh: New file.
2548         * testfile44.S.bz2: New file.
2549         * testfile44.expect.bz2: New file.
2550
2551 2007-12-15  Roland McGrath  <roland@redhat.com>
2552
2553         * run-allregs.sh: Change expected output for powerpc spefscr.
2554
2555 2007-10-20  Roland McGrath  <roland@redhat.com>
2556
2557         * run-dwfl-addr-sect.sh: Change expected output, no errors.
2558
2559 2007-10-19  Roland McGrath  <roland@redhat.com>
2560
2561         * dwfl-addr-sect.c (handle_address): Return int.
2562         Don't exit on error, just return nonzero.
2563         (main): Collect results.
2564         * run-dwfl-addr-sect.sh: New file.
2565         * testfile43.bz2: New data file.
2566         * Makefile.am (EXTRA_DIST, TESTS): Add them.
2567
2568 2007-10-18  Roland McGrath  <roland@redhat.com>
2569
2570         * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2571
2572 2007-10-16  Roland McGrath  <roland@redhat.com>
2573
2574         * test-subr.sh (remove_files): Don't pass -Bb to diff.
2575
2576 2007-10-09  Roland McGrath  <roland@redhat.com>
2577
2578         * dwflmodtest.c (print_module): Don't use %p in output.
2579         * run-dwfl-bug-offline-rel.sh: Updated expected output.
2580
2581 2007-10-08  Roland McGrath  <roland@redhat.com>
2582
2583         * testfile42.bz2: New data file.
2584         * Makefile.am (EXTRA_DIST): Add it.
2585         * run-elflint-test.sh: New test on that file.
2586
2587 2007-10-04  Roland McGrath  <roland@redhat.com>
2588
2589         * run-readelf-test4.sh: New file.
2590         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2591
2592 2007-10-03  Roland McGrath  <roland@redhat.com>
2593
2594         * run-readelf-test3.sh: New file.
2595         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2596
2597 2007-10-01  Roland McGrath  <roland@redhat.com>
2598
2599         * run-readelf-test2.sh: New file.
2600         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2601
2602 2007-09-11  Roland McGrath  <roland@redhat.com>
2603
2604         * run-addrname-test.sh: Add a new case.
2605         * testfile41.bz2: New data file.
2606         * Makefile.am (EXTRA_DIST): Add it.
2607
2608 2007-08-23  Roland McGrath  <roland@redhat.com>
2609
2610         * run-allregs.sh: Update expected x86-64 output for %rflags.
2611
2612 2007-08-12  Roland McGrath  <roland@redhat.com>
2613
2614         * run-strip-test7.sh: New file.
2615         * testfile39.bz2: New data file.
2616         * testfile40.bz2: New data file.
2617         * testfile40.debug.bz2: New data file.
2618         * Makefile.am (TESTS, EXTRA_DIST): Add them.
2619
2620 2007-08-09  Roland McGrath  <roland@redhat.com>
2621
2622         * dwfl-bug-report.c: Fix header inclusion.
2623
2624 2007-08-08  Roland McGrath  <roland@redhat.com>
2625
2626         * run-addrname-test.sh: Add a new case using addr2line -S.
2627         * testfile38.bz2: New data file.
2628         * Makefile.am (EXTRA_DIST): Add it.
2629
2630 2007-07-16  Roland McGrath  <roland@redhat.com>
2631
2632         * dwfl-bug-report.c: New file.
2633         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2634         (dwfl_bug_report_LDADD): New variable.
2635
2636 2007-06-06  Roland McGrath  <roland@redhat.com>
2637
2638         * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2639
2640 2007-06-05  Ulrich Drepper  <drepper@redhat.com>
2641
2642         * Makefile.am (EXTRA_DIST): Add missing line continuation and
2643         testfile37.bz and testfile37.debug.bz2.
2644
2645 2007-05-23  Roland McGrath  <roland@redhat.com>
2646
2647         * run-allregs.sh: Update expected Alpha results.
2648
2649 2007-05-18  Roland McGrath  <roland@redhat.com>
2650
2651         * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2652         * testfile37.bz2: New data file.
2653         * testfile37.debug.bz2: New data file.
2654         * run-unstrip-test2.sh: New file.
2655         * Makefile.am (TESTS, EXTRA_DIST): Add them.
2656
2657 2007-05-10  Roland McGrath  <roland@redhat.com>
2658
2659         * run-dwfl-bug-offline-rel.sh: New file.
2660         * testfile36.bz2: New data file.
2661         * testfile36.debug.bz2: New data file.
2662         * Makefile.am (TESTS, EXTRA_DIST): Add them.
2663
2664 2007-04-28  Roland McGrath  <roland@redhat.com>
2665
2666         * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2667         * testfile35.bz2: New data file.
2668         * testfile35.debug.bz2: New data file.
2669         * run-unstrip-test.sh: New file.
2670         * Makefile.am (TESTS, EXTRA_DIST): Add them.
2671
2672         * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2673
2674 2007-04-26  Roland McGrath  <roland@redhat.com>
2675
2676         * run-elflint-self.sh: Run all tests even if one fails.
2677
2678         * run-allregs.sh: Add expected output for alpha.
2679
2680 2007-04-24  Roland McGrath  <roland@redhat.com>
2681
2682         * run-strip-test.sh: When we saved the debug info, test unstrip too.
2683
2684 2007-04-22  Roland McGrath  <roland@redhat.com>
2685
2686         * run-allregs.sh: Update expected register info.
2687
2688 2007-04-16  Roland McGrath  <roland@redhat.com>
2689
2690         * dwfl-addr-sect.c: New file.
2691         * Makefile.am (noinst_PROGRAMS): Add it.
2692         (dwfl_addr_sect_LDADD): New variable.
2693
2694 2007-04-05  Roland McGrath  <roland@redhat.com>
2695
2696         * get-files.c: Test dwarf_getsrcdirs.
2697         * run-get-files.sh: Update expected output.
2698
2699 2007-04-01  Roland McGrath  <roland@redhat.com>
2700
2701         * run-allregs.sh: Updated expected output for x86_64.
2702
2703 2007-03-04  Roland McGrath  <roland@redhat.com>
2704
2705         * dwfl-bug-fd-leak.c: New file.
2706         * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2707         (dwfl_bug_fd_leak_LDADD): New variable.
2708
2709         * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
2710         show what files have been located.
2711
2712 2007-02-02  Roland McGrath  <roland@redhat.com>
2713
2714         * run-addrname-test.sh: New file.
2715         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2716         * testfile34.bz2: New data file.
2717         * Makefile.am (EXTRA_DIST): Add it.
2718
2719 2007-01-20  Roland McGrath  <roland@redhat.com>
2720
2721         * testfile33.bz2: New data file.
2722         * Makefile.am (EXTRA_DIST): Add it.
2723         * run-elflint-test.sh: Test on it too.
2724
2725 2007-01-18  Roland McGrath  <roland@redhat.com>
2726
2727         * Makefile.am (CFLAGS): Don't molest it.
2728
2729 2007-01-11  Roland McGrath  <roland@redhat.com>
2730
2731         * testfile32.bz2: New data file.
2732         * Makefile.am (EXTRA_DIST): Add it.
2733         * run-elflint-test.sh: Test on it too.
2734
2735 2007-02-04  Ulrich Drepper  <drepper@redhat.com>
2736
2737         * arls.c: New file.
2738         * Makefile (noinst_PROGRAMS): Add arls.
2739
2740         * run-ranlib-test2.sh: Fix type in comment.
2741
2742 2007-01-10  Ulrich Drepper  <drepper@redhat.com>
2743
2744         * run-elflint-self.sh (runtest): Show which file has the problem.
2745
2746 2007-01-10  Roland McGrath  <roland@redhat.com>
2747
2748         * dwfl-bug-addr-overflow.c: New file.
2749         * Makefile.am (TESTS): Add it.
2750         (dwfl_bug_addr_overflow_LDADD): New variable.
2751
2752 2006-12-17  Roland McGrath  <roland@redhat.com>
2753
2754         * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2755
2756 2006-09-05  Roland McGrath  <roland@redhat.com>
2757
2758         * run-strings-test.sh: Export LC_ALL=C for the test.
2759
2760 2006-08-29  Roland McGrath  <roland@redhat.com>
2761
2762         * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2763         * run-arsymtest.sh: Likewise.
2764
2765         * run-native-test.sh (native.c compilation): Add some braces.
2766
2767 2006-08-22  Roland McGrath  <roland@redhat.com>
2768
2769         * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2770         (struct reginfo): New members bits, type.
2771         (one_register, match_register): Update to take new args,
2772         record and display new info.
2773         (main): Display new info.
2774         * run-allregs.sh: Update expected results.
2775
2776 2006-08-03  Roland McGrath  <roland@redhat.com>
2777
2778         * run-allregs.sh: Add sparc cases.
2779         * testfile30.bz2: New data file.
2780         * testfile31.bz2: New data file.
2781         * Makefile.am (EXTRA_DIST): Add them.
2782
2783 2006-07-21  Roland McGrath  <roland@redhat.com>
2784
2785         * allregs.c (struct reginfo): Increase size of name.
2786         (one_register): Assert that it's big enough.
2787
2788 2006-04-04  Roland McGrath  <roland@redhat.com>
2789
2790         * run-bug1-test.sh: Test a second case, to cover both byte orders.
2791         * testfile29.bz2: New file.
2792         * testfile29.rdwr.bz2: New file.
2793         * Makefile.am (EXTRA_DIST): Add them.
2794
2795 2006-04-04  Ulrich Drepper  <drepper@redhat.com>
2796
2797         * Makefile.am: Add rules to run run-bug1-test.sh.
2798         * rdwrmmap.c: New file.
2799         * run-bug1-test.sh: New file.
2800         * testfile28.bz2: New file.
2801         * testfile28.rdwr.bz2: New file.
2802
2803 2006-03-09  Roland McGrath  <roland@redhat.com>
2804
2805         * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2806
2807 2006-03-01  Roland McGrath  <roland@redhat.com>
2808
2809         * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2810         changes matching 3.0 spec.
2811
2812 2006-01-13  Roland McGrath  <roland@redhat.com>
2813
2814         * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2815         bash 3.1 whines when it's done in the trap 0 handler.
2816
2817 2006-01-11  Roland McGrath  <roland@redhat.com>
2818
2819         * testfile26.bz2: New data file.
2820         * testfile27.bz2: New data file.
2821         * Makefile.am (EXTRA_DIST): Add them.
2822         * run-allregs.sh: Test s390 data.
2823
2824 2005-12-14  Roland McGrath  <roland@redhat.com>
2825
2826         * run-native-test.sh: Redirect output from native test process.
2827
2828 2005-12-13  Roland McGrath  <roland@redhat.com>
2829
2830         * allregs.c (main): Fail if we find no registers.
2831
2832         * run-native-test.sh: New file.
2833         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2834
2835 2005-12-10  Ulrich Drepper  <drepper@redhat.com
2836
2837         * run-readelf-test1.sh: New file.
2838         * Makefile.am (TESTS): Add run-readelf-test1.sh.
2839         (EXTRA_DIST): Likewise.
2840
2841 2005-12-07  Roland McGrath  <roland@redhat.com>
2842
2843         * ecp.c (main): Use elf_end to clean up.
2844
2845 2005-11-25  Roland McGrath  <roland@redhat.com>
2846
2847         * coverage.sh: Given -v argument, print names of unused files.
2848
2849         * addrscopes.c (main): Use dwfl_end before return.
2850         * allregs.c (main): Likewise.
2851         * find-prologues.c (main): Likewise.
2852         * funcretval.c (main): Likewise.
2853         * funcscopes.c (main): Likewise.
2854         * line2addr.c (main): Likewise.
2855
2856         * run-allregs.sh: New file.
2857         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2858
2859         * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2860         * Makefile.am (allregs_LDADD): Updated.
2861
2862         * allregs.c: New file.
2863         * Makefile.am (noinst_PROGRAMS): Add it.
2864         (allregs_LDADD): New variable.
2865
2866 2005-11-18  Roland McGrath  <roland@redhat.com>
2867
2868         * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2869         * test-wrapper.sh: Likewise.
2870
2871 2005-11-17  Roland McGrath  <roland@redhat.com>
2872
2873         * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2874         environment for test-wrapper.sh.
2875         * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2876         * test-subr.sh (installed_testrun): Likewise.
2877         Use explicit path in ${bindir}.
2878
2879         * Makefile.am (installcheck-local): Fix typo in last change.
2880
2881 2005-11-16  Roland McGrath  <roland@redhat.com>
2882
2883         * configure.ac: New file, for standalone build/dist of test suite.
2884         * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2885         (asm_TESTS): New variable, broken out of ...
2886         (TESTS): ... here.  Also remove msg_tst.
2887         [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2888         (installed_TESTS_ENVIRONMENT): New variable.
2889         [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2890         [!STANDALONE] (installcheck-local): Likewise.
2891         [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2892         * addrscopes.c: Include <config.h>.
2893         Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2894         * allfcts.c: Likewise.
2895         * asm-tst1.c: Likewise.
2896         * asm-tst2.c: Likewise.
2897         * asm-tst3.c: Likewise.
2898         * asm-tst4.c: Likewise.
2899         * asm-tst5.c: Likewise.
2900         * asm-tst6.c: Likewise.
2901         * asm-tst7.c: Likewise.
2902         * asm-tst8.c: Likewise.
2903         * asm-tst9.c: Likewise.
2904         * dwflmodtest.c: Likewise.
2905         * find-prologues.c: Likewise.
2906         * funcscopes.c: Likewise.
2907         * get-aranges.c: Likewise.
2908         * get-files.c: Likewise.
2909         * get-lines.c: Likewise.
2910         * get-pubnames.c: Likewise.
2911         * line2addr.c: Likewise.
2912         * newscn.c: Likewise.
2913         * show-abbrev.c: Likewise.
2914         * show-die-info.c: Likewise.
2915         * update3.c: Likewise.
2916         * update4.c: Likewise.
2917         * funcretval.c: Likewise.
2918
2919         * dwflmodtest.c (print_instance): Don't use INTUSE.
2920         (options): Don't use N_ macro.
2921
2922 2005-11-15  Roland McGrath  <roland@redhat.com>
2923
2924         * coverage.sh: Look in backends.
2925         * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2926         (TESTS_ENVIRONMENT): Likewise.
2927
2928         * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2929         pass FUNCDIE direclty to dwfl_module_return_value_location.
2930
2931         * Makefile.am (BUILD_RPATH): New variable.
2932         [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2933         (tests_rpath): New variable.
2934         (installcheck-local): Pass it to test-wrapper.sh.
2935         * test-wrapper.sh: In "installed" format, take yes/no value
2936         for elfutils_tests_rpath, which export.  When running a test
2937         binary for installcheck, exit 77.
2938         * test-subr.sh (installed_testrun): When running a test binary
2939         for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2940
2941 2005-11-14  Roland McGrath  <roland@redhat.com>
2942
2943         * test-subr.sh: New file.
2944         * test-wrapper.sh: New file.
2945         * Makefile.am (EXTRA_DIST): Add them.
2946         (AM_LDFLAGS): Variable removed.
2947         (TESTS_ENVIRONMENT): New variable.
2948         (installcheck-local): New target.
2949         * run-addrscopes.sh: Use test-subr.sh.
2950         * run-allfcts.sh: Likewise.
2951         * run-ecp-test.sh: Likewise.
2952         * run-ecp-test2.sh: Likewise.
2953         * run-elflint-self.sh: Likewise.
2954         * run-elflint-test.sh: Likewise.
2955         * run-find-prologues.sh: Likewise.
2956         * run-funcscopes.sh: Likewise.
2957         * run-get-aranges.sh: Likewise.
2958         * run-get-files.sh: Likewise.
2959         * run-get-lines.sh: Likewise.
2960         * run-get-pubnames.sh: Likewise.
2961         * run-line2addr.sh: Likewise.
2962         * run-ranlib-test.sh: Likewise.
2963         * run-ranlib-test2.sh: Likewise.
2964         * run-show-abbrev.sh: Likewise.
2965         * run-show-ciefde.sh: Likewise.
2966         * run-show-die-info.sh: Likewise.
2967         * run-strings-test.sh: Likewise.
2968         * run-strip-test.sh: Likewise.
2969
2970 2005-11-13  Roland McGrath  <roland@redhat.com>
2971
2972         * funcretval.c: New file.
2973         * Makefile.am (noinst_PROGRAMS): Add it.
2974         (funcretval_LDADD): New variable.
2975
2976 2005-11-09  Ulrich Drepper  <drepper@redhat.com>
2977
2978         * line2addr.c (handle_module): Add missing parameter to printf.
2979
2980 2005-10-27  Roland McGrath  <roland@redhat.com>
2981
2982         * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2983         * funcscopes.c (handle_function): Likewise.
2984         * dwflmodtest.c (print_inline, print_func): Likewise.
2985         * find-prologues.c (handle_function): Likewise.
2986
2987 2005-10-27  Roland McGrath  <roland@redhat.com>
2988
2989         * run-find-prologues.sh: New file.
2990         * Makefile.am (TESTS, EXTRA_DIST): Add it.
2991
2992         * find-prologues.c (handle_function): Skip inlines.
2993
2994 2005-10-25  Roland McGrath  <roland@redhat.com>
2995
2996         * find-prologues.c: New file.
2997         * Makefile.am (noinst_PROGRAMS): Add it.
2998         (find_prologues_LDADD): New variable.
2999
3000 2005-09-02  Ulrich Drepper  <drepper@redhat.com>
3001
3002         * run-strings-test.sh: Remove strings.out in the end.
3003
3004 2005-08-31  Ulrich Drepper  <drepper@redhat.com>
3005
3006         * run-addrscopes.sh: Use correct exit code if test cannot be performed.
3007         * run-allfcts.sh: Likewise.
3008         * run-ecp-test.sh: Likewise.
3009         * run-ecp-test2.sh: Likewise.
3010         * run-elflint-test.sh: Likewise.
3011         * run-funcscopes.sh: Likewise.
3012         * run-get-aranges.sh: Likewise.
3013         * run-get-files.sh: Likewise.
3014         * run-get-lines.sh: Likewise.
3015         * run-get-pubnames.sh: Likewise.
3016         * run-line2addr.sh: Likewise.
3017         * run-ranlib-test2.sh: Likewise.
3018         * run-show-abbrev.sh: Likewise.
3019         * run-show-ciefde.sh: Likewise.
3020         * run-show-die-info.sh: Likewise.
3021         * run-strings-test.sh: Likewise.
3022         * run-strip-test.sh: Likewise.
3023
3024 2005-08-30  Ulrich Drepper  <drepper@redhat.com>
3025
3026         * coverage.sh: Handle case where there is no .gcno file at all.
3027
3028 2005-08-29  Ulrich Drepper  <drepper@redhat.com>
3029
3030         * Makefile.am (EXTRA_DIST): Add coverage.
3031         [GCOV]: Generate coverage summary after the tests ran
3032         * coverage.sh: New file.
3033
3034 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
3035
3036         * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
3037         (CLEANFILES): Add *.gcno *.gcda *.gconv.
3038
3039 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
3040
3041         * run-strings-test.sh: New file.
3042         * Makefile.am (TESTS, EXTRA_DIST): Add it.
3043
3044 2005-08-27  Roland McGrath  <roland@redhat.com>
3045
3046         * addrscopes.c (handle_address): Apply bias to PC addresses.
3047
3048         * run-funcscopes.sh: New file.
3049         * testfile25.bz2: New data file.
3050         * Makefile.am (TESTS, EXTRA_DIST): Add them.
3051
3052 2005-08-26  Roland McGrath  <roland@redhat.com>
3053
3054         * addrscopes.c (dwarf_diename_integrate): Removed.
3055         (print_vars, handle_address): Use plain dwarf_diename.
3056
3057 2005-08-25  Roland McGrath  <roland@redhat.com>
3058
3059         * funcscopes.c: New file.
3060         * Makefile.am (noinst_PROGRAMS): Add it.
3061         (funcscopes_LDADD): New variable.
3062
3063         * run-addrscopes.sh: Add another case.
3064         * testfile24.bz2: New data file.
3065         * Makefile.am (EXTRA_DIST): Add it.
3066
3067         * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
3068         pass it to dwarf_getscopes.
3069         (main): Pass it, true when '=' follows an address.
3070
3071 2005-08-24  Roland McGrath  <roland@redhat.com>
3072
3073         * line2addr.c (print_address): Omit () for DSOs.
3074
3075 2005-08-24  Ulrich Drepper  <drepper@redhat.com>
3076
3077         * run-line2addr.sh: Remove testfile23 in the end.
3078
3079         * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
3080         [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
3081
3082 2005-08-22  Roland McGrath  <roland@redhat.com>
3083
3084         * run-line2addr.sh: Add a case.
3085         * testfile23.bz2: New data file.
3086         * Makefile.am (EXTRA_DIST): Add it.
3087
3088 2005-08-18  Roland McGrath  <roland@redhat.com>
3089
3090         * run-addrscopes.sh: New file.
3091         * testfile22.bz2: New data file.
3092         * Makefile.am (TESTS, EXTRA_DIST): Add them.
3093
3094         * addrscopes.c: New file.
3095         * Makefile.am (noinst_PROGRAMS): Add it.
3096         (addrscopes_LDADD): New variable.
3097
3098 2005-08-15  Ulrich Drepper  <drepper@redhat.com>
3099
3100         * run-elflint-self.sh: Don't run test if the file doesn't exist.
3101
3102 2005-08-15  Roland McGrath  <roland@redhat.com>
3103
3104         * dwflmodtest.c (print_instance, print_inline): New functions.
3105         (print_func): Call print_inline.
3106         (options, parse_opt): Grok -i/--inlines.
3107
3108 2005-08-07  Roland McGrath  <roland@redhat.com>
3109
3110         * dwflmodtest.c: Print function details only if -f flag is given.
3111
3112 2005-08-06  Ulrich Drepper  <drepper@redhat.com>
3113
3114         * run-elflint-self.sh: New file.
3115         * Makefile.am (TESTS): Add run-elflint-self.sh.
3116         (EXTRA_DIST): Likewise.
3117
3118         * Makefile.am: Link with statis libs if BUILD_STATIC.
3119         (dwflmodtest_LDADD): Also link with -ldl.
3120
3121 2005-08-02  Ulrich Drepper  <drepper@redhat.com>
3122
3123         * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
3124         * asm-tst1.c: Adjust for new asm_begin interface.  Open backend
3125         library first.
3126         * asm-tst2.c: Likewise.
3127         * asm-tst3.c: Likewise.
3128         * asm-tst4.c: Likewise.
3129         * asm-tst5.c: Likewise.
3130         * asm-tst6.c: Likewise.
3131         * asm-tst7.c: Likewise.
3132         * asm-tst8.c: Likewise.
3133         * asm-tst9.c: Likewise.
3134
3135         * msg_tst.c: Add new error message.
3136
3137 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
3138
3139         * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
3140
3141 2005-06-01  Roland McGrath  <roland@redhat.com>
3142
3143         * line2addr.c: Rewritten using libdwfl.
3144         * run-line2addr.sh: Update test for changed arguments.
3145         * Makefile.am (INCLUDES): Add libdwfl source directory to path.
3146         (libdwfl): New variable.
3147         (line2addr_LDADD): Use it.
3148
3149 2005-07-28  Roland McGrath  <roland@redhat.com>
3150
3151         * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
3152         * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
3153         (dwflmodtest_LDADD): New variable.
3154         (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
3155
3156 2005-07-21  Ulrich Drepper  <drepper@redhat.com>
3157
3158         * testfile18.bz2: New file.
3159         * run-elflint-test.sh: New file.
3160         * Makefile.am (TESTS): Add run-elflint-test.sh.
3161         (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
3162
3163 2005-05-24  Ulrich Drepper  <drepper@redhat.com>
3164
3165         * get-files.c (main): Use correct format specifier.
3166
3167 2005-05-21  Ulrich Drepper  <drepper@redhat.com>
3168
3169         * Makefile.am: Add -Wextra to CFLAGS.
3170         * get-files.c: Remove warning this produced.
3171         * get-pubnames.c: Likewise.
3172         * newfile.c: Likewise.
3173         * newscn.c: Likewise.
3174         * scnnames.c: Likewise.
3175         * showptable.c: Likewise.
3176         * test-nlist.c: Likewise.
3177         * update1.c: Likewise.
3178         * update2.c: Likewise.
3179         * update3.c: Likewise.
3180         * update4.c: Likewise.
3181
3182 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
3183
3184         * run-line2addr.sh: Remove testfile14 at the end.
3185
3186         * run-strip-test.sh: Remove debuginfo test input file as well.
3187
3188         * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
3189         .bz, not .bz2.
3190
3191 2005-05-03  Roland McGrath  <roland@redhat.com>
3192
3193         * run-strip-test.sh: Use variables for test file names.
3194         Optionally produce separate debug file and check it.
3195         * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
3196         * run-strip-test3.sh: Likewise.
3197         * run-strip-test4.sh: New file.
3198         * run-strip-test5.sh: New file.
3199         * run-strip-test6.sh: New file.
3200         * testfile15.bz: New file.
3201         * testfile15.debug.bz: New file.
3202         * testfile16.bz: New file.
3203         * testfile16.debug.bz: New file.
3204         * testfile17.bz: New file.
3205         * testfile17.debug.bz: New file.
3206         * Makefile.am (TESTS, EXTRA_DIST): Add them.
3207
3208 2005-04-25  Ulrich Drepper  <drepper@redhat.com>
3209
3210         * run-line2addr.sh: Also use testfile14.  Adjust for correct
3211         return of multiple matches.
3212         * testfile14.bz2: New file.
3213         * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
3214
3215         * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
3216
3217 2005-04-04  Roland McGrath  <roland@redhat.com>
3218
3219         * line2addr.c (main): Initialize LINES and NLINES before calling
3220         dwarf_getsrc_file, and free LINES afterwards.
3221
3222         * allfcts.c (main): Use size_t for CUHL.
3223
3224 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
3225
3226         * line2addr.c: New file.
3227         * run-line2addr.sh: New file.
3228         * Makefile.am: Add rules to build, run, and distribute new code.
3229
3230 2005-04-02  Ulrich Drepper  <drepper@redhat.com>
3231
3232         * allfcts.c: New file.
3233         * run-allfcts.sh: New file.
3234         * Makefile.am: Add rules to build, run, and distribute new code.
3235
3236 2005-02-05  Ulrich Drepper  <drepper@redhat.com>
3237
3238         * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.  Link all test
3239         programs with -lmudflap.
3240
3241 2004-09-25  Ulrich Drepper  <drepper@redhat.com>
3242
3243         * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
3244         * asm-tst5.c (main): Likewise.
3245         * asm-tst6.c (main): Likewise.
3246
3247 2004-01-17  Ulrich Drepper  <drepper@redhat.com>
3248
3249         * Makefile.am: Support building with mudflap.
3250
3251 2004-01-12  Ulrich Drepper  <drepper@redhat.com>
3252
3253         * get-aranges.c: Rewrite to use libdw.
3254         * Makefile.am: Reenable get-aranges test.
3255
3256 2004-01-11  Ulrich Drepper  <drepper@redhat.com>
3257
3258         * get-lines.c: New file.
3259         * get-files.c: Adjust for libdw.
3260         * run-get-files.sh: Adjust expected result.
3261         * run-get-lines.sh: Likewise.
3262         * Makefile.am: Run get-lines test.  Don't run get-aranges and
3263         get-ciefde test for now.
3264
3265         * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3266         change.  Print attribute offset information.
3267         * run-show-abbrev.sh: Adjust expected output.
3268
3269 2004-01-09  Ulrich Drepper  <drepper@redhat.com>
3270
3271         * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3272         * show-die-info.c: Likewise.
3273         * run-show-die-info.sh: Adjust expected output.
3274
3275 2003-08-13  Ulrich Drepper  <drepper@redhat.com>
3276
3277         * Makefile.in: Depend on libebl.a, not libebl.so.
3278
3279 2003-08-11  Ulrich Drepper  <drepper@redhat.com>
3280
3281         * Moved to CVS archive.