blob: 9d229c9d639c5b2972958311cc772850fa9a82d5 [file] [log] [blame]
Josh Stone2098b3d2014-12-10 11:14:40 -080012014-12-10 Josh Stone <jistone@redhat.com>
2
3 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
4 preferred over the plain die name.
5
Petr Machataedb079a2014-12-02 21:22:14 +010062014-12-02 Petr Machata <pmachata@redhat.com>
7
8 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
9 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
10 (main): Initialize off to DWARF_GETMACROS_START when an extra
11 command line argument is passed.
12 * testfile-macros-0xff.bz2: New test case.
13 * testfile-macros-0xff.s: New file (source for the above).
14 * run-dwarf-getmacros.sh: Add two tests.
15
Mark Wielaard44662162014-11-27 23:19:47 +0100162014-11-27 Mark Wielaard <mjw@redhat.com>
17
18 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
19
Mark Wielaard9644aaf2014-11-21 23:26:35 +0100202014-11-21 Mark Wielaard <mjw@redhat.com>
21
22 * run-readelf-A.sh: New test.
23 * testfileppc32attrs.o.bz2: New test file.
24 * Makefile.am (TESTS): Add run-readelf-A.sh.
25 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
26
Mark Wielaard5691f862014-11-10 14:49:20 +0100272014-11-10 Mark Wielaard <mjw@redhat.com>
28
29 * vdsosyms.c: New test.
30 * Makefile.am (check_PROGRAMS): Add vdsosyms.
31 (TESTS): Likewise.
32 (vdsosyms_LDADD): New variable.
33
Petr Machata0a1e81b2014-10-17 02:47:15 +0200342014-09-10 Petr Machata <pmachata@redhat.com>
35
36 * dwarf-getmacros.c: Update to use the new macro iteration
37 interfaces.
38 * run-dwarf-getmacros.sh: Adjust, add a test that uses
39 testfile-macros.
40
Mark Wielaard3a36e8a2014-10-06 22:00:16 +0200412014-10-06 Mark Wielaard <mjw@redhat.com>
42
43 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
44 * testfile-sizes3.o.bz2: New test file.
45 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
46
Mark Wielaardb50014f2014-10-02 14:00:47 +0200472014-10-02 Mark Wielaard <mjw@redhat.com>
48
Mark Wielaard281ebd72014-10-02 22:53:44 +020049 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
50
512014-10-02 Mark Wielaard <mjw@redhat.com>
52
Mark Wielaardb50014f2014-10-02 14:00:47 +020053 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
54 (TESTS): Add run-aggregate-size.sh.
55 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
56 and testfile-sizes2.o.bz2.
57 (aggregate_size_LDADD): New variable.
58 * aggregate_size.c: New file.
59 * run-aggregate-size.sh: New test.
60 * testfile-sizes1.o.bz2: New test file.
61 * testfile-sizes2.o.bz2: Likewise.
62
Jan Kratochvil6d48bbf2014-09-26 22:42:19 +0200632014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
64
65 Support NT_FILE for locating files.
66 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
67 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
68 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
69 * linkmap-cut-lib.so.bz2: New file.
70 * linkmap-cut.bz2: New file.
71 * linkmap-cut.core.bz2: New file.
72 * run-linkmap-cut.sh: New file.
73 * run-unstrip-n.sh: Update its expected output.
74
Jan Kratochvil03750562014-08-17 18:49:36 +0200752014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
76
77 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
78 (TESTS, EXTRA_DIST): Add run-deleted.sh.
79 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
80 * deleted-lib.c: New file.
81 * deleted.c: New file.
82 * run-deleted.sh: New file.
83
Mark Wielaard41362da2014-06-15 11:35:50 +0200842014-06-15 Mark Wielaard <mjw@redhat.com>
85
86 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
87
Mark Wielaardcb5ac6e2014-06-14 01:01:58 +0200882014-06-13 Mark Wielaard <mjw@redhat.com>
89
Mark Wielaard1986c172014-06-14 01:09:17 +020090 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
91 frame symname.
92
932014-06-13 Mark Wielaard <mjw@redhat.com>
94
Mark Wielaardcb5ac6e2014-06-14 01:01:58 +020095 * backtrace-subr.sh (check_native_unsupported): New function.
96 (check_native): Call it.
97 (check_native_core): Likewise.
98 * run-backtrace-dwarf.sh: Likewise.
99
Mark Wielaard14beac32014-06-11 15:14:23 +02001002014-06-11 Mark Wielaard <mjw@redhat.com>
101
102 * backtrace.c (main): Check that Dwfl was attached by calling
103 dwfl_pid and printing the error when it is not.
104
Mark Wielaard85482fc2014-05-18 22:41:19 +02001052014-05-18 Mark Wielaard <mjw@redhat.com>
106
107 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
108 (f): Likewise.
109 * testfile-backtrace-demangle.bz2: Regenerate.
110 * testfile-backtrace-demangle.core.bz2: Likewise.
111
Mark Wielaardbb096d02014-05-03 00:23:06 +02001122014-05-02 Mark Wielaard <mjw@redhat.com>
113
114 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
115 run-allfcts-multi.sh are now added unconditionally.
116
Mark Wielaarddf85bf92014-05-01 14:48:27 +02001172014-05-01 Mark Wielaard <mjw@redhat.com>
118
119 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
120 subdir.
121
Mark Wielaardd81d32d2014-04-30 23:00:40 +02001222014-04-30 Mark Wielaard <mjw@redhat.com>
123
124 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
125 * Makefile.am (check_PROGRAMS): Add buildid.
126 (TESTS): Add run-buildid.sh.
127 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
128 (buildid_LDADD): New variable.
129
Florian Weimer4813dbb2014-04-24 14:06:43 +02001302014-04-24 Florian Weimer <fweimer@redhat.com>
131
Florian Weimer22481652014-04-15 16:58:39 +0200132 * allfcts.c (setup_alt): New function.
133 (main): Call it. Implementation additional error checking and
134 reporting.
135
1362014-04-24 Florian Weimer <fweimer@redhat.com>
137
Florian Weimer4813dbb2014-04-24 14:06:43 +0200138 * debugaltlink.c, run-debugaltlink.sh: New files.
139 * Makefile.am (check_PROGRAMS): Add debugaltlink.
140 (TESTS): Add run-debugaltlink.sh.
141 (debugaltlink_LDADD): New variable.
142
Mark Wielaard93802972014-04-11 23:52:47 +02001432014-04-11 Mark Wielaard <mjw@redhat.com>
144
145 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
146 (check_PROGRAMS): Add debuglink.
147 (TESTS): Add run-debuglink.sh
148 (EXTRA_DIST): Likewise.
149 (debuglink_LDADD): New.
150 * debuglink.c: New file.
151 * run-debuglink.sh: Likewise.
152
Mark Wielaardfe4b5fd2014-04-23 09:54:30 +02001532014-03-23 Mark Wielaard <mjw@redhat.com>
154
155 * run-nm-self.sh: Use test = not == for string comparisons.
156
Kurt Roeckx02cefda2014-04-22 21:46:22 +02001572014-04-22 Kurt Roeckx <kurt@roeckx.be>
158
159 * backtrace.c: Make Linux only.
160 * backtrace-child.c: Make Linux only.
161 * backtrace-data.c: Make Linux only.
162 * backtrace-dwarf.c: Make Linux only.
163 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
164
Mark Wielaard32324792014-04-13 17:39:57 +02001652014-03-14 Mark Wielaard <mjw@redhat.com>
166
167 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
168 LDADD lines.
169 * configure.ac: Remove MUDFLAP conditional.
170
Mark Wielaardf7cdc742014-04-09 22:38:07 +02001712014-04-09 Mark Wielaard <mjw@redhat.com>
172
173 * run-readelf-zdebug.sh: New test.
174 * testfile-debug.bz2: New testfile.
175 * testfile-zdebug.bz2: New testfile.
176 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
177 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
178 testfile-zdebug.bz2.
179
Mark Wielaard110c2732014-04-10 15:02:53 +02001802014-04-10 Mark Wielaard <mjw@redhat.com>
181
182 * testfile_i686_core.bz2: New test file.
183 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
184 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
185
Mark Wielaard66637fa2014-04-09 11:48:23 +02001862014-04-09 Mark Wielaard <mjw@redhat.com>
187
188 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
189 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
190 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
191 * run-backtrace-core-aarch64.sh: New test.
192
Josh Stone51fff302014-03-11 18:13:55 -07001932014-03-11 Josh Stone <jistone@redhat.com>
194
195 * testfilebaxmin.bz2: New testfile.
196 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
197 * run-readelf-s.sh: Test testfilebaxmin.
198 * run-dwflsyms.sh: Likewise.
199
Mark Wielaard225dddf2014-01-26 20:16:48 +01002002014-01-26 Mark Wielaard <mjw@redhat.com>
201
202 * backtrace-subr.sh (check_unsupported): Special case arm*.
203
Mark Wielaarda02d90a2014-01-25 14:32:42 +01002042014-01-25 Mark Wielaard <mjw@redhat.com>
205
206 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
207 location expression: call_frame_cfa stack_value.
208
Mark Wielaardf48eb6b2014-01-23 00:56:41 +01002092014-01-22 Mark Wielaard <mjw@redhat.com>
210
211 * Makefile.am (line2addr_no_Wformat): Removed.
212
Mark Wielaard13968d92014-01-21 16:13:49 +01002132014-01-21 Mark Wielaard <mjw@redhat.com>
214
215 * Makefile.am (TESTS): Add run-stack-i-test.sh.
216 (EXTRA_DIST): Likewise.
217 * run-stack-i-test.sh: New test.
218
Mark Wielaard531a30a2014-01-20 23:09:26 +01002192014-01-20 Mark Wielaard <mjw@redhat.com>
220
221 * Makefile.am (TESTS): Add run-stack-d-test.sh.
222 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
223 testfiledwarfinlines.core.bz2.
224 * run-stack-d-test.sh: New test.
225 * testfiledwarfinlines.bz2: New test file.
226 * testfiledwarfinlines.core.bz2: Likewise.
227
Mark Wielaardd7cffa72014-01-16 09:45:51 +01002282014-01-16 Mark Wielaard <mjw@redhat.com>
229
Mark Wielaardc80375d2014-01-16 13:48:24 +0100230 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
231 on one ET_REL, one ET_EXEC and one ET_DYN file.
232 * test-subr.sh (self_test_files): Add two ET_REL files, only add
233 two libebl ET_DYN backend files.
234
2352014-01-16 Mark Wielaard <mjw@redhat.com>
236
Mark Wielaardd7cffa72014-01-16 09:45:51 +0100237 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
238
Jan Kratochvil435808a2014-01-18 21:56:13 +01002392014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
240
241 Fix false FAILs on testsuite with ulimit -c unlimited.
242 * backtrace-child.c (sigusr2): Call pthread_exit.
243 (main): Return, do not call abort.
244
Jan Kratochvil7c6e7852014-01-15 21:16:57 +01002452014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
246
247 Fix corruption of non-C++ symbols by the demangler.
248 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
249 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
250 (EXTRA_DIST): Add run-backtrace-demangle.sh,
251 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
252 testfile-backtrace-demangle.core.bz2.
253 * backtrace-demangle.cc: New file.
254 * run-backtrace-demangle.sh: New file.
255 * testfile-backtrace-demangle.bz2: New file.
256 * testfile-backtrace-demangle.cc: New file.
257 * testfile-backtrace-demangle.core.bz2: New file.
258
Matthias Klosee922ec42014-01-07 10:25:29 +01002592014-01-07 Matthias Klose <doko@ubuntu.com>
260
261 * backtrace-subr.sh (check_native_core): Check to see if core file
262 was created without ".PID" extension, if so mv core to core.PID.
263 Skip test if no core file was created or could be found.
264
Mark Wielaard4f1c96d2014-01-04 14:24:58 +01002652014-01-04 Mark Wielaard <mjw@redhat.com>
266
Mark Wielaard70c3a532014-01-04 23:28:33 +0100267 * backtrace-data.c (main): Don't assert if raise returns.
268 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
269 assume_ptrace_attached true.
270 (ptrace_detach_stopped): Removed function.
271 (main): Don't call ptrace_detach_stopped.
272 * backtrace.c (ptrace_detach_stopped): Removed function.
273 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
274 true.
275 (exec_dump): Don't call ptrace_detach_stopped.
276
2772014-01-04 Mark Wielaard <mjw@redhat.com>
278
Mark Wielaard1051a0c2014-01-04 15:41:04 +0100279 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
280 if we cannot adjust core ulimit.
281
2822014-01-04 Mark Wielaard <mjw@redhat.com>
283
Mark Wielaard4f1c96d2014-01-04 14:24:58 +0100284 * cleanup-13.c (force_unwind_stop): Removed.
285 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
286 don't call _Unwind_ForcedUnwind.
287
Mark Wielaardb92af192014-01-03 18:15:02 +01002882014-01-03 Mark Wielaard <mjw@redhat.com>
289
290 * run-addrcfi.sh: Add case for EM_AARCH64.
291 * testfileaarch64.bz2: New testfile.
292 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
293
Mark Wielaard19108012013-12-30 22:00:57 +01002942013-12-30 Mark Wielaard <mjw@redhat.com>
295
296 * backtrace-dwarf.c (report_pid): Explicitly call
297 dwfl_linux_proc_attach and check for errors.
298 * backtrace.c (report_pid): Likewise.
299
Mark Wielaardb6ef1ce2013-12-21 19:39:19 +01003002013-12-21 Mark Wielaard <mjw@redhat.com>
301
302 * backtrace.c (callback_verify): Only assert that case 5 is the last
303 instruction of backtracegen on x86_64 native.
304
Jan Kratochvilc6a41482013-12-17 18:49:54 +01003052013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Mark Wielaard159ac522013-12-18 11:05:54 +0100306 Mark Wielaard <mjw@redhat.com>
307
308 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
309 and testfilebaz*ppc64*.bz2 files.
310 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
311 error on dwfl_module_getsymtab error.
312 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
313 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
314 Also print section of actual value if different from sym.
315 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
316 Test addr2line -x by showing different sections for address and
317 found name in testfile66.
318 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
319 testfilebaz*ppc64): New tests.
320 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
321 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
322 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
323 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
324 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
325 testfilebaztabppc64.bz2: New test files.
326
3272013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvilc6a41482013-12-17 18:49:54 +0100328
329 unwinder: s390 and s390x
330 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
331 run-backtrace-core-s390.sh.
332 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
333 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
334 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
335 * backtrace.s390.core.bz2: New file.
336 * backtrace.s390.exec.bz2: New file.
337 * backtrace.s390x.core.bz2: New file.
338 * backtrace.s390x.exec.bz2: New file.
339 * run-backtrace-core-s390.sh: New file.
340 * run-backtrace-core-s390x.sh: New file.
341
Jan Kratochvilb3c810f2013-12-17 21:11:48 +01003422013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
343
344 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
345 code.
346
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +01003472013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
348
349 unwinder: ppc
350 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
351 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
352 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
353 * backtrace.ppc.core.bz2: New file.
354 * backtrace.ppc.exec.bz2: New file.
355 * run-backtrace-core-ppc.sh: New file.
356
Mark Wielaard7fc49292013-12-13 22:42:46 +01003572013-12-10 Mark Wielaard <mjw@redhat.com>
358
Mark Wielaard63572f42013-12-13 23:12:18 +0100359 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
360
3612013-12-10 Mark Wielaard <mjw@redhat.com>
362
Mark Wielaard7fc49292013-12-13 22:42:46 +0100363 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
364 * backtrace-subr.sh (check_native_core): Disable valgrind while
365 dumping core.
366 * run-backtrace-data.sh: Disable valgrind.
367 * run-backtrace-dwarf.sh: Likewise.
368
Mark Wielaard3951f2e2013-12-09 16:33:26 +01003692013-12-09 Mark Wielaard <mjw@redhat.com>
370
371 * varlocs.c (print_expr): Update comment to explain empty location
372 associated with DW_OP_GNU_implicit_pointer.
373
Jan Kratochvilf88863f2013-12-05 16:16:14 +01003742013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
375
376 Fix test FAIL with -O2.
377 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
378
Mark Wielaard813aae02013-12-05 15:26:51 +01003792013-12-05 Mark Wielaard <mjw@redhat.com>
380
381 * backtrace-data.c (main): If unsupported also print to stderr.
382 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
383
Mark Wielaard1bfab192013-12-04 20:55:23 +01003842013-12-04 Mark Wielaard <mjw@redhat.com>
385
386 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
387
Jan Kratochvil8ae9bc92013-12-02 20:54:28 +01003882013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
389
390 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
391 backtrace-data and backtrace-dwarf.
392 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
393 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
394 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
395 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
396 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
397 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
398 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
399 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
400 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
401 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
402 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
403 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
404 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
405 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
406 New.
407 * backtrace-child.c: New file.
408 * backtrace-data.c: New file.
409 * backtrace-dwarf.c: New file.
410 * backtrace-subr.sh: New file.
411 * backtrace.c: New file.
412 * cleanup-13.c: New file.
413 * backtrace.i386.core.bz2: New file.
414 * backtrace.i386.exec.bz2: New file.
415 * backtrace.x86_64.core.bz2: New file.
416 * backtrace.x86_64.exec.bz2: New file.
417 * run-backtrace-core-i386.sh: New file.
418 * run-backtrace-core-x86_64.sh: New file.
419 * run-backtrace-native-biarch.sh: New file.
420 * run-backtrace-native-core-biarch.sh: New file.
421 * run-backtrace-native-core.sh: New file.
422 * run-backtrace-native.sh: New file.
423 * run-backtrace-data.sh: New file.
424 * run-backtrace-dwarf.sh: New file.
425
Mark Wielaard819c3492013-11-27 16:45:44 +01004262013-11-27 Mark Wielaard <mjw@redhat.com>
427
428 * dwflsyms.c (gelf_bind_order): New function.
429 (elf_section_name): Likewise.
430 (addr_in_section): Likewise.
431 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
432 Refine assert using gelf_bind_order. Print elf_section_name. Check
433 bias with addr_in_section.
434 * run-dwflsyms.sh: Add section names to expected output.
435
Mark Wielaard0d5a8672013-11-26 10:44:18 +01004362013-11-26 Mark Wielaard <mjw@redhat.com>
437
438 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
439
Petr Machata98c8a732013-11-26 03:10:31 +01004402013-11-25 Petr Machata <pmachata@redhat.com>
441
442 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
443 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
444 * Makefile.am (EXTRA_DIST): Add these.
445 (TESTS): Add run-funcretval.sh.
446 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
447 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
448 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
449 * run-funcretval.sh: New file.
450
Josh Stonedb35c872013-11-18 14:29:35 -08004512013-11-18 Josh Stone <jistone@redhat.com>
452
453 * testfilebazdbg_plr.bz2: New testfile.
454 * testfilebazmin_plr.bz2: Likewise.
455 * Makefile.am (EXTRA_DIST): Add the above files.
456 * run-dwflsyms.sh: Add prelink -r tests.
457
Mark Wielaard68ce4fc2013-11-16 00:11:38 +01004582013-11-15 Mark Wielaard <mjw@redhat.com>
459
460 * testfilebazmdb.bz2: Regenerated.
461 * testfilebazmin.bz2: Likewise.
462 * testfilebazdbg_pl.bz2: New testfile.
463 * testfilebazmin_pl.bz2: Likewise.
464 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
465 testfilebazmin_pl.bz2.
466 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
467 print relative address of function symbols.
468 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
469
Michael Forneya45c8042013-11-01 00:51:04 -07004702013-11-01 Michael Forney <mforney@mforney.org>
471
472 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
473 * run-arsymtest.sh: Use NM.
474
Mark Wielaardd8c75df2013-11-05 11:27:19 +01004752013-11-05 Mark Wielaard <mjw@redhat.com>
476
477 * allfcts.c (main): Correct dwarf_getfuncs return value check.
478
Mark Wielaarde6a9bb82013-10-10 11:40:12 +02004792013-10-10 Mark Wielaard <mjw@redhat.com>
480 Josh Stone <jistone@redhat.com>
481
482 * run-allfcts-multi.sh: New test.
483 * test-offset-loop.bz2: New testfile.
484 * test-offset-loop.alt.bz2: New testfile.
485 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
486 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
487 test-offset-loop.alt.bz2.
488
Mark Wielaardd1829742013-10-15 23:53:32 +02004892013-10-15 Mark Wielaard <mjw@redhat.com>
490
491 * run-unstrip-M.sh: New test.
492 * Makefile.am (TESTS): Add run-unstrip-M.sh.
493 (EXTRA_DIST): Likewise.
494
Mark Wielaard3dec3e12013-10-06 17:04:07 +02004952013-10-06 Mark Wielaard <mjw@redhat.com>
496
497 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
498 location expression.
499
Josh Stone5dbbc5e2013-10-03 12:38:25 -07005002013-10-03 Josh Stone <jistone@redhat.com>
501
502 * typeiter2.c: New file, reversing typeiter.c.
503 * run-typeiter.sh: Also run typeiter2.
Mark Wielaardd1829742013-10-15 23:53:32 +0200504 * Makefile.am (check_PROGRAMS): Add typeiter2.
Josh Stone5dbbc5e2013-10-03 12:38:25 -0700505 (typeiter2_LDADD): New variable.
506
Petr Machataab224102013-09-26 00:39:34 +02005072013-09-26 Petr Machata <pmachata@redhat.com>
508
Petr Machata0c9ae0c2013-09-26 21:02:22 +0200509 * run-readelf-mixed-corenote.sh: Update output of testfile71
510 dump--readelf can newly decode the NT_FILE note.
511
5122013-09-26 Petr Machata <pmachata@redhat.com>
513
Petr Machataab224102013-09-26 00:39:34 +0200514 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
515 * run-readelf-mixed-corenote.sh: New test for this file.
516 * testfile71.bz2: New file.
517
Mark Wielaard1b734df2013-09-20 09:50:42 -04005182013-09-20 Mark Wielaard <mjw@redhat.com>
519
520 * allfcts.c (cb): Return DWARF_CB_ABORT.
521 (main): Iterate over all offsets returned by dwarf_getfuncs.
522 * run-allfcts.sh: Add nested_funcs and class_func testcases.
523 * testfile_nested_funcs.bz2: New test file.
524 * testfile_class_func.bz2: Likewise.
525 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
526 testfile_nested_funcs.bz2.
527
Mark Wielaard6e6e54e2013-08-31 00:52:12 +02005282013-08-30 Mark Wielaard <mjw@redhat.com>
529
530 * Makefile.am (check_PROGRAMS): Add varlocs.
531 (TESTS): Add run-varlocs.sh.
532 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
533 testfile_const_type.bz2, testfile_implicit_pointer.c,
534 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
535 testfile_entry_value.c, testfile_entry_value.bz2,
536 testfile_implicit_value.c and testfile_implicit_value.bz2.
537 (varlocs_LDADD): New.
538 * run-varlocs: New test.
539 * testfile_const_type.c: New test source file.
540 * testfile_entry_value.c: Likewise.
541 * testfile_implicit_pointer.c: Likewise.
542 * testfile_implicit_value.c: Likewise.
543 * testfile_parameter_ref.c: Likewise.
544 * testfile_const_type.bz2: New test file.
545 * testfile_entry_value.bz2: Likewise.
546 * testfile_implicit_pointer.bz2: Likewise.
547 * testfile_implicit_value.bz2: Likewise.
548 * testfile_parameter_ref.bz2: Likewise.
549 * varlocs.c: New test source.
550
Mark Wielaard92e47d62013-09-02 16:46:50 +02005512013-08-29 Mark Wielaard <mjw@redhat.com>
552
553 * run-addrcfi.sh: Add case for EM_ARM.
554 * testfilearm.bz2: New testfile.
555 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
556
Mark Wielaardd3f16452013-08-28 18:10:44 +02005572013-08-28 Mark Wielaard <mjw@redhat.com>
558
Mark Wielaard79b91812013-08-28 21:54:58 +0200559 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
560 completely missing.
561 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
562 * testfiles390.bz2: New testfile.
563 * testfiles390x.bz2: Likewise.
564 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
565 testfiles390x.bz2.
566
5672013-08-28 Mark Wielaard <mjw@redhat.com>
568
Mark Wielaardd3f16452013-08-28 18:10:44 +0200569 * addrcfi.c (handle_cfi): Use printf not error.
570 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
571 * testfileppc32.bz2: New testfile.
572 * testfileppc64.bz2: Likewise.
573 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
574 testfileppc64.bz2.
575
Mark Wielaard292b1782013-08-27 15:40:56 +02005762013-08-27 Mark Wielaard <mjw@redhat.com>
577
578 * run-addrcfi.sh: New test.
579 * Makefile.am (TESTS): Add run-addrcfi.sh.
580 (EXTRA_DIST): Likewise.
581 * addrcfi.c (op_name): New function.
582 (print_detail): Call and print op_name. Check ops, not result
583 to check if this is "same value" or "undefined".
584 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
585
Mark Wielaard4b9e6392013-08-13 11:40:21 +02005862013-08-13 Mark Wielaard <mjw@redhat.com>
587
588 * run-addr2line-i-test.sh: New test.
589 * testfile-inlines.bz2: New testfile.
590 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
591 testfile-inlines.bz2.
592 (TESTS): Add run-addr2line-i-test.sh.
593
Mark Wielaardd0f85012013-08-12 14:21:31 +02005942013-08-12 Mark Wielaard <mjw@redhat.com>
595
596 * run-addr2line-test.sh: New test.
597 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
598 (TESTS): Likewise.
599
Jan Kratochvil596d4302013-07-23 16:30:01 +02006002013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
601
602 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
603 the entries.
604
Mark Wielaard263d7ee2013-07-02 16:16:58 +02006052013-07-02 Mark Wielaard <mjw@redhat.com>
606
607 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
608 testfilenolines.bz2.
609
Jan Kratochvil8ff86292013-05-30 13:21:20 +02006102013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
611
612 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
613 test-core.core.bz2 and test-core.exec.bz2.
614 * run-addrname-test.sh: New test for these files.
615 * run-unstrip-n.sh: Update expected output. New test for these files.
616 * test-core-lib.so.bz2: New file.
617 * test-core.core.bz2: New file.
618 * test-core.exec.bz2: New file.
619
Mark Wielaard9affad32013-05-03 11:28:49 +02006202013-05-03 Mark Wielaard <mjw@redhat.com>
621
622 * testfilenolines.bz2: New test file.
623 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
624 * run-get-lines.sh: Run testrun_compare on testfilenolines.
625
Jan Kratochvil904aec22013-04-30 14:27:16 +02006262013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
627
628 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
629
Mark Wielaard807ea312013-04-29 20:48:36 +02006302013-04-29 Mark Wielaard <mjw@redhat.com>
631
632 * test-subr.sh: Don't use pushd, just cd into test-dir.
633 (exit_cleanup): Don't use popd, just cd .. to get out.
634
Mark Wielaarda6098312013-04-26 21:21:56 +02006352013-04-27 Mark Wielaard <mjw@redhat.com>
636
Mark Wielaard527e21e2013-04-27 23:15:44 +0200637 * test-subr.sh (exit_cleanup): New function.
638 (trap): Use exit_cleanup as argument.
639 * run-native-test.sh (native_exit): New function.
640 (trap): For EXIT (0) use native_exit as argument.
641
6422013-04-27 Mark Wielaard <mjw@redhat.com>
643
Mark Wielaardb0f202e2013-04-28 00:54:17 +0200644 * update1.c (main): Use unique tempfile name and unlink file.
645 * update2.c (main): Likewise.
646 * update3.c (main): Likewise.
647 * update4.c (main): Use unique tempfile name.
648
6492013-04-27 Mark Wielaard <mjw@redhat.com>
650
Mark Wielaarda6098312013-04-26 21:21:56 +0200651 * run-alldts.sh: Add testfile-alldts to tempfiles.
652 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
653 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
654 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
655 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
656
Mark Wielaard86be7922013-04-26 23:44:25 +02006572013-04-26 Mark Wielaard <mjw@redhat.com>
658
659 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
660 remove wrapper.
661 (TESTS_ENVIRONMENT): Likewise.
662 (installed_LOG_COMPILER): New variable defining wrapper.
663 (LOG_COMPILER): Likewise.
664 * run-*.sh: Fixup location of input and output files.
665 * test-subr.sh: Create test_dir, pushd to execute test in.
666 (trap): Remove test_dir.
667 (testfiles): Use abs_srcdir.
668 (installed_testrun): Match on abs_builddir or abs_top_builddir.
669 (self_test_files): Adjust path.
670
Mark Wielaardcdaaf212013-04-25 16:50:11 -04006712013-04-24 Mark Wielaard <mjw@redhat.com>
672
673 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
674
Mark Wielaarda8c7f052013-03-25 21:11:53 +01006752013-03-25 Mark Wielaard <mjw@redhat.com>
676
Mark Wielaardb79788c2013-03-25 11:45:22 +0100677 * run-readelf-aranges.sh: New test.
678 * testfilefoobarbaz.bz2: New test file.
679 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
680 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
681
6822013-03-25 Mark Wielaard <mjw@redhat.com>
683
Mark Wielaarda8c7f052013-03-25 21:11:53 +0100684 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
685
Jan Kratochvila1d44822013-03-19 13:40:13 +01006862013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
689 (TESTS): Add run-dwfl-report-elf-align.sh.
690 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
691 testfile-dwfl-report-elf-align-shlib.so.bz2 .
692 (dwfl_report_elf_align_LDADD): New.
693 * dwfl-report-elf-align.c: New file.
694 * run-dwfl-report-elf-align.sh: New file.
695 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
696
Mark Wielaardf1b06b52013-03-12 12:02:51 +01006972013-03-12 Mark Wielaard <mjw@redhat.com>
698
699 * run-dwfllines.sh: New test.
700 * dwfllines.c: New test program.
701 * Makefile.am (TESTS): Add run-dwfllines.sh.
702 (EXTRA_DIST): Likewise.
703 (dwfllines_LDADD): New variable.
704
Mark Wielaardf6185a72013-02-22 23:42:59 +01007052013-02-22 Mark Wielaard <mjw@redhat.com>
706
707 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
708 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
709
Mark Wielaard443304e2013-02-15 22:45:22 +01007102013-02-15 Mark Wielaard <mjw@redhat.com>
711
712 * testfile-dwzstr.bz2: New testfile.
713 * testfile-dwzstr.multi.bz2: Likewise.
714 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
715 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
716 testfile-dwzstr.multi.bz2.
717
Mark Wielaard6c4b2072013-01-30 11:04:38 +01007182013-01-30 Mark Wielaard <mjw@redhat.com>
719
720 * testfileloc.bz2: New testfile.
721 * run-readelf-loc.sh: New test.
722 * Makefile.am (TESTS): Add run-readelf-loc.sh.
723 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
724
Jan Kratochvilcc84d792012-10-10 19:32:05 +02007252013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
726
727 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
728 and s390x core notes.
729 * testfile67.bz2: New file.
730 * testfile68.bz2: New file.
731 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
732
Mark Wielaard697bdca2013-01-23 17:39:19 +01007332013-01-23 Mark Wielaard <mjw@redhat.com>
734
735 * testfilebasmin.bz2: New testfile.
736 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
737 * run-readelf-s.sh: Test testfilebasmin.
738 * run-dwflsyms.sh: Likewise.
739
Mark Wielaard9a91fb22013-01-16 15:19:40 +01007402013-01-16 Mark Wielaard <mjw@redhat.com>
741
742 * Makefile.am (check_PROGRAMS): Add dwflsyms.
743 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
744 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
745 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
746 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
747 (dwflsyms_LDADD): New variable.
748
Roland McGrath3f9256d2013-01-07 15:13:46 -08007492013-01-07 Roland McGrath <roland@hack.frob.com>
750
751 * run-prelink-addr-test.sh: Use ln -snf.
752
Mark Wielaard1d6a4352012-12-03 17:01:09 +01007532012-12-03 Mark Wielaard <mjw@redhat.com>
754
755 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
756
Jan Kratochvild5784af2012-10-18 00:11:30 +02007572012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
758
759 * run-addrname-test.sh: New test for PIE relocation.
760 * testfile70.core.bz2: New file.
761 * testfile70.exec.bz2: New file.
762 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
763 testfile70.exec.bz2 .
764
Jan Kratochvild7ed0252012-10-27 21:31:58 +02007652012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
766
767 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
768 testfile69.core.bz2 and testfile69.so.bz2 .
769
Jan Kratochvil3fdcdcb2012-10-17 21:49:10 +02007702012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
771
772 * run-addrname-test.sh: New test for DSO with build-id bias.
773 * testfile69.core.bz2: New file.
774 * testfile69.so.bz2: New file.
775
Jan Kratochvil78dec222012-10-10 08:04:01 +02007762012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
777
Jan Kratochvil387654d2012-10-10 08:08:44 +0200778 * run-addrname-test.sh: New test for core vDSO bias.
779 * testfile65.bz2: New file.
780
7812012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
782
Jan Kratochvil78dec222012-10-10 08:04:01 +0200783 * run-addrname-test.sh: New test for symbol preferences.
784 * testfile64.bz2: New file.
785
Mark Wielaarde3e3ee22012-10-01 16:14:12 +02007862012-10-01 Mark Wielaard <mjw@redhat.com>
787
788 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
789 * test-wrapper.sh: Export VALGRIND_CMD if available.
790 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
791 (installed_testrun): Likewise.
792
Petr Machataae7c5e72012-09-24 16:16:27 +02007932012-09-24 Petr Machata <pmachata@redhat.com>
794
Petr Machata522a73f2012-09-24 16:46:52 +0200795 * testfile63.bz2: New testfile.
796 * run-readelf-mixed-corenote.sh: New test.
797 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
798 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
799
8002012-09-24 Petr Machata <pmachata@redhat.com>
801
Petr Machataae7c5e72012-09-24 16:16:27 +0200802 * testfile62.bz2: New testfile.
803 * run-readelf-vmcoreinfo.sh: New test.
804 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
805 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
806
Petr Machata3662ad12012-09-18 21:35:19 +02008072012-09-18 Petr Machata <pmachata@redhat.com>
808
809 * testfile61.bz2: New testfile.
810 * run-allregs.sh: Run reg_test testfile61.
811 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
812
Mark Wielaarde0ebc5a2012-08-24 14:51:37 +02008132012-08-24 Mark Wielaard <mjw@redhat.com>
814
815 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
816
Jeff Kenton257dcf42012-08-22 09:00:03 -04008172012-08-22 Jeff Kenton <jkenton@tilera.com>
818
819 * testfile60.bz2: New testfile.
820 * run-allregs.sh: Run reg_test testfile60.
821
Mark Wielaardf5519fc2012-08-24 13:54:52 +02008222012-08-24 Mark Wielaard <mjw@redhat.com>
823
824 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
825 ENABLE_DWZ.
826
Mark Wielaardf31c4412012-08-17 00:35:03 +02008272012-08-16 Mark Wielaard <mjw@redhat.com>
828
829 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
830 macros.
831 * show-die-info.c (tagnames): Removed.
832 (attrs): Removed.
833 (dwarf_tag_string): New function using known-dwarf macros.
834 (dwarf_attr_string): Likewise.
835 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
836 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
837
Mark Wielaard775375e2012-06-22 12:02:45 +02008382012-06-27 Mark Wielaard <mjw@redhat.com>
839
840 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
841 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
842 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
843 testfile_multi_main.bz2.
844 * run-readelf-dwz-multi.sh: New test.
845 * libtestfile_multi_shared.so.bz2: New testfile.
846 * testfile_multi.dwz.bz2: New testifle.
847 * testfile_multi_main.bz2: New testifle.
848
Petr Machata30a941c2012-08-01 21:41:36 +02008492012-08-01 Petr Machata <pmachata@redhat.com>
850
851 * run-test-archive64.sh: New test.
852 * testarchive64.a.bz2: New testfile.
853 * Makefile.am (TESTS): Add run-test-archive64.sh.
854 (EXTRA_DIST): Likewise.
855
Mark Wielaard94e387f2012-08-01 15:31:12 +02008562012-08-01 Mark Wielaard <mjw@redhat.com>
857
Mark Wielaardbf707b52012-08-01 15:39:11 +0200858 * run-nm-self.sh: New test.
859 * run-readelf-self.sh: Likewise.
860 * test-subr.sh (testrun_on_self_quiet): New function.
861 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
862 (EXTRA_DIST): Likewise.
863
8642012-08-01 Mark Wielaard <mjw@redhat.com>
865
Mark Wielaard94e387f2012-08-01 15:31:12 +0200866 * test-subr.sh (self_test_files): New list of files.
867 (testrun_on_self): New function.
868 * run-elflint-self.sh: Use testrun_on_self.
869
Mark Wielaard714ea0e2012-07-19 13:07:39 +02008702012-07-19 Mark Wielaard <mjw@redhat.com>
871
Mark Wielaard030f6262012-07-18 13:14:30 +0200872 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
873 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
874 (EXTRA_DIST): Likewise.
875 (test_elf_cntl_gelf_getshdr_LDADD): New.
876 test-elf_cntl_gelf_getshdr.c: New test program.
877 run-elf_cntl_gelf_getshdr.sh: New test script.
878
8792012-07-19 Mark Wielaard <mjw@redhat.com>
880
Mark Wielaardadcd1dd2012-07-19 22:59:18 +0200881 * run-elflint-self.sh: runtests on ../backends/*so files.
882
8832012-07-19 Mark Wielaard <mjw@redhat.com>
884
Mark Wielaard714ea0e2012-07-19 13:07:39 +0200885 * run-unstrip-n.sh: test_cleanup.
886 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
887
Mark Wielaarde9b23882012-06-29 22:30:15 +02008882012-07-11 Mark Wielaard <mjw@redhat.com>
889
890 * run-readelf-macro.sh: New test.
891 * testfilemacro.bz2: New testfile.
892 * Makefile.am (TESTS): Add run-readelf-macro.sh.
893 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
894
Mark Wielaard84a1e0b2012-06-29 23:38:09 +02008952012-06-27 Mark Wielaard <mjw@redhat.com>
896
897 * run-readelf-gdb-index.sh: New test.
898 * testfilegdbindex5.bz2: New testfile.
899 * testfilegdbindex7.bz2: Likewise.
900 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
901 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
902 testfilegdbindex7.bz2.
903
Mark Wielaard97212fe2012-07-17 21:12:39 +02009042012-07-17 Mark Wielaard <mjw@redhat.com>
905
906 * testcore-rtlib-ppc.bz2: New testfile.
907 * run-unstrip-n.sh: Check new ppc core testfile.
908
Mike Frysingerc09c5f32012-06-26 12:07:44 -04009092012-06-26 Mike Frysinger <vapier@gentoo.org>
910
911 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
912
Mark Wielaarda0172d72012-06-25 17:18:53 +02009132012-06-26 Mark Wielaard <mjw@redhat.com>
914
915 * run-macro-test.sh: New test.
916 * testfile-macinfo.bz2: New testfile.
917 * testfile-macros.bz2: Likewise.
918
Mark Wielaard547049b2012-06-22 18:19:02 +02009192012-05-07 Mark Wielaard <mjw@redhat.com>
920
921 * low_high_pc.c: Use proper inttypes in printf formats.
922
Mark Wielaarddbbc67a2012-05-11 12:57:57 +02009232012-05-11 Mark Wielaard <mjw@redhat.com>
924
925 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
926
Mark Wielaardd9bc75f2012-05-07 13:29:52 +02009272012-05-07 Mark Wielaard <mjw@redhat.com>
928
929 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
930
Mark Wielaard54797252012-04-27 13:00:50 +02009312012-04-27 Mark Wielaard <mjw@redhat.com>
932
933 * Makefile.am (TESTS): Add run-low_high_pc.sh
934 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
935 (noinst_PROGRAMS): Add low_high_pc.
936 (low_high_pc_LDADD): New variable.
937 * low_high_pc.c: New test.
938
Mark Wielaardbdad8e32012-04-26 12:24:33 +02009392012-04-26 Mark Wielaard <mjw@redhat.com>
940
941 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
942 * run-show-ciefde.sh: Removed old libdwarf test.
943 * show-ciefde.c: Likewise.
944
Mark Wielaard191d1f02012-04-02 17:11:25 +02009452012-04-02 Mark Wielaard <mjw@redhat.com>
946
Mark Wielaard96a52132012-04-03 00:21:50 +0200947 * Makefile.am (TESTS): Add run-unstrip-n.sh.
948 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
949 * run-unstrip-n.sh: New test.
950 * testcore-rtlib.bz2: New testfile.
951
9522012-04-02 Mark Wielaard <mjw@redhat.com>
953
Mark Wielaard191d1f02012-04-02 17:11:25 +0200954 * Makefile.am (TESTS): Add run-readelf-d.sh.
955 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
956 * run-readelf-d.sh: New test.
957 * run-elflint-test.sh: Check new testfile.
958
Tom Tromey581c3f62012-03-21 08:54:32 -06009592012-03-21 Tom Tromey <tromey@redhat.com>
960
961 * typeiter.c: New file.
962 * run-typeiter.sh: New file.
963 * testfile59.bz2: New file.
964 * Makefile.am (noinst_PROGRAMS): Add typeiter.
965 (TESTS): Add run-typeiter.sh.
966 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
967 (typeiter_LDADD): New variable.
968
Kurt Roeckx5a8e39a2012-02-24 23:40:32 +01009692012-02-21 Kurt Roeckx <kurt@roeckx.be>
970
971 * run-alldts.sh: testrun ./alldts.
972
Roland McGrathe3b15682012-02-21 11:12:46 -08009732012-02-21 Roland McGrath <roland@hack.frob.com>
974
975 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
Roland McGrathc1c6a9d2012-02-21 12:51:36 -0800976 * test-subr.sh (installed_testrun): Likewise.
Roland McGrathe3b15682012-02-21 11:12:46 -0800977
Roland McGrathb8ff18e2012-01-18 13:57:08 -08009782012-01-18 Roland McGrath <roland@hack.frob.com>
979
980 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
981 it will have been inherited correctly from the test harness.
982 * asm-tst5.c (main): Likewise.
983 * asm-tst6.c (main): Likewise.
984 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
985
Roland McGrath32899ac2011-07-09 03:17:24 -07009862011-07-09 Roland McGrath <roland@hack.frob.com>
987
988 * sha1-tst.c: File removed.
989 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
990 (sha1_tst_LDADD): Variable removed.
991
992 * md5-sha1-test.c: New file.
993 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
994 (md5_sha1_test_LDADD): New variable.
995
Mark Wielaard3f2290b2011-05-30 15:46:32 +02009962011-05-30 Mark Wielaard <mjw@redhat.com>
997
998 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
999 run-rerequest_tag.sh
1000
Mark Wielaard20a217d2011-05-24 14:30:40 +020010012011-05-24 Mark Wielaard <mjw@redhat.com>
1002
1003 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
1004 * run-strip-reloc.sh: Add hello_s390.ko testcase.
1005 * hello_s390.ko.bz2: New test file.
1006
Mark Wielaard1662bc32011-05-16 11:33:11 +020010072011-05-23 Mark Wielaard <mjw@redhat.com>
1008
1009 * Makefile.am (TESTS): Add run-strip-reloc.sh.
1010 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
1011 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
1012 * run-strip-reloc.sh: New test.
1013 * hello_i386.ko.bz2: New test file.
1014 * hello_x86_64.ko.bz2: Likewise.
1015 * hello_ppc64.ko.bz2: Likewise.
1016
Mark Wielaard7a125b92011-05-17 12:20:01 +020010172011-05-18 Mark Wielaard <mjw@redhat.com>
1018
1019 * run-strip-groups.sh: New test.
1020 * testfile58.bz2: New test file.
1021 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
1022 (TESTS): Add run-strip-groups.sh.
1023 (EXTRA_DIST): Likewise.
1024
Marek Polacek494275c2011-03-28 16:00:38 +020010252011-03-28 Marek Polacek <mpolacek@redhat.com>
1026
1027 * alldts.c: New file.
1028 * run-alldts.sh: Use it.
1029 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1030 (alldts_LDADD): New variable.
1031
10322011-03-02 Marek Polacek <mpolacek@redhat.com>
Marek Polacek48942212011-03-07 11:16:50 -08001033
1034 * dwarf-getstring.c: New test.
1035 * run-dwarf-getstring.sh: And its wrapper.
1036 * Makefile.am (EXTRA_DIST): Add and update all.
1037
Jan Kratochvilfec39992011-02-27 12:01:25 -080010382011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1039
1040 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
1041 * run-readelf-twofiles.sh: New file.
1042
Mark Wielaard58cfa1c2011-02-25 20:17:52 +010010432011-02-25 Mark Wielaard <mjw@redhat.com>
1044
1045 * Makefile.am (BUILD_RPATH): Be consistent in naming.
1046
Josh Stonedc34eda2011-02-02 16:30:01 -080010472011-02-02 Josh Stone <jistone@redhat.com>
1048
1049 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
1050 * testfile55-64.bz2, testfile55-64.debug.bz2,
1051 testfile55-64.prelink.bz2, testfile55-32.bz2,
1052 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
1053 * Makefile.am (EXTRA_DIST): Add and update all.
1054
Roland McGrath32520bd2011-01-12 10:43:32 -080010552011-01-12 Roland McGrath <roland@redhat.com>
1056
1057 * run-prelink-addr-test.sh: Make symlinks to find .debug files
Roland McGrath4f6d4e12011-01-12 10:49:40 -08001058 corresponding to .noshdrs files.
Roland McGrath32520bd2011-01-12 10:43:32 -08001059
Josh Stoned41d9a62011-01-11 19:16:57 -080010602011-01-11 Josh Stone <jistone@redhat.com>
1061
Josh Stoneccbccef2011-01-11 19:16:59 -08001062 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
1063 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
1064 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
1065 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
1066 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
1067 * Makefile.am (EXTRA_DIST): Add and update all.
1068
Josh Stonecf514712011-01-11 19:16:58 -08001069 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
1070 * testfile53.bz2, testfile53.debug.bz2,
1071 testfile53.prelink.bz2: Deleted, so...
1072 * testfile53-64.bz2, testfile53-64.debug.bz2,
1073 testfile53-64.prelink.bz2: Recreated with 64-bit names.
1074 * testfile53-32.bz2, testfile53-32.debug.bz2,
1075 testfile53-32.prelink.bz2: New in 32-bit.
1076 * Makefile.am (EXTRA_DIST): Add and update all.
1077
Josh Stoned41d9a62011-01-11 19:16:57 -08001078 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
1079 * testfile52.so.bz2, testfile52.so.debug.bz2,
1080 testfile52.prelink.so.bz2: Deleted, so...
1081 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
1082 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
1083 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
1084 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
Roland McGrath32520bd2011-01-12 10:43:32 -08001085 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
Josh Stoned41d9a62011-01-11 19:16:57 -08001086 * Makefile.am (EXTRA_DIST): Add and update all.
1087
Josh Stoneffa02002011-01-10 21:28:46 -080010882011-01-10 Josh Stone <jistone@redhat.com>
1089
1090 * run-prelink-addr-test.sh: New test for prelinked addrs.
1091 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1092 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
1093 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
1094 * testfile53.bz2, testfile53.debug.bz2: New data files.
1095 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
1096 * Makefile.am (EXTRA_DIST): Add them.
1097
Roland McGrathec86e5f2010-06-14 17:44:38 -070010982010-06-04 Roland McGrath <roland@redhat.com>
1099
1100 * run-unstrip-test.sh: Also test modifying the file in place.
1101
Roland McGrath3c6ee4b2010-04-22 22:38:58 -070011022010-04-22 Roland McGrath <roland@redhat.com>
1103
1104 * addrcfi.c (handle_cfi): Fix function name in error message.
1105 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
1106
Roland McGrath26618d82010-04-14 13:10:47 -070011072010-04-14 Roland McGrath <roland@redhat.com>
1108
1109 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
1110
Ulrich Drepperc2d1e482010-04-10 18:23:47 -070011112010-04-10 Ulrich Drepper <drepper@redhat.com>
1112
1113 * msg_tst.c: Adjust expected error message.
1114
Petr Machata77961b52010-04-06 14:16:58 +020011152010-04-01 Petr Machata <pmachata@redhat.com>
1116
1117 * test-flag-nobits.c: New test.
1118 * run-test-flag-nobits.sh: And its wrapper.
1119 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
1120 (test_flag_nobits_LDADD): New variable.
1121
Roland McGrathe9ca7382010-02-15 15:15:50 -080011222010-02-15 Roland McGrath <roland@redhat.com>
1123
Roland McGrath22359e22010-02-15 15:57:03 -08001124 * Makefile.am: Use config/eu.am for common stuff.
1125
Roland McGrathe9ca7382010-02-15 15:15:50 -08001126 * asm-tst9.c (main): Rename local to avoid shadowing another local.
1127
Roland McGrathaf800142009-07-22 13:55:50 -070011282009-07-22 Roland McGrath <roland@redhat.com>
1129
1130 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
1131
Roland McGrath3c84db32009-06-24 17:41:40 -070011322009-07-08 Roland McGrath <roland@redhat.com>
1133
1134 * addrcfi.c: New file.
1135 * Makefile.am (noinst_PROGRAMS): Add it.
1136 (addrcfi_LDADD): New variable.
1137
Petr Machatad24c7bf2009-05-07 20:58:19 +020011382009-05-07 Petr Machata <pmachata@redhat.com>
1139
1140 * testfile51.bz2: New data file.
1141 * dwarf-getmacros.c: New test core.
1142 * run-dwarf-getmacros.sh: New test wrapper.
Roland McGrath0c735a92009-05-07 18:19:16 -07001143 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1144 (dwarf_getmacros_LDADD): New variable.
Petr Machatad24c7bf2009-05-07 20:58:19 +02001145
Ulrich Drepperf9545c42009-04-23 07:59:02 -070011462009-04-23 Ulrich Drepper <drepper@redhat.com>
1147
1148 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
1149 (rdwrmmap_LDADD): Add $(libmudflap).
Roland McGrath0c735a92009-05-07 18:19:16 -07001150
Roland McGrath19a8e4d2009-04-21 15:44:07 -070011512009-04-21 Roland McGrath <roland@redhat.com>
1152
1153 * testfile50.bz2: New data file.
1154 * Makefile.am (EXTRA_DIST): Add it.
1155 * run-dwfl-addr-sect.sh: Add a case using it.
1156
Ulrich Drepper5bd44442008-12-31 09:02:54 -080011572008-12-31 Ulrich Drepper <drepper@redhat.com>
1158
Ulrich Drepper3bf57592009-01-01 18:52:05 -08001159 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
1160 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
1161 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
1162 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
1163 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
1164 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
1165 roundss, roundps, roundpd, and roundsd.
1166 * testfile45.S.bz2: Likewise.
1167 * testfile44.expect.bz2: Adjust accordingly.
1168 * testfile45.expect.bz2: Likewise.
1169
Ulrich Drepper5bd44442008-12-31 09:02:54 -08001170 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
1171 * testfile45.S.bz2: Likewise.
1172 * testfile44.expect.bz2: Adjust accordingly.
1173 * testfile45.expect.bz2: Likewise.
1174
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -080011752008-12-30 Ulrich Drepper <drepper@redhat.com>
1176
Ulrich Drepperec32ff92008-12-30 23:24:09 -08001177 * testfile44.S.bz2: Add tests for blendpd and blendps.
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -08001178 * testfile45.S.bz2: Likewise.
1179 * testfile44.expect.bz2: Adjust accordingly.
1180 * testfile45.expect.bz2: Likewise.
1181
Ulrich Drepper5a04b9f2008-12-19 01:14:12 -080011822008-12-19 Ulrich Drepper <drepper@redhat.com>
1183
1184 * testfile44.S.bz2: Add tests for AMD 3DNOW.
1185 * testfile45.S.bz2: Likewise.
1186 * testfile44.expect.bz2: Adjust accordingly.
1187 * testfile45.expect.bz2: Likewise.
1188
Roland McGratha845f682008-12-03 03:41:58 +000011892008-11-26 Roland McGrath <roland@redhat.com>
1190
1191 * dwfl-bug-getmodules.c: New file.
1192 * Makefile.am (noinst_PROGRAMS): Add it.
1193 (dwfl_bug_getmodules_LDADD): New variable.
1194
11952008-09-10 Roland McGrath <roland@redhat.com>
1196
1197 * test-subr.sh (LC_ALL): Export it set to "C".
1198 * run-dwfl-addr-sect.sh: Don't do it here.
1199 * run-strings-test.sh: Likewise.
1200
Roland McGrathb4d6f0f2008-08-25 22:55:17 +000012012008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
1202
1203 * run-addrname-test.sh: Add a new case.
1204 * testfile49.bz2: New data file.
1205 * Makefile.am (EXTRA_DIST): Add it.
1206
Roland McGrath521c47d2008-04-11 07:01:58 +000012072008-04-10 Roland McGrath <roland@redhat.com>
1208
1209 * testfile48.bz2, testfile48.bz2.debug: New data files.
1210 * Makefile.am (EXTRA_DIST): Add them.
1211 * run-strip-test8.sh: Use them.
1212
1213 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
1214
1215 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
1216 * run-strip-test8.sh: New file.
1217 * testfile47.bz2: New data file.
1218 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1219
Roland McGrath13b69602008-04-01 02:30:05 +000012202008-03-31 Roland McGrath <roland@redhat.com>
1221
1222 * run-early-offscn.sh: New file.
1223 * early-offscn.c: New file.
1224 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
1225 (early_offscn_LDADD): New variable.
1226
Roland McGrathd11f9cb2008-03-26 20:51:59 +000012272008-03-19 Roland McGrath <roland@redhat.com>
1228
1229 * run-addrname-test.sh: Add a new case.
1230
Roland McGrath658094a2008-02-22 08:14:07 +000012312008-02-22 Roland McGrath <roland@redhat.com>
1232
1233 * run-elflint-test.sh: Typo fix.
1234
12352008-02-21 Roland McGrath <roland@redhat.com>
1236
1237 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
1238 for the build down to minimum.
1239 * run-disasm-x86-64.sh: Likewise.
1240
Roland McGrath059c83e2008-02-21 06:19:39 +000012412008-02-20 Roland McGrath <roland@redhat.com>
1242
1243 * testfile46.bz2: New data file.
1244 * Makefile.am (EXTRA_DIST): Add it.
1245 * run-elflint-test.sh: Test on it.
1246
Ulrich Drepperc54785a2008-02-01 18:05:21 +000012472008-02-01 Ulrich Drepper <drepper@redhat.com>
1248
1249 * Makefile.am: Hook up sha1-tst.c.
1250 * sha1-tst.c: New file.
1251
Ulrich Drepper4d8bc812008-01-22 06:02:31 +000012522008-01-21 Roland McGrath <roland@redhat.com>
1253
1254 * testfile45.S.bz2: Add tests for cltq, cqto.
1255 * testfile45.expect.bz2: Adjust.
1256
Ulrich Drepper35f2fe62008-01-14 19:17:36 +000012572008-01-14 Ulrich Drepper <drepper@redhat.com>
1258
1259 * testfile45.S.bz2: Add more tests.
1260 * testfile45.expect.bz2: Adjust.
1261
Ulrich Drepperfd479892008-01-12 03:06:47 +000012622008-01-11 Ulrich Drepper <drepper@redhat.com>
1263
1264 * testfile45.expect.bz2: Adjust for adding of address for %rip based
1265 address mode.
1266
Ulrich Drepper96a73992008-01-11 06:17:06 +000012672008-01-10 Ulrich Drepper <drepper@redhat.com>
1268
1269 * testfile45.S.bz2: Add more tests.
1270 * testfile45.expect.bz2: Adjust.
1271
Ulrich Drepperff993222008-01-09 05:39:28 +000012722008-01-08 Ulrich Drepper <drepper@redhat.com>
1273
1274 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
1275 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
1276 run-disasm-x86-64.sh.
1277 * run-disasm-x86-64.sh: New file.
1278 * testfile45.S.bz2: New file.
1279 * testfile45.expect.bz2: New file.
1280 * testfile44.S.bz2: New tests.
1281 * testfile44.expect.bz2: Adjust.
1282
Ulrich Drepper9e6925d2008-01-04 21:42:14 +000012832008-01-04 Ulrich Drepper <drepper@redhat.com>
1284
1285 * testfile44.S.bz2: New tests.
1286 * testfile44.expect.bz2: Adjust.
1287
Ulrich Dreppere219f1c2008-01-09 05:49:49 +000012882008-01-04 Roland McGrath <roland@redhat.com>
1289
1290 * dwfl-bug-fd-leak.c (main): Add a cast.
1291
Ulrich Drepperee67b642008-01-03 08:45:10 +000012922008-01-03 Ulrich Drepper <drepper@redhat.com>
1293
1294 * testfile44.S.bz2: New tests.
1295 * testfile44.expect.bz2: Adjust.
1296
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000012972008-01-01 Ulrich Drepper <drepper@redhat.com>
1298
Ulrich Drepperf231e272008-01-02 18:07:17 +00001299 * line2addr.c: Use %m modifier instead of %a to appease gcc.
1300
13012008-01-01 Ulrich Drepper <drepper@redhat.com>
1302
Ulrich Drepperee67b642008-01-03 08:45:10 +00001303 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001304 * testfile44.expect.bz2: Adjust.
1305
13062007-12-31 Ulrich Drepper <drepper@redhat.com>
1307
Ulrich Drepperee67b642008-01-03 08:45:10 +00001308 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001309 * testfile44.expect.bz2: Adjust.
1310
13112007-12-30 Ulrich Drepper <drepper@redhat.com>
1312
Ulrich Drepperee67b642008-01-03 08:45:10 +00001313 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001314 * testfile44.expect.bz2: Adjust.
1315
13162007-12-29 Ulrich Drepper <drepper@redhat.com>
1317
Ulrich Drepperee67b642008-01-03 08:45:10 +00001318 * testfile44.s.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001319 * testfile44.expect.bz2: Adjust.
1320
13212007-12-28 Ulrich Drepper <drepper@redhat.com>
1322
1323 * testfile44.S.bz2: New tests.
1324 * testfile44.expect.bz2: Adjust.
1325
13262007-12-27 Ulrich Drepper <drepper@redhat.com>
1327
1328 * testfile44.S.bz2: New tests.
1329 * testfile44.expect.bz2: Adjust.
1330
13312007-12-26 Ulrich Drepper <drepper@redhat.com>
1332
1333 * testfile44.S.bz2: New tests.
1334 * testfile44.expect.bz2: Adjust
1335
13362007-12-21 Ulrich Drepper <drepper@redhat.com>
1337
1338 * testfile44.S.bz2: More tests.
1339 * testfile44.expect.bz2: Adjust appropriately.
1340
13412007-12-19 Ulrich Drepper <drepper@redhat.com>
1342
1343 * Makefile.am (TESTS): Add run-disasm.sh.
1344 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1345 testfile44.expect.bz2.
1346 * run-disasm.sh: New file.
1347 * testfile44.S.bz2: New file.
1348 * testfile44.expect.bz2: New file.
1349
Roland McGrath1a2e8f42007-12-15 23:39:34 +000013502007-12-15 Roland McGrath <roland@redhat.com>
1351
1352 * run-allregs.sh: Change expected output for powerpc spefscr.
1353
Roland McGrathe4c22ea2007-10-23 13:07:39 +000013542007-10-20 Roland McGrath <roland@redhat.com>
1355
1356 * run-dwfl-addr-sect.sh: Change expected output, no errors.
1357
13582007-10-19 Roland McGrath <roland@redhat.com>
1359
1360 * dwfl-addr-sect.c (handle_address): Return int.
1361 Don't exit on error, just return nonzero.
1362 (main): Collect results.
1363 * run-dwfl-addr-sect.sh: New file.
1364 * testfile43.bz2: New data file.
1365 * Makefile.am (EXTRA_DIST, TESTS): Add them.
1366
13672007-10-18 Roland McGrath <roland@redhat.com>
1368
1369 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1370
13712007-10-16 Roland McGrath <roland@redhat.com>
1372
1373 * test-subr.sh (remove_files): Don't pass -Bb to diff.
1374
Ulrich Drepperb597dfa2007-10-16 05:21:27 +000013752007-10-09 Roland McGrath <roland@redhat.com>
1376
1377 * dwflmodtest.c (print_module): Don't use %p in output.
1378 * run-dwfl-bug-offline-rel.sh: Updated expected output.
1379
13802007-10-08 Roland McGrath <roland@redhat.com>
1381
1382 * testfile42.bz2: New data file.
1383 * Makefile.am (EXTRA_DIST): Add it.
1384 * run-elflint-test.sh: New test on that file.
1385
Roland McGrath59ea7f32007-10-04 08:50:09 +000013862007-10-04 Roland McGrath <roland@redhat.com>
1387
1388 * run-readelf-test4.sh: New file.
1389 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1390
13912007-10-03 Roland McGrath <roland@redhat.com>
1392
1393 * run-readelf-test3.sh: New file.
1394 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1395
Roland McGrathf6b92282007-10-02 02:34:11 +000013962007-10-01 Roland McGrath <roland@redhat.com>
1397
1398 * run-readelf-test2.sh: New file.
1399 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1400
Roland McGrathc76f0b02007-09-27 07:31:33 +000014012007-09-11 Roland McGrath <roland@redhat.com>
1402
1403 * run-addrname-test.sh: Add a new case.
1404 * testfile41.bz2: New data file.
1405 * Makefile.am (EXTRA_DIST): Add it.
1406
Roland McGrathcb6d8652007-08-23 08:10:54 +000014072007-08-23 Roland McGrath <roland@redhat.com>
1408
1409 * run-allregs.sh: Update expected x86-64 output for %rflags.
1410
Roland McGrath099dd522007-08-13 22:58:36 +000014112007-08-12 Roland McGrath <roland@redhat.com>
1412
1413 * run-strip-test7.sh: New file.
1414 * testfile39.bz2: New data file.
1415 * testfile40.bz2: New data file.
1416 * testfile40.debug.bz2: New data file.
1417 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1418
Roland McGrath42f68682007-08-09 07:54:22 +000014192007-08-09 Roland McGrath <roland@redhat.com>
1420
1421 * dwfl-bug-report.c: Fix header inclusion.
1422
14232007-08-08 Roland McGrath <roland@redhat.com>
1424
1425 * run-addrname-test.sh: Add a new case using addr2line -S.
1426 * testfile38.bz2: New data file.
1427 * Makefile.am (EXTRA_DIST): Add it.
1428
Roland McGrath87d47802007-07-16 22:23:37 +000014292007-07-16 Roland McGrath <roland@redhat.com>
1430
1431 * dwfl-bug-report.c: New file.
1432 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1433 (dwfl_bug_report_LDADD): New variable.
1434
14352007-06-06 Roland McGrath <roland@redhat.com>
Roland McGrath0bc057c2007-06-06 08:42:42 +00001436
1437 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1438
Ulrich Drepperb0243862007-06-06 00:09:36 +000014392007-06-05 Ulrich Drepper <drepper@redhat.com>
1440
1441 * Makefile.am (EXTRA_DIST): Add missing line continuation and
1442 testfile37.bz and testfile37.debug.bz2.
1443
Roland McGrath53bce222007-05-23 19:15:04 +000014442007-05-23 Roland McGrath <roland@redhat.com>
1445
1446 * run-allregs.sh: Update expected Alpha results.
1447
Roland McGrath9aa8ef72007-05-18 08:59:43 +000014482007-05-18 Roland McGrath <roland@redhat.com>
1449
1450 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1451 * testfile37.bz2: New data file.
1452 * testfile37.debug.bz2: New data file.
1453 * run-unstrip-test2.sh: New file.
1454 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1455
14562007-05-10 Roland McGrath <roland@redhat.com>
1457
1458 * run-dwfl-bug-offline-rel.sh: New file.
1459 * testfile36.bz2: New data file.
1460 * testfile36.debug.bz2: New data file.
1461 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1462
14632007-04-28 Roland McGrath <roland@redhat.com>
1464
1465 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1466 * testfile35.bz2: New data file.
1467 * testfile35.debug.bz2: New data file.
1468 * run-unstrip-test.sh: New file.
1469 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1470
1471 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1472
Roland McGrath2be02912007-04-27 04:07:41 +000014732007-04-26 Roland McGrath <roland@redhat.com>
1474
1475 * run-elflint-self.sh: Run all tests even if one fails.
1476
1477 * run-allregs.sh: Add expected output for alpha.
1478
Roland McGrath4be15242007-04-25 03:09:33 +000014792007-04-24 Roland McGrath <roland@redhat.com>
1480
1481 * run-strip-test.sh: When we saved the debug info, test unstrip too.
1482
14832007-04-22 Roland McGrath <roland@redhat.com>
1484
1485 * run-allregs.sh: Update expected register info.
1486
Roland McGrath43da9892007-04-16 23:13:37 +000014872007-04-16 Roland McGrath <roland@redhat.com>
1488
1489 * dwfl-addr-sect.c: New file.
1490 * Makefile.am (noinst_PROGRAMS): Add it.
1491 (dwfl_addr_sect_LDADD): New variable.
1492
14932007-04-05 Roland McGrath <roland@redhat.com>
1494
1495 * get-files.c: Test dwarf_getsrcdirs.
1496 * run-get-files.sh: Update expected output.
1497
Roland McGrath5f6a41a2007-04-01 23:11:40 +000014982007-04-01 Roland McGrath <roland@redhat.com>
1499
1500 * run-allregs.sh: Updated expected output for x86_64.
1501
Ulrich Drepper6258e742007-03-13 06:22:40 +000015022007-03-04 Roland McGrath <roland@redhat.com>
1503
1504 * dwfl-bug-fd-leak.c: New file.
1505 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1506 (dwfl_bug_fd_leak_LDADD): New variable.
1507
1508 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1509 show what files have been located.
1510
Ulrich Drepperaa915fd2007-02-05 07:25:33 +000015112007-02-02 Roland McGrath <roland@redhat.com>
1512
1513 * run-addrname-test.sh: New file.
1514 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1515 * testfile34.bz2: New data file.
1516 * Makefile.am (EXTRA_DIST): Add it.
1517
15182007-01-20 Roland McGrath <roland@redhat.com>
1519
1520 * testfile33.bz2: New data file.
1521 * Makefile.am (EXTRA_DIST): Add it.
1522 * run-elflint-test.sh: Test on it too.
1523
15242007-01-18 Roland McGrath <roland@redhat.com>
1525
1526 * Makefile.am (CFLAGS): Don't molest it.
1527
15282007-01-11 Roland McGrath <roland@redhat.com>
1529
1530 * testfile32.bz2: New data file.
1531 * Makefile.am (EXTRA_DIST): Add it.
1532 * run-elflint-test.sh: Test on it too.
1533
Ulrich Drepperce0bdb62007-02-05 07:13:52 +000015342007-02-04 Ulrich Drepper <drepper@redhat.com>
1535
1536 * arls.c: New file.
1537 * Makefile (noinst_PROGRAMS): Add arls.
1538
1539 * run-ranlib-test2.sh: Fix type in comment.
1540
Ulrich Dreppercd4992c2007-01-10 20:58:17 +000015412007-01-10 Ulrich Drepper <drepper@redhat.com>
1542
1543 * run-elflint-self.sh (runtest): Show which file has the problem.
1544
Roland McGrathba949b32007-01-10 20:44:29 +000015452007-01-10 Roland McGrath <roland@redhat.com>
1546
1547 * dwfl-bug-addr-overflow.c: New file.
1548 * Makefile.am (TESTS): Add it.
1549 (dwfl_bug_addr_overflow_LDADD): New variable.
1550
Roland McGrath8190db62006-12-17 23:56:51 +000015512006-12-17 Roland McGrath <roland@redhat.com>
1552
1553 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
1554
Roland McGrathc373d852006-10-10 00:25:21 +000015552006-09-05 Roland McGrath <roland@redhat.com>
1556
1557 * run-strings-test.sh: Export LC_ALL=C for the test.
1558
15592006-08-29 Roland McGrath <roland@redhat.com>
1560
1561 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
1562 * run-arsymtest.sh: Likewise.
1563
1564 * run-native-test.sh (native.c compilation): Add some braces.
1565
15662006-08-22 Roland McGrath <roland@redhat.com>
1567
1568 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
1569 (struct reginfo): New members bits, type.
1570 (one_register, match_register): Update to take new args,
1571 record and display new info.
1572 (main): Display new info.
1573 * run-allregs.sh: Update expected results.
1574
Roland McGrath19db8592006-08-03 08:52:46 +000015752006-08-03 Roland McGrath <roland@redhat.com>
1576
1577 * run-allregs.sh: Add sparc cases.
1578 * testfile30.bz2: New data file.
1579 * testfile31.bz2: New data file.
1580 * Makefile.am (EXTRA_DIST): Add them.
1581
Roland McGrath95024622006-07-21 10:06:31 +000015822006-07-21 Roland McGrath <roland@redhat.com>
1583
1584 * allregs.c (struct reginfo): Increase size of name.
1585 (one_register): Assert that it's big enough.
1586
Roland McGrathb4379722006-04-05 01:35:26 +000015872006-04-04 Roland McGrath <roland@redhat.com>
1588
1589 * run-bug1-test.sh: Test a second case, to cover both byte orders.
1590 * testfile29.bz2: New file.
1591 * testfile29.rdwr.bz2: New file.
1592 * Makefile.am (EXTRA_DIST): Add them.
1593
Ulrich Drepperba718b12006-04-04 21:31:16 +000015942006-04-04 Ulrich Drepper <drepper@redhat.com>
1595
1596 * Makefile.am: Add rules to run run-bug1-test.sh.
1597 * rdwrmmap.c: New file.
1598 * run-bug1-test.sh: New file.
1599 * testfile28.bz2: New file.
1600 * testfile28.rdwr.bz2: New file.
1601
Roland McGrathdd7e22b2006-03-09 23:05:47 +000016022006-03-09 Roland McGrath <roland@redhat.com>
1603
1604 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
1605
Roland McGrath060fa052006-03-02 07:51:50 +000016062006-03-01 Roland McGrath <roland@redhat.com>
1607
1608 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
1609 changes matching 3.0 spec.
1610
Roland McGrathc40f58a2006-01-13 20:13:21 +000016112006-01-13 Roland McGrath <roland@redhat.com>
1612
1613 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
1614 bash 3.1 whines when it's done in the trap 0 handler.
1615
Roland McGrath4b248ce2006-01-12 03:34:38 +000016162006-01-11 Roland McGrath <roland@redhat.com>
1617
1618 * testfile26.bz2: New data file.
1619 * testfile27.bz2: New data file.
1620 * Makefile.am (EXTRA_DIST): Add them.
1621 * run-allregs.sh: Test s390 data.
1622
Roland McGrath124a7982005-12-15 02:37:09 +000016232005-12-14 Roland McGrath <roland@redhat.com>
1624
1625 * run-native-test.sh: Redirect output from native test process.
1626
Roland McGrath94d26ad2005-12-13 23:24:37 +000016272005-12-13 Roland McGrath <roland@redhat.com>
1628
1629 * allregs.c (main): Fail if we find no registers.
1630
1631 * run-native-test.sh: New file.
1632 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1633
Roland McGrathba72ab12005-12-12 00:04:33 +000016342005-12-10 Ulrich Drepper <drepper@redhat.com
1635
1636 * run-readelf-test1.sh: New file.
1637 * Makefile.am (TESTS): Add run-readelf-test1.sh.
1638 (EXTRA_DIST): Likewise.
1639
Roland McGrathd804e722005-12-08 01:35:42 +000016402005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001641
Roland McGrathd804e722005-12-08 01:35:42 +00001642 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001643
Roland McGrath994b4892005-12-05 22:46:21 +000016442005-11-25 Roland McGrath <roland@redhat.com>
1645
1646 * coverage.sh: Given -v argument, print names of unused files.
1647
1648 * addrscopes.c (main): Use dwfl_end before return.
1649 * allregs.c (main): Likewise.
1650 * find-prologues.c (main): Likewise.
1651 * funcretval.c (main): Likewise.
1652 * funcscopes.c (main): Likewise.
1653 * line2addr.c (main): Likewise.
1654
1655 * run-allregs.sh: New file.
1656 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1657
1658 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
1659 * Makefile.am (allregs_LDADD): Updated.
1660
1661 * allregs.c: New file.
1662 * Makefile.am (noinst_PROGRAMS): Add it.
1663 (allregs_LDADD): New variable.
1664
Roland McGrath9365d2c2005-11-18 23:55:47 +000016652005-11-18 Roland McGrath <roland@redhat.com>
1666
1667 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
1668 * test-wrapper.sh: Likewise.
1669
Roland McGrath575dd392005-11-18 01:41:52 +000016702005-11-17 Roland McGrath <roland@redhat.com>
1671
Roland McGrathaf74f5c2005-11-18 02:25:14 +00001672 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
1673 environment for test-wrapper.sh.
1674 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
1675 * test-subr.sh (installed_testrun): Likewise.
1676 Use explicit path in ${bindir}.
1677
Roland McGrath575dd392005-11-18 01:41:52 +00001678 * Makefile.am (installcheck-local): Fix typo in last change.
1679
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000016802005-11-16 Roland McGrath <roland@redhat.com>
1681
1682 * configure.ac: New file, for standalone build/dist of test suite.
1683 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
1684 (asm_TESTS): New variable, broken out of ...
1685 (TESTS): ... here. Also remove msg_tst.
1686 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
1687 (installed_TESTS_ENVIRONMENT): New variable.
1688 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
1689 [!STANDALONE] (installcheck-local): Likewise.
1690 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
1691 * addrscopes.c: Include <config.h>.
1692 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
1693 * allfcts.c: Likewise.
1694 * asm-tst1.c: Likewise.
1695 * asm-tst2.c: Likewise.
1696 * asm-tst3.c: Likewise.
1697 * asm-tst4.c: Likewise.
1698 * asm-tst5.c: Likewise.
1699 * asm-tst6.c: Likewise.
1700 * asm-tst7.c: Likewise.
1701 * asm-tst8.c: Likewise.
1702 * asm-tst9.c: Likewise.
1703 * dwflmodtest.c: Likewise.
1704 * find-prologues.c: Likewise.
1705 * funcscopes.c: Likewise.
1706 * get-aranges.c: Likewise.
1707 * get-files.c: Likewise.
1708 * get-lines.c: Likewise.
1709 * get-pubnames.c: Likewise.
1710 * line2addr.c: Likewise.
1711 * newscn.c: Likewise.
1712 * show-abbrev.c: Likewise.
1713 * show-die-info.c: Likewise.
1714 * update3.c: Likewise.
1715 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +00001716 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +00001717
1718 * dwflmodtest.c (print_instance): Don't use INTUSE.
1719 (options): Don't use N_ macro.
1720
Roland McGrath1b8b4462005-11-16 01:33:38 +000017212005-11-15 Roland McGrath <roland@redhat.com>
1722
Roland McGrathe47ab762005-11-17 03:16:00 +00001723 * coverage.sh: Look in backends.
1724 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
1725 (TESTS_ENVIRONMENT): Likewise.
1726
1727 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
1728 pass FUNCDIE direclty to dwfl_module_return_value_location.
1729
Roland McGrath1b8b4462005-11-16 01:33:38 +00001730 * Makefile.am (BUILD_RPATH): New variable.
1731 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
1732 (tests_rpath): New variable.
1733 (installcheck-local): Pass it to test-wrapper.sh.
1734 * test-wrapper.sh: In "installed" format, take yes/no value
1735 for elfutils_tests_rpath, which export. When running a test
1736 binary for installcheck, exit 77.
1737 * test-subr.sh (installed_testrun): When running a test binary
1738 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
1739
17402005-11-14 Roland McGrath <roland@redhat.com>
1741
1742 * test-subr.sh: New file.
1743 * test-wrapper.sh: New file.
1744 * Makefile.am (EXTRA_DIST): Add them.
1745 (AM_LDFLAGS): Variable removed.
1746 (TESTS_ENVIRONMENT): New variable.
1747 (installcheck-local): New target.
1748 * run-addrscopes.sh: Use test-subr.sh.
1749 * run-allfcts.sh: Likewise.
1750 * run-ecp-test.sh: Likewise.
1751 * run-ecp-test2.sh: Likewise.
1752 * run-elflint-self.sh: Likewise.
1753 * run-elflint-test.sh: Likewise.
1754 * run-find-prologues.sh: Likewise.
1755 * run-funcscopes.sh: Likewise.
1756 * run-get-aranges.sh: Likewise.
1757 * run-get-files.sh: Likewise.
1758 * run-get-lines.sh: Likewise.
1759 * run-get-pubnames.sh: Likewise.
1760 * run-line2addr.sh: Likewise.
1761 * run-ranlib-test.sh: Likewise.
1762 * run-ranlib-test2.sh: Likewise.
1763 * run-show-abbrev.sh: Likewise.
1764 * run-show-ciefde.sh: Likewise.
1765 * run-show-die-info.sh: Likewise.
1766 * run-strings-test.sh: Likewise.
1767 * run-strip-test.sh: Likewise.
1768
Roland McGrathe47ab762005-11-17 03:16:00 +000017692005-11-13 Roland McGrath <roland@redhat.com>
1770
1771 * funcretval.c: New file.
1772 * Makefile.am (noinst_PROGRAMS): Add it.
1773 (funcretval_LDADD): New variable.
1774
Ulrich Drepper3840c1c2005-11-09 16:13:48 +000017752005-11-09 Ulrich Drepper <drepper@redhat.com>
1776
1777 * line2addr.c (handle_module): Add missing parameter to printf.
1778
Roland McGrath07d4f2f2005-10-28 06:56:24 +000017792005-10-27 Roland McGrath <roland@redhat.com>
1780
Roland McGrath6724c902005-10-28 07:07:19 +00001781 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
1782 * funcscopes.c (handle_function): Likewise.
1783 * dwflmodtest.c (print_inline, print_func): Likewise.
1784 * find-prologues.c (handle_function): Likewise.
1785
17862005-10-27 Roland McGrath <roland@redhat.com>
1787
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001788 * run-find-prologues.sh: New file.
1789 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1790
1791 * find-prologues.c (handle_function): Skip inlines.
1792
17932005-10-25 Roland McGrath <roland@redhat.com>
1794
1795 * find-prologues.c: New file.
1796 * Makefile.am (noinst_PROGRAMS): Add it.
1797 (find_prologues_LDADD): New variable.
1798
Ulrich Drepper3bbc9502005-09-02 20:29:56 +000017992005-09-02 Ulrich Drepper <drepper@redhat.com>
1800
1801 * run-strings-test.sh: Remove strings.out in the end.
1802
Ulrich Drepper7d65d012005-08-31 15:14:26 +000018032005-08-31 Ulrich Drepper <drepper@redhat.com>
1804
1805 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
1806 * run-allfcts.sh: Likewise.
1807 * run-ecp-test.sh: Likewise.
1808 * run-ecp-test2.sh: Likewise.
1809 * run-elflint-test.sh: Likewise.
1810 * run-funcscopes.sh: Likewise.
1811 * run-get-aranges.sh: Likewise.
1812 * run-get-files.sh: Likewise.
1813 * run-get-lines.sh: Likewise.
1814 * run-get-pubnames.sh: Likewise.
1815 * run-line2addr.sh: Likewise.
1816 * run-ranlib-test2.sh: Likewise.
1817 * run-show-abbrev.sh: Likewise.
1818 * run-show-ciefde.sh: Likewise.
1819 * run-show-die-info.sh: Likewise.
1820 * run-strings-test.sh: Likewise.
1821 * run-strip-test.sh: Likewise.
1822
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +000018232005-08-30 Ulrich Drepper <drepper@redhat.com>
1824
1825 * coverage.sh: Handle case where there is no .gcno file at all.
1826
Ulrich Drepper39cec7a2005-08-30 01:22:01 +000018272005-08-29 Ulrich Drepper <drepper@redhat.com>
1828
1829 * Makefile.am (EXTRA_DIST): Add coverage.
1830 [GCOV]: Generate coverage summary after the tests ran
1831 * coverage.sh: New file.
1832
Ulrich Drepperfbe998a2005-08-29 16:27:10 +000018332005-08-28 Ulrich Drepper <drepper@redhat.com>
1834
1835 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
1836 (CLEANFILES): Add *.gcno *.gcda *.gconv.
1837
18382005-08-28 Ulrich Drepper <drepper@redhat.com>
1839
1840 * run-strings-test.sh: New file.
1841 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1842
Roland McGrath71e15a02005-08-27 10:33:26 +000018432005-08-27 Roland McGrath <roland@redhat.com>
1844
Roland McGrathb0bc2782005-08-27 21:07:16 +00001845 * addrscopes.c (handle_address): Apply bias to PC addresses.
1846
Roland McGrath71e15a02005-08-27 10:33:26 +00001847 * run-funcscopes.sh: New file.
1848 * testfile25.bz2: New data file.
1849 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1850
18512005-08-26 Roland McGrath <roland@redhat.com>
1852
1853 * addrscopes.c (dwarf_diename_integrate): Removed.
1854 (print_vars, handle_address): Use plain dwarf_diename.
1855
18562005-08-25 Roland McGrath <roland@redhat.com>
1857
1858 * funcscopes.c: New file.
1859 * Makefile.am (noinst_PROGRAMS): Add it.
1860 (funcscopes_LDADD): New variable.
1861
1862 * run-addrscopes.sh: Add another case.
1863 * testfile24.bz2: New data file.
1864 * Makefile.am (EXTRA_DIST): Add it.
1865
1866 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
1867 pass it to dwarf_getscopes.
1868 (main): Pass it, true when '=' follows an address.
1869
Roland McGrath4c305da2005-08-25 01:49:35 +000018702005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +00001871
Roland McGrath4c305da2005-08-25 01:49:35 +00001872 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +00001873
Ulrich Drepper2eb660f2005-08-24 19:47:57 +000018742005-08-24 Ulrich Drepper <drepper@redhat.com>
1875
Ulrich Drepper958bf132005-08-24 21:40:55 +00001876 * run-line2addr.sh: Remove testfile23 in the end.
1877
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001878 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +00001879 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001880
Roland McGrathd17fac72005-08-23 08:20:21 +000018812005-08-22 Roland McGrath <roland@redhat.com>
1882
1883 * run-line2addr.sh: Add a case.
1884 * testfile23.bz2: New data file.
1885 * Makefile.am (EXTRA_DIST): Add it.
1886
Roland McGrath9a1f3652005-08-18 20:57:04 +000018872005-08-18 Roland McGrath <roland@redhat.com>
1888
Roland McGrathf5fda7d2005-08-18 22:01:57 +00001889 * run-addrscopes.sh: New file.
1890 * testfile22.bz2: New data file.
1891 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1892
Roland McGrath9a1f3652005-08-18 20:57:04 +00001893 * addrscopes.c: New file.
1894 * Makefile.am (noinst_PROGRAMS): Add it.
1895 (addrscopes_LDADD): New variable.
1896
Ulrich Drepper837b5222005-08-16 05:12:01 +000018972005-08-15 Ulrich Drepper <drepper@redhat.com>
1898
1899 * run-elflint-self.sh: Don't run test if the file doesn't exist.
1900
Roland McGrath1ecb6062005-08-15 09:53:04 +000019012005-08-15 Roland McGrath <roland@redhat.com>
1902
1903 * dwflmodtest.c (print_instance, print_inline): New functions.
1904 (print_func): Call print_inline.
1905 (options, parse_opt): Grok -i/--inlines.
1906
Roland McGrath8d18c292005-08-07 21:42:07 +000019072005-08-07 Roland McGrath <roland@redhat.com>
1908
1909 * dwflmodtest.c: Print function details only if -f flag is given.
1910
Ulrich Drepper47be7952005-08-07 04:41:39 +000019112005-08-06 Ulrich Drepper <drepper@redhat.com>
1912
Ulrich Drepper637963b2005-08-07 05:33:07 +00001913 * run-elflint-self.sh: New file.
1914 * Makefile.am (TESTS): Add run-elflint-self.sh.
1915 (EXTRA_DIST): Likewise.
1916
Ulrich Drepper47be7952005-08-07 04:41:39 +00001917 * Makefile.am: Link with statis libs if BUILD_STATIC.
1918 (dwflmodtest_LDADD): Also link with -ldl.
1919
Ulrich Drepper41de4882005-08-03 00:02:56 +000019202005-08-02 Ulrich Drepper <drepper@redhat.com>
1921
Ulrich Dreppera38998e2005-08-03 02:05:39 +00001922 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
1923 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
1924 library first.
1925 * asm-tst2.c: Likewise.
1926 * asm-tst3.c: Likewise.
1927 * asm-tst4.c: Likewise.
1928 * asm-tst5.c: Likewise.
1929 * asm-tst6.c: Likewise.
1930 * asm-tst7.c: Likewise.
1931 * asm-tst8.c: Likewise.
1932 * asm-tst9.c: Likewise.
1933
Ulrich Drepper41de4882005-08-03 00:02:56 +00001934 * msg_tst.c: Add new error message.
1935
Ulrich Drepper18618fd2005-07-28 21:29:22 +000019362005-07-28 Ulrich Drepper <drepper@redhat.com>
1937
1938 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
1939
Roland McGrathd17fac72005-08-23 08:20:21 +000019402005-06-01 Roland McGrath <roland@redhat.com>
1941
1942 * line2addr.c: Rewritten using libdwfl.
1943 * run-line2addr.sh: Update test for changed arguments.
1944 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
1945 (libdwfl): New variable.
1946 (line2addr_LDADD): Use it.
1947
Roland McGrath18385902005-07-28 07:12:38 +000019482005-07-28 Roland McGrath <roland@redhat.com>
1949
1950 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
1951 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
1952 (dwflmodtest_LDADD): New variable.
1953 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
1954
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000019552005-07-21 Ulrich Drepper <drepper@redhat.com>
1956
1957 * testfile18.bz2: New file.
1958 * run-elflint-test.sh: New file.
1959 * Makefile.am (TESTS): Add run-elflint-test.sh.
1960 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1961
19622005-05-24 Ulrich Drepper <drepper@redhat.com>
1963
1964 * get-files.c (main): Use correct format specifier.
1965
19662005-05-21 Ulrich Drepper <drepper@redhat.com>
1967
1968 * Makefile.am: Add -Wextra to CFLAGS.
1969 * get-files.c: Remove warning this produced.
1970 * get-pubnames.c: Likewise.
1971 * newfile.c: Likewise.
1972 * newscn.c: Likewise.
1973 * scnnames.c: Likewise.
1974 * showptable.c: Likewise.
1975 * test-nlist.c: Likewise.
1976 * update1.c: Likewise.
1977 * update2.c: Likewise.
1978 * update3.c: Likewise.
1979 * update4.c: Likewise.
1980
19812005-05-08 Ulrich Drepper <drepper@redhat.com>
1982
1983 * run-line2addr.sh: Remove testfile14 at the end.
1984
Ulrich Drepper282bf322005-07-28 21:49:05 +00001985 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001986
1987 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
1988 .bz, not .bz2.
1989
19902005-05-03 Roland McGrath <roland@redhat.com>
1991
1992 * run-strip-test.sh: Use variables for test file names.
1993 Optionally produce separate debug file and check it.
1994 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
1995 * run-strip-test3.sh: Likewise.
1996 * run-strip-test4.sh: New file.
1997 * run-strip-test5.sh: New file.
1998 * run-strip-test6.sh: New file.
1999 * testfile15.bz: New file.
2000 * testfile15.debug.bz: New file.
2001 * testfile16.bz: New file.
2002 * testfile16.debug.bz: New file.
2003 * testfile17.bz: New file.
2004 * testfile17.debug.bz: New file.
2005 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2006
20072005-04-25 Ulrich Drepper <drepper@redhat.com>
2008
2009 * run-line2addr.sh: Also use testfile14. Adjust for correct
2010 return of multiple matches.
2011 * testfile14.bz2: New file.
2012 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
2013
2014 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
2015
Roland McGrath87d47802007-07-16 22:23:37 +000020162005-04-04 Roland McGrath <roland@redhat.com>
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002017
2018 * line2addr.c (main): Initialize LINES and NLINES before calling
2019 dwarf_getsrc_file, and free LINES afterwards.
2020
2021 * allfcts.c (main): Use size_t for CUHL.
2022
20232005-04-04 Ulrich Drepper <drepper@redhat.com>
2024
2025 * line2addr.c: New file.
2026 * run-line2addr.sh: New file.
2027 * Makefile.am: Add rules to build, run, and distribute new code.
2028
20292005-04-02 Ulrich Drepper <drepper@redhat.com>
2030
2031 * allfcts.c: New file.
2032 * run-allfcts.sh: New file.
2033 * Makefile.am: Add rules to build, run, and distribute new code.
2034
20352005-02-05 Ulrich Drepper <drepper@redhat.com>
2036
2037 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
2038 programs with -lmudflap.
2039
20402004-09-25 Ulrich Drepper <drepper@redhat.com>
2041
2042 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
2043 * asm-tst5.c (main): Likewise.
2044 * asm-tst6.c (main): Likewise.
2045
20462004-01-17 Ulrich Drepper <drepper@redhat.com>
2047
2048 * Makefile.am: Support building with mudflap.
2049
20502004-01-12 Ulrich Drepper <drepper@redhat.com>
2051
2052 * get-aranges.c: Rewrite to use libdw.
2053 * Makefile.am: Reenable get-aranges test.
2054
20552004-01-11 Ulrich Drepper <drepper@redhat.com>
2056
2057 * get-lines.c: New file.
2058 * get-files.c: Adjust for libdw.
2059 * run-get-files.sh: Adjust expected result.
2060 * run-get-lines.sh: Likewise.
2061 * Makefile.am: Run get-lines test. Don't run get-aranges and
2062 get-ciefde test for now.
2063
2064 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
2065 change. Print attribute offset information.
2066 * run-show-abbrev.sh: Adjust expected output.
2067
20682004-01-09 Ulrich Drepper <drepper@redhat.com>
2069
2070 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
2071 * show-die-info.c: Likewise.
2072 * run-show-die-info.sh: Adjust expected output.
2073
20742003-08-13 Ulrich Drepper <drepper@redhat.com>
2075
2076 * Makefile.in: Depend on libebl.a, not libebl.so.
2077
20782003-08-11 Ulrich Drepper <drepper@redhat.com>
2079
2080 * Moved to CVS archive.