blob: d2e38759cad2b118722cbb99375efec6110930de [file] [log] [blame]
Roland McGrathba72ab12005-12-12 00:04:33 +000012005-12-10 Ulrich Drepper <drepper@redhat.com
2
3 * run-readelf-test1.sh: New file.
4 * Makefile.am (TESTS): Add run-readelf-test1.sh.
5 (EXTRA_DIST): Likewise.
6
Roland McGrathd804e722005-12-08 01:35:42 +000072005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00008
Roland McGrathd804e722005-12-08 01:35:42 +00009 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +000010
Roland McGrath994b4892005-12-05 22:46:21 +0000112005-11-25 Roland McGrath <roland@redhat.com>
12
13 * coverage.sh: Given -v argument, print names of unused files.
14
15 * addrscopes.c (main): Use dwfl_end before return.
16 * allregs.c (main): Likewise.
17 * find-prologues.c (main): Likewise.
18 * funcretval.c (main): Likewise.
19 * funcscopes.c (main): Likewise.
20 * line2addr.c (main): Likewise.
21
22 * run-allregs.sh: New file.
23 * Makefile.am (TESTS, EXTRA_DIST): Add it.
24
25 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
26 * Makefile.am (allregs_LDADD): Updated.
27
28 * allregs.c: New file.
29 * Makefile.am (noinst_PROGRAMS): Add it.
30 (allregs_LDADD): New variable.
31
Roland McGrath9365d2c2005-11-18 23:55:47 +0000322005-11-18 Roland McGrath <roland@redhat.com>
33
34 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
35 * test-wrapper.sh: Likewise.
36
Roland McGrath575dd392005-11-18 01:41:52 +0000372005-11-17 Roland McGrath <roland@redhat.com>
38
Roland McGrathaf74f5c2005-11-18 02:25:14 +000039 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
40 environment for test-wrapper.sh.
41 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
42 * test-subr.sh (installed_testrun): Likewise.
43 Use explicit path in ${bindir}.
44
Roland McGrath575dd392005-11-18 01:41:52 +000045 * Makefile.am (installcheck-local): Fix typo in last change.
46
Roland McGrathd7f8d0c2005-11-17 02:32:03 +0000472005-11-16 Roland McGrath <roland@redhat.com>
48
49 * configure.ac: New file, for standalone build/dist of test suite.
50 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
51 (asm_TESTS): New variable, broken out of ...
52 (TESTS): ... here. Also remove msg_tst.
53 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
54 (installed_TESTS_ENVIRONMENT): New variable.
55 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
56 [!STANDALONE] (installcheck-local): Likewise.
57 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
58 * addrscopes.c: Include <config.h>.
59 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
60 * allfcts.c: Likewise.
61 * asm-tst1.c: Likewise.
62 * asm-tst2.c: Likewise.
63 * asm-tst3.c: Likewise.
64 * asm-tst4.c: Likewise.
65 * asm-tst5.c: Likewise.
66 * asm-tst6.c: Likewise.
67 * asm-tst7.c: Likewise.
68 * asm-tst8.c: Likewise.
69 * asm-tst9.c: Likewise.
70 * dwflmodtest.c: Likewise.
71 * find-prologues.c: Likewise.
72 * funcscopes.c: Likewise.
73 * get-aranges.c: Likewise.
74 * get-files.c: Likewise.
75 * get-lines.c: Likewise.
76 * get-pubnames.c: Likewise.
77 * line2addr.c: Likewise.
78 * newscn.c: Likewise.
79 * show-abbrev.c: Likewise.
80 * show-die-info.c: Likewise.
81 * update3.c: Likewise.
82 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +000083 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000084
85 * dwflmodtest.c (print_instance): Don't use INTUSE.
86 (options): Don't use N_ macro.
87
Roland McGrath1b8b4462005-11-16 01:33:38 +0000882005-11-15 Roland McGrath <roland@redhat.com>
89
Roland McGrathe47ab762005-11-17 03:16:00 +000090 * coverage.sh: Look in backends.
91 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
92 (TESTS_ENVIRONMENT): Likewise.
93
94 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
95 pass FUNCDIE direclty to dwfl_module_return_value_location.
96
Roland McGrath1b8b4462005-11-16 01:33:38 +000097 * Makefile.am (BUILD_RPATH): New variable.
98 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
99 (tests_rpath): New variable.
100 (installcheck-local): Pass it to test-wrapper.sh.
101 * test-wrapper.sh: In "installed" format, take yes/no value
102 for elfutils_tests_rpath, which export. When running a test
103 binary for installcheck, exit 77.
104 * test-subr.sh (installed_testrun): When running a test binary
105 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
106
1072005-11-14 Roland McGrath <roland@redhat.com>
108
109 * test-subr.sh: New file.
110 * test-wrapper.sh: New file.
111 * Makefile.am (EXTRA_DIST): Add them.
112 (AM_LDFLAGS): Variable removed.
113 (TESTS_ENVIRONMENT): New variable.
114 (installcheck-local): New target.
115 * run-addrscopes.sh: Use test-subr.sh.
116 * run-allfcts.sh: Likewise.
117 * run-ecp-test.sh: Likewise.
118 * run-ecp-test2.sh: Likewise.
119 * run-elflint-self.sh: Likewise.
120 * run-elflint-test.sh: Likewise.
121 * run-find-prologues.sh: Likewise.
122 * run-funcscopes.sh: Likewise.
123 * run-get-aranges.sh: Likewise.
124 * run-get-files.sh: Likewise.
125 * run-get-lines.sh: Likewise.
126 * run-get-pubnames.sh: Likewise.
127 * run-line2addr.sh: Likewise.
128 * run-ranlib-test.sh: Likewise.
129 * run-ranlib-test2.sh: Likewise.
130 * run-show-abbrev.sh: Likewise.
131 * run-show-ciefde.sh: Likewise.
132 * run-show-die-info.sh: Likewise.
133 * run-strings-test.sh: Likewise.
134 * run-strip-test.sh: Likewise.
135
Roland McGrathe47ab762005-11-17 03:16:00 +00001362005-11-13 Roland McGrath <roland@redhat.com>
137
138 * funcretval.c: New file.
139 * Makefile.am (noinst_PROGRAMS): Add it.
140 (funcretval_LDADD): New variable.
141
Ulrich Drepper3840c1c2005-11-09 16:13:48 +00001422005-11-09 Ulrich Drepper <drepper@redhat.com>
143
144 * line2addr.c (handle_module): Add missing parameter to printf.
145
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001462005-10-27 Roland McGrath <roland@redhat.com>
147
Roland McGrath6724c902005-10-28 07:07:19 +0000148 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
149 * funcscopes.c (handle_function): Likewise.
150 * dwflmodtest.c (print_inline, print_func): Likewise.
151 * find-prologues.c (handle_function): Likewise.
152
1532005-10-27 Roland McGrath <roland@redhat.com>
154
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000155 * run-find-prologues.sh: New file.
156 * Makefile.am (TESTS, EXTRA_DIST): Add it.
157
158 * find-prologues.c (handle_function): Skip inlines.
159
1602005-10-25 Roland McGrath <roland@redhat.com>
161
162 * find-prologues.c: New file.
163 * Makefile.am (noinst_PROGRAMS): Add it.
164 (find_prologues_LDADD): New variable.
165
Ulrich Drepper3bbc9502005-09-02 20:29:56 +00001662005-09-02 Ulrich Drepper <drepper@redhat.com>
167
168 * run-strings-test.sh: Remove strings.out in the end.
169
Ulrich Drepper7d65d012005-08-31 15:14:26 +00001702005-08-31 Ulrich Drepper <drepper@redhat.com>
171
172 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
173 * run-allfcts.sh: Likewise.
174 * run-ecp-test.sh: Likewise.
175 * run-ecp-test2.sh: Likewise.
176 * run-elflint-test.sh: Likewise.
177 * run-funcscopes.sh: Likewise.
178 * run-get-aranges.sh: Likewise.
179 * run-get-files.sh: Likewise.
180 * run-get-lines.sh: Likewise.
181 * run-get-pubnames.sh: Likewise.
182 * run-line2addr.sh: Likewise.
183 * run-ranlib-test2.sh: Likewise.
184 * run-show-abbrev.sh: Likewise.
185 * run-show-ciefde.sh: Likewise.
186 * run-show-die-info.sh: Likewise.
187 * run-strings-test.sh: Likewise.
188 * run-strip-test.sh: Likewise.
189
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +00001902005-08-30 Ulrich Drepper <drepper@redhat.com>
191
192 * coverage.sh: Handle case where there is no .gcno file at all.
193
Ulrich Drepper39cec7a2005-08-30 01:22:01 +00001942005-08-29 Ulrich Drepper <drepper@redhat.com>
195
196 * Makefile.am (EXTRA_DIST): Add coverage.
197 [GCOV]: Generate coverage summary after the tests ran
198 * coverage.sh: New file.
199
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00002002005-08-28 Ulrich Drepper <drepper@redhat.com>
201
202 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
203 (CLEANFILES): Add *.gcno *.gcda *.gconv.
204
2052005-08-28 Ulrich Drepper <drepper@redhat.com>
206
207 * run-strings-test.sh: New file.
208 * Makefile.am (TESTS, EXTRA_DIST): Add it.
209
Roland McGrath71e15a02005-08-27 10:33:26 +00002102005-08-27 Roland McGrath <roland@redhat.com>
211
Roland McGrathb0bc2782005-08-27 21:07:16 +0000212 * addrscopes.c (handle_address): Apply bias to PC addresses.
213
Roland McGrath71e15a02005-08-27 10:33:26 +0000214 * run-funcscopes.sh: New file.
215 * testfile25.bz2: New data file.
216 * Makefile.am (TESTS, EXTRA_DIST): Add them.
217
2182005-08-26 Roland McGrath <roland@redhat.com>
219
220 * addrscopes.c (dwarf_diename_integrate): Removed.
221 (print_vars, handle_address): Use plain dwarf_diename.
222
2232005-08-25 Roland McGrath <roland@redhat.com>
224
225 * funcscopes.c: New file.
226 * Makefile.am (noinst_PROGRAMS): Add it.
227 (funcscopes_LDADD): New variable.
228
229 * run-addrscopes.sh: Add another case.
230 * testfile24.bz2: New data file.
231 * Makefile.am (EXTRA_DIST): Add it.
232
233 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
234 pass it to dwarf_getscopes.
235 (main): Pass it, true when '=' follows an address.
236
Roland McGrath4c305da2005-08-25 01:49:35 +00002372005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +0000238
Roland McGrath4c305da2005-08-25 01:49:35 +0000239 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +0000240
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00002412005-08-24 Ulrich Drepper <drepper@redhat.com>
242
Ulrich Drepper958bf132005-08-24 21:40:55 +0000243 * run-line2addr.sh: Remove testfile23 in the end.
244
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000245 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +0000246 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000247
Roland McGrathd17fac72005-08-23 08:20:21 +00002482005-08-22 Roland McGrath <roland@redhat.com>
249
250 * run-line2addr.sh: Add a case.
251 * testfile23.bz2: New data file.
252 * Makefile.am (EXTRA_DIST): Add it.
253
Roland McGrath9a1f3652005-08-18 20:57:04 +00002542005-08-18 Roland McGrath <roland@redhat.com>
255
Roland McGrathf5fda7d2005-08-18 22:01:57 +0000256 * run-addrscopes.sh: New file.
257 * testfile22.bz2: New data file.
258 * Makefile.am (TESTS, EXTRA_DIST): Add them.
259
Roland McGrath9a1f3652005-08-18 20:57:04 +0000260 * addrscopes.c: New file.
261 * Makefile.am (noinst_PROGRAMS): Add it.
262 (addrscopes_LDADD): New variable.
263
Ulrich Drepper837b5222005-08-16 05:12:01 +00002642005-08-15 Ulrich Drepper <drepper@redhat.com>
265
266 * run-elflint-self.sh: Don't run test if the file doesn't exist.
267
Roland McGrath1ecb6062005-08-15 09:53:04 +00002682005-08-15 Roland McGrath <roland@redhat.com>
269
270 * dwflmodtest.c (print_instance, print_inline): New functions.
271 (print_func): Call print_inline.
272 (options, parse_opt): Grok -i/--inlines.
273
Roland McGrath8d18c292005-08-07 21:42:07 +00002742005-08-07 Roland McGrath <roland@redhat.com>
275
276 * dwflmodtest.c: Print function details only if -f flag is given.
277
Ulrich Drepper47be7952005-08-07 04:41:39 +00002782005-08-06 Ulrich Drepper <drepper@redhat.com>
279
Ulrich Drepper637963b2005-08-07 05:33:07 +0000280 * run-elflint-self.sh: New file.
281 * Makefile.am (TESTS): Add run-elflint-self.sh.
282 (EXTRA_DIST): Likewise.
283
Ulrich Drepper47be7952005-08-07 04:41:39 +0000284 * Makefile.am: Link with statis libs if BUILD_STATIC.
285 (dwflmodtest_LDADD): Also link with -ldl.
286
Ulrich Drepper41de4882005-08-03 00:02:56 +00002872005-08-02 Ulrich Drepper <drepper@redhat.com>
288
Ulrich Dreppera38998e2005-08-03 02:05:39 +0000289 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
290 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
291 library first.
292 * asm-tst2.c: Likewise.
293 * asm-tst3.c: Likewise.
294 * asm-tst4.c: Likewise.
295 * asm-tst5.c: Likewise.
296 * asm-tst6.c: Likewise.
297 * asm-tst7.c: Likewise.
298 * asm-tst8.c: Likewise.
299 * asm-tst9.c: Likewise.
300
Ulrich Drepper41de4882005-08-03 00:02:56 +0000301 * msg_tst.c: Add new error message.
302
Ulrich Drepper18618fd2005-07-28 21:29:22 +00003032005-07-28 Ulrich Drepper <drepper@redhat.com>
304
305 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
306
Roland McGrathd17fac72005-08-23 08:20:21 +00003072005-06-01 Roland McGrath <roland@redhat.com>
308
309 * line2addr.c: Rewritten using libdwfl.
310 * run-line2addr.sh: Update test for changed arguments.
311 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
312 (libdwfl): New variable.
313 (line2addr_LDADD): Use it.
314
Roland McGrath18385902005-07-28 07:12:38 +00003152005-07-28 Roland McGrath <roland@redhat.com>
316
317 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
318 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
319 (dwflmodtest_LDADD): New variable.
320 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
321
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00003222005-07-21 Ulrich Drepper <drepper@redhat.com>
323
324 * testfile18.bz2: New file.
325 * run-elflint-test.sh: New file.
326 * Makefile.am (TESTS): Add run-elflint-test.sh.
327 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
328
3292005-05-24 Ulrich Drepper <drepper@redhat.com>
330
331 * get-files.c (main): Use correct format specifier.
332
3332005-05-21 Ulrich Drepper <drepper@redhat.com>
334
335 * Makefile.am: Add -Wextra to CFLAGS.
336 * get-files.c: Remove warning this produced.
337 * get-pubnames.c: Likewise.
338 * newfile.c: Likewise.
339 * newscn.c: Likewise.
340 * scnnames.c: Likewise.
341 * showptable.c: Likewise.
342 * test-nlist.c: Likewise.
343 * update1.c: Likewise.
344 * update2.c: Likewise.
345 * update3.c: Likewise.
346 * update4.c: Likewise.
347
3482005-05-08 Ulrich Drepper <drepper@redhat.com>
349
350 * run-line2addr.sh: Remove testfile14 at the end.
351
Ulrich Drepper282bf322005-07-28 21:49:05 +0000352 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000353
354 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
355 .bz, not .bz2.
356
3572005-05-03 Roland McGrath <roland@redhat.com>
358
359 * run-strip-test.sh: Use variables for test file names.
360 Optionally produce separate debug file and check it.
361 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
362 * run-strip-test3.sh: Likewise.
363 * run-strip-test4.sh: New file.
364 * run-strip-test5.sh: New file.
365 * run-strip-test6.sh: New file.
366 * testfile15.bz: New file.
367 * testfile15.debug.bz: New file.
368 * testfile16.bz: New file.
369 * testfile16.debug.bz: New file.
370 * testfile17.bz: New file.
371 * testfile17.debug.bz: New file.
372 * Makefile.am (TESTS, EXTRA_DIST): Add them.
373
3742005-04-25 Ulrich Drepper <drepper@redhat.com>
375
376 * run-line2addr.sh: Also use testfile14. Adjust for correct
377 return of multiple matches.
378 * testfile14.bz2: New file.
379 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
380
381 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
382
3832005-04-04 Roland McGrath <roland@frob.com>
384
385 * line2addr.c (main): Initialize LINES and NLINES before calling
386 dwarf_getsrc_file, and free LINES afterwards.
387
388 * allfcts.c (main): Use size_t for CUHL.
389
3902005-04-04 Ulrich Drepper <drepper@redhat.com>
391
392 * line2addr.c: New file.
393 * run-line2addr.sh: New file.
394 * Makefile.am: Add rules to build, run, and distribute new code.
395
3962005-04-02 Ulrich Drepper <drepper@redhat.com>
397
398 * allfcts.c: New file.
399 * run-allfcts.sh: New file.
400 * Makefile.am: Add rules to build, run, and distribute new code.
401
4022005-02-05 Ulrich Drepper <drepper@redhat.com>
403
404 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
405 programs with -lmudflap.
406
4072004-09-25 Ulrich Drepper <drepper@redhat.com>
408
409 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
410 * asm-tst5.c (main): Likewise.
411 * asm-tst6.c (main): Likewise.
412
4132004-01-17 Ulrich Drepper <drepper@redhat.com>
414
415 * Makefile.am: Support building with mudflap.
416
4172004-01-12 Ulrich Drepper <drepper@redhat.com>
418
419 * get-aranges.c: Rewrite to use libdw.
420 * Makefile.am: Reenable get-aranges test.
421
4222004-01-11 Ulrich Drepper <drepper@redhat.com>
423
424 * get-lines.c: New file.
425 * get-files.c: Adjust for libdw.
426 * run-get-files.sh: Adjust expected result.
427 * run-get-lines.sh: Likewise.
428 * Makefile.am: Run get-lines test. Don't run get-aranges and
429 get-ciefde test for now.
430
431 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
432 change. Print attribute offset information.
433 * run-show-abbrev.sh: Adjust expected output.
434
4352004-01-09 Ulrich Drepper <drepper@redhat.com>
436
437 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
438 * show-die-info.c: Likewise.
439 * run-show-die-info.sh: Adjust expected output.
440
4412003-08-13 Ulrich Drepper <drepper@redhat.com>
442
443 * Makefile.in: Depend on libebl.a, not libebl.so.
444
4452003-08-11 Ulrich Drepper <drepper@redhat.com>
446
447 * Moved to CVS archive.