blob: 0d91c3b2ccff1a4ce1d7d5263ce906c70182a42d [file] [log] [blame]
Jan Kratochvilc6a41482013-12-17 18:49:54 +010012013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Mark Wielaard159ac522013-12-18 11:05:54 +01002 Mark Wielaard <mjw@redhat.com>
3
4 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
5 and testfilebaz*ppc64*.bz2 files.
6 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
7 error on dwfl_module_getsymtab error.
8 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
9 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
10 Also print section of actual value if different from sym.
11 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
12 Test addr2line -x by showing different sections for address and
13 found name in testfile66.
14 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
15 testfilebaz*ppc64): New tests.
16 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
17 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
18 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
19 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
20 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
21 testfilebaztabppc64.bz2: New test files.
22
232013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvilc6a41482013-12-17 18:49:54 +010024
25 unwinder: s390 and s390x
26 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
27 run-backtrace-core-s390.sh.
28 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
29 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
30 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
31 * backtrace.s390.core.bz2: New file.
32 * backtrace.s390.exec.bz2: New file.
33 * backtrace.s390x.core.bz2: New file.
34 * backtrace.s390x.exec.bz2: New file.
35 * run-backtrace-core-s390.sh: New file.
36 * run-backtrace-core-s390x.sh: New file.
37
Jan Kratochvilb3c810f2013-12-17 21:11:48 +0100382013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
39
40 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
41 code.
42
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +0100432013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
44
45 unwinder: ppc
46 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
47 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
48 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
49 * backtrace.ppc.core.bz2: New file.
50 * backtrace.ppc.exec.bz2: New file.
51 * run-backtrace-core-ppc.sh: New file.
52
Mark Wielaard7fc49292013-12-13 22:42:46 +0100532013-12-10 Mark Wielaard <mjw@redhat.com>
54
Mark Wielaard63572f42013-12-13 23:12:18 +010055 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
56
572013-12-10 Mark Wielaard <mjw@redhat.com>
58
Mark Wielaard7fc49292013-12-13 22:42:46 +010059 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
60 * backtrace-subr.sh (check_native_core): Disable valgrind while
61 dumping core.
62 * run-backtrace-data.sh: Disable valgrind.
63 * run-backtrace-dwarf.sh: Likewise.
64
Mark Wielaard3951f2e2013-12-09 16:33:26 +0100652013-12-09 Mark Wielaard <mjw@redhat.com>
66
67 * varlocs.c (print_expr): Update comment to explain empty location
68 associated with DW_OP_GNU_implicit_pointer.
69
Jan Kratochvilf88863f2013-12-05 16:16:14 +0100702013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
71
72 Fix test FAIL with -O2.
73 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
74
Mark Wielaard813aae02013-12-05 15:26:51 +0100752013-12-05 Mark Wielaard <mjw@redhat.com>
76
77 * backtrace-data.c (main): If unsupported also print to stderr.
78 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
79
Mark Wielaard1bfab192013-12-04 20:55:23 +0100802013-12-04 Mark Wielaard <mjw@redhat.com>
81
82 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
83
Jan Kratochvil8ae9bc92013-12-02 20:54:28 +0100842013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
85
86 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
87 backtrace-data and backtrace-dwarf.
88 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
89 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
90 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
91 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
92 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
93 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
94 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
95 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
96 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
97 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
98 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
99 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
100 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
101 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
102 New.
103 * backtrace-child.c: New file.
104 * backtrace-data.c: New file.
105 * backtrace-dwarf.c: New file.
106 * backtrace-subr.sh: New file.
107 * backtrace.c: New file.
108 * cleanup-13.c: New file.
109 * backtrace.i386.core.bz2: New file.
110 * backtrace.i386.exec.bz2: New file.
111 * backtrace.x86_64.core.bz2: New file.
112 * backtrace.x86_64.exec.bz2: New file.
113 * run-backtrace-core-i386.sh: New file.
114 * run-backtrace-core-x86_64.sh: New file.
115 * run-backtrace-native-biarch.sh: New file.
116 * run-backtrace-native-core-biarch.sh: New file.
117 * run-backtrace-native-core.sh: New file.
118 * run-backtrace-native.sh: New file.
119 * run-backtrace-data.sh: New file.
120 * run-backtrace-dwarf.sh: New file.
121
Mark Wielaard819c3492013-11-27 16:45:44 +01001222013-11-27 Mark Wielaard <mjw@redhat.com>
123
124 * dwflsyms.c (gelf_bind_order): New function.
125 (elf_section_name): Likewise.
126 (addr_in_section): Likewise.
127 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
128 Refine assert using gelf_bind_order. Print elf_section_name. Check
129 bias with addr_in_section.
130 * run-dwflsyms.sh: Add section names to expected output.
131
Mark Wielaard0d5a8672013-11-26 10:44:18 +01001322013-11-26 Mark Wielaard <mjw@redhat.com>
133
134 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
135
Petr Machata98c8a732013-11-26 03:10:31 +01001362013-11-25 Petr Machata <pmachata@redhat.com>
137
138 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
139 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
140 * Makefile.am (EXTRA_DIST): Add these.
141 (TESTS): Add run-funcretval.sh.
142 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
143 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
144 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
145 * run-funcretval.sh: New file.
146
Josh Stonedb35c872013-11-18 14:29:35 -08001472013-11-18 Josh Stone <jistone@redhat.com>
148
149 * testfilebazdbg_plr.bz2: New testfile.
150 * testfilebazmin_plr.bz2: Likewise.
151 * Makefile.am (EXTRA_DIST): Add the above files.
152 * run-dwflsyms.sh: Add prelink -r tests.
153
Mark Wielaard68ce4fc2013-11-16 00:11:38 +01001542013-11-15 Mark Wielaard <mjw@redhat.com>
155
156 * testfilebazmdb.bz2: Regenerated.
157 * testfilebazmin.bz2: Likewise.
158 * testfilebazdbg_pl.bz2: New testfile.
159 * testfilebazmin_pl.bz2: Likewise.
160 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
161 testfilebazmin_pl.bz2.
162 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
163 print relative address of function symbols.
164 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
165
Michael Forneya45c8042013-11-01 00:51:04 -07001662013-11-01 Michael Forney <mforney@mforney.org>
167
168 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
169 * run-arsymtest.sh: Use NM.
170
Mark Wielaardd8c75df2013-11-05 11:27:19 +01001712013-11-05 Mark Wielaard <mjw@redhat.com>
172
173 * allfcts.c (main): Correct dwarf_getfuncs return value check.
174
Mark Wielaarde6a9bb82013-10-10 11:40:12 +02001752013-10-10 Mark Wielaard <mjw@redhat.com>
176 Josh Stone <jistone@redhat.com>
177
178 * run-allfcts-multi.sh: New test.
179 * test-offset-loop.bz2: New testfile.
180 * test-offset-loop.alt.bz2: New testfile.
181 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
182 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
183 test-offset-loop.alt.bz2.
184
Mark Wielaardd1829742013-10-15 23:53:32 +02001852013-10-15 Mark Wielaard <mjw@redhat.com>
186
187 * run-unstrip-M.sh: New test.
188 * Makefile.am (TESTS): Add run-unstrip-M.sh.
189 (EXTRA_DIST): Likewise.
190
Mark Wielaard3dec3e12013-10-06 17:04:07 +02001912013-10-06 Mark Wielaard <mjw@redhat.com>
192
193 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
194 location expression.
195
Josh Stone5dbbc5e2013-10-03 12:38:25 -07001962013-10-03 Josh Stone <jistone@redhat.com>
197
198 * typeiter2.c: New file, reversing typeiter.c.
199 * run-typeiter.sh: Also run typeiter2.
Mark Wielaardd1829742013-10-15 23:53:32 +0200200 * Makefile.am (check_PROGRAMS): Add typeiter2.
Josh Stone5dbbc5e2013-10-03 12:38:25 -0700201 (typeiter2_LDADD): New variable.
202
Petr Machataab224102013-09-26 00:39:34 +02002032013-09-26 Petr Machata <pmachata@redhat.com>
204
Petr Machata0c9ae0c2013-09-26 21:02:22 +0200205 * run-readelf-mixed-corenote.sh: Update output of testfile71
206 dump--readelf can newly decode the NT_FILE note.
207
2082013-09-26 Petr Machata <pmachata@redhat.com>
209
Petr Machataab224102013-09-26 00:39:34 +0200210 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
211 * run-readelf-mixed-corenote.sh: New test for this file.
212 * testfile71.bz2: New file.
213
Mark Wielaard1b734df2013-09-20 09:50:42 -04002142013-09-20 Mark Wielaard <mjw@redhat.com>
215
216 * allfcts.c (cb): Return DWARF_CB_ABORT.
217 (main): Iterate over all offsets returned by dwarf_getfuncs.
218 * run-allfcts.sh: Add nested_funcs and class_func testcases.
219 * testfile_nested_funcs.bz2: New test file.
220 * testfile_class_func.bz2: Likewise.
221 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
222 testfile_nested_funcs.bz2.
223
Mark Wielaard6e6e54e2013-08-31 00:52:12 +02002242013-08-30 Mark Wielaard <mjw@redhat.com>
225
226 * Makefile.am (check_PROGRAMS): Add varlocs.
227 (TESTS): Add run-varlocs.sh.
228 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
229 testfile_const_type.bz2, testfile_implicit_pointer.c,
230 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
231 testfile_entry_value.c, testfile_entry_value.bz2,
232 testfile_implicit_value.c and testfile_implicit_value.bz2.
233 (varlocs_LDADD): New.
234 * run-varlocs: New test.
235 * testfile_const_type.c: New test source file.
236 * testfile_entry_value.c: Likewise.
237 * testfile_implicit_pointer.c: Likewise.
238 * testfile_implicit_value.c: Likewise.
239 * testfile_parameter_ref.c: Likewise.
240 * testfile_const_type.bz2: New test file.
241 * testfile_entry_value.bz2: Likewise.
242 * testfile_implicit_pointer.bz2: Likewise.
243 * testfile_implicit_value.bz2: Likewise.
244 * testfile_parameter_ref.bz2: Likewise.
245 * varlocs.c: New test source.
246
Mark Wielaard92e47d62013-09-02 16:46:50 +02002472013-08-29 Mark Wielaard <mjw@redhat.com>
248
249 * run-addrcfi.sh: Add case for EM_ARM.
250 * testfilearm.bz2: New testfile.
251 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
252
Mark Wielaardd3f16452013-08-28 18:10:44 +02002532013-08-28 Mark Wielaard <mjw@redhat.com>
254
Mark Wielaard79b91812013-08-28 21:54:58 +0200255 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
256 completely missing.
257 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
258 * testfiles390.bz2: New testfile.
259 * testfiles390x.bz2: Likewise.
260 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
261 testfiles390x.bz2.
262
2632013-08-28 Mark Wielaard <mjw@redhat.com>
264
Mark Wielaardd3f16452013-08-28 18:10:44 +0200265 * addrcfi.c (handle_cfi): Use printf not error.
266 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
267 * testfileppc32.bz2: New testfile.
268 * testfileppc64.bz2: Likewise.
269 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
270 testfileppc64.bz2.
271
Mark Wielaard292b1782013-08-27 15:40:56 +02002722013-08-27 Mark Wielaard <mjw@redhat.com>
273
274 * run-addrcfi.sh: New test.
275 * Makefile.am (TESTS): Add run-addrcfi.sh.
276 (EXTRA_DIST): Likewise.
277 * addrcfi.c (op_name): New function.
278 (print_detail): Call and print op_name. Check ops, not result
279 to check if this is "same value" or "undefined".
280 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
281
Mark Wielaard4b9e6392013-08-13 11:40:21 +02002822013-08-13 Mark Wielaard <mjw@redhat.com>
283
284 * run-addr2line-i-test.sh: New test.
285 * testfile-inlines.bz2: New testfile.
286 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
287 testfile-inlines.bz2.
288 (TESTS): Add run-addr2line-i-test.sh.
289
Mark Wielaardd0f85012013-08-12 14:21:31 +02002902013-08-12 Mark Wielaard <mjw@redhat.com>
291
292 * run-addr2line-test.sh: New test.
293 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
294 (TESTS): Likewise.
295
Jan Kratochvil596d4302013-07-23 16:30:01 +02002962013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
297
298 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
299 the entries.
300
Mark Wielaard263d7ee2013-07-02 16:16:58 +02003012013-07-02 Mark Wielaard <mjw@redhat.com>
302
303 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
304 testfilenolines.bz2.
305
Jan Kratochvil8ff86292013-05-30 13:21:20 +02003062013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
307
308 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
309 test-core.core.bz2 and test-core.exec.bz2.
310 * run-addrname-test.sh: New test for these files.
311 * run-unstrip-n.sh: Update expected output. New test for these files.
312 * test-core-lib.so.bz2: New file.
313 * test-core.core.bz2: New file.
314 * test-core.exec.bz2: New file.
315
Mark Wielaard9affad32013-05-03 11:28:49 +02003162013-05-03 Mark Wielaard <mjw@redhat.com>
317
318 * testfilenolines.bz2: New test file.
319 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
320 * run-get-lines.sh: Run testrun_compare on testfilenolines.
321
Jan Kratochvil904aec22013-04-30 14:27:16 +02003222013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
323
324 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
325
Mark Wielaard807ea312013-04-29 20:48:36 +02003262013-04-29 Mark Wielaard <mjw@redhat.com>
327
328 * test-subr.sh: Don't use pushd, just cd into test-dir.
329 (exit_cleanup): Don't use popd, just cd .. to get out.
330
Mark Wielaarda6098312013-04-26 21:21:56 +02003312013-04-27 Mark Wielaard <mjw@redhat.com>
332
Mark Wielaard527e21e2013-04-27 23:15:44 +0200333 * test-subr.sh (exit_cleanup): New function.
334 (trap): Use exit_cleanup as argument.
335 * run-native-test.sh (native_exit): New function.
336 (trap): For EXIT (0) use native_exit as argument.
337
3382013-04-27 Mark Wielaard <mjw@redhat.com>
339
Mark Wielaardb0f202e2013-04-28 00:54:17 +0200340 * update1.c (main): Use unique tempfile name and unlink file.
341 * update2.c (main): Likewise.
342 * update3.c (main): Likewise.
343 * update4.c (main): Use unique tempfile name.
344
3452013-04-27 Mark Wielaard <mjw@redhat.com>
346
Mark Wielaarda6098312013-04-26 21:21:56 +0200347 * run-alldts.sh: Add testfile-alldts to tempfiles.
348 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
349 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
350 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
351 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
352
Mark Wielaard86be7922013-04-26 23:44:25 +02003532013-04-26 Mark Wielaard <mjw@redhat.com>
354
355 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
356 remove wrapper.
357 (TESTS_ENVIRONMENT): Likewise.
358 (installed_LOG_COMPILER): New variable defining wrapper.
359 (LOG_COMPILER): Likewise.
360 * run-*.sh: Fixup location of input and output files.
361 * test-subr.sh: Create test_dir, pushd to execute test in.
362 (trap): Remove test_dir.
363 (testfiles): Use abs_srcdir.
364 (installed_testrun): Match on abs_builddir or abs_top_builddir.
365 (self_test_files): Adjust path.
366
Mark Wielaardcdaaf212013-04-25 16:50:11 -04003672013-04-24 Mark Wielaard <mjw@redhat.com>
368
369 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
370
Mark Wielaarda8c7f052013-03-25 21:11:53 +01003712013-03-25 Mark Wielaard <mjw@redhat.com>
372
Mark Wielaardb79788c2013-03-25 11:45:22 +0100373 * run-readelf-aranges.sh: New test.
374 * testfilefoobarbaz.bz2: New test file.
375 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
376 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
377
3782013-03-25 Mark Wielaard <mjw@redhat.com>
379
Mark Wielaarda8c7f052013-03-25 21:11:53 +0100380 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
381
Jan Kratochvila1d44822013-03-19 13:40:13 +01003822013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
383
384 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
385 (TESTS): Add run-dwfl-report-elf-align.sh.
386 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
387 testfile-dwfl-report-elf-align-shlib.so.bz2 .
388 (dwfl_report_elf_align_LDADD): New.
389 * dwfl-report-elf-align.c: New file.
390 * run-dwfl-report-elf-align.sh: New file.
391 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
392
Mark Wielaardf1b06b52013-03-12 12:02:51 +01003932013-03-12 Mark Wielaard <mjw@redhat.com>
394
395 * run-dwfllines.sh: New test.
396 * dwfllines.c: New test program.
397 * Makefile.am (TESTS): Add run-dwfllines.sh.
398 (EXTRA_DIST): Likewise.
399 (dwfllines_LDADD): New variable.
400
Mark Wielaardf6185a72013-02-22 23:42:59 +01004012013-02-22 Mark Wielaard <mjw@redhat.com>
402
403 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
404 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
405
Mark Wielaard443304e2013-02-15 22:45:22 +01004062013-02-15 Mark Wielaard <mjw@redhat.com>
407
408 * testfile-dwzstr.bz2: New testfile.
409 * testfile-dwzstr.multi.bz2: Likewise.
410 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
411 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
412 testfile-dwzstr.multi.bz2.
413
Mark Wielaard6c4b2072013-01-30 11:04:38 +01004142013-01-30 Mark Wielaard <mjw@redhat.com>
415
416 * testfileloc.bz2: New testfile.
417 * run-readelf-loc.sh: New test.
418 * Makefile.am (TESTS): Add run-readelf-loc.sh.
419 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
420
Jan Kratochvilcc84d792012-10-10 19:32:05 +02004212013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
422
423 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
424 and s390x core notes.
425 * testfile67.bz2: New file.
426 * testfile68.bz2: New file.
427 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
428
Mark Wielaard697bdca2013-01-23 17:39:19 +01004292013-01-23 Mark Wielaard <mjw@redhat.com>
430
431 * testfilebasmin.bz2: New testfile.
432 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
433 * run-readelf-s.sh: Test testfilebasmin.
434 * run-dwflsyms.sh: Likewise.
435
Mark Wielaard9a91fb22013-01-16 15:19:40 +01004362013-01-16 Mark Wielaard <mjw@redhat.com>
437
438 * Makefile.am (check_PROGRAMS): Add dwflsyms.
439 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
440 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
441 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
442 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
443 (dwflsyms_LDADD): New variable.
444
Roland McGrath3f9256d2013-01-07 15:13:46 -08004452013-01-07 Roland McGrath <roland@hack.frob.com>
446
447 * run-prelink-addr-test.sh: Use ln -snf.
448
Mark Wielaard1d6a4352012-12-03 17:01:09 +01004492012-12-03 Mark Wielaard <mjw@redhat.com>
450
451 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
452
Jan Kratochvild5784af2012-10-18 00:11:30 +02004532012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
454
455 * run-addrname-test.sh: New test for PIE relocation.
456 * testfile70.core.bz2: New file.
457 * testfile70.exec.bz2: New file.
458 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
459 testfile70.exec.bz2 .
460
Jan Kratochvild7ed0252012-10-27 21:31:58 +02004612012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
462
463 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
464 testfile69.core.bz2 and testfile69.so.bz2 .
465
Jan Kratochvil3fdcdcb2012-10-17 21:49:10 +02004662012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
467
468 * run-addrname-test.sh: New test for DSO with build-id bias.
469 * testfile69.core.bz2: New file.
470 * testfile69.so.bz2: New file.
471
Jan Kratochvil78dec222012-10-10 08:04:01 +02004722012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
473
Jan Kratochvil387654d2012-10-10 08:08:44 +0200474 * run-addrname-test.sh: New test for core vDSO bias.
475 * testfile65.bz2: New file.
476
4772012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
478
Jan Kratochvil78dec222012-10-10 08:04:01 +0200479 * run-addrname-test.sh: New test for symbol preferences.
480 * testfile64.bz2: New file.
481
Mark Wielaarde3e3ee22012-10-01 16:14:12 +02004822012-10-01 Mark Wielaard <mjw@redhat.com>
483
484 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
485 * test-wrapper.sh: Export VALGRIND_CMD if available.
486 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
487 (installed_testrun): Likewise.
488
Petr Machataae7c5e72012-09-24 16:16:27 +02004892012-09-24 Petr Machata <pmachata@redhat.com>
490
Petr Machata522a73f2012-09-24 16:46:52 +0200491 * testfile63.bz2: New testfile.
492 * run-readelf-mixed-corenote.sh: New test.
493 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
494 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
495
4962012-09-24 Petr Machata <pmachata@redhat.com>
497
Petr Machataae7c5e72012-09-24 16:16:27 +0200498 * testfile62.bz2: New testfile.
499 * run-readelf-vmcoreinfo.sh: New test.
500 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
501 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
502
Petr Machata3662ad12012-09-18 21:35:19 +02005032012-09-18 Petr Machata <pmachata@redhat.com>
504
505 * testfile61.bz2: New testfile.
506 * run-allregs.sh: Run reg_test testfile61.
507 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
508
Mark Wielaarde0ebc5a2012-08-24 14:51:37 +02005092012-08-24 Mark Wielaard <mjw@redhat.com>
510
511 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
512
Jeff Kenton257dcf42012-08-22 09:00:03 -04005132012-08-22 Jeff Kenton <jkenton@tilera.com>
514
515 * testfile60.bz2: New testfile.
516 * run-allregs.sh: Run reg_test testfile60.
517
Mark Wielaardf5519fc2012-08-24 13:54:52 +02005182012-08-24 Mark Wielaard <mjw@redhat.com>
519
520 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
521 ENABLE_DWZ.
522
Mark Wielaardf31c4412012-08-17 00:35:03 +02005232012-08-16 Mark Wielaard <mjw@redhat.com>
524
525 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
526 macros.
527 * show-die-info.c (tagnames): Removed.
528 (attrs): Removed.
529 (dwarf_tag_string): New function using known-dwarf macros.
530 (dwarf_attr_string): Likewise.
531 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
532 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
533
Mark Wielaard775375e2012-06-22 12:02:45 +02005342012-06-27 Mark Wielaard <mjw@redhat.com>
535
536 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
537 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
538 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
539 testfile_multi_main.bz2.
540 * run-readelf-dwz-multi.sh: New test.
541 * libtestfile_multi_shared.so.bz2: New testfile.
542 * testfile_multi.dwz.bz2: New testifle.
543 * testfile_multi_main.bz2: New testifle.
544
Petr Machata30a941c2012-08-01 21:41:36 +02005452012-08-01 Petr Machata <pmachata@redhat.com>
546
547 * run-test-archive64.sh: New test.
548 * testarchive64.a.bz2: New testfile.
549 * Makefile.am (TESTS): Add run-test-archive64.sh.
550 (EXTRA_DIST): Likewise.
551
Mark Wielaard94e387f2012-08-01 15:31:12 +02005522012-08-01 Mark Wielaard <mjw@redhat.com>
553
Mark Wielaardbf707b52012-08-01 15:39:11 +0200554 * run-nm-self.sh: New test.
555 * run-readelf-self.sh: Likewise.
556 * test-subr.sh (testrun_on_self_quiet): New function.
557 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
558 (EXTRA_DIST): Likewise.
559
5602012-08-01 Mark Wielaard <mjw@redhat.com>
561
Mark Wielaard94e387f2012-08-01 15:31:12 +0200562 * test-subr.sh (self_test_files): New list of files.
563 (testrun_on_self): New function.
564 * run-elflint-self.sh: Use testrun_on_self.
565
Mark Wielaard714ea0e2012-07-19 13:07:39 +02005662012-07-19 Mark Wielaard <mjw@redhat.com>
567
Mark Wielaard030f6262012-07-18 13:14:30 +0200568 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
569 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
570 (EXTRA_DIST): Likewise.
571 (test_elf_cntl_gelf_getshdr_LDADD): New.
572 test-elf_cntl_gelf_getshdr.c: New test program.
573 run-elf_cntl_gelf_getshdr.sh: New test script.
574
5752012-07-19 Mark Wielaard <mjw@redhat.com>
576
Mark Wielaardadcd1dd2012-07-19 22:59:18 +0200577 * run-elflint-self.sh: runtests on ../backends/*so files.
578
5792012-07-19 Mark Wielaard <mjw@redhat.com>
580
Mark Wielaard714ea0e2012-07-19 13:07:39 +0200581 * run-unstrip-n.sh: test_cleanup.
582 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
583
Mark Wielaarde9b23882012-06-29 22:30:15 +02005842012-07-11 Mark Wielaard <mjw@redhat.com>
585
586 * run-readelf-macro.sh: New test.
587 * testfilemacro.bz2: New testfile.
588 * Makefile.am (TESTS): Add run-readelf-macro.sh.
589 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
590
Mark Wielaard84a1e0b2012-06-29 23:38:09 +02005912012-06-27 Mark Wielaard <mjw@redhat.com>
592
593 * run-readelf-gdb-index.sh: New test.
594 * testfilegdbindex5.bz2: New testfile.
595 * testfilegdbindex7.bz2: Likewise.
596 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
597 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
598 testfilegdbindex7.bz2.
599
Mark Wielaard97212fe2012-07-17 21:12:39 +02006002012-07-17 Mark Wielaard <mjw@redhat.com>
601
602 * testcore-rtlib-ppc.bz2: New testfile.
603 * run-unstrip-n.sh: Check new ppc core testfile.
604
Mike Frysingerc09c5f32012-06-26 12:07:44 -04006052012-06-26 Mike Frysinger <vapier@gentoo.org>
606
607 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
608
Mark Wielaarda0172d72012-06-25 17:18:53 +02006092012-06-26 Mark Wielaard <mjw@redhat.com>
610
611 * run-macro-test.sh: New test.
612 * testfile-macinfo.bz2: New testfile.
613 * testfile-macros.bz2: Likewise.
614
Mark Wielaard547049b2012-06-22 18:19:02 +02006152012-05-07 Mark Wielaard <mjw@redhat.com>
616
617 * low_high_pc.c: Use proper inttypes in printf formats.
618
Mark Wielaarddbbc67a2012-05-11 12:57:57 +02006192012-05-11 Mark Wielaard <mjw@redhat.com>
620
621 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
622
Mark Wielaardd9bc75f2012-05-07 13:29:52 +02006232012-05-07 Mark Wielaard <mjw@redhat.com>
624
625 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
626
Mark Wielaard54797252012-04-27 13:00:50 +02006272012-04-27 Mark Wielaard <mjw@redhat.com>
628
629 * Makefile.am (TESTS): Add run-low_high_pc.sh
630 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
631 (noinst_PROGRAMS): Add low_high_pc.
632 (low_high_pc_LDADD): New variable.
633 * low_high_pc.c: New test.
634
Mark Wielaardbdad8e32012-04-26 12:24:33 +02006352012-04-26 Mark Wielaard <mjw@redhat.com>
636
637 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
638 * run-show-ciefde.sh: Removed old libdwarf test.
639 * show-ciefde.c: Likewise.
640
Mark Wielaard191d1f02012-04-02 17:11:25 +02006412012-04-02 Mark Wielaard <mjw@redhat.com>
642
Mark Wielaard96a52132012-04-03 00:21:50 +0200643 * Makefile.am (TESTS): Add run-unstrip-n.sh.
644 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
645 * run-unstrip-n.sh: New test.
646 * testcore-rtlib.bz2: New testfile.
647
6482012-04-02 Mark Wielaard <mjw@redhat.com>
649
Mark Wielaard191d1f02012-04-02 17:11:25 +0200650 * Makefile.am (TESTS): Add run-readelf-d.sh.
651 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
652 * run-readelf-d.sh: New test.
653 * run-elflint-test.sh: Check new testfile.
654
Tom Tromey581c3f62012-03-21 08:54:32 -06006552012-03-21 Tom Tromey <tromey@redhat.com>
656
657 * typeiter.c: New file.
658 * run-typeiter.sh: New file.
659 * testfile59.bz2: New file.
660 * Makefile.am (noinst_PROGRAMS): Add typeiter.
661 (TESTS): Add run-typeiter.sh.
662 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
663 (typeiter_LDADD): New variable.
664
Kurt Roeckx5a8e39a2012-02-24 23:40:32 +01006652012-02-21 Kurt Roeckx <kurt@roeckx.be>
666
667 * run-alldts.sh: testrun ./alldts.
668
Roland McGrathe3b15682012-02-21 11:12:46 -08006692012-02-21 Roland McGrath <roland@hack.frob.com>
670
671 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
Roland McGrathc1c6a9d2012-02-21 12:51:36 -0800672 * test-subr.sh (installed_testrun): Likewise.
Roland McGrathe3b15682012-02-21 11:12:46 -0800673
Roland McGrathb8ff18e2012-01-18 13:57:08 -08006742012-01-18 Roland McGrath <roland@hack.frob.com>
675
676 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
677 it will have been inherited correctly from the test harness.
678 * asm-tst5.c (main): Likewise.
679 * asm-tst6.c (main): Likewise.
680 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
681
Roland McGrath32899ac2011-07-09 03:17:24 -07006822011-07-09 Roland McGrath <roland@hack.frob.com>
683
684 * sha1-tst.c: File removed.
685 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
686 (sha1_tst_LDADD): Variable removed.
687
688 * md5-sha1-test.c: New file.
689 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
690 (md5_sha1_test_LDADD): New variable.
691
Mark Wielaard3f2290b2011-05-30 15:46:32 +02006922011-05-30 Mark Wielaard <mjw@redhat.com>
693
694 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
695 run-rerequest_tag.sh
696
Mark Wielaard20a217d2011-05-24 14:30:40 +02006972011-05-24 Mark Wielaard <mjw@redhat.com>
698
699 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
700 * run-strip-reloc.sh: Add hello_s390.ko testcase.
701 * hello_s390.ko.bz2: New test file.
702
Mark Wielaard1662bc32011-05-16 11:33:11 +02007032011-05-23 Mark Wielaard <mjw@redhat.com>
704
705 * Makefile.am (TESTS): Add run-strip-reloc.sh.
706 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
707 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
708 * run-strip-reloc.sh: New test.
709 * hello_i386.ko.bz2: New test file.
710 * hello_x86_64.ko.bz2: Likewise.
711 * hello_ppc64.ko.bz2: Likewise.
712
Mark Wielaard7a125b92011-05-17 12:20:01 +02007132011-05-18 Mark Wielaard <mjw@redhat.com>
714
715 * run-strip-groups.sh: New test.
716 * testfile58.bz2: New test file.
717 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
718 (TESTS): Add run-strip-groups.sh.
719 (EXTRA_DIST): Likewise.
720
Marek Polacek494275c2011-03-28 16:00:38 +02007212011-03-28 Marek Polacek <mpolacek@redhat.com>
722
723 * alldts.c: New file.
724 * run-alldts.sh: Use it.
725 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
726 (alldts_LDADD): New variable.
727
7282011-03-02 Marek Polacek <mpolacek@redhat.com>
Marek Polacek48942212011-03-07 11:16:50 -0800729
730 * dwarf-getstring.c: New test.
731 * run-dwarf-getstring.sh: And its wrapper.
732 * Makefile.am (EXTRA_DIST): Add and update all.
733
Jan Kratochvilfec39992011-02-27 12:01:25 -08007342011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
735
736 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
737 * run-readelf-twofiles.sh: New file.
738
Mark Wielaard58cfa1c2011-02-25 20:17:52 +01007392011-02-25 Mark Wielaard <mjw@redhat.com>
740
741 * Makefile.am (BUILD_RPATH): Be consistent in naming.
742
Josh Stonedc34eda2011-02-02 16:30:01 -08007432011-02-02 Josh Stone <jistone@redhat.com>
744
745 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
746 * testfile55-64.bz2, testfile55-64.debug.bz2,
747 testfile55-64.prelink.bz2, testfile55-32.bz2,
748 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
749 * Makefile.am (EXTRA_DIST): Add and update all.
750
Roland McGrath32520bd2011-01-12 10:43:32 -08007512011-01-12 Roland McGrath <roland@redhat.com>
752
753 * run-prelink-addr-test.sh: Make symlinks to find .debug files
Roland McGrath4f6d4e12011-01-12 10:49:40 -0800754 corresponding to .noshdrs files.
Roland McGrath32520bd2011-01-12 10:43:32 -0800755
Josh Stoned41d9a62011-01-11 19:16:57 -08007562011-01-11 Josh Stone <jistone@redhat.com>
757
Josh Stoneccbccef2011-01-11 19:16:59 -0800758 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
759 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
760 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
761 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
762 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
763 * Makefile.am (EXTRA_DIST): Add and update all.
764
Josh Stonecf514712011-01-11 19:16:58 -0800765 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
766 * testfile53.bz2, testfile53.debug.bz2,
767 testfile53.prelink.bz2: Deleted, so...
768 * testfile53-64.bz2, testfile53-64.debug.bz2,
769 testfile53-64.prelink.bz2: Recreated with 64-bit names.
770 * testfile53-32.bz2, testfile53-32.debug.bz2,
771 testfile53-32.prelink.bz2: New in 32-bit.
772 * Makefile.am (EXTRA_DIST): Add and update all.
773
Josh Stoned41d9a62011-01-11 19:16:57 -0800774 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
775 * testfile52.so.bz2, testfile52.so.debug.bz2,
776 testfile52.prelink.so.bz2: Deleted, so...
777 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
778 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
779 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
780 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
Roland McGrath32520bd2011-01-12 10:43:32 -0800781 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
Josh Stoned41d9a62011-01-11 19:16:57 -0800782 * Makefile.am (EXTRA_DIST): Add and update all.
783
Josh Stoneffa02002011-01-10 21:28:46 -08007842011-01-10 Josh Stone <jistone@redhat.com>
785
786 * run-prelink-addr-test.sh: New test for prelinked addrs.
787 * Makefile.am (TESTS, EXTRA_DIST): Add it.
788 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
789 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
790 * testfile53.bz2, testfile53.debug.bz2: New data files.
791 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
792 * Makefile.am (EXTRA_DIST): Add them.
793
Roland McGrathec86e5f2010-06-14 17:44:38 -07007942010-06-04 Roland McGrath <roland@redhat.com>
795
796 * run-unstrip-test.sh: Also test modifying the file in place.
797
Roland McGrath3c6ee4b2010-04-22 22:38:58 -07007982010-04-22 Roland McGrath <roland@redhat.com>
799
800 * addrcfi.c (handle_cfi): Fix function name in error message.
801 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
802
Roland McGrath26618d82010-04-14 13:10:47 -07008032010-04-14 Roland McGrath <roland@redhat.com>
804
805 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
806
Ulrich Drepperc2d1e482010-04-10 18:23:47 -07008072010-04-10 Ulrich Drepper <drepper@redhat.com>
808
809 * msg_tst.c: Adjust expected error message.
810
Petr Machata77961b52010-04-06 14:16:58 +02008112010-04-01 Petr Machata <pmachata@redhat.com>
812
813 * test-flag-nobits.c: New test.
814 * run-test-flag-nobits.sh: And its wrapper.
815 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
816 (test_flag_nobits_LDADD): New variable.
817
Roland McGrathe9ca7382010-02-15 15:15:50 -08008182010-02-15 Roland McGrath <roland@redhat.com>
819
Roland McGrath22359e22010-02-15 15:57:03 -0800820 * Makefile.am: Use config/eu.am for common stuff.
821
Roland McGrathe9ca7382010-02-15 15:15:50 -0800822 * asm-tst9.c (main): Rename local to avoid shadowing another local.
823
Roland McGrathaf800142009-07-22 13:55:50 -07008242009-07-22 Roland McGrath <roland@redhat.com>
825
826 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
827
Roland McGrath3c84db32009-06-24 17:41:40 -07008282009-07-08 Roland McGrath <roland@redhat.com>
829
830 * addrcfi.c: New file.
831 * Makefile.am (noinst_PROGRAMS): Add it.
832 (addrcfi_LDADD): New variable.
833
Petr Machatad24c7bf2009-05-07 20:58:19 +02008342009-05-07 Petr Machata <pmachata@redhat.com>
835
836 * testfile51.bz2: New data file.
837 * dwarf-getmacros.c: New test core.
838 * run-dwarf-getmacros.sh: New test wrapper.
Roland McGrath0c735a92009-05-07 18:19:16 -0700839 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
840 (dwarf_getmacros_LDADD): New variable.
Petr Machatad24c7bf2009-05-07 20:58:19 +0200841
Ulrich Drepperf9545c42009-04-23 07:59:02 -07008422009-04-23 Ulrich Drepper <drepper@redhat.com>
843
844 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
845 (rdwrmmap_LDADD): Add $(libmudflap).
Roland McGrath0c735a92009-05-07 18:19:16 -0700846
Roland McGrath19a8e4d2009-04-21 15:44:07 -07008472009-04-21 Roland McGrath <roland@redhat.com>
848
849 * testfile50.bz2: New data file.
850 * Makefile.am (EXTRA_DIST): Add it.
851 * run-dwfl-addr-sect.sh: Add a case using it.
852
Ulrich Drepper5bd44442008-12-31 09:02:54 -08008532008-12-31 Ulrich Drepper <drepper@redhat.com>
854
Ulrich Drepper3bf57592009-01-01 18:52:05 -0800855 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
856 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
857 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
858 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
859 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
860 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
861 roundss, roundps, roundpd, and roundsd.
862 * testfile45.S.bz2: Likewise.
863 * testfile44.expect.bz2: Adjust accordingly.
864 * testfile45.expect.bz2: Likewise.
865
Ulrich Drepper5bd44442008-12-31 09:02:54 -0800866 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
867 * testfile45.S.bz2: Likewise.
868 * testfile44.expect.bz2: Adjust accordingly.
869 * testfile45.expect.bz2: Likewise.
870
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -08008712008-12-30 Ulrich Drepper <drepper@redhat.com>
872
Ulrich Drepperec32ff92008-12-30 23:24:09 -0800873 * testfile44.S.bz2: Add tests for blendpd and blendps.
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -0800874 * testfile45.S.bz2: Likewise.
875 * testfile44.expect.bz2: Adjust accordingly.
876 * testfile45.expect.bz2: Likewise.
877
Ulrich Drepper5a04b9f2008-12-19 01:14:12 -08008782008-12-19 Ulrich Drepper <drepper@redhat.com>
879
880 * testfile44.S.bz2: Add tests for AMD 3DNOW.
881 * testfile45.S.bz2: Likewise.
882 * testfile44.expect.bz2: Adjust accordingly.
883 * testfile45.expect.bz2: Likewise.
884
Roland McGratha845f682008-12-03 03:41:58 +00008852008-11-26 Roland McGrath <roland@redhat.com>
886
887 * dwfl-bug-getmodules.c: New file.
888 * Makefile.am (noinst_PROGRAMS): Add it.
889 (dwfl_bug_getmodules_LDADD): New variable.
890
8912008-09-10 Roland McGrath <roland@redhat.com>
892
893 * test-subr.sh (LC_ALL): Export it set to "C".
894 * run-dwfl-addr-sect.sh: Don't do it here.
895 * run-strings-test.sh: Likewise.
896
Roland McGrathb4d6f0f2008-08-25 22:55:17 +00008972008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
898
899 * run-addrname-test.sh: Add a new case.
900 * testfile49.bz2: New data file.
901 * Makefile.am (EXTRA_DIST): Add it.
902
Roland McGrath521c47d2008-04-11 07:01:58 +00009032008-04-10 Roland McGrath <roland@redhat.com>
904
905 * testfile48.bz2, testfile48.bz2.debug: New data files.
906 * Makefile.am (EXTRA_DIST): Add them.
907 * run-strip-test8.sh: Use them.
908
909 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
910
911 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
912 * run-strip-test8.sh: New file.
913 * testfile47.bz2: New data file.
914 * Makefile.am (TESTS, EXTRA_DIST): Add them.
915
Roland McGrath13b69602008-04-01 02:30:05 +00009162008-03-31 Roland McGrath <roland@redhat.com>
917
918 * run-early-offscn.sh: New file.
919 * early-offscn.c: New file.
920 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
921 (early_offscn_LDADD): New variable.
922
Roland McGrathd11f9cb2008-03-26 20:51:59 +00009232008-03-19 Roland McGrath <roland@redhat.com>
924
925 * run-addrname-test.sh: Add a new case.
926
Roland McGrath658094a2008-02-22 08:14:07 +00009272008-02-22 Roland McGrath <roland@redhat.com>
928
929 * run-elflint-test.sh: Typo fix.
930
9312008-02-21 Roland McGrath <roland@redhat.com>
932
933 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
934 for the build down to minimum.
935 * run-disasm-x86-64.sh: Likewise.
936
Roland McGrath059c83e2008-02-21 06:19:39 +00009372008-02-20 Roland McGrath <roland@redhat.com>
938
939 * testfile46.bz2: New data file.
940 * Makefile.am (EXTRA_DIST): Add it.
941 * run-elflint-test.sh: Test on it.
942
Ulrich Drepperc54785a2008-02-01 18:05:21 +00009432008-02-01 Ulrich Drepper <drepper@redhat.com>
944
945 * Makefile.am: Hook up sha1-tst.c.
946 * sha1-tst.c: New file.
947
Ulrich Drepper4d8bc812008-01-22 06:02:31 +00009482008-01-21 Roland McGrath <roland@redhat.com>
949
950 * testfile45.S.bz2: Add tests for cltq, cqto.
951 * testfile45.expect.bz2: Adjust.
952
Ulrich Drepper35f2fe62008-01-14 19:17:36 +00009532008-01-14 Ulrich Drepper <drepper@redhat.com>
954
955 * testfile45.S.bz2: Add more tests.
956 * testfile45.expect.bz2: Adjust.
957
Ulrich Drepperfd479892008-01-12 03:06:47 +00009582008-01-11 Ulrich Drepper <drepper@redhat.com>
959
960 * testfile45.expect.bz2: Adjust for adding of address for %rip based
961 address mode.
962
Ulrich Drepper96a73992008-01-11 06:17:06 +00009632008-01-10 Ulrich Drepper <drepper@redhat.com>
964
965 * testfile45.S.bz2: Add more tests.
966 * testfile45.expect.bz2: Adjust.
967
Ulrich Drepperff993222008-01-09 05:39:28 +00009682008-01-08 Ulrich Drepper <drepper@redhat.com>
969
970 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
971 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
972 run-disasm-x86-64.sh.
973 * run-disasm-x86-64.sh: New file.
974 * testfile45.S.bz2: New file.
975 * testfile45.expect.bz2: New file.
976 * testfile44.S.bz2: New tests.
977 * testfile44.expect.bz2: Adjust.
978
Ulrich Drepper9e6925d2008-01-04 21:42:14 +00009792008-01-04 Ulrich Drepper <drepper@redhat.com>
980
981 * testfile44.S.bz2: New tests.
982 * testfile44.expect.bz2: Adjust.
983
Ulrich Dreppere219f1c2008-01-09 05:49:49 +00009842008-01-04 Roland McGrath <roland@redhat.com>
985
986 * dwfl-bug-fd-leak.c (main): Add a cast.
987
Ulrich Drepperee67b642008-01-03 08:45:10 +00009882008-01-03 Ulrich Drepper <drepper@redhat.com>
989
990 * testfile44.S.bz2: New tests.
991 * testfile44.expect.bz2: Adjust.
992
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00009932008-01-01 Ulrich Drepper <drepper@redhat.com>
994
Ulrich Drepperf231e272008-01-02 18:07:17 +0000995 * line2addr.c: Use %m modifier instead of %a to appease gcc.
996
9972008-01-01 Ulrich Drepper <drepper@redhat.com>
998
Ulrich Drepperee67b642008-01-03 08:45:10 +0000999 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001000 * testfile44.expect.bz2: Adjust.
1001
10022007-12-31 Ulrich Drepper <drepper@redhat.com>
1003
Ulrich Drepperee67b642008-01-03 08:45:10 +00001004 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001005 * testfile44.expect.bz2: Adjust.
1006
10072007-12-30 Ulrich Drepper <drepper@redhat.com>
1008
Ulrich Drepperee67b642008-01-03 08:45:10 +00001009 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001010 * testfile44.expect.bz2: Adjust.
1011
10122007-12-29 Ulrich Drepper <drepper@redhat.com>
1013
Ulrich Drepperee67b642008-01-03 08:45:10 +00001014 * testfile44.s.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001015 * testfile44.expect.bz2: Adjust.
1016
10172007-12-28 Ulrich Drepper <drepper@redhat.com>
1018
1019 * testfile44.S.bz2: New tests.
1020 * testfile44.expect.bz2: Adjust.
1021
10222007-12-27 Ulrich Drepper <drepper@redhat.com>
1023
1024 * testfile44.S.bz2: New tests.
1025 * testfile44.expect.bz2: Adjust.
1026
10272007-12-26 Ulrich Drepper <drepper@redhat.com>
1028
1029 * testfile44.S.bz2: New tests.
1030 * testfile44.expect.bz2: Adjust
1031
10322007-12-21 Ulrich Drepper <drepper@redhat.com>
1033
1034 * testfile44.S.bz2: More tests.
1035 * testfile44.expect.bz2: Adjust appropriately.
1036
10372007-12-19 Ulrich Drepper <drepper@redhat.com>
1038
1039 * Makefile.am (TESTS): Add run-disasm.sh.
1040 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1041 testfile44.expect.bz2.
1042 * run-disasm.sh: New file.
1043 * testfile44.S.bz2: New file.
1044 * testfile44.expect.bz2: New file.
1045
Roland McGrath1a2e8f42007-12-15 23:39:34 +000010462007-12-15 Roland McGrath <roland@redhat.com>
1047
1048 * run-allregs.sh: Change expected output for powerpc spefscr.
1049
Roland McGrathe4c22ea2007-10-23 13:07:39 +000010502007-10-20 Roland McGrath <roland@redhat.com>
1051
1052 * run-dwfl-addr-sect.sh: Change expected output, no errors.
1053
10542007-10-19 Roland McGrath <roland@redhat.com>
1055
1056 * dwfl-addr-sect.c (handle_address): Return int.
1057 Don't exit on error, just return nonzero.
1058 (main): Collect results.
1059 * run-dwfl-addr-sect.sh: New file.
1060 * testfile43.bz2: New data file.
1061 * Makefile.am (EXTRA_DIST, TESTS): Add them.
1062
10632007-10-18 Roland McGrath <roland@redhat.com>
1064
1065 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1066
10672007-10-16 Roland McGrath <roland@redhat.com>
1068
1069 * test-subr.sh (remove_files): Don't pass -Bb to diff.
1070
Ulrich Drepperb597dfa2007-10-16 05:21:27 +000010712007-10-09 Roland McGrath <roland@redhat.com>
1072
1073 * dwflmodtest.c (print_module): Don't use %p in output.
1074 * run-dwfl-bug-offline-rel.sh: Updated expected output.
1075
10762007-10-08 Roland McGrath <roland@redhat.com>
1077
1078 * testfile42.bz2: New data file.
1079 * Makefile.am (EXTRA_DIST): Add it.
1080 * run-elflint-test.sh: New test on that file.
1081
Roland McGrath59ea7f32007-10-04 08:50:09 +000010822007-10-04 Roland McGrath <roland@redhat.com>
1083
1084 * run-readelf-test4.sh: New file.
1085 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1086
10872007-10-03 Roland McGrath <roland@redhat.com>
1088
1089 * run-readelf-test3.sh: New file.
1090 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1091
Roland McGrathf6b92282007-10-02 02:34:11 +000010922007-10-01 Roland McGrath <roland@redhat.com>
1093
1094 * run-readelf-test2.sh: New file.
1095 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1096
Roland McGrathc76f0b02007-09-27 07:31:33 +000010972007-09-11 Roland McGrath <roland@redhat.com>
1098
1099 * run-addrname-test.sh: Add a new case.
1100 * testfile41.bz2: New data file.
1101 * Makefile.am (EXTRA_DIST): Add it.
1102
Roland McGrathcb6d8652007-08-23 08:10:54 +000011032007-08-23 Roland McGrath <roland@redhat.com>
1104
1105 * run-allregs.sh: Update expected x86-64 output for %rflags.
1106
Roland McGrath099dd522007-08-13 22:58:36 +000011072007-08-12 Roland McGrath <roland@redhat.com>
1108
1109 * run-strip-test7.sh: New file.
1110 * testfile39.bz2: New data file.
1111 * testfile40.bz2: New data file.
1112 * testfile40.debug.bz2: New data file.
1113 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1114
Roland McGrath42f68682007-08-09 07:54:22 +000011152007-08-09 Roland McGrath <roland@redhat.com>
1116
1117 * dwfl-bug-report.c: Fix header inclusion.
1118
11192007-08-08 Roland McGrath <roland@redhat.com>
1120
1121 * run-addrname-test.sh: Add a new case using addr2line -S.
1122 * testfile38.bz2: New data file.
1123 * Makefile.am (EXTRA_DIST): Add it.
1124
Roland McGrath87d47802007-07-16 22:23:37 +000011252007-07-16 Roland McGrath <roland@redhat.com>
1126
1127 * dwfl-bug-report.c: New file.
1128 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1129 (dwfl_bug_report_LDADD): New variable.
1130
11312007-06-06 Roland McGrath <roland@redhat.com>
Roland McGrath0bc057c2007-06-06 08:42:42 +00001132
1133 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1134
Ulrich Drepperb0243862007-06-06 00:09:36 +000011352007-06-05 Ulrich Drepper <drepper@redhat.com>
1136
1137 * Makefile.am (EXTRA_DIST): Add missing line continuation and
1138 testfile37.bz and testfile37.debug.bz2.
1139
Roland McGrath53bce222007-05-23 19:15:04 +000011402007-05-23 Roland McGrath <roland@redhat.com>
1141
1142 * run-allregs.sh: Update expected Alpha results.
1143
Roland McGrath9aa8ef72007-05-18 08:59:43 +000011442007-05-18 Roland McGrath <roland@redhat.com>
1145
1146 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1147 * testfile37.bz2: New data file.
1148 * testfile37.debug.bz2: New data file.
1149 * run-unstrip-test2.sh: New file.
1150 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1151
11522007-05-10 Roland McGrath <roland@redhat.com>
1153
1154 * run-dwfl-bug-offline-rel.sh: New file.
1155 * testfile36.bz2: New data file.
1156 * testfile36.debug.bz2: New data file.
1157 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1158
11592007-04-28 Roland McGrath <roland@redhat.com>
1160
1161 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1162 * testfile35.bz2: New data file.
1163 * testfile35.debug.bz2: New data file.
1164 * run-unstrip-test.sh: New file.
1165 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1166
1167 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1168
Roland McGrath2be02912007-04-27 04:07:41 +000011692007-04-26 Roland McGrath <roland@redhat.com>
1170
1171 * run-elflint-self.sh: Run all tests even if one fails.
1172
1173 * run-allregs.sh: Add expected output for alpha.
1174
Roland McGrath4be15242007-04-25 03:09:33 +000011752007-04-24 Roland McGrath <roland@redhat.com>
1176
1177 * run-strip-test.sh: When we saved the debug info, test unstrip too.
1178
11792007-04-22 Roland McGrath <roland@redhat.com>
1180
1181 * run-allregs.sh: Update expected register info.
1182
Roland McGrath43da9892007-04-16 23:13:37 +000011832007-04-16 Roland McGrath <roland@redhat.com>
1184
1185 * dwfl-addr-sect.c: New file.
1186 * Makefile.am (noinst_PROGRAMS): Add it.
1187 (dwfl_addr_sect_LDADD): New variable.
1188
11892007-04-05 Roland McGrath <roland@redhat.com>
1190
1191 * get-files.c: Test dwarf_getsrcdirs.
1192 * run-get-files.sh: Update expected output.
1193
Roland McGrath5f6a41a2007-04-01 23:11:40 +000011942007-04-01 Roland McGrath <roland@redhat.com>
1195
1196 * run-allregs.sh: Updated expected output for x86_64.
1197
Ulrich Drepper6258e742007-03-13 06:22:40 +000011982007-03-04 Roland McGrath <roland@redhat.com>
1199
1200 * dwfl-bug-fd-leak.c: New file.
1201 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1202 (dwfl_bug_fd_leak_LDADD): New variable.
1203
1204 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1205 show what files have been located.
1206
Ulrich Drepperaa915fd2007-02-05 07:25:33 +000012072007-02-02 Roland McGrath <roland@redhat.com>
1208
1209 * run-addrname-test.sh: New file.
1210 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1211 * testfile34.bz2: New data file.
1212 * Makefile.am (EXTRA_DIST): Add it.
1213
12142007-01-20 Roland McGrath <roland@redhat.com>
1215
1216 * testfile33.bz2: New data file.
1217 * Makefile.am (EXTRA_DIST): Add it.
1218 * run-elflint-test.sh: Test on it too.
1219
12202007-01-18 Roland McGrath <roland@redhat.com>
1221
1222 * Makefile.am (CFLAGS): Don't molest it.
1223
12242007-01-11 Roland McGrath <roland@redhat.com>
1225
1226 * testfile32.bz2: New data file.
1227 * Makefile.am (EXTRA_DIST): Add it.
1228 * run-elflint-test.sh: Test on it too.
1229
Ulrich Drepperce0bdb62007-02-05 07:13:52 +000012302007-02-04 Ulrich Drepper <drepper@redhat.com>
1231
1232 * arls.c: New file.
1233 * Makefile (noinst_PROGRAMS): Add arls.
1234
1235 * run-ranlib-test2.sh: Fix type in comment.
1236
Ulrich Dreppercd4992c2007-01-10 20:58:17 +000012372007-01-10 Ulrich Drepper <drepper@redhat.com>
1238
1239 * run-elflint-self.sh (runtest): Show which file has the problem.
1240
Roland McGrathba949b32007-01-10 20:44:29 +000012412007-01-10 Roland McGrath <roland@redhat.com>
1242
1243 * dwfl-bug-addr-overflow.c: New file.
1244 * Makefile.am (TESTS): Add it.
1245 (dwfl_bug_addr_overflow_LDADD): New variable.
1246
Roland McGrath8190db62006-12-17 23:56:51 +000012472006-12-17 Roland McGrath <roland@redhat.com>
1248
1249 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
1250
Roland McGrathc373d852006-10-10 00:25:21 +000012512006-09-05 Roland McGrath <roland@redhat.com>
1252
1253 * run-strings-test.sh: Export LC_ALL=C for the test.
1254
12552006-08-29 Roland McGrath <roland@redhat.com>
1256
1257 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
1258 * run-arsymtest.sh: Likewise.
1259
1260 * run-native-test.sh (native.c compilation): Add some braces.
1261
12622006-08-22 Roland McGrath <roland@redhat.com>
1263
1264 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
1265 (struct reginfo): New members bits, type.
1266 (one_register, match_register): Update to take new args,
1267 record and display new info.
1268 (main): Display new info.
1269 * run-allregs.sh: Update expected results.
1270
Roland McGrath19db8592006-08-03 08:52:46 +000012712006-08-03 Roland McGrath <roland@redhat.com>
1272
1273 * run-allregs.sh: Add sparc cases.
1274 * testfile30.bz2: New data file.
1275 * testfile31.bz2: New data file.
1276 * Makefile.am (EXTRA_DIST): Add them.
1277
Roland McGrath95024622006-07-21 10:06:31 +000012782006-07-21 Roland McGrath <roland@redhat.com>
1279
1280 * allregs.c (struct reginfo): Increase size of name.
1281 (one_register): Assert that it's big enough.
1282
Roland McGrathb4379722006-04-05 01:35:26 +000012832006-04-04 Roland McGrath <roland@redhat.com>
1284
1285 * run-bug1-test.sh: Test a second case, to cover both byte orders.
1286 * testfile29.bz2: New file.
1287 * testfile29.rdwr.bz2: New file.
1288 * Makefile.am (EXTRA_DIST): Add them.
1289
Ulrich Drepperba718b12006-04-04 21:31:16 +000012902006-04-04 Ulrich Drepper <drepper@redhat.com>
1291
1292 * Makefile.am: Add rules to run run-bug1-test.sh.
1293 * rdwrmmap.c: New file.
1294 * run-bug1-test.sh: New file.
1295 * testfile28.bz2: New file.
1296 * testfile28.rdwr.bz2: New file.
1297
Roland McGrathdd7e22b2006-03-09 23:05:47 +000012982006-03-09 Roland McGrath <roland@redhat.com>
1299
1300 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
1301
Roland McGrath060fa052006-03-02 07:51:50 +000013022006-03-01 Roland McGrath <roland@redhat.com>
1303
1304 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
1305 changes matching 3.0 spec.
1306
Roland McGrathc40f58a2006-01-13 20:13:21 +000013072006-01-13 Roland McGrath <roland@redhat.com>
1308
1309 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
1310 bash 3.1 whines when it's done in the trap 0 handler.
1311
Roland McGrath4b248ce2006-01-12 03:34:38 +000013122006-01-11 Roland McGrath <roland@redhat.com>
1313
1314 * testfile26.bz2: New data file.
1315 * testfile27.bz2: New data file.
1316 * Makefile.am (EXTRA_DIST): Add them.
1317 * run-allregs.sh: Test s390 data.
1318
Roland McGrath124a7982005-12-15 02:37:09 +000013192005-12-14 Roland McGrath <roland@redhat.com>
1320
1321 * run-native-test.sh: Redirect output from native test process.
1322
Roland McGrath94d26ad2005-12-13 23:24:37 +000013232005-12-13 Roland McGrath <roland@redhat.com>
1324
1325 * allregs.c (main): Fail if we find no registers.
1326
1327 * run-native-test.sh: New file.
1328 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1329
Roland McGrathba72ab12005-12-12 00:04:33 +000013302005-12-10 Ulrich Drepper <drepper@redhat.com
1331
1332 * run-readelf-test1.sh: New file.
1333 * Makefile.am (TESTS): Add run-readelf-test1.sh.
1334 (EXTRA_DIST): Likewise.
1335
Roland McGrathd804e722005-12-08 01:35:42 +000013362005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001337
Roland McGrathd804e722005-12-08 01:35:42 +00001338 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001339
Roland McGrath994b4892005-12-05 22:46:21 +000013402005-11-25 Roland McGrath <roland@redhat.com>
1341
1342 * coverage.sh: Given -v argument, print names of unused files.
1343
1344 * addrscopes.c (main): Use dwfl_end before return.
1345 * allregs.c (main): Likewise.
1346 * find-prologues.c (main): Likewise.
1347 * funcretval.c (main): Likewise.
1348 * funcscopes.c (main): Likewise.
1349 * line2addr.c (main): Likewise.
1350
1351 * run-allregs.sh: New file.
1352 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1353
1354 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
1355 * Makefile.am (allregs_LDADD): Updated.
1356
1357 * allregs.c: New file.
1358 * Makefile.am (noinst_PROGRAMS): Add it.
1359 (allregs_LDADD): New variable.
1360
Roland McGrath9365d2c2005-11-18 23:55:47 +000013612005-11-18 Roland McGrath <roland@redhat.com>
1362
1363 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
1364 * test-wrapper.sh: Likewise.
1365
Roland McGrath575dd392005-11-18 01:41:52 +000013662005-11-17 Roland McGrath <roland@redhat.com>
1367
Roland McGrathaf74f5c2005-11-18 02:25:14 +00001368 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
1369 environment for test-wrapper.sh.
1370 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
1371 * test-subr.sh (installed_testrun): Likewise.
1372 Use explicit path in ${bindir}.
1373
Roland McGrath575dd392005-11-18 01:41:52 +00001374 * Makefile.am (installcheck-local): Fix typo in last change.
1375
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000013762005-11-16 Roland McGrath <roland@redhat.com>
1377
1378 * configure.ac: New file, for standalone build/dist of test suite.
1379 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
1380 (asm_TESTS): New variable, broken out of ...
1381 (TESTS): ... here. Also remove msg_tst.
1382 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
1383 (installed_TESTS_ENVIRONMENT): New variable.
1384 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
1385 [!STANDALONE] (installcheck-local): Likewise.
1386 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
1387 * addrscopes.c: Include <config.h>.
1388 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
1389 * allfcts.c: Likewise.
1390 * asm-tst1.c: Likewise.
1391 * asm-tst2.c: Likewise.
1392 * asm-tst3.c: Likewise.
1393 * asm-tst4.c: Likewise.
1394 * asm-tst5.c: Likewise.
1395 * asm-tst6.c: Likewise.
1396 * asm-tst7.c: Likewise.
1397 * asm-tst8.c: Likewise.
1398 * asm-tst9.c: Likewise.
1399 * dwflmodtest.c: Likewise.
1400 * find-prologues.c: Likewise.
1401 * funcscopes.c: Likewise.
1402 * get-aranges.c: Likewise.
1403 * get-files.c: Likewise.
1404 * get-lines.c: Likewise.
1405 * get-pubnames.c: Likewise.
1406 * line2addr.c: Likewise.
1407 * newscn.c: Likewise.
1408 * show-abbrev.c: Likewise.
1409 * show-die-info.c: Likewise.
1410 * update3.c: Likewise.
1411 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +00001412 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +00001413
1414 * dwflmodtest.c (print_instance): Don't use INTUSE.
1415 (options): Don't use N_ macro.
1416
Roland McGrath1b8b4462005-11-16 01:33:38 +000014172005-11-15 Roland McGrath <roland@redhat.com>
1418
Roland McGrathe47ab762005-11-17 03:16:00 +00001419 * coverage.sh: Look in backends.
1420 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
1421 (TESTS_ENVIRONMENT): Likewise.
1422
1423 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
1424 pass FUNCDIE direclty to dwfl_module_return_value_location.
1425
Roland McGrath1b8b4462005-11-16 01:33:38 +00001426 * Makefile.am (BUILD_RPATH): New variable.
1427 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
1428 (tests_rpath): New variable.
1429 (installcheck-local): Pass it to test-wrapper.sh.
1430 * test-wrapper.sh: In "installed" format, take yes/no value
1431 for elfutils_tests_rpath, which export. When running a test
1432 binary for installcheck, exit 77.
1433 * test-subr.sh (installed_testrun): When running a test binary
1434 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
1435
14362005-11-14 Roland McGrath <roland@redhat.com>
1437
1438 * test-subr.sh: New file.
1439 * test-wrapper.sh: New file.
1440 * Makefile.am (EXTRA_DIST): Add them.
1441 (AM_LDFLAGS): Variable removed.
1442 (TESTS_ENVIRONMENT): New variable.
1443 (installcheck-local): New target.
1444 * run-addrscopes.sh: Use test-subr.sh.
1445 * run-allfcts.sh: Likewise.
1446 * run-ecp-test.sh: Likewise.
1447 * run-ecp-test2.sh: Likewise.
1448 * run-elflint-self.sh: Likewise.
1449 * run-elflint-test.sh: Likewise.
1450 * run-find-prologues.sh: Likewise.
1451 * run-funcscopes.sh: Likewise.
1452 * run-get-aranges.sh: Likewise.
1453 * run-get-files.sh: Likewise.
1454 * run-get-lines.sh: Likewise.
1455 * run-get-pubnames.sh: Likewise.
1456 * run-line2addr.sh: Likewise.
1457 * run-ranlib-test.sh: Likewise.
1458 * run-ranlib-test2.sh: Likewise.
1459 * run-show-abbrev.sh: Likewise.
1460 * run-show-ciefde.sh: Likewise.
1461 * run-show-die-info.sh: Likewise.
1462 * run-strings-test.sh: Likewise.
1463 * run-strip-test.sh: Likewise.
1464
Roland McGrathe47ab762005-11-17 03:16:00 +000014652005-11-13 Roland McGrath <roland@redhat.com>
1466
1467 * funcretval.c: New file.
1468 * Makefile.am (noinst_PROGRAMS): Add it.
1469 (funcretval_LDADD): New variable.
1470
Ulrich Drepper3840c1c2005-11-09 16:13:48 +000014712005-11-09 Ulrich Drepper <drepper@redhat.com>
1472
1473 * line2addr.c (handle_module): Add missing parameter to printf.
1474
Roland McGrath07d4f2f2005-10-28 06:56:24 +000014752005-10-27 Roland McGrath <roland@redhat.com>
1476
Roland McGrath6724c902005-10-28 07:07:19 +00001477 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
1478 * funcscopes.c (handle_function): Likewise.
1479 * dwflmodtest.c (print_inline, print_func): Likewise.
1480 * find-prologues.c (handle_function): Likewise.
1481
14822005-10-27 Roland McGrath <roland@redhat.com>
1483
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001484 * run-find-prologues.sh: New file.
1485 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1486
1487 * find-prologues.c (handle_function): Skip inlines.
1488
14892005-10-25 Roland McGrath <roland@redhat.com>
1490
1491 * find-prologues.c: New file.
1492 * Makefile.am (noinst_PROGRAMS): Add it.
1493 (find_prologues_LDADD): New variable.
1494
Ulrich Drepper3bbc9502005-09-02 20:29:56 +000014952005-09-02 Ulrich Drepper <drepper@redhat.com>
1496
1497 * run-strings-test.sh: Remove strings.out in the end.
1498
Ulrich Drepper7d65d012005-08-31 15:14:26 +000014992005-08-31 Ulrich Drepper <drepper@redhat.com>
1500
1501 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
1502 * run-allfcts.sh: Likewise.
1503 * run-ecp-test.sh: Likewise.
1504 * run-ecp-test2.sh: Likewise.
1505 * run-elflint-test.sh: Likewise.
1506 * run-funcscopes.sh: Likewise.
1507 * run-get-aranges.sh: Likewise.
1508 * run-get-files.sh: Likewise.
1509 * run-get-lines.sh: Likewise.
1510 * run-get-pubnames.sh: Likewise.
1511 * run-line2addr.sh: Likewise.
1512 * run-ranlib-test2.sh: Likewise.
1513 * run-show-abbrev.sh: Likewise.
1514 * run-show-ciefde.sh: Likewise.
1515 * run-show-die-info.sh: Likewise.
1516 * run-strings-test.sh: Likewise.
1517 * run-strip-test.sh: Likewise.
1518
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +000015192005-08-30 Ulrich Drepper <drepper@redhat.com>
1520
1521 * coverage.sh: Handle case where there is no .gcno file at all.
1522
Ulrich Drepper39cec7a2005-08-30 01:22:01 +000015232005-08-29 Ulrich Drepper <drepper@redhat.com>
1524
1525 * Makefile.am (EXTRA_DIST): Add coverage.
1526 [GCOV]: Generate coverage summary after the tests ran
1527 * coverage.sh: New file.
1528
Ulrich Drepperfbe998a2005-08-29 16:27:10 +000015292005-08-28 Ulrich Drepper <drepper@redhat.com>
1530
1531 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
1532 (CLEANFILES): Add *.gcno *.gcda *.gconv.
1533
15342005-08-28 Ulrich Drepper <drepper@redhat.com>
1535
1536 * run-strings-test.sh: New file.
1537 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1538
Roland McGrath71e15a02005-08-27 10:33:26 +000015392005-08-27 Roland McGrath <roland@redhat.com>
1540
Roland McGrathb0bc2782005-08-27 21:07:16 +00001541 * addrscopes.c (handle_address): Apply bias to PC addresses.
1542
Roland McGrath71e15a02005-08-27 10:33:26 +00001543 * run-funcscopes.sh: New file.
1544 * testfile25.bz2: New data file.
1545 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1546
15472005-08-26 Roland McGrath <roland@redhat.com>
1548
1549 * addrscopes.c (dwarf_diename_integrate): Removed.
1550 (print_vars, handle_address): Use plain dwarf_diename.
1551
15522005-08-25 Roland McGrath <roland@redhat.com>
1553
1554 * funcscopes.c: New file.
1555 * Makefile.am (noinst_PROGRAMS): Add it.
1556 (funcscopes_LDADD): New variable.
1557
1558 * run-addrscopes.sh: Add another case.
1559 * testfile24.bz2: New data file.
1560 * Makefile.am (EXTRA_DIST): Add it.
1561
1562 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
1563 pass it to dwarf_getscopes.
1564 (main): Pass it, true when '=' follows an address.
1565
Roland McGrath4c305da2005-08-25 01:49:35 +000015662005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +00001567
Roland McGrath4c305da2005-08-25 01:49:35 +00001568 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +00001569
Ulrich Drepper2eb660f2005-08-24 19:47:57 +000015702005-08-24 Ulrich Drepper <drepper@redhat.com>
1571
Ulrich Drepper958bf132005-08-24 21:40:55 +00001572 * run-line2addr.sh: Remove testfile23 in the end.
1573
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001574 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +00001575 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001576
Roland McGrathd17fac72005-08-23 08:20:21 +000015772005-08-22 Roland McGrath <roland@redhat.com>
1578
1579 * run-line2addr.sh: Add a case.
1580 * testfile23.bz2: New data file.
1581 * Makefile.am (EXTRA_DIST): Add it.
1582
Roland McGrath9a1f3652005-08-18 20:57:04 +000015832005-08-18 Roland McGrath <roland@redhat.com>
1584
Roland McGrathf5fda7d2005-08-18 22:01:57 +00001585 * run-addrscopes.sh: New file.
1586 * testfile22.bz2: New data file.
1587 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1588
Roland McGrath9a1f3652005-08-18 20:57:04 +00001589 * addrscopes.c: New file.
1590 * Makefile.am (noinst_PROGRAMS): Add it.
1591 (addrscopes_LDADD): New variable.
1592
Ulrich Drepper837b5222005-08-16 05:12:01 +000015932005-08-15 Ulrich Drepper <drepper@redhat.com>
1594
1595 * run-elflint-self.sh: Don't run test if the file doesn't exist.
1596
Roland McGrath1ecb6062005-08-15 09:53:04 +000015972005-08-15 Roland McGrath <roland@redhat.com>
1598
1599 * dwflmodtest.c (print_instance, print_inline): New functions.
1600 (print_func): Call print_inline.
1601 (options, parse_opt): Grok -i/--inlines.
1602
Roland McGrath8d18c292005-08-07 21:42:07 +000016032005-08-07 Roland McGrath <roland@redhat.com>
1604
1605 * dwflmodtest.c: Print function details only if -f flag is given.
1606
Ulrich Drepper47be7952005-08-07 04:41:39 +000016072005-08-06 Ulrich Drepper <drepper@redhat.com>
1608
Ulrich Drepper637963b2005-08-07 05:33:07 +00001609 * run-elflint-self.sh: New file.
1610 * Makefile.am (TESTS): Add run-elflint-self.sh.
1611 (EXTRA_DIST): Likewise.
1612
Ulrich Drepper47be7952005-08-07 04:41:39 +00001613 * Makefile.am: Link with statis libs if BUILD_STATIC.
1614 (dwflmodtest_LDADD): Also link with -ldl.
1615
Ulrich Drepper41de4882005-08-03 00:02:56 +000016162005-08-02 Ulrich Drepper <drepper@redhat.com>
1617
Ulrich Dreppera38998e2005-08-03 02:05:39 +00001618 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
1619 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
1620 library first.
1621 * asm-tst2.c: Likewise.
1622 * asm-tst3.c: Likewise.
1623 * asm-tst4.c: Likewise.
1624 * asm-tst5.c: Likewise.
1625 * asm-tst6.c: Likewise.
1626 * asm-tst7.c: Likewise.
1627 * asm-tst8.c: Likewise.
1628 * asm-tst9.c: Likewise.
1629
Ulrich Drepper41de4882005-08-03 00:02:56 +00001630 * msg_tst.c: Add new error message.
1631
Ulrich Drepper18618fd2005-07-28 21:29:22 +000016322005-07-28 Ulrich Drepper <drepper@redhat.com>
1633
1634 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
1635
Roland McGrathd17fac72005-08-23 08:20:21 +000016362005-06-01 Roland McGrath <roland@redhat.com>
1637
1638 * line2addr.c: Rewritten using libdwfl.
1639 * run-line2addr.sh: Update test for changed arguments.
1640 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
1641 (libdwfl): New variable.
1642 (line2addr_LDADD): Use it.
1643
Roland McGrath18385902005-07-28 07:12:38 +000016442005-07-28 Roland McGrath <roland@redhat.com>
1645
1646 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
1647 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
1648 (dwflmodtest_LDADD): New variable.
1649 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
1650
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000016512005-07-21 Ulrich Drepper <drepper@redhat.com>
1652
1653 * testfile18.bz2: New file.
1654 * run-elflint-test.sh: New file.
1655 * Makefile.am (TESTS): Add run-elflint-test.sh.
1656 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1657
16582005-05-24 Ulrich Drepper <drepper@redhat.com>
1659
1660 * get-files.c (main): Use correct format specifier.
1661
16622005-05-21 Ulrich Drepper <drepper@redhat.com>
1663
1664 * Makefile.am: Add -Wextra to CFLAGS.
1665 * get-files.c: Remove warning this produced.
1666 * get-pubnames.c: Likewise.
1667 * newfile.c: Likewise.
1668 * newscn.c: Likewise.
1669 * scnnames.c: Likewise.
1670 * showptable.c: Likewise.
1671 * test-nlist.c: Likewise.
1672 * update1.c: Likewise.
1673 * update2.c: Likewise.
1674 * update3.c: Likewise.
1675 * update4.c: Likewise.
1676
16772005-05-08 Ulrich Drepper <drepper@redhat.com>
1678
1679 * run-line2addr.sh: Remove testfile14 at the end.
1680
Ulrich Drepper282bf322005-07-28 21:49:05 +00001681 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001682
1683 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
1684 .bz, not .bz2.
1685
16862005-05-03 Roland McGrath <roland@redhat.com>
1687
1688 * run-strip-test.sh: Use variables for test file names.
1689 Optionally produce separate debug file and check it.
1690 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
1691 * run-strip-test3.sh: Likewise.
1692 * run-strip-test4.sh: New file.
1693 * run-strip-test5.sh: New file.
1694 * run-strip-test6.sh: New file.
1695 * testfile15.bz: New file.
1696 * testfile15.debug.bz: New file.
1697 * testfile16.bz: New file.
1698 * testfile16.debug.bz: New file.
1699 * testfile17.bz: New file.
1700 * testfile17.debug.bz: New file.
1701 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1702
17032005-04-25 Ulrich Drepper <drepper@redhat.com>
1704
1705 * run-line2addr.sh: Also use testfile14. Adjust for correct
1706 return of multiple matches.
1707 * testfile14.bz2: New file.
1708 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
1709
1710 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
1711
Roland McGrath87d47802007-07-16 22:23:37 +000017122005-04-04 Roland McGrath <roland@redhat.com>
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001713
1714 * line2addr.c (main): Initialize LINES and NLINES before calling
1715 dwarf_getsrc_file, and free LINES afterwards.
1716
1717 * allfcts.c (main): Use size_t for CUHL.
1718
17192005-04-04 Ulrich Drepper <drepper@redhat.com>
1720
1721 * line2addr.c: New file.
1722 * run-line2addr.sh: New file.
1723 * Makefile.am: Add rules to build, run, and distribute new code.
1724
17252005-04-02 Ulrich Drepper <drepper@redhat.com>
1726
1727 * allfcts.c: New file.
1728 * run-allfcts.sh: New file.
1729 * Makefile.am: Add rules to build, run, and distribute new code.
1730
17312005-02-05 Ulrich Drepper <drepper@redhat.com>
1732
1733 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
1734 programs with -lmudflap.
1735
17362004-09-25 Ulrich Drepper <drepper@redhat.com>
1737
1738 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
1739 * asm-tst5.c (main): Likewise.
1740 * asm-tst6.c (main): Likewise.
1741
17422004-01-17 Ulrich Drepper <drepper@redhat.com>
1743
1744 * Makefile.am: Support building with mudflap.
1745
17462004-01-12 Ulrich Drepper <drepper@redhat.com>
1747
1748 * get-aranges.c: Rewrite to use libdw.
1749 * Makefile.am: Reenable get-aranges test.
1750
17512004-01-11 Ulrich Drepper <drepper@redhat.com>
1752
1753 * get-lines.c: New file.
1754 * get-files.c: Adjust for libdw.
1755 * run-get-files.sh: Adjust expected result.
1756 * run-get-lines.sh: Likewise.
1757 * Makefile.am: Run get-lines test. Don't run get-aranges and
1758 get-ciefde test for now.
1759
1760 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
1761 change. Print attribute offset information.
1762 * run-show-abbrev.sh: Adjust expected output.
1763
17642004-01-09 Ulrich Drepper <drepper@redhat.com>
1765
1766 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
1767 * show-die-info.c: Likewise.
1768 * run-show-die-info.sh: Adjust expected output.
1769
17702003-08-13 Ulrich Drepper <drepper@redhat.com>
1771
1772 * Makefile.in: Depend on libebl.a, not libebl.so.
1773
17742003-08-11 Ulrich Drepper <drepper@redhat.com>
1775
1776 * Moved to CVS archive.