blob: 798bb7aee8d04da596dfe2025331011ea4e0a773 [file] [log] [blame]
Mark Wielaard5691f862014-11-10 14:49:20 +010012014-11-10 Mark Wielaard <mjw@redhat.com>
2
3 * vdsosyms.c: New test.
4 * Makefile.am (check_PROGRAMS): Add vdsosyms.
5 (TESTS): Likewise.
6 (vdsosyms_LDADD): New variable.
7
Petr Machata0a1e81b2014-10-17 02:47:15 +020082014-09-10 Petr Machata <pmachata@redhat.com>
9
10 * dwarf-getmacros.c: Update to use the new macro iteration
11 interfaces.
12 * run-dwarf-getmacros.sh: Adjust, add a test that uses
13 testfile-macros.
14
Mark Wielaard3a36e8a2014-10-06 22:00:16 +0200152014-10-06 Mark Wielaard <mjw@redhat.com>
16
17 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
18 * testfile-sizes3.o.bz2: New test file.
19 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
20
Mark Wielaardb50014f2014-10-02 14:00:47 +0200212014-10-02 Mark Wielaard <mjw@redhat.com>
22
Mark Wielaard281ebd72014-10-02 22:53:44 +020023 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
24
252014-10-02 Mark Wielaard <mjw@redhat.com>
26
Mark Wielaardb50014f2014-10-02 14:00:47 +020027 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
28 (TESTS): Add run-aggregate-size.sh.
29 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
30 and testfile-sizes2.o.bz2.
31 (aggregate_size_LDADD): New variable.
32 * aggregate_size.c: New file.
33 * run-aggregate-size.sh: New test.
34 * testfile-sizes1.o.bz2: New test file.
35 * testfile-sizes2.o.bz2: Likewise.
36
Jan Kratochvil6d48bbf2014-09-26 22:42:19 +0200372014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 Support NT_FILE for locating files.
40 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
41 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
42 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
43 * linkmap-cut-lib.so.bz2: New file.
44 * linkmap-cut.bz2: New file.
45 * linkmap-cut.core.bz2: New file.
46 * run-linkmap-cut.sh: New file.
47 * run-unstrip-n.sh: Update its expected output.
48
Jan Kratochvil03750562014-08-17 18:49:36 +0200492014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
50
51 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
52 (TESTS, EXTRA_DIST): Add run-deleted.sh.
53 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
54 * deleted-lib.c: New file.
55 * deleted.c: New file.
56 * run-deleted.sh: New file.
57
Mark Wielaard41362da2014-06-15 11:35:50 +0200582014-06-15 Mark Wielaard <mjw@redhat.com>
59
60 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
61
Mark Wielaardcb5ac6e2014-06-14 01:01:58 +0200622014-06-13 Mark Wielaard <mjw@redhat.com>
63
Mark Wielaard1986c172014-06-14 01:09:17 +020064 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
65 frame symname.
66
672014-06-13 Mark Wielaard <mjw@redhat.com>
68
Mark Wielaardcb5ac6e2014-06-14 01:01:58 +020069 * backtrace-subr.sh (check_native_unsupported): New function.
70 (check_native): Call it.
71 (check_native_core): Likewise.
72 * run-backtrace-dwarf.sh: Likewise.
73
Mark Wielaard14beac32014-06-11 15:14:23 +0200742014-06-11 Mark Wielaard <mjw@redhat.com>
75
76 * backtrace.c (main): Check that Dwfl was attached by calling
77 dwfl_pid and printing the error when it is not.
78
Mark Wielaard85482fc2014-05-18 22:41:19 +0200792014-05-18 Mark Wielaard <mjw@redhat.com>
80
81 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
82 (f): Likewise.
83 * testfile-backtrace-demangle.bz2: Regenerate.
84 * testfile-backtrace-demangle.core.bz2: Likewise.
85
Mark Wielaardbb096d02014-05-03 00:23:06 +0200862014-05-02 Mark Wielaard <mjw@redhat.com>
87
88 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
89 run-allfcts-multi.sh are now added unconditionally.
90
Mark Wielaarddf85bf92014-05-01 14:48:27 +0200912014-05-01 Mark Wielaard <mjw@redhat.com>
92
93 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
94 subdir.
95
Mark Wielaardd81d32d2014-04-30 23:00:40 +0200962014-04-30 Mark Wielaard <mjw@redhat.com>
97
98 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
99 * Makefile.am (check_PROGRAMS): Add buildid.
100 (TESTS): Add run-buildid.sh.
101 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
102 (buildid_LDADD): New variable.
103
Florian Weimer4813dbb2014-04-24 14:06:43 +02001042014-04-24 Florian Weimer <fweimer@redhat.com>
105
Florian Weimer22481652014-04-15 16:58:39 +0200106 * allfcts.c (setup_alt): New function.
107 (main): Call it. Implementation additional error checking and
108 reporting.
109
1102014-04-24 Florian Weimer <fweimer@redhat.com>
111
Florian Weimer4813dbb2014-04-24 14:06:43 +0200112 * debugaltlink.c, run-debugaltlink.sh: New files.
113 * Makefile.am (check_PROGRAMS): Add debugaltlink.
114 (TESTS): Add run-debugaltlink.sh.
115 (debugaltlink_LDADD): New variable.
116
Mark Wielaard93802972014-04-11 23:52:47 +02001172014-04-11 Mark Wielaard <mjw@redhat.com>
118
119 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
120 (check_PROGRAMS): Add debuglink.
121 (TESTS): Add run-debuglink.sh
122 (EXTRA_DIST): Likewise.
123 (debuglink_LDADD): New.
124 * debuglink.c: New file.
125 * run-debuglink.sh: Likewise.
126
Mark Wielaardfe4b5fd2014-04-23 09:54:30 +02001272014-03-23 Mark Wielaard <mjw@redhat.com>
128
129 * run-nm-self.sh: Use test = not == for string comparisons.
130
Kurt Roeckx02cefda2014-04-22 21:46:22 +02001312014-04-22 Kurt Roeckx <kurt@roeckx.be>
132
133 * backtrace.c: Make Linux only.
134 * backtrace-child.c: Make Linux only.
135 * backtrace-data.c: Make Linux only.
136 * backtrace-dwarf.c: Make Linux only.
137 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
138
Mark Wielaard32324792014-04-13 17:39:57 +02001392014-03-14 Mark Wielaard <mjw@redhat.com>
140
141 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
142 LDADD lines.
143 * configure.ac: Remove MUDFLAP conditional.
144
Mark Wielaardf7cdc742014-04-09 22:38:07 +02001452014-04-09 Mark Wielaard <mjw@redhat.com>
146
147 * run-readelf-zdebug.sh: New test.
148 * testfile-debug.bz2: New testfile.
149 * testfile-zdebug.bz2: New testfile.
150 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
151 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
152 testfile-zdebug.bz2.
153
Mark Wielaard110c2732014-04-10 15:02:53 +02001542014-04-10 Mark Wielaard <mjw@redhat.com>
155
156 * testfile_i686_core.bz2: New test file.
157 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
158 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
159
Mark Wielaard66637fa2014-04-09 11:48:23 +02001602014-04-09 Mark Wielaard <mjw@redhat.com>
161
162 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
163 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
164 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
165 * run-backtrace-core-aarch64.sh: New test.
166
Josh Stone51fff302014-03-11 18:13:55 -07001672014-03-11 Josh Stone <jistone@redhat.com>
168
169 * testfilebaxmin.bz2: New testfile.
170 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
171 * run-readelf-s.sh: Test testfilebaxmin.
172 * run-dwflsyms.sh: Likewise.
173
Mark Wielaard225dddf2014-01-26 20:16:48 +01001742014-01-26 Mark Wielaard <mjw@redhat.com>
175
176 * backtrace-subr.sh (check_unsupported): Special case arm*.
177
Mark Wielaarda02d90a2014-01-25 14:32:42 +01001782014-01-25 Mark Wielaard <mjw@redhat.com>
179
180 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
181 location expression: call_frame_cfa stack_value.
182
Mark Wielaardf48eb6b2014-01-23 00:56:41 +01001832014-01-22 Mark Wielaard <mjw@redhat.com>
184
185 * Makefile.am (line2addr_no_Wformat): Removed.
186
Mark Wielaard13968d92014-01-21 16:13:49 +01001872014-01-21 Mark Wielaard <mjw@redhat.com>
188
189 * Makefile.am (TESTS): Add run-stack-i-test.sh.
190 (EXTRA_DIST): Likewise.
191 * run-stack-i-test.sh: New test.
192
Mark Wielaard531a30a2014-01-20 23:09:26 +01001932014-01-20 Mark Wielaard <mjw@redhat.com>
194
195 * Makefile.am (TESTS): Add run-stack-d-test.sh.
196 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
197 testfiledwarfinlines.core.bz2.
198 * run-stack-d-test.sh: New test.
199 * testfiledwarfinlines.bz2: New test file.
200 * testfiledwarfinlines.core.bz2: Likewise.
201
Mark Wielaardd7cffa72014-01-16 09:45:51 +01002022014-01-16 Mark Wielaard <mjw@redhat.com>
203
Mark Wielaardc80375d2014-01-16 13:48:24 +0100204 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
205 on one ET_REL, one ET_EXEC and one ET_DYN file.
206 * test-subr.sh (self_test_files): Add two ET_REL files, only add
207 two libebl ET_DYN backend files.
208
2092014-01-16 Mark Wielaard <mjw@redhat.com>
210
Mark Wielaardd7cffa72014-01-16 09:45:51 +0100211 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
212
Jan Kratochvil435808a2014-01-18 21:56:13 +01002132014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
214
215 Fix false FAILs on testsuite with ulimit -c unlimited.
216 * backtrace-child.c (sigusr2): Call pthread_exit.
217 (main): Return, do not call abort.
218
Jan Kratochvil7c6e7852014-01-15 21:16:57 +01002192014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
220
221 Fix corruption of non-C++ symbols by the demangler.
222 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
223 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
224 (EXTRA_DIST): Add run-backtrace-demangle.sh,
225 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
226 testfile-backtrace-demangle.core.bz2.
227 * backtrace-demangle.cc: New file.
228 * run-backtrace-demangle.sh: New file.
229 * testfile-backtrace-demangle.bz2: New file.
230 * testfile-backtrace-demangle.cc: New file.
231 * testfile-backtrace-demangle.core.bz2: New file.
232
Matthias Klosee922ec42014-01-07 10:25:29 +01002332014-01-07 Matthias Klose <doko@ubuntu.com>
234
235 * backtrace-subr.sh (check_native_core): Check to see if core file
236 was created without ".PID" extension, if so mv core to core.PID.
237 Skip test if no core file was created or could be found.
238
Mark Wielaard4f1c96d2014-01-04 14:24:58 +01002392014-01-04 Mark Wielaard <mjw@redhat.com>
240
Mark Wielaard70c3a532014-01-04 23:28:33 +0100241 * backtrace-data.c (main): Don't assert if raise returns.
242 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
243 assume_ptrace_attached true.
244 (ptrace_detach_stopped): Removed function.
245 (main): Don't call ptrace_detach_stopped.
246 * backtrace.c (ptrace_detach_stopped): Removed function.
247 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
248 true.
249 (exec_dump): Don't call ptrace_detach_stopped.
250
2512014-01-04 Mark Wielaard <mjw@redhat.com>
252
Mark Wielaard1051a0c2014-01-04 15:41:04 +0100253 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
254 if we cannot adjust core ulimit.
255
2562014-01-04 Mark Wielaard <mjw@redhat.com>
257
Mark Wielaard4f1c96d2014-01-04 14:24:58 +0100258 * cleanup-13.c (force_unwind_stop): Removed.
259 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
260 don't call _Unwind_ForcedUnwind.
261
Mark Wielaardb92af192014-01-03 18:15:02 +01002622014-01-03 Mark Wielaard <mjw@redhat.com>
263
264 * run-addrcfi.sh: Add case for EM_AARCH64.
265 * testfileaarch64.bz2: New testfile.
266 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
267
Mark Wielaard19108012013-12-30 22:00:57 +01002682013-12-30 Mark Wielaard <mjw@redhat.com>
269
270 * backtrace-dwarf.c (report_pid): Explicitly call
271 dwfl_linux_proc_attach and check for errors.
272 * backtrace.c (report_pid): Likewise.
273
Mark Wielaardb6ef1ce2013-12-21 19:39:19 +01002742013-12-21 Mark Wielaard <mjw@redhat.com>
275
276 * backtrace.c (callback_verify): Only assert that case 5 is the last
277 instruction of backtracegen on x86_64 native.
278
Jan Kratochvilc6a41482013-12-17 18:49:54 +01002792013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Mark Wielaard159ac522013-12-18 11:05:54 +0100280 Mark Wielaard <mjw@redhat.com>
281
282 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
283 and testfilebaz*ppc64*.bz2 files.
284 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
285 error on dwfl_module_getsymtab error.
286 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
287 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
288 Also print section of actual value if different from sym.
289 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
290 Test addr2line -x by showing different sections for address and
291 found name in testfile66.
292 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
293 testfilebaz*ppc64): New tests.
294 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
295 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
296 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
297 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
298 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
299 testfilebaztabppc64.bz2: New test files.
300
3012013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvilc6a41482013-12-17 18:49:54 +0100302
303 unwinder: s390 and s390x
304 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
305 run-backtrace-core-s390.sh.
306 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
307 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
308 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
309 * backtrace.s390.core.bz2: New file.
310 * backtrace.s390.exec.bz2: New file.
311 * backtrace.s390x.core.bz2: New file.
312 * backtrace.s390x.exec.bz2: New file.
313 * run-backtrace-core-s390.sh: New file.
314 * run-backtrace-core-s390x.sh: New file.
315
Jan Kratochvilb3c810f2013-12-17 21:11:48 +01003162013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
317
318 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
319 code.
320
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +01003212013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 unwinder: ppc
324 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
325 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
326 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
327 * backtrace.ppc.core.bz2: New file.
328 * backtrace.ppc.exec.bz2: New file.
329 * run-backtrace-core-ppc.sh: New file.
330
Mark Wielaard7fc49292013-12-13 22:42:46 +01003312013-12-10 Mark Wielaard <mjw@redhat.com>
332
Mark Wielaard63572f42013-12-13 23:12:18 +0100333 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
334
3352013-12-10 Mark Wielaard <mjw@redhat.com>
336
Mark Wielaard7fc49292013-12-13 22:42:46 +0100337 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
338 * backtrace-subr.sh (check_native_core): Disable valgrind while
339 dumping core.
340 * run-backtrace-data.sh: Disable valgrind.
341 * run-backtrace-dwarf.sh: Likewise.
342
Mark Wielaard3951f2e2013-12-09 16:33:26 +01003432013-12-09 Mark Wielaard <mjw@redhat.com>
344
345 * varlocs.c (print_expr): Update comment to explain empty location
346 associated with DW_OP_GNU_implicit_pointer.
347
Jan Kratochvilf88863f2013-12-05 16:16:14 +01003482013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
349
350 Fix test FAIL with -O2.
351 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
352
Mark Wielaard813aae02013-12-05 15:26:51 +01003532013-12-05 Mark Wielaard <mjw@redhat.com>
354
355 * backtrace-data.c (main): If unsupported also print to stderr.
356 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
357
Mark Wielaard1bfab192013-12-04 20:55:23 +01003582013-12-04 Mark Wielaard <mjw@redhat.com>
359
360 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
361
Jan Kratochvil8ae9bc92013-12-02 20:54:28 +01003622013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
365 backtrace-data and backtrace-dwarf.
366 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
367 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
368 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
369 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
370 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
371 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
372 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
373 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
374 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
375 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
376 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
377 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
378 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
379 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
380 New.
381 * backtrace-child.c: New file.
382 * backtrace-data.c: New file.
383 * backtrace-dwarf.c: New file.
384 * backtrace-subr.sh: New file.
385 * backtrace.c: New file.
386 * cleanup-13.c: New file.
387 * backtrace.i386.core.bz2: New file.
388 * backtrace.i386.exec.bz2: New file.
389 * backtrace.x86_64.core.bz2: New file.
390 * backtrace.x86_64.exec.bz2: New file.
391 * run-backtrace-core-i386.sh: New file.
392 * run-backtrace-core-x86_64.sh: New file.
393 * run-backtrace-native-biarch.sh: New file.
394 * run-backtrace-native-core-biarch.sh: New file.
395 * run-backtrace-native-core.sh: New file.
396 * run-backtrace-native.sh: New file.
397 * run-backtrace-data.sh: New file.
398 * run-backtrace-dwarf.sh: New file.
399
Mark Wielaard819c3492013-11-27 16:45:44 +01004002013-11-27 Mark Wielaard <mjw@redhat.com>
401
402 * dwflsyms.c (gelf_bind_order): New function.
403 (elf_section_name): Likewise.
404 (addr_in_section): Likewise.
405 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
406 Refine assert using gelf_bind_order. Print elf_section_name. Check
407 bias with addr_in_section.
408 * run-dwflsyms.sh: Add section names to expected output.
409
Mark Wielaard0d5a8672013-11-26 10:44:18 +01004102013-11-26 Mark Wielaard <mjw@redhat.com>
411
412 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
413
Petr Machata98c8a732013-11-26 03:10:31 +01004142013-11-25 Petr Machata <pmachata@redhat.com>
415
416 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
417 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
418 * Makefile.am (EXTRA_DIST): Add these.
419 (TESTS): Add run-funcretval.sh.
420 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
421 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
422 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
423 * run-funcretval.sh: New file.
424
Josh Stonedb35c872013-11-18 14:29:35 -08004252013-11-18 Josh Stone <jistone@redhat.com>
426
427 * testfilebazdbg_plr.bz2: New testfile.
428 * testfilebazmin_plr.bz2: Likewise.
429 * Makefile.am (EXTRA_DIST): Add the above files.
430 * run-dwflsyms.sh: Add prelink -r tests.
431
Mark Wielaard68ce4fc2013-11-16 00:11:38 +01004322013-11-15 Mark Wielaard <mjw@redhat.com>
433
434 * testfilebazmdb.bz2: Regenerated.
435 * testfilebazmin.bz2: Likewise.
436 * testfilebazdbg_pl.bz2: New testfile.
437 * testfilebazmin_pl.bz2: Likewise.
438 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
439 testfilebazmin_pl.bz2.
440 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
441 print relative address of function symbols.
442 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
443
Michael Forneya45c8042013-11-01 00:51:04 -07004442013-11-01 Michael Forney <mforney@mforney.org>
445
446 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
447 * run-arsymtest.sh: Use NM.
448
Mark Wielaardd8c75df2013-11-05 11:27:19 +01004492013-11-05 Mark Wielaard <mjw@redhat.com>
450
451 * allfcts.c (main): Correct dwarf_getfuncs return value check.
452
Mark Wielaarde6a9bb82013-10-10 11:40:12 +02004532013-10-10 Mark Wielaard <mjw@redhat.com>
454 Josh Stone <jistone@redhat.com>
455
456 * run-allfcts-multi.sh: New test.
457 * test-offset-loop.bz2: New testfile.
458 * test-offset-loop.alt.bz2: New testfile.
459 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
460 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
461 test-offset-loop.alt.bz2.
462
Mark Wielaardd1829742013-10-15 23:53:32 +02004632013-10-15 Mark Wielaard <mjw@redhat.com>
464
465 * run-unstrip-M.sh: New test.
466 * Makefile.am (TESTS): Add run-unstrip-M.sh.
467 (EXTRA_DIST): Likewise.
468
Mark Wielaard3dec3e12013-10-06 17:04:07 +02004692013-10-06 Mark Wielaard <mjw@redhat.com>
470
471 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
472 location expression.
473
Josh Stone5dbbc5e2013-10-03 12:38:25 -07004742013-10-03 Josh Stone <jistone@redhat.com>
475
476 * typeiter2.c: New file, reversing typeiter.c.
477 * run-typeiter.sh: Also run typeiter2.
Mark Wielaardd1829742013-10-15 23:53:32 +0200478 * Makefile.am (check_PROGRAMS): Add typeiter2.
Josh Stone5dbbc5e2013-10-03 12:38:25 -0700479 (typeiter2_LDADD): New variable.
480
Petr Machataab224102013-09-26 00:39:34 +02004812013-09-26 Petr Machata <pmachata@redhat.com>
482
Petr Machata0c9ae0c2013-09-26 21:02:22 +0200483 * run-readelf-mixed-corenote.sh: Update output of testfile71
484 dump--readelf can newly decode the NT_FILE note.
485
4862013-09-26 Petr Machata <pmachata@redhat.com>
487
Petr Machataab224102013-09-26 00:39:34 +0200488 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
489 * run-readelf-mixed-corenote.sh: New test for this file.
490 * testfile71.bz2: New file.
491
Mark Wielaard1b734df2013-09-20 09:50:42 -04004922013-09-20 Mark Wielaard <mjw@redhat.com>
493
494 * allfcts.c (cb): Return DWARF_CB_ABORT.
495 (main): Iterate over all offsets returned by dwarf_getfuncs.
496 * run-allfcts.sh: Add nested_funcs and class_func testcases.
497 * testfile_nested_funcs.bz2: New test file.
498 * testfile_class_func.bz2: Likewise.
499 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
500 testfile_nested_funcs.bz2.
501
Mark Wielaard6e6e54e2013-08-31 00:52:12 +02005022013-08-30 Mark Wielaard <mjw@redhat.com>
503
504 * Makefile.am (check_PROGRAMS): Add varlocs.
505 (TESTS): Add run-varlocs.sh.
506 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
507 testfile_const_type.bz2, testfile_implicit_pointer.c,
508 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
509 testfile_entry_value.c, testfile_entry_value.bz2,
510 testfile_implicit_value.c and testfile_implicit_value.bz2.
511 (varlocs_LDADD): New.
512 * run-varlocs: New test.
513 * testfile_const_type.c: New test source file.
514 * testfile_entry_value.c: Likewise.
515 * testfile_implicit_pointer.c: Likewise.
516 * testfile_implicit_value.c: Likewise.
517 * testfile_parameter_ref.c: Likewise.
518 * testfile_const_type.bz2: New test file.
519 * testfile_entry_value.bz2: Likewise.
520 * testfile_implicit_pointer.bz2: Likewise.
521 * testfile_implicit_value.bz2: Likewise.
522 * testfile_parameter_ref.bz2: Likewise.
523 * varlocs.c: New test source.
524
Mark Wielaard92e47d62013-09-02 16:46:50 +02005252013-08-29 Mark Wielaard <mjw@redhat.com>
526
527 * run-addrcfi.sh: Add case for EM_ARM.
528 * testfilearm.bz2: New testfile.
529 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
530
Mark Wielaardd3f16452013-08-28 18:10:44 +02005312013-08-28 Mark Wielaard <mjw@redhat.com>
532
Mark Wielaard79b91812013-08-28 21:54:58 +0200533 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
534 completely missing.
535 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
536 * testfiles390.bz2: New testfile.
537 * testfiles390x.bz2: Likewise.
538 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
539 testfiles390x.bz2.
540
5412013-08-28 Mark Wielaard <mjw@redhat.com>
542
Mark Wielaardd3f16452013-08-28 18:10:44 +0200543 * addrcfi.c (handle_cfi): Use printf not error.
544 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
545 * testfileppc32.bz2: New testfile.
546 * testfileppc64.bz2: Likewise.
547 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
548 testfileppc64.bz2.
549
Mark Wielaard292b1782013-08-27 15:40:56 +02005502013-08-27 Mark Wielaard <mjw@redhat.com>
551
552 * run-addrcfi.sh: New test.
553 * Makefile.am (TESTS): Add run-addrcfi.sh.
554 (EXTRA_DIST): Likewise.
555 * addrcfi.c (op_name): New function.
556 (print_detail): Call and print op_name. Check ops, not result
557 to check if this is "same value" or "undefined".
558 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
559
Mark Wielaard4b9e6392013-08-13 11:40:21 +02005602013-08-13 Mark Wielaard <mjw@redhat.com>
561
562 * run-addr2line-i-test.sh: New test.
563 * testfile-inlines.bz2: New testfile.
564 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
565 testfile-inlines.bz2.
566 (TESTS): Add run-addr2line-i-test.sh.
567
Mark Wielaardd0f85012013-08-12 14:21:31 +02005682013-08-12 Mark Wielaard <mjw@redhat.com>
569
570 * run-addr2line-test.sh: New test.
571 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
572 (TESTS): Likewise.
573
Jan Kratochvil596d4302013-07-23 16:30:01 +02005742013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
575
576 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
577 the entries.
578
Mark Wielaard263d7ee2013-07-02 16:16:58 +02005792013-07-02 Mark Wielaard <mjw@redhat.com>
580
581 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
582 testfilenolines.bz2.
583
Jan Kratochvil8ff86292013-05-30 13:21:20 +02005842013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
585
586 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
587 test-core.core.bz2 and test-core.exec.bz2.
588 * run-addrname-test.sh: New test for these files.
589 * run-unstrip-n.sh: Update expected output. New test for these files.
590 * test-core-lib.so.bz2: New file.
591 * test-core.core.bz2: New file.
592 * test-core.exec.bz2: New file.
593
Mark Wielaard9affad32013-05-03 11:28:49 +02005942013-05-03 Mark Wielaard <mjw@redhat.com>
595
596 * testfilenolines.bz2: New test file.
597 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
598 * run-get-lines.sh: Run testrun_compare on testfilenolines.
599
Jan Kratochvil904aec22013-04-30 14:27:16 +02006002013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
601
602 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
603
Mark Wielaard807ea312013-04-29 20:48:36 +02006042013-04-29 Mark Wielaard <mjw@redhat.com>
605
606 * test-subr.sh: Don't use pushd, just cd into test-dir.
607 (exit_cleanup): Don't use popd, just cd .. to get out.
608
Mark Wielaarda6098312013-04-26 21:21:56 +02006092013-04-27 Mark Wielaard <mjw@redhat.com>
610
Mark Wielaard527e21e2013-04-27 23:15:44 +0200611 * test-subr.sh (exit_cleanup): New function.
612 (trap): Use exit_cleanup as argument.
613 * run-native-test.sh (native_exit): New function.
614 (trap): For EXIT (0) use native_exit as argument.
615
6162013-04-27 Mark Wielaard <mjw@redhat.com>
617
Mark Wielaardb0f202e2013-04-28 00:54:17 +0200618 * update1.c (main): Use unique tempfile name and unlink file.
619 * update2.c (main): Likewise.
620 * update3.c (main): Likewise.
621 * update4.c (main): Use unique tempfile name.
622
6232013-04-27 Mark Wielaard <mjw@redhat.com>
624
Mark Wielaarda6098312013-04-26 21:21:56 +0200625 * run-alldts.sh: Add testfile-alldts to tempfiles.
626 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
627 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
628 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
629 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
630
Mark Wielaard86be7922013-04-26 23:44:25 +02006312013-04-26 Mark Wielaard <mjw@redhat.com>
632
633 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
634 remove wrapper.
635 (TESTS_ENVIRONMENT): Likewise.
636 (installed_LOG_COMPILER): New variable defining wrapper.
637 (LOG_COMPILER): Likewise.
638 * run-*.sh: Fixup location of input and output files.
639 * test-subr.sh: Create test_dir, pushd to execute test in.
640 (trap): Remove test_dir.
641 (testfiles): Use abs_srcdir.
642 (installed_testrun): Match on abs_builddir or abs_top_builddir.
643 (self_test_files): Adjust path.
644
Mark Wielaardcdaaf212013-04-25 16:50:11 -04006452013-04-24 Mark Wielaard <mjw@redhat.com>
646
647 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
648
Mark Wielaarda8c7f052013-03-25 21:11:53 +01006492013-03-25 Mark Wielaard <mjw@redhat.com>
650
Mark Wielaardb79788c2013-03-25 11:45:22 +0100651 * run-readelf-aranges.sh: New test.
652 * testfilefoobarbaz.bz2: New test file.
653 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
654 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
655
6562013-03-25 Mark Wielaard <mjw@redhat.com>
657
Mark Wielaarda8c7f052013-03-25 21:11:53 +0100658 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
659
Jan Kratochvila1d44822013-03-19 13:40:13 +01006602013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
661
662 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
663 (TESTS): Add run-dwfl-report-elf-align.sh.
664 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
665 testfile-dwfl-report-elf-align-shlib.so.bz2 .
666 (dwfl_report_elf_align_LDADD): New.
667 * dwfl-report-elf-align.c: New file.
668 * run-dwfl-report-elf-align.sh: New file.
669 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
670
Mark Wielaardf1b06b52013-03-12 12:02:51 +01006712013-03-12 Mark Wielaard <mjw@redhat.com>
672
673 * run-dwfllines.sh: New test.
674 * dwfllines.c: New test program.
675 * Makefile.am (TESTS): Add run-dwfllines.sh.
676 (EXTRA_DIST): Likewise.
677 (dwfllines_LDADD): New variable.
678
Mark Wielaardf6185a72013-02-22 23:42:59 +01006792013-02-22 Mark Wielaard <mjw@redhat.com>
680
681 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
682 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
683
Mark Wielaard443304e2013-02-15 22:45:22 +01006842013-02-15 Mark Wielaard <mjw@redhat.com>
685
686 * testfile-dwzstr.bz2: New testfile.
687 * testfile-dwzstr.multi.bz2: Likewise.
688 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
689 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
690 testfile-dwzstr.multi.bz2.
691
Mark Wielaard6c4b2072013-01-30 11:04:38 +01006922013-01-30 Mark Wielaard <mjw@redhat.com>
693
694 * testfileloc.bz2: New testfile.
695 * run-readelf-loc.sh: New test.
696 * Makefile.am (TESTS): Add run-readelf-loc.sh.
697 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
698
Jan Kratochvilcc84d792012-10-10 19:32:05 +02006992013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
700
701 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
702 and s390x core notes.
703 * testfile67.bz2: New file.
704 * testfile68.bz2: New file.
705 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
706
Mark Wielaard697bdca2013-01-23 17:39:19 +01007072013-01-23 Mark Wielaard <mjw@redhat.com>
708
709 * testfilebasmin.bz2: New testfile.
710 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
711 * run-readelf-s.sh: Test testfilebasmin.
712 * run-dwflsyms.sh: Likewise.
713
Mark Wielaard9a91fb22013-01-16 15:19:40 +01007142013-01-16 Mark Wielaard <mjw@redhat.com>
715
716 * Makefile.am (check_PROGRAMS): Add dwflsyms.
717 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
718 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
719 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
720 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
721 (dwflsyms_LDADD): New variable.
722
Roland McGrath3f9256d2013-01-07 15:13:46 -08007232013-01-07 Roland McGrath <roland@hack.frob.com>
724
725 * run-prelink-addr-test.sh: Use ln -snf.
726
Mark Wielaard1d6a4352012-12-03 17:01:09 +01007272012-12-03 Mark Wielaard <mjw@redhat.com>
728
729 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
730
Jan Kratochvild5784af2012-10-18 00:11:30 +02007312012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
732
733 * run-addrname-test.sh: New test for PIE relocation.
734 * testfile70.core.bz2: New file.
735 * testfile70.exec.bz2: New file.
736 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
737 testfile70.exec.bz2 .
738
Jan Kratochvild7ed0252012-10-27 21:31:58 +02007392012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
740
741 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
742 testfile69.core.bz2 and testfile69.so.bz2 .
743
Jan Kratochvil3fdcdcb2012-10-17 21:49:10 +02007442012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
745
746 * run-addrname-test.sh: New test for DSO with build-id bias.
747 * testfile69.core.bz2: New file.
748 * testfile69.so.bz2: New file.
749
Jan Kratochvil78dec222012-10-10 08:04:01 +02007502012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
751
Jan Kratochvil387654d2012-10-10 08:08:44 +0200752 * run-addrname-test.sh: New test for core vDSO bias.
753 * testfile65.bz2: New file.
754
7552012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
756
Jan Kratochvil78dec222012-10-10 08:04:01 +0200757 * run-addrname-test.sh: New test for symbol preferences.
758 * testfile64.bz2: New file.
759
Mark Wielaarde3e3ee22012-10-01 16:14:12 +02007602012-10-01 Mark Wielaard <mjw@redhat.com>
761
762 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
763 * test-wrapper.sh: Export VALGRIND_CMD if available.
764 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
765 (installed_testrun): Likewise.
766
Petr Machataae7c5e72012-09-24 16:16:27 +02007672012-09-24 Petr Machata <pmachata@redhat.com>
768
Petr Machata522a73f2012-09-24 16:46:52 +0200769 * testfile63.bz2: New testfile.
770 * run-readelf-mixed-corenote.sh: New test.
771 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
772 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
773
7742012-09-24 Petr Machata <pmachata@redhat.com>
775
Petr Machataae7c5e72012-09-24 16:16:27 +0200776 * testfile62.bz2: New testfile.
777 * run-readelf-vmcoreinfo.sh: New test.
778 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
779 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
780
Petr Machata3662ad12012-09-18 21:35:19 +02007812012-09-18 Petr Machata <pmachata@redhat.com>
782
783 * testfile61.bz2: New testfile.
784 * run-allregs.sh: Run reg_test testfile61.
785 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
786
Mark Wielaarde0ebc5a2012-08-24 14:51:37 +02007872012-08-24 Mark Wielaard <mjw@redhat.com>
788
789 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
790
Jeff Kenton257dcf42012-08-22 09:00:03 -04007912012-08-22 Jeff Kenton <jkenton@tilera.com>
792
793 * testfile60.bz2: New testfile.
794 * run-allregs.sh: Run reg_test testfile60.
795
Mark Wielaardf5519fc2012-08-24 13:54:52 +02007962012-08-24 Mark Wielaard <mjw@redhat.com>
797
798 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
799 ENABLE_DWZ.
800
Mark Wielaardf31c4412012-08-17 00:35:03 +02008012012-08-16 Mark Wielaard <mjw@redhat.com>
802
803 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
804 macros.
805 * show-die-info.c (tagnames): Removed.
806 (attrs): Removed.
807 (dwarf_tag_string): New function using known-dwarf macros.
808 (dwarf_attr_string): Likewise.
809 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
810 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
811
Mark Wielaard775375e2012-06-22 12:02:45 +02008122012-06-27 Mark Wielaard <mjw@redhat.com>
813
814 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
815 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
816 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
817 testfile_multi_main.bz2.
818 * run-readelf-dwz-multi.sh: New test.
819 * libtestfile_multi_shared.so.bz2: New testfile.
820 * testfile_multi.dwz.bz2: New testifle.
821 * testfile_multi_main.bz2: New testifle.
822
Petr Machata30a941c2012-08-01 21:41:36 +02008232012-08-01 Petr Machata <pmachata@redhat.com>
824
825 * run-test-archive64.sh: New test.
826 * testarchive64.a.bz2: New testfile.
827 * Makefile.am (TESTS): Add run-test-archive64.sh.
828 (EXTRA_DIST): Likewise.
829
Mark Wielaard94e387f2012-08-01 15:31:12 +02008302012-08-01 Mark Wielaard <mjw@redhat.com>
831
Mark Wielaardbf707b52012-08-01 15:39:11 +0200832 * run-nm-self.sh: New test.
833 * run-readelf-self.sh: Likewise.
834 * test-subr.sh (testrun_on_self_quiet): New function.
835 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
836 (EXTRA_DIST): Likewise.
837
8382012-08-01 Mark Wielaard <mjw@redhat.com>
839
Mark Wielaard94e387f2012-08-01 15:31:12 +0200840 * test-subr.sh (self_test_files): New list of files.
841 (testrun_on_self): New function.
842 * run-elflint-self.sh: Use testrun_on_self.
843
Mark Wielaard714ea0e2012-07-19 13:07:39 +02008442012-07-19 Mark Wielaard <mjw@redhat.com>
845
Mark Wielaard030f6262012-07-18 13:14:30 +0200846 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
847 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
848 (EXTRA_DIST): Likewise.
849 (test_elf_cntl_gelf_getshdr_LDADD): New.
850 test-elf_cntl_gelf_getshdr.c: New test program.
851 run-elf_cntl_gelf_getshdr.sh: New test script.
852
8532012-07-19 Mark Wielaard <mjw@redhat.com>
854
Mark Wielaardadcd1dd2012-07-19 22:59:18 +0200855 * run-elflint-self.sh: runtests on ../backends/*so files.
856
8572012-07-19 Mark Wielaard <mjw@redhat.com>
858
Mark Wielaard714ea0e2012-07-19 13:07:39 +0200859 * run-unstrip-n.sh: test_cleanup.
860 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
861
Mark Wielaarde9b23882012-06-29 22:30:15 +02008622012-07-11 Mark Wielaard <mjw@redhat.com>
863
864 * run-readelf-macro.sh: New test.
865 * testfilemacro.bz2: New testfile.
866 * Makefile.am (TESTS): Add run-readelf-macro.sh.
867 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
868
Mark Wielaard84a1e0b2012-06-29 23:38:09 +02008692012-06-27 Mark Wielaard <mjw@redhat.com>
870
871 * run-readelf-gdb-index.sh: New test.
872 * testfilegdbindex5.bz2: New testfile.
873 * testfilegdbindex7.bz2: Likewise.
874 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
875 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
876 testfilegdbindex7.bz2.
877
Mark Wielaard97212fe2012-07-17 21:12:39 +02008782012-07-17 Mark Wielaard <mjw@redhat.com>
879
880 * testcore-rtlib-ppc.bz2: New testfile.
881 * run-unstrip-n.sh: Check new ppc core testfile.
882
Mike Frysingerc09c5f32012-06-26 12:07:44 -04008832012-06-26 Mike Frysinger <vapier@gentoo.org>
884
885 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
886
Mark Wielaarda0172d72012-06-25 17:18:53 +02008872012-06-26 Mark Wielaard <mjw@redhat.com>
888
889 * run-macro-test.sh: New test.
890 * testfile-macinfo.bz2: New testfile.
891 * testfile-macros.bz2: Likewise.
892
Mark Wielaard547049b2012-06-22 18:19:02 +02008932012-05-07 Mark Wielaard <mjw@redhat.com>
894
895 * low_high_pc.c: Use proper inttypes in printf formats.
896
Mark Wielaarddbbc67a2012-05-11 12:57:57 +02008972012-05-11 Mark Wielaard <mjw@redhat.com>
898
899 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
900
Mark Wielaardd9bc75f2012-05-07 13:29:52 +02009012012-05-07 Mark Wielaard <mjw@redhat.com>
902
903 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
904
Mark Wielaard54797252012-04-27 13:00:50 +02009052012-04-27 Mark Wielaard <mjw@redhat.com>
906
907 * Makefile.am (TESTS): Add run-low_high_pc.sh
908 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
909 (noinst_PROGRAMS): Add low_high_pc.
910 (low_high_pc_LDADD): New variable.
911 * low_high_pc.c: New test.
912
Mark Wielaardbdad8e32012-04-26 12:24:33 +02009132012-04-26 Mark Wielaard <mjw@redhat.com>
914
915 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
916 * run-show-ciefde.sh: Removed old libdwarf test.
917 * show-ciefde.c: Likewise.
918
Mark Wielaard191d1f02012-04-02 17:11:25 +02009192012-04-02 Mark Wielaard <mjw@redhat.com>
920
Mark Wielaard96a52132012-04-03 00:21:50 +0200921 * Makefile.am (TESTS): Add run-unstrip-n.sh.
922 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
923 * run-unstrip-n.sh: New test.
924 * testcore-rtlib.bz2: New testfile.
925
9262012-04-02 Mark Wielaard <mjw@redhat.com>
927
Mark Wielaard191d1f02012-04-02 17:11:25 +0200928 * Makefile.am (TESTS): Add run-readelf-d.sh.
929 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
930 * run-readelf-d.sh: New test.
931 * run-elflint-test.sh: Check new testfile.
932
Tom Tromey581c3f62012-03-21 08:54:32 -06009332012-03-21 Tom Tromey <tromey@redhat.com>
934
935 * typeiter.c: New file.
936 * run-typeiter.sh: New file.
937 * testfile59.bz2: New file.
938 * Makefile.am (noinst_PROGRAMS): Add typeiter.
939 (TESTS): Add run-typeiter.sh.
940 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
941 (typeiter_LDADD): New variable.
942
Kurt Roeckx5a8e39a2012-02-24 23:40:32 +01009432012-02-21 Kurt Roeckx <kurt@roeckx.be>
944
945 * run-alldts.sh: testrun ./alldts.
946
Roland McGrathe3b15682012-02-21 11:12:46 -08009472012-02-21 Roland McGrath <roland@hack.frob.com>
948
949 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
Roland McGrathc1c6a9d2012-02-21 12:51:36 -0800950 * test-subr.sh (installed_testrun): Likewise.
Roland McGrathe3b15682012-02-21 11:12:46 -0800951
Roland McGrathb8ff18e2012-01-18 13:57:08 -08009522012-01-18 Roland McGrath <roland@hack.frob.com>
953
954 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
955 it will have been inherited correctly from the test harness.
956 * asm-tst5.c (main): Likewise.
957 * asm-tst6.c (main): Likewise.
958 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
959
Roland McGrath32899ac2011-07-09 03:17:24 -07009602011-07-09 Roland McGrath <roland@hack.frob.com>
961
962 * sha1-tst.c: File removed.
963 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
964 (sha1_tst_LDADD): Variable removed.
965
966 * md5-sha1-test.c: New file.
967 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
968 (md5_sha1_test_LDADD): New variable.
969
Mark Wielaard3f2290b2011-05-30 15:46:32 +02009702011-05-30 Mark Wielaard <mjw@redhat.com>
971
972 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
973 run-rerequest_tag.sh
974
Mark Wielaard20a217d2011-05-24 14:30:40 +02009752011-05-24 Mark Wielaard <mjw@redhat.com>
976
977 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
978 * run-strip-reloc.sh: Add hello_s390.ko testcase.
979 * hello_s390.ko.bz2: New test file.
980
Mark Wielaard1662bc32011-05-16 11:33:11 +02009812011-05-23 Mark Wielaard <mjw@redhat.com>
982
983 * Makefile.am (TESTS): Add run-strip-reloc.sh.
984 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
985 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
986 * run-strip-reloc.sh: New test.
987 * hello_i386.ko.bz2: New test file.
988 * hello_x86_64.ko.bz2: Likewise.
989 * hello_ppc64.ko.bz2: Likewise.
990
Mark Wielaard7a125b92011-05-17 12:20:01 +02009912011-05-18 Mark Wielaard <mjw@redhat.com>
992
993 * run-strip-groups.sh: New test.
994 * testfile58.bz2: New test file.
995 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
996 (TESTS): Add run-strip-groups.sh.
997 (EXTRA_DIST): Likewise.
998
Marek Polacek494275c2011-03-28 16:00:38 +02009992011-03-28 Marek Polacek <mpolacek@redhat.com>
1000
1001 * alldts.c: New file.
1002 * run-alldts.sh: Use it.
1003 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1004 (alldts_LDADD): New variable.
1005
10062011-03-02 Marek Polacek <mpolacek@redhat.com>
Marek Polacek48942212011-03-07 11:16:50 -08001007
1008 * dwarf-getstring.c: New test.
1009 * run-dwarf-getstring.sh: And its wrapper.
1010 * Makefile.am (EXTRA_DIST): Add and update all.
1011
Jan Kratochvilfec39992011-02-27 12:01:25 -080010122011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1013
1014 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
1015 * run-readelf-twofiles.sh: New file.
1016
Mark Wielaard58cfa1c2011-02-25 20:17:52 +010010172011-02-25 Mark Wielaard <mjw@redhat.com>
1018
1019 * Makefile.am (BUILD_RPATH): Be consistent in naming.
1020
Josh Stonedc34eda2011-02-02 16:30:01 -080010212011-02-02 Josh Stone <jistone@redhat.com>
1022
1023 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
1024 * testfile55-64.bz2, testfile55-64.debug.bz2,
1025 testfile55-64.prelink.bz2, testfile55-32.bz2,
1026 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
1027 * Makefile.am (EXTRA_DIST): Add and update all.
1028
Roland McGrath32520bd2011-01-12 10:43:32 -080010292011-01-12 Roland McGrath <roland@redhat.com>
1030
1031 * run-prelink-addr-test.sh: Make symlinks to find .debug files
Roland McGrath4f6d4e12011-01-12 10:49:40 -08001032 corresponding to .noshdrs files.
Roland McGrath32520bd2011-01-12 10:43:32 -08001033
Josh Stoned41d9a62011-01-11 19:16:57 -080010342011-01-11 Josh Stone <jistone@redhat.com>
1035
Josh Stoneccbccef2011-01-11 19:16:59 -08001036 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
1037 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
1038 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
1039 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
1040 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
1041 * Makefile.am (EXTRA_DIST): Add and update all.
1042
Josh Stonecf514712011-01-11 19:16:58 -08001043 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
1044 * testfile53.bz2, testfile53.debug.bz2,
1045 testfile53.prelink.bz2: Deleted, so...
1046 * testfile53-64.bz2, testfile53-64.debug.bz2,
1047 testfile53-64.prelink.bz2: Recreated with 64-bit names.
1048 * testfile53-32.bz2, testfile53-32.debug.bz2,
1049 testfile53-32.prelink.bz2: New in 32-bit.
1050 * Makefile.am (EXTRA_DIST): Add and update all.
1051
Josh Stoned41d9a62011-01-11 19:16:57 -08001052 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
1053 * testfile52.so.bz2, testfile52.so.debug.bz2,
1054 testfile52.prelink.so.bz2: Deleted, so...
1055 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
1056 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
1057 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
1058 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
Roland McGrath32520bd2011-01-12 10:43:32 -08001059 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
Josh Stoned41d9a62011-01-11 19:16:57 -08001060 * Makefile.am (EXTRA_DIST): Add and update all.
1061
Josh Stoneffa02002011-01-10 21:28:46 -080010622011-01-10 Josh Stone <jistone@redhat.com>
1063
1064 * run-prelink-addr-test.sh: New test for prelinked addrs.
1065 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1066 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
1067 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
1068 * testfile53.bz2, testfile53.debug.bz2: New data files.
1069 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
1070 * Makefile.am (EXTRA_DIST): Add them.
1071
Roland McGrathec86e5f2010-06-14 17:44:38 -070010722010-06-04 Roland McGrath <roland@redhat.com>
1073
1074 * run-unstrip-test.sh: Also test modifying the file in place.
1075
Roland McGrath3c6ee4b2010-04-22 22:38:58 -070010762010-04-22 Roland McGrath <roland@redhat.com>
1077
1078 * addrcfi.c (handle_cfi): Fix function name in error message.
1079 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
1080
Roland McGrath26618d82010-04-14 13:10:47 -070010812010-04-14 Roland McGrath <roland@redhat.com>
1082
1083 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
1084
Ulrich Drepperc2d1e482010-04-10 18:23:47 -070010852010-04-10 Ulrich Drepper <drepper@redhat.com>
1086
1087 * msg_tst.c: Adjust expected error message.
1088
Petr Machata77961b52010-04-06 14:16:58 +020010892010-04-01 Petr Machata <pmachata@redhat.com>
1090
1091 * test-flag-nobits.c: New test.
1092 * run-test-flag-nobits.sh: And its wrapper.
1093 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
1094 (test_flag_nobits_LDADD): New variable.
1095
Roland McGrathe9ca7382010-02-15 15:15:50 -080010962010-02-15 Roland McGrath <roland@redhat.com>
1097
Roland McGrath22359e22010-02-15 15:57:03 -08001098 * Makefile.am: Use config/eu.am for common stuff.
1099
Roland McGrathe9ca7382010-02-15 15:15:50 -08001100 * asm-tst9.c (main): Rename local to avoid shadowing another local.
1101
Roland McGrathaf800142009-07-22 13:55:50 -070011022009-07-22 Roland McGrath <roland@redhat.com>
1103
1104 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
1105
Roland McGrath3c84db32009-06-24 17:41:40 -070011062009-07-08 Roland McGrath <roland@redhat.com>
1107
1108 * addrcfi.c: New file.
1109 * Makefile.am (noinst_PROGRAMS): Add it.
1110 (addrcfi_LDADD): New variable.
1111
Petr Machatad24c7bf2009-05-07 20:58:19 +020011122009-05-07 Petr Machata <pmachata@redhat.com>
1113
1114 * testfile51.bz2: New data file.
1115 * dwarf-getmacros.c: New test core.
1116 * run-dwarf-getmacros.sh: New test wrapper.
Roland McGrath0c735a92009-05-07 18:19:16 -07001117 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1118 (dwarf_getmacros_LDADD): New variable.
Petr Machatad24c7bf2009-05-07 20:58:19 +02001119
Ulrich Drepperf9545c42009-04-23 07:59:02 -070011202009-04-23 Ulrich Drepper <drepper@redhat.com>
1121
1122 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
1123 (rdwrmmap_LDADD): Add $(libmudflap).
Roland McGrath0c735a92009-05-07 18:19:16 -07001124
Roland McGrath19a8e4d2009-04-21 15:44:07 -070011252009-04-21 Roland McGrath <roland@redhat.com>
1126
1127 * testfile50.bz2: New data file.
1128 * Makefile.am (EXTRA_DIST): Add it.
1129 * run-dwfl-addr-sect.sh: Add a case using it.
1130
Ulrich Drepper5bd44442008-12-31 09:02:54 -080011312008-12-31 Ulrich Drepper <drepper@redhat.com>
1132
Ulrich Drepper3bf57592009-01-01 18:52:05 -08001133 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
1134 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
1135 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
1136 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
1137 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
1138 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
1139 roundss, roundps, roundpd, and roundsd.
1140 * testfile45.S.bz2: Likewise.
1141 * testfile44.expect.bz2: Adjust accordingly.
1142 * testfile45.expect.bz2: Likewise.
1143
Ulrich Drepper5bd44442008-12-31 09:02:54 -08001144 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
1145 * testfile45.S.bz2: Likewise.
1146 * testfile44.expect.bz2: Adjust accordingly.
1147 * testfile45.expect.bz2: Likewise.
1148
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -080011492008-12-30 Ulrich Drepper <drepper@redhat.com>
1150
Ulrich Drepperec32ff92008-12-30 23:24:09 -08001151 * testfile44.S.bz2: Add tests for blendpd and blendps.
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -08001152 * testfile45.S.bz2: Likewise.
1153 * testfile44.expect.bz2: Adjust accordingly.
1154 * testfile45.expect.bz2: Likewise.
1155
Ulrich Drepper5a04b9f2008-12-19 01:14:12 -080011562008-12-19 Ulrich Drepper <drepper@redhat.com>
1157
1158 * testfile44.S.bz2: Add tests for AMD 3DNOW.
1159 * testfile45.S.bz2: Likewise.
1160 * testfile44.expect.bz2: Adjust accordingly.
1161 * testfile45.expect.bz2: Likewise.
1162
Roland McGratha845f682008-12-03 03:41:58 +000011632008-11-26 Roland McGrath <roland@redhat.com>
1164
1165 * dwfl-bug-getmodules.c: New file.
1166 * Makefile.am (noinst_PROGRAMS): Add it.
1167 (dwfl_bug_getmodules_LDADD): New variable.
1168
11692008-09-10 Roland McGrath <roland@redhat.com>
1170
1171 * test-subr.sh (LC_ALL): Export it set to "C".
1172 * run-dwfl-addr-sect.sh: Don't do it here.
1173 * run-strings-test.sh: Likewise.
1174
Roland McGrathb4d6f0f2008-08-25 22:55:17 +000011752008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
1176
1177 * run-addrname-test.sh: Add a new case.
1178 * testfile49.bz2: New data file.
1179 * Makefile.am (EXTRA_DIST): Add it.
1180
Roland McGrath521c47d2008-04-11 07:01:58 +000011812008-04-10 Roland McGrath <roland@redhat.com>
1182
1183 * testfile48.bz2, testfile48.bz2.debug: New data files.
1184 * Makefile.am (EXTRA_DIST): Add them.
1185 * run-strip-test8.sh: Use them.
1186
1187 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
1188
1189 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
1190 * run-strip-test8.sh: New file.
1191 * testfile47.bz2: New data file.
1192 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1193
Roland McGrath13b69602008-04-01 02:30:05 +000011942008-03-31 Roland McGrath <roland@redhat.com>
1195
1196 * run-early-offscn.sh: New file.
1197 * early-offscn.c: New file.
1198 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
1199 (early_offscn_LDADD): New variable.
1200
Roland McGrathd11f9cb2008-03-26 20:51:59 +000012012008-03-19 Roland McGrath <roland@redhat.com>
1202
1203 * run-addrname-test.sh: Add a new case.
1204
Roland McGrath658094a2008-02-22 08:14:07 +000012052008-02-22 Roland McGrath <roland@redhat.com>
1206
1207 * run-elflint-test.sh: Typo fix.
1208
12092008-02-21 Roland McGrath <roland@redhat.com>
1210
1211 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
1212 for the build down to minimum.
1213 * run-disasm-x86-64.sh: Likewise.
1214
Roland McGrath059c83e2008-02-21 06:19:39 +000012152008-02-20 Roland McGrath <roland@redhat.com>
1216
1217 * testfile46.bz2: New data file.
1218 * Makefile.am (EXTRA_DIST): Add it.
1219 * run-elflint-test.sh: Test on it.
1220
Ulrich Drepperc54785a2008-02-01 18:05:21 +000012212008-02-01 Ulrich Drepper <drepper@redhat.com>
1222
1223 * Makefile.am: Hook up sha1-tst.c.
1224 * sha1-tst.c: New file.
1225
Ulrich Drepper4d8bc812008-01-22 06:02:31 +000012262008-01-21 Roland McGrath <roland@redhat.com>
1227
1228 * testfile45.S.bz2: Add tests for cltq, cqto.
1229 * testfile45.expect.bz2: Adjust.
1230
Ulrich Drepper35f2fe62008-01-14 19:17:36 +000012312008-01-14 Ulrich Drepper <drepper@redhat.com>
1232
1233 * testfile45.S.bz2: Add more tests.
1234 * testfile45.expect.bz2: Adjust.
1235
Ulrich Drepperfd479892008-01-12 03:06:47 +000012362008-01-11 Ulrich Drepper <drepper@redhat.com>
1237
1238 * testfile45.expect.bz2: Adjust for adding of address for %rip based
1239 address mode.
1240
Ulrich Drepper96a73992008-01-11 06:17:06 +000012412008-01-10 Ulrich Drepper <drepper@redhat.com>
1242
1243 * testfile45.S.bz2: Add more tests.
1244 * testfile45.expect.bz2: Adjust.
1245
Ulrich Drepperff993222008-01-09 05:39:28 +000012462008-01-08 Ulrich Drepper <drepper@redhat.com>
1247
1248 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
1249 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
1250 run-disasm-x86-64.sh.
1251 * run-disasm-x86-64.sh: New file.
1252 * testfile45.S.bz2: New file.
1253 * testfile45.expect.bz2: New file.
1254 * testfile44.S.bz2: New tests.
1255 * testfile44.expect.bz2: Adjust.
1256
Ulrich Drepper9e6925d2008-01-04 21:42:14 +000012572008-01-04 Ulrich Drepper <drepper@redhat.com>
1258
1259 * testfile44.S.bz2: New tests.
1260 * testfile44.expect.bz2: Adjust.
1261
Ulrich Dreppere219f1c2008-01-09 05:49:49 +000012622008-01-04 Roland McGrath <roland@redhat.com>
1263
1264 * dwfl-bug-fd-leak.c (main): Add a cast.
1265
Ulrich Drepperee67b642008-01-03 08:45:10 +000012662008-01-03 Ulrich Drepper <drepper@redhat.com>
1267
1268 * testfile44.S.bz2: New tests.
1269 * testfile44.expect.bz2: Adjust.
1270
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000012712008-01-01 Ulrich Drepper <drepper@redhat.com>
1272
Ulrich Drepperf231e272008-01-02 18:07:17 +00001273 * line2addr.c: Use %m modifier instead of %a to appease gcc.
1274
12752008-01-01 Ulrich Drepper <drepper@redhat.com>
1276
Ulrich Drepperee67b642008-01-03 08:45:10 +00001277 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001278 * testfile44.expect.bz2: Adjust.
1279
12802007-12-31 Ulrich Drepper <drepper@redhat.com>
1281
Ulrich Drepperee67b642008-01-03 08:45:10 +00001282 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001283 * testfile44.expect.bz2: Adjust.
1284
12852007-12-30 Ulrich Drepper <drepper@redhat.com>
1286
Ulrich Drepperee67b642008-01-03 08:45:10 +00001287 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001288 * testfile44.expect.bz2: Adjust.
1289
12902007-12-29 Ulrich Drepper <drepper@redhat.com>
1291
Ulrich Drepperee67b642008-01-03 08:45:10 +00001292 * testfile44.s.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001293 * testfile44.expect.bz2: Adjust.
1294
12952007-12-28 Ulrich Drepper <drepper@redhat.com>
1296
1297 * testfile44.S.bz2: New tests.
1298 * testfile44.expect.bz2: Adjust.
1299
13002007-12-27 Ulrich Drepper <drepper@redhat.com>
1301
1302 * testfile44.S.bz2: New tests.
1303 * testfile44.expect.bz2: Adjust.
1304
13052007-12-26 Ulrich Drepper <drepper@redhat.com>
1306
1307 * testfile44.S.bz2: New tests.
1308 * testfile44.expect.bz2: Adjust
1309
13102007-12-21 Ulrich Drepper <drepper@redhat.com>
1311
1312 * testfile44.S.bz2: More tests.
1313 * testfile44.expect.bz2: Adjust appropriately.
1314
13152007-12-19 Ulrich Drepper <drepper@redhat.com>
1316
1317 * Makefile.am (TESTS): Add run-disasm.sh.
1318 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1319 testfile44.expect.bz2.
1320 * run-disasm.sh: New file.
1321 * testfile44.S.bz2: New file.
1322 * testfile44.expect.bz2: New file.
1323
Roland McGrath1a2e8f42007-12-15 23:39:34 +000013242007-12-15 Roland McGrath <roland@redhat.com>
1325
1326 * run-allregs.sh: Change expected output for powerpc spefscr.
1327
Roland McGrathe4c22ea2007-10-23 13:07:39 +000013282007-10-20 Roland McGrath <roland@redhat.com>
1329
1330 * run-dwfl-addr-sect.sh: Change expected output, no errors.
1331
13322007-10-19 Roland McGrath <roland@redhat.com>
1333
1334 * dwfl-addr-sect.c (handle_address): Return int.
1335 Don't exit on error, just return nonzero.
1336 (main): Collect results.
1337 * run-dwfl-addr-sect.sh: New file.
1338 * testfile43.bz2: New data file.
1339 * Makefile.am (EXTRA_DIST, TESTS): Add them.
1340
13412007-10-18 Roland McGrath <roland@redhat.com>
1342
1343 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1344
13452007-10-16 Roland McGrath <roland@redhat.com>
1346
1347 * test-subr.sh (remove_files): Don't pass -Bb to diff.
1348
Ulrich Drepperb597dfa2007-10-16 05:21:27 +000013492007-10-09 Roland McGrath <roland@redhat.com>
1350
1351 * dwflmodtest.c (print_module): Don't use %p in output.
1352 * run-dwfl-bug-offline-rel.sh: Updated expected output.
1353
13542007-10-08 Roland McGrath <roland@redhat.com>
1355
1356 * testfile42.bz2: New data file.
1357 * Makefile.am (EXTRA_DIST): Add it.
1358 * run-elflint-test.sh: New test on that file.
1359
Roland McGrath59ea7f32007-10-04 08:50:09 +000013602007-10-04 Roland McGrath <roland@redhat.com>
1361
1362 * run-readelf-test4.sh: New file.
1363 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1364
13652007-10-03 Roland McGrath <roland@redhat.com>
1366
1367 * run-readelf-test3.sh: New file.
1368 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1369
Roland McGrathf6b92282007-10-02 02:34:11 +000013702007-10-01 Roland McGrath <roland@redhat.com>
1371
1372 * run-readelf-test2.sh: New file.
1373 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1374
Roland McGrathc76f0b02007-09-27 07:31:33 +000013752007-09-11 Roland McGrath <roland@redhat.com>
1376
1377 * run-addrname-test.sh: Add a new case.
1378 * testfile41.bz2: New data file.
1379 * Makefile.am (EXTRA_DIST): Add it.
1380
Roland McGrathcb6d8652007-08-23 08:10:54 +000013812007-08-23 Roland McGrath <roland@redhat.com>
1382
1383 * run-allregs.sh: Update expected x86-64 output for %rflags.
1384
Roland McGrath099dd522007-08-13 22:58:36 +000013852007-08-12 Roland McGrath <roland@redhat.com>
1386
1387 * run-strip-test7.sh: New file.
1388 * testfile39.bz2: New data file.
1389 * testfile40.bz2: New data file.
1390 * testfile40.debug.bz2: New data file.
1391 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1392
Roland McGrath42f68682007-08-09 07:54:22 +000013932007-08-09 Roland McGrath <roland@redhat.com>
1394
1395 * dwfl-bug-report.c: Fix header inclusion.
1396
13972007-08-08 Roland McGrath <roland@redhat.com>
1398
1399 * run-addrname-test.sh: Add a new case using addr2line -S.
1400 * testfile38.bz2: New data file.
1401 * Makefile.am (EXTRA_DIST): Add it.
1402
Roland McGrath87d47802007-07-16 22:23:37 +000014032007-07-16 Roland McGrath <roland@redhat.com>
1404
1405 * dwfl-bug-report.c: New file.
1406 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1407 (dwfl_bug_report_LDADD): New variable.
1408
14092007-06-06 Roland McGrath <roland@redhat.com>
Roland McGrath0bc057c2007-06-06 08:42:42 +00001410
1411 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1412
Ulrich Drepperb0243862007-06-06 00:09:36 +000014132007-06-05 Ulrich Drepper <drepper@redhat.com>
1414
1415 * Makefile.am (EXTRA_DIST): Add missing line continuation and
1416 testfile37.bz and testfile37.debug.bz2.
1417
Roland McGrath53bce222007-05-23 19:15:04 +000014182007-05-23 Roland McGrath <roland@redhat.com>
1419
1420 * run-allregs.sh: Update expected Alpha results.
1421
Roland McGrath9aa8ef72007-05-18 08:59:43 +000014222007-05-18 Roland McGrath <roland@redhat.com>
1423
1424 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1425 * testfile37.bz2: New data file.
1426 * testfile37.debug.bz2: New data file.
1427 * run-unstrip-test2.sh: New file.
1428 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1429
14302007-05-10 Roland McGrath <roland@redhat.com>
1431
1432 * run-dwfl-bug-offline-rel.sh: New file.
1433 * testfile36.bz2: New data file.
1434 * testfile36.debug.bz2: New data file.
1435 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1436
14372007-04-28 Roland McGrath <roland@redhat.com>
1438
1439 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1440 * testfile35.bz2: New data file.
1441 * testfile35.debug.bz2: New data file.
1442 * run-unstrip-test.sh: New file.
1443 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1444
1445 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1446
Roland McGrath2be02912007-04-27 04:07:41 +000014472007-04-26 Roland McGrath <roland@redhat.com>
1448
1449 * run-elflint-self.sh: Run all tests even if one fails.
1450
1451 * run-allregs.sh: Add expected output for alpha.
1452
Roland McGrath4be15242007-04-25 03:09:33 +000014532007-04-24 Roland McGrath <roland@redhat.com>
1454
1455 * run-strip-test.sh: When we saved the debug info, test unstrip too.
1456
14572007-04-22 Roland McGrath <roland@redhat.com>
1458
1459 * run-allregs.sh: Update expected register info.
1460
Roland McGrath43da9892007-04-16 23:13:37 +000014612007-04-16 Roland McGrath <roland@redhat.com>
1462
1463 * dwfl-addr-sect.c: New file.
1464 * Makefile.am (noinst_PROGRAMS): Add it.
1465 (dwfl_addr_sect_LDADD): New variable.
1466
14672007-04-05 Roland McGrath <roland@redhat.com>
1468
1469 * get-files.c: Test dwarf_getsrcdirs.
1470 * run-get-files.sh: Update expected output.
1471
Roland McGrath5f6a41a2007-04-01 23:11:40 +000014722007-04-01 Roland McGrath <roland@redhat.com>
1473
1474 * run-allregs.sh: Updated expected output for x86_64.
1475
Ulrich Drepper6258e742007-03-13 06:22:40 +000014762007-03-04 Roland McGrath <roland@redhat.com>
1477
1478 * dwfl-bug-fd-leak.c: New file.
1479 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1480 (dwfl_bug_fd_leak_LDADD): New variable.
1481
1482 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1483 show what files have been located.
1484
Ulrich Drepperaa915fd2007-02-05 07:25:33 +000014852007-02-02 Roland McGrath <roland@redhat.com>
1486
1487 * run-addrname-test.sh: New file.
1488 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1489 * testfile34.bz2: New data file.
1490 * Makefile.am (EXTRA_DIST): Add it.
1491
14922007-01-20 Roland McGrath <roland@redhat.com>
1493
1494 * testfile33.bz2: New data file.
1495 * Makefile.am (EXTRA_DIST): Add it.
1496 * run-elflint-test.sh: Test on it too.
1497
14982007-01-18 Roland McGrath <roland@redhat.com>
1499
1500 * Makefile.am (CFLAGS): Don't molest it.
1501
15022007-01-11 Roland McGrath <roland@redhat.com>
1503
1504 * testfile32.bz2: New data file.
1505 * Makefile.am (EXTRA_DIST): Add it.
1506 * run-elflint-test.sh: Test on it too.
1507
Ulrich Drepperce0bdb62007-02-05 07:13:52 +000015082007-02-04 Ulrich Drepper <drepper@redhat.com>
1509
1510 * arls.c: New file.
1511 * Makefile (noinst_PROGRAMS): Add arls.
1512
1513 * run-ranlib-test2.sh: Fix type in comment.
1514
Ulrich Dreppercd4992c2007-01-10 20:58:17 +000015152007-01-10 Ulrich Drepper <drepper@redhat.com>
1516
1517 * run-elflint-self.sh (runtest): Show which file has the problem.
1518
Roland McGrathba949b32007-01-10 20:44:29 +000015192007-01-10 Roland McGrath <roland@redhat.com>
1520
1521 * dwfl-bug-addr-overflow.c: New file.
1522 * Makefile.am (TESTS): Add it.
1523 (dwfl_bug_addr_overflow_LDADD): New variable.
1524
Roland McGrath8190db62006-12-17 23:56:51 +000015252006-12-17 Roland McGrath <roland@redhat.com>
1526
1527 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
1528
Roland McGrathc373d852006-10-10 00:25:21 +000015292006-09-05 Roland McGrath <roland@redhat.com>
1530
1531 * run-strings-test.sh: Export LC_ALL=C for the test.
1532
15332006-08-29 Roland McGrath <roland@redhat.com>
1534
1535 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
1536 * run-arsymtest.sh: Likewise.
1537
1538 * run-native-test.sh (native.c compilation): Add some braces.
1539
15402006-08-22 Roland McGrath <roland@redhat.com>
1541
1542 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
1543 (struct reginfo): New members bits, type.
1544 (one_register, match_register): Update to take new args,
1545 record and display new info.
1546 (main): Display new info.
1547 * run-allregs.sh: Update expected results.
1548
Roland McGrath19db8592006-08-03 08:52:46 +000015492006-08-03 Roland McGrath <roland@redhat.com>
1550
1551 * run-allregs.sh: Add sparc cases.
1552 * testfile30.bz2: New data file.
1553 * testfile31.bz2: New data file.
1554 * Makefile.am (EXTRA_DIST): Add them.
1555
Roland McGrath95024622006-07-21 10:06:31 +000015562006-07-21 Roland McGrath <roland@redhat.com>
1557
1558 * allregs.c (struct reginfo): Increase size of name.
1559 (one_register): Assert that it's big enough.
1560
Roland McGrathb4379722006-04-05 01:35:26 +000015612006-04-04 Roland McGrath <roland@redhat.com>
1562
1563 * run-bug1-test.sh: Test a second case, to cover both byte orders.
1564 * testfile29.bz2: New file.
1565 * testfile29.rdwr.bz2: New file.
1566 * Makefile.am (EXTRA_DIST): Add them.
1567
Ulrich Drepperba718b12006-04-04 21:31:16 +000015682006-04-04 Ulrich Drepper <drepper@redhat.com>
1569
1570 * Makefile.am: Add rules to run run-bug1-test.sh.
1571 * rdwrmmap.c: New file.
1572 * run-bug1-test.sh: New file.
1573 * testfile28.bz2: New file.
1574 * testfile28.rdwr.bz2: New file.
1575
Roland McGrathdd7e22b2006-03-09 23:05:47 +000015762006-03-09 Roland McGrath <roland@redhat.com>
1577
1578 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
1579
Roland McGrath060fa052006-03-02 07:51:50 +000015802006-03-01 Roland McGrath <roland@redhat.com>
1581
1582 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
1583 changes matching 3.0 spec.
1584
Roland McGrathc40f58a2006-01-13 20:13:21 +000015852006-01-13 Roland McGrath <roland@redhat.com>
1586
1587 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
1588 bash 3.1 whines when it's done in the trap 0 handler.
1589
Roland McGrath4b248ce2006-01-12 03:34:38 +000015902006-01-11 Roland McGrath <roland@redhat.com>
1591
1592 * testfile26.bz2: New data file.
1593 * testfile27.bz2: New data file.
1594 * Makefile.am (EXTRA_DIST): Add them.
1595 * run-allregs.sh: Test s390 data.
1596
Roland McGrath124a7982005-12-15 02:37:09 +000015972005-12-14 Roland McGrath <roland@redhat.com>
1598
1599 * run-native-test.sh: Redirect output from native test process.
1600
Roland McGrath94d26ad2005-12-13 23:24:37 +000016012005-12-13 Roland McGrath <roland@redhat.com>
1602
1603 * allregs.c (main): Fail if we find no registers.
1604
1605 * run-native-test.sh: New file.
1606 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1607
Roland McGrathba72ab12005-12-12 00:04:33 +000016082005-12-10 Ulrich Drepper <drepper@redhat.com
1609
1610 * run-readelf-test1.sh: New file.
1611 * Makefile.am (TESTS): Add run-readelf-test1.sh.
1612 (EXTRA_DIST): Likewise.
1613
Roland McGrathd804e722005-12-08 01:35:42 +000016142005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001615
Roland McGrathd804e722005-12-08 01:35:42 +00001616 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001617
Roland McGrath994b4892005-12-05 22:46:21 +000016182005-11-25 Roland McGrath <roland@redhat.com>
1619
1620 * coverage.sh: Given -v argument, print names of unused files.
1621
1622 * addrscopes.c (main): Use dwfl_end before return.
1623 * allregs.c (main): Likewise.
1624 * find-prologues.c (main): Likewise.
1625 * funcretval.c (main): Likewise.
1626 * funcscopes.c (main): Likewise.
1627 * line2addr.c (main): Likewise.
1628
1629 * run-allregs.sh: New file.
1630 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1631
1632 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
1633 * Makefile.am (allregs_LDADD): Updated.
1634
1635 * allregs.c: New file.
1636 * Makefile.am (noinst_PROGRAMS): Add it.
1637 (allregs_LDADD): New variable.
1638
Roland McGrath9365d2c2005-11-18 23:55:47 +000016392005-11-18 Roland McGrath <roland@redhat.com>
1640
1641 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
1642 * test-wrapper.sh: Likewise.
1643
Roland McGrath575dd392005-11-18 01:41:52 +000016442005-11-17 Roland McGrath <roland@redhat.com>
1645
Roland McGrathaf74f5c2005-11-18 02:25:14 +00001646 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
1647 environment for test-wrapper.sh.
1648 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
1649 * test-subr.sh (installed_testrun): Likewise.
1650 Use explicit path in ${bindir}.
1651
Roland McGrath575dd392005-11-18 01:41:52 +00001652 * Makefile.am (installcheck-local): Fix typo in last change.
1653
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000016542005-11-16 Roland McGrath <roland@redhat.com>
1655
1656 * configure.ac: New file, for standalone build/dist of test suite.
1657 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
1658 (asm_TESTS): New variable, broken out of ...
1659 (TESTS): ... here. Also remove msg_tst.
1660 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
1661 (installed_TESTS_ENVIRONMENT): New variable.
1662 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
1663 [!STANDALONE] (installcheck-local): Likewise.
1664 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
1665 * addrscopes.c: Include <config.h>.
1666 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
1667 * allfcts.c: Likewise.
1668 * asm-tst1.c: Likewise.
1669 * asm-tst2.c: Likewise.
1670 * asm-tst3.c: Likewise.
1671 * asm-tst4.c: Likewise.
1672 * asm-tst5.c: Likewise.
1673 * asm-tst6.c: Likewise.
1674 * asm-tst7.c: Likewise.
1675 * asm-tst8.c: Likewise.
1676 * asm-tst9.c: Likewise.
1677 * dwflmodtest.c: Likewise.
1678 * find-prologues.c: Likewise.
1679 * funcscopes.c: Likewise.
1680 * get-aranges.c: Likewise.
1681 * get-files.c: Likewise.
1682 * get-lines.c: Likewise.
1683 * get-pubnames.c: Likewise.
1684 * line2addr.c: Likewise.
1685 * newscn.c: Likewise.
1686 * show-abbrev.c: Likewise.
1687 * show-die-info.c: Likewise.
1688 * update3.c: Likewise.
1689 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +00001690 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +00001691
1692 * dwflmodtest.c (print_instance): Don't use INTUSE.
1693 (options): Don't use N_ macro.
1694
Roland McGrath1b8b4462005-11-16 01:33:38 +000016952005-11-15 Roland McGrath <roland@redhat.com>
1696
Roland McGrathe47ab762005-11-17 03:16:00 +00001697 * coverage.sh: Look in backends.
1698 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
1699 (TESTS_ENVIRONMENT): Likewise.
1700
1701 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
1702 pass FUNCDIE direclty to dwfl_module_return_value_location.
1703
Roland McGrath1b8b4462005-11-16 01:33:38 +00001704 * Makefile.am (BUILD_RPATH): New variable.
1705 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
1706 (tests_rpath): New variable.
1707 (installcheck-local): Pass it to test-wrapper.sh.
1708 * test-wrapper.sh: In "installed" format, take yes/no value
1709 for elfutils_tests_rpath, which export. When running a test
1710 binary for installcheck, exit 77.
1711 * test-subr.sh (installed_testrun): When running a test binary
1712 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
1713
17142005-11-14 Roland McGrath <roland@redhat.com>
1715
1716 * test-subr.sh: New file.
1717 * test-wrapper.sh: New file.
1718 * Makefile.am (EXTRA_DIST): Add them.
1719 (AM_LDFLAGS): Variable removed.
1720 (TESTS_ENVIRONMENT): New variable.
1721 (installcheck-local): New target.
1722 * run-addrscopes.sh: Use test-subr.sh.
1723 * run-allfcts.sh: Likewise.
1724 * run-ecp-test.sh: Likewise.
1725 * run-ecp-test2.sh: Likewise.
1726 * run-elflint-self.sh: Likewise.
1727 * run-elflint-test.sh: Likewise.
1728 * run-find-prologues.sh: Likewise.
1729 * run-funcscopes.sh: Likewise.
1730 * run-get-aranges.sh: Likewise.
1731 * run-get-files.sh: Likewise.
1732 * run-get-lines.sh: Likewise.
1733 * run-get-pubnames.sh: Likewise.
1734 * run-line2addr.sh: Likewise.
1735 * run-ranlib-test.sh: Likewise.
1736 * run-ranlib-test2.sh: Likewise.
1737 * run-show-abbrev.sh: Likewise.
1738 * run-show-ciefde.sh: Likewise.
1739 * run-show-die-info.sh: Likewise.
1740 * run-strings-test.sh: Likewise.
1741 * run-strip-test.sh: Likewise.
1742
Roland McGrathe47ab762005-11-17 03:16:00 +000017432005-11-13 Roland McGrath <roland@redhat.com>
1744
1745 * funcretval.c: New file.
1746 * Makefile.am (noinst_PROGRAMS): Add it.
1747 (funcretval_LDADD): New variable.
1748
Ulrich Drepper3840c1c2005-11-09 16:13:48 +000017492005-11-09 Ulrich Drepper <drepper@redhat.com>
1750
1751 * line2addr.c (handle_module): Add missing parameter to printf.
1752
Roland McGrath07d4f2f2005-10-28 06:56:24 +000017532005-10-27 Roland McGrath <roland@redhat.com>
1754
Roland McGrath6724c902005-10-28 07:07:19 +00001755 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
1756 * funcscopes.c (handle_function): Likewise.
1757 * dwflmodtest.c (print_inline, print_func): Likewise.
1758 * find-prologues.c (handle_function): Likewise.
1759
17602005-10-27 Roland McGrath <roland@redhat.com>
1761
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001762 * run-find-prologues.sh: New file.
1763 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1764
1765 * find-prologues.c (handle_function): Skip inlines.
1766
17672005-10-25 Roland McGrath <roland@redhat.com>
1768
1769 * find-prologues.c: New file.
1770 * Makefile.am (noinst_PROGRAMS): Add it.
1771 (find_prologues_LDADD): New variable.
1772
Ulrich Drepper3bbc9502005-09-02 20:29:56 +000017732005-09-02 Ulrich Drepper <drepper@redhat.com>
1774
1775 * run-strings-test.sh: Remove strings.out in the end.
1776
Ulrich Drepper7d65d012005-08-31 15:14:26 +000017772005-08-31 Ulrich Drepper <drepper@redhat.com>
1778
1779 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
1780 * run-allfcts.sh: Likewise.
1781 * run-ecp-test.sh: Likewise.
1782 * run-ecp-test2.sh: Likewise.
1783 * run-elflint-test.sh: Likewise.
1784 * run-funcscopes.sh: Likewise.
1785 * run-get-aranges.sh: Likewise.
1786 * run-get-files.sh: Likewise.
1787 * run-get-lines.sh: Likewise.
1788 * run-get-pubnames.sh: Likewise.
1789 * run-line2addr.sh: Likewise.
1790 * run-ranlib-test2.sh: Likewise.
1791 * run-show-abbrev.sh: Likewise.
1792 * run-show-ciefde.sh: Likewise.
1793 * run-show-die-info.sh: Likewise.
1794 * run-strings-test.sh: Likewise.
1795 * run-strip-test.sh: Likewise.
1796
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +000017972005-08-30 Ulrich Drepper <drepper@redhat.com>
1798
1799 * coverage.sh: Handle case where there is no .gcno file at all.
1800
Ulrich Drepper39cec7a2005-08-30 01:22:01 +000018012005-08-29 Ulrich Drepper <drepper@redhat.com>
1802
1803 * Makefile.am (EXTRA_DIST): Add coverage.
1804 [GCOV]: Generate coverage summary after the tests ran
1805 * coverage.sh: New file.
1806
Ulrich Drepperfbe998a2005-08-29 16:27:10 +000018072005-08-28 Ulrich Drepper <drepper@redhat.com>
1808
1809 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
1810 (CLEANFILES): Add *.gcno *.gcda *.gconv.
1811
18122005-08-28 Ulrich Drepper <drepper@redhat.com>
1813
1814 * run-strings-test.sh: New file.
1815 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1816
Roland McGrath71e15a02005-08-27 10:33:26 +000018172005-08-27 Roland McGrath <roland@redhat.com>
1818
Roland McGrathb0bc2782005-08-27 21:07:16 +00001819 * addrscopes.c (handle_address): Apply bias to PC addresses.
1820
Roland McGrath71e15a02005-08-27 10:33:26 +00001821 * run-funcscopes.sh: New file.
1822 * testfile25.bz2: New data file.
1823 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1824
18252005-08-26 Roland McGrath <roland@redhat.com>
1826
1827 * addrscopes.c (dwarf_diename_integrate): Removed.
1828 (print_vars, handle_address): Use plain dwarf_diename.
1829
18302005-08-25 Roland McGrath <roland@redhat.com>
1831
1832 * funcscopes.c: New file.
1833 * Makefile.am (noinst_PROGRAMS): Add it.
1834 (funcscopes_LDADD): New variable.
1835
1836 * run-addrscopes.sh: Add another case.
1837 * testfile24.bz2: New data file.
1838 * Makefile.am (EXTRA_DIST): Add it.
1839
1840 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
1841 pass it to dwarf_getscopes.
1842 (main): Pass it, true when '=' follows an address.
1843
Roland McGrath4c305da2005-08-25 01:49:35 +000018442005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +00001845
Roland McGrath4c305da2005-08-25 01:49:35 +00001846 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +00001847
Ulrich Drepper2eb660f2005-08-24 19:47:57 +000018482005-08-24 Ulrich Drepper <drepper@redhat.com>
1849
Ulrich Drepper958bf132005-08-24 21:40:55 +00001850 * run-line2addr.sh: Remove testfile23 in the end.
1851
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001852 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +00001853 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001854
Roland McGrathd17fac72005-08-23 08:20:21 +000018552005-08-22 Roland McGrath <roland@redhat.com>
1856
1857 * run-line2addr.sh: Add a case.
1858 * testfile23.bz2: New data file.
1859 * Makefile.am (EXTRA_DIST): Add it.
1860
Roland McGrath9a1f3652005-08-18 20:57:04 +000018612005-08-18 Roland McGrath <roland@redhat.com>
1862
Roland McGrathf5fda7d2005-08-18 22:01:57 +00001863 * run-addrscopes.sh: New file.
1864 * testfile22.bz2: New data file.
1865 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1866
Roland McGrath9a1f3652005-08-18 20:57:04 +00001867 * addrscopes.c: New file.
1868 * Makefile.am (noinst_PROGRAMS): Add it.
1869 (addrscopes_LDADD): New variable.
1870
Ulrich Drepper837b5222005-08-16 05:12:01 +000018712005-08-15 Ulrich Drepper <drepper@redhat.com>
1872
1873 * run-elflint-self.sh: Don't run test if the file doesn't exist.
1874
Roland McGrath1ecb6062005-08-15 09:53:04 +000018752005-08-15 Roland McGrath <roland@redhat.com>
1876
1877 * dwflmodtest.c (print_instance, print_inline): New functions.
1878 (print_func): Call print_inline.
1879 (options, parse_opt): Grok -i/--inlines.
1880
Roland McGrath8d18c292005-08-07 21:42:07 +000018812005-08-07 Roland McGrath <roland@redhat.com>
1882
1883 * dwflmodtest.c: Print function details only if -f flag is given.
1884
Ulrich Drepper47be7952005-08-07 04:41:39 +000018852005-08-06 Ulrich Drepper <drepper@redhat.com>
1886
Ulrich Drepper637963b2005-08-07 05:33:07 +00001887 * run-elflint-self.sh: New file.
1888 * Makefile.am (TESTS): Add run-elflint-self.sh.
1889 (EXTRA_DIST): Likewise.
1890
Ulrich Drepper47be7952005-08-07 04:41:39 +00001891 * Makefile.am: Link with statis libs if BUILD_STATIC.
1892 (dwflmodtest_LDADD): Also link with -ldl.
1893
Ulrich Drepper41de4882005-08-03 00:02:56 +000018942005-08-02 Ulrich Drepper <drepper@redhat.com>
1895
Ulrich Dreppera38998e2005-08-03 02:05:39 +00001896 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
1897 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
1898 library first.
1899 * asm-tst2.c: Likewise.
1900 * asm-tst3.c: Likewise.
1901 * asm-tst4.c: Likewise.
1902 * asm-tst5.c: Likewise.
1903 * asm-tst6.c: Likewise.
1904 * asm-tst7.c: Likewise.
1905 * asm-tst8.c: Likewise.
1906 * asm-tst9.c: Likewise.
1907
Ulrich Drepper41de4882005-08-03 00:02:56 +00001908 * msg_tst.c: Add new error message.
1909
Ulrich Drepper18618fd2005-07-28 21:29:22 +000019102005-07-28 Ulrich Drepper <drepper@redhat.com>
1911
1912 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
1913
Roland McGrathd17fac72005-08-23 08:20:21 +000019142005-06-01 Roland McGrath <roland@redhat.com>
1915
1916 * line2addr.c: Rewritten using libdwfl.
1917 * run-line2addr.sh: Update test for changed arguments.
1918 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
1919 (libdwfl): New variable.
1920 (line2addr_LDADD): Use it.
1921
Roland McGrath18385902005-07-28 07:12:38 +000019222005-07-28 Roland McGrath <roland@redhat.com>
1923
1924 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
1925 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
1926 (dwflmodtest_LDADD): New variable.
1927 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
1928
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000019292005-07-21 Ulrich Drepper <drepper@redhat.com>
1930
1931 * testfile18.bz2: New file.
1932 * run-elflint-test.sh: New file.
1933 * Makefile.am (TESTS): Add run-elflint-test.sh.
1934 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1935
19362005-05-24 Ulrich Drepper <drepper@redhat.com>
1937
1938 * get-files.c (main): Use correct format specifier.
1939
19402005-05-21 Ulrich Drepper <drepper@redhat.com>
1941
1942 * Makefile.am: Add -Wextra to CFLAGS.
1943 * get-files.c: Remove warning this produced.
1944 * get-pubnames.c: Likewise.
1945 * newfile.c: Likewise.
1946 * newscn.c: Likewise.
1947 * scnnames.c: Likewise.
1948 * showptable.c: Likewise.
1949 * test-nlist.c: Likewise.
1950 * update1.c: Likewise.
1951 * update2.c: Likewise.
1952 * update3.c: Likewise.
1953 * update4.c: Likewise.
1954
19552005-05-08 Ulrich Drepper <drepper@redhat.com>
1956
1957 * run-line2addr.sh: Remove testfile14 at the end.
1958
Ulrich Drepper282bf322005-07-28 21:49:05 +00001959 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001960
1961 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
1962 .bz, not .bz2.
1963
19642005-05-03 Roland McGrath <roland@redhat.com>
1965
1966 * run-strip-test.sh: Use variables for test file names.
1967 Optionally produce separate debug file and check it.
1968 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
1969 * run-strip-test3.sh: Likewise.
1970 * run-strip-test4.sh: New file.
1971 * run-strip-test5.sh: New file.
1972 * run-strip-test6.sh: New file.
1973 * testfile15.bz: New file.
1974 * testfile15.debug.bz: New file.
1975 * testfile16.bz: New file.
1976 * testfile16.debug.bz: New file.
1977 * testfile17.bz: New file.
1978 * testfile17.debug.bz: New file.
1979 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1980
19812005-04-25 Ulrich Drepper <drepper@redhat.com>
1982
1983 * run-line2addr.sh: Also use testfile14. Adjust for correct
1984 return of multiple matches.
1985 * testfile14.bz2: New file.
1986 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
1987
1988 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
1989
Roland McGrath87d47802007-07-16 22:23:37 +000019902005-04-04 Roland McGrath <roland@redhat.com>
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001991
1992 * line2addr.c (main): Initialize LINES and NLINES before calling
1993 dwarf_getsrc_file, and free LINES afterwards.
1994
1995 * allfcts.c (main): Use size_t for CUHL.
1996
19972005-04-04 Ulrich Drepper <drepper@redhat.com>
1998
1999 * line2addr.c: New file.
2000 * run-line2addr.sh: New file.
2001 * Makefile.am: Add rules to build, run, and distribute new code.
2002
20032005-04-02 Ulrich Drepper <drepper@redhat.com>
2004
2005 * allfcts.c: New file.
2006 * run-allfcts.sh: New file.
2007 * Makefile.am: Add rules to build, run, and distribute new code.
2008
20092005-02-05 Ulrich Drepper <drepper@redhat.com>
2010
2011 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
2012 programs with -lmudflap.
2013
20142004-09-25 Ulrich Drepper <drepper@redhat.com>
2015
2016 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
2017 * asm-tst5.c (main): Likewise.
2018 * asm-tst6.c (main): Likewise.
2019
20202004-01-17 Ulrich Drepper <drepper@redhat.com>
2021
2022 * Makefile.am: Support building with mudflap.
2023
20242004-01-12 Ulrich Drepper <drepper@redhat.com>
2025
2026 * get-aranges.c: Rewrite to use libdw.
2027 * Makefile.am: Reenable get-aranges test.
2028
20292004-01-11 Ulrich Drepper <drepper@redhat.com>
2030
2031 * get-lines.c: New file.
2032 * get-files.c: Adjust for libdw.
2033 * run-get-files.sh: Adjust expected result.
2034 * run-get-lines.sh: Likewise.
2035 * Makefile.am: Run get-lines test. Don't run get-aranges and
2036 get-ciefde test for now.
2037
2038 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
2039 change. Print attribute offset information.
2040 * run-show-abbrev.sh: Adjust expected output.
2041
20422004-01-09 Ulrich Drepper <drepper@redhat.com>
2043
2044 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
2045 * show-die-info.c: Likewise.
2046 * run-show-die-info.sh: Adjust expected output.
2047
20482003-08-13 Ulrich Drepper <drepper@redhat.com>
2049
2050 * Makefile.in: Depend on libebl.a, not libebl.so.
2051
20522003-08-11 Ulrich Drepper <drepper@redhat.com>
2053
2054 * Moved to CVS archive.