blob: bb0ad0d4b34a88cd774301922295413125ae9887 [file] [log] [blame]
Mark Wielaard85482fc2014-05-18 22:41:19 +020012014-05-18 Mark Wielaard <mjw@redhat.com>
2
3 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
4 (f): Likewise.
5 * testfile-backtrace-demangle.bz2: Regenerate.
6 * testfile-backtrace-demangle.core.bz2: Likewise.
7
Mark Wielaardbb096d02014-05-03 00:23:06 +020082014-05-02 Mark Wielaard <mjw@redhat.com>
9
10 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
11 run-allfcts-multi.sh are now added unconditionally.
12
Mark Wielaarddf85bf92014-05-01 14:48:27 +0200132014-05-01 Mark Wielaard <mjw@redhat.com>
14
15 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
16 subdir.
17
Mark Wielaardd81d32d2014-04-30 23:00:40 +0200182014-04-30 Mark Wielaard <mjw@redhat.com>
19
20 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
21 * Makefile.am (check_PROGRAMS): Add buildid.
22 (TESTS): Add run-buildid.sh.
23 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
24 (buildid_LDADD): New variable.
25
Florian Weimer4813dbb2014-04-24 14:06:43 +0200262014-04-24 Florian Weimer <fweimer@redhat.com>
27
Florian Weimer22481652014-04-15 16:58:39 +020028 * allfcts.c (setup_alt): New function.
29 (main): Call it. Implementation additional error checking and
30 reporting.
31
322014-04-24 Florian Weimer <fweimer@redhat.com>
33
Florian Weimer4813dbb2014-04-24 14:06:43 +020034 * debugaltlink.c, run-debugaltlink.sh: New files.
35 * Makefile.am (check_PROGRAMS): Add debugaltlink.
36 (TESTS): Add run-debugaltlink.sh.
37 (debugaltlink_LDADD): New variable.
38
Mark Wielaard93802972014-04-11 23:52:47 +0200392014-04-11 Mark Wielaard <mjw@redhat.com>
40
41 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
42 (check_PROGRAMS): Add debuglink.
43 (TESTS): Add run-debuglink.sh
44 (EXTRA_DIST): Likewise.
45 (debuglink_LDADD): New.
46 * debuglink.c: New file.
47 * run-debuglink.sh: Likewise.
48
Mark Wielaardfe4b5fd2014-04-23 09:54:30 +0200492014-03-23 Mark Wielaard <mjw@redhat.com>
50
51 * run-nm-self.sh: Use test = not == for string comparisons.
52
Kurt Roeckx02cefda2014-04-22 21:46:22 +0200532014-04-22 Kurt Roeckx <kurt@roeckx.be>
54
55 * backtrace.c: Make Linux only.
56 * backtrace-child.c: Make Linux only.
57 * backtrace-data.c: Make Linux only.
58 * backtrace-dwarf.c: Make Linux only.
59 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
60
Mark Wielaard32324792014-04-13 17:39:57 +0200612014-03-14 Mark Wielaard <mjw@redhat.com>
62
63 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
64 LDADD lines.
65 * configure.ac: Remove MUDFLAP conditional.
66
Mark Wielaardf7cdc742014-04-09 22:38:07 +0200672014-04-09 Mark Wielaard <mjw@redhat.com>
68
69 * run-readelf-zdebug.sh: New test.
70 * testfile-debug.bz2: New testfile.
71 * testfile-zdebug.bz2: New testfile.
72 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
73 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
74 testfile-zdebug.bz2.
75
Mark Wielaard110c2732014-04-10 15:02:53 +0200762014-04-10 Mark Wielaard <mjw@redhat.com>
77
78 * testfile_i686_core.bz2: New test file.
79 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
80 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
81
Mark Wielaard66637fa2014-04-09 11:48:23 +0200822014-04-09 Mark Wielaard <mjw@redhat.com>
83
84 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
85 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
86 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
87 * run-backtrace-core-aarch64.sh: New test.
88
Josh Stone51fff302014-03-11 18:13:55 -0700892014-03-11 Josh Stone <jistone@redhat.com>
90
91 * testfilebaxmin.bz2: New testfile.
92 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
93 * run-readelf-s.sh: Test testfilebaxmin.
94 * run-dwflsyms.sh: Likewise.
95
Mark Wielaard225dddf2014-01-26 20:16:48 +0100962014-01-26 Mark Wielaard <mjw@redhat.com>
97
98 * backtrace-subr.sh (check_unsupported): Special case arm*.
99
Mark Wielaarda02d90a2014-01-25 14:32:42 +01001002014-01-25 Mark Wielaard <mjw@redhat.com>
101
102 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
103 location expression: call_frame_cfa stack_value.
104
Mark Wielaardf48eb6b2014-01-23 00:56:41 +01001052014-01-22 Mark Wielaard <mjw@redhat.com>
106
107 * Makefile.am (line2addr_no_Wformat): Removed.
108
Mark Wielaard13968d92014-01-21 16:13:49 +01001092014-01-21 Mark Wielaard <mjw@redhat.com>
110
111 * Makefile.am (TESTS): Add run-stack-i-test.sh.
112 (EXTRA_DIST): Likewise.
113 * run-stack-i-test.sh: New test.
114
Mark Wielaard531a30a2014-01-20 23:09:26 +01001152014-01-20 Mark Wielaard <mjw@redhat.com>
116
117 * Makefile.am (TESTS): Add run-stack-d-test.sh.
118 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
119 testfiledwarfinlines.core.bz2.
120 * run-stack-d-test.sh: New test.
121 * testfiledwarfinlines.bz2: New test file.
122 * testfiledwarfinlines.core.bz2: Likewise.
123
Mark Wielaardd7cffa72014-01-16 09:45:51 +01001242014-01-16 Mark Wielaard <mjw@redhat.com>
125
Mark Wielaardc80375d2014-01-16 13:48:24 +0100126 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
127 on one ET_REL, one ET_EXEC and one ET_DYN file.
128 * test-subr.sh (self_test_files): Add two ET_REL files, only add
129 two libebl ET_DYN backend files.
130
1312014-01-16 Mark Wielaard <mjw@redhat.com>
132
Mark Wielaardd7cffa72014-01-16 09:45:51 +0100133 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
134
Jan Kratochvil435808a2014-01-18 21:56:13 +01001352014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
136
137 Fix false FAILs on testsuite with ulimit -c unlimited.
138 * backtrace-child.c (sigusr2): Call pthread_exit.
139 (main): Return, do not call abort.
140
Jan Kratochvil7c6e7852014-01-15 21:16:57 +01001412014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
142
143 Fix corruption of non-C++ symbols by the demangler.
144 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
145 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
146 (EXTRA_DIST): Add run-backtrace-demangle.sh,
147 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
148 testfile-backtrace-demangle.core.bz2.
149 * backtrace-demangle.cc: New file.
150 * run-backtrace-demangle.sh: New file.
151 * testfile-backtrace-demangle.bz2: New file.
152 * testfile-backtrace-demangle.cc: New file.
153 * testfile-backtrace-demangle.core.bz2: New file.
154
Matthias Klosee922ec42014-01-07 10:25:29 +01001552014-01-07 Matthias Klose <doko@ubuntu.com>
156
157 * backtrace-subr.sh (check_native_core): Check to see if core file
158 was created without ".PID" extension, if so mv core to core.PID.
159 Skip test if no core file was created or could be found.
160
Mark Wielaard4f1c96d2014-01-04 14:24:58 +01001612014-01-04 Mark Wielaard <mjw@redhat.com>
162
Mark Wielaard70c3a532014-01-04 23:28:33 +0100163 * backtrace-data.c (main): Don't assert if raise returns.
164 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
165 assume_ptrace_attached true.
166 (ptrace_detach_stopped): Removed function.
167 (main): Don't call ptrace_detach_stopped.
168 * backtrace.c (ptrace_detach_stopped): Removed function.
169 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
170 true.
171 (exec_dump): Don't call ptrace_detach_stopped.
172
1732014-01-04 Mark Wielaard <mjw@redhat.com>
174
Mark Wielaard1051a0c2014-01-04 15:41:04 +0100175 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
176 if we cannot adjust core ulimit.
177
1782014-01-04 Mark Wielaard <mjw@redhat.com>
179
Mark Wielaard4f1c96d2014-01-04 14:24:58 +0100180 * cleanup-13.c (force_unwind_stop): Removed.
181 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
182 don't call _Unwind_ForcedUnwind.
183
Mark Wielaardb92af192014-01-03 18:15:02 +01001842014-01-03 Mark Wielaard <mjw@redhat.com>
185
186 * run-addrcfi.sh: Add case for EM_AARCH64.
187 * testfileaarch64.bz2: New testfile.
188 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
189
Mark Wielaard19108012013-12-30 22:00:57 +01001902013-12-30 Mark Wielaard <mjw@redhat.com>
191
192 * backtrace-dwarf.c (report_pid): Explicitly call
193 dwfl_linux_proc_attach and check for errors.
194 * backtrace.c (report_pid): Likewise.
195
Mark Wielaardb6ef1ce2013-12-21 19:39:19 +01001962013-12-21 Mark Wielaard <mjw@redhat.com>
197
198 * backtrace.c (callback_verify): Only assert that case 5 is the last
199 instruction of backtracegen on x86_64 native.
200
Jan Kratochvilc6a41482013-12-17 18:49:54 +01002012013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Mark Wielaard159ac522013-12-18 11:05:54 +0100202 Mark Wielaard <mjw@redhat.com>
203
204 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
205 and testfilebaz*ppc64*.bz2 files.
206 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
207 error on dwfl_module_getsymtab error.
208 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
209 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
210 Also print section of actual value if different from sym.
211 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
212 Test addr2line -x by showing different sections for address and
213 found name in testfile66.
214 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
215 testfilebaz*ppc64): New tests.
216 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
217 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
218 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
219 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
220 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
221 testfilebaztabppc64.bz2: New test files.
222
2232013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvilc6a41482013-12-17 18:49:54 +0100224
225 unwinder: s390 and s390x
226 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
227 run-backtrace-core-s390.sh.
228 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
229 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
230 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
231 * backtrace.s390.core.bz2: New file.
232 * backtrace.s390.exec.bz2: New file.
233 * backtrace.s390x.core.bz2: New file.
234 * backtrace.s390x.exec.bz2: New file.
235 * run-backtrace-core-s390.sh: New file.
236 * run-backtrace-core-s390x.sh: New file.
237
Jan Kratochvilb3c810f2013-12-17 21:11:48 +01002382013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
239
240 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
241 code.
242
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +01002432013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
244
245 unwinder: ppc
246 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
247 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
248 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
249 * backtrace.ppc.core.bz2: New file.
250 * backtrace.ppc.exec.bz2: New file.
251 * run-backtrace-core-ppc.sh: New file.
252
Mark Wielaard7fc49292013-12-13 22:42:46 +01002532013-12-10 Mark Wielaard <mjw@redhat.com>
254
Mark Wielaard63572f42013-12-13 23:12:18 +0100255 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
256
2572013-12-10 Mark Wielaard <mjw@redhat.com>
258
Mark Wielaard7fc49292013-12-13 22:42:46 +0100259 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
260 * backtrace-subr.sh (check_native_core): Disable valgrind while
261 dumping core.
262 * run-backtrace-data.sh: Disable valgrind.
263 * run-backtrace-dwarf.sh: Likewise.
264
Mark Wielaard3951f2e2013-12-09 16:33:26 +01002652013-12-09 Mark Wielaard <mjw@redhat.com>
266
267 * varlocs.c (print_expr): Update comment to explain empty location
268 associated with DW_OP_GNU_implicit_pointer.
269
Jan Kratochvilf88863f2013-12-05 16:16:14 +01002702013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
271
272 Fix test FAIL with -O2.
273 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
274
Mark Wielaard813aae02013-12-05 15:26:51 +01002752013-12-05 Mark Wielaard <mjw@redhat.com>
276
277 * backtrace-data.c (main): If unsupported also print to stderr.
278 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
279
Mark Wielaard1bfab192013-12-04 20:55:23 +01002802013-12-04 Mark Wielaard <mjw@redhat.com>
281
282 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
283
Jan Kratochvil8ae9bc92013-12-02 20:54:28 +01002842013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
285
286 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
287 backtrace-data and backtrace-dwarf.
288 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
289 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
290 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
291 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
292 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
293 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
294 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
295 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
296 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
297 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
298 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
299 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
300 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
301 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
302 New.
303 * backtrace-child.c: New file.
304 * backtrace-data.c: New file.
305 * backtrace-dwarf.c: New file.
306 * backtrace-subr.sh: New file.
307 * backtrace.c: New file.
308 * cleanup-13.c: New file.
309 * backtrace.i386.core.bz2: New file.
310 * backtrace.i386.exec.bz2: New file.
311 * backtrace.x86_64.core.bz2: New file.
312 * backtrace.x86_64.exec.bz2: New file.
313 * run-backtrace-core-i386.sh: New file.
314 * run-backtrace-core-x86_64.sh: New file.
315 * run-backtrace-native-biarch.sh: New file.
316 * run-backtrace-native-core-biarch.sh: New file.
317 * run-backtrace-native-core.sh: New file.
318 * run-backtrace-native.sh: New file.
319 * run-backtrace-data.sh: New file.
320 * run-backtrace-dwarf.sh: New file.
321
Mark Wielaard819c3492013-11-27 16:45:44 +01003222013-11-27 Mark Wielaard <mjw@redhat.com>
323
324 * dwflsyms.c (gelf_bind_order): New function.
325 (elf_section_name): Likewise.
326 (addr_in_section): Likewise.
327 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
328 Refine assert using gelf_bind_order. Print elf_section_name. Check
329 bias with addr_in_section.
330 * run-dwflsyms.sh: Add section names to expected output.
331
Mark Wielaard0d5a8672013-11-26 10:44:18 +01003322013-11-26 Mark Wielaard <mjw@redhat.com>
333
334 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
335
Petr Machata98c8a732013-11-26 03:10:31 +01003362013-11-25 Petr Machata <pmachata@redhat.com>
337
338 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
339 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
340 * Makefile.am (EXTRA_DIST): Add these.
341 (TESTS): Add run-funcretval.sh.
342 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
343 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
344 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
345 * run-funcretval.sh: New file.
346
Josh Stonedb35c872013-11-18 14:29:35 -08003472013-11-18 Josh Stone <jistone@redhat.com>
348
349 * testfilebazdbg_plr.bz2: New testfile.
350 * testfilebazmin_plr.bz2: Likewise.
351 * Makefile.am (EXTRA_DIST): Add the above files.
352 * run-dwflsyms.sh: Add prelink -r tests.
353
Mark Wielaard68ce4fc2013-11-16 00:11:38 +01003542013-11-15 Mark Wielaard <mjw@redhat.com>
355
356 * testfilebazmdb.bz2: Regenerated.
357 * testfilebazmin.bz2: Likewise.
358 * testfilebazdbg_pl.bz2: New testfile.
359 * testfilebazmin_pl.bz2: Likewise.
360 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
361 testfilebazmin_pl.bz2.
362 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
363 print relative address of function symbols.
364 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
365
Michael Forneya45c8042013-11-01 00:51:04 -07003662013-11-01 Michael Forney <mforney@mforney.org>
367
368 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
369 * run-arsymtest.sh: Use NM.
370
Mark Wielaardd8c75df2013-11-05 11:27:19 +01003712013-11-05 Mark Wielaard <mjw@redhat.com>
372
373 * allfcts.c (main): Correct dwarf_getfuncs return value check.
374
Mark Wielaarde6a9bb82013-10-10 11:40:12 +02003752013-10-10 Mark Wielaard <mjw@redhat.com>
376 Josh Stone <jistone@redhat.com>
377
378 * run-allfcts-multi.sh: New test.
379 * test-offset-loop.bz2: New testfile.
380 * test-offset-loop.alt.bz2: New testfile.
381 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
382 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
383 test-offset-loop.alt.bz2.
384
Mark Wielaardd1829742013-10-15 23:53:32 +02003852013-10-15 Mark Wielaard <mjw@redhat.com>
386
387 * run-unstrip-M.sh: New test.
388 * Makefile.am (TESTS): Add run-unstrip-M.sh.
389 (EXTRA_DIST): Likewise.
390
Mark Wielaard3dec3e12013-10-06 17:04:07 +02003912013-10-06 Mark Wielaard <mjw@redhat.com>
392
393 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
394 location expression.
395
Josh Stone5dbbc5e2013-10-03 12:38:25 -07003962013-10-03 Josh Stone <jistone@redhat.com>
397
398 * typeiter2.c: New file, reversing typeiter.c.
399 * run-typeiter.sh: Also run typeiter2.
Mark Wielaardd1829742013-10-15 23:53:32 +0200400 * Makefile.am (check_PROGRAMS): Add typeiter2.
Josh Stone5dbbc5e2013-10-03 12:38:25 -0700401 (typeiter2_LDADD): New variable.
402
Petr Machataab224102013-09-26 00:39:34 +02004032013-09-26 Petr Machata <pmachata@redhat.com>
404
Petr Machata0c9ae0c2013-09-26 21:02:22 +0200405 * run-readelf-mixed-corenote.sh: Update output of testfile71
406 dump--readelf can newly decode the NT_FILE note.
407
4082013-09-26 Petr Machata <pmachata@redhat.com>
409
Petr Machataab224102013-09-26 00:39:34 +0200410 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
411 * run-readelf-mixed-corenote.sh: New test for this file.
412 * testfile71.bz2: New file.
413
Mark Wielaard1b734df2013-09-20 09:50:42 -04004142013-09-20 Mark Wielaard <mjw@redhat.com>
415
416 * allfcts.c (cb): Return DWARF_CB_ABORT.
417 (main): Iterate over all offsets returned by dwarf_getfuncs.
418 * run-allfcts.sh: Add nested_funcs and class_func testcases.
419 * testfile_nested_funcs.bz2: New test file.
420 * testfile_class_func.bz2: Likewise.
421 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
422 testfile_nested_funcs.bz2.
423
Mark Wielaard6e6e54e2013-08-31 00:52:12 +02004242013-08-30 Mark Wielaard <mjw@redhat.com>
425
426 * Makefile.am (check_PROGRAMS): Add varlocs.
427 (TESTS): Add run-varlocs.sh.
428 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
429 testfile_const_type.bz2, testfile_implicit_pointer.c,
430 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
431 testfile_entry_value.c, testfile_entry_value.bz2,
432 testfile_implicit_value.c and testfile_implicit_value.bz2.
433 (varlocs_LDADD): New.
434 * run-varlocs: New test.
435 * testfile_const_type.c: New test source file.
436 * testfile_entry_value.c: Likewise.
437 * testfile_implicit_pointer.c: Likewise.
438 * testfile_implicit_value.c: Likewise.
439 * testfile_parameter_ref.c: Likewise.
440 * testfile_const_type.bz2: New test file.
441 * testfile_entry_value.bz2: Likewise.
442 * testfile_implicit_pointer.bz2: Likewise.
443 * testfile_implicit_value.bz2: Likewise.
444 * testfile_parameter_ref.bz2: Likewise.
445 * varlocs.c: New test source.
446
Mark Wielaard92e47d62013-09-02 16:46:50 +02004472013-08-29 Mark Wielaard <mjw@redhat.com>
448
449 * run-addrcfi.sh: Add case for EM_ARM.
450 * testfilearm.bz2: New testfile.
451 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
452
Mark Wielaardd3f16452013-08-28 18:10:44 +02004532013-08-28 Mark Wielaard <mjw@redhat.com>
454
Mark Wielaard79b91812013-08-28 21:54:58 +0200455 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
456 completely missing.
457 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
458 * testfiles390.bz2: New testfile.
459 * testfiles390x.bz2: Likewise.
460 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
461 testfiles390x.bz2.
462
4632013-08-28 Mark Wielaard <mjw@redhat.com>
464
Mark Wielaardd3f16452013-08-28 18:10:44 +0200465 * addrcfi.c (handle_cfi): Use printf not error.
466 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
467 * testfileppc32.bz2: New testfile.
468 * testfileppc64.bz2: Likewise.
469 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
470 testfileppc64.bz2.
471
Mark Wielaard292b1782013-08-27 15:40:56 +02004722013-08-27 Mark Wielaard <mjw@redhat.com>
473
474 * run-addrcfi.sh: New test.
475 * Makefile.am (TESTS): Add run-addrcfi.sh.
476 (EXTRA_DIST): Likewise.
477 * addrcfi.c (op_name): New function.
478 (print_detail): Call and print op_name. Check ops, not result
479 to check if this is "same value" or "undefined".
480 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
481
Mark Wielaard4b9e6392013-08-13 11:40:21 +02004822013-08-13 Mark Wielaard <mjw@redhat.com>
483
484 * run-addr2line-i-test.sh: New test.
485 * testfile-inlines.bz2: New testfile.
486 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
487 testfile-inlines.bz2.
488 (TESTS): Add run-addr2line-i-test.sh.
489
Mark Wielaardd0f85012013-08-12 14:21:31 +02004902013-08-12 Mark Wielaard <mjw@redhat.com>
491
492 * run-addr2line-test.sh: New test.
493 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
494 (TESTS): Likewise.
495
Jan Kratochvil596d4302013-07-23 16:30:01 +02004962013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
497
498 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
499 the entries.
500
Mark Wielaard263d7ee2013-07-02 16:16:58 +02005012013-07-02 Mark Wielaard <mjw@redhat.com>
502
503 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
504 testfilenolines.bz2.
505
Jan Kratochvil8ff86292013-05-30 13:21:20 +02005062013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
507
508 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
509 test-core.core.bz2 and test-core.exec.bz2.
510 * run-addrname-test.sh: New test for these files.
511 * run-unstrip-n.sh: Update expected output. New test for these files.
512 * test-core-lib.so.bz2: New file.
513 * test-core.core.bz2: New file.
514 * test-core.exec.bz2: New file.
515
Mark Wielaard9affad32013-05-03 11:28:49 +02005162013-05-03 Mark Wielaard <mjw@redhat.com>
517
518 * testfilenolines.bz2: New test file.
519 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
520 * run-get-lines.sh: Run testrun_compare on testfilenolines.
521
Jan Kratochvil904aec22013-04-30 14:27:16 +02005222013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
523
524 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
525
Mark Wielaard807ea312013-04-29 20:48:36 +02005262013-04-29 Mark Wielaard <mjw@redhat.com>
527
528 * test-subr.sh: Don't use pushd, just cd into test-dir.
529 (exit_cleanup): Don't use popd, just cd .. to get out.
530
Mark Wielaarda6098312013-04-26 21:21:56 +02005312013-04-27 Mark Wielaard <mjw@redhat.com>
532
Mark Wielaard527e21e2013-04-27 23:15:44 +0200533 * test-subr.sh (exit_cleanup): New function.
534 (trap): Use exit_cleanup as argument.
535 * run-native-test.sh (native_exit): New function.
536 (trap): For EXIT (0) use native_exit as argument.
537
5382013-04-27 Mark Wielaard <mjw@redhat.com>
539
Mark Wielaardb0f202e2013-04-28 00:54:17 +0200540 * update1.c (main): Use unique tempfile name and unlink file.
541 * update2.c (main): Likewise.
542 * update3.c (main): Likewise.
543 * update4.c (main): Use unique tempfile name.
544
5452013-04-27 Mark Wielaard <mjw@redhat.com>
546
Mark Wielaarda6098312013-04-26 21:21:56 +0200547 * run-alldts.sh: Add testfile-alldts to tempfiles.
548 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
549 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
550 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
551 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
552
Mark Wielaard86be7922013-04-26 23:44:25 +02005532013-04-26 Mark Wielaard <mjw@redhat.com>
554
555 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
556 remove wrapper.
557 (TESTS_ENVIRONMENT): Likewise.
558 (installed_LOG_COMPILER): New variable defining wrapper.
559 (LOG_COMPILER): Likewise.
560 * run-*.sh: Fixup location of input and output files.
561 * test-subr.sh: Create test_dir, pushd to execute test in.
562 (trap): Remove test_dir.
563 (testfiles): Use abs_srcdir.
564 (installed_testrun): Match on abs_builddir or abs_top_builddir.
565 (self_test_files): Adjust path.
566
Mark Wielaardcdaaf212013-04-25 16:50:11 -04005672013-04-24 Mark Wielaard <mjw@redhat.com>
568
569 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
570
Mark Wielaarda8c7f052013-03-25 21:11:53 +01005712013-03-25 Mark Wielaard <mjw@redhat.com>
572
Mark Wielaardb79788c2013-03-25 11:45:22 +0100573 * run-readelf-aranges.sh: New test.
574 * testfilefoobarbaz.bz2: New test file.
575 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
576 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
577
5782013-03-25 Mark Wielaard <mjw@redhat.com>
579
Mark Wielaarda8c7f052013-03-25 21:11:53 +0100580 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
581
Jan Kratochvila1d44822013-03-19 13:40:13 +01005822013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
583
584 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
585 (TESTS): Add run-dwfl-report-elf-align.sh.
586 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
587 testfile-dwfl-report-elf-align-shlib.so.bz2 .
588 (dwfl_report_elf_align_LDADD): New.
589 * dwfl-report-elf-align.c: New file.
590 * run-dwfl-report-elf-align.sh: New file.
591 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
592
Mark Wielaardf1b06b52013-03-12 12:02:51 +01005932013-03-12 Mark Wielaard <mjw@redhat.com>
594
595 * run-dwfllines.sh: New test.
596 * dwfllines.c: New test program.
597 * Makefile.am (TESTS): Add run-dwfllines.sh.
598 (EXTRA_DIST): Likewise.
599 (dwfllines_LDADD): New variable.
600
Mark Wielaardf6185a72013-02-22 23:42:59 +01006012013-02-22 Mark Wielaard <mjw@redhat.com>
602
603 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
604 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
605
Mark Wielaard443304e2013-02-15 22:45:22 +01006062013-02-15 Mark Wielaard <mjw@redhat.com>
607
608 * testfile-dwzstr.bz2: New testfile.
609 * testfile-dwzstr.multi.bz2: Likewise.
610 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
611 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
612 testfile-dwzstr.multi.bz2.
613
Mark Wielaard6c4b2072013-01-30 11:04:38 +01006142013-01-30 Mark Wielaard <mjw@redhat.com>
615
616 * testfileloc.bz2: New testfile.
617 * run-readelf-loc.sh: New test.
618 * Makefile.am (TESTS): Add run-readelf-loc.sh.
619 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
620
Jan Kratochvilcc84d792012-10-10 19:32:05 +02006212013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
622
623 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
624 and s390x core notes.
625 * testfile67.bz2: New file.
626 * testfile68.bz2: New file.
627 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
628
Mark Wielaard697bdca2013-01-23 17:39:19 +01006292013-01-23 Mark Wielaard <mjw@redhat.com>
630
631 * testfilebasmin.bz2: New testfile.
632 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
633 * run-readelf-s.sh: Test testfilebasmin.
634 * run-dwflsyms.sh: Likewise.
635
Mark Wielaard9a91fb22013-01-16 15:19:40 +01006362013-01-16 Mark Wielaard <mjw@redhat.com>
637
638 * Makefile.am (check_PROGRAMS): Add dwflsyms.
639 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
640 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
641 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
642 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
643 (dwflsyms_LDADD): New variable.
644
Roland McGrath3f9256d2013-01-07 15:13:46 -08006452013-01-07 Roland McGrath <roland@hack.frob.com>
646
647 * run-prelink-addr-test.sh: Use ln -snf.
648
Mark Wielaard1d6a4352012-12-03 17:01:09 +01006492012-12-03 Mark Wielaard <mjw@redhat.com>
650
651 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
652
Jan Kratochvild5784af2012-10-18 00:11:30 +02006532012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
654
655 * run-addrname-test.sh: New test for PIE relocation.
656 * testfile70.core.bz2: New file.
657 * testfile70.exec.bz2: New file.
658 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
659 testfile70.exec.bz2 .
660
Jan Kratochvild7ed0252012-10-27 21:31:58 +02006612012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
662
663 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
664 testfile69.core.bz2 and testfile69.so.bz2 .
665
Jan Kratochvil3fdcdcb2012-10-17 21:49:10 +02006662012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
667
668 * run-addrname-test.sh: New test for DSO with build-id bias.
669 * testfile69.core.bz2: New file.
670 * testfile69.so.bz2: New file.
671
Jan Kratochvil78dec222012-10-10 08:04:01 +02006722012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
673
Jan Kratochvil387654d2012-10-10 08:08:44 +0200674 * run-addrname-test.sh: New test for core vDSO bias.
675 * testfile65.bz2: New file.
676
6772012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
678
Jan Kratochvil78dec222012-10-10 08:04:01 +0200679 * run-addrname-test.sh: New test for symbol preferences.
680 * testfile64.bz2: New file.
681
Mark Wielaarde3e3ee22012-10-01 16:14:12 +02006822012-10-01 Mark Wielaard <mjw@redhat.com>
683
684 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
685 * test-wrapper.sh: Export VALGRIND_CMD if available.
686 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
687 (installed_testrun): Likewise.
688
Petr Machataae7c5e72012-09-24 16:16:27 +02006892012-09-24 Petr Machata <pmachata@redhat.com>
690
Petr Machata522a73f2012-09-24 16:46:52 +0200691 * testfile63.bz2: New testfile.
692 * run-readelf-mixed-corenote.sh: New test.
693 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
694 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
695
6962012-09-24 Petr Machata <pmachata@redhat.com>
697
Petr Machataae7c5e72012-09-24 16:16:27 +0200698 * testfile62.bz2: New testfile.
699 * run-readelf-vmcoreinfo.sh: New test.
700 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
701 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
702
Petr Machata3662ad12012-09-18 21:35:19 +02007032012-09-18 Petr Machata <pmachata@redhat.com>
704
705 * testfile61.bz2: New testfile.
706 * run-allregs.sh: Run reg_test testfile61.
707 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
708
Mark Wielaarde0ebc5a2012-08-24 14:51:37 +02007092012-08-24 Mark Wielaard <mjw@redhat.com>
710
711 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
712
Jeff Kenton257dcf42012-08-22 09:00:03 -04007132012-08-22 Jeff Kenton <jkenton@tilera.com>
714
715 * testfile60.bz2: New testfile.
716 * run-allregs.sh: Run reg_test testfile60.
717
Mark Wielaardf5519fc2012-08-24 13:54:52 +02007182012-08-24 Mark Wielaard <mjw@redhat.com>
719
720 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
721 ENABLE_DWZ.
722
Mark Wielaardf31c4412012-08-17 00:35:03 +02007232012-08-16 Mark Wielaard <mjw@redhat.com>
724
725 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
726 macros.
727 * show-die-info.c (tagnames): Removed.
728 (attrs): Removed.
729 (dwarf_tag_string): New function using known-dwarf macros.
730 (dwarf_attr_string): Likewise.
731 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
732 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
733
Mark Wielaard775375e2012-06-22 12:02:45 +02007342012-06-27 Mark Wielaard <mjw@redhat.com>
735
736 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
737 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
738 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
739 testfile_multi_main.bz2.
740 * run-readelf-dwz-multi.sh: New test.
741 * libtestfile_multi_shared.so.bz2: New testfile.
742 * testfile_multi.dwz.bz2: New testifle.
743 * testfile_multi_main.bz2: New testifle.
744
Petr Machata30a941c2012-08-01 21:41:36 +02007452012-08-01 Petr Machata <pmachata@redhat.com>
746
747 * run-test-archive64.sh: New test.
748 * testarchive64.a.bz2: New testfile.
749 * Makefile.am (TESTS): Add run-test-archive64.sh.
750 (EXTRA_DIST): Likewise.
751
Mark Wielaard94e387f2012-08-01 15:31:12 +02007522012-08-01 Mark Wielaard <mjw@redhat.com>
753
Mark Wielaardbf707b52012-08-01 15:39:11 +0200754 * run-nm-self.sh: New test.
755 * run-readelf-self.sh: Likewise.
756 * test-subr.sh (testrun_on_self_quiet): New function.
757 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
758 (EXTRA_DIST): Likewise.
759
7602012-08-01 Mark Wielaard <mjw@redhat.com>
761
Mark Wielaard94e387f2012-08-01 15:31:12 +0200762 * test-subr.sh (self_test_files): New list of files.
763 (testrun_on_self): New function.
764 * run-elflint-self.sh: Use testrun_on_self.
765
Mark Wielaard714ea0e2012-07-19 13:07:39 +02007662012-07-19 Mark Wielaard <mjw@redhat.com>
767
Mark Wielaard030f6262012-07-18 13:14:30 +0200768 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
769 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
770 (EXTRA_DIST): Likewise.
771 (test_elf_cntl_gelf_getshdr_LDADD): New.
772 test-elf_cntl_gelf_getshdr.c: New test program.
773 run-elf_cntl_gelf_getshdr.sh: New test script.
774
7752012-07-19 Mark Wielaard <mjw@redhat.com>
776
Mark Wielaardadcd1dd2012-07-19 22:59:18 +0200777 * run-elflint-self.sh: runtests on ../backends/*so files.
778
7792012-07-19 Mark Wielaard <mjw@redhat.com>
780
Mark Wielaard714ea0e2012-07-19 13:07:39 +0200781 * run-unstrip-n.sh: test_cleanup.
782 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
783
Mark Wielaarde9b23882012-06-29 22:30:15 +02007842012-07-11 Mark Wielaard <mjw@redhat.com>
785
786 * run-readelf-macro.sh: New test.
787 * testfilemacro.bz2: New testfile.
788 * Makefile.am (TESTS): Add run-readelf-macro.sh.
789 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
790
Mark Wielaard84a1e0b2012-06-29 23:38:09 +02007912012-06-27 Mark Wielaard <mjw@redhat.com>
792
793 * run-readelf-gdb-index.sh: New test.
794 * testfilegdbindex5.bz2: New testfile.
795 * testfilegdbindex7.bz2: Likewise.
796 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
797 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
798 testfilegdbindex7.bz2.
799
Mark Wielaard97212fe2012-07-17 21:12:39 +02008002012-07-17 Mark Wielaard <mjw@redhat.com>
801
802 * testcore-rtlib-ppc.bz2: New testfile.
803 * run-unstrip-n.sh: Check new ppc core testfile.
804
Mike Frysingerc09c5f32012-06-26 12:07:44 -04008052012-06-26 Mike Frysinger <vapier@gentoo.org>
806
807 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
808
Mark Wielaarda0172d72012-06-25 17:18:53 +02008092012-06-26 Mark Wielaard <mjw@redhat.com>
810
811 * run-macro-test.sh: New test.
812 * testfile-macinfo.bz2: New testfile.
813 * testfile-macros.bz2: Likewise.
814
Mark Wielaard547049b2012-06-22 18:19:02 +02008152012-05-07 Mark Wielaard <mjw@redhat.com>
816
817 * low_high_pc.c: Use proper inttypes in printf formats.
818
Mark Wielaarddbbc67a2012-05-11 12:57:57 +02008192012-05-11 Mark Wielaard <mjw@redhat.com>
820
821 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
822
Mark Wielaardd9bc75f2012-05-07 13:29:52 +02008232012-05-07 Mark Wielaard <mjw@redhat.com>
824
825 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
826
Mark Wielaard54797252012-04-27 13:00:50 +02008272012-04-27 Mark Wielaard <mjw@redhat.com>
828
829 * Makefile.am (TESTS): Add run-low_high_pc.sh
830 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
831 (noinst_PROGRAMS): Add low_high_pc.
832 (low_high_pc_LDADD): New variable.
833 * low_high_pc.c: New test.
834
Mark Wielaardbdad8e32012-04-26 12:24:33 +02008352012-04-26 Mark Wielaard <mjw@redhat.com>
836
837 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
838 * run-show-ciefde.sh: Removed old libdwarf test.
839 * show-ciefde.c: Likewise.
840
Mark Wielaard191d1f02012-04-02 17:11:25 +02008412012-04-02 Mark Wielaard <mjw@redhat.com>
842
Mark Wielaard96a52132012-04-03 00:21:50 +0200843 * Makefile.am (TESTS): Add run-unstrip-n.sh.
844 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
845 * run-unstrip-n.sh: New test.
846 * testcore-rtlib.bz2: New testfile.
847
8482012-04-02 Mark Wielaard <mjw@redhat.com>
849
Mark Wielaard191d1f02012-04-02 17:11:25 +0200850 * Makefile.am (TESTS): Add run-readelf-d.sh.
851 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
852 * run-readelf-d.sh: New test.
853 * run-elflint-test.sh: Check new testfile.
854
Tom Tromey581c3f62012-03-21 08:54:32 -06008552012-03-21 Tom Tromey <tromey@redhat.com>
856
857 * typeiter.c: New file.
858 * run-typeiter.sh: New file.
859 * testfile59.bz2: New file.
860 * Makefile.am (noinst_PROGRAMS): Add typeiter.
861 (TESTS): Add run-typeiter.sh.
862 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
863 (typeiter_LDADD): New variable.
864
Kurt Roeckx5a8e39a2012-02-24 23:40:32 +01008652012-02-21 Kurt Roeckx <kurt@roeckx.be>
866
867 * run-alldts.sh: testrun ./alldts.
868
Roland McGrathe3b15682012-02-21 11:12:46 -08008692012-02-21 Roland McGrath <roland@hack.frob.com>
870
871 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
Roland McGrathc1c6a9d2012-02-21 12:51:36 -0800872 * test-subr.sh (installed_testrun): Likewise.
Roland McGrathe3b15682012-02-21 11:12:46 -0800873
Roland McGrathb8ff18e2012-01-18 13:57:08 -08008742012-01-18 Roland McGrath <roland@hack.frob.com>
875
876 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
877 it will have been inherited correctly from the test harness.
878 * asm-tst5.c (main): Likewise.
879 * asm-tst6.c (main): Likewise.
880 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
881
Roland McGrath32899ac2011-07-09 03:17:24 -07008822011-07-09 Roland McGrath <roland@hack.frob.com>
883
884 * sha1-tst.c: File removed.
885 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
886 (sha1_tst_LDADD): Variable removed.
887
888 * md5-sha1-test.c: New file.
889 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
890 (md5_sha1_test_LDADD): New variable.
891
Mark Wielaard3f2290b2011-05-30 15:46:32 +02008922011-05-30 Mark Wielaard <mjw@redhat.com>
893
894 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
895 run-rerequest_tag.sh
896
Mark Wielaard20a217d2011-05-24 14:30:40 +02008972011-05-24 Mark Wielaard <mjw@redhat.com>
898
899 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
900 * run-strip-reloc.sh: Add hello_s390.ko testcase.
901 * hello_s390.ko.bz2: New test file.
902
Mark Wielaard1662bc32011-05-16 11:33:11 +02009032011-05-23 Mark Wielaard <mjw@redhat.com>
904
905 * Makefile.am (TESTS): Add run-strip-reloc.sh.
906 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
907 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
908 * run-strip-reloc.sh: New test.
909 * hello_i386.ko.bz2: New test file.
910 * hello_x86_64.ko.bz2: Likewise.
911 * hello_ppc64.ko.bz2: Likewise.
912
Mark Wielaard7a125b92011-05-17 12:20:01 +02009132011-05-18 Mark Wielaard <mjw@redhat.com>
914
915 * run-strip-groups.sh: New test.
916 * testfile58.bz2: New test file.
917 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
918 (TESTS): Add run-strip-groups.sh.
919 (EXTRA_DIST): Likewise.
920
Marek Polacek494275c2011-03-28 16:00:38 +02009212011-03-28 Marek Polacek <mpolacek@redhat.com>
922
923 * alldts.c: New file.
924 * run-alldts.sh: Use it.
925 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
926 (alldts_LDADD): New variable.
927
9282011-03-02 Marek Polacek <mpolacek@redhat.com>
Marek Polacek48942212011-03-07 11:16:50 -0800929
930 * dwarf-getstring.c: New test.
931 * run-dwarf-getstring.sh: And its wrapper.
932 * Makefile.am (EXTRA_DIST): Add and update all.
933
Jan Kratochvilfec39992011-02-27 12:01:25 -08009342011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
935
936 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
937 * run-readelf-twofiles.sh: New file.
938
Mark Wielaard58cfa1c2011-02-25 20:17:52 +01009392011-02-25 Mark Wielaard <mjw@redhat.com>
940
941 * Makefile.am (BUILD_RPATH): Be consistent in naming.
942
Josh Stonedc34eda2011-02-02 16:30:01 -08009432011-02-02 Josh Stone <jistone@redhat.com>
944
945 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
946 * testfile55-64.bz2, testfile55-64.debug.bz2,
947 testfile55-64.prelink.bz2, testfile55-32.bz2,
948 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
949 * Makefile.am (EXTRA_DIST): Add and update all.
950
Roland McGrath32520bd2011-01-12 10:43:32 -08009512011-01-12 Roland McGrath <roland@redhat.com>
952
953 * run-prelink-addr-test.sh: Make symlinks to find .debug files
Roland McGrath4f6d4e12011-01-12 10:49:40 -0800954 corresponding to .noshdrs files.
Roland McGrath32520bd2011-01-12 10:43:32 -0800955
Josh Stoned41d9a62011-01-11 19:16:57 -08009562011-01-11 Josh Stone <jistone@redhat.com>
957
Josh Stoneccbccef2011-01-11 19:16:59 -0800958 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
959 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
960 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
961 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
962 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
963 * Makefile.am (EXTRA_DIST): Add and update all.
964
Josh Stonecf514712011-01-11 19:16:58 -0800965 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
966 * testfile53.bz2, testfile53.debug.bz2,
967 testfile53.prelink.bz2: Deleted, so...
968 * testfile53-64.bz2, testfile53-64.debug.bz2,
969 testfile53-64.prelink.bz2: Recreated with 64-bit names.
970 * testfile53-32.bz2, testfile53-32.debug.bz2,
971 testfile53-32.prelink.bz2: New in 32-bit.
972 * Makefile.am (EXTRA_DIST): Add and update all.
973
Josh Stoned41d9a62011-01-11 19:16:57 -0800974 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
975 * testfile52.so.bz2, testfile52.so.debug.bz2,
976 testfile52.prelink.so.bz2: Deleted, so...
977 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
978 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
979 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
980 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
Roland McGrath32520bd2011-01-12 10:43:32 -0800981 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
Josh Stoned41d9a62011-01-11 19:16:57 -0800982 * Makefile.am (EXTRA_DIST): Add and update all.
983
Josh Stoneffa02002011-01-10 21:28:46 -08009842011-01-10 Josh Stone <jistone@redhat.com>
985
986 * run-prelink-addr-test.sh: New test for prelinked addrs.
987 * Makefile.am (TESTS, EXTRA_DIST): Add it.
988 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
989 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
990 * testfile53.bz2, testfile53.debug.bz2: New data files.
991 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
992 * Makefile.am (EXTRA_DIST): Add them.
993
Roland McGrathec86e5f2010-06-14 17:44:38 -07009942010-06-04 Roland McGrath <roland@redhat.com>
995
996 * run-unstrip-test.sh: Also test modifying the file in place.
997
Roland McGrath3c6ee4b2010-04-22 22:38:58 -07009982010-04-22 Roland McGrath <roland@redhat.com>
999
1000 * addrcfi.c (handle_cfi): Fix function name in error message.
1001 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
1002
Roland McGrath26618d82010-04-14 13:10:47 -070010032010-04-14 Roland McGrath <roland@redhat.com>
1004
1005 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
1006
Ulrich Drepperc2d1e482010-04-10 18:23:47 -070010072010-04-10 Ulrich Drepper <drepper@redhat.com>
1008
1009 * msg_tst.c: Adjust expected error message.
1010
Petr Machata77961b52010-04-06 14:16:58 +020010112010-04-01 Petr Machata <pmachata@redhat.com>
1012
1013 * test-flag-nobits.c: New test.
1014 * run-test-flag-nobits.sh: And its wrapper.
1015 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
1016 (test_flag_nobits_LDADD): New variable.
1017
Roland McGrathe9ca7382010-02-15 15:15:50 -080010182010-02-15 Roland McGrath <roland@redhat.com>
1019
Roland McGrath22359e22010-02-15 15:57:03 -08001020 * Makefile.am: Use config/eu.am for common stuff.
1021
Roland McGrathe9ca7382010-02-15 15:15:50 -08001022 * asm-tst9.c (main): Rename local to avoid shadowing another local.
1023
Roland McGrathaf800142009-07-22 13:55:50 -070010242009-07-22 Roland McGrath <roland@redhat.com>
1025
1026 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
1027
Roland McGrath3c84db32009-06-24 17:41:40 -070010282009-07-08 Roland McGrath <roland@redhat.com>
1029
1030 * addrcfi.c: New file.
1031 * Makefile.am (noinst_PROGRAMS): Add it.
1032 (addrcfi_LDADD): New variable.
1033
Petr Machatad24c7bf2009-05-07 20:58:19 +020010342009-05-07 Petr Machata <pmachata@redhat.com>
1035
1036 * testfile51.bz2: New data file.
1037 * dwarf-getmacros.c: New test core.
1038 * run-dwarf-getmacros.sh: New test wrapper.
Roland McGrath0c735a92009-05-07 18:19:16 -07001039 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1040 (dwarf_getmacros_LDADD): New variable.
Petr Machatad24c7bf2009-05-07 20:58:19 +02001041
Ulrich Drepperf9545c42009-04-23 07:59:02 -070010422009-04-23 Ulrich Drepper <drepper@redhat.com>
1043
1044 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
1045 (rdwrmmap_LDADD): Add $(libmudflap).
Roland McGrath0c735a92009-05-07 18:19:16 -07001046
Roland McGrath19a8e4d2009-04-21 15:44:07 -070010472009-04-21 Roland McGrath <roland@redhat.com>
1048
1049 * testfile50.bz2: New data file.
1050 * Makefile.am (EXTRA_DIST): Add it.
1051 * run-dwfl-addr-sect.sh: Add a case using it.
1052
Ulrich Drepper5bd44442008-12-31 09:02:54 -080010532008-12-31 Ulrich Drepper <drepper@redhat.com>
1054
Ulrich Drepper3bf57592009-01-01 18:52:05 -08001055 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
1056 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
1057 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
1058 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
1059 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
1060 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
1061 roundss, roundps, roundpd, and roundsd.
1062 * testfile45.S.bz2: Likewise.
1063 * testfile44.expect.bz2: Adjust accordingly.
1064 * testfile45.expect.bz2: Likewise.
1065
Ulrich Drepper5bd44442008-12-31 09:02:54 -08001066 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
1067 * testfile45.S.bz2: Likewise.
1068 * testfile44.expect.bz2: Adjust accordingly.
1069 * testfile45.expect.bz2: Likewise.
1070
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -080010712008-12-30 Ulrich Drepper <drepper@redhat.com>
1072
Ulrich Drepperec32ff92008-12-30 23:24:09 -08001073 * testfile44.S.bz2: Add tests for blendpd and blendps.
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -08001074 * testfile45.S.bz2: Likewise.
1075 * testfile44.expect.bz2: Adjust accordingly.
1076 * testfile45.expect.bz2: Likewise.
1077
Ulrich Drepper5a04b9f2008-12-19 01:14:12 -080010782008-12-19 Ulrich Drepper <drepper@redhat.com>
1079
1080 * testfile44.S.bz2: Add tests for AMD 3DNOW.
1081 * testfile45.S.bz2: Likewise.
1082 * testfile44.expect.bz2: Adjust accordingly.
1083 * testfile45.expect.bz2: Likewise.
1084
Roland McGratha845f682008-12-03 03:41:58 +000010852008-11-26 Roland McGrath <roland@redhat.com>
1086
1087 * dwfl-bug-getmodules.c: New file.
1088 * Makefile.am (noinst_PROGRAMS): Add it.
1089 (dwfl_bug_getmodules_LDADD): New variable.
1090
10912008-09-10 Roland McGrath <roland@redhat.com>
1092
1093 * test-subr.sh (LC_ALL): Export it set to "C".
1094 * run-dwfl-addr-sect.sh: Don't do it here.
1095 * run-strings-test.sh: Likewise.
1096
Roland McGrathb4d6f0f2008-08-25 22:55:17 +000010972008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
1098
1099 * run-addrname-test.sh: Add a new case.
1100 * testfile49.bz2: New data file.
1101 * Makefile.am (EXTRA_DIST): Add it.
1102
Roland McGrath521c47d2008-04-11 07:01:58 +000011032008-04-10 Roland McGrath <roland@redhat.com>
1104
1105 * testfile48.bz2, testfile48.bz2.debug: New data files.
1106 * Makefile.am (EXTRA_DIST): Add them.
1107 * run-strip-test8.sh: Use them.
1108
1109 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
1110
1111 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
1112 * run-strip-test8.sh: New file.
1113 * testfile47.bz2: New data file.
1114 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1115
Roland McGrath13b69602008-04-01 02:30:05 +000011162008-03-31 Roland McGrath <roland@redhat.com>
1117
1118 * run-early-offscn.sh: New file.
1119 * early-offscn.c: New file.
1120 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
1121 (early_offscn_LDADD): New variable.
1122
Roland McGrathd11f9cb2008-03-26 20:51:59 +000011232008-03-19 Roland McGrath <roland@redhat.com>
1124
1125 * run-addrname-test.sh: Add a new case.
1126
Roland McGrath658094a2008-02-22 08:14:07 +000011272008-02-22 Roland McGrath <roland@redhat.com>
1128
1129 * run-elflint-test.sh: Typo fix.
1130
11312008-02-21 Roland McGrath <roland@redhat.com>
1132
1133 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
1134 for the build down to minimum.
1135 * run-disasm-x86-64.sh: Likewise.
1136
Roland McGrath059c83e2008-02-21 06:19:39 +000011372008-02-20 Roland McGrath <roland@redhat.com>
1138
1139 * testfile46.bz2: New data file.
1140 * Makefile.am (EXTRA_DIST): Add it.
1141 * run-elflint-test.sh: Test on it.
1142
Ulrich Drepperc54785a2008-02-01 18:05:21 +000011432008-02-01 Ulrich Drepper <drepper@redhat.com>
1144
1145 * Makefile.am: Hook up sha1-tst.c.
1146 * sha1-tst.c: New file.
1147
Ulrich Drepper4d8bc812008-01-22 06:02:31 +000011482008-01-21 Roland McGrath <roland@redhat.com>
1149
1150 * testfile45.S.bz2: Add tests for cltq, cqto.
1151 * testfile45.expect.bz2: Adjust.
1152
Ulrich Drepper35f2fe62008-01-14 19:17:36 +000011532008-01-14 Ulrich Drepper <drepper@redhat.com>
1154
1155 * testfile45.S.bz2: Add more tests.
1156 * testfile45.expect.bz2: Adjust.
1157
Ulrich Drepperfd479892008-01-12 03:06:47 +000011582008-01-11 Ulrich Drepper <drepper@redhat.com>
1159
1160 * testfile45.expect.bz2: Adjust for adding of address for %rip based
1161 address mode.
1162
Ulrich Drepper96a73992008-01-11 06:17:06 +000011632008-01-10 Ulrich Drepper <drepper@redhat.com>
1164
1165 * testfile45.S.bz2: Add more tests.
1166 * testfile45.expect.bz2: Adjust.
1167
Ulrich Drepperff993222008-01-09 05:39:28 +000011682008-01-08 Ulrich Drepper <drepper@redhat.com>
1169
1170 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
1171 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
1172 run-disasm-x86-64.sh.
1173 * run-disasm-x86-64.sh: New file.
1174 * testfile45.S.bz2: New file.
1175 * testfile45.expect.bz2: New file.
1176 * testfile44.S.bz2: New tests.
1177 * testfile44.expect.bz2: Adjust.
1178
Ulrich Drepper9e6925d2008-01-04 21:42:14 +000011792008-01-04 Ulrich Drepper <drepper@redhat.com>
1180
1181 * testfile44.S.bz2: New tests.
1182 * testfile44.expect.bz2: Adjust.
1183
Ulrich Dreppere219f1c2008-01-09 05:49:49 +000011842008-01-04 Roland McGrath <roland@redhat.com>
1185
1186 * dwfl-bug-fd-leak.c (main): Add a cast.
1187
Ulrich Drepperee67b642008-01-03 08:45:10 +000011882008-01-03 Ulrich Drepper <drepper@redhat.com>
1189
1190 * testfile44.S.bz2: New tests.
1191 * testfile44.expect.bz2: Adjust.
1192
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000011932008-01-01 Ulrich Drepper <drepper@redhat.com>
1194
Ulrich Drepperf231e272008-01-02 18:07:17 +00001195 * line2addr.c: Use %m modifier instead of %a to appease gcc.
1196
11972008-01-01 Ulrich Drepper <drepper@redhat.com>
1198
Ulrich Drepperee67b642008-01-03 08:45:10 +00001199 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001200 * testfile44.expect.bz2: Adjust.
1201
12022007-12-31 Ulrich Drepper <drepper@redhat.com>
1203
Ulrich Drepperee67b642008-01-03 08:45:10 +00001204 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001205 * testfile44.expect.bz2: Adjust.
1206
12072007-12-30 Ulrich Drepper <drepper@redhat.com>
1208
Ulrich Drepperee67b642008-01-03 08:45:10 +00001209 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001210 * testfile44.expect.bz2: Adjust.
1211
12122007-12-29 Ulrich Drepper <drepper@redhat.com>
1213
Ulrich Drepperee67b642008-01-03 08:45:10 +00001214 * testfile44.s.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001215 * testfile44.expect.bz2: Adjust.
1216
12172007-12-28 Ulrich Drepper <drepper@redhat.com>
1218
1219 * testfile44.S.bz2: New tests.
1220 * testfile44.expect.bz2: Adjust.
1221
12222007-12-27 Ulrich Drepper <drepper@redhat.com>
1223
1224 * testfile44.S.bz2: New tests.
1225 * testfile44.expect.bz2: Adjust.
1226
12272007-12-26 Ulrich Drepper <drepper@redhat.com>
1228
1229 * testfile44.S.bz2: New tests.
1230 * testfile44.expect.bz2: Adjust
1231
12322007-12-21 Ulrich Drepper <drepper@redhat.com>
1233
1234 * testfile44.S.bz2: More tests.
1235 * testfile44.expect.bz2: Adjust appropriately.
1236
12372007-12-19 Ulrich Drepper <drepper@redhat.com>
1238
1239 * Makefile.am (TESTS): Add run-disasm.sh.
1240 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
1241 testfile44.expect.bz2.
1242 * run-disasm.sh: New file.
1243 * testfile44.S.bz2: New file.
1244 * testfile44.expect.bz2: New file.
1245
Roland McGrath1a2e8f42007-12-15 23:39:34 +000012462007-12-15 Roland McGrath <roland@redhat.com>
1247
1248 * run-allregs.sh: Change expected output for powerpc spefscr.
1249
Roland McGrathe4c22ea2007-10-23 13:07:39 +000012502007-10-20 Roland McGrath <roland@redhat.com>
1251
1252 * run-dwfl-addr-sect.sh: Change expected output, no errors.
1253
12542007-10-19 Roland McGrath <roland@redhat.com>
1255
1256 * dwfl-addr-sect.c (handle_address): Return int.
1257 Don't exit on error, just return nonzero.
1258 (main): Collect results.
1259 * run-dwfl-addr-sect.sh: New file.
1260 * testfile43.bz2: New data file.
1261 * Makefile.am (EXTRA_DIST, TESTS): Add them.
1262
12632007-10-18 Roland McGrath <roland@redhat.com>
1264
1265 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
1266
12672007-10-16 Roland McGrath <roland@redhat.com>
1268
1269 * test-subr.sh (remove_files): Don't pass -Bb to diff.
1270
Ulrich Drepperb597dfa2007-10-16 05:21:27 +000012712007-10-09 Roland McGrath <roland@redhat.com>
1272
1273 * dwflmodtest.c (print_module): Don't use %p in output.
1274 * run-dwfl-bug-offline-rel.sh: Updated expected output.
1275
12762007-10-08 Roland McGrath <roland@redhat.com>
1277
1278 * testfile42.bz2: New data file.
1279 * Makefile.am (EXTRA_DIST): Add it.
1280 * run-elflint-test.sh: New test on that file.
1281
Roland McGrath59ea7f32007-10-04 08:50:09 +000012822007-10-04 Roland McGrath <roland@redhat.com>
1283
1284 * run-readelf-test4.sh: New file.
1285 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1286
12872007-10-03 Roland McGrath <roland@redhat.com>
1288
1289 * run-readelf-test3.sh: New file.
1290 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1291
Roland McGrathf6b92282007-10-02 02:34:11 +000012922007-10-01 Roland McGrath <roland@redhat.com>
1293
1294 * run-readelf-test2.sh: New file.
1295 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1296
Roland McGrathc76f0b02007-09-27 07:31:33 +000012972007-09-11 Roland McGrath <roland@redhat.com>
1298
1299 * run-addrname-test.sh: Add a new case.
1300 * testfile41.bz2: New data file.
1301 * Makefile.am (EXTRA_DIST): Add it.
1302
Roland McGrathcb6d8652007-08-23 08:10:54 +000013032007-08-23 Roland McGrath <roland@redhat.com>
1304
1305 * run-allregs.sh: Update expected x86-64 output for %rflags.
1306
Roland McGrath099dd522007-08-13 22:58:36 +000013072007-08-12 Roland McGrath <roland@redhat.com>
1308
1309 * run-strip-test7.sh: New file.
1310 * testfile39.bz2: New data file.
1311 * testfile40.bz2: New data file.
1312 * testfile40.debug.bz2: New data file.
1313 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1314
Roland McGrath42f68682007-08-09 07:54:22 +000013152007-08-09 Roland McGrath <roland@redhat.com>
1316
1317 * dwfl-bug-report.c: Fix header inclusion.
1318
13192007-08-08 Roland McGrath <roland@redhat.com>
1320
1321 * run-addrname-test.sh: Add a new case using addr2line -S.
1322 * testfile38.bz2: New data file.
1323 * Makefile.am (EXTRA_DIST): Add it.
1324
Roland McGrath87d47802007-07-16 22:23:37 +000013252007-07-16 Roland McGrath <roland@redhat.com>
1326
1327 * dwfl-bug-report.c: New file.
1328 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1329 (dwfl_bug_report_LDADD): New variable.
1330
13312007-06-06 Roland McGrath <roland@redhat.com>
Roland McGrath0bc057c2007-06-06 08:42:42 +00001332
1333 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
1334
Ulrich Drepperb0243862007-06-06 00:09:36 +000013352007-06-05 Ulrich Drepper <drepper@redhat.com>
1336
1337 * Makefile.am (EXTRA_DIST): Add missing line continuation and
1338 testfile37.bz and testfile37.debug.bz2.
1339
Roland McGrath53bce222007-05-23 19:15:04 +000013402007-05-23 Roland McGrath <roland@redhat.com>
1341
1342 * run-allregs.sh: Update expected Alpha results.
1343
Roland McGrath9aa8ef72007-05-18 08:59:43 +000013442007-05-18 Roland McGrath <roland@redhat.com>
1345
1346 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
1347 * testfile37.bz2: New data file.
1348 * testfile37.debug.bz2: New data file.
1349 * run-unstrip-test2.sh: New file.
1350 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1351
13522007-05-10 Roland McGrath <roland@redhat.com>
1353
1354 * run-dwfl-bug-offline-rel.sh: New file.
1355 * testfile36.bz2: New data file.
1356 * testfile36.debug.bz2: New data file.
1357 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1358
13592007-04-28 Roland McGrath <roland@redhat.com>
1360
1361 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
1362 * testfile35.bz2: New data file.
1363 * testfile35.debug.bz2: New data file.
1364 * run-unstrip-test.sh: New file.
1365 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1366
1367 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
1368
Roland McGrath2be02912007-04-27 04:07:41 +000013692007-04-26 Roland McGrath <roland@redhat.com>
1370
1371 * run-elflint-self.sh: Run all tests even if one fails.
1372
1373 * run-allregs.sh: Add expected output for alpha.
1374
Roland McGrath4be15242007-04-25 03:09:33 +000013752007-04-24 Roland McGrath <roland@redhat.com>
1376
1377 * run-strip-test.sh: When we saved the debug info, test unstrip too.
1378
13792007-04-22 Roland McGrath <roland@redhat.com>
1380
1381 * run-allregs.sh: Update expected register info.
1382
Roland McGrath43da9892007-04-16 23:13:37 +000013832007-04-16 Roland McGrath <roland@redhat.com>
1384
1385 * dwfl-addr-sect.c: New file.
1386 * Makefile.am (noinst_PROGRAMS): Add it.
1387 (dwfl_addr_sect_LDADD): New variable.
1388
13892007-04-05 Roland McGrath <roland@redhat.com>
1390
1391 * get-files.c: Test dwarf_getsrcdirs.
1392 * run-get-files.sh: Update expected output.
1393
Roland McGrath5f6a41a2007-04-01 23:11:40 +000013942007-04-01 Roland McGrath <roland@redhat.com>
1395
1396 * run-allregs.sh: Updated expected output for x86_64.
1397
Ulrich Drepper6258e742007-03-13 06:22:40 +000013982007-03-04 Roland McGrath <roland@redhat.com>
1399
1400 * dwfl-bug-fd-leak.c: New file.
1401 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
1402 (dwfl_bug_fd_leak_LDADD): New variable.
1403
1404 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
1405 show what files have been located.
1406
Ulrich Drepperaa915fd2007-02-05 07:25:33 +000014072007-02-02 Roland McGrath <roland@redhat.com>
1408
1409 * run-addrname-test.sh: New file.
1410 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1411 * testfile34.bz2: New data file.
1412 * Makefile.am (EXTRA_DIST): Add it.
1413
14142007-01-20 Roland McGrath <roland@redhat.com>
1415
1416 * testfile33.bz2: New data file.
1417 * Makefile.am (EXTRA_DIST): Add it.
1418 * run-elflint-test.sh: Test on it too.
1419
14202007-01-18 Roland McGrath <roland@redhat.com>
1421
1422 * Makefile.am (CFLAGS): Don't molest it.
1423
14242007-01-11 Roland McGrath <roland@redhat.com>
1425
1426 * testfile32.bz2: New data file.
1427 * Makefile.am (EXTRA_DIST): Add it.
1428 * run-elflint-test.sh: Test on it too.
1429
Ulrich Drepperce0bdb62007-02-05 07:13:52 +000014302007-02-04 Ulrich Drepper <drepper@redhat.com>
1431
1432 * arls.c: New file.
1433 * Makefile (noinst_PROGRAMS): Add arls.
1434
1435 * run-ranlib-test2.sh: Fix type in comment.
1436
Ulrich Dreppercd4992c2007-01-10 20:58:17 +000014372007-01-10 Ulrich Drepper <drepper@redhat.com>
1438
1439 * run-elflint-self.sh (runtest): Show which file has the problem.
1440
Roland McGrathba949b32007-01-10 20:44:29 +000014412007-01-10 Roland McGrath <roland@redhat.com>
1442
1443 * dwfl-bug-addr-overflow.c: New file.
1444 * Makefile.am (TESTS): Add it.
1445 (dwfl_bug_addr_overflow_LDADD): New variable.
1446
Roland McGrath8190db62006-12-17 23:56:51 +000014472006-12-17 Roland McGrath <roland@redhat.com>
1448
1449 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
1450
Roland McGrathc373d852006-10-10 00:25:21 +000014512006-09-05 Roland McGrath <roland@redhat.com>
1452
1453 * run-strings-test.sh: Export LC_ALL=C for the test.
1454
14552006-08-29 Roland McGrath <roland@redhat.com>
1456
1457 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
1458 * run-arsymtest.sh: Likewise.
1459
1460 * run-native-test.sh (native.c compilation): Add some braces.
1461
14622006-08-22 Roland McGrath <roland@redhat.com>
1463
1464 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
1465 (struct reginfo): New members bits, type.
1466 (one_register, match_register): Update to take new args,
1467 record and display new info.
1468 (main): Display new info.
1469 * run-allregs.sh: Update expected results.
1470
Roland McGrath19db8592006-08-03 08:52:46 +000014712006-08-03 Roland McGrath <roland@redhat.com>
1472
1473 * run-allregs.sh: Add sparc cases.
1474 * testfile30.bz2: New data file.
1475 * testfile31.bz2: New data file.
1476 * Makefile.am (EXTRA_DIST): Add them.
1477
Roland McGrath95024622006-07-21 10:06:31 +000014782006-07-21 Roland McGrath <roland@redhat.com>
1479
1480 * allregs.c (struct reginfo): Increase size of name.
1481 (one_register): Assert that it's big enough.
1482
Roland McGrathb4379722006-04-05 01:35:26 +000014832006-04-04 Roland McGrath <roland@redhat.com>
1484
1485 * run-bug1-test.sh: Test a second case, to cover both byte orders.
1486 * testfile29.bz2: New file.
1487 * testfile29.rdwr.bz2: New file.
1488 * Makefile.am (EXTRA_DIST): Add them.
1489
Ulrich Drepperba718b12006-04-04 21:31:16 +000014902006-04-04 Ulrich Drepper <drepper@redhat.com>
1491
1492 * Makefile.am: Add rules to run run-bug1-test.sh.
1493 * rdwrmmap.c: New file.
1494 * run-bug1-test.sh: New file.
1495 * testfile28.bz2: New file.
1496 * testfile28.rdwr.bz2: New file.
1497
Roland McGrathdd7e22b2006-03-09 23:05:47 +000014982006-03-09 Roland McGrath <roland@redhat.com>
1499
1500 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
1501
Roland McGrath060fa052006-03-02 07:51:50 +000015022006-03-01 Roland McGrath <roland@redhat.com>
1503
1504 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
1505 changes matching 3.0 spec.
1506
Roland McGrathc40f58a2006-01-13 20:13:21 +000015072006-01-13 Roland McGrath <roland@redhat.com>
1508
1509 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
1510 bash 3.1 whines when it's done in the trap 0 handler.
1511
Roland McGrath4b248ce2006-01-12 03:34:38 +000015122006-01-11 Roland McGrath <roland@redhat.com>
1513
1514 * testfile26.bz2: New data file.
1515 * testfile27.bz2: New data file.
1516 * Makefile.am (EXTRA_DIST): Add them.
1517 * run-allregs.sh: Test s390 data.
1518
Roland McGrath124a7982005-12-15 02:37:09 +000015192005-12-14 Roland McGrath <roland@redhat.com>
1520
1521 * run-native-test.sh: Redirect output from native test process.
1522
Roland McGrath94d26ad2005-12-13 23:24:37 +000015232005-12-13 Roland McGrath <roland@redhat.com>
1524
1525 * allregs.c (main): Fail if we find no registers.
1526
1527 * run-native-test.sh: New file.
1528 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1529
Roland McGrathba72ab12005-12-12 00:04:33 +000015302005-12-10 Ulrich Drepper <drepper@redhat.com
1531
1532 * run-readelf-test1.sh: New file.
1533 * Makefile.am (TESTS): Add run-readelf-test1.sh.
1534 (EXTRA_DIST): Likewise.
1535
Roland McGrathd804e722005-12-08 01:35:42 +000015362005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001537
Roland McGrathd804e722005-12-08 01:35:42 +00001538 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00001539
Roland McGrath994b4892005-12-05 22:46:21 +000015402005-11-25 Roland McGrath <roland@redhat.com>
1541
1542 * coverage.sh: Given -v argument, print names of unused files.
1543
1544 * addrscopes.c (main): Use dwfl_end before return.
1545 * allregs.c (main): Likewise.
1546 * find-prologues.c (main): Likewise.
1547 * funcretval.c (main): Likewise.
1548 * funcscopes.c (main): Likewise.
1549 * line2addr.c (main): Likewise.
1550
1551 * run-allregs.sh: New file.
1552 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1553
1554 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
1555 * Makefile.am (allregs_LDADD): Updated.
1556
1557 * allregs.c: New file.
1558 * Makefile.am (noinst_PROGRAMS): Add it.
1559 (allregs_LDADD): New variable.
1560
Roland McGrath9365d2c2005-11-18 23:55:47 +000015612005-11-18 Roland McGrath <roland@redhat.com>
1562
1563 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
1564 * test-wrapper.sh: Likewise.
1565
Roland McGrath575dd392005-11-18 01:41:52 +000015662005-11-17 Roland McGrath <roland@redhat.com>
1567
Roland McGrathaf74f5c2005-11-18 02:25:14 +00001568 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
1569 environment for test-wrapper.sh.
1570 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
1571 * test-subr.sh (installed_testrun): Likewise.
1572 Use explicit path in ${bindir}.
1573
Roland McGrath575dd392005-11-18 01:41:52 +00001574 * Makefile.am (installcheck-local): Fix typo in last change.
1575
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000015762005-11-16 Roland McGrath <roland@redhat.com>
1577
1578 * configure.ac: New file, for standalone build/dist of test suite.
1579 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
1580 (asm_TESTS): New variable, broken out of ...
1581 (TESTS): ... here. Also remove msg_tst.
1582 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
1583 (installed_TESTS_ENVIRONMENT): New variable.
1584 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
1585 [!STANDALONE] (installcheck-local): Likewise.
1586 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
1587 * addrscopes.c: Include <config.h>.
1588 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
1589 * allfcts.c: Likewise.
1590 * asm-tst1.c: Likewise.
1591 * asm-tst2.c: Likewise.
1592 * asm-tst3.c: Likewise.
1593 * asm-tst4.c: Likewise.
1594 * asm-tst5.c: Likewise.
1595 * asm-tst6.c: Likewise.
1596 * asm-tst7.c: Likewise.
1597 * asm-tst8.c: Likewise.
1598 * asm-tst9.c: Likewise.
1599 * dwflmodtest.c: Likewise.
1600 * find-prologues.c: Likewise.
1601 * funcscopes.c: Likewise.
1602 * get-aranges.c: Likewise.
1603 * get-files.c: Likewise.
1604 * get-lines.c: Likewise.
1605 * get-pubnames.c: Likewise.
1606 * line2addr.c: Likewise.
1607 * newscn.c: Likewise.
1608 * show-abbrev.c: Likewise.
1609 * show-die-info.c: Likewise.
1610 * update3.c: Likewise.
1611 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +00001612 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +00001613
1614 * dwflmodtest.c (print_instance): Don't use INTUSE.
1615 (options): Don't use N_ macro.
1616
Roland McGrath1b8b4462005-11-16 01:33:38 +000016172005-11-15 Roland McGrath <roland@redhat.com>
1618
Roland McGrathe47ab762005-11-17 03:16:00 +00001619 * coverage.sh: Look in backends.
1620 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
1621 (TESTS_ENVIRONMENT): Likewise.
1622
1623 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
1624 pass FUNCDIE direclty to dwfl_module_return_value_location.
1625
Roland McGrath1b8b4462005-11-16 01:33:38 +00001626 * Makefile.am (BUILD_RPATH): New variable.
1627 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
1628 (tests_rpath): New variable.
1629 (installcheck-local): Pass it to test-wrapper.sh.
1630 * test-wrapper.sh: In "installed" format, take yes/no value
1631 for elfutils_tests_rpath, which export. When running a test
1632 binary for installcheck, exit 77.
1633 * test-subr.sh (installed_testrun): When running a test binary
1634 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
1635
16362005-11-14 Roland McGrath <roland@redhat.com>
1637
1638 * test-subr.sh: New file.
1639 * test-wrapper.sh: New file.
1640 * Makefile.am (EXTRA_DIST): Add them.
1641 (AM_LDFLAGS): Variable removed.
1642 (TESTS_ENVIRONMENT): New variable.
1643 (installcheck-local): New target.
1644 * run-addrscopes.sh: Use test-subr.sh.
1645 * run-allfcts.sh: Likewise.
1646 * run-ecp-test.sh: Likewise.
1647 * run-ecp-test2.sh: Likewise.
1648 * run-elflint-self.sh: Likewise.
1649 * run-elflint-test.sh: Likewise.
1650 * run-find-prologues.sh: Likewise.
1651 * run-funcscopes.sh: Likewise.
1652 * run-get-aranges.sh: Likewise.
1653 * run-get-files.sh: Likewise.
1654 * run-get-lines.sh: Likewise.
1655 * run-get-pubnames.sh: Likewise.
1656 * run-line2addr.sh: Likewise.
1657 * run-ranlib-test.sh: Likewise.
1658 * run-ranlib-test2.sh: Likewise.
1659 * run-show-abbrev.sh: Likewise.
1660 * run-show-ciefde.sh: Likewise.
1661 * run-show-die-info.sh: Likewise.
1662 * run-strings-test.sh: Likewise.
1663 * run-strip-test.sh: Likewise.
1664
Roland McGrathe47ab762005-11-17 03:16:00 +000016652005-11-13 Roland McGrath <roland@redhat.com>
1666
1667 * funcretval.c: New file.
1668 * Makefile.am (noinst_PROGRAMS): Add it.
1669 (funcretval_LDADD): New variable.
1670
Ulrich Drepper3840c1c2005-11-09 16:13:48 +000016712005-11-09 Ulrich Drepper <drepper@redhat.com>
1672
1673 * line2addr.c (handle_module): Add missing parameter to printf.
1674
Roland McGrath07d4f2f2005-10-28 06:56:24 +000016752005-10-27 Roland McGrath <roland@redhat.com>
1676
Roland McGrath6724c902005-10-28 07:07:19 +00001677 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
1678 * funcscopes.c (handle_function): Likewise.
1679 * dwflmodtest.c (print_inline, print_func): Likewise.
1680 * find-prologues.c (handle_function): Likewise.
1681
16822005-10-27 Roland McGrath <roland@redhat.com>
1683
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001684 * run-find-prologues.sh: New file.
1685 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1686
1687 * find-prologues.c (handle_function): Skip inlines.
1688
16892005-10-25 Roland McGrath <roland@redhat.com>
1690
1691 * find-prologues.c: New file.
1692 * Makefile.am (noinst_PROGRAMS): Add it.
1693 (find_prologues_LDADD): New variable.
1694
Ulrich Drepper3bbc9502005-09-02 20:29:56 +000016952005-09-02 Ulrich Drepper <drepper@redhat.com>
1696
1697 * run-strings-test.sh: Remove strings.out in the end.
1698
Ulrich Drepper7d65d012005-08-31 15:14:26 +000016992005-08-31 Ulrich Drepper <drepper@redhat.com>
1700
1701 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
1702 * run-allfcts.sh: Likewise.
1703 * run-ecp-test.sh: Likewise.
1704 * run-ecp-test2.sh: Likewise.
1705 * run-elflint-test.sh: Likewise.
1706 * run-funcscopes.sh: Likewise.
1707 * run-get-aranges.sh: Likewise.
1708 * run-get-files.sh: Likewise.
1709 * run-get-lines.sh: Likewise.
1710 * run-get-pubnames.sh: Likewise.
1711 * run-line2addr.sh: Likewise.
1712 * run-ranlib-test2.sh: Likewise.
1713 * run-show-abbrev.sh: Likewise.
1714 * run-show-ciefde.sh: Likewise.
1715 * run-show-die-info.sh: Likewise.
1716 * run-strings-test.sh: Likewise.
1717 * run-strip-test.sh: Likewise.
1718
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +000017192005-08-30 Ulrich Drepper <drepper@redhat.com>
1720
1721 * coverage.sh: Handle case where there is no .gcno file at all.
1722
Ulrich Drepper39cec7a2005-08-30 01:22:01 +000017232005-08-29 Ulrich Drepper <drepper@redhat.com>
1724
1725 * Makefile.am (EXTRA_DIST): Add coverage.
1726 [GCOV]: Generate coverage summary after the tests ran
1727 * coverage.sh: New file.
1728
Ulrich Drepperfbe998a2005-08-29 16:27:10 +000017292005-08-28 Ulrich Drepper <drepper@redhat.com>
1730
1731 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
1732 (CLEANFILES): Add *.gcno *.gcda *.gconv.
1733
17342005-08-28 Ulrich Drepper <drepper@redhat.com>
1735
1736 * run-strings-test.sh: New file.
1737 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1738
Roland McGrath71e15a02005-08-27 10:33:26 +000017392005-08-27 Roland McGrath <roland@redhat.com>
1740
Roland McGrathb0bc2782005-08-27 21:07:16 +00001741 * addrscopes.c (handle_address): Apply bias to PC addresses.
1742
Roland McGrath71e15a02005-08-27 10:33:26 +00001743 * run-funcscopes.sh: New file.
1744 * testfile25.bz2: New data file.
1745 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1746
17472005-08-26 Roland McGrath <roland@redhat.com>
1748
1749 * addrscopes.c (dwarf_diename_integrate): Removed.
1750 (print_vars, handle_address): Use plain dwarf_diename.
1751
17522005-08-25 Roland McGrath <roland@redhat.com>
1753
1754 * funcscopes.c: New file.
1755 * Makefile.am (noinst_PROGRAMS): Add it.
1756 (funcscopes_LDADD): New variable.
1757
1758 * run-addrscopes.sh: Add another case.
1759 * testfile24.bz2: New data file.
1760 * Makefile.am (EXTRA_DIST): Add it.
1761
1762 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
1763 pass it to dwarf_getscopes.
1764 (main): Pass it, true when '=' follows an address.
1765
Roland McGrath4c305da2005-08-25 01:49:35 +000017662005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +00001767
Roland McGrath4c305da2005-08-25 01:49:35 +00001768 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +00001769
Ulrich Drepper2eb660f2005-08-24 19:47:57 +000017702005-08-24 Ulrich Drepper <drepper@redhat.com>
1771
Ulrich Drepper958bf132005-08-24 21:40:55 +00001772 * run-line2addr.sh: Remove testfile23 in the end.
1773
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001774 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +00001775 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001776
Roland McGrathd17fac72005-08-23 08:20:21 +000017772005-08-22 Roland McGrath <roland@redhat.com>
1778
1779 * run-line2addr.sh: Add a case.
1780 * testfile23.bz2: New data file.
1781 * Makefile.am (EXTRA_DIST): Add it.
1782
Roland McGrath9a1f3652005-08-18 20:57:04 +000017832005-08-18 Roland McGrath <roland@redhat.com>
1784
Roland McGrathf5fda7d2005-08-18 22:01:57 +00001785 * run-addrscopes.sh: New file.
1786 * testfile22.bz2: New data file.
1787 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1788
Roland McGrath9a1f3652005-08-18 20:57:04 +00001789 * addrscopes.c: New file.
1790 * Makefile.am (noinst_PROGRAMS): Add it.
1791 (addrscopes_LDADD): New variable.
1792
Ulrich Drepper837b5222005-08-16 05:12:01 +000017932005-08-15 Ulrich Drepper <drepper@redhat.com>
1794
1795 * run-elflint-self.sh: Don't run test if the file doesn't exist.
1796
Roland McGrath1ecb6062005-08-15 09:53:04 +000017972005-08-15 Roland McGrath <roland@redhat.com>
1798
1799 * dwflmodtest.c (print_instance, print_inline): New functions.
1800 (print_func): Call print_inline.
1801 (options, parse_opt): Grok -i/--inlines.
1802
Roland McGrath8d18c292005-08-07 21:42:07 +000018032005-08-07 Roland McGrath <roland@redhat.com>
1804
1805 * dwflmodtest.c: Print function details only if -f flag is given.
1806
Ulrich Drepper47be7952005-08-07 04:41:39 +000018072005-08-06 Ulrich Drepper <drepper@redhat.com>
1808
Ulrich Drepper637963b2005-08-07 05:33:07 +00001809 * run-elflint-self.sh: New file.
1810 * Makefile.am (TESTS): Add run-elflint-self.sh.
1811 (EXTRA_DIST): Likewise.
1812
Ulrich Drepper47be7952005-08-07 04:41:39 +00001813 * Makefile.am: Link with statis libs if BUILD_STATIC.
1814 (dwflmodtest_LDADD): Also link with -ldl.
1815
Ulrich Drepper41de4882005-08-03 00:02:56 +000018162005-08-02 Ulrich Drepper <drepper@redhat.com>
1817
Ulrich Dreppera38998e2005-08-03 02:05:39 +00001818 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
1819 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
1820 library first.
1821 * asm-tst2.c: Likewise.
1822 * asm-tst3.c: Likewise.
1823 * asm-tst4.c: Likewise.
1824 * asm-tst5.c: Likewise.
1825 * asm-tst6.c: Likewise.
1826 * asm-tst7.c: Likewise.
1827 * asm-tst8.c: Likewise.
1828 * asm-tst9.c: Likewise.
1829
Ulrich Drepper41de4882005-08-03 00:02:56 +00001830 * msg_tst.c: Add new error message.
1831
Ulrich Drepper18618fd2005-07-28 21:29:22 +000018322005-07-28 Ulrich Drepper <drepper@redhat.com>
1833
1834 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
1835
Roland McGrathd17fac72005-08-23 08:20:21 +000018362005-06-01 Roland McGrath <roland@redhat.com>
1837
1838 * line2addr.c: Rewritten using libdwfl.
1839 * run-line2addr.sh: Update test for changed arguments.
1840 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
1841 (libdwfl): New variable.
1842 (line2addr_LDADD): Use it.
1843
Roland McGrath18385902005-07-28 07:12:38 +000018442005-07-28 Roland McGrath <roland@redhat.com>
1845
1846 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
1847 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
1848 (dwflmodtest_LDADD): New variable.
1849 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
1850
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000018512005-07-21 Ulrich Drepper <drepper@redhat.com>
1852
1853 * testfile18.bz2: New file.
1854 * run-elflint-test.sh: New file.
1855 * Makefile.am (TESTS): Add run-elflint-test.sh.
1856 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1857
18582005-05-24 Ulrich Drepper <drepper@redhat.com>
1859
1860 * get-files.c (main): Use correct format specifier.
1861
18622005-05-21 Ulrich Drepper <drepper@redhat.com>
1863
1864 * Makefile.am: Add -Wextra to CFLAGS.
1865 * get-files.c: Remove warning this produced.
1866 * get-pubnames.c: Likewise.
1867 * newfile.c: Likewise.
1868 * newscn.c: Likewise.
1869 * scnnames.c: Likewise.
1870 * showptable.c: Likewise.
1871 * test-nlist.c: Likewise.
1872 * update1.c: Likewise.
1873 * update2.c: Likewise.
1874 * update3.c: Likewise.
1875 * update4.c: Likewise.
1876
18772005-05-08 Ulrich Drepper <drepper@redhat.com>
1878
1879 * run-line2addr.sh: Remove testfile14 at the end.
1880
Ulrich Drepper282bf322005-07-28 21:49:05 +00001881 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001882
1883 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
1884 .bz, not .bz2.
1885
18862005-05-03 Roland McGrath <roland@redhat.com>
1887
1888 * run-strip-test.sh: Use variables for test file names.
1889 Optionally produce separate debug file and check it.
1890 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
1891 * run-strip-test3.sh: Likewise.
1892 * run-strip-test4.sh: New file.
1893 * run-strip-test5.sh: New file.
1894 * run-strip-test6.sh: New file.
1895 * testfile15.bz: New file.
1896 * testfile15.debug.bz: New file.
1897 * testfile16.bz: New file.
1898 * testfile16.debug.bz: New file.
1899 * testfile17.bz: New file.
1900 * testfile17.debug.bz: New file.
1901 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1902
19032005-04-25 Ulrich Drepper <drepper@redhat.com>
1904
1905 * run-line2addr.sh: Also use testfile14. Adjust for correct
1906 return of multiple matches.
1907 * testfile14.bz2: New file.
1908 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
1909
1910 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
1911
Roland McGrath87d47802007-07-16 22:23:37 +000019122005-04-04 Roland McGrath <roland@redhat.com>
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001913
1914 * line2addr.c (main): Initialize LINES and NLINES before calling
1915 dwarf_getsrc_file, and free LINES afterwards.
1916
1917 * allfcts.c (main): Use size_t for CUHL.
1918
19192005-04-04 Ulrich Drepper <drepper@redhat.com>
1920
1921 * line2addr.c: New file.
1922 * run-line2addr.sh: New file.
1923 * Makefile.am: Add rules to build, run, and distribute new code.
1924
19252005-04-02 Ulrich Drepper <drepper@redhat.com>
1926
1927 * allfcts.c: New file.
1928 * run-allfcts.sh: New file.
1929 * Makefile.am: Add rules to build, run, and distribute new code.
1930
19312005-02-05 Ulrich Drepper <drepper@redhat.com>
1932
1933 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
1934 programs with -lmudflap.
1935
19362004-09-25 Ulrich Drepper <drepper@redhat.com>
1937
1938 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
1939 * asm-tst5.c (main): Likewise.
1940 * asm-tst6.c (main): Likewise.
1941
19422004-01-17 Ulrich Drepper <drepper@redhat.com>
1943
1944 * Makefile.am: Support building with mudflap.
1945
19462004-01-12 Ulrich Drepper <drepper@redhat.com>
1947
1948 * get-aranges.c: Rewrite to use libdw.
1949 * Makefile.am: Reenable get-aranges test.
1950
19512004-01-11 Ulrich Drepper <drepper@redhat.com>
1952
1953 * get-lines.c: New file.
1954 * get-files.c: Adjust for libdw.
1955 * run-get-files.sh: Adjust expected result.
1956 * run-get-lines.sh: Likewise.
1957 * Makefile.am: Run get-lines test. Don't run get-aranges and
1958 get-ciefde test for now.
1959
1960 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
1961 change. Print attribute offset information.
1962 * run-show-abbrev.sh: Adjust expected output.
1963
19642004-01-09 Ulrich Drepper <drepper@redhat.com>
1965
1966 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
1967 * show-die-info.c: Likewise.
1968 * run-show-die-info.sh: Adjust expected output.
1969
19702003-08-13 Ulrich Drepper <drepper@redhat.com>
1971
1972 * Makefile.in: Depend on libebl.a, not libebl.so.
1973
19742003-08-11 Ulrich Drepper <drepper@redhat.com>
1975
1976 * Moved to CVS archive.