• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
12019-03-04  Mark Wielaard  <mark@klomp.org>
2
3	* backtrace.c (tgkill): Remove define.
4
52019-01-24  Mark Wielaard  <mark@klomp.org>
6
7	* Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
8	!INSTALL_ELFH.
9
102019-01-31  Mark Wielaard  <mark@klomp.org>
11
12	* backtrace-child.c (stdarg): Remove assert (errno == 0).
13	(main): Likewise.
14	* backtrace-data.c (maps_lookup): Likewise.
15	(set_initial_registers): Likewise.
16	(main): Likewise.
17	* backtrace.c (prepare_thread): Likewise.
18	(exec_dump): Likewise.
19
202019-01-29  Yonghong Song  <yhs@fb.com>
21
22	* backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse
23	inode number.
24
252019-01-18  Ulf Hermann <ulf.hermann@qt.io>
26
27	* run-annobingroup.sh: Use different files for strip output.
28	* run-strip-test-many.sh: Use different files for strip output,
29	check results of strip, unstrip, elflint.
30
312019-01-24  Mark Wielaard  <mark@klomp.org>
32
33	* addsections.c (add_sections): Change the name of the old shstrtab
34	section to ".old_shstrtab" and give the old shstrtab name to the
35	new shstrtab section.
36
372019-01-09  Ulf Hermann <ulf.hermann@qt.io>
38
39	* run-readelf-compressed.sh: Skip if USE_BZIP2 not found.
40
412018-12-27  Jim Wilson  <jimw@sifive.com>
42
43	* run-readelf-mixed-corenote.sh: Update with new riscv64 output.
44
452018-12-02  Mark Wielaard  <mark@klomp.org>
46
47	* testfile_gnu_props.32le.o.bz2: New testfile.
48	* testfile_gnu_props.64le.o.bz2: Likewise.
49	* testfile_gnu_props.32be.o.bz2: Likewise.
50	* testfile_gnu_props.64be.o.bz2: Likewise.
51	* Makefile (EXTRA_DIST): Add new testfiles.
52	* run-readelf-n.sh: Run tests on new testfiles.
53
542018-11-28  Mark Wielaard  <mark@klomp.org>
55
56	* backtrace-data.c (main): Improve error message.
57	* run-backtrace-data.sh: Skip exit 77 return.
58
592018-11-21  Mark Wielaard  <mark@klomp.org>
60
61	* backtrace-subr.sh (check_unsupported): Call test_cleanup before
62	exit.
63
642018-11-17  Mark Wielaard  <mark@klomp.org>
65
66	* run-strip-version.sh: New test.
67	* testfile-version.bz2: New test file.
68	* Makefile.am (TESTS): Add run-strip-version.sh.
69	(EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2.
70
712018-11-09  Mark Wielaard  <mark@klomp.org>
72
73	* run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o
74	testfile-debug-rel-ppc64-g.o.
75
762018-11-12  Mark Wielaard  <mark@klomp.org>
77
78	* run-readelf-n.sh: Add testfile-annobingroup.o test.
79
802018-11-11  Mark Wielaard  <mark@klomp.org>
81
82	* run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test
83	for NT_VERSION.
84
852018-11-04  Mark Wielaard  <mark@klomp.org>
86
87	* testfile-bpf-reloc.expect.bz2: Update with new expected jump
88	variants.
89
902018-10-20  Mark Wielaard  <mark@klomp.org>
91
92	* run-readelf-compressed.sh: New test.
93	* Makefile.am (TESTS): Add run-readelf-compressed.sh.
94	(EXTRA_DIST): Likewise.
95
962018-11-09  Mark Wielaard  <mark@klomp.org>
97
98	* testfile-debug-rel-ppc64-g.o.bz2: New test file.
99	* testfile-debug-rel-ppc64-z.o.bz2: Likewise.
100	* testfile-debug-rel-ppc64.o.bz2: Likewise.
101	* Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2,
102	testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2.
103	* run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o.
104	* run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o.
105
1062018-10-26  Mark Wielaard  <mark@klomp.org>
107
108	* run-strip-reloc.sh: Add a test for --reloc-debug-sections-only.
109
1102018-10-18  Mark Wielaard  <mark@klomp.org>
111
112	* run-readelf-n.sh: New test.
113	* testfile-gnu-property-note.bz2: New testfile.
114	* testfile-gnu-property-note.o.bz2: Likewise.
115	* Makefile.am (TESTS): Add run-readelf-n.sh.
116	(EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2,
117	testfile-gnu-property-note.o.bz2.
118
1192018-10-12  Mark Wielaard  <mark@klomp.org>
120
121	* run-readelf-zdebug.sh: Adjust flags output.
122	* run-readelf-macro.sh: Likewise.
123	* run-readelf-macros.sh: New test.
124	* testfile-macros-object.o.bz2: New test file.
125	* Makefile.am (TESTS): Add run-readelf-macros.sh.
126	(EXTRA_DIST): Add run-readelf-macros.sh and
127	testfile-macros-object.o.bz2.
128
1292018-09-12  Mark Wielaard  <mark@klomp.org>
130
131	* run-annobingroup.sh: Add x86_64 ET_REL testcase.
132	* testfile-annobingroup-x86_64.o.bz2: New test file.
133	* Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2.
134
1352018-09-18  Mark Wielaard  <mark@klomp.org>
136
137	* backtrace-dwarf.c (thread_callback): Only error when
138	dwfl_thread_getframes returns an error.
139	(main): Don't call abort or assert but print an error when
140	something unexpected happens.
141
1422018-09-13  Mark Wielaard  <mark@klomp.org>
143
144	* run-strip-test-many.sh: New test.
145	* Makefile.am (TESTS): Add run-strip-test-many.sh.
146	(EXTRA_DIST): Likewise.
147
1482018-09-13  Mark Wielaard  <mark@klomp.org>
149
150	* run-typeiter-many.sh: New test.
151	* Makefile.am (TESTS): Add run-typeiter-many.sh.
152	(EXTRA_DIST): Likewise.
153
1542018-09-13  Mark Wielaard  <mark@klomp.org>
155
156	* run-copymany-sections.sh: New test.
157	* Makefile.am (TESTS): Add run-copymany-sections.sh.
158	(EXTRA_DIST): Likewise.
159
1602018-09-12  Mark Wielaard  <mark@klomp.org>
161
162	* Makefile.am (check_PROGRAMS): Add elfcopy and addsections.
163	(TESTS): Add run-copyadd-sections.sh.
164	(EXTRA_DIST): Likewise.
165	(elfcopy_LDADD): New variable.
166	(addsections_LDADD): Likewise.
167	* addsections.c: New file.
168	* elfcopy.c: Likewise.
169	* run-copyadd-sections.sh: New test.
170
1712018-09-11  Mark Wielaard  <mark@klomp.org>
172
173	* backtrace-dwarf.c (main): Add section attribute.
174
1752018-07-24  Mark Wielaard  <mark@klomp.org>
176
177	* run-annobingroup.sh: Add testfile-annobingroup-i386.o tests.
178	* testfile-annobingroup-i386.o.bz2: New test file.
179	* Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2.
180
1812018-07-21  Mark Wielaard  <mark@klomp.org>
182
183	* run-annobingroup.sh: New test.
184	* testfile-annobingroup.o.bz2: New test file.
185	* Makefile.am (TESTS): Add run-annobingroup.sh.
186	(EXTRA_DIST): Add run-annobingroup.sh and
187	testfile-annobingroup.o.bz2.
188
1892018-07-19  Andreas Schwab  <schwab@suse.de>
190
191	* Makefile.am (TESTS): Add run-strip-test12.sh.
192	(EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2,
193	testfile-riscv64-s.bz2, testfile-riscv64-core.bz2.
194	(run-strip-test11.sh): New file.
195	(testfile-riscv64.bz2): New file.
196	(testfile-riscv64-s.bz2): New file.
197	(testfile-riscv64-core.bz2): New file.
198	* run-allregs.sh: Add test for testfile-riscv64-core.
199	* run-readelf-mixed-corenote.sh: Likewise.
200
2012018-07-16  Ulf Hermann  <ulf.hermann@qt.io>
202
203	* run-strip-reloc.sh: Remove previous testfiles before running the
204	next test.
205
2062018-07-17  Mark Wielaard  <mark@klomp.org>
207
208	* hello_riscv64.ko.bz2: Updated with debuginfo.
209	* run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
210
2112018-07-05  Mark Wielaard  <mark@klomp.org>
212
213	* next_cfi.c (handle_section): Take a new argument name. Check
214	whether the section is compressed and uncompress if so.
215	(main): Check also for .zdebug_frame and pass the name of the
216	section to handle_section.
217
2182018-07-04  Ross Burton <ross.burton@intel.com>
219
220	* addrscopes.c: Remove error.h include, add system.h include.
221	* allregs.c: Likewise.
222	* backtrace-data.c: Likewise.
223	* backtrace-dwarf.c: Likewise.
224	* backtrace.c: Likewise.
225	* buildid.c: Likewise.
226	* debugaltlink.c: Likewise.
227	* debuglink.c: Likewise.
228	* deleted.c : Likewise.
229	* dwarfcfi.c: Likewise.
230	* dwfl-addr-sect.c: Likewise.
231	* dwfl-bug-addr-overflow.c: Likewise.
232	* dwfl-bug-fd-leak.c: Likewise.
233	* dwfl-bug-getmodules.c: Likewise.
234	* dwfl-proc-attach.c: Likewise.
235	* dwfl-report-elf-align.c: Likewise.
236	* dwfllines.c: Likewise.
237	* dwflmodtest.c: Likewise.
238	* dwflsyms.c: Likewise.
239	* early-offscn.c: Likewise
240	* ecp.c: Likewise.
241	* elfstrmerge.c: Likewise.
242	* find-prologues.c: Likewise.
243	* funcretval.c: Likewise.
244	* funcscopes.c: Likewise.
245	* getsrc_die.c: Likewise.
246	* line2addr.c: Likewise.
247	* low_high_pc.c: Likewise.
248	* next_cfi.c: Likewise.
249	* rdwrmmap.c: Likewise.
250	* saridx.c: Likewise.
251	* sectiondump.c: Likewise.
252	* varlocs.c: Likewise.
253	* vdsosyms.c: Likewise.
254
2552018-06-28  Mark Wielaard  <mark@klomp.org>
256
257	* next_cfi.c: New file.
258	* run-next-cfi.sh: New test.
259	* run-next-cfi-self.sh: Likewise.
260	* Makefile.am (check_PROGRAMS): Add next_cfi.
261	(TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh.
262	(EXTRA_DIST): Likewise.
263	(next_cfi_LDADD): New variable.
264
2652018-06-27  Mark Wielaard  <mark@klomp.org>
266
267	* dwarf_cfi.c: New file.
268	* run-dwarfcfi.sh: New test.
269	* testfile11-debugframe.bz2: New testfile.
270	* testfile12-debugframe.bz2: Likewise.
271	* testfileaarch64-debugframe.bz2: Likewise.
272	* testfilearm-debugframe.bz2: Likewise.
273	* testfileppc32-debugframe.bz2: Likewise.
274	* testfileppc64-debugframe.bz2: Likewise.
275	* Makefile.am (check_PROGRAMS): Add dwarfcfi.
276	(TESTS): Add run-dwarfcfi.sh.
277	(EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2,
278	testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2,
279	testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and
280	testfileppc64-debugframe.bz2.
281
2822018-06-23  Mark Wielaard  <mark@klomp.org>
283
284	* varlocs.c (print_expr): Take a new depth argument. Check it isn't
285	greater than MAX_DEPTH (64). Pass on to print_expr_block.
286	(print_expr_block): Take a new depth argument. Pass it to print_expr.
287	(print_expr_block_addrs): Call print_expr_block with zero depth.
288
2892018-06-25  Mark Wielaard  <mark@klomp.org>
290
291	* next-files.c: New file.
292	* next-lines.c: Likewise.
293	* run-next-files.sh: New test.
294	* run-next-lines.sh: Likewise.
295	* testfile-only-debug-line.bz2: New test file.
296	* Makefile.am (check_PROGRAMS): Add next-files and next-lines.
297	(TESTS): Add run-next-files.sh and run-next-lines.sh.
298	(EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and
299	testfile-only-debug-line.bz2.
300	(next_lines_LDADD): New variable.
301	(next_files_LDADD): Likewise.
302
3032018-06-16  Yonghong Song  <yhs@fb.com>
304
305	* run-reloc-bpf.sh: New test.
306	* testfile-bpf-reloc.o.bz2: New test file.
307	* testfile-bpf-reloc.expect.bz2: New test file.
308	* Makefile.am (TESTS): Add run-reloc-bpf.sh.
309	(EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and
310	testfile-bpf-reloc.expect.bz2.
311
3122018-06-13  Mark Wielaard  <mark@klomp.org>
313
314	* run-readelf-const-values.sh: New test.
315	* testfile-const-values.debug.bz2: New test file.
316	* run-readelf-zdebug-rel.sh: Adjust expected const_value.
317	* Makefile.am (TESTS): Add run-readelf-const-values.sh.
318	(EXTRA_DIST): Add run-readelf-const-values.sh and
319	testfile-const-values.debug.bz2.
320
3212018-06-08  Mark Wielaard  <mark@klomp.org>
322
323	* varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref
324	target, do not assert.
325
3262018-06-08  Mark Wielaard  <mark@klomp.org>
327
328	* get-units-invalid.c (main): Check invalid dwarf_getabbrev call.
329	* show-abbrev.c (main): Check illegal dwarf_getabbrev offset call.
330
3312018-06-08  Mark Wielaard  <mark@klomp.org>
332
333	* varlocs.c (main): Only assert when cfi_debug_bias != 0 if there
334	actually is a cfi_debug.
335
3362018-06-07  Mark Wielaard  <mark@klomp.org>
337
338	* run-readelf-loc.sh: Fix expected output for startx_length.
339
3402018-06-06  Mark Wielaard  <mark@klomp.org>
341
342	* varlocs.c (print_base_type): Use error, not assert when the DIE
343	isn't a base type.
344
3452018-06-02  Mark Wielaard  <mark@klomp.org>
346
347	* test-subr.sh (self_test_files_exe): Drop shared libraries.
348	Keep addr2line, elfcmp, objdump and readelf.
349
3502018-05-31  Mark Wielaard  <mark@klomp.org>
351
352	* run-readelf-types.sh: New test.
353	* Makefile.am (TESTS): Add run-readelf-types.sh.
354	(EXTRA_DIST): Likewise.
355
3562018-05-31  Mark Wielaard  <mark@klomp.org>
357
358	* splitdwarf4-not-split4.dwo.bz2: New test file.
359	* testfile-splitdwarf4-not-split4.debug.bz2: Likewise.
360	* run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo
361	and testfile-splitdwarf4-not-split4.debug.
362	* run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug.
363	* Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2
364	and testfile-splitdwarf4-not-split4.debug.bz2.
365
3662018-05-31  Mark Wielaard  <mark@klomp.org>
367
368	* test-subr.sh (self_test_files): Split into self_test_files_exe,
369	self_test_files_lib and self_test_obj.
370	(testrun_on_self_exe): New function.
371	(testrun_on_self_lib): Likewise.
372	* run-get-units-split.sh: Replace testrun_on_self with
373	testrun_on_self_exe and testrun_on_self_lib.
374	* run-unit-info.sh: Likewise.
375
3762018-05-31  Mark Wielaard  <mark@klomp.org>
377
378	* low_high_pc.c (handle_die): Handle NULL name. Print offset and
379	name of die.
380	(main): Check if the cu DIE is a skeleton, then get and handle
381	the split subdie.
382	* run-low-high-pc.sh: Run on testfile-splitdwarf-4 and
383	testfile-splitdwarf-5. Run on all selftest files.
384
3852018-05-31  Mark Wielaard  <mark@klomp.org>
386
387	* get-units-invalid.c (main): Check dwarf_cuoffset and
388	dwarf_dieoffset.
389
3902018-05-29  Mark Wielaard  <mark@klomp.org>
391
392	* dwarf-die-addr-die.c (check_dbg): Also check subdies, split or
393	type, gotten through dwarf_get_units.
394	* run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5,
395	split-dwarf-4, split-dwarf-5 and dwo files.
396
3972018-05-29  Mark Wielaard  <mark@klomp.org>
398
399	* run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant.
400	* run-varlocs.sh: Likewise.
401
4022018-05-29  Mark Wielaard  <mark@klomp.org>
403
404	* run-readelf-twofiles.sh: Add --debug-dump=loc testcase.
405
4062018-05-28  Mark Wielaard  <mark@klomp.org>
407
408	* run-readelf-info-plus.sh: New test.
409	* Makefile.am (TESTS): Add run-readelf-info-plus.sh.
410	(EXTRA_DIST): Likewise.
411
4122018-04-29  Mark Wielaard  <mark@klomp.org>
413
414	* run-readelf-addr.sh: New test.
415	* Makefile.am (TESTS): Add run-readelf-addr.sh.
416	(EXTRA_DIST): Likewise.
417
4182018-04-27  Mark Wielaard  <mark@klomp.org>
419
420	* run-readelf-ranges.sh: Adjust expected output for address base.
421	* run-readelf-addr.sh: New test.
422	* Makefile.am (TESTS): Add run-readelf-addr.sh.
423	(EXTRA_DIST): Likewise.
424
4252018-04-07  Mark Wielaard  <mark@klomp.org>
426
427	* run-varlocs.sh: Run on testfileranges5.debug and
428	testsplitfileranges5.debug.
429	* varlocs.c (is_debug): New bool.
430	(print_expr): Don't fail on missing CFI for is_debug.
431	(main): Parse --debug, set is_debug.
432
4332018-04-12  Mark Wielaard  <mark@klomp.org>
434
435	* run-readelf-loc.sh: Add new testcases.
436
4372018-04-06  Mark Wielaard  <mark@klomp.org>
438
439	* testfileranges5.debug.bz2: New testfile.
440	* testfilesplitranges5.debug.bz2: Likewise.
441	* testfile-ranges-hello5.dwo.bz2: Likewise.
442	* testfile-ranges-world5.dwo.bz2: Likewise.
443	* run-dwarf-ranges.sh: Run on testfileranges5.debug.
444	* run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug.
445	* tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2,
446	testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and
447	testfile-ranges-world5.dwo.bz2.
448
4492018-04-11  Mark Wielaard  <mark@klomp.org>
450
451	* run-readelf-ranges.sh: New test.
452	* Makefile.am (TESTS): Add run-readelf-ranges.sh.
453	(EXTRA_DIST): Likewise.
454
4552018-05-21  Mark Wielaard  <mark@klomp.org>
456
457	* addrx_constx-4.dwo.bz2: New testfile.
458	* addrx_constx-5.dwo.bz2: Likewise.
459	* testfile-addrx_constx-4.bz2: Likewise.
460	* testfile-addrx_constx-5.bz2: Likewise
461	* Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2
462	testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2.
463	* run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5.
464	* varlocx.c (print_expr): Handle DW_OP_GNU_addr_index,
465	DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx.
466	(main): Handle split DWARF.
467	* run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc.
468
4692018-05-20  Mark Wielaard  <mark@klomp.org>
470
471	* unit-info.c: New test.
472	* run-unit-info.sh: New test runner.
473	* Makefile.am (check_PROGRAMS): Add unit-info.
474	(TESTS): Add run-unit-info.sh
475	(EXTRA_INFO): Likewise.
476	(unit_info_LDADD): New variable.
477
4782018-05-24  Mark Wielaard  <mark@klomp.org>
479
480	* get-units-invalid.c (main): Add check for invalid dwarf_ranges.
481	* run-all-dwarf-ranges.sh: Correct expected output.
482
4832018-05-18  Mark Wielaard  <mark@klomp.org>
484
485	* Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges.
486	(TESTS): Add run-all-dwarf-ranges.sh.
487	(EXTRA_DIST): Add run-all-dwarf-ranges.sh,
488	testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2
489	and testfile-ranges-world.dwo.bz2.
490	(all_dwarf_ranges_LDADD): New variable.
491	* all-dwarf-ranges.c: New test program.
492	* run-all-dwarf-ranges: New test runner.
493	* testfile-ranges-hello.dwo.bz2: New test file.
494	* testfile-ranges-world.dwo.bz2: Likewise.
495	* testfilesplitranges4.debug.bz2: Likewise.
496
4972018-05-18  Mark Wielaard  <mark@klomp.org>
498
499	* run-get-files.sh: Add testcases for testfile-splitdwarf-4,
500	testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5,
501	testfile-hello5.dwo, testfile-world5.dwo.
502
5032018-05-17  Mark Wielaard  <mark@klomp.org>
504
505	* Makefile.am (check_PROGRAMS): Add attr-integrate-skel.
506	(TESTS): Add run-attr-integrate-skel.
507	(EXTRA_DIST): Likewise.
508	(attr_integrate_skel_LDADD): New variable.
509	* attr-integrate-skel.c: New test.
510	* run-attr-integrate-skel.sh: New test runner.
511
5122018-05-16  Mark Wielaard  <mark@klomp.org>
513
514	* Makefile.am (check_PROGRAMS): Add get-units-split.
515	(TESTS): Add run-get-units-split.sh.
516	(EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2,
517	testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2,
518	testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and
519	testfile-world4.dwo.bz2.
520	(get_units_split_LDADD): New variable.
521	* get-units-split.c: New test.
522	* run-get-units-split.sh: New test runner.
523	* testfile-dwarf-45.source: Extend with build instructions for new
524	test files.
525	* testfile-hello4.dwo.bz2: New test file.
526	* testfile-hello5.dwo.bz2: Likewise.
527	* testfile-splitdwarf-4.bz2: Likewise.
528	* testfile-splitdwarf-5.bz2: Likewise.
529	* testfile-world5.dwo.bz2 and: Likewise.
530	* testfile-world4.dwo.bz2: Likewise.
531
5322018-05-09  Mark Wielaard  <mark@klomp.org>
533
534	* run-readelf-zdebug.sh: Adjust test output for new header layout.
535	* run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4
536	and testfile-dwarf-5.
537
5382018-05-11  Mark Wielaard  <mark@klomp.org>
539
540	* Makefile.am (check_PROGRAMS): Add get-units-invalid.
541	(TESTS): Add run-get-units-invalid.sh.
542	(EXTRA_DIST): Likewise.
543	(get_units_invalid_LDADD): New variable.
544	* get-units-invalid.c: New test program.
545	* run-get-units-invalid.sh: New test program runner.
546
5472018-05-05  Mark Wielaard  <mark@klomp.org>
548
549	* testfile-dwarf-45.source: New file.
550	* testfile-dwarf-4.bz2: New test file.
551	* testfile-dwarf-5.bz2: Likewise.
552	* run-readelf-line.sh: Add testcases for testfile-dwarf-4 and
553	testfile-dwarf-5.
554	* Makefile (EXTRA_DIST): Add testfile-dwarf-45.source,
555	testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2.
556
5572018-04-19  Andreas Schwab  <schwab@suse.de>
558
559	* hello_riscv64.ko.bz2: New file.
560	* run-strip-reloc.sh: Test it.
561	* Makefile.am (EXTRA_DIST): Add it.
562
5632018-04-16  Mark Wielaard  <mark@klomp.org>
564
565	* testfile-ppc64-min-instr.bz2: New testfile.
566	* run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
567	* Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
568
5692018-04-11  Mark Wielaard  <mark@klomp.org>
570
571	* run-addrcfi.sh: Adjust expected rule for aarch64 sp.
572
5732018-04-03  Mark Wielaard  <mark@klomp.org>
574
575	* testfileranges4.debug.bz2: New testfile.
576	* run-dwarf-ranges.sh: Run on testfileranges4.debug.
577	* tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
578
5792018-03-06  Mark Wielaard  <mark@klomp.org>
580
581	* varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
582	DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
583	DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
584	DW_OP_const_type.
585
5862018-02-16  Mark Wielaard  <mark@klomp.org>
587
588	* backtrace-subr.sh (check_native_core): Check if there is any core,
589	if so, use it.
590
5912018-02-15  Mark Wielaard  <mark@klomp.org>
592
593	* backtrace-child.c: Include signal.h after sys/ptrace.h.
594	* backtrace-dwarf.c: Include sys/wait.h and signal.h after
595	sys/ptrace.h.
596
5972018-01-25  Mark Wielaard  <mark@klomp.org>
598
599	* Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
600	(TESTS): Add run-dwarf-die-addr-die.sh.
601	(EXTRA_DIST): Likewise.
602	(dwarf_die_addr_die_LDADD): New variable.
603	* dwarf-die-addr-die.c: New file.
604	* run-dwarf-die-addr-die.sh: New test.
605
6062018-02-09  Joshua Watt  <JPEWhacker@gmail.com>
607
608	* elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
609
6102018-01-22  Mark Wielaard  <mark@klomp.org>
611
612	* allfcts.c (setup_alt): Print warning when alt file couldn't be
613	found.
614	* run-allfcts-multi.sh: Add testcase where alt file is in a subdir
615	where it cannot be found by allfcts itself (but it can by libdw).
616
6172018-01-25  Mark Wielaard  <mark@klomp.org>
618
619	* elfstrmerge.c (main): Initialize and check symtabshdr instead of
620	symtabndx.
621
6222018-01-14  Petr Machata  <pmachata@gmail.com>
623
624	* testfile-sizes4.o.bz2: New test file.
625	* testfile-sizes4.s: New test source.
626	* run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
627
6282017-12-23  Mark Wielaard  <mark@klomp.org>
629
630	* backtrace-subr.sh (check_native_core): Use a lock file and try
631	to extract core using coredumpctl.
632	* Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
633
6342017-12-11  Dima Kogan  <dima@secretsauce.net>
635
636	* run-aggregate-size.sh: Added check for multi-dimensional arrays.
637	* run-peel-type.sh: Likewise.
638	* testfile-sizes3.o.bz2: Likewise.
639
6402017-12-07  Mark Wielaard  <mark@klomp.org>
641
642	* run-readelf-variant.sh: New test.
643	* testfile-ada-variant.bz2: New testfile.
644	* Makefile.am (TESTS): Add run-readelf-variant.sh.
645	(EXTRA_DISTS): Add run-readelf-variant.sh and
646	testfile-ada-variant.bz2.
647
6482017-11-29  Mark Wielaard  <mark@klomp.org>
649
650	* run-readelf-loc.sh: Adjust expected loc list output.
651	* run-readelf-zdebug-rel.sh: Likewise.
652	* run-readelf-zdebug.sh: Likewise.
653
6542017-11-29  Mark Wielaard  <mark@klomp.org>
655
656	* run-readelf-loc.sh: Adjust expected range list output.
657	* run-readelf-zdebug.sh: Likewise.
658
6592017-11-29  Mark Wielaard  <mark@klomp.org>
660
661	* run-readelf-dwz-multi.sh: Add expected file names.
662	* run-readelf-zdebug-rel.sh: Likewise.
663
6642017-11-29  Mark Wielaard  <mark@klomp.org>
665
666	* run-readelf-dwz-multi.sh: Add expected abbrev codes.
667	* run-readelf-zdebug-rel.sh: Likewise.
668
6692017-11-29  Mark Wielaard  <mark@klomp.org>
670
671	* run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
672	* run-readelf-loc.sh: Likewise.
673	* run-readelf-zdebug-rel.sh: Likewise.
674	* run-readelf-zdebug.sh: Likewise.
675
6762017-11-16  Mark Wielaard  <mark@klomp.org>
677
678	* varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
679
6802017-11-10  Mark Wielaard  <mark@klomp.org>
681
682	* run-exprlocs-self.sh: New test.
683	* run-varlocs-self.sh: Likewise.
684	* Makefile.am (TESTS) Add run-exprlocs-self.sh and
685	run-varlocs-self.sh.
686	(EXTRA_DIST): Likewise.
687	* varlocs.c (cfi_debug_bias): New global variable.
688	(is_ET_REL): Likewise.
689	(print_expr): Don't crash and burn when CFI cannot be found for an
690	ET_REL file for DW_OP_call_frame_cfa.
691	(handle_die): If there is no entry_pc pick the lowest pc start range
692	for the DIE.
693	(main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
694	and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
695
6962017-11-03  Mark Wielaard  <mark@klomp.org>
697
698	* run-exprlocs.sh: New test.
699	* testfile-stridex.bz2: New testfile.
700	* Makefile.am (TESTS): Add run-exprlocs.sh.
701	(EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
702	* varlocs.c (dwarf_tag_string): New function.
703	(dwarf_attr_string): Likewise.
704	(dwarf_form_string): Likewise.
705	(print_expr): Fix typo in error message.r
706	Handle DW_OP_GNU_variable_value.
707	(attr_arg): New struct.
708	(handle_attr): New function.
709	(handle_die): Likewise.
710	(main): Handle --exprlocs argument. Call handle_die.
711
7122017-10-16  Mark Wielaard  <mark@klomp.org>
713
714	* md5-sha1-test.c: Removed.
715	* Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
716	(TESTS): Likewise.
717	(md5_sha1_test_LDADD): Removed.
718
7192017-10-04  Mark Wielaard  <mark@klomp.org>
720
721	* msg_tst.c: Handle ELF_E_INVALID_ELF.
722
7232017-09-10  Mark Wielaard  <mark@klomp.org>
724
725	* run-ar.sh: New test.
726	* Makefile.am (TESTS): Add run-ar.sh.
727	(EXTRA_DIST): Likewise.
728
7292017-08-18  Ulf Hermann <ulf.hermann@qt.io>
730
731	* Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
732
7332017-04-27  Ulf Hermann <ulf.hermann@qt.io>
734
735	* Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
736
7372017-08-08  Dmitry V. Levin <ldv@altlinux.org>
738
739	* run-strip-nothing.sh: Add -s.
740
7412017-07-26  Mark Wielaard  <mark@klomp.org>
742
743	* dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
744
7452016-10-27  Mark Wielaard  <mjw@redhat.com>
746
747	* dwarf_default_lower_bound.c: New test.
748	* Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
749	(TESTS): Likewise.
750	(dwarf_default_lower_bound_LDADD): New variable.
751
7522017-07-21  Mark Wielaard  <mark@klomp.org>
753
754	* get-lines.c (main): Add dwarf_line_file test.
755
7562017-07-19  Gustavo Romero <gromero@linux.vnet.ibm.com>
757
758	* run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
759	* run-allregs.sh: Update generic SPRs names to HTM SPRs names
760
7612017-07-20  Mark Wielaard  <mark@klomp.org>
762
763	* run-strip-g.sh: New test.
764	* Makefile.am (TESTS): Add run-strip-g.sh.
765	(EXTRA_DIST): Likewise.
766
7672017-07-18  Mark Wielaard  <mark@klomp.org>
768
769	* Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
770
7712017-05-04  Ulf Hermann  <ulf.hermann@qt.io>
772
773	* elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
774
7752017-07-14  Mark Wielaard  <mark@klomp.org>
776
777	* run-strip-remove-keep.sh: New test.
778	* Makefile.am (TESTS): Add run-strip-remove-keep.sh.
779	(EXTRA_DIST): Likewise.
780
7812017-06-07  Mark Wielaard  <mark@klomp.org>
782
783	* run-strip-nothing.sh: New test.
784	* Makefile.am (TESTS): Add run-strip-nothing.sh.
785	(EXTRA_DIST): Likewise.
786
7872017-06-06  Mark Wielaard  <mark@klomp.org>
788
789	* run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
790
7912017-05-30  Mark Wielaard  <mark@klomp.org>
792
793	* run-backtrace-fp-core-ppc64le.sh: New test.
794	* backtrace.ppc64le.fp.core.bz2: New test file.
795	* backtrace.ppc64le.fp.exec.bz2: New testfile.
796	* backtrace-subr.sh (check_backtracegen): Accept '(null)'.
797	* Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
798	(EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
799	backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
800
8012017-02-13  Ulf Hermann  <ulf.hermann@qt.io>
802	    Mark Wielaard  <mark@klomp.org>
803
804	* Makefile.am: Add test for unwinding with frame pointers on aarch64
805	* backtrace.aarch64.fp.core.bz2: New file
806	* backtrace.aarch64.fp.exec.bz2: New file
807	* run-backtrace-fp-core-aarch64.sh: New file
808	* backtrace-subr.sh (check_err): Allow Invalid register.
809	* backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
810
8112017-04-06  Mark Wielaard  <mark@klomp.org>
812
813	* run-backtrace-fp-core-i386.sh: New test.
814	* backtrace.i386.fp.core.bz2: New test file.
815	* backtrace.i386.fp.exec.bz2: New testfile.
816	* Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
817	(EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
818	backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
819
8202017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
821
822	* Makefile.am: Add test for unwinding with frame pointers on x86_64
823	* backtrace.x86_64.fp.core.bz2: New file
824	* backtrace.x86_64.fp.exec.bz2: New file
825	* run-backtrace-fp-core-x86_64.sh: New file
826
8272017-04-25  Mark Wielaard  <mark@klomp.org>
828
829	* backtrace-subr.sh (check_backtracegen): New function.
830	(check_core): Add check_backtracegen call.
831	* backtrace.ppc.exec.bz2: Regenerated.
832	* backtrace.ppc.core.bz2: Likewise.
833
8342017-04-24  Mark Wielaard  <mark@klomp.org>
835
836	* backtrace.c: Remove option to allow unknown symbols in the trace.
837	* backtrace-substr.sh: Remove option to allow unknown symbols
838	to check_core() and allow failed symbol lookups in check_err().
839
8402017-04-20  Ulf Hermann <ulf.hermann@qt.io>
841
842	* run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
843	that are set.
844	* run-readelf-zdebug-rel.sh: Likewise.
845
8462017-04-20  Ulf Hermann <ulf.hermann@qt.io>
847
848	* backtrace-child.c: Include sys/ptrace.h only on linux.
849	* backtrace-dwarf.c: Likewise.
850
8512017-04-05  Mark Wielaard  <mark@klomp.org>
852
853	* test-subr.sh (testrun_on_self_compressed): New function.
854	* run-elflint-self.sh: Call testrun_on_self_compressed.
855	* run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
856
8572017-03-30  Mark Wielaard  <mark@klomp.org>
858
859	* peel_type.c: New file.
860	* run-peel-type.sh: New test.
861	* Makefile.am (check_PROGRAMS): Add peel_type.c.
862	(TESTS): Add run-peel-type.sh.
863	(EXTRA_DIST): Likewise.
864	(peel_type_LDADD): New variable.
865
8662017-03-27  Mark Wielaard  <mark@klomp.org>
867
868	* fillfile.c: New file.
869	* Makefile.am (check_PROGRAMS): Add fillfile.
870	(TESTS): Likewise.
871	(fillfile_LDADD): New variable.
872
8732017-02-15  Mark Wielaard  <mark@klomp.org>
874
875	* Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
876	* run-readelf-A.sh: Add testfileppc64.o test.
877
8782017-02-15  Ulf Hermann  <ulf.hermann@qt.io>
879
880	* elfstrmerge.c: Include system.h.
881
8822017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
883
884	* backtrace.c: Add an option to allow unknown symbols in the trace
885	* backtrace-substr.sh: Add an option to allow unknown symbols
886	to check_core() and allow failed symbol lookups in check_err()
887
8882017-02-09  Ulf Hermann  <ulf.hermann@qt.io>
889
890	* backtrace-data.c: Don't assert that symbols are found.
891	The unwinder is allowed to ask for invalid addresses. We deny
892	such requests, rather than make the test fail.
893
8942016-11-17  Mark Wielaard  <mjw@redhat.com>
895
896	* run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
897
8982016-11-02  Mark Wielaard  <mjw@redhat.com>
899
900	* backtrace-data.c (thread_callback): Add explicit break after error.
901	* backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
902
9032016-10-22  Kevin Cernekee  <cernekee@chromium.org>
904
905	* Makefile.am (TESTS): Add run-unstrip-test4.sh.
906	(EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
907	testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
908	(run-unstrip-test4.sh): New file.
909	(testfile-strtab.bz2): New file.
910	(testfile-strtab.stripped.bz2): New file.
911	(testfile-strtab.debuginfo.bz2): New file.
912
9132016-10-11  Akihiko Odaki  <akihiko.odaki.4i@stu.hosei.ac.jp>
914
915	* arextract.c: Remove sys/param.h include, add system.h include.
916
9172016-08-30  Mark Wielaard  <mjw@redhat.com>
918
919	* Makefile.am (asm_tst?_LDADD): Add libdw.
920
9212016-08-25  Mark Wielaard  <mjw@redhat.com>
922
923	* backtrace-child.c: Disable and add documentation about why we disable
924	RAISE_JMP_PATCHING even on x86_64.
925	* backtrace.c (is_x86_64_native): Rename to...
926	(use_raise_jmp_patching): ... this.
927	(callback_verify): Use use_raise_jmp_patching instead of
928	is_x86_64_native.
929	(see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
930	path.
931	(prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
932	conditional.
933	(exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
934	RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
935	use_raise_jmp_patching instead of is_x86_64_native.
936
9372016-08-24  Mark Wielaard  <mjw@redhat.com>
938
939	* Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
940
9412016-08-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
942
943	* testfilesparc64attrs.o.bz2: New file.
944	* run-readelf-A.sh: Check attributes in a sparc object.
945
9462016-08-06  Mark Wielaard  <mjw@redhat.com>
947
948	* run-strip-reloc.sh: Add explicit compressed and uncompressed
949	test cases.
950
9512016-08-10  Richard Henderson  <rth@redhat.com>
952
953	* file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
954	output.
955
9562016-07-08  Mark Wielaard  <mjw@redhat.com>
957
958	* update3_LDADD: Use libdw instead of libebl.
959	* update4_LDADD: Likewise.
960	* alldts_LDADD: Likewise.
961	* elfstrmerge_LDADD: Likewise.
962	* alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
963	* elfstrmerge.c (release): Likewise.
964	(main): Likewise.
965	* update3.c (main): Likewise.
966	* update4.c (main): Likewise.
967
9682016-07-10  Andreas Schwab  <schwab@linux-m68k.org>
969
970	* Makefile.am (TESTS): Add run-strip-test11.sh.
971	(EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
972	testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
973	(run-strip-test11.sh): New file.
974	(hello_m68k.ko.bz2): New file.
975	(testfile-m68k-core.bz2): New file.
976	(testfile-m68k.bz2): New file.
977	(testfile-m68k-s.bz2): New file.
978	* run-allregs.sh: Add test for testfile-m68k-core.
979	* run-readelf-mixed-corenote.sh: Likewise.
980	* run-strip-reloc.sh: Add test for hello_m68k.ko.
981
9822016-07-06  Mark Wielaard  <mjw@redhat.com>
983
984	* Makefile.am (check_PROGRAMS): Add vendorelf.
985	(TESTS): Likewise.
986	(vendorelf_LDADD): New variable.
987	* vendorelf.c: New test.
988	* elfshphehdr.c (test): Check elf_getphdrnum succeeds.
989
9902016-06-24  Mark Wielaard  <mjw@redhat.com>
991
992	* Makefile.am (check_PROGRAMS): Add emptyfile.
993	(TESTS): Likewise.
994	(emptyfile_LDADD): New variable.
995	* emptyfile.c: New test.
996
9972016-06-28  Richard Henderson  <rth@redhat.com>
998
999	* Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
1000	(EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
1001	testfile-bpf-dis1.o.bz2
1002	(run-disasm-bpf.sh): New file.
1003	(testfile-bpf-dis1.expect.bz2): New file.
1004	(testfile-bpf-dis1.o.bz2): New file.
1005
10062016-02-09  Mark Wielaard  <mjw@redhat.com>
1007
1008	* testfile-s390x-hash-both.bz2: New testfile.
1009	* Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
1010	* run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
1011
10122016-02-04  Mark Wielaard  <mjw@redhat.com>
1013
1014	* run-strip-nobitsalign.sh: New test.
1015	* testfile-nobitsalign.bz2: New testfile.
1016	* testfile-nobitsalign.strip.bz2: Likewise.
1017	* Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
1018	(EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
1019	and testfile-nobitsalign.strip.bz2.
1020	* run-strip-test.sh: Add --gnu to elflint calls.
1021
10222016-01-13  Mark Wielaard  <mjw@redhat.com>
1023
1024	* dwfl-bug-fd-leak.c: Skip test unless on __linux__.
1025
10262016-01-13  Mark Wielaard  <mjw@redhat.com>
1027
1028	* dwfl-proc-attach.c: Guard linux specific header.
1029
10302016-01-13  Mark Wielaard  <mjw@redhat.com>
1031
1032	* system-elf-libelf-test.c: New test.
1033	* Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
1034	(check_PROGRAMS): Likewise.
1035	(system_elf_libelf_test_CPPFLAGS): New variable.
1036	(system_elf_libelf_test_LDADD): Likewise.
1037
10382016-01-08  Mark Wielaard  <mjw@redhat.com>
1039
1040	* elfputzdata.c (main): Fix parentheses in strncmp test.
1041
10422016-01-08  Mark Wielaard  <mjw@redhat.com>
1043
1044	* elfputzdata.c (main): Use PRId64 to print 64 bit value.
1045
10462016-01-08  Mark Wielaard  <mjw@redhat.com>
1047
1048	* Makefile.am (TESTS): Always unconditionally add
1049	run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
1050
10512015-12-16  Mark Wielaard  <mjw@redhat.com>
1052
1053	* run-compress-test.sh: New test.
1054	* Makefile.am (TESTS): Add run-compress-test.sh.
1055	(EXTRA_DISTS): Likewise.
1056
10572015-11-26  Mark Wielaard  <mjw@redhat.com>
1058
1059	* zstrptr.c: New file.
1060	* run-zstrptr.sh: New test.
1061	* elfputzdata.c (main): (re)compress .shstrtab.
1062	* run-elfputzdata.sh: Expect .shstrtab compression.
1063	* Makefile.am (check_PROGRAMS): Add zstrptr.
1064	(TESTS): Add run-zstrptr.sh.
1065	(EXTRA_DIST): Likewise.
1066	(zstrptr_LDADD): New variable.
1067
10682015-10-20  Mark Wielaard  <mjw@redhat.com>
1069
1070	* run-readelf-zx.sh: New test.
1071	* run-readelf-zp.sh: Likewise.
1072	* Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
1073	(EXTRA_DIST): Likewise.
1074
10752015-10-21  Mark Wielaard  <mjw@redhat.com>
1076
1077	* Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
1078	(TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
1079	(EXTRA_DIST: Likewise.
1080	(elfgetzdata_LDADD): New variable.
1081	(elfputzdata_LDADD): Likewise.
1082	* elfgetzdata.c: New file.
1083	* elfputzdata.c: Likewise.
1084	* msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
1085	ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
1086	ELF_E_DECOMPRESS_ERROR.
1087	* run-elfgetzdata.sh: New test.
1088	* run-elfputzdata.sh: Likewise.
1089
10902015-10-28  Mark Wielaard  <mjw@redhat.com>
1091
1092	* run-readelf-z.sh: New test.
1093	* Makefile.am (TESTS): Add run-readelf-z.sh.
1094	(EXTRA_DIST): Likewise.
1095
10962015-10-28  Mark Wielaard  <mjw@redhat.com>
1097
1098	* elfgetchdr.c: New file.
1099	* run-elfgetchdr.sh: New test.
1100	* testfile-zgabi32.bz2: New testfile.
1101	* testfile-zgabi32be.bz2: Likewise.
1102	* testfile-zgabi64.bz2: Likewise.
1103	* testfile-zgabi64be.bz2: Likewise.
1104	* Makefile.am (check_PROGRAMS): Add elfgetchdr.
1105	(TESTS): Add run-elfgetchdr.sh.
1106	(EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
1107	testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
1108	(welfgetchdr_LDADD): New variable.
1109	* msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
1110	and ELF_E_INVALID_SECTION_FLAGS,
1111
1112
11132015-10-28  Mark Wielaard  <mjw@redhat.com>
1114
1115	* dwelfgnucompressed.c: New file.
1116	* run-dwelfgnucompressed.sh: New test.
1117	* testfile-zgnu32.bz2: New testfile.
1118	* testfile-zgnu64.bz2: Likewise.
1119	* Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
1120	(TESTS): Add run-dwelfgnucompressed.sh.
1121	(EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
1122	testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
1123	(dwelfgnucompressed_LDADD): New variable.
1124
11252015-12-31  Mark Wielaard  <mjw@redhat.com>
1126
1127	* elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
1128	* run-elfstrmerge-test.sh: New test.
1129	* Makefile.am (TESTS): Add run-elfstrmerge-test.sh
1130	(EXTRA_DIST): Likewise.
1131
11322015-12-08  Jose E. Marchesi  <jose.marchesi@oracle.com>
1133
1134	* run-backtrace-core-sparc.sh: New file.
1135	* backtrace.sparc.core.bz2: New file.
1136	* backtrace.sparc.exec.bz2: New file.
1137	* Makefile.am (EXTRA_DIST): ... and added all here.
1138	(TESTS): Added run-backtrace-core-sparc.sh.
1139
11402015-12-02  Mark Wielaard  <mjw@redhat.com>
1141
1142	* Makefile.am (valgrind_cmd): Use --leak-check=full.
1143	* run-backtrace-demangle.sh: Disable valgrind.
1144	* run-stack-demangled-test.sh: Likewise.
1145	* run-stack-d-test.sh: Likewise.
1146	* run-stack-i-test.sh: Likewise.
1147
11482015-12-01  Mark Wielaard  <mjw@redhat.com>
1149
1150	* test-flag-nobits.c (main): Call elf_end.
1151	* rerequest_tag.c (main): Call dwarf_end.
1152	* funcscopes.c (handle_function): Free scopes.
1153	* dwarf-getstring.c (main): Call dwarf_end.
1154	* allregs.c (main): Free state.info.
1155	* alldts.c (main): Free dyn.
1156	* addrcfi.c (handle_address): Free stuff.frame between handle_cfi
1157	calls.
1158	* addrscopes.c (handle_address): Free scopes.
1159
11602015-10-16  Mark Wielaard  <mjw@redhat.com>
1161
1162	* Makefile.am [BUILD_STATIC] (libdw): Add -lz.
1163	[BUILD_STATIC] (libelf): Likewise.
1164
11652015-10-16  Mark Wielaard  <mjw@redhat.com>
1166
1167	* Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
1168
11692015-10-09  Josh Stone  <jistone@redhat.com>
1170
1171	* lfs-symbols: New list of LFS-related symbols from lintian.
1172	* testfile-nolfs.bz2: New test binary for sanity checking.
1173	* run-lfs-symbols.sh: New test.
1174	* Makefile.am (TESTS): Add run-lfs-symbols.sh.
1175	(EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
1176	run-lfs-symbols.sh.
1177	* alldts.c (main): Replace open64 with open.
1178	* dwarf-getstring.c (main): Likewise.
1179	* arls.c: Include config.h.
1180	* ecp.c: Likewise.
1181	* rdwrmmap.c: Likewise.
1182	* test-elf_cntl_gelf_getshdr.c: Likewise.
1183	* test-flag-nobits.c: Include config.h.
1184	(main): Replace open64 with open.
1185
11862015-10-09  Mark Wielaard  <mjw@redhat.com>
1187
1188	* elfshphehdr.c (check): Rename argument from check to statement.
1189	(check_elf): Likewise.
1190
11912015-10-05  Josh Stone  <jistone@redhat.com>
1192
1193	* Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
1194
11952015-10-02  Mark Wielaard  <mjw@redhat.com>
1196
1197	* elfstrmerge.c: New check program.
1198	* run-strip-strmerge.sh: New test.
1199	* Makefile.am (check_PROGRAMS): Add elfstrmerge.
1200	(EXTRA_DIST): Add run-strip-strmerge.sh
1201	(elfstrmerge_LDADD): New variable.
1202
12032015-09-29  Mark Wielaard  <mjw@redhat.com>
1204
1205	* elfshphehdr.c: New test.
1206	* Makefile.am (check_PROGRAMS): Add elfshphehdr.
1207	(TESTS): Likewise.
1208	(elfshphehdr_LDADD): New variable.
1209
12102015-09-08  Mark Wielaard  <mjw@redhat.com>
1211
1212	* dwfl-proc-attach.c: New test.
1213	* Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
1214	(TESTS): Likewise.
1215	(dwfl_proc_attach_LDADD): New variable.
1216	(dwfl_proc_attach_LDFLAGS): Likewise.
1217
12182015-09-04  Chih-Hung Hsieh  <chh@google.com>
1219
1220	* varlocs.c (print_base_type): Initialize enctype.
1221
12222015-09-04  Chih-Hung Hsieh  <chh@google.com>
1223
1224	* md5-sha1-test.c (md5_expected): Removed.
1225	(sha1_expected): Likewise.
1226
12272015-09-04  Chih-Hung Hsieh  <chh@google.com>
1228
1229	* asm-tst1.c (main): Replace %Z length modifier with %z.
1230	* asm-tst2.c (main): Likewise.
1231	* asm-tst3.c (main): Likewise.
1232	* asm-tst4.c (main): Likewise.
1233	* asm-tst5.c (main): Likewise.
1234	* asm-tst6.c (main): Likewise.
1235	* asm-tst7.c (main): Likewise.
1236	* asm-tst8.c (main): Likewise.
1237	* asm-tst9.c (main): Likewise.
1238	* sectiondump.c (print_bytes): Likewise.
1239
12402015-08-14  Mark Wielaard  <mjw@redhat.com>
1241
1242	* run-addr2line-alt-debugpath.sh: New test.
1243	* Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
1244	(EXTRA_DIST): Likewise.
1245
12462015-07-29  Mark Wielaard  <mjw@redhat.com>
1247
1248	* run-unstrip-test3.sh: New test.
1249	* testfile-info-link.bz2: New file.
1250	* testfile-info-link.debuginfo.bz2: Likewise.
1251	* testfile-info-link.stripped.bz2: Likewise.
1252	* Makefile.am (TESTS): Add run-unstrip-test3.sh.
1253	(EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
1254	testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
1255
12562015-06-27  Pino Toscano  <toscano.pino@tiscali.it>
1257
1258	* tests/run-deleted.sh: Skip when detecting a not implemented
1259	dwfl_linux_proc_attach.
1260
12612015-06-27  Pino Toscano  <toscano.pino@tiscali.it>
1262
1263	* tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
1264	dwfl_addrmodule.
1265
12662015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
1267
1268	* tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
1269
12702015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
1271
1272	* tests/backtrace-data.c: Reduce scope of some includes to match their
1273	usage.
1274	* tests/backtrace.c: Likewise.
1275	* tests/deleted.c: Likewise.
1276
12772015-06-16  Mark Wielaard  <mjw@redhat.com>
1278
1279	* run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
1280	for non-ET_REL files.
1281
12822015-05-30  Mark Wielaard  <mjw@redhat.com>
1283
1284	* backtrace-subr.sh (check_native_core): Notice core file couldn't be
1285	generated before skipping.
1286	* run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
1287	before skipping.
1288	* run-backtrace-demangle.sh: Likewise.
1289	* run-stack-demangled-test.sh: Likewise.
1290	* run-backtrace-native-biarch.sh: Notice biarch testing is disabled
1291	before skipping.
1292	* run-backtrace-native-core-biarch.sh: Likewise.
1293	* test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
1294
12952015-05-20  Mark Wielaard  <mjw@redhat.com>
1296
1297	* run-addr2line-i-test.sh: Add pretty test.
1298	* run-addr2line-test.sh: Likewise.
1299
13002015-05-20  Mark Wielaard  <mjw@redhat.com>
1301
1302	* run-addr2line-i-demangle-test.sh: New test.
1303	* Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
1304	(EXTRA_DIST): Likewise.
1305
13062015-05-20  Mark Wielaard  <mjw@redhat.com>
1307
1308	* run-addr2line-test.sh: Add -a test variants.
1309	* run-addr2line-i-test.sh: Likewise.
1310
13112015-05-20  Mark Wielaard  <mjw@redhat.com>
1312
1313	* run-addrname-test.sh: Make sure all input addresses are hex.
1314
13152015-05-04  Max Filippov  <jcmvbkbc@gmail.com>
1316
1317	* backtrace-child.c (stdarg, main): Replace assert_perror with assert.
1318	* backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
1319	(main): Likewise.
1320	* backtrace-dwarf.c (main): Likewise.
1321	* backtrace.c (prepare_thread, exec_dump): Likewise.
1322
13232015-05-04  Anthony G. Basile  <blueness@gentoo.org>
1324
1325	* Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
1326	(funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
1327	(dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
1328	(low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
1329	(backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
1330
13312015-05-01  Mark Wielaard  <mjw@redhat.com>
1332
1333	* run-stack-d-test.sh: Use --raw and mangled output.
1334	* run-stack-i-test.sh: Likewise.
1335	* run-stack-demangled-test.sh: New test.
1336	* Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
1337	(TESTS): Likewise.
1338
13392015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1340
1341	* Makefile.am (TESTS): Add run-strip-test10.sh.
1342	(EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
1343	Add testfile-x32-debug.bz2.
1344	* run-strip-test10.sh: New file.
1345	* testfile-x32-d.bz2: Likewise.
1346	* testfile-x32-debug.bz2: Likewise.
1347
13482015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1349
1350	* Makefile.am (TESTS): Add run-strip-test9.sh.
1351	(EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
1352	* run-strip-test9.sh: New file.
1353	* testfile-x32-s.bz2: Likewise.
1354
13552015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1356
1357	* Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
1358	(EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
1359	Add backtrace.x32.exec.bz2.
1360	* backtrace.x32.core.bz2 : New file.
1361	* backtrace.x32.exec.bz2: Likewise.
1362	* run-backtrace-core-x32.sh: Likewise.
1363
13642015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1365
1366	* run-addrcfi.sh: Add a test for testfile-x32.
1367	* testfile-x32.bz2: New file.
1368	* Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
1369
13702015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1371
1372	* run-allregs.sh: Add a test for testfile-x32-core.
1373
13742015-04-01  H.J. Lu  <hjl.tools@gmail.com>
1375
1376	* run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
1377	* testfile-x32-core.bz2: New file.
1378	* Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
1379
13802015-03-18  Petr Machata  <pmachata@redhat.com>
1381
1382	* addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
1383	the API changes.
1384	* allregs.c (dwarf_encoding_string): Likewise.
1385	* show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
1386	* varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
1387
13882015-03-18  Petr Machata  <pmachata@redhat.com>
1389
1390	* Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
1391	debug-ranges-no-lowpc.o.bz2.
1392
13932015-03-13  Mark Wielaard  <mjw@redhat.com>
1394
1395	* backtrace-dwarf.c: Add explicit includes.
1396	(cleanup_13_abort): Remove unused static declaration.
1397	(thread_callback): Add explicit return.
1398
13992015-03-13  H.J. Lu  <hjl.tools@gmail.com>
1400
1401	* backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
1402	instead of PTRACE_POKEUSER.
1403	(exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
1404	is_x86_64_native.
1405
14062015-02-18  Mark Wielaard  <mjw@redhat.com>
1407
1408	* newdata.c (check_section_data): Use PRId64 for printing loff_t.
1409
14102015-02-11  Josh Stone  <jistone@redhat.com>
1411
1412	* backtrace.c (exec_dump): Initialize jmp.
1413
14142015-02-11  Petr Machata  <pmachata@redhat.com>
1415
1416	* run-dwarf-ranges.sh: New test.
1417	* dwarf-ranges.c: New file.
1418	* debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
1419
14202015-01-21  Mark Wielaard  <mjw@redhat.com>
1421
1422	* Makefile.am (check_PROGRAMS): Add elfstrtab.
1423	(TESTS): Likewise.
1424	(elfstrtab_LDADD): New variable.
1425	* elfstrtab.c: New test.
1426
14272015-01-20  Mark Wielaard  <mjw@redhat.com>
1428
1429	* Makefile.am (check_PROGRAMS): Add newdata.
1430	(TESTS): Likewise.
1431	(newdata_LDADD): new variable.
1432	* newdata.c: New test.
1433
14342015-01-20  Mark Wielaard  <mjw@redhat.com>
1435
1436	* strptr.c: New file.
1437	* run-strptr.sh: New test.
1438	* Makefile.am (check_PROGRAMS): Add strptr.
1439	(TESTS): Add run-strptr.sh.
1440	(EXTRA_DIST): Likewise.
1441	(strptr_LDADD): New variable.
1442
14432015-01-15  Mark Wielaard  <mjw@redhat.com>
1444
1445	* deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
1446	* vdsosyms.c (main): Use getpid () instead of getppid ().
1447
14482014-12-27  Mark Wielaard  <mjw@redhat.com>
1449
1450	* addrscopes.c (handle_address): Last address in scope is highpc - 1.
1451	* funcscopes.c (handle_function): Likewise.
1452	* run-addrscopes.sh: Adjust last address in scope.
1453	* run-funcscopes.sh: Likewise.
1454
14552015-01-07  Mark Wielaard  <mjw@redhat.com>
1456
1457	* run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
1458
14592015-01-14  Mark Wielaard  <mjw@redhat.com>
1460
1461	* testfile-debug-types.bz2: New testfile.
1462	* Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
1463	* typeiter2.c (main): Print both name and offset of found form DIE.
1464	* run-typeiter.s: Adjust output and add testfile-debug-types.
1465
14662014-12-26  Mark Wielaard  <mjw@redhat.com>
1467
1468	* run-test-archive64.sh: Add nm test.
1469
14702014-12-19  Mark Wielaard  <mjw@redhat.com>
1471
1472	* run-deleted.sh: Don't check libfunc on ppc64.
1473
14742014-12-19  Mark Wielaard  <mjw@redhat.com>
1475
1476	* vdsosyms.c (vdso_seen): Removed.
1477	(vdso_syms): New global.
1478	(module_callback): Set and check vdso_syms.
1479	(main): Return value depends on vdso_syms.
1480
14812014-12-19  Mark Wielaard  <mjw@redhat.com>
1482
1483	* backtrace-subr.sh (check_native_unsupported): Relax special ARM
1484	grep a little.
1485	* run-deleted.sh: Call check_native_unsupported.
1486
14872014-12-18  Mark Wielaard  <mjw@redhat.com>
1488
1489	* Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
1490
14912014-12-12  Mark Wielaard  <mjw@redhat.com>
1492
1493	* Makefile.am (deleted_lib_so_CFLAGS): Add
1494	-fasynchronous-unwind-tables.
1495
14962014-12-11  Josh Stone  <jistone@redhat.com>
1497
1498	* run-addr2line-i-lex-test.sh: New test.
1499	* testfile-lex-inlines.bz2: New testfile.
1500	* Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
1501	testfile-lex-inlines.bz2.
1502	(TESTS): Add run-addr2line-i-lex-test.sh.
1503
15042014-12-10  Josh Stone  <jistone@redhat.com>
1505
1506	* run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
1507	preferred over the plain die name.
1508
15092014-12-02  Petr Machata  <pmachata@redhat.com>
1510
1511	* dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
1512	DW_MACRO_GNU_undef_indirect opcodes.  Add a default branch.
1513	(main): Initialize off to DWARF_GETMACROS_START when an extra
1514	command line argument is passed.
1515	* testfile-macros-0xff.bz2: New test case.
1516	* testfile-macros-0xff.s: New file (source for the above).
1517	* run-dwarf-getmacros.sh: Add two tests.
1518
15192014-11-27  Mark Wielaard  <mjw@redhat.com>
1520
1521	* vdsosyms.c (main): Call dwfl_linux_proc_attach.
1522
15232014-11-21  Mark Wielaard  <mjw@redhat.com>
1524
1525	* run-readelf-A.sh: New test.
1526	* testfileppc32attrs.o.bz2: New test file.
1527	* Makefile.am (TESTS): Add run-readelf-A.sh.
1528	(EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
1529
15302014-11-10  Mark Wielaard  <mjw@redhat.com>
1531
1532	* vdsosyms.c: New test.
1533	* Makefile.am (check_PROGRAMS): Add vdsosyms.
1534	(TESTS): Likewise.
1535	(vdsosyms_LDADD): New variable.
1536
15372014-09-10  Petr Machata  <pmachata@redhat.com>
1538
1539	* dwarf-getmacros.c: Update to use the new macro iteration
1540	interfaces.
1541	* run-dwarf-getmacros.sh: Adjust, add a test that uses
1542	testfile-macros.
1543
15442014-10-06  Mark Wielaard  <mjw@redhat.com>
1545
1546	* run-aggregate-size.sh: Add testfile-sizes3.o test case.
1547	* testfile-sizes3.o.bz2: New test file.
1548	* Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
1549
15502014-10-02  Mark Wielaard  <mjw@redhat.com>
1551
1552	* run-deleted.sh: Unset VALGRIND_CMD before running deleted.
1553
15542014-10-02  Mark Wielaard  <mjw@redhat.com>
1555
1556	* Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1557	(TESTS): Add run-aggregate-size.sh.
1558	(EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1559	and testfile-sizes2.o.bz2.
1560	(aggregate_size_LDADD): New variable.
1561	* aggregate_size.c: New file.
1562	* run-aggregate-size.sh: New test.
1563	* testfile-sizes1.o.bz2: New test file.
1564	* testfile-sizes2.o.bz2: Likewise.
1565
15662014-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1567
1568	Support NT_FILE for locating files.
1569	* Makefile.am (TESTS): Add run-linkmap-cut.sh.
1570	(EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1571	linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1572	* linkmap-cut-lib.so.bz2: New file.
1573	* linkmap-cut.bz2: New file.
1574	* linkmap-cut.core.bz2: New file.
1575	* run-linkmap-cut.sh: New file.
1576	* run-unstrip-n.sh: Update its expected output.
1577
15782014-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1579
1580	* Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1581	(TESTS, EXTRA_DIST): Add run-deleted.sh.
1582	(deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1583	* deleted-lib.c: New file.
1584	* deleted.c: New file.
1585	* run-deleted.sh: New file.
1586
15872014-06-15  Mark Wielaard  <mjw@redhat.com>
1588
1589	* backtrace.c (frame_callback): Error on seeing more than 16 frames.
1590
15912014-06-13  Mark Wielaard  <mjw@redhat.com>
1592
1593	* backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1594	frame symname.
1595
15962014-06-13  Mark Wielaard  <mjw@redhat.com>
1597
1598	* backtrace-subr.sh (check_native_unsupported): New function.
1599	(check_native): Call it.
1600	(check_native_core): Likewise.
1601	* run-backtrace-dwarf.sh: Likewise.
1602
16032014-06-11  Mark Wielaard  <mjw@redhat.com>
1604
1605	* backtrace.c (main): Check that Dwfl was attached by calling
1606	dwfl_pid and printing the error when it is not.
1607
16082014-05-18  Mark Wielaard  <mjw@redhat.com>
1609
1610	* testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1611	(f): Likewise.
1612	* testfile-backtrace-demangle.bz2: Regenerate.
1613	* testfile-backtrace-demangle.core.bz2: Likewise.
1614
16152014-05-02  Mark Wielaard  <mjw@redhat.com>
1616
1617	* Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1618	run-allfcts-multi.sh are now added unconditionally.
1619
16202014-05-01  Mark Wielaard  <mjw@redhat.com>
1621
1622	* run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1623	subdir.
1624
16252014-04-30  Mark Wielaard  <mjw@redhat.com>
1626
1627	* buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1628	* Makefile.am (check_PROGRAMS): Add buildid.
1629	(TESTS): Add run-buildid.sh.
1630	(EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1631	(buildid_LDADD): New variable.
1632
16332014-04-24  Florian Weimer  <fweimer@redhat.com>
1634
1635	* allfcts.c (setup_alt): New function.
1636	(main): Call it.  Implementation additional error checking and
1637	reporting.
1638
16392014-04-24  Florian Weimer  <fweimer@redhat.com>
1640
1641	* debugaltlink.c, run-debugaltlink.sh: New files.
1642	* Makefile.am (check_PROGRAMS): Add debugaltlink.
1643	(TESTS): Add run-debugaltlink.sh.
1644	(debugaltlink_LDADD): New variable.
1645
16462014-04-11  Mark Wielaard  <mjw@redhat.com>
1647
1648	* Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1649	(check_PROGRAMS): Add debuglink.
1650	(TESTS): Add run-debuglink.sh
1651	(EXTRA_DIST): Likewise.
1652	(debuglink_LDADD): New.
1653	* debuglink.c: New file.
1654	* run-debuglink.sh: Likewise.
1655
16562014-03-23  Mark Wielaard  <mjw@redhat.com>
1657
1658	* run-nm-self.sh: Use test = not == for string comparisons.
1659
16602014-04-22  Kurt Roeckx  <kurt@roeckx.be>
1661
1662	* backtrace.c: Make Linux only.
1663	* backtrace-child.c: Make Linux only.
1664	* backtrace-data.c: Make Linux only.
1665	* backtrace-dwarf.c: Make Linux only.
1666	* backtrace-subr.sh: Skip core file unwinding tests when not supported.
1667
16682014-03-14  Mark Wielaard  <mjw@redhat.com>
1669
1670	* Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1671	LDADD lines.
1672	* configure.ac: Remove MUDFLAP conditional.
1673
16742014-04-09  Mark Wielaard  <mjw@redhat.com>
1675
1676	* run-readelf-zdebug.sh: New test.
1677	* testfile-debug.bz2: New testfile.
1678	* testfile-zdebug.bz2: New testfile.
1679	* Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1680	(EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1681	testfile-zdebug.bz2.
1682
16832014-04-10  Mark Wielaard  <mjw@redhat.com>
1684
1685	* testfile_i686_core.bz2: New test file.
1686	* run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1687	* Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1688
16892014-04-09  Mark Wielaard  <mjw@redhat.com>
1690
1691	* Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1692	(EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1693	backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1694	* run-backtrace-core-aarch64.sh: New test.
1695
16962014-03-11  Josh Stone  <jistone@redhat.com>
1697
1698	* testfilebaxmin.bz2: New testfile.
1699	* Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1700	* run-readelf-s.sh: Test testfilebaxmin.
1701	* run-dwflsyms.sh: Likewise.
1702
17032014-01-26  Mark Wielaard  <mjw@redhat.com>
1704
1705	* backtrace-subr.sh (check_unsupported): Special case arm*.
1706
17072014-01-25  Mark Wielaard  <mjw@redhat.com>
1708
1709	* run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1710	location expression: call_frame_cfa stack_value.
1711
17122014-01-22  Mark Wielaard  <mjw@redhat.com>
1713
1714	* Makefile.am (line2addr_no_Wformat): Removed.
1715
17162014-01-21  Mark Wielaard  <mjw@redhat.com>
1717
1718	* Makefile.am (TESTS): Add run-stack-i-test.sh.
1719	(EXTRA_DIST): Likewise.
1720	* run-stack-i-test.sh: New test.
1721
17222014-01-20  Mark Wielaard  <mjw@redhat.com>
1723
1724	* Makefile.am (TESTS): Add run-stack-d-test.sh.
1725	(EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1726	testfiledwarfinlines.core.bz2.
1727	* run-stack-d-test.sh: New test.
1728	* testfiledwarfinlines.bz2: New test file.
1729	* testfiledwarfinlines.core.bz2: Likewise.
1730
17312014-01-16  Mark Wielaard  <mjw@redhat.com>
1732
1733	* run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1734	on one ET_REL, one ET_EXEC and one ET_DYN file.
1735	* test-subr.sh (self_test_files): Add two ET_REL files, only add
1736	two libebl ET_DYN backend files.
1737
17382014-01-16  Mark Wielaard  <mjw@redhat.com>
1739
1740	* run-backtrace-demangle.sh: Check exitcode and max number of frames.
1741
17422014-01-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1743
1744	Fix false FAILs on testsuite with ulimit -c unlimited.
1745	* backtrace-child.c (sigusr2): Call pthread_exit.
1746	(main): Return, do not call abort.
1747
17482014-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1749
1750	Fix corruption of non-C++ symbols by the demangler.
1751	* Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1752	<!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1753	(EXTRA_DIST): Add run-backtrace-demangle.sh,
1754	testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1755	testfile-backtrace-demangle.core.bz2.
1756	* backtrace-demangle.cc: New file.
1757	* run-backtrace-demangle.sh: New file.
1758	* testfile-backtrace-demangle.bz2: New file.
1759	* testfile-backtrace-demangle.cc: New file.
1760	* testfile-backtrace-demangle.core.bz2: New file.
1761
17622014-01-07  Matthias Klose <doko@ubuntu.com>
1763
1764	* backtrace-subr.sh (check_native_core): Check to see if core file
1765	was created without ".PID" extension, if so mv core to core.PID.
1766	Skip test if no core file was created or could be found.
1767
17682014-01-04  Mark Wielaard  <mjw@redhat.com>
1769
1770	* backtrace-data.c (main): Don't assert if raise returns.
1771	* backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1772	assume_ptrace_attached true.
1773	(ptrace_detach_stopped): Removed function.
1774	(main): Don't call ptrace_detach_stopped.
1775	* backtrace.c (ptrace_detach_stopped): Removed function.
1776	(report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1777	true.
1778	(exec_dump): Don't call ptrace_detach_stopped.
1779
17802014-01-04  Mark Wielaard  <mjw@redhat.com>
1781
1782	* backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1783	if we cannot adjust core ulimit.
1784
17852014-01-04  Mark Wielaard  <mjw@redhat.com>
1786
1787	* cleanup-13.c (force_unwind_stop): Removed.
1788	(force_unwind): Just call abort. Don't setup _Unwind_Exception and
1789	don't call _Unwind_ForcedUnwind.
1790
17912014-01-03  Mark Wielaard  <mjw@redhat.com>
1792
1793	* run-addrcfi.sh: Add case for EM_AARCH64.
1794	* testfileaarch64.bz2: New testfile.
1795	* Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1796
17972013-12-30  Mark Wielaard  <mjw@redhat.com>
1798
1799	* backtrace-dwarf.c (report_pid): Explicitly call
1800	dwfl_linux_proc_attach and check for errors.
1801	* backtrace.c (report_pid): Likewise.
1802
18032013-12-21  Mark Wielaard  <mjw@redhat.com>
1804
1805	* backtrace.c (callback_verify): Only assert that case 5 is the last
1806	instruction of backtracegen on x86_64 native.
1807
18082013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1809	    Mark Wielaard  <mjw@redhat.com>
1810
1811	* Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1812	and testfilebaz*ppc64*.bz2 files.
1813	* dwflsyms.c (list_syms): Remove unused from parameter mod_name.  Print
1814	error on dwfl_module_getsymtab error.
1815	(list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1816	Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1817	Also print section of actual value if different from sym.
1818	* run-addrname-test.sh (testfile66, testfile66.core): New tests.
1819	Test addr2line -x by showing different sections for address and
1820	found name in testfile66.
1821	* run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1822	testfilebaz*ppc64): New tests.
1823	* testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1824	testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1825	testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1826	testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1827	testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1828	testfilebaztabppc64.bz2: New test files.
1829
18302013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1831
1832	unwinder: s390 and s390x
1833	* Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1834	run-backtrace-core-s390.sh.
1835	(EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1836	backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1837	run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1838	* backtrace.s390.core.bz2: New file.
1839	* backtrace.s390.exec.bz2: New file.
1840	* backtrace.s390x.core.bz2: New file.
1841	* backtrace.s390x.exec.bz2: New file.
1842	* run-backtrace-core-s390.sh: New file.
1843	* run-backtrace-core-s390x.sh: New file.
1844
18452013-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1846
1847	* backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1848	code.
1849
18502013-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1851
1852	unwinder: ppc
1853	* Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1854	(EXTRA_DIST): Add backtrace.ppc.core.bz2,
1855	backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1856	* backtrace.ppc.core.bz2: New file.
1857	* backtrace.ppc.exec.bz2: New file.
1858	* run-backtrace-core-ppc.sh: New file.
1859
18602013-12-10  Mark Wielaard  <mjw@redhat.com>
1861
1862	* Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1863
18642013-12-10  Mark Wielaard  <mjw@redhat.com>
1865
1866	* Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1867	* backtrace-subr.sh (check_native_core): Disable valgrind while
1868	dumping core.
1869	* run-backtrace-data.sh: Disable valgrind.
1870	* run-backtrace-dwarf.sh: Likewise.
1871
18722013-12-09  Mark Wielaard  <mjw@redhat.com>
1873
1874	* varlocs.c (print_expr): Update comment to explain empty location
1875	associated with DW_OP_GNU_implicit_pointer.
1876
18772013-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1878
1879	Fix test FAIL with -O2.
1880	* backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1881
18822013-12-05  Mark Wielaard  <mjw@redhat.com>
1883
1884	* backtrace-data.c (main): If unsupported also print to stderr.
1885	* run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1886
18872013-12-04  Mark Wielaard  <mjw@redhat.com>
1888
1889	* Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1890
18912013-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1892
1893	* Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1894	backtrace-data and backtrace-dwarf.
1895	(BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1896	(TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1897	run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1898	run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1899	run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1900	<!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1901	(EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1902	cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1903	run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1904	run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1905	backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1906	backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1907	(backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1908	(backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1909	New.
1910	* backtrace-child.c: New file.
1911	* backtrace-data.c: New file.
1912	* backtrace-dwarf.c: New file.
1913	* backtrace-subr.sh: New file.
1914	* backtrace.c: New file.
1915	* cleanup-13.c: New file.
1916	* backtrace.i386.core.bz2: New file.
1917	* backtrace.i386.exec.bz2: New file.
1918	* backtrace.x86_64.core.bz2: New file.
1919	* backtrace.x86_64.exec.bz2: New file.
1920	* run-backtrace-core-i386.sh: New file.
1921	* run-backtrace-core-x86_64.sh: New file.
1922	* run-backtrace-native-biarch.sh: New file.
1923	* run-backtrace-native-core-biarch.sh: New file.
1924	* run-backtrace-native-core.sh: New file.
1925	* run-backtrace-native.sh: New file.
1926	* run-backtrace-data.sh: New file.
1927	* run-backtrace-dwarf.sh: New file.
1928
19292013-11-27  Mark Wielaard  <mjw@redhat.com>
1930
1931	* dwflsyms.c (gelf_bind_order): New function.
1932	(elf_section_name): Likewise.
1933	(addr_in_section): Likewise.
1934	(list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1935	Refine assert using gelf_bind_order. Print elf_section_name. Check
1936	bias with addr_in_section.
1937	* run-dwflsyms.sh: Add section names to expected output.
1938
19392013-11-26  Mark Wielaard  <mjw@redhat.com>
1940
1941	* Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1942
19432013-11-25  Petr Machata  <pmachata@redhat.com>
1944
1945	* testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1946	* funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1947	* Makefile.am (EXTRA_DIST): Add these.
1948	(TESTS): Add run-funcretval.sh.
1949	* run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1950	* run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1951	* run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1952	* run-funcretval.sh: New file.
1953
19542013-11-18  Josh Stone  <jistone@redhat.com>
1955
1956	* testfilebazdbg_plr.bz2: New testfile.
1957	* testfilebazmin_plr.bz2: Likewise.
1958	* Makefile.am (EXTRA_DIST): Add the above files.
1959	* run-dwflsyms.sh: Add prelink -r tests.
1960
19612013-11-15  Mark Wielaard  <mjw@redhat.com>
1962
1963	* testfilebazmdb.bz2: Regenerated.
1964	* testfilebazmin.bz2: Likewise.
1965	* testfilebazdbg_pl.bz2: New testfile.
1966	* testfilebazmin_pl.bz2: Likewise.
1967	* Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1968	testfilebazmin_pl.bz2.
1969	* dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1970	print relative address of function symbols.
1971	* run-dwflsyms.sh: Add prelink tests and adjust expected output.
1972
19732013-11-01  Michael Forney  <mforney@mforney.org>
1974
1975	* Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1976	* run-arsymtest.sh: Use NM.
1977
19782013-11-05  Mark Wielaard  <mjw@redhat.com>
1979
1980	* allfcts.c (main): Correct dwarf_getfuncs return value check.
1981
19822013-10-10  Mark Wielaard  <mjw@redhat.com>
1983	    Josh Stone  <jistone@redhat.com>
1984
1985	* run-allfcts-multi.sh: New test.
1986	* test-offset-loop.bz2: New testfile.
1987	* test-offset-loop.alt.bz2: New testfile.
1988	* Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1989	(EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1990	test-offset-loop.alt.bz2.
1991
19922013-10-15  Mark Wielaard  <mjw@redhat.com>
1993
1994	* run-unstrip-M.sh: New test.
1995	* Makefile.am (TESTS): Add run-unstrip-M.sh.
1996	(EXTRA_DIST): Likewise.
1997
19982013-10-06  Mark Wielaard  <mjw@redhat.com>
1999
2000	* run-addrcfi.sh: Remove nop from expected ppc and ppc64
2001	location expression.
2002
20032013-10-03  Josh Stone  <jistone@redhat.com>
2004
2005	* typeiter2.c: New file, reversing typeiter.c.
2006	* run-typeiter.sh: Also run typeiter2.
2007	* Makefile.am (check_PROGRAMS): Add typeiter2.
2008	(typeiter2_LDADD): New variable.
2009
20102013-09-26  Petr Machata  <pmachata@redhat.com>
2011
2012	* run-readelf-mixed-corenote.sh: Update output of testfile71
2013	dump--readelf can newly decode the NT_FILE note.
2014
20152013-09-26  Petr Machata  <pmachata@redhat.com>
2016
2017	* Makefile.am (EXTRA_DIST): Add testfile71.bz2.
2018	* run-readelf-mixed-corenote.sh: New test for this file.
2019	* testfile71.bz2: New file.
2020
20212013-09-20  Mark Wielaard  <mjw@redhat.com>
2022
2023	* allfcts.c (cb): Return DWARF_CB_ABORT.
2024	(main): Iterate over all offsets returned by dwarf_getfuncs.
2025	* run-allfcts.sh: Add nested_funcs and class_func testcases.
2026	* testfile_nested_funcs.bz2: New test file.
2027	* testfile_class_func.bz2: Likewise.
2028	* Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
2029	testfile_nested_funcs.bz2.
2030
20312013-08-30  Mark Wielaard  <mjw@redhat.com>
2032
2033	* Makefile.am (check_PROGRAMS): Add varlocs.
2034	(TESTS): Add run-varlocs.sh.
2035	(EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
2036	testfile_const_type.bz2, testfile_implicit_pointer.c,
2037	testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
2038	testfile_entry_value.c, testfile_entry_value.bz2,
2039	testfile_implicit_value.c and testfile_implicit_value.bz2.
2040	(varlocs_LDADD): New.
2041	* run-varlocs: New test.
2042	* testfile_const_type.c: New test source file.
2043	* testfile_entry_value.c: Likewise.
2044	* testfile_implicit_pointer.c: Likewise.
2045	* testfile_implicit_value.c: Likewise.
2046	* testfile_parameter_ref.c: Likewise.
2047	* testfile_const_type.bz2: New test file.
2048	* testfile_entry_value.bz2: Likewise.
2049	* testfile_implicit_pointer.bz2: Likewise.
2050	* testfile_implicit_value.bz2: Likewise.
2051	* testfile_parameter_ref.bz2: Likewise.
2052	* varlocs.c: New test source.
2053
20542013-08-29  Mark Wielaard  <mjw@redhat.com>
2055
2056	* run-addrcfi.sh: Add case for EM_ARM.
2057	* testfilearm.bz2: New testfile.
2058	* Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
2059
20602013-08-28  Mark Wielaard  <mjw@redhat.com>
2061
2062	* addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
2063	completely missing.
2064	* run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
2065	* testfiles390.bz2: New testfile.
2066	* testfiles390x.bz2: Likewise.
2067	* Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
2068	testfiles390x.bz2.
2069
20702013-08-28  Mark Wielaard  <mjw@redhat.com>
2071
2072	* addrcfi.c (handle_cfi): Use printf not error.
2073	* run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
2074	* testfileppc32.bz2: New testfile.
2075	* testfileppc64.bz2: Likewise.
2076	* Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
2077	testfileppc64.bz2.
2078
20792013-08-27  Mark Wielaard  <mjw@redhat.com>
2080
2081	* run-addrcfi.sh: New test.
2082	* Makefile.am (TESTS): Add run-addrcfi.sh.
2083	(EXTRA_DIST): Likewise.
2084	* addrcfi.c (op_name): New function.
2085	(print_detail): Call and print op_name. Check ops, not result
2086	to check if this is "same value" or "undefined".
2087	(handle_cfi): Make sure cfa_ops doesn't point to NULL.
2088
20892013-08-13  Mark Wielaard  <mjw@redhat.com>
2090
2091	* run-addr2line-i-test.sh: New test.
2092	* testfile-inlines.bz2: New testfile.
2093	* Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
2094	testfile-inlines.bz2.
2095	(TESTS): Add run-addr2line-i-test.sh.
2096
20972013-08-12  Mark Wielaard  <mjw@redhat.com>
2098
2099	* run-addr2line-test.sh: New test.
2100	* Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
2101	(TESTS): Likewise.
2102
21032013-07-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
2104
2105	* run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
2106	the entries.
2107
21082013-07-02  Mark Wielaard  <mjw@redhat.com>
2109
2110	* Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
2111	testfilenolines.bz2.
2112
21132013-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
2114
2115	* Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
2116	test-core.core.bz2 and test-core.exec.bz2.
2117	* run-addrname-test.sh: New test for these files.
2118	* run-unstrip-n.sh: Update expected output.  New test for these files.
2119	* test-core-lib.so.bz2: New file.
2120	* test-core.core.bz2: New file.
2121	* test-core.exec.bz2: New file.
2122
21232013-05-03  Mark Wielaard  <mjw@redhat.com>
2124
2125	* testfilenolines.bz2: New test file.
2126	* Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
2127	* run-get-lines.sh: Run testrun_compare on testfilenolines.
2128
21292013-04-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
2130
2131	* dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
2132
21332013-04-29  Mark Wielaard  <mjw@redhat.com>
2134
2135	* test-subr.sh: Don't use pushd, just cd into test-dir.
2136	(exit_cleanup): Don't use popd, just cd .. to get out.
2137
21382013-04-27  Mark Wielaard  <mjw@redhat.com>
2139
2140	* test-subr.sh (exit_cleanup): New function.
2141	(trap): Use exit_cleanup as argument.
2142	* run-native-test.sh (native_exit): New function.
2143	(trap): For EXIT (0) use native_exit as argument.
2144
21452013-04-27  Mark Wielaard  <mjw@redhat.com>
2146
2147	* update1.c (main): Use unique tempfile name and unlink file.
2148	* update2.c (main): Likewise.
2149	* update3.c (main): Likewise.
2150	* update4.c (main): Use unique tempfile name.
2151
21522013-04-27  Mark Wielaard  <mjw@redhat.com>
2153
2154	* run-alldts.sh: Add testfile-alldts to tempfiles.
2155	* run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
2156	* run-macro-test.sh: Add readelf.macros.out to tempfiles.
2157	* run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
2158	and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
2159
21602013-04-26  Mark Wielaard  <mjw@redhat.com>
2161
2162	* Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
2163	remove wrapper.
2164	(TESTS_ENVIRONMENT): Likewise.
2165	(installed_LOG_COMPILER): New variable defining wrapper.
2166	(LOG_COMPILER): Likewise.
2167	* run-*.sh: Fixup location of input and output files.
2168	* test-subr.sh: Create test_dir, pushd to execute test in.
2169	(trap): Remove test_dir.
2170	(testfiles): Use abs_srcdir.
2171	(installed_testrun): Match on abs_builddir or abs_top_builddir.
2172	(self_test_files): Adjust path.
2173
21742013-04-24  Mark Wielaard  <mjw@redhat.com>
2175
2176	* Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
2177
21782013-03-25  Mark Wielaard  <mjw@redhat.com>
2179
2180	* run-readelf-aranges.sh: New test.
2181	* testfilefoobarbaz.bz2: New test file.
2182	* Makefile.am (TESTS): Add run-readelf-aranges.sh.
2183	(EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
2184
21852013-03-25  Mark Wielaard  <mjw@redhat.com>
2186
2187	* run-readelf-dwz-multi.sh: Expect high_pc also as address.
2188
21892013-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2190
2191	* Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
2192	(TESTS): Add run-dwfl-report-elf-align.sh.
2193	(EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
2194	testfile-dwfl-report-elf-align-shlib.so.bz2 .
2195	(dwfl_report_elf_align_LDADD): New.
2196	* dwfl-report-elf-align.c: New file.
2197	* run-dwfl-report-elf-align.sh: New file.
2198	* testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
2199
22002013-03-12  Mark Wielaard  <mjw@redhat.com>
2201
2202	* run-dwfllines.sh: New test.
2203	* dwfllines.c: New test program.
2204	* Makefile.am (TESTS): Add run-dwfllines.sh.
2205	(EXTRA_DIST): Likewise.
2206	(dwfllines_LDADD): New variable.
2207
22082013-02-22  Mark Wielaard  <mjw@redhat.com>
2209
2210	* Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
2211	(LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
2212
22132013-02-15  Mark Wielaard  <mjw@redhat.com>
2214
2215	* testfile-dwzstr.bz2: New testfile.
2216	* testfile-dwzstr.multi.bz2: Likewise.
2217	* run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
2218	* Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
2219	testfile-dwzstr.multi.bz2.
2220
22212013-01-30  Mark Wielaard  <mjw@redhat.com>
2222
2223	* testfileloc.bz2: New testfile.
2224	* run-readelf-loc.sh: New test.
2225	* Makefile.am (TESTS): Add run-readelf-loc.sh.
2226	(EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
2227
22282013-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
2229
2230	* run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
2231	and s390x core notes.
2232	* testfile67.bz2: New file.
2233	* testfile68.bz2: New file.
2234	* Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
2235
22362013-01-23  Mark Wielaard  <mjw@redhat.com>
2237
2238	* testfilebasmin.bz2: New testfile.
2239	* Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
2240	* run-readelf-s.sh: Test testfilebasmin.
2241	* run-dwflsyms.sh: Likewise.
2242
22432013-01-16  Mark Wielaard  <mjw@redhat.com>
2244
2245	* Makefile.am (check_PROGRAMS): Add dwflsyms.
2246	(TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
2247	(EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
2248	testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
2249	testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
2250	(dwflsyms_LDADD): New variable.
2251
22522013-01-07  Roland McGrath  <roland@hack.frob.com>
2253
2254	* run-prelink-addr-test.sh: Use ln -snf.
2255
22562012-12-03  Mark Wielaard  <mjw@redhat.com>
2257
2258	* Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
2259
22602012-11-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
2261
2262	* run-addrname-test.sh: New test for PIE relocation.
2263	* testfile70.core.bz2: New file.
2264	* testfile70.exec.bz2: New file.
2265	* Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
2266	testfile70.exec.bz2 .
2267
22682012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2269
2270	* Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
2271	testfile69.core.bz2 and testfile69.so.bz2 .
2272
22732012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2274
2275	* run-addrname-test.sh: New test for DSO with build-id bias.
2276	* testfile69.core.bz2: New file.
2277	* testfile69.so.bz2: New file.
2278
22792012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
2280
2281	* run-addrname-test.sh: New test for core vDSO bias.
2282	* testfile65.bz2: New file.
2283
22842012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
2285
2286	* run-addrname-test.sh: New test for symbol preferences.
2287	* testfile64.bz2: New file.
2288
22892012-10-01  Mark Wielaard  <mjw@redhat.com>
2290
2291	* Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
2292	* test-wrapper.sh: Export VALGRIND_CMD if available.
2293	* test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
2294	(installed_testrun): Likewise.
2295
22962012-09-24  Petr Machata  <pmachata@redhat.com>
2297
2298	* testfile63.bz2: New testfile.
2299	* run-readelf-mixed-corenote.sh: New test.
2300	* Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
2301	(EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
2302
23032012-09-24  Petr Machata  <pmachata@redhat.com>
2304
2305	* testfile62.bz2: New testfile.
2306	* run-readelf-vmcoreinfo.sh: New test.
2307	* Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
2308	(EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
2309
23102012-09-18  Petr Machata  <pmachata@redhat.com>
2311
2312	* testfile61.bz2: New testfile.
2313	* run-allregs.sh: Run reg_test testfile61.
2314	* Makefile.am (EXTRA_DIST): Add testfile61.bz2.
2315
23162012-08-24  Mark Wielaard  <mjw@redhat.com>
2317
2318	* Makefile.am (EXTRA_DIST): Add testfile60.bz2.
2319
23202012-08-22  Jeff Kenton  <jkenton@tilera.com>
2321
2322	* testfile60.bz2: New testfile.
2323	* run-allregs.sh: Run reg_test testfile60.
2324
23252012-08-24  Mark Wielaard  <mjw@redhat.com>
2326
2327	* Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
2328	ENABLE_DWZ.
2329
23302012-08-16  Mark Wielaard  <mjw@redhat.com>
2331
2332	* allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
2333	macros.
2334	* show-die-info.c (tagnames): Removed.
2335	(attrs): Removed.
2336	(dwarf_tag_string): New function using known-dwarf macros.
2337	(dwarf_attr_string): Likewise.
2338	(handle): Call dwarf_tag_string and dwarf_attr_string instead.
2339	* run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
2340
23412012-06-27  Mark Wielaard  <mjw@redhat.com>
2342
2343	* Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
2344	(EXTRA_DIST): Add run-readelf-dwz-multi.sh,
2345	libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
2346	testfile_multi_main.bz2.
2347	* run-readelf-dwz-multi.sh: New test.
2348	* libtestfile_multi_shared.so.bz2: New testfile.
2349	* testfile_multi.dwz.bz2: New testifle.
2350	* testfile_multi_main.bz2: New testifle.
2351
23522012-08-01  Petr Machata  <pmachata@redhat.com>
2353
2354	* run-test-archive64.sh: New test.
2355	* testarchive64.a.bz2: New testfile.
2356	* Makefile.am (TESTS): Add run-test-archive64.sh.
2357	(EXTRA_DIST): Likewise.
2358
23592012-08-01  Mark Wielaard  <mjw@redhat.com>
2360
2361	* run-nm-self.sh: New test.
2362	* run-readelf-self.sh: Likewise.
2363	* test-subr.sh (testrun_on_self_quiet): New function.
2364	* Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
2365	(EXTRA_DIST): Likewise.
2366
23672012-08-01  Mark Wielaard  <mjw@redhat.com>
2368
2369	* test-subr.sh (self_test_files): New list of files.
2370	(testrun_on_self): New function.
2371	* run-elflint-self.sh: Use testrun_on_self.
2372
23732012-07-19  Mark Wielaard  <mjw@redhat.com>
2374
2375	* Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
2376	(TESTS): Add run-elf_cntl_gelf_getshdr.sh.
2377	(EXTRA_DIST): Likewise.
2378	(test_elf_cntl_gelf_getshdr_LDADD): New.
2379	test-elf_cntl_gelf_getshdr.c: New test program.
2380	run-elf_cntl_gelf_getshdr.sh: New test script.
2381
23822012-07-19  Mark Wielaard  <mjw@redhat.com>
2383
2384	* run-elflint-self.sh: runtests on ../backends/*so files.
2385
23862012-07-19  Mark Wielaard  <mjw@redhat.com>
2387
2388	* run-unstrip-n.sh: test_cleanup.
2389	* Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
2390
23912012-07-11  Mark Wielaard  <mjw@redhat.com>
2392
2393	* run-readelf-macro.sh: New test.
2394	* testfilemacro.bz2: New testfile.
2395	* Makefile.am (TESTS): Add run-readelf-macro.sh.
2396	(EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2397
23982012-06-27  Mark Wielaard  <mjw@redhat.com>
2399
2400	* run-readelf-gdb-index.sh: New test.
2401	* testfilegdbindex5.bz2: New testfile.
2402	* testfilegdbindex7.bz2: Likewise.
2403	* Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
2404	(EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
2405	testfilegdbindex7.bz2.
2406
24072012-07-17  Mark Wielaard  <mjw@redhat.com>
2408
2409	* testcore-rtlib-ppc.bz2: New testfile.
2410	* run-unstrip-n.sh: Check new ppc core testfile.
2411
24122012-06-26  Mike Frysinger  <vapier@gentoo.org>
2413
2414	* Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
2415
24162012-06-26  Mark Wielaard  <mjw@redhat.com>
2417
2418	* run-macro-test.sh: New test.
2419	* testfile-macinfo.bz2: New testfile.
2420	* testfile-macros.bz2: Likewise.
2421
24222012-05-07  Mark Wielaard  <mjw@redhat.com>
2423
2424	* low_high_pc.c: Use proper inttypes in printf formats.
2425
24262012-05-11  Mark Wielaard  <mjw@redhat.com>
2427
2428	* Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
2429
24302012-05-07  Mark Wielaard  <mjw@redhat.com>
2431
2432	* low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
2433
24342012-04-27  Mark Wielaard  <mjw@redhat.com>
2435
2436	* Makefile.am (TESTS): Add run-low_high_pc.sh
2437	(EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
2438	(noinst_PROGRAMS): Add low_high_pc.
2439	(low_high_pc_LDADD): New variable.
2440	* low_high_pc.c: New test.
2441
24422012-04-26  Mark Wielaard  <mjw@redhat.com>
2443
2444	* Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
2445	* run-show-ciefde.sh: Removed old libdwarf test.
2446	* show-ciefde.c: Likewise.
2447
24482012-04-02  Mark Wielaard  <mjw@redhat.com>
2449
2450	* Makefile.am (TESTS): Add run-unstrip-n.sh.
2451	(EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
2452	* run-unstrip-n.sh: New test.
2453	* testcore-rtlib.bz2: New testfile.
2454
24552012-04-02  Mark Wielaard  <mjw@redhat.com>
2456
2457	* Makefile.am (TESTS): Add run-readelf-d.sh.
2458	(EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
2459	* run-readelf-d.sh: New test.
2460	* run-elflint-test.sh: Check new testfile.
2461
24622012-03-21  Tom Tromey  <tromey@redhat.com>
2463
2464	* typeiter.c: New file.
2465	* run-typeiter.sh: New file.
2466	* testfile59.bz2: New file.
2467	* Makefile.am (noinst_PROGRAMS): Add typeiter.
2468	(TESTS): Add run-typeiter.sh.
2469	(EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
2470	(typeiter_LDADD): New variable.
2471
24722012-02-21  Kurt Roeckx  <kurt@roeckx.be>
2473
2474	* run-alldts.sh: testrun ./alldts.
2475
24762012-02-21  Roland McGrath  <roland@hack.frob.com>
2477
2478	* test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
2479	* test-subr.sh (installed_testrun): Likewise.
2480
24812012-01-18  Roland McGrath  <roland@hack.frob.com>
2482
2483	* asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
2484	it will have been inherited correctly from the test harness.
2485	* asm-tst5.c (main): Likewise.
2486	* asm-tst6.c (main): Likewise.
2487	Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
2488
24892011-07-09  Roland McGrath  <roland@hack.frob.com>
2490
2491	* sha1-tst.c: File removed.
2492	* Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
2493	(sha1_tst_LDADD): Variable removed.
2494
2495	* md5-sha1-test.c: New file.
2496	* Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
2497	(md5_sha1_test_LDADD): New variable.
2498
24992011-05-30  Mark Wielaard  <mjw@redhat.com>
2500
2501	* Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
2502	run-rerequest_tag.sh
2503
25042011-05-24  Mark Wielaard  <mjw@redhat.com>
2505
2506	* Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
2507	* run-strip-reloc.sh: Add hello_s390.ko testcase.
2508	* hello_s390.ko.bz2: New test file.
2509
25102011-05-23  Mark Wielaard  <mjw@redhat.com>
2511
2512	* Makefile.am (TESTS): Add run-strip-reloc.sh.
2513	(EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
2514	hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
2515	* run-strip-reloc.sh: New test.
2516	* hello_i386.ko.bz2: New test file.
2517	* hello_x86_64.ko.bz2: Likewise.
2518	* hello_ppc64.ko.bz2: Likewise.
2519
25202011-05-18  Mark Wielaard  <mjw@redhat.com>
2521
2522	* run-strip-groups.sh: New test.
2523	* testfile58.bz2: New test file.
2524	* Makefile.am (EXTRA_DIST): Add testfile58.bz2.
2525	(TESTS): Add run-strip-groups.sh.
2526	(EXTRA_DIST): Likewise.
2527
25282011-03-28  Marek Polacek  <mpolacek@redhat.com>
2529
2530	* alldts.c: New file.
2531	* run-alldts.sh: Use it.
2532	* Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2533	(alldts_LDADD): New variable.
2534
25352011-03-02  Marek Polacek  <mpolacek@redhat.com>
2536
2537	* dwarf-getstring.c: New test.
2538	* run-dwarf-getstring.sh: And its wrapper.
2539	* Makefile.am (EXTRA_DIST): Add and update all.
2540
25412011-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2542
2543	* Makefile.am (TESTS): Add run-readelf-twofiles.sh.
2544	* run-readelf-twofiles.sh: New file.
2545
25462011-02-25  Mark Wielaard  <mjw@redhat.com>
2547
2548	* Makefile.am (BUILD_RPATH): Be consistent in naming.
2549
25502011-02-02  Josh Stone  <jistone@redhat.com>
2551
2552	* run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
2553	* testfile55-64.bz2, testfile55-64.debug.bz2,
2554	testfile55-64.prelink.bz2, testfile55-32.bz2,
2555	testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2556	* Makefile.am (EXTRA_DIST): Add and update all.
2557
25582011-01-12  Roland McGrath  <roland@redhat.com>
2559
2560	* run-prelink-addr-test.sh: Make symlinks to find .debug files
2561	corresponding to .noshdrs files.
2562
25632011-01-11  Josh Stone  <jistone@redhat.com>
2564
2565	* run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2566	* testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2567	testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2568	testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2569	testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2570	* Makefile.am (EXTRA_DIST): Add and update all.
2571
2572	* run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2573	* testfile53.bz2, testfile53.debug.bz2,
2574	testfile53.prelink.bz2: Deleted, so...
2575	* testfile53-64.bz2, testfile53-64.debug.bz2,
2576	testfile53-64.prelink.bz2: Recreated with 64-bit names.
2577	* testfile53-32.bz2, testfile53-32.debug.bz2,
2578	testfile53-32.prelink.bz2: New in 32-bit.
2579	* Makefile.am (EXTRA_DIST): Add and update all.
2580
2581	* run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2582	* testfile52.so.bz2, testfile52.so.debug.bz2,
2583	testfile52.prelink.so.bz2: Deleted, so...
2584	* testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2585	testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2586	* testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2587	* testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
2588	testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
2589	* Makefile.am (EXTRA_DIST): Add and update all.
2590
25912011-01-10  Josh Stone  <jistone@redhat.com>
2592
2593	* run-prelink-addr-test.sh: New test for prelinked addrs.
2594	* Makefile.am (TESTS, EXTRA_DIST): Add it.
2595	* testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2596	* testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2597	* testfile53.bz2, testfile53.debug.bz2: New data files.
2598	* testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2599	* Makefile.am (EXTRA_DIST): Add them.
2600
26012010-06-04  Roland McGrath  <roland@redhat.com>
2602
2603	* run-unstrip-test.sh: Also test modifying the file in place.
2604
26052010-04-22  Roland McGrath  <roland@redhat.com>
2606
2607	* addrcfi.c (handle_cfi): Fix function name in error message.
2608	Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2609
26102010-04-14  Roland McGrath  <roland@redhat.com>
2611
2612	* Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2613
26142010-04-10  Ulrich Drepper  <drepper@redhat.com>
2615
2616	* msg_tst.c: Adjust expected error message.
2617
26182010-04-01  Petr Machata  <pmachata@redhat.com>
2619
2620	* test-flag-nobits.c: New test.
2621	* run-test-flag-nobits.sh: And its wrapper.
2622	* Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2623	(test_flag_nobits_LDADD): New variable.
2624
26252010-02-15  Roland McGrath  <roland@redhat.com>
2626
2627	* Makefile.am: Use config/eu.am for common stuff.
2628
2629	* asm-tst9.c (main): Rename local to avoid shadowing another local.
2630
26312009-07-22  Roland McGrath  <roland@redhat.com>
2632
2633	* addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2634
26352009-07-08  Roland McGrath  <roland@redhat.com>
2636
2637	* addrcfi.c: New file.
2638	* Makefile.am (noinst_PROGRAMS): Add it.
2639	(addrcfi_LDADD): New variable.
2640
26412009-05-07  Petr Machata  <pmachata@redhat.com>
2642
2643	* testfile51.bz2: New data file.
2644	* dwarf-getmacros.c: New test core.
2645	* run-dwarf-getmacros.sh: New test wrapper.
2646	* Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2647	(dwarf_getmacros_LDADD): New variable.
2648
26492009-04-23  Ulrich Drepper  <drepper@redhat.com>
2650
2651	* Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2652	(rdwrmmap_LDADD): Add $(libmudflap).
2653
26542009-04-21  Roland McGrath  <roland@redhat.com>
2655
2656	* testfile50.bz2: New data file.
2657	* Makefile.am (EXTRA_DIST): Add it.
2658	* run-dwfl-addr-sect.sh: Add a case using it.
2659
26602008-12-31  Ulrich Drepper  <drepper@redhat.com>
2661
2662	* testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2663	mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2664	pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2665	pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2666	pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2667	pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2668	roundss, roundps, roundpd, and roundsd.
2669	* testfile45.S.bz2: Likewise.
2670	* testfile44.expect.bz2: Adjust accordingly.
2671	* testfile45.expect.bz2: Likewise.
2672
2673	* testfile44.S.bz2: Add tests for blendvpd and blendvps.
2674	* testfile45.S.bz2: Likewise.
2675	* testfile44.expect.bz2: Adjust accordingly.
2676	* testfile45.expect.bz2: Likewise.
2677
26782008-12-30  Ulrich Drepper  <drepper@redhat.com>
2679
2680	* testfile44.S.bz2: Add tests for blendpd and blendps.
2681	* testfile45.S.bz2: Likewise.
2682	* testfile44.expect.bz2: Adjust accordingly.
2683	* testfile45.expect.bz2: Likewise.
2684
26852008-12-19  Ulrich Drepper  <drepper@redhat.com>
2686
2687	* testfile44.S.bz2: Add tests for AMD 3DNOW.
2688	* testfile45.S.bz2: Likewise.
2689	* testfile44.expect.bz2: Adjust accordingly.
2690	* testfile45.expect.bz2: Likewise.
2691
26922008-11-26  Roland McGrath  <roland@redhat.com>
2693
2694	* dwfl-bug-getmodules.c: New file.
2695	* Makefile.am (noinst_PROGRAMS): Add it.
2696	(dwfl_bug_getmodules_LDADD): New variable.
2697
26982008-09-10  Roland McGrath  <roland@redhat.com>
2699
2700	* test-subr.sh (LC_ALL): Export it set to "C".
2701	* run-dwfl-addr-sect.sh: Don't do it here.
2702	* run-strings-test.sh: Likewise.
2703
27042008-08-21  Denys Vlasenko  <dvlasenk@redhat.com>
2705
2706	* run-addrname-test.sh: Add a new case.
2707	* testfile49.bz2: New data file.
2708	* Makefile.am (EXTRA_DIST): Add it.
2709
27102008-04-10  Roland McGrath  <roland@redhat.com>
2711
2712	* testfile48.bz2, testfile48.bz2.debug: New data files.
2713	* Makefile.am (EXTRA_DIST): Add them.
2714	* run-strip-test8.sh: Use them.
2715
2716	* testfile16.bz2, testfile16.debug.bz2: Replace data files.
2717
2718	* run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2719	* run-strip-test8.sh: New file.
2720	* testfile47.bz2: New data file.
2721	* Makefile.am (TESTS, EXTRA_DIST): Add them.
2722
27232008-03-31  Roland McGrath  <roland@redhat.com>
2724
2725	* run-early-offscn.sh: New file.
2726	* early-offscn.c: New file.
2727	* Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2728	(early_offscn_LDADD): New variable.
2729
27302008-03-19  Roland McGrath  <roland@redhat.com>
2731
2732	* run-addrname-test.sh: Add a new case.
2733
27342008-02-22  Roland McGrath  <roland@redhat.com>
2735
2736	* run-elflint-test.sh: Typo fix.
2737
27382008-02-21  Roland McGrath  <roland@redhat.com>
2739
2740	* run-disasm-x86.sh: Use uname instead of arch, keep tools required
2741	for the build down to minimum.
2742	* run-disasm-x86-64.sh: Likewise.
2743
27442008-02-20  Roland McGrath  <roland@redhat.com>
2745
2746	* testfile46.bz2: New data file.
2747	* Makefile.am (EXTRA_DIST): Add it.
2748	* run-elflint-test.sh: Test on it.
2749
27502008-02-01  Ulrich Drepper  <drepper@redhat.com>
2751
2752	* Makefile.am: Hook up sha1-tst.c.
2753	* sha1-tst.c: New file.
2754
27552008-01-21  Roland McGrath  <roland@redhat.com>
2756
2757	* testfile45.S.bz2: Add tests for cltq, cqto.
2758	* testfile45.expect.bz2: Adjust.
2759
27602008-01-14  Ulrich Drepper  <drepper@redhat.com>
2761
2762	* testfile45.S.bz2: Add more tests.
2763	* testfile45.expect.bz2: Adjust.
2764
27652008-01-11  Ulrich Drepper  <drepper@redhat.com>
2766
2767	* testfile45.expect.bz2: Adjust for adding of address for %rip based
2768	address mode.
2769
27702008-01-10  Ulrich Drepper  <drepper@redhat.com>
2771
2772	* testfile45.S.bz2: Add more tests.
2773	* testfile45.expect.bz2: Adjust.
2774
27752008-01-08  Ulrich Drepper  <drepper@redhat.com>
2776
2777	* Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2778	(EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2779	run-disasm-x86-64.sh.
2780	* run-disasm-x86-64.sh: New file.
2781	* testfile45.S.bz2: New file.
2782	* testfile45.expect.bz2: New file.
2783	* testfile44.S.bz2: New tests.
2784	* testfile44.expect.bz2: Adjust.
2785
27862008-01-04  Ulrich Drepper  <drepper@redhat.com>
2787
2788	* testfile44.S.bz2: New tests.
2789	* testfile44.expect.bz2: Adjust.
2790
27912008-01-04  Roland McGrath  <roland@redhat.com>
2792
2793	* dwfl-bug-fd-leak.c (main): Add a cast.
2794
27952008-01-03  Ulrich Drepper  <drepper@redhat.com>
2796
2797	* testfile44.S.bz2: New tests.
2798	* testfile44.expect.bz2: Adjust.
2799
28002008-01-01  Ulrich Drepper  <drepper@redhat.com>
2801
2802	* line2addr.c: Use %m modifier instead of %a to appease gcc.
2803
28042008-01-01  Ulrich Drepper  <drepper@redhat.com>
2805
2806	* testfile44.S.bz2: New tests.
2807	* testfile44.expect.bz2: Adjust.
2808
28092007-12-31  Ulrich Drepper  <drepper@redhat.com>
2810
2811	* testfile44.S.bz2: New tests.
2812	* testfile44.expect.bz2: Adjust.
2813
28142007-12-30  Ulrich Drepper  <drepper@redhat.com>
2815
2816	* testfile44.S.bz2: New tests.
2817	* testfile44.expect.bz2: Adjust.
2818
28192007-12-29  Ulrich Drepper  <drepper@redhat.com>
2820
2821	* testfile44.s.bz2: New tests.
2822	* testfile44.expect.bz2: Adjust.
2823
28242007-12-28  Ulrich Drepper  <drepper@redhat.com>
2825
2826	* testfile44.S.bz2: New tests.
2827	* testfile44.expect.bz2: Adjust.
2828
28292007-12-27  Ulrich Drepper  <drepper@redhat.com>
2830
2831	* testfile44.S.bz2: New tests.
2832	* testfile44.expect.bz2: Adjust.
2833
28342007-12-26  Ulrich Drepper  <drepper@redhat.com>
2835
2836	* testfile44.S.bz2: New tests.
2837	* testfile44.expect.bz2: Adjust
2838
28392007-12-21  Ulrich Drepper  <drepper@redhat.com>
2840
2841	* testfile44.S.bz2: More tests.
2842	* testfile44.expect.bz2: Adjust appropriately.
2843
28442007-12-19  Ulrich Drepper  <drepper@redhat.com>
2845
2846	* Makefile.am (TESTS): Add run-disasm.sh.
2847	(EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2848	testfile44.expect.bz2.
2849	* run-disasm.sh: New file.
2850	* testfile44.S.bz2: New file.
2851	* testfile44.expect.bz2: New file.
2852
28532007-12-15  Roland McGrath  <roland@redhat.com>
2854
2855	* run-allregs.sh: Change expected output for powerpc spefscr.
2856
28572007-10-20  Roland McGrath  <roland@redhat.com>
2858
2859	* run-dwfl-addr-sect.sh: Change expected output, no errors.
2860
28612007-10-19  Roland McGrath  <roland@redhat.com>
2862
2863	* dwfl-addr-sect.c (handle_address): Return int.
2864	Don't exit on error, just return nonzero.
2865	(main): Collect results.
2866	* run-dwfl-addr-sect.sh: New file.
2867	* testfile43.bz2: New data file.
2868	* Makefile.am (EXTRA_DIST, TESTS): Add them.
2869
28702007-10-18  Roland McGrath  <roland@redhat.com>
2871
2872	* run-allregs.sh: Update expected ppc output for vrsave/vscr.
2873
28742007-10-16  Roland McGrath  <roland@redhat.com>
2875
2876	* test-subr.sh (remove_files): Don't pass -Bb to diff.
2877
28782007-10-09  Roland McGrath  <roland@redhat.com>
2879
2880	* dwflmodtest.c (print_module): Don't use %p in output.
2881	* run-dwfl-bug-offline-rel.sh: Updated expected output.
2882
28832007-10-08  Roland McGrath  <roland@redhat.com>
2884
2885	* testfile42.bz2: New data file.
2886	* Makefile.am (EXTRA_DIST): Add it.
2887	* run-elflint-test.sh: New test on that file.
2888
28892007-10-04  Roland McGrath  <roland@redhat.com>
2890
2891	* run-readelf-test4.sh: New file.
2892	* Makefile.am (TESTS, EXTRA_DIST): Add it.
2893
28942007-10-03  Roland McGrath  <roland@redhat.com>
2895
2896	* run-readelf-test3.sh: New file.
2897	* Makefile.am (TESTS, EXTRA_DIST): Add it.
2898
28992007-10-01  Roland McGrath  <roland@redhat.com>
2900
2901	* run-readelf-test2.sh: New file.
2902	* Makefile.am (TESTS, EXTRA_DIST): Add it.
2903
29042007-09-11  Roland McGrath  <roland@redhat.com>
2905
2906	* run-addrname-test.sh: Add a new case.
2907	* testfile41.bz2: New data file.
2908	* Makefile.am (EXTRA_DIST): Add it.
2909
29102007-08-23  Roland McGrath  <roland@redhat.com>
2911
2912	* run-allregs.sh: Update expected x86-64 output for %rflags.
2913
29142007-08-12  Roland McGrath  <roland@redhat.com>
2915
2916	* run-strip-test7.sh: New file.
2917	* testfile39.bz2: New data file.
2918	* testfile40.bz2: New data file.
2919	* testfile40.debug.bz2: New data file.
2920	* Makefile.am (TESTS, EXTRA_DIST): Add them.
2921
29222007-08-09  Roland McGrath  <roland@redhat.com>
2923
2924	* dwfl-bug-report.c: Fix header inclusion.
2925
29262007-08-08  Roland McGrath  <roland@redhat.com>
2927
2928	* run-addrname-test.sh: Add a new case using addr2line -S.
2929	* testfile38.bz2: New data file.
2930	* Makefile.am (EXTRA_DIST): Add it.
2931
29322007-07-16  Roland McGrath  <roland@redhat.com>
2933
2934	* dwfl-bug-report.c: New file.
2935	* Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2936	(dwfl_bug_report_LDADD): New variable.
2937
29382007-06-06  Roland McGrath  <roland@redhat.com>
2939
2940	* run-unstrip-test.sh: Declare testfile.unstrip for removal.
2941
29422007-06-05  Ulrich Drepper  <drepper@redhat.com>
2943
2944	* Makefile.am (EXTRA_DIST): Add missing line continuation and
2945	testfile37.bz and testfile37.debug.bz2.
2946
29472007-05-23  Roland McGrath  <roland@redhat.com>
2948
2949	* run-allregs.sh: Update expected Alpha results.
2950
29512007-05-18  Roland McGrath  <roland@redhat.com>
2952
2953	* run-strip-test4.sh (stripped, debugfile): Use new reference files.
2954	* testfile37.bz2: New data file.
2955	* testfile37.debug.bz2: New data file.
2956	* run-unstrip-test2.sh: New file.
2957	* Makefile.am (TESTS, EXTRA_DIST): Add them.
2958
29592007-05-10  Roland McGrath  <roland@redhat.com>
2960
2961	* run-dwfl-bug-offline-rel.sh: New file.
2962	* testfile36.bz2: New data file.
2963	* testfile36.debug.bz2: New data file.
2964	* Makefile.am (TESTS, EXTRA_DIST): Add them.
2965
29662007-04-28  Roland McGrath  <roland@redhat.com>
2967
2968	* run-strip-test6.sh (stripped, debugfile): Use new reference files.
2969	* testfile35.bz2: New data file.
2970	* testfile35.debug.bz2: New data file.
2971	* run-unstrip-test.sh: New file.
2972	* Makefile.am (TESTS, EXTRA_DIST): Add them.
2973
2974	* run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2975
29762007-04-26  Roland McGrath  <roland@redhat.com>
2977
2978	* run-elflint-self.sh: Run all tests even if one fails.
2979
2980	* run-allregs.sh: Add expected output for alpha.
2981
29822007-04-24  Roland McGrath  <roland@redhat.com>
2983
2984	* run-strip-test.sh: When we saved the debug info, test unstrip too.
2985
29862007-04-22  Roland McGrath  <roland@redhat.com>
2987
2988	* run-allregs.sh: Update expected register info.
2989
29902007-04-16  Roland McGrath  <roland@redhat.com>
2991
2992	* dwfl-addr-sect.c: New file.
2993	* Makefile.am (noinst_PROGRAMS): Add it.
2994	(dwfl_addr_sect_LDADD): New variable.
2995
29962007-04-05  Roland McGrath  <roland@redhat.com>
2997
2998	* get-files.c: Test dwarf_getsrcdirs.
2999	* run-get-files.sh: Update expected output.
3000
30012007-04-01  Roland McGrath  <roland@redhat.com>
3002
3003	* run-allregs.sh: Updated expected output for x86_64.
3004
30052007-03-04  Roland McGrath  <roland@redhat.com>
3006
3007	* dwfl-bug-fd-leak.c: New file.
3008	* Makefile.am (noinst_PROGRAMS, TESTS): Add it.
3009	(dwfl_bug_fd_leak_LDADD): New variable.
3010
3011	* dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
3012	show what files have been located.
3013
30142007-02-02  Roland McGrath  <roland@redhat.com>
3015
3016	* run-addrname-test.sh: New file.
3017	* Makefile.am (TESTS, EXTRA_DIST): Add it.
3018	* testfile34.bz2: New data file.
3019	* Makefile.am (EXTRA_DIST): Add it.
3020
30212007-01-20  Roland McGrath  <roland@redhat.com>
3022
3023	* testfile33.bz2: New data file.
3024	* Makefile.am (EXTRA_DIST): Add it.
3025	* run-elflint-test.sh: Test on it too.
3026
30272007-01-18  Roland McGrath  <roland@redhat.com>
3028
3029	* Makefile.am (CFLAGS): Don't molest it.
3030
30312007-01-11  Roland McGrath  <roland@redhat.com>
3032
3033	* testfile32.bz2: New data file.
3034	* Makefile.am (EXTRA_DIST): Add it.
3035	* run-elflint-test.sh: Test on it too.
3036
30372007-02-04  Ulrich Drepper  <drepper@redhat.com>
3038
3039	* arls.c: New file.
3040	* Makefile (noinst_PROGRAMS): Add arls.
3041
3042	* run-ranlib-test2.sh: Fix type in comment.
3043
30442007-01-10  Ulrich Drepper  <drepper@redhat.com>
3045
3046	* run-elflint-self.sh (runtest): Show which file has the problem.
3047
30482007-01-10  Roland McGrath  <roland@redhat.com>
3049
3050	* dwfl-bug-addr-overflow.c: New file.
3051	* Makefile.am (TESTS): Add it.
3052	(dwfl_bug_addr_overflow_LDADD): New variable.
3053
30542006-12-17  Roland McGrath  <roland@redhat.com>
3055
3056	* msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
3057
30582006-09-05  Roland McGrath  <roland@redhat.com>
3059
3060	* run-strings-test.sh: Export LC_ALL=C for the test.
3061
30622006-08-29  Roland McGrath  <roland@redhat.com>
3063
3064	* run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
3065	* run-arsymtest.sh: Likewise.
3066
3067	* run-native-test.sh (native.c compilation): Add some braces.
3068
30692006-08-22  Roland McGrath  <roland@redhat.com>
3070
3071	* allregs.c (dwarf_encoding_string): New function, swiped from readelf.
3072	(struct reginfo): New members bits, type.
3073	(one_register, match_register): Update to take new args,
3074	record and display new info.
3075	(main): Display new info.
3076	* run-allregs.sh: Update expected results.
3077
30782006-08-03  Roland McGrath  <roland@redhat.com>
3079
3080	* run-allregs.sh: Add sparc cases.
3081	* testfile30.bz2: New data file.
3082	* testfile31.bz2: New data file.
3083	* Makefile.am (EXTRA_DIST): Add them.
3084
30852006-07-21  Roland McGrath  <roland@redhat.com>
3086
3087	* allregs.c (struct reginfo): Increase size of name.
3088	(one_register): Assert that it's big enough.
3089
30902006-04-04  Roland McGrath  <roland@redhat.com>
3091
3092	* run-bug1-test.sh: Test a second case, to cover both byte orders.
3093	* testfile29.bz2: New file.
3094	* testfile29.rdwr.bz2: New file.
3095	* Makefile.am (EXTRA_DIST): Add them.
3096
30972006-04-04  Ulrich Drepper  <drepper@redhat.com>
3098
3099	* Makefile.am: Add rules to run run-bug1-test.sh.
3100	* rdwrmmap.c: New file.
3101	* run-bug1-test.sh: New file.
3102	* testfile28.bz2: New file.
3103	* testfile28.rdwr.bz2: New file.
3104
31052006-03-09  Roland McGrath  <roland@redhat.com>
3106
3107	* Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
3108
31092006-03-01  Roland McGrath  <roland@redhat.com>
3110
3111	* show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
3112	changes matching 3.0 spec.
3113
31142006-01-13  Roland McGrath  <roland@redhat.com>
3115
3116	* run-native-test.sh: Do kill -9 and reap explicitly at end, since
3117	bash 3.1 whines when it's done in the trap 0 handler.
3118
31192006-01-11  Roland McGrath  <roland@redhat.com>
3120
3121	* testfile26.bz2: New data file.
3122	* testfile27.bz2: New data file.
3123	* Makefile.am (EXTRA_DIST): Add them.
3124	* run-allregs.sh: Test s390 data.
3125
31262005-12-14  Roland McGrath  <roland@redhat.com>
3127
3128	* run-native-test.sh: Redirect output from native test process.
3129
31302005-12-13  Roland McGrath  <roland@redhat.com>
3131
3132	* allregs.c (main): Fail if we find no registers.
3133
3134	* run-native-test.sh: New file.
3135	* Makefile.am (TESTS, EXTRA_DIST): Add it.
3136
31372005-12-10  Ulrich Drepper  <drepper@redhat.com
3138
3139	* run-readelf-test1.sh: New file.
3140	* Makefile.am (TESTS): Add run-readelf-test1.sh.
3141	(EXTRA_DIST): Likewise.
3142
31432005-12-07  Roland McGrath  <roland@redhat.com>
3144
3145	* ecp.c (main): Use elf_end to clean up.
3146
31472005-11-25  Roland McGrath  <roland@redhat.com>
3148
3149	* coverage.sh: Given -v argument, print names of unused files.
3150
3151	* addrscopes.c (main): Use dwfl_end before return.
3152	* allregs.c (main): Likewise.
3153	* find-prologues.c (main): Likewise.
3154	* funcretval.c (main): Likewise.
3155	* funcscopes.c (main): Likewise.
3156	* line2addr.c (main): Likewise.
3157
3158	* run-allregs.sh: New file.
3159	* Makefile.am (TESTS, EXTRA_DIST): Add it.
3160
3161	* allregs.c: Use libdwfl wrapper instead of direct libebl calls.
3162	* Makefile.am (allregs_LDADD): Updated.
3163
3164	* allregs.c: New file.
3165	* Makefile.am (noinst_PROGRAMS): Add it.
3166	(allregs_LDADD): New variable.
3167
31682005-11-18  Roland McGrath  <roland@redhat.com>
3169
3170	* test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
3171	* test-wrapper.sh: Likewise.
3172
31732005-11-17  Roland McGrath  <roland@redhat.com>
3174
3175	* Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
3176	environment for test-wrapper.sh.
3177	* test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
3178	* test-subr.sh (installed_testrun): Likewise.
3179	Use explicit path in ${bindir}.
3180
3181	* Makefile.am (installcheck-local): Fix typo in last change.
3182
31832005-11-16  Roland McGrath  <roland@redhat.com>
3184
3185	* configure.ac: New file, for standalone build/dist of test suite.
3186	* Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
3187	(asm_TESTS): New variable, broken out of ...
3188	(TESTS): ... here.  Also remove msg_tst.
3189	[!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
3190	(installed_TESTS_ENVIRONMENT): New variable.
3191	[STANDALONE] (TESTS_ENVIRONMENT): Use that.
3192	[!STANDALONE] (installcheck-local): Likewise.
3193	[STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
3194	* addrscopes.c: Include <config.h>.
3195	Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
3196	* allfcts.c: Likewise.
3197	* asm-tst1.c: Likewise.
3198	* asm-tst2.c: Likewise.
3199	* asm-tst3.c: Likewise.
3200	* asm-tst4.c: Likewise.
3201	* asm-tst5.c: Likewise.
3202	* asm-tst6.c: Likewise.
3203	* asm-tst7.c: Likewise.
3204	* asm-tst8.c: Likewise.
3205	* asm-tst9.c: Likewise.
3206	* dwflmodtest.c: Likewise.
3207	* find-prologues.c: Likewise.
3208	* funcscopes.c: Likewise.
3209	* get-aranges.c: Likewise.
3210	* get-files.c: Likewise.
3211	* get-lines.c: Likewise.
3212	* get-pubnames.c: Likewise.
3213	* line2addr.c: Likewise.
3214	* newscn.c: Likewise.
3215	* show-abbrev.c: Likewise.
3216	* show-die-info.c: Likewise.
3217	* update3.c: Likewise.
3218	* update4.c: Likewise.
3219	* funcretval.c: Likewise.
3220
3221	* dwflmodtest.c (print_instance): Don't use INTUSE.
3222	(options): Don't use N_ macro.
3223
32242005-11-15  Roland McGrath  <roland@redhat.com>
3225
3226	* coverage.sh: Look in backends.
3227	* Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
3228	(TESTS_ENVIRONMENT): Likewise.
3229
3230	* funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
3231	pass FUNCDIE direclty to dwfl_module_return_value_location.
3232
3233	* Makefile.am (BUILD_RPATH): New variable.
3234	[TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
3235	(tests_rpath): New variable.
3236	(installcheck-local): Pass it to test-wrapper.sh.
3237	* test-wrapper.sh: In "installed" format, take yes/no value
3238	for elfutils_tests_rpath, which export.  When running a test
3239	binary for installcheck, exit 77.
3240	* test-subr.sh (installed_testrun): When running a test binary
3241	for installcheck, exit 77 if $elfutils_tests_rpath = yes.
3242
32432005-11-14  Roland McGrath  <roland@redhat.com>
3244
3245	* test-subr.sh: New file.
3246	* test-wrapper.sh: New file.
3247	* Makefile.am (EXTRA_DIST): Add them.
3248	(AM_LDFLAGS): Variable removed.
3249	(TESTS_ENVIRONMENT): New variable.
3250	(installcheck-local): New target.
3251	* run-addrscopes.sh: Use test-subr.sh.
3252	* run-allfcts.sh: Likewise.
3253	* run-ecp-test.sh: Likewise.
3254	* run-ecp-test2.sh: Likewise.
3255	* run-elflint-self.sh: Likewise.
3256	* run-elflint-test.sh: Likewise.
3257	* run-find-prologues.sh: Likewise.
3258	* run-funcscopes.sh: Likewise.
3259	* run-get-aranges.sh: Likewise.
3260	* run-get-files.sh: Likewise.
3261	* run-get-lines.sh: Likewise.
3262	* run-get-pubnames.sh: Likewise.
3263	* run-line2addr.sh: Likewise.
3264	* run-ranlib-test.sh: Likewise.
3265	* run-ranlib-test2.sh: Likewise.
3266	* run-show-abbrev.sh: Likewise.
3267	* run-show-ciefde.sh: Likewise.
3268	* run-show-die-info.sh: Likewise.
3269	* run-strings-test.sh: Likewise.
3270	* run-strip-test.sh: Likewise.
3271
32722005-11-13  Roland McGrath  <roland@redhat.com>
3273
3274	* funcretval.c: New file.
3275	* Makefile.am (noinst_PROGRAMS): Add it.
3276	(funcretval_LDADD): New variable.
3277
32782005-11-09  Ulrich Drepper  <drepper@redhat.com>
3279
3280	* line2addr.c (handle_module): Add missing parameter to printf.
3281
32822005-10-27  Roland McGrath  <roland@redhat.com>
3283
3284	* allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
3285	* funcscopes.c (handle_function): Likewise.
3286	* dwflmodtest.c (print_inline, print_func): Likewise.
3287	* find-prologues.c (handle_function): Likewise.
3288
32892005-10-27  Roland McGrath  <roland@redhat.com>
3290
3291	* run-find-prologues.sh: New file.
3292	* Makefile.am (TESTS, EXTRA_DIST): Add it.
3293
3294	* find-prologues.c (handle_function): Skip inlines.
3295
32962005-10-25  Roland McGrath  <roland@redhat.com>
3297
3298	* find-prologues.c: New file.
3299	* Makefile.am (noinst_PROGRAMS): Add it.
3300	(find_prologues_LDADD): New variable.
3301
33022005-09-02  Ulrich Drepper  <drepper@redhat.com>
3303
3304	* run-strings-test.sh: Remove strings.out in the end.
3305
33062005-08-31  Ulrich Drepper  <drepper@redhat.com>
3307
3308	* run-addrscopes.sh: Use correct exit code if test cannot be performed.
3309	* run-allfcts.sh: Likewise.
3310	* run-ecp-test.sh: Likewise.
3311	* run-ecp-test2.sh: Likewise.
3312	* run-elflint-test.sh: Likewise.
3313	* run-funcscopes.sh: Likewise.
3314	* run-get-aranges.sh: Likewise.
3315	* run-get-files.sh: Likewise.
3316	* run-get-lines.sh: Likewise.
3317	* run-get-pubnames.sh: Likewise.
3318	* run-line2addr.sh: Likewise.
3319	* run-ranlib-test2.sh: Likewise.
3320	* run-show-abbrev.sh: Likewise.
3321	* run-show-ciefde.sh: Likewise.
3322	* run-show-die-info.sh: Likewise.
3323	* run-strings-test.sh: Likewise.
3324	* run-strip-test.sh: Likewise.
3325
33262005-08-30  Ulrich Drepper  <drepper@redhat.com>
3327
3328	* coverage.sh: Handle case where there is no .gcno file at all.
3329
33302005-08-29  Ulrich Drepper  <drepper@redhat.com>
3331
3332	* Makefile.am (EXTRA_DIST): Add coverage.
3333	[GCOV]: Generate coverage summary after the tests ran
3334	* coverage.sh: New file.
3335
33362005-08-28  Ulrich Drepper  <drepper@redhat.com>
3337
3338	* Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
3339	(CLEANFILES): Add *.gcno *.gcda *.gconv.
3340
33412005-08-28  Ulrich Drepper  <drepper@redhat.com>
3342
3343	* run-strings-test.sh: New file.
3344	* Makefile.am (TESTS, EXTRA_DIST): Add it.
3345
33462005-08-27  Roland McGrath  <roland@redhat.com>
3347
3348	* addrscopes.c (handle_address): Apply bias to PC addresses.
3349
3350	* run-funcscopes.sh: New file.
3351	* testfile25.bz2: New data file.
3352	* Makefile.am (TESTS, EXTRA_DIST): Add them.
3353
33542005-08-26  Roland McGrath  <roland@redhat.com>
3355
3356	* addrscopes.c (dwarf_diename_integrate): Removed.
3357	(print_vars, handle_address): Use plain dwarf_diename.
3358
33592005-08-25  Roland McGrath  <roland@redhat.com>
3360
3361	* funcscopes.c: New file.
3362	* Makefile.am (noinst_PROGRAMS): Add it.
3363	(funcscopes_LDADD): New variable.
3364
3365	* run-addrscopes.sh: Add another case.
3366	* testfile24.bz2: New data file.
3367	* Makefile.am (EXTRA_DIST): Add it.
3368
3369	* addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
3370	pass it to dwarf_getscopes.
3371	(main): Pass it, true when '=' follows an address.
3372
33732005-08-24  Roland McGrath  <roland@redhat.com>
3374
3375	* line2addr.c (print_address): Omit () for DSOs.
3376
33772005-08-24  Ulrich Drepper  <drepper@redhat.com>
3378
3379	* run-line2addr.sh: Remove testfile23 in the end.
3380
3381	* Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
3382	[MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
3383
33842005-08-22  Roland McGrath  <roland@redhat.com>
3385
3386	* run-line2addr.sh: Add a case.
3387	* testfile23.bz2: New data file.
3388	* Makefile.am (EXTRA_DIST): Add it.
3389
33902005-08-18  Roland McGrath  <roland@redhat.com>
3391
3392	* run-addrscopes.sh: New file.
3393	* testfile22.bz2: New data file.
3394	* Makefile.am (TESTS, EXTRA_DIST): Add them.
3395
3396	* addrscopes.c: New file.
3397	* Makefile.am (noinst_PROGRAMS): Add it.
3398	(addrscopes_LDADD): New variable.
3399
34002005-08-15  Ulrich Drepper  <drepper@redhat.com>
3401
3402	* run-elflint-self.sh: Don't run test if the file doesn't exist.
3403
34042005-08-15  Roland McGrath  <roland@redhat.com>
3405
3406	* dwflmodtest.c (print_instance, print_inline): New functions.
3407	(print_func): Call print_inline.
3408	(options, parse_opt): Grok -i/--inlines.
3409
34102005-08-07  Roland McGrath  <roland@redhat.com>
3411
3412	* dwflmodtest.c: Print function details only if -f flag is given.
3413
34142005-08-06  Ulrich Drepper  <drepper@redhat.com>
3415
3416	* run-elflint-self.sh: New file.
3417	* Makefile.am (TESTS): Add run-elflint-self.sh.
3418	(EXTRA_DIST): Likewise.
3419
3420	* Makefile.am: Link with statis libs if BUILD_STATIC.
3421	(dwflmodtest_LDADD): Also link with -ldl.
3422
34232005-08-02  Ulrich Drepper  <drepper@redhat.com>
3424
3425	* Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
3426	* asm-tst1.c: Adjust for new asm_begin interface.  Open backend
3427	library first.
3428	* asm-tst2.c: Likewise.
3429	* asm-tst3.c: Likewise.
3430	* asm-tst4.c: Likewise.
3431	* asm-tst5.c: Likewise.
3432	* asm-tst6.c: Likewise.
3433	* asm-tst7.c: Likewise.
3434	* asm-tst8.c: Likewise.
3435	* asm-tst9.c: Likewise.
3436
3437	* msg_tst.c: Add new error message.
3438
34392005-07-28  Ulrich Drepper  <drepper@redhat.com>
3440
3441	* Makefile.am (dwflmodtest_LDADD): Add $(libebl).
3442
34432005-06-01  Roland McGrath  <roland@redhat.com>
3444
3445	* line2addr.c: Rewritten using libdwfl.
3446	* run-line2addr.sh: Update test for changed arguments.
3447	* Makefile.am (INCLUDES): Add libdwfl source directory to path.
3448	(libdwfl): New variable.
3449	(line2addr_LDADD): Use it.
3450
34512005-07-28  Roland McGrath  <roland@redhat.com>
3452
3453	* dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
3454	* Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
3455	(dwflmodtest_LDADD): New variable.
3456	(INCLUDES): Add -I$(top_srcdir)/libdwfl here.
3457
34582005-07-21  Ulrich Drepper  <drepper@redhat.com>
3459
3460	* testfile18.bz2: New file.
3461	* run-elflint-test.sh: New file.
3462	* Makefile.am (TESTS): Add run-elflint-test.sh.
3463	(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
3464
34652005-05-24  Ulrich Drepper  <drepper@redhat.com>
3466
3467	* get-files.c (main): Use correct format specifier.
3468
34692005-05-21  Ulrich Drepper  <drepper@redhat.com>
3470
3471	* Makefile.am: Add -Wextra to CFLAGS.
3472	* get-files.c: Remove warning this produced.
3473	* get-pubnames.c: Likewise.
3474	* newfile.c: Likewise.
3475	* newscn.c: Likewise.
3476	* scnnames.c: Likewise.
3477	* showptable.c: Likewise.
3478	* test-nlist.c: Likewise.
3479	* update1.c: Likewise.
3480	* update2.c: Likewise.
3481	* update3.c: Likewise.
3482	* update4.c: Likewise.
3483
34842005-05-08  Ulrich Drepper  <drepper@redhat.com>
3485
3486	* run-line2addr.sh: Remove testfile14 at the end.
3487
3488	* run-strip-test.sh: Remove debuginfo test input file as well.
3489
3490	* Makefile.am (EXTRA_DIST): Newly added files incorrectly used
3491	.bz, not .bz2.
3492
34932005-05-03  Roland McGrath  <roland@redhat.com>
3494
3495	* run-strip-test.sh: Use variables for test file names.
3496	Optionally produce separate debug file and check it.
3497	* run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
3498	* run-strip-test3.sh: Likewise.
3499	* run-strip-test4.sh: New file.
3500	* run-strip-test5.sh: New file.
3501	* run-strip-test6.sh: New file.
3502	* testfile15.bz: New file.
3503	* testfile15.debug.bz: New file.
3504	* testfile16.bz: New file.
3505	* testfile16.debug.bz: New file.
3506	* testfile17.bz: New file.
3507	* testfile17.debug.bz: New file.
3508	* Makefile.am (TESTS, EXTRA_DIST): Add them.
3509
35102005-04-25  Ulrich Drepper  <drepper@redhat.com>
3511
3512	* run-line2addr.sh: Also use testfile14.  Adjust for correct
3513	return of multiple matches.
3514	* testfile14.bz2: New file.
3515	* Makefile.am (EXTRA_DIST): Add testfile14.bz2.
3516
3517	* show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
3518
35192005-04-04  Roland McGrath  <roland@redhat.com>
3520
3521	* line2addr.c (main): Initialize LINES and NLINES before calling
3522	dwarf_getsrc_file, and free LINES afterwards.
3523
3524	* allfcts.c (main): Use size_t for CUHL.
3525
35262005-04-04  Ulrich Drepper  <drepper@redhat.com>
3527
3528	* line2addr.c: New file.
3529	* run-line2addr.sh: New file.
3530	* Makefile.am: Add rules to build, run, and distribute new code.
3531
35322005-04-02  Ulrich Drepper  <drepper@redhat.com>
3533
3534	* allfcts.c: New file.
3535	* run-allfcts.sh: New file.
3536	* Makefile.am: Add rules to build, run, and distribute new code.
3537
35382005-02-05  Ulrich Drepper  <drepper@redhat.com>
3539
3540	* Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.  Link all test
3541	programs with -lmudflap.
3542
35432004-09-25  Ulrich Drepper  <drepper@redhat.com>
3544
3545	* asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
3546	* asm-tst5.c (main): Likewise.
3547	* asm-tst6.c (main): Likewise.
3548
35492004-01-17  Ulrich Drepper  <drepper@redhat.com>
3550
3551	* Makefile.am: Support building with mudflap.
3552
35532004-01-12  Ulrich Drepper  <drepper@redhat.com>
3554
3555	* get-aranges.c: Rewrite to use libdw.
3556	* Makefile.am: Reenable get-aranges test.
3557
35582004-01-11  Ulrich Drepper  <drepper@redhat.com>
3559
3560	* get-lines.c: New file.
3561	* get-files.c: Adjust for libdw.
3562	* run-get-files.sh: Adjust expected result.
3563	* run-get-lines.sh: Likewise.
3564	* Makefile.am: Run get-lines test.  Don't run get-aranges and
3565	get-ciefde test for now.
3566
3567	* show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3568	change.  Print attribute offset information.
3569	* run-show-abbrev.sh: Adjust expected output.
3570
35712004-01-09  Ulrich Drepper  <drepper@redhat.com>
3572
3573	* show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3574	* show-die-info.c: Likewise.
3575	* run-show-die-info.sh: Adjust expected output.
3576
35772003-08-13  Ulrich Drepper  <drepper@redhat.com>
3578
3579	* Makefile.in: Depend on libebl.a, not libebl.so.
3580
35812003-08-11  Ulrich Drepper  <drepper@redhat.com>
3582
3583	* Moved to CVS archive.
3584