blob: 85826f339f5405e0fccd588507fed58d7f8f0d8a [file] [log] [blame]
Josh Stone080fa4e2014-12-11 17:19:23 -080012014-12-11 Josh Stone <jistone@redhat.com>
2
3 * run-addr2line-i-lex-test.sh: New test.
4 * testfile-lex-inlines.bz2: New testfile.
5 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
6 testfile-lex-inlines.bz2.
7 (TESTS): Add run-addr2line-i-lex-test.sh.
8
Josh Stone2098b3d2014-12-10 11:14:40 -080092014-12-10 Josh Stone <jistone@redhat.com>
10
11 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
12 preferred over the plain die name.
13
Petr Machataedb079a2014-12-02 21:22:14 +0100142014-12-02 Petr Machata <pmachata@redhat.com>
15
16 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
17 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
18 (main): Initialize off to DWARF_GETMACROS_START when an extra
19 command line argument is passed.
20 * testfile-macros-0xff.bz2: New test case.
21 * testfile-macros-0xff.s: New file (source for the above).
22 * run-dwarf-getmacros.sh: Add two tests.
23
Mark Wielaard44662162014-11-27 23:19:47 +0100242014-11-27 Mark Wielaard <mjw@redhat.com>
25
26 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
27
Mark Wielaard9644aaf2014-11-21 23:26:35 +0100282014-11-21 Mark Wielaard <mjw@redhat.com>
29
30 * run-readelf-A.sh: New test.
31 * testfileppc32attrs.o.bz2: New test file.
32 * Makefile.am (TESTS): Add run-readelf-A.sh.
33 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
34
Mark Wielaard5691f862014-11-10 14:49:20 +0100352014-11-10 Mark Wielaard <mjw@redhat.com>
36
37 * vdsosyms.c: New test.
38 * Makefile.am (check_PROGRAMS): Add vdsosyms.
39 (TESTS): Likewise.
40 (vdsosyms_LDADD): New variable.
41
Petr Machata0a1e81b2014-10-17 02:47:15 +0200422014-09-10 Petr Machata <pmachata@redhat.com>
43
44 * dwarf-getmacros.c: Update to use the new macro iteration
45 interfaces.
46 * run-dwarf-getmacros.sh: Adjust, add a test that uses
47 testfile-macros.
48
Mark Wielaard3a36e8a2014-10-06 22:00:16 +0200492014-10-06 Mark Wielaard <mjw@redhat.com>
50
51 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
52 * testfile-sizes3.o.bz2: New test file.
53 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
54
Mark Wielaardb50014f2014-10-02 14:00:47 +0200552014-10-02 Mark Wielaard <mjw@redhat.com>
56
Mark Wielaard281ebd72014-10-02 22:53:44 +020057 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
58
592014-10-02 Mark Wielaard <mjw@redhat.com>
60
Mark Wielaardb50014f2014-10-02 14:00:47 +020061 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
62 (TESTS): Add run-aggregate-size.sh.
63 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
64 and testfile-sizes2.o.bz2.
65 (aggregate_size_LDADD): New variable.
66 * aggregate_size.c: New file.
67 * run-aggregate-size.sh: New test.
68 * testfile-sizes1.o.bz2: New test file.
69 * testfile-sizes2.o.bz2: Likewise.
70
Jan Kratochvil6d48bbf2014-09-26 22:42:19 +0200712014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
72
73 Support NT_FILE for locating files.
74 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
75 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
76 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
77 * linkmap-cut-lib.so.bz2: New file.
78 * linkmap-cut.bz2: New file.
79 * linkmap-cut.core.bz2: New file.
80 * run-linkmap-cut.sh: New file.
81 * run-unstrip-n.sh: Update its expected output.
82
Jan Kratochvil03750562014-08-17 18:49:36 +0200832014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
84
85 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
86 (TESTS, EXTRA_DIST): Add run-deleted.sh.
87 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
88 * deleted-lib.c: New file.
89 * deleted.c: New file.
90 * run-deleted.sh: New file.
91
Mark Wielaard41362da2014-06-15 11:35:50 +0200922014-06-15 Mark Wielaard <mjw@redhat.com>
93
94 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
95
Mark Wielaardcb5ac6e2014-06-14 01:01:58 +0200962014-06-13 Mark Wielaard <mjw@redhat.com>
97
Mark Wielaard1986c172014-06-14 01:09:17 +020098 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
99 frame symname.
100
1012014-06-13 Mark Wielaard <mjw@redhat.com>
102
Mark Wielaardcb5ac6e2014-06-14 01:01:58 +0200103 * backtrace-subr.sh (check_native_unsupported): New function.
104 (check_native): Call it.
105 (check_native_core): Likewise.
106 * run-backtrace-dwarf.sh: Likewise.
107
Mark Wielaard14beac32014-06-11 15:14:23 +02001082014-06-11 Mark Wielaard <mjw@redhat.com>
109
110 * backtrace.c (main): Check that Dwfl was attached by calling
111 dwfl_pid and printing the error when it is not.
112
Mark Wielaard85482fc2014-05-18 22:41:19 +02001132014-05-18 Mark Wielaard <mjw@redhat.com>
114
115 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
116 (f): Likewise.
117 * testfile-backtrace-demangle.bz2: Regenerate.
118 * testfile-backtrace-demangle.core.bz2: Likewise.
119
Mark Wielaardbb096d02014-05-03 00:23:06 +02001202014-05-02 Mark Wielaard <mjw@redhat.com>
121
122 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
123 run-allfcts-multi.sh are now added unconditionally.
124
Mark Wielaarddf85bf92014-05-01 14:48:27 +02001252014-05-01 Mark Wielaard <mjw@redhat.com>
126
127 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
128 subdir.
129
Mark Wielaardd81d32d2014-04-30 23:00:40 +02001302014-04-30 Mark Wielaard <mjw@redhat.com>
131
132 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
133 * Makefile.am (check_PROGRAMS): Add buildid.
134 (TESTS): Add run-buildid.sh.
135 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
136 (buildid_LDADD): New variable.
137
Florian Weimer4813dbb2014-04-24 14:06:43 +02001382014-04-24 Florian Weimer <fweimer@redhat.com>
139
Florian Weimer22481652014-04-15 16:58:39 +0200140 * allfcts.c (setup_alt): New function.
141 (main): Call it. Implementation additional error checking and
142 reporting.
143
1442014-04-24 Florian Weimer <fweimer@redhat.com>
145
Florian Weimer4813dbb2014-04-24 14:06:43 +0200146 * debugaltlink.c, run-debugaltlink.sh: New files.
147 * Makefile.am (check_PROGRAMS): Add debugaltlink.
148 (TESTS): Add run-debugaltlink.sh.
149 (debugaltlink_LDADD): New variable.
150
Mark Wielaard93802972014-04-11 23:52:47 +02001512014-04-11 Mark Wielaard <mjw@redhat.com>
152
153 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
154 (check_PROGRAMS): Add debuglink.
155 (TESTS): Add run-debuglink.sh
156 (EXTRA_DIST): Likewise.
157 (debuglink_LDADD): New.
158 * debuglink.c: New file.
159 * run-debuglink.sh: Likewise.
160
Mark Wielaardfe4b5fd2014-04-23 09:54:30 +02001612014-03-23 Mark Wielaard <mjw@redhat.com>
162
163 * run-nm-self.sh: Use test = not == for string comparisons.
164
Kurt Roeckx02cefda2014-04-22 21:46:22 +02001652014-04-22 Kurt Roeckx <kurt@roeckx.be>
166
167 * backtrace.c: Make Linux only.
168 * backtrace-child.c: Make Linux only.
169 * backtrace-data.c: Make Linux only.
170 * backtrace-dwarf.c: Make Linux only.
171 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
172
Mark Wielaard32324792014-04-13 17:39:57 +02001732014-03-14 Mark Wielaard <mjw@redhat.com>
174
175 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
176 LDADD lines.
177 * configure.ac: Remove MUDFLAP conditional.
178
Mark Wielaardf7cdc742014-04-09 22:38:07 +02001792014-04-09 Mark Wielaard <mjw@redhat.com>
180
181 * run-readelf-zdebug.sh: New test.
182 * testfile-debug.bz2: New testfile.
183 * testfile-zdebug.bz2: New testfile.
184 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
185 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
186 testfile-zdebug.bz2.
187
Mark Wielaard110c2732014-04-10 15:02:53 +02001882014-04-10 Mark Wielaard <mjw@redhat.com>
189
190 * testfile_i686_core.bz2: New test file.
191 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
192 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
193
Mark Wielaard66637fa2014-04-09 11:48:23 +02001942014-04-09 Mark Wielaard <mjw@redhat.com>
195
196 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
197 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
198 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
199 * run-backtrace-core-aarch64.sh: New test.
200
Josh Stone51fff302014-03-11 18:13:55 -07002012014-03-11 Josh Stone <jistone@redhat.com>
202
203 * testfilebaxmin.bz2: New testfile.
204 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
205 * run-readelf-s.sh: Test testfilebaxmin.
206 * run-dwflsyms.sh: Likewise.
207
Mark Wielaard225dddf2014-01-26 20:16:48 +01002082014-01-26 Mark Wielaard <mjw@redhat.com>
209
210 * backtrace-subr.sh (check_unsupported): Special case arm*.
211
Mark Wielaarda02d90a2014-01-25 14:32:42 +01002122014-01-25 Mark Wielaard <mjw@redhat.com>
213
214 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
215 location expression: call_frame_cfa stack_value.
216
Mark Wielaardf48eb6b2014-01-23 00:56:41 +01002172014-01-22 Mark Wielaard <mjw@redhat.com>
218
219 * Makefile.am (line2addr_no_Wformat): Removed.
220
Mark Wielaard13968d92014-01-21 16:13:49 +01002212014-01-21 Mark Wielaard <mjw@redhat.com>
222
223 * Makefile.am (TESTS): Add run-stack-i-test.sh.
224 (EXTRA_DIST): Likewise.
225 * run-stack-i-test.sh: New test.
226
Mark Wielaard531a30a2014-01-20 23:09:26 +01002272014-01-20 Mark Wielaard <mjw@redhat.com>
228
229 * Makefile.am (TESTS): Add run-stack-d-test.sh.
230 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
231 testfiledwarfinlines.core.bz2.
232 * run-stack-d-test.sh: New test.
233 * testfiledwarfinlines.bz2: New test file.
234 * testfiledwarfinlines.core.bz2: Likewise.
235
Mark Wielaardd7cffa72014-01-16 09:45:51 +01002362014-01-16 Mark Wielaard <mjw@redhat.com>
237
Mark Wielaardc80375d2014-01-16 13:48:24 +0100238 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
239 on one ET_REL, one ET_EXEC and one ET_DYN file.
240 * test-subr.sh (self_test_files): Add two ET_REL files, only add
241 two libebl ET_DYN backend files.
242
2432014-01-16 Mark Wielaard <mjw@redhat.com>
244
Mark Wielaardd7cffa72014-01-16 09:45:51 +0100245 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
246
Jan Kratochvil435808a2014-01-18 21:56:13 +01002472014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
248
249 Fix false FAILs on testsuite with ulimit -c unlimited.
250 * backtrace-child.c (sigusr2): Call pthread_exit.
251 (main): Return, do not call abort.
252
Jan Kratochvil7c6e7852014-01-15 21:16:57 +01002532014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
254
255 Fix corruption of non-C++ symbols by the demangler.
256 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
257 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
258 (EXTRA_DIST): Add run-backtrace-demangle.sh,
259 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
260 testfile-backtrace-demangle.core.bz2.
261 * backtrace-demangle.cc: New file.
262 * run-backtrace-demangle.sh: New file.
263 * testfile-backtrace-demangle.bz2: New file.
264 * testfile-backtrace-demangle.cc: New file.
265 * testfile-backtrace-demangle.core.bz2: New file.
266
Matthias Klosee922ec42014-01-07 10:25:29 +01002672014-01-07 Matthias Klose <doko@ubuntu.com>
268
269 * backtrace-subr.sh (check_native_core): Check to see if core file
270 was created without ".PID" extension, if so mv core to core.PID.
271 Skip test if no core file was created or could be found.
272
Mark Wielaard4f1c96d2014-01-04 14:24:58 +01002732014-01-04 Mark Wielaard <mjw@redhat.com>
274
Mark Wielaard70c3a532014-01-04 23:28:33 +0100275 * backtrace-data.c (main): Don't assert if raise returns.
276 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
277 assume_ptrace_attached true.
278 (ptrace_detach_stopped): Removed function.
279 (main): Don't call ptrace_detach_stopped.
280 * backtrace.c (ptrace_detach_stopped): Removed function.
281 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
282 true.
283 (exec_dump): Don't call ptrace_detach_stopped.
284
2852014-01-04 Mark Wielaard <mjw@redhat.com>
286
Mark Wielaard1051a0c2014-01-04 15:41:04 +0100287 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
288 if we cannot adjust core ulimit.
289
2902014-01-04 Mark Wielaard <mjw@redhat.com>
291
Mark Wielaard4f1c96d2014-01-04 14:24:58 +0100292 * cleanup-13.c (force_unwind_stop): Removed.
293 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
294 don't call _Unwind_ForcedUnwind.
295
Mark Wielaardb92af192014-01-03 18:15:02 +01002962014-01-03 Mark Wielaard <mjw@redhat.com>
297
298 * run-addrcfi.sh: Add case for EM_AARCH64.
299 * testfileaarch64.bz2: New testfile.
300 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
301
Mark Wielaard19108012013-12-30 22:00:57 +01003022013-12-30 Mark Wielaard <mjw@redhat.com>
303
304 * backtrace-dwarf.c (report_pid): Explicitly call
305 dwfl_linux_proc_attach and check for errors.
306 * backtrace.c (report_pid): Likewise.
307
Mark Wielaardb6ef1ce2013-12-21 19:39:19 +01003082013-12-21 Mark Wielaard <mjw@redhat.com>
309
310 * backtrace.c (callback_verify): Only assert that case 5 is the last
311 instruction of backtracegen on x86_64 native.
312
Jan Kratochvilc6a41482013-12-17 18:49:54 +01003132013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Mark Wielaard159ac522013-12-18 11:05:54 +0100314 Mark Wielaard <mjw@redhat.com>
315
316 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
317 and testfilebaz*ppc64*.bz2 files.
318 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
319 error on dwfl_module_getsymtab error.
320 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
321 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
322 Also print section of actual value if different from sym.
323 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
324 Test addr2line -x by showing different sections for address and
325 found name in testfile66.
326 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
327 testfilebaz*ppc64): New tests.
328 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
329 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
330 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
331 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
332 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
333 testfilebaztabppc64.bz2: New test files.
334
3352013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvilc6a41482013-12-17 18:49:54 +0100336
337 unwinder: s390 and s390x
338 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
339 run-backtrace-core-s390.sh.
340 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
341 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
342 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
343 * backtrace.s390.core.bz2: New file.
344 * backtrace.s390.exec.bz2: New file.
345 * backtrace.s390x.core.bz2: New file.
346 * backtrace.s390x.exec.bz2: New file.
347 * run-backtrace-core-s390.sh: New file.
348 * run-backtrace-core-s390x.sh: New file.
349
Jan Kratochvilb3c810f2013-12-17 21:11:48 +01003502013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
351
352 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
353 code.
354
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +01003552013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
356
357 unwinder: ppc
358 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
359 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
360 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
361 * backtrace.ppc.core.bz2: New file.
362 * backtrace.ppc.exec.bz2: New file.
363 * run-backtrace-core-ppc.sh: New file.
364
Mark Wielaard7fc49292013-12-13 22:42:46 +01003652013-12-10 Mark Wielaard <mjw@redhat.com>
366
Mark Wielaard63572f42013-12-13 23:12:18 +0100367 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
368
3692013-12-10 Mark Wielaard <mjw@redhat.com>
370
Mark Wielaard7fc49292013-12-13 22:42:46 +0100371 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
372 * backtrace-subr.sh (check_native_core): Disable valgrind while
373 dumping core.
374 * run-backtrace-data.sh: Disable valgrind.
375 * run-backtrace-dwarf.sh: Likewise.
376
Mark Wielaard3951f2e2013-12-09 16:33:26 +01003772013-12-09 Mark Wielaard <mjw@redhat.com>
378
379 * varlocs.c (print_expr): Update comment to explain empty location
380 associated with DW_OP_GNU_implicit_pointer.
381
Jan Kratochvilf88863f2013-12-05 16:16:14 +01003822013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
383
384 Fix test FAIL with -O2.
385 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
386
Mark Wielaard813aae02013-12-05 15:26:51 +01003872013-12-05 Mark Wielaard <mjw@redhat.com>
388
389 * backtrace-data.c (main): If unsupported also print to stderr.
390 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
391
Mark Wielaard1bfab192013-12-04 20:55:23 +01003922013-12-04 Mark Wielaard <mjw@redhat.com>
393
394 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
395
Jan Kratochvil8ae9bc92013-12-02 20:54:28 +01003962013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
397
398 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
399 backtrace-data and backtrace-dwarf.
400 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
401 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
402 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
403 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
404 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
405 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
406 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
407 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
408 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
409 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
410 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
411 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
412 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
413 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
414 New.
415 * backtrace-child.c: New file.
416 * backtrace-data.c: New file.
417 * backtrace-dwarf.c: New file.
418 * backtrace-subr.sh: New file.
419 * backtrace.c: New file.
420 * cleanup-13.c: New file.
421 * backtrace.i386.core.bz2: New file.
422 * backtrace.i386.exec.bz2: New file.
423 * backtrace.x86_64.core.bz2: New file.
424 * backtrace.x86_64.exec.bz2: New file.
425 * run-backtrace-core-i386.sh: New file.
426 * run-backtrace-core-x86_64.sh: New file.
427 * run-backtrace-native-biarch.sh: New file.
428 * run-backtrace-native-core-biarch.sh: New file.
429 * run-backtrace-native-core.sh: New file.
430 * run-backtrace-native.sh: New file.
431 * run-backtrace-data.sh: New file.
432 * run-backtrace-dwarf.sh: New file.
433
Mark Wielaard819c3492013-11-27 16:45:44 +01004342013-11-27 Mark Wielaard <mjw@redhat.com>
435
436 * dwflsyms.c (gelf_bind_order): New function.
437 (elf_section_name): Likewise.
438 (addr_in_section): Likewise.
439 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
440 Refine assert using gelf_bind_order. Print elf_section_name. Check
441 bias with addr_in_section.
442 * run-dwflsyms.sh: Add section names to expected output.
443
Mark Wielaard0d5a8672013-11-26 10:44:18 +01004442013-11-26 Mark Wielaard <mjw@redhat.com>
445
446 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
447
Petr Machata98c8a732013-11-26 03:10:31 +01004482013-11-25 Petr Machata <pmachata@redhat.com>
449
450 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
451 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
452 * Makefile.am (EXTRA_DIST): Add these.
453 (TESTS): Add run-funcretval.sh.
454 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
455 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
456 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
457 * run-funcretval.sh: New file.
458
Josh Stonedb35c872013-11-18 14:29:35 -08004592013-11-18 Josh Stone <jistone@redhat.com>
460
461 * testfilebazdbg_plr.bz2: New testfile.
462 * testfilebazmin_plr.bz2: Likewise.
463 * Makefile.am (EXTRA_DIST): Add the above files.
464 * run-dwflsyms.sh: Add prelink -r tests.
465
Mark Wielaard68ce4fc2013-11-16 00:11:38 +01004662013-11-15 Mark Wielaard <mjw@redhat.com>
467
468 * testfilebazmdb.bz2: Regenerated.
469 * testfilebazmin.bz2: Likewise.
470 * testfilebazdbg_pl.bz2: New testfile.
471 * testfilebazmin_pl.bz2: Likewise.
472 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
473 testfilebazmin_pl.bz2.
474 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
475 print relative address of function symbols.
476 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
477
Michael Forneya45c8042013-11-01 00:51:04 -07004782013-11-01 Michael Forney <mforney@mforney.org>
479
480 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
481 * run-arsymtest.sh: Use NM.
482
Mark Wielaardd8c75df2013-11-05 11:27:19 +01004832013-11-05 Mark Wielaard <mjw@redhat.com>
484
485 * allfcts.c (main): Correct dwarf_getfuncs return value check.
486
Mark Wielaarde6a9bb82013-10-10 11:40:12 +02004872013-10-10 Mark Wielaard <mjw@redhat.com>
488 Josh Stone <jistone@redhat.com>
489
490 * run-allfcts-multi.sh: New test.
491 * test-offset-loop.bz2: New testfile.
492 * test-offset-loop.alt.bz2: New testfile.
493 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
494 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
495 test-offset-loop.alt.bz2.
496
Mark Wielaardd1829742013-10-15 23:53:32 +02004972013-10-15 Mark Wielaard <mjw@redhat.com>
498
499 * run-unstrip-M.sh: New test.
500 * Makefile.am (TESTS): Add run-unstrip-M.sh.
501 (EXTRA_DIST): Likewise.
502
Mark Wielaard3dec3e12013-10-06 17:04:07 +02005032013-10-06 Mark Wielaard <mjw@redhat.com>
504
505 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
506 location expression.
507
Josh Stone5dbbc5e2013-10-03 12:38:25 -07005082013-10-03 Josh Stone <jistone@redhat.com>
509
510 * typeiter2.c: New file, reversing typeiter.c.
511 * run-typeiter.sh: Also run typeiter2.
Mark Wielaardd1829742013-10-15 23:53:32 +0200512 * Makefile.am (check_PROGRAMS): Add typeiter2.
Josh Stone5dbbc5e2013-10-03 12:38:25 -0700513 (typeiter2_LDADD): New variable.
514
Petr Machataab224102013-09-26 00:39:34 +02005152013-09-26 Petr Machata <pmachata@redhat.com>
516
Petr Machata0c9ae0c2013-09-26 21:02:22 +0200517 * run-readelf-mixed-corenote.sh: Update output of testfile71
518 dump--readelf can newly decode the NT_FILE note.
519
5202013-09-26 Petr Machata <pmachata@redhat.com>
521
Petr Machataab224102013-09-26 00:39:34 +0200522 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
523 * run-readelf-mixed-corenote.sh: New test for this file.
524 * testfile71.bz2: New file.
525
Mark Wielaard1b734df2013-09-20 09:50:42 -04005262013-09-20 Mark Wielaard <mjw@redhat.com>
527
528 * allfcts.c (cb): Return DWARF_CB_ABORT.
529 (main): Iterate over all offsets returned by dwarf_getfuncs.
530 * run-allfcts.sh: Add nested_funcs and class_func testcases.
531 * testfile_nested_funcs.bz2: New test file.
532 * testfile_class_func.bz2: Likewise.
533 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
534 testfile_nested_funcs.bz2.
535
Mark Wielaard6e6e54e2013-08-31 00:52:12 +02005362013-08-30 Mark Wielaard <mjw@redhat.com>
537
538 * Makefile.am (check_PROGRAMS): Add varlocs.
539 (TESTS): Add run-varlocs.sh.
540 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
541 testfile_const_type.bz2, testfile_implicit_pointer.c,
542 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
543 testfile_entry_value.c, testfile_entry_value.bz2,
544 testfile_implicit_value.c and testfile_implicit_value.bz2.
545 (varlocs_LDADD): New.
546 * run-varlocs: New test.
547 * testfile_const_type.c: New test source file.
548 * testfile_entry_value.c: Likewise.
549 * testfile_implicit_pointer.c: Likewise.
550 * testfile_implicit_value.c: Likewise.
551 * testfile_parameter_ref.c: Likewise.
552 * testfile_const_type.bz2: New test file.
553 * testfile_entry_value.bz2: Likewise.
554 * testfile_implicit_pointer.bz2: Likewise.
555 * testfile_implicit_value.bz2: Likewise.
556 * testfile_parameter_ref.bz2: Likewise.
557 * varlocs.c: New test source.
558
Mark Wielaard92e47d62013-09-02 16:46:50 +02005592013-08-29 Mark Wielaard <mjw@redhat.com>
560
561 * run-addrcfi.sh: Add case for EM_ARM.
562 * testfilearm.bz2: New testfile.
563 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
564
Mark Wielaardd3f16452013-08-28 18:10:44 +02005652013-08-28 Mark Wielaard <mjw@redhat.com>
566
Mark Wielaard79b91812013-08-28 21:54:58 +0200567 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
568 completely missing.
569 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
570 * testfiles390.bz2: New testfile.
571 * testfiles390x.bz2: Likewise.
572 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
573 testfiles390x.bz2.
574
5752013-08-28 Mark Wielaard <mjw@redhat.com>
576
Mark Wielaardd3f16452013-08-28 18:10:44 +0200577 * addrcfi.c (handle_cfi): Use printf not error.
578 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
579 * testfileppc32.bz2: New testfile.
580 * testfileppc64.bz2: Likewise.
581 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
582 testfileppc64.bz2.
583
Mark Wielaard292b1782013-08-27 15:40:56 +02005842013-08-27 Mark Wielaard <mjw@redhat.com>
585
586 * run-addrcfi.sh: New test.
587 * Makefile.am (TESTS): Add run-addrcfi.sh.
588 (EXTRA_DIST): Likewise.
589 * addrcfi.c (op_name): New function.
590 (print_detail): Call and print op_name. Check ops, not result
591 to check if this is "same value" or "undefined".
592 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
593
Mark Wielaard4b9e6392013-08-13 11:40:21 +02005942013-08-13 Mark Wielaard <mjw@redhat.com>
595
596 * run-addr2line-i-test.sh: New test.
597 * testfile-inlines.bz2: New testfile.
598 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
599 testfile-inlines.bz2.
600 (TESTS): Add run-addr2line-i-test.sh.
601
Mark Wielaardd0f85012013-08-12 14:21:31 +02006022013-08-12 Mark Wielaard <mjw@redhat.com>
603
604 * run-addr2line-test.sh: New test.
605 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
606 (TESTS): Likewise.
607
Jan Kratochvil596d4302013-07-23 16:30:01 +02006082013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
609
610 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
611 the entries.
612
Mark Wielaard263d7ee2013-07-02 16:16:58 +02006132013-07-02 Mark Wielaard <mjw@redhat.com>
614
615 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
616 testfilenolines.bz2.
617
Jan Kratochvil8ff86292013-05-30 13:21:20 +02006182013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
619
620 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
621 test-core.core.bz2 and test-core.exec.bz2.
622 * run-addrname-test.sh: New test for these files.
623 * run-unstrip-n.sh: Update expected output. New test for these files.
624 * test-core-lib.so.bz2: New file.
625 * test-core.core.bz2: New file.
626 * test-core.exec.bz2: New file.
627
Mark Wielaard9affad32013-05-03 11:28:49 +02006282013-05-03 Mark Wielaard <mjw@redhat.com>
629
630 * testfilenolines.bz2: New test file.
631 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
632 * run-get-lines.sh: Run testrun_compare on testfilenolines.
633
Jan Kratochvil904aec22013-04-30 14:27:16 +02006342013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
635
636 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
637
Mark Wielaard807ea312013-04-29 20:48:36 +02006382013-04-29 Mark Wielaard <mjw@redhat.com>
639
640 * test-subr.sh: Don't use pushd, just cd into test-dir.
641 (exit_cleanup): Don't use popd, just cd .. to get out.
642
Mark Wielaarda6098312013-04-26 21:21:56 +02006432013-04-27 Mark Wielaard <mjw@redhat.com>
644
Mark Wielaard527e21e2013-04-27 23:15:44 +0200645 * test-subr.sh (exit_cleanup): New function.
646 (trap): Use exit_cleanup as argument.
647 * run-native-test.sh (native_exit): New function.
648 (trap): For EXIT (0) use native_exit as argument.
649
6502013-04-27 Mark Wielaard <mjw@redhat.com>
651
Mark Wielaardb0f202e2013-04-28 00:54:17 +0200652 * update1.c (main): Use unique tempfile name and unlink file.
653 * update2.c (main): Likewise.
654 * update3.c (main): Likewise.
655 * update4.c (main): Use unique tempfile name.
656
6572013-04-27 Mark Wielaard <mjw@redhat.com>
658
Mark Wielaarda6098312013-04-26 21:21:56 +0200659 * run-alldts.sh: Add testfile-alldts to tempfiles.
660 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
661 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
662 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
663 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
664
Mark Wielaard86be7922013-04-26 23:44:25 +02006652013-04-26 Mark Wielaard <mjw@redhat.com>
666
667 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
668 remove wrapper.
669 (TESTS_ENVIRONMENT): Likewise.
670 (installed_LOG_COMPILER): New variable defining wrapper.
671 (LOG_COMPILER): Likewise.
672 * run-*.sh: Fixup location of input and output files.
673 * test-subr.sh: Create test_dir, pushd to execute test in.
674 (trap): Remove test_dir.
675 (testfiles): Use abs_srcdir.
676 (installed_testrun): Match on abs_builddir or abs_top_builddir.
677 (self_test_files): Adjust path.
678
Mark Wielaardcdaaf212013-04-25 16:50:11 -04006792013-04-24 Mark Wielaard <mjw@redhat.com>
680
681 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
682
Mark Wielaarda8c7f052013-03-25 21:11:53 +01006832013-03-25 Mark Wielaard <mjw@redhat.com>
684
Mark Wielaardb79788c2013-03-25 11:45:22 +0100685 * run-readelf-aranges.sh: New test.
686 * testfilefoobarbaz.bz2: New test file.
687 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
688 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
689
6902013-03-25 Mark Wielaard <mjw@redhat.com>
691
Mark Wielaarda8c7f052013-03-25 21:11:53 +0100692 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
693
Jan Kratochvila1d44822013-03-19 13:40:13 +01006942013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
695
696 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
697 (TESTS): Add run-dwfl-report-elf-align.sh.
698 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
699 testfile-dwfl-report-elf-align-shlib.so.bz2 .
700 (dwfl_report_elf_align_LDADD): New.
701 * dwfl-report-elf-align.c: New file.
702 * run-dwfl-report-elf-align.sh: New file.
703 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
704
Mark Wielaardf1b06b52013-03-12 12:02:51 +01007052013-03-12 Mark Wielaard <mjw@redhat.com>
706
707 * run-dwfllines.sh: New test.
708 * dwfllines.c: New test program.
709 * Makefile.am (TESTS): Add run-dwfllines.sh.
710 (EXTRA_DIST): Likewise.
711 (dwfllines_LDADD): New variable.
712
Mark Wielaardf6185a72013-02-22 23:42:59 +01007132013-02-22 Mark Wielaard <mjw@redhat.com>
714
715 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
716 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
717
Mark Wielaard443304e2013-02-15 22:45:22 +01007182013-02-15 Mark Wielaard <mjw@redhat.com>
719
720 * testfile-dwzstr.bz2: New testfile.
721 * testfile-dwzstr.multi.bz2: Likewise.
722 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
723 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
724 testfile-dwzstr.multi.bz2.
725
Mark Wielaard6c4b2072013-01-30 11:04:38 +01007262013-01-30 Mark Wielaard <mjw@redhat.com>
727
728 * testfileloc.bz2: New testfile.
729 * run-readelf-loc.sh: New test.
730 * Makefile.am (TESTS): Add run-readelf-loc.sh.
731 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
732
Jan Kratochvilcc84d792012-10-10 19:32:05 +02007332013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
736 and s390x core notes.
737 * testfile67.bz2: New file.
738 * testfile68.bz2: New file.
739 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
740
Mark Wielaard697bdca2013-01-23 17:39:19 +01007412013-01-23 Mark Wielaard <mjw@redhat.com>
742
743 * testfilebasmin.bz2: New testfile.
744 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
745 * run-readelf-s.sh: Test testfilebasmin.
746 * run-dwflsyms.sh: Likewise.
747
Mark Wielaard9a91fb22013-01-16 15:19:40 +01007482013-01-16 Mark Wielaard <mjw@redhat.com>
749
750 * Makefile.am (check_PROGRAMS): Add dwflsyms.
751 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
752 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
753 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
754 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
755 (dwflsyms_LDADD): New variable.
756
Roland McGrath3f9256d2013-01-07 15:13:46 -08007572013-01-07 Roland McGrath <roland@hack.frob.com>
758
759 * run-prelink-addr-test.sh: Use ln -snf.
760
Mark Wielaard1d6a4352012-12-03 17:01:09 +01007612012-12-03 Mark Wielaard <mjw@redhat.com>
762
763 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
764
Jan Kratochvild5784af2012-10-18 00:11:30 +02007652012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
766
767 * run-addrname-test.sh: New test for PIE relocation.
768 * testfile70.core.bz2: New file.
769 * testfile70.exec.bz2: New file.
770 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
771 testfile70.exec.bz2 .
772
Jan Kratochvild7ed0252012-10-27 21:31:58 +02007732012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
774
775 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
776 testfile69.core.bz2 and testfile69.so.bz2 .
777
Jan Kratochvil3fdcdcb2012-10-17 21:49:10 +02007782012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
779
780 * run-addrname-test.sh: New test for DSO with build-id bias.
781 * testfile69.core.bz2: New file.
782 * testfile69.so.bz2: New file.
783
Jan Kratochvil78dec222012-10-10 08:04:01 +02007842012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
785
Jan Kratochvil387654d2012-10-10 08:08:44 +0200786 * run-addrname-test.sh: New test for core vDSO bias.
787 * testfile65.bz2: New file.
788
7892012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
790
Jan Kratochvil78dec222012-10-10 08:04:01 +0200791 * run-addrname-test.sh: New test for symbol preferences.
792 * testfile64.bz2: New file.
793
Mark Wielaarde3e3ee22012-10-01 16:14:12 +02007942012-10-01 Mark Wielaard <mjw@redhat.com>
795
796 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
797 * test-wrapper.sh: Export VALGRIND_CMD if available.
798 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
799 (installed_testrun): Likewise.
800
Petr Machataae7c5e72012-09-24 16:16:27 +02008012012-09-24 Petr Machata <pmachata@redhat.com>
802
Petr Machata522a73f2012-09-24 16:46:52 +0200803 * testfile63.bz2: New testfile.
804 * run-readelf-mixed-corenote.sh: New test.
805 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
806 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
807
8082012-09-24 Petr Machata <pmachata@redhat.com>
809
Petr Machataae7c5e72012-09-24 16:16:27 +0200810 * testfile62.bz2: New testfile.
811 * run-readelf-vmcoreinfo.sh: New test.
812 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
813 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
814
Petr Machata3662ad12012-09-18 21:35:19 +02008152012-09-18 Petr Machata <pmachata@redhat.com>
816
817 * testfile61.bz2: New testfile.
818 * run-allregs.sh: Run reg_test testfile61.
819 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
820
Mark Wielaarde0ebc5a2012-08-24 14:51:37 +02008212012-08-24 Mark Wielaard <mjw@redhat.com>
822
823 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
824
Jeff Kenton257dcf42012-08-22 09:00:03 -04008252012-08-22 Jeff Kenton <jkenton@tilera.com>
826
827 * testfile60.bz2: New testfile.
828 * run-allregs.sh: Run reg_test testfile60.
829
Mark Wielaardf5519fc2012-08-24 13:54:52 +02008302012-08-24 Mark Wielaard <mjw@redhat.com>
831
832 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
833 ENABLE_DWZ.
834
Mark Wielaardf31c4412012-08-17 00:35:03 +02008352012-08-16 Mark Wielaard <mjw@redhat.com>
836
837 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
838 macros.
839 * show-die-info.c (tagnames): Removed.
840 (attrs): Removed.
841 (dwarf_tag_string): New function using known-dwarf macros.
842 (dwarf_attr_string): Likewise.
843 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
844 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
845
Mark Wielaard775375e2012-06-22 12:02:45 +02008462012-06-27 Mark Wielaard <mjw@redhat.com>
847
848 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
849 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
850 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
851 testfile_multi_main.bz2.
852 * run-readelf-dwz-multi.sh: New test.
853 * libtestfile_multi_shared.so.bz2: New testfile.
854 * testfile_multi.dwz.bz2: New testifle.
855 * testfile_multi_main.bz2: New testifle.
856
Petr Machata30a941c2012-08-01 21:41:36 +02008572012-08-01 Petr Machata <pmachata@redhat.com>
858
859 * run-test-archive64.sh: New test.
860 * testarchive64.a.bz2: New testfile.
861 * Makefile.am (TESTS): Add run-test-archive64.sh.
862 (EXTRA_DIST): Likewise.
863
Mark Wielaard94e387f2012-08-01 15:31:12 +02008642012-08-01 Mark Wielaard <mjw@redhat.com>
865
Mark Wielaardbf707b52012-08-01 15:39:11 +0200866 * run-nm-self.sh: New test.
867 * run-readelf-self.sh: Likewise.
868 * test-subr.sh (testrun_on_self_quiet): New function.
869 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
870 (EXTRA_DIST): Likewise.
871
8722012-08-01 Mark Wielaard <mjw@redhat.com>
873
Mark Wielaard94e387f2012-08-01 15:31:12 +0200874 * test-subr.sh (self_test_files): New list of files.
875 (testrun_on_self): New function.
876 * run-elflint-self.sh: Use testrun_on_self.
877
Mark Wielaard714ea0e2012-07-19 13:07:39 +02008782012-07-19 Mark Wielaard <mjw@redhat.com>
879
Mark Wielaard030f6262012-07-18 13:14:30 +0200880 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
881 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
882 (EXTRA_DIST): Likewise.
883 (test_elf_cntl_gelf_getshdr_LDADD): New.
884 test-elf_cntl_gelf_getshdr.c: New test program.
885 run-elf_cntl_gelf_getshdr.sh: New test script.
886
8872012-07-19 Mark Wielaard <mjw@redhat.com>
888
Mark Wielaardadcd1dd2012-07-19 22:59:18 +0200889 * run-elflint-self.sh: runtests on ../backends/*so files.
890
8912012-07-19 Mark Wielaard <mjw@redhat.com>
892
Mark Wielaard714ea0e2012-07-19 13:07:39 +0200893 * run-unstrip-n.sh: test_cleanup.
894 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
895
Mark Wielaarde9b23882012-06-29 22:30:15 +02008962012-07-11 Mark Wielaard <mjw@redhat.com>
897
898 * run-readelf-macro.sh: New test.
899 * testfilemacro.bz2: New testfile.
900 * Makefile.am (TESTS): Add run-readelf-macro.sh.
901 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
902
Mark Wielaard84a1e0b2012-06-29 23:38:09 +02009032012-06-27 Mark Wielaard <mjw@redhat.com>
904
905 * run-readelf-gdb-index.sh: New test.
906 * testfilegdbindex5.bz2: New testfile.
907 * testfilegdbindex7.bz2: Likewise.
908 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
909 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
910 testfilegdbindex7.bz2.
911
Mark Wielaard97212fe2012-07-17 21:12:39 +02009122012-07-17 Mark Wielaard <mjw@redhat.com>
913
914 * testcore-rtlib-ppc.bz2: New testfile.
915 * run-unstrip-n.sh: Check new ppc core testfile.
916
Mike Frysingerc09c5f32012-06-26 12:07:44 -04009172012-06-26 Mike Frysinger <vapier@gentoo.org>
918
919 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
920
Mark Wielaarda0172d72012-06-25 17:18:53 +02009212012-06-26 Mark Wielaard <mjw@redhat.com>
922
923 * run-macro-test.sh: New test.
924 * testfile-macinfo.bz2: New testfile.
925 * testfile-macros.bz2: Likewise.
926
Mark Wielaard547049b2012-06-22 18:19:02 +02009272012-05-07 Mark Wielaard <mjw@redhat.com>
928
929 * low_high_pc.c: Use proper inttypes in printf formats.
930
Mark Wielaarddbbc67a2012-05-11 12:57:57 +02009312012-05-11 Mark Wielaard <mjw@redhat.com>
932
933 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
934
Mark Wielaardd9bc75f2012-05-07 13:29:52 +02009352012-05-07 Mark Wielaard <mjw@redhat.com>
936
937 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
938
Mark Wielaard54797252012-04-27 13:00:50 +02009392012-04-27 Mark Wielaard <mjw@redhat.com>
940
941 * Makefile.am (TESTS): Add run-low_high_pc.sh
942 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
943 (noinst_PROGRAMS): Add low_high_pc.
944 (low_high_pc_LDADD): New variable.
945 * low_high_pc.c: New test.
946
Mark Wielaardbdad8e32012-04-26 12:24:33 +02009472012-04-26 Mark Wielaard <mjw@redhat.com>
948
949 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
950 * run-show-ciefde.sh: Removed old libdwarf test.
951 * show-ciefde.c: Likewise.
952
Mark Wielaard191d1f02012-04-02 17:11:25 +02009532012-04-02 Mark Wielaard <mjw@redhat.com>
954
Mark Wielaard96a52132012-04-03 00:21:50 +0200955 * Makefile.am (TESTS): Add run-unstrip-n.sh.
956 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
957 * run-unstrip-n.sh: New test.
958 * testcore-rtlib.bz2: New testfile.
959
9602012-04-02 Mark Wielaard <mjw@redhat.com>
961
Mark Wielaard191d1f02012-04-02 17:11:25 +0200962 * Makefile.am (TESTS): Add run-readelf-d.sh.
963 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
964 * run-readelf-d.sh: New test.
965 * run-elflint-test.sh: Check new testfile.
966
Tom Tromey581c3f62012-03-21 08:54:32 -06009672012-03-21 Tom Tromey <tromey@redhat.com>
968
969 * typeiter.c: New file.
970 * run-typeiter.sh: New file.
971 * testfile59.bz2: New file.
972 * Makefile.am (noinst_PROGRAMS): Add typeiter.
973 (TESTS): Add run-typeiter.sh.
974 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
975 (typeiter_LDADD): New variable.
976
Kurt Roeckx5a8e39a2012-02-24 23:40:32 +01009772012-02-21 Kurt Roeckx <kurt@roeckx.be>
978
979 * run-alldts.sh: testrun ./alldts.
980
Roland McGrathe3b15682012-02-21 11:12:46 -08009812012-02-21 Roland McGrath <roland@hack.frob.com>
982
983 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
Roland McGrathc1c6a9d2012-02-21 12:51:36 -0800984 * test-subr.sh (installed_testrun): Likewise.
Roland McGrathe3b15682012-02-21 11:12:46 -0800985
Roland McGrathb8ff18e2012-01-18 13:57:08 -08009862012-01-18 Roland McGrath <roland@hack.frob.com>
987
988 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
989 it will have been inherited correctly from the test harness.
990 * asm-tst5.c (main): Likewise.
991 * asm-tst6.c (main): Likewise.
992 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
993
Roland McGrath32899ac2011-07-09 03:17:24 -07009942011-07-09 Roland McGrath <roland@hack.frob.com>
995
996 * sha1-tst.c: File removed.
997 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
998 (sha1_tst_LDADD): Variable removed.
999
1000 * md5-sha1-test.c: New file.
1001 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
1002 (md5_sha1_test_LDADD): New variable.
1003
Mark Wielaard3f2290b2011-05-30 15:46:32 +020010042011-05-30 Mark Wielaard <mjw@redhat.com>
1005
1006 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
1007 run-rerequest_tag.sh
1008
Mark Wielaard20a217d2011-05-24 14:30:40 +020010092011-05-24 Mark Wielaard <mjw@redhat.com>
1010
1011 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
1012 * run-strip-reloc.sh: Add hello_s390.ko testcase.
1013 * hello_s390.ko.bz2: New test file.
1014
Mark Wielaard1662bc32011-05-16 11:33:11 +020010152011-05-23 Mark Wielaard <mjw@redhat.com>
1016
1017 * Makefile.am (TESTS): Add run-strip-reloc.sh.
1018 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
1019 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
1020 * run-strip-reloc.sh: New test.
1021 * hello_i386.ko.bz2: New test file.
1022 * hello_x86_64.ko.bz2: Likewise.
1023 * hello_ppc64.ko.bz2: Likewise.
1024
Mark Wielaard7a125b92011-05-17 12:20:01 +020010252011-05-18 Mark Wielaard <mjw@redhat.com>
1026
1027 * run-strip-groups.sh: New test.
1028 * testfile58.bz2: New test file.
1029 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
1030 (TESTS): Add run-strip-groups.sh.
1031 (EXTRA_DIST): Likewise.
1032
Marek Polacek494275c2011-03-28 16:00:38 +020010332011-03-28 Marek Polacek <mpolacek@redhat.com>
1034
1035 * alldts.c: New file.
1036 * run-alldts.sh: Use it.
1037 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1038 (alldts_LDADD): New variable.
1039
10402011-03-02 Marek Polacek <mpolacek@redhat.com>
Marek Polacek48942212011-03-07 11:16:50 -08001041
1042 * dwarf-getstring.c: New test.
1043 * run-dwarf-getstring.sh: And its wrapper.
1044 * Makefile.am (EXTRA_DIST): Add and update all.
1045
Jan Kratochvilfec39992011-02-27 12:01:25 -080010462011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1047
1048 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
1049 * run-readelf-twofiles.sh: New file.
1050
Mark Wielaard58cfa1c2011-02-25 20:17:52 +010010512011-02-25 Mark Wielaard <mjw@redhat.com>
1052
1053 * Makefile.am (BUILD_RPATH): Be consistent in naming.
1054
Josh Stonedc34eda2011-02-02 16:30:01 -080010552011-02-02 Josh Stone <jistone@redhat.com>
1056
1057 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
1058 * testfile55-64.bz2, testfile55-64.debug.bz2,
1059 testfile55-64.prelink.bz2, testfile55-32.bz2,
1060 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
1061 * Makefile.am (EXTRA_DIST): Add and update all.
1062
Roland McGrath32520bd2011-01-12 10:43:32 -080010632011-01-12 Roland McGrath <roland@redhat.com>
1064
1065 * run-prelink-addr-test.sh: Make symlinks to find .debug files
Roland McGrath4f6d4e12011-01-12 10:49:40 -08001066 corresponding to .noshdrs files.
Roland McGrath32520bd2011-01-12 10:43:32 -08001067
Josh Stoned41d9a62011-01-11 19:16:57 -080010682011-01-11 Josh Stone <jistone@redhat.com>
1069
Josh Stoneccbccef2011-01-11 19:16:59 -08001070 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
1071 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
1072 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
1073 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
1074 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
1075 * Makefile.am (EXTRA_DIST): Add and update all.
1076
Josh Stonecf514712011-01-11 19:16:58 -08001077 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
1078 * testfile53.bz2, testfile53.debug.bz2,
1079 testfile53.prelink.bz2: Deleted, so...
1080 * testfile53-64.bz2, testfile53-64.debug.bz2,
1081 testfile53-64.prelink.bz2: Recreated with 64-bit names.
1082 * testfile53-32.bz2, testfile53-32.debug.bz2,
1083 testfile53-32.prelink.bz2: New in 32-bit.
1084 * Makefile.am (EXTRA_DIST): Add and update all.
1085
Josh Stoned41d9a62011-01-11 19:16:57 -08001086 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
1087 * testfile52.so.bz2, testfile52.so.debug.bz2,
1088 testfile52.prelink.so.bz2: Deleted, so...
1089 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
1090 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
1091 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
1092 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
Roland McGrath32520bd2011-01-12 10:43:32 -08001093 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
Josh Stoned41d9a62011-01-11 19:16:57 -08001094 * Makefile.am (EXTRA_DIST): Add and update all.
1095
Josh Stoneffa02002011-01-10 21:28:46 -080010962011-01-10 Josh Stone <jistone@redhat.com>
1097
1098 * run-prelink-addr-test.sh: New test for prelinked addrs.
1099 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1100 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
1101 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
1102 * testfile53.bz2, testfile53.debug.bz2: New data files.
1103 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
1104 * Makefile.am (EXTRA_DIST): Add them.
1105
Roland McGrathec86e5f2010-06-14 17:44:38 -070011062010-06-04 Roland McGrath <roland@redhat.com>
1107
1108 * run-unstrip-test.sh: Also test modifying the file in place.
1109
Roland McGrath3c6ee4b2010-04-22 22:38:58 -070011102010-04-22 Roland McGrath <roland@redhat.com>
1111
1112 * addrcfi.c (handle_cfi): Fix function name in error message.
1113 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
1114
Roland McGrath26618d82010-04-14 13:10:47 -070011152010-04-14 Roland McGrath <roland@redhat.com>
1116
1117 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
1118
Ulrich Drepperc2d1e482010-04-10 18:23:47 -070011192010-04-10 Ulrich Drepper <drepper@redhat.com>
1120
1121 * msg_tst.c: Adjust expected error message.
1122
Petr Machata77961b52010-04-06 14:16:58 +020011232010-04-01 Petr Machata <pmachata@redhat.com>
1124
1125 * test-flag-nobits.c: New test.
1126 * run-test-flag-nobits.sh: And its wrapper.
1127 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
1128 (test_flag_nobits_LDADD): New variable.
1129
Roland McGrathe9ca7382010-02-15 15:15:50 -080011302010-02-15 Roland McGrath <roland@redhat.com>
1131
Roland McGrath22359e22010-02-15 15:57:03 -08001132 * Makefile.am: Use config/eu.am for common stuff.
1133
Roland McGrathe9ca7382010-02-15 15:15:50 -08001134 * asm-tst9.c (main): Rename local to avoid shadowing another local.
1135
Roland McGrathaf800142009-07-22 13:55:50 -070011362009-07-22 Roland McGrath <roland@redhat.com>
1137
1138 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
1139
Roland McGrath3c84db32009-06-24 17:41:40 -070011402009-07-08 Roland McGrath <roland@redhat.com>
1141
1142 * addrcfi.c: New file.
1143 * Makefile.am (noinst_PROGRAMS): Add it.
1144 (addrcfi_LDADD): New variable.
1145
Petr Machatad24c7bf2009-05-07 20:58:19 +020011462009-05-07 Petr Machata <pmachata@redhat.com>
1147
1148 * testfile51.bz2: New data file.
1149 * dwarf-getmacros.c: New test core.
1150 * run-dwarf-getmacros.sh: New test wrapper.
Roland McGrath0c735a92009-05-07 18:19:16 -07001151 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1152 (dwarf_getmacros_LDADD): New variable.
Petr Machatad24c7bf2009-05-07 20:58:19 +02001153
Ulrich Drepperf9545c42009-04-23 07:59:02 -070011542009-04-23 Ulrich Drepper <drepper@redhat.com>
1155
1156 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
1157 (rdwrmmap_LDADD): Add $(libmudflap).
Roland McGrath0c735a92009-05-07 18:19:16 -07001158
Roland McGrath19a8e4d2009-04-21 15:44:07 -070011592009-04-21 Roland McGrath <roland@redhat.com>
1160
1161 * testfile50.bz2: New data file.
1162 * Makefile.am (EXTRA_DIST): Add it.
1163 * run-dwfl-addr-sect.sh: Add a case using it.
1164
Ulrich Drepper5bd44442008-12-31 09:02:54 -080011652008-12-31 Ulrich Drepper <drepper@redhat.com>
1166
Ulrich Drepper3bf57592009-01-01 18:52:05 -08001167 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
1168 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
1169 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
1170 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
1171 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
1172 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
1173 roundss, roundps, roundpd, and roundsd.
1174 * testfile45.S.bz2: Likewise.
1175 * testfile44.expect.bz2: Adjust accordingly.
1176 * testfile45.expect.bz2: Likewise.
1177
Ulrich Drepper5bd44442008-12-31 09:02:54 -08001178 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
1179 * testfile45.S.bz2: Likewise.
1180 * testfile44.expect.bz2: Adjust accordingly.
1181 * testfile45.expect.bz2: Likewise.
1182
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -080011832008-12-30 Ulrich Drepper <drepper@redhat.com>
1184
Ulrich Drepperec32ff92008-12-30 23:24:09 -08001185 * testfile44.S.bz2: Add tests for blendpd and blendps.
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -08001186 * testfile45.S.bz2: Likewise.
1187 * testfile44.expect.bz2: Adjust accordingly.
1188 * testfile45.expect.bz2: Likewise.
1189
Ulrich Drepper5a04b9f2008-12-19 01:14:12 -080011902008-12-19 Ulrich Drepper <drepper@redhat.com>
1191
1192 * testfile44.S.bz2: Add tests for AMD 3DNOW.
1193 * testfile45.S.bz2: Likewise.
1194 * testfile44.expect.bz2: Adjust accordingly.
1195 * testfile45.expect.bz2: Likewise.
1196
Roland McGratha845f682008-12-03 03:41:58 +000011972008-11-26 Roland McGrath <roland@redhat.com>
1198
1199 * dwfl-bug-getmodules.c: New file.
1200 * Makefile.am (noinst_PROGRAMS): Add it.
1201 (dwfl_bug_getmodules_LDADD): New variable.
1202
12032008-09-10 Roland McGrath <roland@redhat.com>
1204
1205 * test-subr.sh (LC_ALL): Export it set to "C".
1206 * run-dwfl-addr-sect.sh: Don't do it here.
1207 * run-strings-test.sh: Likewise.
1208
Roland McGrathb4d6f0f2008-08-25 22:55:17 +000012092008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
1210
1211 * run-addrname-test.sh: Add a new case.
1212 * testfile49.bz2: New data file.
1213 * Makefile.am (EXTRA_DIST): Add it.
1214
Roland McGrath521c47d2008-04-11 07:01:58 +000012152008-04-10 Roland McGrath <roland@redhat.com>
1216
1217 * testfile48.bz2, testfile48.bz2.debug: New data files.
1218 * Makefile.am (EXTRA_DIST): Add them.
1219 * run-strip-test8.sh: Use them.
1220
1221 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
1222
1223 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
1224 * run-strip-test8.sh: New file.
1225 * testfile47.bz2: New data file.
1226 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1227
Roland McGrath13b69602008-04-01 02:30:05 +000012282008-03-31 Roland McGrath <roland@redhat.com>
1229
1230 * run-early-offscn.sh: New file.
1231 * early-offscn.c: New file.
1232 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
1233 (early_offscn_LDADD): New variable.
1234
Roland McGrathd11f9cb2008-03-26 20:51:59 +000012352008-03-19 Roland McGrath <roland@redhat.com>
1236
1237 * run-addrname-test.sh: Add a new case.
1238
Roland McGrath658094a2008-02-22 08:14:07 +000012392008-02-22 Roland McGrath <roland@redhat.com>
1240
1241 * run-elflint-test.sh: Typo fix.
1242
12432008-02-21 Roland McGrath <roland@redhat.com>
1244
1245 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
1246 for the build down to minimum.
1247 * run-disasm-x86-64.sh: Likewise.
1248
Roland McGrath059c83e2008-02-21 06:19:39 +000012492008-02-20 Roland McGrath <roland@redhat.com>
1250
1251 * testfile46.bz2: New data file.
1252 * Makefile.am (EXTRA_DIST): Add it.
1253 * run-elflint-test.sh: Test on it.
1254
Ulrich Drepperc54785a2008-02-01 18:05:21 +000012552008-02-01 Ulrich Drepper <drepper@redhat.com>
1256
1257 * Makefile.am: Hook up sha1-tst.c.
1258 * sha1-tst.c: New file.
1259
Ulrich Drepper4d8bc812008-01-22 06:02:31 +000012602008-01-21 Roland McGrath <roland@redhat.com>
1261
1262 * testfile45.S.bz2: Add tests for cltq, cqto.
1263 * testfile45.expect.bz2: Adjust.
1264
Ulrich Drepper35f2fe62008-01-14 19:17:36 +000012652008-01-14 Ulrich Drepper <drepper@redhat.com>
1266
1267 * testfile45.S.bz2: Add more tests.
1268 * testfile45.expect.bz2: Adjust.
1269
Ulrich Drepperfd479892008-01-12 03:06:47 +000012702008-01-11 Ulrich Drepper <drepper@redhat.com>
1271
1272 * testfile45.expect.bz2: Adjust for adding of address for %rip based
1273 address mode.
1274
Ulrich Drepper96a73992008-01-11 06:17:06 +000012752008-01-10 Ulrich Drepper <drepper@redhat.com>
1276
1277 * testfile45.S.bz2: Add more tests.
1278 * testfile45.expect.bz2: Adjust.
1279
Ulrich Drepperff993222008-01-09 05:39:28 +000012802008-01-08 Ulrich Drepper <drepper@redhat.com>
1281
1282 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
1283 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
1284 run-disasm-x86-64.sh.
1285 * run-disasm-x86-64.sh: New file.
1286 * testfile45.S.bz2: New file.
1287 * testfile45.expect.bz2: New file.
1288 * testfile44.S.bz2: New tests.
1289 * testfile44.expect.bz2: Adjust.
1290
Ulrich Drepper9e6925d2008-01-04 21:42:14 +000012912008-01-04 Ulrich Drepper <drepper@redhat.com>
1292
1293 * testfile44.S.bz2: New tests.
1294 * testfile44.expect.bz2: Adjust.
1295
Ulrich Dreppere219f1c2008-01-09 05:49:49 +000012962008-01-04 Roland McGrath <roland@redhat.com>
1297
1298 * dwfl-bug-fd-leak.c (main): Add a cast.
1299
Ulrich Drepperee67b642008-01-03 08:45:10 +000013002008-01-03 Ulrich Drepper <drepper@redhat.com>
1301
1302 * testfile44.S.bz2: New tests.
1303 * testfile44.expect.bz2: Adjust.
1304
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000013052008-01-01 Ulrich Drepper <drepper@redhat.com>
1306
Ulrich Drepperf231e272008-01-02 18:07:17 +00001307 * line2addr.c: Use %m modifier instead of %a to appease gcc.
1308
13092008-01-01 Ulrich Drepper <drepper@redhat.com>
1310
Ulrich Drepperee67b642008-01-03 08:45:10 +00001311 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001312 * testfile44.expect.bz2: Adjust.
1313
13142007-12-31 Ulrich Drepper <drepper@redhat.com>
1315
Ulrich Drepperee67b642008-01-03 08:45:10 +00001316 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001317 * testfile44.expect.bz2: Adjust.
1318
13192007-12-30 Ulrich Drepper <drepper@redhat.com>
1320
Ulrich Drepperee67b642008-01-03 08:45:10 +00001321 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001322 * testfile44.expect.bz2: Adjust.
1323
13242007-12-29 Ulrich Drepper <drepper@redhat.com>
1325
Ulrich Drepperee67b642008-01-03 08:45:10 +00001326 * testfile44.s.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001327 * testfile44.expect.bz2: Adjust.
1328
13292007-12-28 Ulrich Drepper <drepper@redhat.com>
1330
1331 * testfile44.S.bz2: New tests.
1332 * testfile44.expect.bz2: Adjust.
1333
13342007-12-27 Ulrich Drepper <drepper@redhat.com>
1335
1336 * testfile44.S.bz2: New tests.
1337 * testfile44.expect.bz2: Adjust.
1338
13392007-12-26 Ulrich Drepper <drepper@redhat.com>
1340
1341 * testfile44.S.bz2: New tests.
1342 * testfile44.expect.bz2: Adjust
1343
13442007-12-21 Ulrich Drepper <drepper@redhat.com>
1345
1346 * testfile44.S.bz2: More tests.
1347 * testfile44.expect.bz2: Adjust appropriately.
1348
13492007-12-19 Ulrich Drepper <drepper@redhat.com>
1350
1351 * Makefile.am (TESTS): Add run-disasm.sh.
1352 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1353 testfile44.expect.bz2.
1354 * run-disasm.sh: New file.
1355 * testfile44.S.bz2: New file.
1356 * testfile44.expect.bz2: New file.
1357
Roland McGrath1a2e8f42007-12-15 23:39:34 +000013582007-12-15 Roland McGrath <roland@redhat.com>
1359
1360 * run-allregs.sh: Change expected output for powerpc spefscr.
1361
Roland McGrathe4c22ea2007-10-23 13:07:39 +000013622007-10-20 Roland McGrath <roland@redhat.com>
1363
1364 * run-dwfl-addr-sect.sh: Change expected output, no errors.
1365
13662007-10-19 Roland McGrath <roland@redhat.com>
1367
1368 * dwfl-addr-sect.c (handle_address): Return int.
1369 Don't exit on error, just return nonzero.
1370 (main): Collect results.
1371 * run-dwfl-addr-sect.sh: New file.
1372 * testfile43.bz2: New data file.
1373 * Makefile.am (EXTRA_DIST, TESTS): Add them.
1374
13752007-10-18 Roland McGrath <roland@redhat.com>
1376
1377 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1378
13792007-10-16 Roland McGrath <roland@redhat.com>
1380
1381 * test-subr.sh (remove_files): Don't pass -Bb to diff.
1382
Ulrich Drepperb597dfa2007-10-16 05:21:27 +000013832007-10-09 Roland McGrath <roland@redhat.com>
1384
1385 * dwflmodtest.c (print_module): Don't use %p in output.
1386 * run-dwfl-bug-offline-rel.sh: Updated expected output.
1387
13882007-10-08 Roland McGrath <roland@redhat.com>
1389
1390 * testfile42.bz2: New data file.
1391 * Makefile.am (EXTRA_DIST): Add it.
1392 * run-elflint-test.sh: New test on that file.
1393
Roland McGrath59ea7f32007-10-04 08:50:09 +000013942007-10-04 Roland McGrath <roland@redhat.com>
1395
1396 * run-readelf-test4.sh: New file.
1397 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1398
13992007-10-03 Roland McGrath <roland@redhat.com>
1400
1401 * run-readelf-test3.sh: New file.
1402 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1403
Roland McGrathf6b92282007-10-02 02:34:11 +000014042007-10-01 Roland McGrath <roland@redhat.com>
1405
1406 * run-readelf-test2.sh: New file.
1407 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1408
Roland McGrathc76f0b02007-09-27 07:31:33 +000014092007-09-11 Roland McGrath <roland@redhat.com>
1410
1411 * run-addrname-test.sh: Add a new case.
1412 * testfile41.bz2: New data file.
1413 * Makefile.am (EXTRA_DIST): Add it.
1414
Roland McGrathcb6d8652007-08-23 08:10:54 +000014152007-08-23 Roland McGrath <roland@redhat.com>
1416
1417 * run-allregs.sh: Update expected x86-64 output for %rflags.
1418
Roland McGrath099dd522007-08-13 22:58:36 +000014192007-08-12 Roland McGrath <roland@redhat.com>
1420
1421 * run-strip-test7.sh: New file.
1422 * testfile39.bz2: New data file.
1423 * testfile40.bz2: New data file.
1424 * testfile40.debug.bz2: New data file.
1425 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1426
Roland McGrath42f68682007-08-09 07:54:22 +000014272007-08-09 Roland McGrath <roland@redhat.com>
1428
1429 * dwfl-bug-report.c: Fix header inclusion.
1430
14312007-08-08 Roland McGrath <roland@redhat.com>
1432
1433 * run-addrname-test.sh: Add a new case using addr2line -S.
1434 * testfile38.bz2: New data file.
1435 * Makefile.am (EXTRA_DIST): Add it.
1436
Roland McGrath87d47802007-07-16 22:23:37 +000014372007-07-16 Roland McGrath <roland@redhat.com>
1438
1439 * dwfl-bug-report.c: New file.
1440 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1441 (dwfl_bug_report_LDADD): New variable.
1442
14432007-06-06 Roland McGrath <roland@redhat.com>
Roland McGrath0bc057c2007-06-06 08:42:42 +00001444
1445 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1446
Ulrich Drepperb0243862007-06-06 00:09:36 +000014472007-06-05 Ulrich Drepper <drepper@redhat.com>
1448
1449 * Makefile.am (EXTRA_DIST): Add missing line continuation and
1450 testfile37.bz and testfile37.debug.bz2.
1451
Roland McGrath53bce222007-05-23 19:15:04 +000014522007-05-23 Roland McGrath <roland@redhat.com>
1453
1454 * run-allregs.sh: Update expected Alpha results.
1455
Roland McGrath9aa8ef72007-05-18 08:59:43 +000014562007-05-18 Roland McGrath <roland@redhat.com>
1457
1458 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1459 * testfile37.bz2: New data file.
1460 * testfile37.debug.bz2: New data file.
1461 * run-unstrip-test2.sh: New file.
1462 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1463
14642007-05-10 Roland McGrath <roland@redhat.com>
1465
1466 * run-dwfl-bug-offline-rel.sh: New file.
1467 * testfile36.bz2: New data file.
1468 * testfile36.debug.bz2: New data file.
1469 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1470
14712007-04-28 Roland McGrath <roland@redhat.com>
1472
1473 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1474 * testfile35.bz2: New data file.
1475 * testfile35.debug.bz2: New data file.
1476 * run-unstrip-test.sh: New file.
1477 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1478
1479 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1480
Roland McGrath2be02912007-04-27 04:07:41 +000014812007-04-26 Roland McGrath <roland@redhat.com>
1482
1483 * run-elflint-self.sh: Run all tests even if one fails.
1484
1485 * run-allregs.sh: Add expected output for alpha.
1486
Roland McGrath4be15242007-04-25 03:09:33 +000014872007-04-24 Roland McGrath <roland@redhat.com>
1488
1489 * run-strip-test.sh: When we saved the debug info, test unstrip too.
1490
14912007-04-22 Roland McGrath <roland@redhat.com>
1492
1493 * run-allregs.sh: Update expected register info.
1494
Roland McGrath43da9892007-04-16 23:13:37 +000014952007-04-16 Roland McGrath <roland@redhat.com>
1496
1497 * dwfl-addr-sect.c: New file.
1498 * Makefile.am (noinst_PROGRAMS): Add it.
1499 (dwfl_addr_sect_LDADD): New variable.
1500
15012007-04-05 Roland McGrath <roland@redhat.com>
1502
1503 * get-files.c: Test dwarf_getsrcdirs.
1504 * run-get-files.sh: Update expected output.
1505
Roland McGrath5f6a41a2007-04-01 23:11:40 +000015062007-04-01 Roland McGrath <roland@redhat.com>
1507
1508 * run-allregs.sh: Updated expected output for x86_64.
1509
Ulrich Drepper6258e742007-03-13 06:22:40 +000015102007-03-04 Roland McGrath <roland@redhat.com>
1511
1512 * dwfl-bug-fd-leak.c: New file.
1513 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1514 (dwfl_bug_fd_leak_LDADD): New variable.
1515
1516 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1517 show what files have been located.
1518
Ulrich Drepperaa915fd2007-02-05 07:25:33 +000015192007-02-02 Roland McGrath <roland@redhat.com>
1520
1521 * run-addrname-test.sh: New file.
1522 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1523 * testfile34.bz2: New data file.
1524 * Makefile.am (EXTRA_DIST): Add it.
1525
15262007-01-20 Roland McGrath <roland@redhat.com>
1527
1528 * testfile33.bz2: New data file.
1529 * Makefile.am (EXTRA_DIST): Add it.
1530 * run-elflint-test.sh: Test on it too.
1531
15322007-01-18 Roland McGrath <roland@redhat.com>
1533
1534 * Makefile.am (CFLAGS): Don't molest it.
1535
15362007-01-11 Roland McGrath <roland@redhat.com>
1537
1538 * testfile32.bz2: New data file.
1539 * Makefile.am (EXTRA_DIST): Add it.
1540 * run-elflint-test.sh: Test on it too.
1541
Ulrich Drepperce0bdb62007-02-05 07:13:52 +000015422007-02-04 Ulrich Drepper <drepper@redhat.com>
1543
1544 * arls.c: New file.
1545 * Makefile (noinst_PROGRAMS): Add arls.
1546
1547 * run-ranlib-test2.sh: Fix type in comment.
1548
Ulrich Dreppercd4992c2007-01-10 20:58:17 +000015492007-01-10 Ulrich Drepper <drepper@redhat.com>
1550
1551 * run-elflint-self.sh (runtest): Show which file has the problem.
1552
Roland McGrathba949b32007-01-10 20:44:29 +000015532007-01-10 Roland McGrath <roland@redhat.com>
1554
1555 * dwfl-bug-addr-overflow.c: New file.
1556 * Makefile.am (TESTS): Add it.
1557 (dwfl_bug_addr_overflow_LDADD): New variable.
1558
Roland McGrath8190db62006-12-17 23:56:51 +000015592006-12-17 Roland McGrath <roland@redhat.com>
1560
1561 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
1562
Roland McGrathc373d852006-10-10 00:25:21 +000015632006-09-05 Roland McGrath <roland@redhat.com>
1564
1565 * run-strings-test.sh: Export LC_ALL=C for the test.
1566
15672006-08-29 Roland McGrath <roland@redhat.com>
1568
1569 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
1570 * run-arsymtest.sh: Likewise.
1571
1572 * run-native-test.sh (native.c compilation): Add some braces.
1573
15742006-08-22 Roland McGrath <roland@redhat.com>
1575
1576 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
1577 (struct reginfo): New members bits, type.
1578 (one_register, match_register): Update to take new args,
1579 record and display new info.
1580 (main): Display new info.
1581 * run-allregs.sh: Update expected results.
1582
Roland McGrath19db8592006-08-03 08:52:46 +000015832006-08-03 Roland McGrath <roland@redhat.com>
1584
1585 * run-allregs.sh: Add sparc cases.
1586 * testfile30.bz2: New data file.
1587 * testfile31.bz2: New data file.
1588 * Makefile.am (EXTRA_DIST): Add them.
1589
Roland McGrath95024622006-07-21 10:06:31 +000015902006-07-21 Roland McGrath <roland@redhat.com>
1591
1592 * allregs.c (struct reginfo): Increase size of name.
1593 (one_register): Assert that it's big enough.
1594
Roland McGrathb4379722006-04-05 01:35:26 +000015952006-04-04 Roland McGrath <roland@redhat.com>
1596
1597 * run-bug1-test.sh: Test a second case, to cover both byte orders.
1598 * testfile29.bz2: New file.
1599 * testfile29.rdwr.bz2: New file.
1600 * Makefile.am (EXTRA_DIST): Add them.
1601
Ulrich Drepperba718b12006-04-04 21:31:16 +000016022006-04-04 Ulrich Drepper <drepper@redhat.com>
1603
1604 * Makefile.am: Add rules to run run-bug1-test.sh.
1605 * rdwrmmap.c: New file.
1606 * run-bug1-test.sh: New file.
1607 * testfile28.bz2: New file.
1608 * testfile28.rdwr.bz2: New file.
1609
Roland McGrathdd7e22b2006-03-09 23:05:47 +000016102006-03-09 Roland McGrath <roland@redhat.com>
1611
1612 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
1613
Roland McGrath060fa052006-03-02 07:51:50 +000016142006-03-01 Roland McGrath <roland@redhat.com>
1615
1616 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
1617 changes matching 3.0 spec.
1618
Roland McGrathc40f58a2006-01-13 20:13:21 +000016192006-01-13 Roland McGrath <roland@redhat.com>
1620
1621 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
1622 bash 3.1 whines when it's done in the trap 0 handler.
1623
Roland McGrath4b248ce2006-01-12 03:34:38 +000016242006-01-11 Roland McGrath <roland@redhat.com>
1625
1626 * testfile26.bz2: New data file.
1627 * testfile27.bz2: New data file.
1628 * Makefile.am (EXTRA_DIST): Add them.
1629 * run-allregs.sh: Test s390 data.
1630
Roland McGrath124a7982005-12-15 02:37:09 +000016312005-12-14 Roland McGrath <roland@redhat.com>
1632
1633 * run-native-test.sh: Redirect output from native test process.
1634
Roland McGrath94d26ad2005-12-13 23:24:37 +000016352005-12-13 Roland McGrath <roland@redhat.com>
1636
1637 * allregs.c (main): Fail if we find no registers.
1638
1639 * run-native-test.sh: New file.
1640 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1641
Roland McGrathba72ab12005-12-12 00:04:33 +000016422005-12-10 Ulrich Drepper <drepper@redhat.com
1643
1644 * run-readelf-test1.sh: New file.
1645 * Makefile.am (TESTS): Add run-readelf-test1.sh.
1646 (EXTRA_DIST): Likewise.
1647
Roland McGrathd804e722005-12-08 01:35:42 +000016482005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001649
Roland McGrathd804e722005-12-08 01:35:42 +00001650 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001651
Roland McGrath994b4892005-12-05 22:46:21 +000016522005-11-25 Roland McGrath <roland@redhat.com>
1653
1654 * coverage.sh: Given -v argument, print names of unused files.
1655
1656 * addrscopes.c (main): Use dwfl_end before return.
1657 * allregs.c (main): Likewise.
1658 * find-prologues.c (main): Likewise.
1659 * funcretval.c (main): Likewise.
1660 * funcscopes.c (main): Likewise.
1661 * line2addr.c (main): Likewise.
1662
1663 * run-allregs.sh: New file.
1664 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1665
1666 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
1667 * Makefile.am (allregs_LDADD): Updated.
1668
1669 * allregs.c: New file.
1670 * Makefile.am (noinst_PROGRAMS): Add it.
1671 (allregs_LDADD): New variable.
1672
Roland McGrath9365d2c2005-11-18 23:55:47 +000016732005-11-18 Roland McGrath <roland@redhat.com>
1674
1675 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
1676 * test-wrapper.sh: Likewise.
1677
Roland McGrath575dd392005-11-18 01:41:52 +000016782005-11-17 Roland McGrath <roland@redhat.com>
1679
Roland McGrathaf74f5c2005-11-18 02:25:14 +00001680 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
1681 environment for test-wrapper.sh.
1682 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
1683 * test-subr.sh (installed_testrun): Likewise.
1684 Use explicit path in ${bindir}.
1685
Roland McGrath575dd392005-11-18 01:41:52 +00001686 * Makefile.am (installcheck-local): Fix typo in last change.
1687
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000016882005-11-16 Roland McGrath <roland@redhat.com>
1689
1690 * configure.ac: New file, for standalone build/dist of test suite.
1691 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
1692 (asm_TESTS): New variable, broken out of ...
1693 (TESTS): ... here. Also remove msg_tst.
1694 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
1695 (installed_TESTS_ENVIRONMENT): New variable.
1696 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
1697 [!STANDALONE] (installcheck-local): Likewise.
1698 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
1699 * addrscopes.c: Include <config.h>.
1700 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
1701 * allfcts.c: Likewise.
1702 * asm-tst1.c: Likewise.
1703 * asm-tst2.c: Likewise.
1704 * asm-tst3.c: Likewise.
1705 * asm-tst4.c: Likewise.
1706 * asm-tst5.c: Likewise.
1707 * asm-tst6.c: Likewise.
1708 * asm-tst7.c: Likewise.
1709 * asm-tst8.c: Likewise.
1710 * asm-tst9.c: Likewise.
1711 * dwflmodtest.c: Likewise.
1712 * find-prologues.c: Likewise.
1713 * funcscopes.c: Likewise.
1714 * get-aranges.c: Likewise.
1715 * get-files.c: Likewise.
1716 * get-lines.c: Likewise.
1717 * get-pubnames.c: Likewise.
1718 * line2addr.c: Likewise.
1719 * newscn.c: Likewise.
1720 * show-abbrev.c: Likewise.
1721 * show-die-info.c: Likewise.
1722 * update3.c: Likewise.
1723 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +00001724 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +00001725
1726 * dwflmodtest.c (print_instance): Don't use INTUSE.
1727 (options): Don't use N_ macro.
1728
Roland McGrath1b8b4462005-11-16 01:33:38 +000017292005-11-15 Roland McGrath <roland@redhat.com>
1730
Roland McGrathe47ab762005-11-17 03:16:00 +00001731 * coverage.sh: Look in backends.
1732 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
1733 (TESTS_ENVIRONMENT): Likewise.
1734
1735 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
1736 pass FUNCDIE direclty to dwfl_module_return_value_location.
1737
Roland McGrath1b8b4462005-11-16 01:33:38 +00001738 * Makefile.am (BUILD_RPATH): New variable.
1739 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
1740 (tests_rpath): New variable.
1741 (installcheck-local): Pass it to test-wrapper.sh.
1742 * test-wrapper.sh: In "installed" format, take yes/no value
1743 for elfutils_tests_rpath, which export. When running a test
1744 binary for installcheck, exit 77.
1745 * test-subr.sh (installed_testrun): When running a test binary
1746 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
1747
17482005-11-14 Roland McGrath <roland@redhat.com>
1749
1750 * test-subr.sh: New file.
1751 * test-wrapper.sh: New file.
1752 * Makefile.am (EXTRA_DIST): Add them.
1753 (AM_LDFLAGS): Variable removed.
1754 (TESTS_ENVIRONMENT): New variable.
1755 (installcheck-local): New target.
1756 * run-addrscopes.sh: Use test-subr.sh.
1757 * run-allfcts.sh: Likewise.
1758 * run-ecp-test.sh: Likewise.
1759 * run-ecp-test2.sh: Likewise.
1760 * run-elflint-self.sh: Likewise.
1761 * run-elflint-test.sh: Likewise.
1762 * run-find-prologues.sh: Likewise.
1763 * run-funcscopes.sh: Likewise.
1764 * run-get-aranges.sh: Likewise.
1765 * run-get-files.sh: Likewise.
1766 * run-get-lines.sh: Likewise.
1767 * run-get-pubnames.sh: Likewise.
1768 * run-line2addr.sh: Likewise.
1769 * run-ranlib-test.sh: Likewise.
1770 * run-ranlib-test2.sh: Likewise.
1771 * run-show-abbrev.sh: Likewise.
1772 * run-show-ciefde.sh: Likewise.
1773 * run-show-die-info.sh: Likewise.
1774 * run-strings-test.sh: Likewise.
1775 * run-strip-test.sh: Likewise.
1776
Roland McGrathe47ab762005-11-17 03:16:00 +000017772005-11-13 Roland McGrath <roland@redhat.com>
1778
1779 * funcretval.c: New file.
1780 * Makefile.am (noinst_PROGRAMS): Add it.
1781 (funcretval_LDADD): New variable.
1782
Ulrich Drepper3840c1c2005-11-09 16:13:48 +000017832005-11-09 Ulrich Drepper <drepper@redhat.com>
1784
1785 * line2addr.c (handle_module): Add missing parameter to printf.
1786
Roland McGrath07d4f2f2005-10-28 06:56:24 +000017872005-10-27 Roland McGrath <roland@redhat.com>
1788
Roland McGrath6724c902005-10-28 07:07:19 +00001789 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
1790 * funcscopes.c (handle_function): Likewise.
1791 * dwflmodtest.c (print_inline, print_func): Likewise.
1792 * find-prologues.c (handle_function): Likewise.
1793
17942005-10-27 Roland McGrath <roland@redhat.com>
1795
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001796 * run-find-prologues.sh: New file.
1797 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1798
1799 * find-prologues.c (handle_function): Skip inlines.
1800
18012005-10-25 Roland McGrath <roland@redhat.com>
1802
1803 * find-prologues.c: New file.
1804 * Makefile.am (noinst_PROGRAMS): Add it.
1805 (find_prologues_LDADD): New variable.
1806
Ulrich Drepper3bbc9502005-09-02 20:29:56 +000018072005-09-02 Ulrich Drepper <drepper@redhat.com>
1808
1809 * run-strings-test.sh: Remove strings.out in the end.
1810
Ulrich Drepper7d65d012005-08-31 15:14:26 +000018112005-08-31 Ulrich Drepper <drepper@redhat.com>
1812
1813 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
1814 * run-allfcts.sh: Likewise.
1815 * run-ecp-test.sh: Likewise.
1816 * run-ecp-test2.sh: Likewise.
1817 * run-elflint-test.sh: Likewise.
1818 * run-funcscopes.sh: Likewise.
1819 * run-get-aranges.sh: Likewise.
1820 * run-get-files.sh: Likewise.
1821 * run-get-lines.sh: Likewise.
1822 * run-get-pubnames.sh: Likewise.
1823 * run-line2addr.sh: Likewise.
1824 * run-ranlib-test2.sh: Likewise.
1825 * run-show-abbrev.sh: Likewise.
1826 * run-show-ciefde.sh: Likewise.
1827 * run-show-die-info.sh: Likewise.
1828 * run-strings-test.sh: Likewise.
1829 * run-strip-test.sh: Likewise.
1830
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +000018312005-08-30 Ulrich Drepper <drepper@redhat.com>
1832
1833 * coverage.sh: Handle case where there is no .gcno file at all.
1834
Ulrich Drepper39cec7a2005-08-30 01:22:01 +000018352005-08-29 Ulrich Drepper <drepper@redhat.com>
1836
1837 * Makefile.am (EXTRA_DIST): Add coverage.
1838 [GCOV]: Generate coverage summary after the tests ran
1839 * coverage.sh: New file.
1840
Ulrich Drepperfbe998a2005-08-29 16:27:10 +000018412005-08-28 Ulrich Drepper <drepper@redhat.com>
1842
1843 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
1844 (CLEANFILES): Add *.gcno *.gcda *.gconv.
1845
18462005-08-28 Ulrich Drepper <drepper@redhat.com>
1847
1848 * run-strings-test.sh: New file.
1849 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1850
Roland McGrath71e15a02005-08-27 10:33:26 +000018512005-08-27 Roland McGrath <roland@redhat.com>
1852
Roland McGrathb0bc2782005-08-27 21:07:16 +00001853 * addrscopes.c (handle_address): Apply bias to PC addresses.
1854
Roland McGrath71e15a02005-08-27 10:33:26 +00001855 * run-funcscopes.sh: New file.
1856 * testfile25.bz2: New data file.
1857 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1858
18592005-08-26 Roland McGrath <roland@redhat.com>
1860
1861 * addrscopes.c (dwarf_diename_integrate): Removed.
1862 (print_vars, handle_address): Use plain dwarf_diename.
1863
18642005-08-25 Roland McGrath <roland@redhat.com>
1865
1866 * funcscopes.c: New file.
1867 * Makefile.am (noinst_PROGRAMS): Add it.
1868 (funcscopes_LDADD): New variable.
1869
1870 * run-addrscopes.sh: Add another case.
1871 * testfile24.bz2: New data file.
1872 * Makefile.am (EXTRA_DIST): Add it.
1873
1874 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
1875 pass it to dwarf_getscopes.
1876 (main): Pass it, true when '=' follows an address.
1877
Roland McGrath4c305da2005-08-25 01:49:35 +000018782005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +00001879
Roland McGrath4c305da2005-08-25 01:49:35 +00001880 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +00001881
Ulrich Drepper2eb660f2005-08-24 19:47:57 +000018822005-08-24 Ulrich Drepper <drepper@redhat.com>
1883
Ulrich Drepper958bf132005-08-24 21:40:55 +00001884 * run-line2addr.sh: Remove testfile23 in the end.
1885
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001886 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +00001887 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001888
Roland McGrathd17fac72005-08-23 08:20:21 +000018892005-08-22 Roland McGrath <roland@redhat.com>
1890
1891 * run-line2addr.sh: Add a case.
1892 * testfile23.bz2: New data file.
1893 * Makefile.am (EXTRA_DIST): Add it.
1894
Roland McGrath9a1f3652005-08-18 20:57:04 +000018952005-08-18 Roland McGrath <roland@redhat.com>
1896
Roland McGrathf5fda7d2005-08-18 22:01:57 +00001897 * run-addrscopes.sh: New file.
1898 * testfile22.bz2: New data file.
1899 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1900
Roland McGrath9a1f3652005-08-18 20:57:04 +00001901 * addrscopes.c: New file.
1902 * Makefile.am (noinst_PROGRAMS): Add it.
1903 (addrscopes_LDADD): New variable.
1904
Ulrich Drepper837b5222005-08-16 05:12:01 +000019052005-08-15 Ulrich Drepper <drepper@redhat.com>
1906
1907 * run-elflint-self.sh: Don't run test if the file doesn't exist.
1908
Roland McGrath1ecb6062005-08-15 09:53:04 +000019092005-08-15 Roland McGrath <roland@redhat.com>
1910
1911 * dwflmodtest.c (print_instance, print_inline): New functions.
1912 (print_func): Call print_inline.
1913 (options, parse_opt): Grok -i/--inlines.
1914
Roland McGrath8d18c292005-08-07 21:42:07 +000019152005-08-07 Roland McGrath <roland@redhat.com>
1916
1917 * dwflmodtest.c: Print function details only if -f flag is given.
1918
Ulrich Drepper47be7952005-08-07 04:41:39 +000019192005-08-06 Ulrich Drepper <drepper@redhat.com>
1920
Ulrich Drepper637963b2005-08-07 05:33:07 +00001921 * run-elflint-self.sh: New file.
1922 * Makefile.am (TESTS): Add run-elflint-self.sh.
1923 (EXTRA_DIST): Likewise.
1924
Ulrich Drepper47be7952005-08-07 04:41:39 +00001925 * Makefile.am: Link with statis libs if BUILD_STATIC.
1926 (dwflmodtest_LDADD): Also link with -ldl.
1927
Ulrich Drepper41de4882005-08-03 00:02:56 +000019282005-08-02 Ulrich Drepper <drepper@redhat.com>
1929
Ulrich Dreppera38998e2005-08-03 02:05:39 +00001930 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
1931 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
1932 library first.
1933 * asm-tst2.c: Likewise.
1934 * asm-tst3.c: Likewise.
1935 * asm-tst4.c: Likewise.
1936 * asm-tst5.c: Likewise.
1937 * asm-tst6.c: Likewise.
1938 * asm-tst7.c: Likewise.
1939 * asm-tst8.c: Likewise.
1940 * asm-tst9.c: Likewise.
1941
Ulrich Drepper41de4882005-08-03 00:02:56 +00001942 * msg_tst.c: Add new error message.
1943
Ulrich Drepper18618fd2005-07-28 21:29:22 +000019442005-07-28 Ulrich Drepper <drepper@redhat.com>
1945
1946 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
1947
Roland McGrathd17fac72005-08-23 08:20:21 +000019482005-06-01 Roland McGrath <roland@redhat.com>
1949
1950 * line2addr.c: Rewritten using libdwfl.
1951 * run-line2addr.sh: Update test for changed arguments.
1952 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
1953 (libdwfl): New variable.
1954 (line2addr_LDADD): Use it.
1955
Roland McGrath18385902005-07-28 07:12:38 +000019562005-07-28 Roland McGrath <roland@redhat.com>
1957
1958 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
1959 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
1960 (dwflmodtest_LDADD): New variable.
1961 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
1962
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000019632005-07-21 Ulrich Drepper <drepper@redhat.com>
1964
1965 * testfile18.bz2: New file.
1966 * run-elflint-test.sh: New file.
1967 * Makefile.am (TESTS): Add run-elflint-test.sh.
1968 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1969
19702005-05-24 Ulrich Drepper <drepper@redhat.com>
1971
1972 * get-files.c (main): Use correct format specifier.
1973
19742005-05-21 Ulrich Drepper <drepper@redhat.com>
1975
1976 * Makefile.am: Add -Wextra to CFLAGS.
1977 * get-files.c: Remove warning this produced.
1978 * get-pubnames.c: Likewise.
1979 * newfile.c: Likewise.
1980 * newscn.c: Likewise.
1981 * scnnames.c: Likewise.
1982 * showptable.c: Likewise.
1983 * test-nlist.c: Likewise.
1984 * update1.c: Likewise.
1985 * update2.c: Likewise.
1986 * update3.c: Likewise.
1987 * update4.c: Likewise.
1988
19892005-05-08 Ulrich Drepper <drepper@redhat.com>
1990
1991 * run-line2addr.sh: Remove testfile14 at the end.
1992
Ulrich Drepper282bf322005-07-28 21:49:05 +00001993 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001994
1995 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
1996 .bz, not .bz2.
1997
19982005-05-03 Roland McGrath <roland@redhat.com>
1999
2000 * run-strip-test.sh: Use variables for test file names.
2001 Optionally produce separate debug file and check it.
2002 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
2003 * run-strip-test3.sh: Likewise.
2004 * run-strip-test4.sh: New file.
2005 * run-strip-test5.sh: New file.
2006 * run-strip-test6.sh: New file.
2007 * testfile15.bz: New file.
2008 * testfile15.debug.bz: New file.
2009 * testfile16.bz: New file.
2010 * testfile16.debug.bz: New file.
2011 * testfile17.bz: New file.
2012 * testfile17.debug.bz: New file.
2013 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2014
20152005-04-25 Ulrich Drepper <drepper@redhat.com>
2016
2017 * run-line2addr.sh: Also use testfile14. Adjust for correct
2018 return of multiple matches.
2019 * testfile14.bz2: New file.
2020 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
2021
2022 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
2023
Roland McGrath87d47802007-07-16 22:23:37 +000020242005-04-04 Roland McGrath <roland@redhat.com>
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002025
2026 * line2addr.c (main): Initialize LINES and NLINES before calling
2027 dwarf_getsrc_file, and free LINES afterwards.
2028
2029 * allfcts.c (main): Use size_t for CUHL.
2030
20312005-04-04 Ulrich Drepper <drepper@redhat.com>
2032
2033 * line2addr.c: New file.
2034 * run-line2addr.sh: New file.
2035 * Makefile.am: Add rules to build, run, and distribute new code.
2036
20372005-04-02 Ulrich Drepper <drepper@redhat.com>
2038
2039 * allfcts.c: New file.
2040 * run-allfcts.sh: New file.
2041 * Makefile.am: Add rules to build, run, and distribute new code.
2042
20432005-02-05 Ulrich Drepper <drepper@redhat.com>
2044
2045 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
2046 programs with -lmudflap.
2047
20482004-09-25 Ulrich Drepper <drepper@redhat.com>
2049
2050 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
2051 * asm-tst5.c (main): Likewise.
2052 * asm-tst6.c (main): Likewise.
2053
20542004-01-17 Ulrich Drepper <drepper@redhat.com>
2055
2056 * Makefile.am: Support building with mudflap.
2057
20582004-01-12 Ulrich Drepper <drepper@redhat.com>
2059
2060 * get-aranges.c: Rewrite to use libdw.
2061 * Makefile.am: Reenable get-aranges test.
2062
20632004-01-11 Ulrich Drepper <drepper@redhat.com>
2064
2065 * get-lines.c: New file.
2066 * get-files.c: Adjust for libdw.
2067 * run-get-files.sh: Adjust expected result.
2068 * run-get-lines.sh: Likewise.
2069 * Makefile.am: Run get-lines test. Don't run get-aranges and
2070 get-ciefde test for now.
2071
2072 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
2073 change. Print attribute offset information.
2074 * run-show-abbrev.sh: Adjust expected output.
2075
20762004-01-09 Ulrich Drepper <drepper@redhat.com>
2077
2078 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
2079 * show-die-info.c: Likewise.
2080 * run-show-die-info.sh: Adjust expected output.
2081
20822003-08-13 Ulrich Drepper <drepper@redhat.com>
2083
2084 * Makefile.in: Depend on libebl.a, not libebl.so.
2085
20862003-08-11 Ulrich Drepper <drepper@redhat.com>
2087
2088 * Moved to CVS archive.