blob: 14159d80c66e23a80c9fbd73f082f64df5c6c2f5 [file] [log] [blame]
Andreas Schwab470aba92018-04-19 17:47:52 +020012018-04-19 Andreas Schwab <schwab@suse.de>
2
3 * hello_riscv64.ko.bz2: New file.
4 * run-strip-reloc.sh: Test it.
5 * Makefile.am (EXTRA_DIST): Add it.
6
Mark Wielaard61eaf1f2018-04-16 11:40:22 +020072018-04-16 Mark Wielaard <mark@klomp.org>
8
9 * testfile-ppc64-min-instr.bz2: New testfile.
10 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2.
11 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2.
12
Mark Wielaardf8814592018-04-11 10:37:45 +0200132018-04-11 Mark Wielaard <mark@klomp.org>
14
15 * run-addrcfi.sh: Adjust expected rule for aarch64 sp.
16
Mark Wielaarda46d8d52018-04-02 23:08:40 +0200172018-04-03 Mark Wielaard <mark@klomp.org>
18
19 * testfileranges4.debug.bz2: New testfile.
20 * run-dwarf-ranges.sh: Run on testfileranges4.debug.
21 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2.
22
Mark Wielaard86fbef92017-11-15 12:13:38 +0100232018-03-06 Mark Wielaard <mark@klomp.org>
24
25 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer,
26 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret,
27 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and
28 DW_OP_const_type.
29
Mark Wielaard61e33d72018-02-16 20:34:25 +0100302018-02-16 Mark Wielaard <mark@klomp.org>
31
32 * backtrace-subr.sh (check_native_core): Check if there is any core,
33 if so, use it.
34
Mark Wielaard4482d002018-02-15 14:44:18 +0100352018-02-15 Mark Wielaard <mark@klomp.org>
36
37 * backtrace-child.c: Include signal.h after sys/ptrace.h.
38 * backtrace-dwarf.c: Include sys/wait.h and signal.h after
39 sys/ptrace.h.
40
Mark Wielaard212b4e32018-01-25 01:13:10 +0100412018-01-25 Mark Wielaard <mark@klomp.org>
42
43 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die.
44 (TESTS): Add run-dwarf-die-addr-die.sh.
45 (EXTRA_DIST): Likewise.
46 (dwarf_die_addr_die_LDADD): New variable.
47 * dwarf-die-addr-die.c: New file.
48 * run-dwarf-die-addr-die.sh: New test.
49
Joshua Watt555e15e2018-02-09 10:27:18 -0600502018-02-09 Joshua Watt <JPEWhacker@gmail.com>
51
52 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
53
Mark Wielaard240a0682018-01-19 23:59:21 +0100542018-01-22 Mark Wielaard <mark@klomp.org>
55
56 * allfcts.c (setup_alt): Print warning when alt file couldn't be
57 found.
58 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
59 where it cannot be found by allfcts itself (but it can by libdw).
60
Mark Wielaard44079032018-01-25 14:37:17 +0100612018-01-25 Mark Wielaard <mark@klomp.org>
62
63 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
64 symtabndx.
65
Petr Machata1e2c8862018-01-14 03:22:05 +0100662018-01-14 Petr Machata <pmachata@gmail.com>
67
68 * testfile-sizes4.o.bz2: New test file.
69 * testfile-sizes4.s: New test source.
70 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
71
Mark Wielaard699a7412017-12-23 23:16:24 +0100722017-12-23 Mark Wielaard <mark@klomp.org>
73
74 * backtrace-subr.sh (check_native_core): Use a lock file and try
75 to extract core using coredumpctl.
76 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
77
Dima Kogana2246aa2017-12-08 01:45:10 -0800782017-12-11 Dima Kogan <dima@secretsauce.net>
79
Mark Wielaard44079032018-01-25 14:37:17 +010080 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
81 * run-peel-type.sh: Likewise.
82 * testfile-sizes3.o.bz2: Likewise.
Dima Kogana2246aa2017-12-08 01:45:10 -080083
Mark Wielaard57b7f382017-12-07 16:31:54 +0100842017-12-07 Mark Wielaard <mark@klomp.org>
85
86 * run-readelf-variant.sh: New test.
87 * testfile-ada-variant.bz2: New testfile.
88 * Makefile.am (TESTS): Add run-readelf-variant.sh.
89 (EXTRA_DISTS): Add run-readelf-variant.sh and
90 testfile-ada-variant.bz2.
91
Mark Wielaard704f5fc2017-11-29 15:43:26 +0100922017-11-29 Mark Wielaard <mark@klomp.org>
93
Mark Wielaardfbb6c932017-11-29 16:37:50 +010094 * run-readelf-loc.sh: Adjust expected loc list output.
95 * run-readelf-zdebug-rel.sh: Likewise.
96 * run-readelf-zdebug.sh: Likewise.
97
982017-11-29 Mark Wielaard <mark@klomp.org>
99
Mark Wielaard36eabdb2017-11-29 16:27:33 +0100100 * run-readelf-loc.sh: Adjust expected range list output.
101 * run-readelf-zdebug.sh: Likewise.
102
1032017-11-29 Mark Wielaard <mark@klomp.org>
104
Mark Wielaardd5b99ee2017-11-29 16:06:36 +0100105 * run-readelf-dwz-multi.sh: Add expected file names.
106 * run-readelf-zdebug-rel.sh: Likewise.
107
1082017-11-29 Mark Wielaard <mark@klomp.org>
109
Mark Wielaarde6f19902017-11-29 15:58:40 +0100110 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
111 * run-readelf-zdebug-rel.sh: Likewise.
112
1132017-11-29 Mark Wielaard <mark@klomp.org>
114
Mark Wielaard704f5fc2017-11-29 15:43:26 +0100115 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
116 * run-readelf-loc.sh: Likewise.
117 * run-readelf-zdebug-rel.sh: Likewise.
118 * run-readelf-zdebug.sh: Likewise.
119
Mark Wielaard1af6c2b2017-11-16 13:20:11 +01001202017-11-16 Mark Wielaard <mark@klomp.org>
121
122 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
123
Mark Wielaardc0482a72017-11-08 11:25:33 +01001242017-11-10 Mark Wielaard <mark@klomp.org>
125
126 * run-exprlocs-self.sh: New test.
127 * run-varlocs-self.sh: Likewise.
128 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
129 run-varlocs-self.sh.
130 (EXTRA_DIST): Likewise.
131 * varlocs.c (cfi_debug_bias): New global variable.
132 (is_ET_REL): Likewise.
133 (print_expr): Don't crash and burn when CFI cannot be found for an
134 ET_REL file for DW_OP_call_frame_cfa.
135 (handle_die): If there is no entry_pc pick the lowest pc start range
136 for the DIE.
137 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
138 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
139
Mark Wielaardafda91c2017-11-02 16:24:41 +01001402017-11-03 Mark Wielaard <mark@klomp.org>
141
142 * run-exprlocs.sh: New test.
143 * testfile-stridex.bz2: New testfile.
144 * Makefile.am (TESTS): Add run-exprlocs.sh.
145 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
146 * varlocs.c (dwarf_tag_string): New function.
147 (dwarf_attr_string): Likewise.
148 (dwarf_form_string): Likewise.
149 (print_expr): Fix typo in error message.r
150 Handle DW_OP_GNU_variable_value.
151 (attr_arg): New struct.
152 (handle_attr): New function.
153 (handle_die): Likewise.
154 (main): Handle --exprlocs argument. Call handle_die.
155
Mark Wielaarda5c72412017-10-16 16:16:12 +02001562017-10-16 Mark Wielaard <mark@klomp.org>
157
158 * md5-sha1-test.c: Removed.
159 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
160 (TESTS): Likewise.
161 (md5_sha1_test_LDADD): Removed.
162
Mark Wielaardfef9e112017-10-04 16:51:15 +02001632017-10-04 Mark Wielaard <mark@klomp.org>
164
165 * msg_tst.c: Handle ELF_E_INVALID_ELF.
166
Mark Wielaardb10d7eb2017-09-11 00:12:31 +02001672017-09-10 Mark Wielaard <mark@klomp.org>
168
169 * run-ar.sh: New test.
170 * Makefile.am (TESTS): Add run-ar.sh.
171 (EXTRA_DIST): Likewise.
172
Ulf Hermanna5ea0802017-08-18 15:17:38 +02001732017-08-18 Ulf Hermann <ulf.hermann@qt.io>
174
175 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
176
Ulf Hermann07737582017-08-18 12:41:11 +02001772017-04-27 Ulf Hermann <ulf.hermann@qt.io>
178
179 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
180
Dmitry V. Levin8f0140a2017-08-08 19:06:16 +03001812017-08-08 Dmitry V. Levin <ldv@altlinux.org>
182
183 * run-strip-nothing.sh: Add -s.
184
Mark Wielaard2eb1e342017-07-26 18:06:21 +02001852017-07-26 Mark Wielaard <mark@klomp.org>
186
Mark Wielaardf9d791a2017-07-26 23:02:18 +0200187 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
188
1892016-10-27 Mark Wielaard <mjw@redhat.com>
190
Mark Wielaard2eb1e342017-07-26 18:06:21 +0200191 * dwarf_default_lower_bound.c: New test.
192 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
193 (TESTS): Likewise.
194 (dwarf_default_lower_bound_LDADD): New variable.
195
Mark Wielaardc24b9002017-07-21 21:23:07 +02001962017-07-21 Mark Wielaard <mark@klomp.org>
197
198 * get-lines.c (main): Add dwarf_line_file test.
199
Gustavo Romero55a471f2017-07-20 17:49:02 -04002002017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
201
202 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
203 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
204
Mark Wielaard55cb7df2017-07-20 22:34:29 +02002052017-07-20 Mark Wielaard <mark@klomp.org>
206
207 * run-strip-g.sh: New test.
208 * Makefile.am (TESTS): Add run-strip-g.sh.
209 (EXTRA_DIST): Likewise.
210
Mark Wielaard16096792017-07-18 14:12:36 +02002112017-07-18 Mark Wielaard <mark@klomp.org>
212
213 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
214
Ulf Hermannc8e16c12017-05-04 17:27:47 +02002152017-05-04 Ulf Hermann <ulf.hermann@qt.io>
216
217 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
218
Mark Wielaardd03be4f2017-07-14 17:09:40 +02002192017-07-14 Mark Wielaard <mark@klomp.org>
220
221 * run-strip-remove-keep.sh: New test.
222 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
223 (EXTRA_DIST): Likewise.
224
Mark Wielaardb58aebe2017-06-07 20:32:38 +02002252017-06-07 Mark Wielaard <mark@klomp.org>
226
227 * run-strip-nothing.sh: New test.
228 * Makefile.am (TESTS): Add run-strip-nothing.sh.
229 (EXTRA_DIST): Likewise.
230
Mark Wielaarde0b32322017-06-07 14:05:36 +02002312017-06-06 Mark Wielaard <mark@klomp.org>
232
233 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
234
Mark Wielaard660aafc2017-05-21 23:33:15 +02002352017-05-30 Mark Wielaard <mark@klomp.org>
236
237 * run-backtrace-fp-core-ppc64le.sh: New test.
238 * backtrace.ppc64le.fp.core.bz2: New test file.
239 * backtrace.ppc64le.fp.exec.bz2: New testfile.
240 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
241 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
242 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
243 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
244
Ulf Hermannd8437ed2017-04-20 14:41:35 +02002452017-02-13 Ulf Hermann <ulf.hermann@qt.io>
246 Mark Wielaard <mark@klomp.org>
247
248 * Makefile.am: Add test for unwinding with frame pointers on aarch64
249 * backtrace.aarch64.fp.core.bz2: New file
250 * backtrace.aarch64.fp.exec.bz2: New file
251 * run-backtrace-fp-core-aarch64.sh: New file
252 * backtrace-subr.sh (check_err): Allow Invalid register.
253 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
254
Mark Wielaardaecc2a72017-04-07 00:06:30 +02002552017-04-06 Mark Wielaard <mark@klomp.org>
256
257 * run-backtrace-fp-core-i386.sh: New test.
258 * backtrace.i386.fp.core.bz2: New test file.
259 * backtrace.i386.fp.exec.bz2: New testfile.
260 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
261 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
262 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
263
Ulf Hermanna55df2c2017-02-10 15:19:40 +01002642017-02-09 Ulf Hermann <ulf.hermann@qt.io>
265
266 * Makefile.am: Add test for unwinding with frame pointers on x86_64
267 * backtrace.x86_64.fp.core.bz2: New file
268 * backtrace.x86_64.fp.exec.bz2: New file
269 * run-backtrace-fp-core-x86_64.sh: New file
270
Mark Wielaard5e661502017-04-25 12:41:58 +02002712017-04-25 Mark Wielaard <mark@klomp.org>
272
273 * backtrace-subr.sh (check_backtracegen): New function.
274 (check_core): Add check_backtracegen call.
275 * backtrace.ppc.exec.bz2: Regenerated.
276 * backtrace.ppc.core.bz2: Likewise.
277
Mark Wielaard727a90c2017-04-24 13:35:47 +02002782017-04-24 Mark Wielaard <mark@klomp.org>
279
280 * backtrace.c: Remove option to allow unknown symbols in the trace.
281 * backtrace-substr.sh: Remove option to allow unknown symbols
282 to check_core() and allow failed symbol lookups in check_err().
283
Ulf Hermann9c1509a2017-04-20 15:37:04 +02002842017-04-20 Ulf Hermann <ulf.hermann@qt.io>
285
Ulf Hermann9130b532017-04-20 15:47:49 +0200286 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
287 that are set.
288 * run-readelf-zdebug-rel.sh: Likewise.
289
2902017-04-20 Ulf Hermann <ulf.hermann@qt.io>
291
Ulf Hermann9c1509a2017-04-20 15:37:04 +0200292 * backtrace-child.c: Include sys/ptrace.h only on linux.
293 * backtrace-dwarf.c: Likewise.
294
Mark Wielaardcaf135b2017-04-05 17:09:27 +02002952017-04-05 Mark Wielaard <mark@klomp.org>
296
297 * test-subr.sh (testrun_on_self_compressed): New function.
298 * run-elflint-self.sh: Call testrun_on_self_compressed.
299 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
300
Mark Wielaardf339da92017-03-30 12:19:53 +02003012017-03-30 Mark Wielaard <mark@klomp.org>
302
303 * peel_type.c: New file.
304 * run-peel-type.sh: New test.
305 * Makefile.am (check_PROGRAMS): Add peel_type.c.
306 (TESTS): Add run-peel-type.sh.
307 (EXTRA_DIST): Likewise.
308 (peel_type_LDADD): New variable.
309
Mark Wielaarda3bf8f02017-03-27 17:01:57 +02003102017-03-27 Mark Wielaard <mark@klomp.org>
311
312 * fillfile.c: New file.
313 * Makefile.am (check_PROGRAMS): Add fillfile.
314 (TESTS): Likewise.
315 (fillfile_LDADD): New variable.
316
Mark Wielaardb1042ce2017-02-15 14:30:27 +01003172017-02-15 Mark Wielaard <mark@klomp.org>
318
319 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
320 * run-readelf-A.sh: Add testfileppc64.o test.
321
Ulf Hermannb3248e62017-02-16 10:10:30 +01003222017-02-15 Ulf Hermann <ulf.hermann@qt.io>
323
324 * elfstrmerge.c: Include system.h.
325
Ulf Hermanna9d74692017-02-10 15:19:01 +01003262017-02-09 Ulf Hermann <ulf.hermann@qt.io>
327
Ulf Hermannf9971cb2017-02-10 15:19:40 +0100328 * backtrace.c: Add an option to allow unknown symbols in the trace
329 * backtrace-substr.sh: Add an option to allow unknown symbols
330 to check_core() and allow failed symbol lookups in check_err()
331
3322017-02-09 Ulf Hermann <ulf.hermann@qt.io>
333
Ulf Hermanna9d74692017-02-10 15:19:01 +0100334 * backtrace-data.c: Don't assert that symbols are found.
335 The unwinder is allowed to ask for invalid addresses. We deny
336 such requests, rather than make the test fail.
337
Mark Wielaard507e7e22016-11-17 15:19:54 +01003382016-11-17 Mark Wielaard <mjw@redhat.com>
339
340 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
341
Mark Wielaarda3cc8182016-11-02 13:29:26 +01003422016-11-02 Mark Wielaard <mjw@redhat.com>
343
344 * backtrace-data.c (thread_callback): Add explicit break after error.
345 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
346
Kevin Cernekee33ca0e12016-10-23 10:25:56 -07003472016-10-22 Kevin Cernekee <cernekee@chromium.org>
348
349 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
350 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
351 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
352 (run-unstrip-test4.sh): New file.
353 (testfile-strtab.bz2): New file.
354 (testfile-strtab.stripped.bz2): New file.
355 (testfile-strtab.debuginfo.bz2): New file.
356
3572016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Akihiko Odaki60b2bf12016-10-11 23:06:48 +0900358
359 * arextract.c: Remove sys/param.h include, add system.h include.
360
Mark Wielaard16bf45f2016-08-30 13:42:31 +02003612016-08-30 Mark Wielaard <mjw@redhat.com>
362
363 * Makefile.am (asm_tst?_LDADD): Add libdw.
364
Mark Wielaard90084992016-08-25 17:17:23 +02003652016-08-25 Mark Wielaard <mjw@redhat.com>
366
367 * backtrace-child.c: Disable and add documentation about why we disable
368 RAISE_JMP_PATCHING even on x86_64.
369 * backtrace.c (is_x86_64_native): Rename to...
370 (use_raise_jmp_patching): ... this.
371 (callback_verify): Use use_raise_jmp_patching instead of
372 is_x86_64_native.
373 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
374 path.
375 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
376 conditional.
377 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
378 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
379 use_raise_jmp_patching instead of is_x86_64_native.
380
Mark Wielaardf21d5c32016-08-24 17:55:53 +02003812016-08-24 Mark Wielaard <mjw@redhat.com>
382
383 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
384
Jose E. Marchesib944b652016-08-24 06:47:57 -07003852016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
386
387 * testfilesparc64attrs.o.bz2: New file.
388 * run-readelf-A.sh: Check attributes in a sparc object.
389
Mark Wielaard6ff6c212016-08-06 15:13:19 +02003902016-08-06 Mark Wielaard <mjw@redhat.com>
391
392 * run-strip-reloc.sh: Add explicit compressed and uncompressed
393 test cases.
394
Richard Hendersona8b25292016-08-10 12:41:21 +05303952016-08-10 Richard Henderson <rth@redhat.com>
396
397 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
398 output.
399
Mark Wielaarddd906c12016-07-08 14:08:22 +02004002016-07-08 Mark Wielaard <mjw@redhat.com>
401
402 * update3_LDADD: Use libdw instead of libebl.
403 * update4_LDADD: Likewise.
404 * alldts_LDADD: Likewise.
405 * elfstrmerge_LDADD: Likewise.
406 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
407 * elfstrmerge.c (release): Likewise.
408 (main): Likewise.
409 * update3.c (main): Likewise.
410 * update4.c (main): Likewise.
411
Andreas Schwab56dce922016-07-10 17:36:38 +02004122016-07-10 Andreas Schwab <schwab@linux-m68k.org>
413
414 * Makefile.am (TESTS): Add run-strip-test11.sh.
415 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
416 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
417 (run-strip-test11.sh): New file.
418 (hello_m68k.ko.bz2): New file.
419 (testfile-m68k-core.bz2): New file.
420 (testfile-m68k.bz2): New file.
421 (testfile-m68k-s.bz2): New file.
422 * run-allregs.sh: Add test for testfile-m68k-core.
423 * run-readelf-mixed-corenote.sh: Likewise.
424 * run-strip-reloc.sh: Add test for hello_m68k.ko.
425
Mark Wielaard8b5f0172016-07-06 15:27:56 +02004262016-07-06 Mark Wielaard <mjw@redhat.com>
427
428 * Makefile.am (check_PROGRAMS): Add vendorelf.
429 (TESTS): Likewise.
430 (vendorelf_LDADD): New variable.
431 * vendorelf.c: New test.
432 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
433
John Ogness96e140f2016-06-23 16:03:58 +02004342016-06-24 Mark Wielaard <mjw@redhat.com>
435
436 * Makefile.am (check_PROGRAMS): Add emptyfile.
437 (TESTS): Likewise.
438 (emptyfile_LDADD): New variable.
439 * emptyfile.c: New test.
440
Richard Hendersona8b25292016-08-10 12:41:21 +05304412016-06-28 Richard Henderson <rth@redhat.com>
Richard Henderson9a36c922016-06-21 15:10:10 -0700442
443 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
444 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
445 testfile-bpf-dis1.o.bz2
446 (run-disasm-bpf.sh): New file.
447 (testfile-bpf-dis1.expect.bz2): New file.
448 (testfile-bpf-dis1.o.bz2): New file.
449
Mark Wielaardf4dc7642016-02-09 14:18:49 +01004502016-02-09 Mark Wielaard <mjw@redhat.com>
451
452 * testfile-s390x-hash-both.bz2: New testfile.
453 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
454 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
455
Mark Wielaard22035602016-02-04 09:53:41 +01004562016-02-04 Mark Wielaard <mjw@redhat.com>
457
458 * run-strip-nobitsalign.sh: New test.
459 * testfile-nobitsalign.bz2: New testfile.
460 * testfile-nobitsalign.strip.bz2: Likewise.
461 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
462 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
463 and testfile-nobitsalign.strip.bz2.
464 * run-strip-test.sh: Add --gnu to elflint calls.
465
Mark Wielaard344ca072016-01-13 17:16:48 +01004662016-01-13 Mark Wielaard <mjw@redhat.com>
467
Mark Wielaard0cd02dc2016-01-13 23:06:33 +0100468 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
469
4702016-01-13 Mark Wielaard <mjw@redhat.com>
471
Mark Wielaardd4607732016-01-13 22:49:02 +0100472 * dwfl-proc-attach.c: Guard linux specific header.
473
4742016-01-13 Mark Wielaard <mjw@redhat.com>
475
Mark Wielaard344ca072016-01-13 17:16:48 +0100476 * system-elf-libelf-test.c: New test.
477 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
478 (check_PROGRAMS): Likewise.
479 (system_elf_libelf_test_CPPFLAGS): New variable.
480 (system_elf_libelf_test_LDADD): Likewise.
481
Mark Wielaarddd131162016-01-08 13:35:33 +01004822016-01-08 Mark Wielaard <mjw@redhat.com>
483
Mark Wielaard53e44712016-01-08 21:55:58 +0100484 * elfputzdata.c (main): Fix parentheses in strncmp test.
485
4862016-01-08 Mark Wielaard <mjw@redhat.com>
487
Mark Wielaard3a5fc512016-01-08 16:45:12 +0100488 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
489
4902016-01-08 Mark Wielaard <mjw@redhat.com>
491
Mark Wielaarddd131162016-01-08 13:35:33 +0100492 * Makefile.am (TESTS): Always unconditionally add
493 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
494
Mark Wielaard92acb572015-12-01 14:55:07 +01004952015-12-16 Mark Wielaard <mjw@redhat.com>
496
497 * run-compress-test.sh: New test.
498 * Makefile.am (TESTS): Add run-compress-test.sh.
499 (EXTRA_DISTS): Likewise.
500
Mark Wielaard519c13c2015-12-30 01:39:29 +01005012015-11-26 Mark Wielaard <mjw@redhat.com>
502
503 * zstrptr.c: New file.
504 * run-zstrptr.sh: New test.
505 * elfputzdata.c (main): (re)compress .shstrtab.
506 * run-elfputzdata.sh: Expect .shstrtab compression.
507 * Makefile.am (check_PROGRAMS): Add zstrptr.
508 (TESTS): Add run-zstrptr.sh.
509 (EXTRA_DIST): Likewise.
510 (zstrptr_LDADD): New variable.
511
Mark Wielaardf5013e82015-10-21 01:30:44 +02005122015-10-20 Mark Wielaard <mjw@redhat.com>
513
514 * run-readelf-zx.sh: New test.
515 * run-readelf-zp.sh: Likewise.
516 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
517 (EXTRA_DIST): Likewise.
518
Mark Wielaard272018b2015-12-19 01:29:54 +01005192015-10-21 Mark Wielaard <mjw@redhat.com>
520
521 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
522 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
523 (EXTRA_DIST: Likewise.
524 (elfgetzdata_LDADD): New variable.
525 (elfputzdata_LDADD): Likewise.
526 * elfgetzdata.c: New file.
527 * elfputzdata.c: Likewise.
528 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
529 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
530 ELF_E_DECOMPRESS_ERROR.
531 * run-elfgetzdata.sh: New test.
532 * run-elfputzdata.sh: Likewise.
533
Mark Wielaard0c32b6f2015-11-17 23:52:39 +01005342015-10-28 Mark Wielaard <mjw@redhat.com>
535
Mark Wielaardb7105b42015-10-16 22:21:23 +0200536 * run-readelf-z.sh: New test.
537 * Makefile.am (TESTS): Add run-readelf-z.sh.
538 (EXTRA_DIST): Likewise.
539
5402015-10-28 Mark Wielaard <mjw@redhat.com>
541
Mark Wielaard5ddb50a2015-11-20 00:12:37 +0100542 * elfgetchdr.c: New file.
543 * run-elfgetchdr.sh: New test.
544 * testfile-zgabi32.bz2: New testfile.
545 * testfile-zgabi32be.bz2: Likewise.
546 * testfile-zgabi64.bz2: Likewise.
547 * testfile-zgabi64be.bz2: Likewise.
548 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
549 (TESTS): Add run-elfgetchdr.sh.
550 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
551 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
552 (welfgetchdr_LDADD): New variable.
553 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
554 and ELF_E_INVALID_SECTION_FLAGS,
555
556
5572015-10-28 Mark Wielaard <mjw@redhat.com>
558
Mark Wielaard0c32b6f2015-11-17 23:52:39 +0100559 * dwelfgnucompressed.c: New file.
560 * run-dwelfgnucompressed.sh: New test.
561 * testfile-zgnu32.bz2: New testfile.
562 * testfile-zgnu64.bz2: Likewise.
563 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
564 (TESTS): Add run-dwelfgnucompressed.sh.
565 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
566 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
567 (dwelfgnucompressed_LDADD): New variable.
568
Mark Wielaard29ee5122015-12-31 23:03:20 +01005692015-12-31 Mark Wielaard <mjw@redhat.com>
570
571 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
572 * run-elfstrmerge-test.sh: New test.
573 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
574 (EXTRA_DIST): Likewise.
575
Jose E. Marchesia8a22a32015-12-08 19:10:42 +01005762015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
577
578 * run-backtrace-core-sparc.sh: New file.
579 * backtrace.sparc.core.bz2: New file.
580 * backtrace.sparc.exec.bz2: New file.
581 * Makefile.am (EXTRA_DIST): ... and added all here.
582 (TESTS): Added run-backtrace-core-sparc.sh.
583
Mark Wielaarda5a354b2015-12-02 17:27:18 +01005842015-12-02 Mark Wielaard <mjw@redhat.com>
585
586 * Makefile.am (valgrind_cmd): Use --leak-check=full.
587 * run-backtrace-demangle.sh: Disable valgrind.
588 * run-stack-demangled-test.sh: Likewise.
589 * run-stack-d-test.sh: Likewise.
590 * run-stack-i-test.sh: Likewise.
591
Mark Wielaarda1372e02015-12-01 15:55:08 +01005922015-12-01 Mark Wielaard <mjw@redhat.com>
593
594 * test-flag-nobits.c (main): Call elf_end.
595 * rerequest_tag.c (main): Call dwarf_end.
596 * funcscopes.c (handle_function): Free scopes.
597 * dwarf-getstring.c (main): Call dwarf_end.
598 * allregs.c (main): Free state.info.
599 * alldts.c (main): Free dyn.
600 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
601 calls.
602 * addrscopes.c (handle_address): Free scopes.
603
Mark Wielaard9bcd3cb2015-10-16 12:06:34 +02006042015-10-16 Mark Wielaard <mjw@redhat.com>
605
Mark Wielaard528cb452015-10-16 23:07:12 +0200606 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
607 [BUILD_STATIC] (libelf): Likewise.
608
6092015-10-16 Mark Wielaard <mjw@redhat.com>
610
Mark Wielaard9bcd3cb2015-10-16 12:06:34 +0200611 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
612
Josh Stone34254542015-10-09 10:10:37 -07006132015-10-09 Josh Stone <jistone@redhat.com>
614
615 * lfs-symbols: New list of LFS-related symbols from lintian.
616 * testfile-nolfs.bz2: New test binary for sanity checking.
617 * run-lfs-symbols.sh: New test.
618 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
619 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
620 run-lfs-symbols.sh.
621 * alldts.c (main): Replace open64 with open.
622 * dwarf-getstring.c (main): Likewise.
623 * arls.c: Include config.h.
624 * ecp.c: Likewise.
625 * rdwrmmap.c: Likewise.
626 * test-elf_cntl_gelf_getshdr.c: Likewise.
627 * test-flag-nobits.c: Include config.h.
628 (main): Replace open64 with open.
629
Mark Wielaardc53857b2015-10-09 12:07:27 +02006302015-10-09 Mark Wielaard <mjw@redhat.com>
631
632 * elfshphehdr.c (check): Rename argument from check to statement.
633 (check_elf): Likewise.
634
Josh Stonedaee4712015-10-05 11:04:15 -07006352015-10-05 Josh Stone <jistone@redhat.com>
636
637 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
638
Mark Wielaarddf7dfab2015-08-11 21:38:38 +02006392015-10-02 Mark Wielaard <mjw@redhat.com>
640
641 * elfstrmerge.c: New check program.
642 * run-strip-strmerge.sh: New test.
643 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
644 (EXTRA_DIST): Add run-strip-strmerge.sh
645 (elfstrmerge_LDADD): New variable.
646
Mark Wielaard3adda3c2015-09-29 17:04:11 +02006472015-09-29 Mark Wielaard <mjw@redhat.com>
648
649 * elfshphehdr.c: New test.
650 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
651 (TESTS): Likewise.
652 (elfshphehdr_LDADD): New variable.
653
Mark Wielaard87985092015-09-07 12:52:12 +02006542015-09-08 Mark Wielaard <mjw@redhat.com>
655
656 * dwfl-proc-attach.c: New test.
657 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
658 (TESTS): Likewise.
659 (dwfl_proc_attach_LDADD): New variable.
660 (dwfl_proc_attach_LDFLAGS): Likewise.
661
Chih-Hung Hsieh2ec95732015-09-04 10:13:02 -07006622015-09-04 Chih-Hung Hsieh <chh@google.com>
663
Chih-Hung Hsiehb85f80a2015-09-04 12:04:11 -0700664 * varlocs.c (print_base_type): Initialize enctype.
665
6662015-09-04 Chih-Hung Hsieh <chh@google.com>
667
Chih-Hung Hsieh4cb8f612015-09-04 12:04:11 -0700668 * md5-sha1-test.c (md5_expected): Removed.
669 (sha1_expected): Likewise.
670
6712015-09-04 Chih-Hung Hsieh <chh@google.com>
672
Chih-Hung Hsieh2ec95732015-09-04 10:13:02 -0700673 * asm-tst1.c (main): Replace %Z length modifier with %z.
674 * asm-tst2.c (main): Likewise.
675 * asm-tst3.c (main): Likewise.
676 * asm-tst4.c (main): Likewise.
677 * asm-tst5.c (main): Likewise.
678 * asm-tst6.c (main): Likewise.
679 * asm-tst7.c (main): Likewise.
680 * asm-tst8.c (main): Likewise.
681 * asm-tst9.c (main): Likewise.
682 * sectiondump.c (print_bytes): Likewise.
683
Mark Wielaardc689d902015-08-14 15:50:12 +02006842015-08-14 Mark Wielaard <mjw@redhat.com>
685
686 * run-addr2line-alt-debugpath.sh: New test.
687 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
688 (EXTRA_DIST): Likewise.
689
Mark Wielaardf9fc50c2015-07-29 17:51:27 +02006902015-07-29 Mark Wielaard <mjw@redhat.com>
691
692 * run-unstrip-test3.sh: New test.
693 * testfile-info-link.bz2: New file.
694 * testfile-info-link.debuginfo.bz2: Likewise.
695 * testfile-info-link.stripped.bz2: Likewise.
696 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
697 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
698 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
699
Pino Toscano349d1cd2015-06-27 18:33:37 +02007002015-06-27 Pino Toscano <toscano.pino@tiscali.it>
701
Pino Toscano26d5a632015-06-27 19:23:01 +0200702 * tests/run-deleted.sh: Skip when detecting a not implemented
703 dwfl_linux_proc_attach.
704
7052015-06-27 Pino Toscano <toscano.pino@tiscali.it>
706
Pino Toscano349d1cd2015-06-27 18:33:37 +0200707 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
708 dwfl_addrmodule.
709
Pino Toscano65251492015-06-26 20:36:01 +02007102015-06-26 Pino Toscano <toscano.pino@tiscali.it>
711
Pino Toscano204e36e2015-06-26 20:38:31 +0200712 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
713
7142015-06-26 Pino Toscano <toscano.pino@tiscali.it>
715
Pino Toscano65251492015-06-26 20:36:01 +0200716 * tests/backtrace-data.c: Reduce scope of some includes to match their
717 usage.
718 * tests/backtrace.c: Likewise.
719 * tests/deleted.c: Likewise.
720
Mark Wielaard0d011652015-06-16 14:05:35 +02007212015-06-16 Mark Wielaard <mjw@redhat.com>
722
723 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
724 for non-ET_REL files.
725
Mark Wielaard7ec8d272015-05-30 23:00:40 +02007262015-05-30 Mark Wielaard <mjw@redhat.com>
727
728 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
729 generated before skipping.
730 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
731 before skipping.
732 * run-backtrace-demangle.sh: Likewise.
733 * run-stack-demangled-test.sh: Likewise.
734 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
735 before skipping.
736 * run-backtrace-native-core-biarch.sh: Likewise.
737 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
738
Mark Wielaardd76d73f2015-05-19 23:08:00 +02007392015-05-20 Mark Wielaard <mjw@redhat.com>
740
Mark Wielaardb23a5b22015-05-20 14:09:46 +0200741 * run-addr2line-i-test.sh: Add pretty test.
742 * run-addr2line-test.sh: Likewise.
743
7442015-05-20 Mark Wielaard <mjw@redhat.com>
745
Mark Wielaardcd2da6c2015-05-20 11:52:27 +0200746 * run-addr2line-i-demangle-test.sh: New test.
747 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
748 (EXTRA_DIST): Likewise.
749
7502015-05-20 Mark Wielaard <mjw@redhat.com>
751
Mark Wielaard70a504d2015-05-19 16:21:27 +0200752 * run-addr2line-test.sh: Add -a test variants.
753 * run-addr2line-i-test.sh: Likewise.
754
7552015-05-20 Mark Wielaard <mjw@redhat.com>
756
Mark Wielaardd76d73f2015-05-19 23:08:00 +0200757 * run-addrname-test.sh: Make sure all input addresses are hex.
758
Max Filippovc801acf2015-05-04 20:17:52 +03007592015-05-04 Max Filippov <jcmvbkbc@gmail.com>
760
761 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
762 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
763 (main): Likewise.
764 * backtrace-dwarf.c (main): Likewise.
765 * backtrace.c (prepare_thread, exec_dump): Likewise.
766
Anthony G. Basile1ab3c2b2015-05-04 02:25:39 +03007672015-05-04 Anthony G. Basile <blueness@gentoo.org>
768
769 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
770 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
771 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
772 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
773 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
774
Mark Wielaarde6e80da2015-05-01 10:31:36 +02007752015-05-01 Mark Wielaard <mjw@redhat.com>
776
777 * run-stack-d-test.sh: Use --raw and mangled output.
778 * run-stack-i-test.sh: Likewise.
779 * run-stack-demangled-test.sh: New test.
780 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
781 (TESTS): Likewise.
782
H.J. Lu5bbf0392015-03-25 05:44:57 -07007832015-04-01 H.J. Lu <hjl.tools@gmail.com>
784
H.J. Lu224e2e62015-03-25 09:19:08 -0700785 * Makefile.am (TESTS): Add run-strip-test10.sh.
786 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
787 Add testfile-x32-debug.bz2.
788 * run-strip-test10.sh: New file.
789 * testfile-x32-d.bz2: Likewise.
790 * testfile-x32-debug.bz2: Likewise.
791
7922015-04-01 H.J. Lu <hjl.tools@gmail.com>
793
H.J. Luf1bde8d2015-03-25 08:16:56 -0700794 * Makefile.am (TESTS): Add run-strip-test9.sh.
795 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
796 * run-strip-test9.sh: New file.
797 * testfile-x32-s.bz2: Likewise.
798
7992015-04-01 H.J. Lu <hjl.tools@gmail.com>
800
H.J. Lu6de72762015-03-25 07:22:43 -0700801 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
802 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
803 Add backtrace.x32.exec.bz2.
804 * backtrace.x32.core.bz2 : New file.
805 * backtrace.x32.exec.bz2: Likewise.
806 * run-backtrace-core-x32.sh: Likewise.
807
8082015-04-01 H.J. Lu <hjl.tools@gmail.com>
809
H.J. Luaa19e592015-03-25 06:44:09 -0700810 * run-addrcfi.sh: Add a test for testfile-x32.
811 * testfile-x32.bz2: New file.
812 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
813
8142015-04-01 H.J. Lu <hjl.tools@gmail.com>
815
H.J. Lu8c78ff02015-03-25 05:57:09 -0700816 * run-allregs.sh: Add a test for testfile-x32-core.
817
8182015-04-01 H.J. Lu <hjl.tools@gmail.com>
819
H.J. Lu5bbf0392015-03-25 05:44:57 -0700820 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
821 * testfile-x32-core.bz2: New file.
822 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
823
Petr Machata06457da2015-03-18 19:35:16 +01008242015-03-18 Petr Machata <pmachata@redhat.com>
825
Petr Machata7f617342015-03-18 19:42:02 +0100826 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
827 the API changes.
828 * allregs.c (dwarf_encoding_string): Likewise.
829 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
830 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
831
8322015-03-18 Petr Machata <pmachata@redhat.com>
833
Petr Machata06457da2015-03-18 19:35:16 +0100834 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
835 debug-ranges-no-lowpc.o.bz2.
836
Mark Wielaard0a35e3a2015-03-13 23:51:40 +01008372015-03-13 Mark Wielaard <mjw@redhat.com>
838
839 * backtrace-dwarf.c: Add explicit includes.
840 (cleanup_13_abort): Remove unused static declaration.
841 (thread_callback): Add explicit return.
842
H.J. Lube7ea702015-03-12 12:14:43 -07008432015-03-13 H.J. Lu <hjl.tools@gmail.com>
844
845 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
846 instead of PTRACE_POKEUSER.
847 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
848 is_x86_64_native.
849
Mark Wielaard2e096352015-02-19 00:43:59 +01008502015-02-18 Mark Wielaard <mjw@redhat.com>
851
852 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
853
Josh Stone3d114102015-02-11 14:25:37 -08008542015-02-11 Josh Stone <jistone@redhat.com>
855
856 * backtrace.c (exec_dump): Initialize jmp.
857
Petr Machatab4da85d2015-02-11 22:11:46 +01008582015-02-11 Petr Machata <pmachata@redhat.com>
859
860 * run-dwarf-ranges.sh: New test.
861 * dwarf-ranges.c: New file.
862 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
863
Mark Wielaard710ca872015-01-21 23:56:43 +01008642015-01-21 Mark Wielaard <mjw@redhat.com>
865
866 * Makefile.am (check_PROGRAMS): Add elfstrtab.
867 (TESTS): Likewise.
868 (elfstrtab_LDADD): New variable.
869 * elfstrtab.c: New test.
870
Mark Wielaard058ae7b2015-01-20 14:52:41 +01008712015-01-20 Mark Wielaard <mjw@redhat.com>
872
Mark Wielaardb543cdd2015-01-20 21:55:55 +0100873 * Makefile.am (check_PROGRAMS): Add newdata.
874 (TESTS): Likewise.
875 (newdata_LDADD): new variable.
876 * newdata.c: New test.
877
8782015-01-20 Mark Wielaard <mjw@redhat.com>
879
Mark Wielaard058ae7b2015-01-20 14:52:41 +0100880 * strptr.c: New file.
881 * run-strptr.sh: New test.
882 * Makefile.am (check_PROGRAMS): Add strptr.
883 (TESTS): Add run-strptr.sh.
884 (EXTRA_DIST): Likewise.
885 (strptr_LDADD): New variable.
886
Mark Wielaardcc74c212015-01-15 13:39:06 +01008872015-01-15 Mark Wielaard <mjw@redhat.com>
888
889 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
890 * vdsosyms.c (main): Use getpid () instead of getppid ().
891
Mark Wielaardf8198f22014-12-27 16:16:29 +01008922014-12-27 Mark Wielaard <mjw@redhat.com>
893
894 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
895 * funcscopes.c (handle_function): Likewise.
896 * run-addrscopes.sh: Adjust last address in scope.
897 * run-funcscopes.sh: Likewise.
898
Mark Wielaardb4b2de92015-01-07 23:39:28 +01008992015-01-07 Mark Wielaard <mjw@redhat.com>
900
901 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
902
Mark Wielaard47efc3b2015-01-14 21:38:16 +01009032015-01-14 Mark Wielaard <mjw@redhat.com>
904
905 * testfile-debug-types.bz2: New testfile.
906 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
907 * typeiter2.c (main): Print both name and offset of found form DIE.
908 * run-typeiter.s: Adjust output and add testfile-debug-types.
909
Mark Wielaard8fb260f2014-12-26 16:20:39 +01009102014-12-26 Mark Wielaard <mjw@redhat.com>
911
912 * run-test-archive64.sh: Add nm test.
913
Mark Wielaardcdfc8532014-12-19 18:33:52 +01009142014-12-19 Mark Wielaard <mjw@redhat.com>
915
Mark Wielaard3943a382014-12-19 20:53:22 +0100916 * run-deleted.sh: Don't check libfunc on ppc64.
917
9182014-12-19 Mark Wielaard <mjw@redhat.com>
919
Mark Wielaard7152afa2014-12-19 18:54:04 +0100920 * vdsosyms.c (vdso_seen): Removed.
921 (vdso_syms): New global.
922 (module_callback): Set and check vdso_syms.
923 (main): Return value depends on vdso_syms.
924
9252014-12-19 Mark Wielaard <mjw@redhat.com>
926
Mark Wielaardcdfc8532014-12-19 18:33:52 +0100927 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
928 grep a little.
929 * run-deleted.sh: Call check_native_unsupported.
930
Mark Wielaarde80d3242014-12-18 23:07:12 +01009312014-12-18 Mark Wielaard <mjw@redhat.com>
932
933 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
934
Mark Wielaardf3111d52014-12-12 21:51:27 +01009352014-12-12 Mark Wielaard <mjw@redhat.com>
936
937 * Makefile.am (deleted_lib_so_CFLAGS): Add
938 -fasynchronous-unwind-tables.
939
Josh Stone080fa4e2014-12-11 17:19:23 -08009402014-12-11 Josh Stone <jistone@redhat.com>
941
942 * run-addr2line-i-lex-test.sh: New test.
943 * testfile-lex-inlines.bz2: New testfile.
944 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
945 testfile-lex-inlines.bz2.
946 (TESTS): Add run-addr2line-i-lex-test.sh.
947
Josh Stone2098b3d2014-12-10 11:14:40 -08009482014-12-10 Josh Stone <jistone@redhat.com>
949
950 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
951 preferred over the plain die name.
952
Petr Machataedb079a2014-12-02 21:22:14 +01009532014-12-02 Petr Machata <pmachata@redhat.com>
954
955 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
956 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
957 (main): Initialize off to DWARF_GETMACROS_START when an extra
958 command line argument is passed.
959 * testfile-macros-0xff.bz2: New test case.
960 * testfile-macros-0xff.s: New file (source for the above).
961 * run-dwarf-getmacros.sh: Add two tests.
962
Mark Wielaard44662162014-11-27 23:19:47 +01009632014-11-27 Mark Wielaard <mjw@redhat.com>
964
965 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
966
Mark Wielaard9644aaf2014-11-21 23:26:35 +01009672014-11-21 Mark Wielaard <mjw@redhat.com>
968
969 * run-readelf-A.sh: New test.
970 * testfileppc32attrs.o.bz2: New test file.
971 * Makefile.am (TESTS): Add run-readelf-A.sh.
972 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
973
Mark Wielaard5691f862014-11-10 14:49:20 +01009742014-11-10 Mark Wielaard <mjw@redhat.com>
975
976 * vdsosyms.c: New test.
977 * Makefile.am (check_PROGRAMS): Add vdsosyms.
978 (TESTS): Likewise.
979 (vdsosyms_LDADD): New variable.
980
Petr Machata0a1e81b2014-10-17 02:47:15 +02009812014-09-10 Petr Machata <pmachata@redhat.com>
982
983 * dwarf-getmacros.c: Update to use the new macro iteration
984 interfaces.
985 * run-dwarf-getmacros.sh: Adjust, add a test that uses
986 testfile-macros.
987
Mark Wielaard3a36e8a2014-10-06 22:00:16 +02009882014-10-06 Mark Wielaard <mjw@redhat.com>
989
990 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
991 * testfile-sizes3.o.bz2: New test file.
992 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
993
Mark Wielaardb50014f2014-10-02 14:00:47 +02009942014-10-02 Mark Wielaard <mjw@redhat.com>
995
Mark Wielaard281ebd72014-10-02 22:53:44 +0200996 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
997
9982014-10-02 Mark Wielaard <mjw@redhat.com>
999
Mark Wielaardb50014f2014-10-02 14:00:47 +02001000 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
1001 (TESTS): Add run-aggregate-size.sh.
1002 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
1003 and testfile-sizes2.o.bz2.
1004 (aggregate_size_LDADD): New variable.
1005 * aggregate_size.c: New file.
1006 * run-aggregate-size.sh: New test.
1007 * testfile-sizes1.o.bz2: New test file.
1008 * testfile-sizes2.o.bz2: Likewise.
1009
Jan Kratochvil6d48bbf2014-09-26 22:42:19 +020010102014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1011
1012 Support NT_FILE for locating files.
1013 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
1014 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
1015 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
1016 * linkmap-cut-lib.so.bz2: New file.
1017 * linkmap-cut.bz2: New file.
1018 * linkmap-cut.core.bz2: New file.
1019 * run-linkmap-cut.sh: New file.
1020 * run-unstrip-n.sh: Update its expected output.
1021
Jan Kratochvil03750562014-08-17 18:49:36 +020010222014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1023
1024 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
1025 (TESTS, EXTRA_DIST): Add run-deleted.sh.
1026 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
1027 * deleted-lib.c: New file.
1028 * deleted.c: New file.
1029 * run-deleted.sh: New file.
1030
Mark Wielaard41362da2014-06-15 11:35:50 +020010312014-06-15 Mark Wielaard <mjw@redhat.com>
1032
1033 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
1034
Mark Wielaardcb5ac6e2014-06-14 01:01:58 +020010352014-06-13 Mark Wielaard <mjw@redhat.com>
1036
Mark Wielaard1986c172014-06-14 01:09:17 +02001037 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
1038 frame symname.
1039
10402014-06-13 Mark Wielaard <mjw@redhat.com>
1041
Mark Wielaardcb5ac6e2014-06-14 01:01:58 +02001042 * backtrace-subr.sh (check_native_unsupported): New function.
1043 (check_native): Call it.
1044 (check_native_core): Likewise.
1045 * run-backtrace-dwarf.sh: Likewise.
1046
Mark Wielaard14beac32014-06-11 15:14:23 +020010472014-06-11 Mark Wielaard <mjw@redhat.com>
1048
1049 * backtrace.c (main): Check that Dwfl was attached by calling
1050 dwfl_pid and printing the error when it is not.
1051
Mark Wielaard85482fc2014-05-18 22:41:19 +020010522014-05-18 Mark Wielaard <mjw@redhat.com>
1053
1054 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1055 (f): Likewise.
1056 * testfile-backtrace-demangle.bz2: Regenerate.
1057 * testfile-backtrace-demangle.core.bz2: Likewise.
1058
Mark Wielaardbb096d02014-05-03 00:23:06 +020010592014-05-02 Mark Wielaard <mjw@redhat.com>
1060
1061 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1062 run-allfcts-multi.sh are now added unconditionally.
1063
Mark Wielaarddf85bf92014-05-01 14:48:27 +020010642014-05-01 Mark Wielaard <mjw@redhat.com>
1065
1066 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1067 subdir.
1068
Mark Wielaardd81d32d2014-04-30 23:00:40 +020010692014-04-30 Mark Wielaard <mjw@redhat.com>
1070
1071 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1072 * Makefile.am (check_PROGRAMS): Add buildid.
1073 (TESTS): Add run-buildid.sh.
1074 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1075 (buildid_LDADD): New variable.
1076
Florian Weimer4813dbb2014-04-24 14:06:43 +020010772014-04-24 Florian Weimer <fweimer@redhat.com>
1078
Florian Weimer22481652014-04-15 16:58:39 +02001079 * allfcts.c (setup_alt): New function.
1080 (main): Call it. Implementation additional error checking and
1081 reporting.
1082
10832014-04-24 Florian Weimer <fweimer@redhat.com>
1084
Florian Weimer4813dbb2014-04-24 14:06:43 +02001085 * debugaltlink.c, run-debugaltlink.sh: New files.
1086 * Makefile.am (check_PROGRAMS): Add debugaltlink.
1087 (TESTS): Add run-debugaltlink.sh.
1088 (debugaltlink_LDADD): New variable.
1089
Mark Wielaard93802972014-04-11 23:52:47 +020010902014-04-11 Mark Wielaard <mjw@redhat.com>
1091
1092 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1093 (check_PROGRAMS): Add debuglink.
1094 (TESTS): Add run-debuglink.sh
1095 (EXTRA_DIST): Likewise.
1096 (debuglink_LDADD): New.
1097 * debuglink.c: New file.
1098 * run-debuglink.sh: Likewise.
1099
Mark Wielaardfe4b5fd2014-04-23 09:54:30 +020011002014-03-23 Mark Wielaard <mjw@redhat.com>
1101
1102 * run-nm-self.sh: Use test = not == for string comparisons.
1103
Kurt Roeckx02cefda2014-04-22 21:46:22 +020011042014-04-22 Kurt Roeckx <kurt@roeckx.be>
1105
1106 * backtrace.c: Make Linux only.
1107 * backtrace-child.c: Make Linux only.
1108 * backtrace-data.c: Make Linux only.
1109 * backtrace-dwarf.c: Make Linux only.
1110 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1111
Mark Wielaard32324792014-04-13 17:39:57 +020011122014-03-14 Mark Wielaard <mjw@redhat.com>
1113
1114 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1115 LDADD lines.
1116 * configure.ac: Remove MUDFLAP conditional.
1117
Mark Wielaardf7cdc742014-04-09 22:38:07 +020011182014-04-09 Mark Wielaard <mjw@redhat.com>
1119
1120 * run-readelf-zdebug.sh: New test.
1121 * testfile-debug.bz2: New testfile.
1122 * testfile-zdebug.bz2: New testfile.
1123 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1124 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1125 testfile-zdebug.bz2.
1126
Mark Wielaard110c2732014-04-10 15:02:53 +020011272014-04-10 Mark Wielaard <mjw@redhat.com>
1128
1129 * testfile_i686_core.bz2: New test file.
1130 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1131 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1132
Mark Wielaard66637fa2014-04-09 11:48:23 +020011332014-04-09 Mark Wielaard <mjw@redhat.com>
1134
1135 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1136 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1137 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1138 * run-backtrace-core-aarch64.sh: New test.
1139
Josh Stone51fff302014-03-11 18:13:55 -070011402014-03-11 Josh Stone <jistone@redhat.com>
1141
1142 * testfilebaxmin.bz2: New testfile.
1143 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1144 * run-readelf-s.sh: Test testfilebaxmin.
1145 * run-dwflsyms.sh: Likewise.
1146
Mark Wielaard225dddf2014-01-26 20:16:48 +010011472014-01-26 Mark Wielaard <mjw@redhat.com>
1148
1149 * backtrace-subr.sh (check_unsupported): Special case arm*.
1150
Mark Wielaarda02d90a2014-01-25 14:32:42 +010011512014-01-25 Mark Wielaard <mjw@redhat.com>
1152
1153 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1154 location expression: call_frame_cfa stack_value.
1155
Mark Wielaardf48eb6b2014-01-23 00:56:41 +010011562014-01-22 Mark Wielaard <mjw@redhat.com>
1157
1158 * Makefile.am (line2addr_no_Wformat): Removed.
1159
Mark Wielaard13968d92014-01-21 16:13:49 +010011602014-01-21 Mark Wielaard <mjw@redhat.com>
1161
1162 * Makefile.am (TESTS): Add run-stack-i-test.sh.
1163 (EXTRA_DIST): Likewise.
1164 * run-stack-i-test.sh: New test.
1165
Mark Wielaard531a30a2014-01-20 23:09:26 +010011662014-01-20 Mark Wielaard <mjw@redhat.com>
1167
1168 * Makefile.am (TESTS): Add run-stack-d-test.sh.
1169 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1170 testfiledwarfinlines.core.bz2.
1171 * run-stack-d-test.sh: New test.
1172 * testfiledwarfinlines.bz2: New test file.
1173 * testfiledwarfinlines.core.bz2: Likewise.
1174
Mark Wielaardd7cffa72014-01-16 09:45:51 +010011752014-01-16 Mark Wielaard <mjw@redhat.com>
1176
Mark Wielaardc80375d2014-01-16 13:48:24 +01001177 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1178 on one ET_REL, one ET_EXEC and one ET_DYN file.
1179 * test-subr.sh (self_test_files): Add two ET_REL files, only add
1180 two libebl ET_DYN backend files.
1181
11822014-01-16 Mark Wielaard <mjw@redhat.com>
1183
Mark Wielaardd7cffa72014-01-16 09:45:51 +01001184 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1185
Jan Kratochvil435808a2014-01-18 21:56:13 +010011862014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1187
1188 Fix false FAILs on testsuite with ulimit -c unlimited.
1189 * backtrace-child.c (sigusr2): Call pthread_exit.
1190 (main): Return, do not call abort.
1191
Jan Kratochvil7c6e7852014-01-15 21:16:57 +010011922014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1193
1194 Fix corruption of non-C++ symbols by the demangler.
1195 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1196 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1197 (EXTRA_DIST): Add run-backtrace-demangle.sh,
1198 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1199 testfile-backtrace-demangle.core.bz2.
1200 * backtrace-demangle.cc: New file.
1201 * run-backtrace-demangle.sh: New file.
1202 * testfile-backtrace-demangle.bz2: New file.
1203 * testfile-backtrace-demangle.cc: New file.
1204 * testfile-backtrace-demangle.core.bz2: New file.
1205
Matthias Klosee922ec42014-01-07 10:25:29 +010012062014-01-07 Matthias Klose <doko@ubuntu.com>
1207
1208 * backtrace-subr.sh (check_native_core): Check to see if core file
1209 was created without ".PID" extension, if so mv core to core.PID.
1210 Skip test if no core file was created or could be found.
1211
Mark Wielaard4f1c96d2014-01-04 14:24:58 +010012122014-01-04 Mark Wielaard <mjw@redhat.com>
1213
Mark Wielaard70c3a532014-01-04 23:28:33 +01001214 * backtrace-data.c (main): Don't assert if raise returns.
1215 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1216 assume_ptrace_attached true.
1217 (ptrace_detach_stopped): Removed function.
1218 (main): Don't call ptrace_detach_stopped.
1219 * backtrace.c (ptrace_detach_stopped): Removed function.
1220 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1221 true.
1222 (exec_dump): Don't call ptrace_detach_stopped.
1223
12242014-01-04 Mark Wielaard <mjw@redhat.com>
1225
Mark Wielaard1051a0c2014-01-04 15:41:04 +01001226 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1227 if we cannot adjust core ulimit.
1228
12292014-01-04 Mark Wielaard <mjw@redhat.com>
1230
Mark Wielaard4f1c96d2014-01-04 14:24:58 +01001231 * cleanup-13.c (force_unwind_stop): Removed.
1232 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1233 don't call _Unwind_ForcedUnwind.
1234
Mark Wielaardb92af192014-01-03 18:15:02 +010012352014-01-03 Mark Wielaard <mjw@redhat.com>
1236
1237 * run-addrcfi.sh: Add case for EM_AARCH64.
1238 * testfileaarch64.bz2: New testfile.
1239 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1240
Mark Wielaard19108012013-12-30 22:00:57 +010012412013-12-30 Mark Wielaard <mjw@redhat.com>
1242
1243 * backtrace-dwarf.c (report_pid): Explicitly call
1244 dwfl_linux_proc_attach and check for errors.
1245 * backtrace.c (report_pid): Likewise.
1246
Mark Wielaardb6ef1ce2013-12-21 19:39:19 +010012472013-12-21 Mark Wielaard <mjw@redhat.com>
1248
1249 * backtrace.c (callback_verify): Only assert that case 5 is the last
1250 instruction of backtracegen on x86_64 native.
1251
Jan Kratochvilc6a41482013-12-17 18:49:54 +010012522013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Mark Wielaard159ac522013-12-18 11:05:54 +01001253 Mark Wielaard <mjw@redhat.com>
1254
1255 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1256 and testfilebaz*ppc64*.bz2 files.
1257 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
1258 error on dwfl_module_getsymtab error.
1259 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1260 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1261 Also print section of actual value if different from sym.
1262 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1263 Test addr2line -x by showing different sections for address and
1264 found name in testfile66.
1265 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1266 testfilebaz*ppc64): New tests.
1267 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1268 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1269 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1270 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1271 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1272 testfilebaztabppc64.bz2: New test files.
1273
12742013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvilc6a41482013-12-17 18:49:54 +01001275
1276 unwinder: s390 and s390x
1277 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1278 run-backtrace-core-s390.sh.
1279 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1280 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1281 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1282 * backtrace.s390.core.bz2: New file.
1283 * backtrace.s390.exec.bz2: New file.
1284 * backtrace.s390x.core.bz2: New file.
1285 * backtrace.s390x.exec.bz2: New file.
1286 * run-backtrace-core-s390.sh: New file.
1287 * run-backtrace-core-s390x.sh: New file.
1288
Jan Kratochvilb3c810f2013-12-17 21:11:48 +010012892013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1290
1291 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1292 code.
1293
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +010012942013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1295
1296 unwinder: ppc
1297 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1298 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1299 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1300 * backtrace.ppc.core.bz2: New file.
1301 * backtrace.ppc.exec.bz2: New file.
1302 * run-backtrace-core-ppc.sh: New file.
1303
Mark Wielaard7fc49292013-12-13 22:42:46 +010013042013-12-10 Mark Wielaard <mjw@redhat.com>
1305
Mark Wielaard63572f42013-12-13 23:12:18 +01001306 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1307
13082013-12-10 Mark Wielaard <mjw@redhat.com>
1309
Mark Wielaard7fc49292013-12-13 22:42:46 +01001310 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1311 * backtrace-subr.sh (check_native_core): Disable valgrind while
1312 dumping core.
1313 * run-backtrace-data.sh: Disable valgrind.
1314 * run-backtrace-dwarf.sh: Likewise.
1315
Mark Wielaard3951f2e2013-12-09 16:33:26 +010013162013-12-09 Mark Wielaard <mjw@redhat.com>
1317
1318 * varlocs.c (print_expr): Update comment to explain empty location
1319 associated with DW_OP_GNU_implicit_pointer.
1320
Jan Kratochvilf88863f2013-12-05 16:16:14 +010013212013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1322
1323 Fix test FAIL with -O2.
1324 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1325
Mark Wielaard813aae02013-12-05 15:26:51 +010013262013-12-05 Mark Wielaard <mjw@redhat.com>
1327
1328 * backtrace-data.c (main): If unsupported also print to stderr.
1329 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1330
Mark Wielaard1bfab192013-12-04 20:55:23 +010013312013-12-04 Mark Wielaard <mjw@redhat.com>
1332
1333 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1334
Jan Kratochvil8ae9bc92013-12-02 20:54:28 +010013352013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1336
1337 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1338 backtrace-data and backtrace-dwarf.
1339 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1340 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1341 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1342 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1343 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1344 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1345 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1346 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1347 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1348 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1349 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1350 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1351 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1352 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1353 New.
1354 * backtrace-child.c: New file.
1355 * backtrace-data.c: New file.
1356 * backtrace-dwarf.c: New file.
1357 * backtrace-subr.sh: New file.
1358 * backtrace.c: New file.
1359 * cleanup-13.c: New file.
1360 * backtrace.i386.core.bz2: New file.
1361 * backtrace.i386.exec.bz2: New file.
1362 * backtrace.x86_64.core.bz2: New file.
1363 * backtrace.x86_64.exec.bz2: New file.
1364 * run-backtrace-core-i386.sh: New file.
1365 * run-backtrace-core-x86_64.sh: New file.
1366 * run-backtrace-native-biarch.sh: New file.
1367 * run-backtrace-native-core-biarch.sh: New file.
1368 * run-backtrace-native-core.sh: New file.
1369 * run-backtrace-native.sh: New file.
1370 * run-backtrace-data.sh: New file.
1371 * run-backtrace-dwarf.sh: New file.
1372
Mark Wielaard819c3492013-11-27 16:45:44 +010013732013-11-27 Mark Wielaard <mjw@redhat.com>
1374
1375 * dwflsyms.c (gelf_bind_order): New function.
1376 (elf_section_name): Likewise.
1377 (addr_in_section): Likewise.
1378 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1379 Refine assert using gelf_bind_order. Print elf_section_name. Check
1380 bias with addr_in_section.
1381 * run-dwflsyms.sh: Add section names to expected output.
1382
Mark Wielaard0d5a8672013-11-26 10:44:18 +010013832013-11-26 Mark Wielaard <mjw@redhat.com>
1384
1385 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1386
Petr Machata98c8a732013-11-26 03:10:31 +010013872013-11-25 Petr Machata <pmachata@redhat.com>
1388
1389 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1390 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1391 * Makefile.am (EXTRA_DIST): Add these.
1392 (TESTS): Add run-funcretval.sh.
1393 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1394 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1395 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1396 * run-funcretval.sh: New file.
1397
Josh Stonedb35c872013-11-18 14:29:35 -080013982013-11-18 Josh Stone <jistone@redhat.com>
1399
1400 * testfilebazdbg_plr.bz2: New testfile.
1401 * testfilebazmin_plr.bz2: Likewise.
1402 * Makefile.am (EXTRA_DIST): Add the above files.
1403 * run-dwflsyms.sh: Add prelink -r tests.
1404
Mark Wielaard68ce4fc2013-11-16 00:11:38 +010014052013-11-15 Mark Wielaard <mjw@redhat.com>
1406
1407 * testfilebazmdb.bz2: Regenerated.
1408 * testfilebazmin.bz2: Likewise.
1409 * testfilebazdbg_pl.bz2: New testfile.
1410 * testfilebazmin_pl.bz2: Likewise.
1411 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1412 testfilebazmin_pl.bz2.
1413 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1414 print relative address of function symbols.
1415 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1416
Michael Forneya45c8042013-11-01 00:51:04 -070014172013-11-01 Michael Forney <mforney@mforney.org>
1418
1419 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1420 * run-arsymtest.sh: Use NM.
1421
Mark Wielaardd8c75df2013-11-05 11:27:19 +010014222013-11-05 Mark Wielaard <mjw@redhat.com>
1423
1424 * allfcts.c (main): Correct dwarf_getfuncs return value check.
1425
Mark Wielaarde6a9bb82013-10-10 11:40:12 +020014262013-10-10 Mark Wielaard <mjw@redhat.com>
1427 Josh Stone <jistone@redhat.com>
1428
1429 * run-allfcts-multi.sh: New test.
1430 * test-offset-loop.bz2: New testfile.
1431 * test-offset-loop.alt.bz2: New testfile.
1432 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1433 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1434 test-offset-loop.alt.bz2.
1435
Mark Wielaardd1829742013-10-15 23:53:32 +020014362013-10-15 Mark Wielaard <mjw@redhat.com>
1437
1438 * run-unstrip-M.sh: New test.
1439 * Makefile.am (TESTS): Add run-unstrip-M.sh.
1440 (EXTRA_DIST): Likewise.
1441
Mark Wielaard3dec3e12013-10-06 17:04:07 +020014422013-10-06 Mark Wielaard <mjw@redhat.com>
1443
1444 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1445 location expression.
1446
Josh Stone5dbbc5e2013-10-03 12:38:25 -070014472013-10-03 Josh Stone <jistone@redhat.com>
1448
1449 * typeiter2.c: New file, reversing typeiter.c.
1450 * run-typeiter.sh: Also run typeiter2.
Mark Wielaardd1829742013-10-15 23:53:32 +02001451 * Makefile.am (check_PROGRAMS): Add typeiter2.
Josh Stone5dbbc5e2013-10-03 12:38:25 -07001452 (typeiter2_LDADD): New variable.
1453
Petr Machataab224102013-09-26 00:39:34 +020014542013-09-26 Petr Machata <pmachata@redhat.com>
1455
Petr Machata0c9ae0c2013-09-26 21:02:22 +02001456 * run-readelf-mixed-corenote.sh: Update output of testfile71
1457 dump--readelf can newly decode the NT_FILE note.
1458
14592013-09-26 Petr Machata <pmachata@redhat.com>
1460
Petr Machataab224102013-09-26 00:39:34 +02001461 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
1462 * run-readelf-mixed-corenote.sh: New test for this file.
1463 * testfile71.bz2: New file.
1464
Mark Wielaard1b734df2013-09-20 09:50:42 -040014652013-09-20 Mark Wielaard <mjw@redhat.com>
1466
1467 * allfcts.c (cb): Return DWARF_CB_ABORT.
1468 (main): Iterate over all offsets returned by dwarf_getfuncs.
1469 * run-allfcts.sh: Add nested_funcs and class_func testcases.
1470 * testfile_nested_funcs.bz2: New test file.
1471 * testfile_class_func.bz2: Likewise.
1472 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
1473 testfile_nested_funcs.bz2.
1474
Mark Wielaard6e6e54e2013-08-31 00:52:12 +020014752013-08-30 Mark Wielaard <mjw@redhat.com>
1476
1477 * Makefile.am (check_PROGRAMS): Add varlocs.
1478 (TESTS): Add run-varlocs.sh.
1479 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
1480 testfile_const_type.bz2, testfile_implicit_pointer.c,
1481 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1482 testfile_entry_value.c, testfile_entry_value.bz2,
1483 testfile_implicit_value.c and testfile_implicit_value.bz2.
1484 (varlocs_LDADD): New.
1485 * run-varlocs: New test.
1486 * testfile_const_type.c: New test source file.
1487 * testfile_entry_value.c: Likewise.
1488 * testfile_implicit_pointer.c: Likewise.
1489 * testfile_implicit_value.c: Likewise.
1490 * testfile_parameter_ref.c: Likewise.
1491 * testfile_const_type.bz2: New test file.
1492 * testfile_entry_value.bz2: Likewise.
1493 * testfile_implicit_pointer.bz2: Likewise.
1494 * testfile_implicit_value.bz2: Likewise.
1495 * testfile_parameter_ref.bz2: Likewise.
1496 * varlocs.c: New test source.
1497
Mark Wielaard92e47d62013-09-02 16:46:50 +020014982013-08-29 Mark Wielaard <mjw@redhat.com>
1499
1500 * run-addrcfi.sh: Add case for EM_ARM.
1501 * testfilearm.bz2: New testfile.
1502 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1503
Mark Wielaardd3f16452013-08-28 18:10:44 +020015042013-08-28 Mark Wielaard <mjw@redhat.com>
1505
Mark Wielaard79b91812013-08-28 21:54:58 +02001506 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1507 completely missing.
1508 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1509 * testfiles390.bz2: New testfile.
1510 * testfiles390x.bz2: Likewise.
1511 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1512 testfiles390x.bz2.
1513
15142013-08-28 Mark Wielaard <mjw@redhat.com>
1515
Mark Wielaardd3f16452013-08-28 18:10:44 +02001516 * addrcfi.c (handle_cfi): Use printf not error.
1517 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1518 * testfileppc32.bz2: New testfile.
1519 * testfileppc64.bz2: Likewise.
1520 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1521 testfileppc64.bz2.
1522
Mark Wielaard292b1782013-08-27 15:40:56 +020015232013-08-27 Mark Wielaard <mjw@redhat.com>
1524
1525 * run-addrcfi.sh: New test.
1526 * Makefile.am (TESTS): Add run-addrcfi.sh.
1527 (EXTRA_DIST): Likewise.
1528 * addrcfi.c (op_name): New function.
1529 (print_detail): Call and print op_name. Check ops, not result
1530 to check if this is "same value" or "undefined".
1531 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1532
Mark Wielaard4b9e6392013-08-13 11:40:21 +020015332013-08-13 Mark Wielaard <mjw@redhat.com>
1534
1535 * run-addr2line-i-test.sh: New test.
1536 * testfile-inlines.bz2: New testfile.
1537 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1538 testfile-inlines.bz2.
1539 (TESTS): Add run-addr2line-i-test.sh.
1540
Mark Wielaardd0f85012013-08-12 14:21:31 +020015412013-08-12 Mark Wielaard <mjw@redhat.com>
1542
1543 * run-addr2line-test.sh: New test.
1544 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1545 (TESTS): Likewise.
1546
Jan Kratochvil596d4302013-07-23 16:30:01 +020015472013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1548
1549 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1550 the entries.
1551
Mark Wielaard263d7ee2013-07-02 16:16:58 +020015522013-07-02 Mark Wielaard <mjw@redhat.com>
1553
1554 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1555 testfilenolines.bz2.
1556
Jan Kratochvil8ff86292013-05-30 13:21:20 +020015572013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1558
1559 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1560 test-core.core.bz2 and test-core.exec.bz2.
1561 * run-addrname-test.sh: New test for these files.
1562 * run-unstrip-n.sh: Update expected output. New test for these files.
1563 * test-core-lib.so.bz2: New file.
1564 * test-core.core.bz2: New file.
1565 * test-core.exec.bz2: New file.
1566
Mark Wielaard9affad32013-05-03 11:28:49 +020015672013-05-03 Mark Wielaard <mjw@redhat.com>
1568
1569 * testfilenolines.bz2: New test file.
1570 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1571 * run-get-lines.sh: Run testrun_compare on testfilenolines.
1572
Jan Kratochvil904aec22013-04-30 14:27:16 +020015732013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1574
1575 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1576
Mark Wielaard807ea312013-04-29 20:48:36 +020015772013-04-29 Mark Wielaard <mjw@redhat.com>
1578
1579 * test-subr.sh: Don't use pushd, just cd into test-dir.
1580 (exit_cleanup): Don't use popd, just cd .. to get out.
1581
Mark Wielaarda6098312013-04-26 21:21:56 +020015822013-04-27 Mark Wielaard <mjw@redhat.com>
1583
Mark Wielaard527e21e2013-04-27 23:15:44 +02001584 * test-subr.sh (exit_cleanup): New function.
1585 (trap): Use exit_cleanup as argument.
1586 * run-native-test.sh (native_exit): New function.
1587 (trap): For EXIT (0) use native_exit as argument.
1588
15892013-04-27 Mark Wielaard <mjw@redhat.com>
1590
Mark Wielaardb0f202e2013-04-28 00:54:17 +02001591 * update1.c (main): Use unique tempfile name and unlink file.
1592 * update2.c (main): Likewise.
1593 * update3.c (main): Likewise.
1594 * update4.c (main): Use unique tempfile name.
1595
15962013-04-27 Mark Wielaard <mjw@redhat.com>
1597
Mark Wielaarda6098312013-04-26 21:21:56 +02001598 * run-alldts.sh: Add testfile-alldts to tempfiles.
1599 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1600 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1601 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1602 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1603
Mark Wielaard86be7922013-04-26 23:44:25 +020016042013-04-26 Mark Wielaard <mjw@redhat.com>
1605
1606 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1607 remove wrapper.
1608 (TESTS_ENVIRONMENT): Likewise.
1609 (installed_LOG_COMPILER): New variable defining wrapper.
1610 (LOG_COMPILER): Likewise.
1611 * run-*.sh: Fixup location of input and output files.
1612 * test-subr.sh: Create test_dir, pushd to execute test in.
1613 (trap): Remove test_dir.
1614 (testfiles): Use abs_srcdir.
1615 (installed_testrun): Match on abs_builddir or abs_top_builddir.
1616 (self_test_files): Adjust path.
1617
Mark Wielaardcdaaf212013-04-25 16:50:11 -040016182013-04-24 Mark Wielaard <mjw@redhat.com>
1619
1620 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1621
Mark Wielaarda8c7f052013-03-25 21:11:53 +010016222013-03-25 Mark Wielaard <mjw@redhat.com>
1623
Mark Wielaardb79788c2013-03-25 11:45:22 +01001624 * run-readelf-aranges.sh: New test.
1625 * testfilefoobarbaz.bz2: New test file.
1626 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1627 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1628
16292013-03-25 Mark Wielaard <mjw@redhat.com>
1630
Mark Wielaarda8c7f052013-03-25 21:11:53 +01001631 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1632
Jan Kratochvila1d44822013-03-19 13:40:13 +010016332013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1634
1635 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1636 (TESTS): Add run-dwfl-report-elf-align.sh.
1637 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1638 testfile-dwfl-report-elf-align-shlib.so.bz2 .
1639 (dwfl_report_elf_align_LDADD): New.
1640 * dwfl-report-elf-align.c: New file.
1641 * run-dwfl-report-elf-align.sh: New file.
1642 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1643
Mark Wielaardf1b06b52013-03-12 12:02:51 +010016442013-03-12 Mark Wielaard <mjw@redhat.com>
1645
1646 * run-dwfllines.sh: New test.
1647 * dwfllines.c: New test program.
1648 * Makefile.am (TESTS): Add run-dwfllines.sh.
1649 (EXTRA_DIST): Likewise.
1650 (dwfllines_LDADD): New variable.
1651
Mark Wielaardf6185a72013-02-22 23:42:59 +010016522013-02-22 Mark Wielaard <mjw@redhat.com>
1653
1654 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1655 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1656
Mark Wielaard443304e2013-02-15 22:45:22 +010016572013-02-15 Mark Wielaard <mjw@redhat.com>
1658
1659 * testfile-dwzstr.bz2: New testfile.
1660 * testfile-dwzstr.multi.bz2: Likewise.
1661 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1662 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1663 testfile-dwzstr.multi.bz2.
1664
Mark Wielaard6c4b2072013-01-30 11:04:38 +010016652013-01-30 Mark Wielaard <mjw@redhat.com>
1666
1667 * testfileloc.bz2: New testfile.
1668 * run-readelf-loc.sh: New test.
1669 * Makefile.am (TESTS): Add run-readelf-loc.sh.
1670 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1671
Jan Kratochvilcc84d792012-10-10 19:32:05 +020016722013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1673
1674 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1675 and s390x core notes.
1676 * testfile67.bz2: New file.
1677 * testfile68.bz2: New file.
1678 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1679
Mark Wielaard697bdca2013-01-23 17:39:19 +010016802013-01-23 Mark Wielaard <mjw@redhat.com>
1681
1682 * testfilebasmin.bz2: New testfile.
1683 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1684 * run-readelf-s.sh: Test testfilebasmin.
1685 * run-dwflsyms.sh: Likewise.
1686
Mark Wielaard9a91fb22013-01-16 15:19:40 +010016872013-01-16 Mark Wielaard <mjw@redhat.com>
1688
1689 * Makefile.am (check_PROGRAMS): Add dwflsyms.
1690 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1691 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1692 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1693 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1694 (dwflsyms_LDADD): New variable.
1695
Roland McGrath3f9256d2013-01-07 15:13:46 -080016962013-01-07 Roland McGrath <roland@hack.frob.com>
1697
1698 * run-prelink-addr-test.sh: Use ln -snf.
1699
Mark Wielaard1d6a4352012-12-03 17:01:09 +010017002012-12-03 Mark Wielaard <mjw@redhat.com>
1701
1702 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1703
Jan Kratochvild5784af2012-10-18 00:11:30 +020017042012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1705
1706 * run-addrname-test.sh: New test for PIE relocation.
1707 * testfile70.core.bz2: New file.
1708 * testfile70.exec.bz2: New file.
1709 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1710 testfile70.exec.bz2 .
1711
Jan Kratochvild7ed0252012-10-27 21:31:58 +020017122012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1713
1714 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1715 testfile69.core.bz2 and testfile69.so.bz2 .
1716
Jan Kratochvil3fdcdcb2012-10-17 21:49:10 +020017172012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1718
1719 * run-addrname-test.sh: New test for DSO with build-id bias.
1720 * testfile69.core.bz2: New file.
1721 * testfile69.so.bz2: New file.
1722
Jan Kratochvil78dec222012-10-10 08:04:01 +020017232012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1724
Jan Kratochvil387654d2012-10-10 08:08:44 +02001725 * run-addrname-test.sh: New test for core vDSO bias.
1726 * testfile65.bz2: New file.
1727
17282012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1729
Jan Kratochvil78dec222012-10-10 08:04:01 +02001730 * run-addrname-test.sh: New test for symbol preferences.
1731 * testfile64.bz2: New file.
1732
Mark Wielaarde3e3ee22012-10-01 16:14:12 +020017332012-10-01 Mark Wielaard <mjw@redhat.com>
1734
1735 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1736 * test-wrapper.sh: Export VALGRIND_CMD if available.
1737 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1738 (installed_testrun): Likewise.
1739
Petr Machataae7c5e72012-09-24 16:16:27 +020017402012-09-24 Petr Machata <pmachata@redhat.com>
1741
Petr Machata522a73f2012-09-24 16:46:52 +02001742 * testfile63.bz2: New testfile.
1743 * run-readelf-mixed-corenote.sh: New test.
1744 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1745 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
1746
17472012-09-24 Petr Machata <pmachata@redhat.com>
1748
Petr Machataae7c5e72012-09-24 16:16:27 +02001749 * testfile62.bz2: New testfile.
1750 * run-readelf-vmcoreinfo.sh: New test.
1751 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
1752 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
1753
Petr Machata3662ad12012-09-18 21:35:19 +020017542012-09-18 Petr Machata <pmachata@redhat.com>
1755
1756 * testfile61.bz2: New testfile.
1757 * run-allregs.sh: Run reg_test testfile61.
1758 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
1759
Mark Wielaarde0ebc5a2012-08-24 14:51:37 +020017602012-08-24 Mark Wielaard <mjw@redhat.com>
1761
1762 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
1763
Jeff Kenton257dcf42012-08-22 09:00:03 -040017642012-08-22 Jeff Kenton <jkenton@tilera.com>
1765
1766 * testfile60.bz2: New testfile.
1767 * run-allregs.sh: Run reg_test testfile60.
1768
Mark Wielaardf5519fc2012-08-24 13:54:52 +020017692012-08-24 Mark Wielaard <mjw@redhat.com>
1770
1771 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
1772 ENABLE_DWZ.
1773
Mark Wielaardf31c4412012-08-17 00:35:03 +020017742012-08-16 Mark Wielaard <mjw@redhat.com>
1775
1776 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
1777 macros.
1778 * show-die-info.c (tagnames): Removed.
1779 (attrs): Removed.
1780 (dwarf_tag_string): New function using known-dwarf macros.
1781 (dwarf_attr_string): Likewise.
1782 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
1783 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
1784
Mark Wielaard775375e2012-06-22 12:02:45 +020017852012-06-27 Mark Wielaard <mjw@redhat.com>
1786
1787 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
1788 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
1789 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
1790 testfile_multi_main.bz2.
1791 * run-readelf-dwz-multi.sh: New test.
1792 * libtestfile_multi_shared.so.bz2: New testfile.
1793 * testfile_multi.dwz.bz2: New testifle.
1794 * testfile_multi_main.bz2: New testifle.
1795
Petr Machata30a941c2012-08-01 21:41:36 +020017962012-08-01 Petr Machata <pmachata@redhat.com>
1797
1798 * run-test-archive64.sh: New test.
1799 * testarchive64.a.bz2: New testfile.
1800 * Makefile.am (TESTS): Add run-test-archive64.sh.
1801 (EXTRA_DIST): Likewise.
1802
Mark Wielaard94e387f2012-08-01 15:31:12 +020018032012-08-01 Mark Wielaard <mjw@redhat.com>
1804
Mark Wielaardbf707b52012-08-01 15:39:11 +02001805 * run-nm-self.sh: New test.
1806 * run-readelf-self.sh: Likewise.
1807 * test-subr.sh (testrun_on_self_quiet): New function.
1808 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
1809 (EXTRA_DIST): Likewise.
1810
18112012-08-01 Mark Wielaard <mjw@redhat.com>
1812
Mark Wielaard94e387f2012-08-01 15:31:12 +02001813 * test-subr.sh (self_test_files): New list of files.
1814 (testrun_on_self): New function.
1815 * run-elflint-self.sh: Use testrun_on_self.
1816
Mark Wielaard714ea0e2012-07-19 13:07:39 +020018172012-07-19 Mark Wielaard <mjw@redhat.com>
1818
Mark Wielaard030f6262012-07-18 13:14:30 +02001819 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
1820 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
1821 (EXTRA_DIST): Likewise.
1822 (test_elf_cntl_gelf_getshdr_LDADD): New.
1823 test-elf_cntl_gelf_getshdr.c: New test program.
1824 run-elf_cntl_gelf_getshdr.sh: New test script.
1825
18262012-07-19 Mark Wielaard <mjw@redhat.com>
1827
Mark Wielaardadcd1dd2012-07-19 22:59:18 +02001828 * run-elflint-self.sh: runtests on ../backends/*so files.
1829
18302012-07-19 Mark Wielaard <mjw@redhat.com>
1831
Mark Wielaard714ea0e2012-07-19 13:07:39 +02001832 * run-unstrip-n.sh: test_cleanup.
1833 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
1834
Mark Wielaarde9b23882012-06-29 22:30:15 +020018352012-07-11 Mark Wielaard <mjw@redhat.com>
1836
1837 * run-readelf-macro.sh: New test.
1838 * testfilemacro.bz2: New testfile.
1839 * Makefile.am (TESTS): Add run-readelf-macro.sh.
1840 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
1841
Mark Wielaard84a1e0b2012-06-29 23:38:09 +020018422012-06-27 Mark Wielaard <mjw@redhat.com>
1843
1844 * run-readelf-gdb-index.sh: New test.
1845 * testfilegdbindex5.bz2: New testfile.
1846 * testfilegdbindex7.bz2: Likewise.
1847 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
1848 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
1849 testfilegdbindex7.bz2.
1850
Mark Wielaard97212fe2012-07-17 21:12:39 +020018512012-07-17 Mark Wielaard <mjw@redhat.com>
1852
1853 * testcore-rtlib-ppc.bz2: New testfile.
1854 * run-unstrip-n.sh: Check new ppc core testfile.
1855
Mike Frysingerc09c5f32012-06-26 12:07:44 -040018562012-06-26 Mike Frysinger <vapier@gentoo.org>
1857
1858 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
1859
Mark Wielaarda0172d72012-06-25 17:18:53 +020018602012-06-26 Mark Wielaard <mjw@redhat.com>
1861
1862 * run-macro-test.sh: New test.
1863 * testfile-macinfo.bz2: New testfile.
1864 * testfile-macros.bz2: Likewise.
1865
Mark Wielaard547049b2012-06-22 18:19:02 +020018662012-05-07 Mark Wielaard <mjw@redhat.com>
1867
1868 * low_high_pc.c: Use proper inttypes in printf formats.
1869
Mark Wielaarddbbc67a2012-05-11 12:57:57 +020018702012-05-11 Mark Wielaard <mjw@redhat.com>
1871
1872 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
1873
Mark Wielaardd9bc75f2012-05-07 13:29:52 +020018742012-05-07 Mark Wielaard <mjw@redhat.com>
1875
1876 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
1877
Mark Wielaard54797252012-04-27 13:00:50 +020018782012-04-27 Mark Wielaard <mjw@redhat.com>
1879
1880 * Makefile.am (TESTS): Add run-low_high_pc.sh
1881 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
1882 (noinst_PROGRAMS): Add low_high_pc.
1883 (low_high_pc_LDADD): New variable.
1884 * low_high_pc.c: New test.
1885
Mark Wielaardbdad8e32012-04-26 12:24:33 +020018862012-04-26 Mark Wielaard <mjw@redhat.com>
1887
1888 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
1889 * run-show-ciefde.sh: Removed old libdwarf test.
1890 * show-ciefde.c: Likewise.
1891
Mark Wielaard191d1f02012-04-02 17:11:25 +020018922012-04-02 Mark Wielaard <mjw@redhat.com>
1893
Mark Wielaard96a52132012-04-03 00:21:50 +02001894 * Makefile.am (TESTS): Add run-unstrip-n.sh.
1895 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
1896 * run-unstrip-n.sh: New test.
1897 * testcore-rtlib.bz2: New testfile.
1898
18992012-04-02 Mark Wielaard <mjw@redhat.com>
1900
Mark Wielaard191d1f02012-04-02 17:11:25 +02001901 * Makefile.am (TESTS): Add run-readelf-d.sh.
1902 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
1903 * run-readelf-d.sh: New test.
1904 * run-elflint-test.sh: Check new testfile.
1905
Tom Tromey581c3f62012-03-21 08:54:32 -060019062012-03-21 Tom Tromey <tromey@redhat.com>
1907
1908 * typeiter.c: New file.
1909 * run-typeiter.sh: New file.
1910 * testfile59.bz2: New file.
1911 * Makefile.am (noinst_PROGRAMS): Add typeiter.
1912 (TESTS): Add run-typeiter.sh.
1913 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
1914 (typeiter_LDADD): New variable.
1915
Kurt Roeckx5a8e39a2012-02-24 23:40:32 +010019162012-02-21 Kurt Roeckx <kurt@roeckx.be>
1917
1918 * run-alldts.sh: testrun ./alldts.
1919
Roland McGrathe3b15682012-02-21 11:12:46 -080019202012-02-21 Roland McGrath <roland@hack.frob.com>
1921
1922 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
Roland McGrathc1c6a9d2012-02-21 12:51:36 -08001923 * test-subr.sh (installed_testrun): Likewise.
Roland McGrathe3b15682012-02-21 11:12:46 -08001924
Roland McGrathb8ff18e2012-01-18 13:57:08 -080019252012-01-18 Roland McGrath <roland@hack.frob.com>
1926
1927 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
1928 it will have been inherited correctly from the test harness.
1929 * asm-tst5.c (main): Likewise.
1930 * asm-tst6.c (main): Likewise.
1931 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
1932
Roland McGrath32899ac2011-07-09 03:17:24 -070019332011-07-09 Roland McGrath <roland@hack.frob.com>
1934
1935 * sha1-tst.c: File removed.
1936 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
1937 (sha1_tst_LDADD): Variable removed.
1938
1939 * md5-sha1-test.c: New file.
1940 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
1941 (md5_sha1_test_LDADD): New variable.
1942
Mark Wielaard3f2290b2011-05-30 15:46:32 +020019432011-05-30 Mark Wielaard <mjw@redhat.com>
1944
1945 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
1946 run-rerequest_tag.sh
1947
Mark Wielaard20a217d2011-05-24 14:30:40 +020019482011-05-24 Mark Wielaard <mjw@redhat.com>
1949
1950 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
1951 * run-strip-reloc.sh: Add hello_s390.ko testcase.
1952 * hello_s390.ko.bz2: New test file.
1953
Mark Wielaard1662bc32011-05-16 11:33:11 +020019542011-05-23 Mark Wielaard <mjw@redhat.com>
1955
1956 * Makefile.am (TESTS): Add run-strip-reloc.sh.
1957 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
1958 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
1959 * run-strip-reloc.sh: New test.
1960 * hello_i386.ko.bz2: New test file.
1961 * hello_x86_64.ko.bz2: Likewise.
1962 * hello_ppc64.ko.bz2: Likewise.
1963
Mark Wielaard7a125b92011-05-17 12:20:01 +020019642011-05-18 Mark Wielaard <mjw@redhat.com>
1965
1966 * run-strip-groups.sh: New test.
1967 * testfile58.bz2: New test file.
1968 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
1969 (TESTS): Add run-strip-groups.sh.
1970 (EXTRA_DIST): Likewise.
1971
Marek Polacek494275c2011-03-28 16:00:38 +020019722011-03-28 Marek Polacek <mpolacek@redhat.com>
1973
1974 * alldts.c: New file.
1975 * run-alldts.sh: Use it.
1976 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1977 (alldts_LDADD): New variable.
1978
19792011-03-02 Marek Polacek <mpolacek@redhat.com>
Marek Polacek48942212011-03-07 11:16:50 -08001980
1981 * dwarf-getstring.c: New test.
1982 * run-dwarf-getstring.sh: And its wrapper.
1983 * Makefile.am (EXTRA_DIST): Add and update all.
1984
Jan Kratochvilfec39992011-02-27 12:01:25 -080019852011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1986
1987 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
1988 * run-readelf-twofiles.sh: New file.
1989
Mark Wielaard58cfa1c2011-02-25 20:17:52 +010019902011-02-25 Mark Wielaard <mjw@redhat.com>
1991
1992 * Makefile.am (BUILD_RPATH): Be consistent in naming.
1993
Josh Stonedc34eda2011-02-02 16:30:01 -080019942011-02-02 Josh Stone <jistone@redhat.com>
1995
1996 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
1997 * testfile55-64.bz2, testfile55-64.debug.bz2,
1998 testfile55-64.prelink.bz2, testfile55-32.bz2,
1999 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
2000 * Makefile.am (EXTRA_DIST): Add and update all.
2001
Roland McGrath32520bd2011-01-12 10:43:32 -080020022011-01-12 Roland McGrath <roland@redhat.com>
2003
2004 * run-prelink-addr-test.sh: Make symlinks to find .debug files
Roland McGrath4f6d4e12011-01-12 10:49:40 -08002005 corresponding to .noshdrs files.
Roland McGrath32520bd2011-01-12 10:43:32 -08002006
Josh Stoned41d9a62011-01-11 19:16:57 -080020072011-01-11 Josh Stone <jistone@redhat.com>
2008
Josh Stoneccbccef2011-01-11 19:16:59 -08002009 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
2010 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
2011 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
2012 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
2013 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
2014 * Makefile.am (EXTRA_DIST): Add and update all.
2015
Josh Stonecf514712011-01-11 19:16:58 -08002016 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
2017 * testfile53.bz2, testfile53.debug.bz2,
2018 testfile53.prelink.bz2: Deleted, so...
2019 * testfile53-64.bz2, testfile53-64.debug.bz2,
2020 testfile53-64.prelink.bz2: Recreated with 64-bit names.
2021 * testfile53-32.bz2, testfile53-32.debug.bz2,
2022 testfile53-32.prelink.bz2: New in 32-bit.
2023 * Makefile.am (EXTRA_DIST): Add and update all.
2024
Josh Stoned41d9a62011-01-11 19:16:57 -08002025 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
2026 * testfile52.so.bz2, testfile52.so.debug.bz2,
2027 testfile52.prelink.so.bz2: Deleted, so...
2028 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
2029 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
2030 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
2031 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
Roland McGrath32520bd2011-01-12 10:43:32 -08002032 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
Josh Stoned41d9a62011-01-11 19:16:57 -08002033 * Makefile.am (EXTRA_DIST): Add and update all.
2034
Josh Stoneffa02002011-01-10 21:28:46 -080020352011-01-10 Josh Stone <jistone@redhat.com>
2036
2037 * run-prelink-addr-test.sh: New test for prelinked addrs.
2038 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2039 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
2040 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
2041 * testfile53.bz2, testfile53.debug.bz2: New data files.
2042 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
2043 * Makefile.am (EXTRA_DIST): Add them.
2044
Roland McGrathec86e5f2010-06-14 17:44:38 -070020452010-06-04 Roland McGrath <roland@redhat.com>
2046
2047 * run-unstrip-test.sh: Also test modifying the file in place.
2048
Roland McGrath3c6ee4b2010-04-22 22:38:58 -070020492010-04-22 Roland McGrath <roland@redhat.com>
2050
2051 * addrcfi.c (handle_cfi): Fix function name in error message.
2052 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2053
Roland McGrath26618d82010-04-14 13:10:47 -070020542010-04-14 Roland McGrath <roland@redhat.com>
2055
2056 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2057
Ulrich Drepperc2d1e482010-04-10 18:23:47 -070020582010-04-10 Ulrich Drepper <drepper@redhat.com>
2059
2060 * msg_tst.c: Adjust expected error message.
2061
Petr Machata77961b52010-04-06 14:16:58 +020020622010-04-01 Petr Machata <pmachata@redhat.com>
2063
2064 * test-flag-nobits.c: New test.
2065 * run-test-flag-nobits.sh: And its wrapper.
2066 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2067 (test_flag_nobits_LDADD): New variable.
2068
Roland McGrathe9ca7382010-02-15 15:15:50 -080020692010-02-15 Roland McGrath <roland@redhat.com>
2070
Roland McGrath22359e22010-02-15 15:57:03 -08002071 * Makefile.am: Use config/eu.am for common stuff.
2072
Roland McGrathe9ca7382010-02-15 15:15:50 -08002073 * asm-tst9.c (main): Rename local to avoid shadowing another local.
2074
Roland McGrathaf800142009-07-22 13:55:50 -070020752009-07-22 Roland McGrath <roland@redhat.com>
2076
2077 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2078
Roland McGrath3c84db32009-06-24 17:41:40 -070020792009-07-08 Roland McGrath <roland@redhat.com>
2080
2081 * addrcfi.c: New file.
2082 * Makefile.am (noinst_PROGRAMS): Add it.
2083 (addrcfi_LDADD): New variable.
2084
Petr Machatad24c7bf2009-05-07 20:58:19 +020020852009-05-07 Petr Machata <pmachata@redhat.com>
2086
2087 * testfile51.bz2: New data file.
2088 * dwarf-getmacros.c: New test core.
2089 * run-dwarf-getmacros.sh: New test wrapper.
Roland McGrath0c735a92009-05-07 18:19:16 -07002090 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2091 (dwarf_getmacros_LDADD): New variable.
Petr Machatad24c7bf2009-05-07 20:58:19 +02002092
Ulrich Drepperf9545c42009-04-23 07:59:02 -070020932009-04-23 Ulrich Drepper <drepper@redhat.com>
2094
2095 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2096 (rdwrmmap_LDADD): Add $(libmudflap).
Roland McGrath0c735a92009-05-07 18:19:16 -07002097
Roland McGrath19a8e4d2009-04-21 15:44:07 -070020982009-04-21 Roland McGrath <roland@redhat.com>
2099
2100 * testfile50.bz2: New data file.
2101 * Makefile.am (EXTRA_DIST): Add it.
2102 * run-dwfl-addr-sect.sh: Add a case using it.
2103
Ulrich Drepper5bd44442008-12-31 09:02:54 -080021042008-12-31 Ulrich Drepper <drepper@redhat.com>
2105
Ulrich Drepper3bf57592009-01-01 18:52:05 -08002106 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2107 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2108 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2109 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2110 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2111 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2112 roundss, roundps, roundpd, and roundsd.
2113 * testfile45.S.bz2: Likewise.
2114 * testfile44.expect.bz2: Adjust accordingly.
2115 * testfile45.expect.bz2: Likewise.
2116
Ulrich Drepper5bd44442008-12-31 09:02:54 -08002117 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2118 * testfile45.S.bz2: Likewise.
2119 * testfile44.expect.bz2: Adjust accordingly.
2120 * testfile45.expect.bz2: Likewise.
2121
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -080021222008-12-30 Ulrich Drepper <drepper@redhat.com>
2123
Ulrich Drepperec32ff92008-12-30 23:24:09 -08002124 * testfile44.S.bz2: Add tests for blendpd and blendps.
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -08002125 * testfile45.S.bz2: Likewise.
2126 * testfile44.expect.bz2: Adjust accordingly.
2127 * testfile45.expect.bz2: Likewise.
2128
Ulrich Drepper5a04b9f2008-12-19 01:14:12 -080021292008-12-19 Ulrich Drepper <drepper@redhat.com>
2130
2131 * testfile44.S.bz2: Add tests for AMD 3DNOW.
2132 * testfile45.S.bz2: Likewise.
2133 * testfile44.expect.bz2: Adjust accordingly.
2134 * testfile45.expect.bz2: Likewise.
2135
Roland McGratha845f682008-12-03 03:41:58 +000021362008-11-26 Roland McGrath <roland@redhat.com>
2137
2138 * dwfl-bug-getmodules.c: New file.
2139 * Makefile.am (noinst_PROGRAMS): Add it.
2140 (dwfl_bug_getmodules_LDADD): New variable.
2141
21422008-09-10 Roland McGrath <roland@redhat.com>
2143
2144 * test-subr.sh (LC_ALL): Export it set to "C".
2145 * run-dwfl-addr-sect.sh: Don't do it here.
2146 * run-strings-test.sh: Likewise.
2147
Roland McGrathb4d6f0f2008-08-25 22:55:17 +000021482008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
2149
2150 * run-addrname-test.sh: Add a new case.
2151 * testfile49.bz2: New data file.
2152 * Makefile.am (EXTRA_DIST): Add it.
2153
Roland McGrath521c47d2008-04-11 07:01:58 +000021542008-04-10 Roland McGrath <roland@redhat.com>
2155
2156 * testfile48.bz2, testfile48.bz2.debug: New data files.
2157 * Makefile.am (EXTRA_DIST): Add them.
2158 * run-strip-test8.sh: Use them.
2159
2160 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2161
2162 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2163 * run-strip-test8.sh: New file.
2164 * testfile47.bz2: New data file.
2165 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2166
Roland McGrath13b69602008-04-01 02:30:05 +000021672008-03-31 Roland McGrath <roland@redhat.com>
2168
2169 * run-early-offscn.sh: New file.
2170 * early-offscn.c: New file.
2171 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2172 (early_offscn_LDADD): New variable.
2173
Roland McGrathd11f9cb2008-03-26 20:51:59 +000021742008-03-19 Roland McGrath <roland@redhat.com>
2175
2176 * run-addrname-test.sh: Add a new case.
2177
Roland McGrath658094a2008-02-22 08:14:07 +000021782008-02-22 Roland McGrath <roland@redhat.com>
2179
2180 * run-elflint-test.sh: Typo fix.
2181
21822008-02-21 Roland McGrath <roland@redhat.com>
2183
2184 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2185 for the build down to minimum.
2186 * run-disasm-x86-64.sh: Likewise.
2187
Roland McGrath059c83e2008-02-21 06:19:39 +000021882008-02-20 Roland McGrath <roland@redhat.com>
2189
2190 * testfile46.bz2: New data file.
2191 * Makefile.am (EXTRA_DIST): Add it.
2192 * run-elflint-test.sh: Test on it.
2193
Ulrich Drepperc54785a2008-02-01 18:05:21 +000021942008-02-01 Ulrich Drepper <drepper@redhat.com>
2195
2196 * Makefile.am: Hook up sha1-tst.c.
2197 * sha1-tst.c: New file.
2198
Ulrich Drepper4d8bc812008-01-22 06:02:31 +000021992008-01-21 Roland McGrath <roland@redhat.com>
2200
2201 * testfile45.S.bz2: Add tests for cltq, cqto.
2202 * testfile45.expect.bz2: Adjust.
2203
Ulrich Drepper35f2fe62008-01-14 19:17:36 +000022042008-01-14 Ulrich Drepper <drepper@redhat.com>
2205
2206 * testfile45.S.bz2: Add more tests.
2207 * testfile45.expect.bz2: Adjust.
2208
Ulrich Drepperfd479892008-01-12 03:06:47 +000022092008-01-11 Ulrich Drepper <drepper@redhat.com>
2210
2211 * testfile45.expect.bz2: Adjust for adding of address for %rip based
2212 address mode.
2213
Ulrich Drepper96a73992008-01-11 06:17:06 +000022142008-01-10 Ulrich Drepper <drepper@redhat.com>
2215
2216 * testfile45.S.bz2: Add more tests.
2217 * testfile45.expect.bz2: Adjust.
2218
Ulrich Drepperff993222008-01-09 05:39:28 +000022192008-01-08 Ulrich Drepper <drepper@redhat.com>
2220
2221 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2222 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2223 run-disasm-x86-64.sh.
2224 * run-disasm-x86-64.sh: New file.
2225 * testfile45.S.bz2: New file.
2226 * testfile45.expect.bz2: New file.
2227 * testfile44.S.bz2: New tests.
2228 * testfile44.expect.bz2: Adjust.
2229
Ulrich Drepper9e6925d2008-01-04 21:42:14 +000022302008-01-04 Ulrich Drepper <drepper@redhat.com>
2231
2232 * testfile44.S.bz2: New tests.
2233 * testfile44.expect.bz2: Adjust.
2234
Ulrich Dreppere219f1c2008-01-09 05:49:49 +000022352008-01-04 Roland McGrath <roland@redhat.com>
2236
2237 * dwfl-bug-fd-leak.c (main): Add a cast.
2238
Ulrich Drepperee67b642008-01-03 08:45:10 +000022392008-01-03 Ulrich Drepper <drepper@redhat.com>
2240
2241 * testfile44.S.bz2: New tests.
2242 * testfile44.expect.bz2: Adjust.
2243
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000022442008-01-01 Ulrich Drepper <drepper@redhat.com>
2245
Ulrich Drepperf231e272008-01-02 18:07:17 +00002246 * line2addr.c: Use %m modifier instead of %a to appease gcc.
2247
22482008-01-01 Ulrich Drepper <drepper@redhat.com>
2249
Ulrich Drepperee67b642008-01-03 08:45:10 +00002250 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00002251 * testfile44.expect.bz2: Adjust.
2252
22532007-12-31 Ulrich Drepper <drepper@redhat.com>
2254
Ulrich Drepperee67b642008-01-03 08:45:10 +00002255 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00002256 * testfile44.expect.bz2: Adjust.
2257
22582007-12-30 Ulrich Drepper <drepper@redhat.com>
2259
Ulrich Drepperee67b642008-01-03 08:45:10 +00002260 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00002261 * testfile44.expect.bz2: Adjust.
2262
22632007-12-29 Ulrich Drepper <drepper@redhat.com>
2264
Ulrich Drepperee67b642008-01-03 08:45:10 +00002265 * testfile44.s.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00002266 * testfile44.expect.bz2: Adjust.
2267
22682007-12-28 Ulrich Drepper <drepper@redhat.com>
2269
2270 * testfile44.S.bz2: New tests.
2271 * testfile44.expect.bz2: Adjust.
2272
22732007-12-27 Ulrich Drepper <drepper@redhat.com>
2274
2275 * testfile44.S.bz2: New tests.
2276 * testfile44.expect.bz2: Adjust.
2277
22782007-12-26 Ulrich Drepper <drepper@redhat.com>
2279
2280 * testfile44.S.bz2: New tests.
2281 * testfile44.expect.bz2: Adjust
2282
22832007-12-21 Ulrich Drepper <drepper@redhat.com>
2284
2285 * testfile44.S.bz2: More tests.
2286 * testfile44.expect.bz2: Adjust appropriately.
2287
22882007-12-19 Ulrich Drepper <drepper@redhat.com>
2289
2290 * Makefile.am (TESTS): Add run-disasm.sh.
2291 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2292 testfile44.expect.bz2.
2293 * run-disasm.sh: New file.
2294 * testfile44.S.bz2: New file.
2295 * testfile44.expect.bz2: New file.
2296
Roland McGrath1a2e8f42007-12-15 23:39:34 +000022972007-12-15 Roland McGrath <roland@redhat.com>
2298
2299 * run-allregs.sh: Change expected output for powerpc spefscr.
2300
Roland McGrathe4c22ea2007-10-23 13:07:39 +000023012007-10-20 Roland McGrath <roland@redhat.com>
2302
2303 * run-dwfl-addr-sect.sh: Change expected output, no errors.
2304
23052007-10-19 Roland McGrath <roland@redhat.com>
2306
2307 * dwfl-addr-sect.c (handle_address): Return int.
2308 Don't exit on error, just return nonzero.
2309 (main): Collect results.
2310 * run-dwfl-addr-sect.sh: New file.
2311 * testfile43.bz2: New data file.
2312 * Makefile.am (EXTRA_DIST, TESTS): Add them.
2313
23142007-10-18 Roland McGrath <roland@redhat.com>
2315
2316 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2317
23182007-10-16 Roland McGrath <roland@redhat.com>
2319
2320 * test-subr.sh (remove_files): Don't pass -Bb to diff.
2321
Ulrich Drepperb597dfa2007-10-16 05:21:27 +000023222007-10-09 Roland McGrath <roland@redhat.com>
2323
2324 * dwflmodtest.c (print_module): Don't use %p in output.
2325 * run-dwfl-bug-offline-rel.sh: Updated expected output.
2326
23272007-10-08 Roland McGrath <roland@redhat.com>
2328
2329 * testfile42.bz2: New data file.
2330 * Makefile.am (EXTRA_DIST): Add it.
2331 * run-elflint-test.sh: New test on that file.
2332
Roland McGrath59ea7f32007-10-04 08:50:09 +000023332007-10-04 Roland McGrath <roland@redhat.com>
2334
2335 * run-readelf-test4.sh: New file.
2336 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2337
23382007-10-03 Roland McGrath <roland@redhat.com>
2339
2340 * run-readelf-test3.sh: New file.
2341 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2342
Roland McGrathf6b92282007-10-02 02:34:11 +000023432007-10-01 Roland McGrath <roland@redhat.com>
2344
2345 * run-readelf-test2.sh: New file.
2346 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2347
Roland McGrathc76f0b02007-09-27 07:31:33 +000023482007-09-11 Roland McGrath <roland@redhat.com>
2349
2350 * run-addrname-test.sh: Add a new case.
2351 * testfile41.bz2: New data file.
2352 * Makefile.am (EXTRA_DIST): Add it.
2353
Roland McGrathcb6d8652007-08-23 08:10:54 +000023542007-08-23 Roland McGrath <roland@redhat.com>
2355
2356 * run-allregs.sh: Update expected x86-64 output for %rflags.
2357
Roland McGrath099dd522007-08-13 22:58:36 +000023582007-08-12 Roland McGrath <roland@redhat.com>
2359
2360 * run-strip-test7.sh: New file.
2361 * testfile39.bz2: New data file.
2362 * testfile40.bz2: New data file.
2363 * testfile40.debug.bz2: New data file.
2364 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2365
Roland McGrath42f68682007-08-09 07:54:22 +000023662007-08-09 Roland McGrath <roland@redhat.com>
2367
2368 * dwfl-bug-report.c: Fix header inclusion.
2369
23702007-08-08 Roland McGrath <roland@redhat.com>
2371
2372 * run-addrname-test.sh: Add a new case using addr2line -S.
2373 * testfile38.bz2: New data file.
2374 * Makefile.am (EXTRA_DIST): Add it.
2375
Roland McGrath87d47802007-07-16 22:23:37 +000023762007-07-16 Roland McGrath <roland@redhat.com>
2377
2378 * dwfl-bug-report.c: New file.
2379 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2380 (dwfl_bug_report_LDADD): New variable.
2381
23822007-06-06 Roland McGrath <roland@redhat.com>
Roland McGrath0bc057c2007-06-06 08:42:42 +00002383
2384 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2385
Ulrich Drepperb0243862007-06-06 00:09:36 +000023862007-06-05 Ulrich Drepper <drepper@redhat.com>
2387
2388 * Makefile.am (EXTRA_DIST): Add missing line continuation and
2389 testfile37.bz and testfile37.debug.bz2.
2390
Roland McGrath53bce222007-05-23 19:15:04 +000023912007-05-23 Roland McGrath <roland@redhat.com>
2392
2393 * run-allregs.sh: Update expected Alpha results.
2394
Roland McGrath9aa8ef72007-05-18 08:59:43 +000023952007-05-18 Roland McGrath <roland@redhat.com>
2396
2397 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2398 * testfile37.bz2: New data file.
2399 * testfile37.debug.bz2: New data file.
2400 * run-unstrip-test2.sh: New file.
2401 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2402
24032007-05-10 Roland McGrath <roland@redhat.com>
2404
2405 * run-dwfl-bug-offline-rel.sh: New file.
2406 * testfile36.bz2: New data file.
2407 * testfile36.debug.bz2: New data file.
2408 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2409
24102007-04-28 Roland McGrath <roland@redhat.com>
2411
2412 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2413 * testfile35.bz2: New data file.
2414 * testfile35.debug.bz2: New data file.
2415 * run-unstrip-test.sh: New file.
2416 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2417
2418 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2419
Roland McGrath2be02912007-04-27 04:07:41 +000024202007-04-26 Roland McGrath <roland@redhat.com>
2421
2422 * run-elflint-self.sh: Run all tests even if one fails.
2423
2424 * run-allregs.sh: Add expected output for alpha.
2425
Roland McGrath4be15242007-04-25 03:09:33 +000024262007-04-24 Roland McGrath <roland@redhat.com>
2427
2428 * run-strip-test.sh: When we saved the debug info, test unstrip too.
2429
24302007-04-22 Roland McGrath <roland@redhat.com>
2431
2432 * run-allregs.sh: Update expected register info.
2433
Roland McGrath43da9892007-04-16 23:13:37 +000024342007-04-16 Roland McGrath <roland@redhat.com>
2435
2436 * dwfl-addr-sect.c: New file.
2437 * Makefile.am (noinst_PROGRAMS): Add it.
2438 (dwfl_addr_sect_LDADD): New variable.
2439
24402007-04-05 Roland McGrath <roland@redhat.com>
2441
2442 * get-files.c: Test dwarf_getsrcdirs.
2443 * run-get-files.sh: Update expected output.
2444
Roland McGrath5f6a41a2007-04-01 23:11:40 +000024452007-04-01 Roland McGrath <roland@redhat.com>
2446
2447 * run-allregs.sh: Updated expected output for x86_64.
2448
Ulrich Drepper6258e742007-03-13 06:22:40 +000024492007-03-04 Roland McGrath <roland@redhat.com>
2450
2451 * dwfl-bug-fd-leak.c: New file.
2452 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2453 (dwfl_bug_fd_leak_LDADD): New variable.
2454
2455 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
2456 show what files have been located.
2457
Ulrich Drepperaa915fd2007-02-05 07:25:33 +000024582007-02-02 Roland McGrath <roland@redhat.com>
2459
2460 * run-addrname-test.sh: New file.
2461 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2462 * testfile34.bz2: New data file.
2463 * Makefile.am (EXTRA_DIST): Add it.
2464
24652007-01-20 Roland McGrath <roland@redhat.com>
2466
2467 * testfile33.bz2: New data file.
2468 * Makefile.am (EXTRA_DIST): Add it.
2469 * run-elflint-test.sh: Test on it too.
2470
24712007-01-18 Roland McGrath <roland@redhat.com>
2472
2473 * Makefile.am (CFLAGS): Don't molest it.
2474
24752007-01-11 Roland McGrath <roland@redhat.com>
2476
2477 * testfile32.bz2: New data file.
2478 * Makefile.am (EXTRA_DIST): Add it.
2479 * run-elflint-test.sh: Test on it too.
2480
Ulrich Drepperce0bdb62007-02-05 07:13:52 +000024812007-02-04 Ulrich Drepper <drepper@redhat.com>
2482
2483 * arls.c: New file.
2484 * Makefile (noinst_PROGRAMS): Add arls.
2485
2486 * run-ranlib-test2.sh: Fix type in comment.
2487
Ulrich Dreppercd4992c2007-01-10 20:58:17 +000024882007-01-10 Ulrich Drepper <drepper@redhat.com>
2489
2490 * run-elflint-self.sh (runtest): Show which file has the problem.
2491
Roland McGrathba949b32007-01-10 20:44:29 +000024922007-01-10 Roland McGrath <roland@redhat.com>
2493
2494 * dwfl-bug-addr-overflow.c: New file.
2495 * Makefile.am (TESTS): Add it.
2496 (dwfl_bug_addr_overflow_LDADD): New variable.
2497
Roland McGrath8190db62006-12-17 23:56:51 +000024982006-12-17 Roland McGrath <roland@redhat.com>
2499
2500 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2501
Roland McGrathc373d852006-10-10 00:25:21 +000025022006-09-05 Roland McGrath <roland@redhat.com>
2503
2504 * run-strings-test.sh: Export LC_ALL=C for the test.
2505
25062006-08-29 Roland McGrath <roland@redhat.com>
2507
2508 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2509 * run-arsymtest.sh: Likewise.
2510
2511 * run-native-test.sh (native.c compilation): Add some braces.
2512
25132006-08-22 Roland McGrath <roland@redhat.com>
2514
2515 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2516 (struct reginfo): New members bits, type.
2517 (one_register, match_register): Update to take new args,
2518 record and display new info.
2519 (main): Display new info.
2520 * run-allregs.sh: Update expected results.
2521
Roland McGrath19db8592006-08-03 08:52:46 +000025222006-08-03 Roland McGrath <roland@redhat.com>
2523
2524 * run-allregs.sh: Add sparc cases.
2525 * testfile30.bz2: New data file.
2526 * testfile31.bz2: New data file.
2527 * Makefile.am (EXTRA_DIST): Add them.
2528
Roland McGrath95024622006-07-21 10:06:31 +000025292006-07-21 Roland McGrath <roland@redhat.com>
2530
2531 * allregs.c (struct reginfo): Increase size of name.
2532 (one_register): Assert that it's big enough.
2533
Roland McGrathb4379722006-04-05 01:35:26 +000025342006-04-04 Roland McGrath <roland@redhat.com>
2535
2536 * run-bug1-test.sh: Test a second case, to cover both byte orders.
2537 * testfile29.bz2: New file.
2538 * testfile29.rdwr.bz2: New file.
2539 * Makefile.am (EXTRA_DIST): Add them.
2540
Ulrich Drepperba718b12006-04-04 21:31:16 +000025412006-04-04 Ulrich Drepper <drepper@redhat.com>
2542
2543 * Makefile.am: Add rules to run run-bug1-test.sh.
2544 * rdwrmmap.c: New file.
2545 * run-bug1-test.sh: New file.
2546 * testfile28.bz2: New file.
2547 * testfile28.rdwr.bz2: New file.
2548
Roland McGrathdd7e22b2006-03-09 23:05:47 +000025492006-03-09 Roland McGrath <roland@redhat.com>
2550
2551 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2552
Roland McGrath060fa052006-03-02 07:51:50 +000025532006-03-01 Roland McGrath <roland@redhat.com>
2554
2555 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2556 changes matching 3.0 spec.
2557
Roland McGrathc40f58a2006-01-13 20:13:21 +000025582006-01-13 Roland McGrath <roland@redhat.com>
2559
2560 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2561 bash 3.1 whines when it's done in the trap 0 handler.
2562
Roland McGrath4b248ce2006-01-12 03:34:38 +000025632006-01-11 Roland McGrath <roland@redhat.com>
2564
2565 * testfile26.bz2: New data file.
2566 * testfile27.bz2: New data file.
2567 * Makefile.am (EXTRA_DIST): Add them.
2568 * run-allregs.sh: Test s390 data.
2569
Roland McGrath124a7982005-12-15 02:37:09 +000025702005-12-14 Roland McGrath <roland@redhat.com>
2571
2572 * run-native-test.sh: Redirect output from native test process.
2573
Roland McGrath94d26ad2005-12-13 23:24:37 +000025742005-12-13 Roland McGrath <roland@redhat.com>
2575
2576 * allregs.c (main): Fail if we find no registers.
2577
2578 * run-native-test.sh: New file.
2579 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2580
Roland McGrathba72ab12005-12-12 00:04:33 +000025812005-12-10 Ulrich Drepper <drepper@redhat.com
2582
2583 * run-readelf-test1.sh: New file.
2584 * Makefile.am (TESTS): Add run-readelf-test1.sh.
2585 (EXTRA_DIST): Likewise.
2586
Roland McGrathd804e722005-12-08 01:35:42 +000025872005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00002588
Roland McGrathd804e722005-12-08 01:35:42 +00002589 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +00002590
Roland McGrath994b4892005-12-05 22:46:21 +000025912005-11-25 Roland McGrath <roland@redhat.com>
2592
2593 * coverage.sh: Given -v argument, print names of unused files.
2594
2595 * addrscopes.c (main): Use dwfl_end before return.
2596 * allregs.c (main): Likewise.
2597 * find-prologues.c (main): Likewise.
2598 * funcretval.c (main): Likewise.
2599 * funcscopes.c (main): Likewise.
2600 * line2addr.c (main): Likewise.
2601
2602 * run-allregs.sh: New file.
2603 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2604
2605 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2606 * Makefile.am (allregs_LDADD): Updated.
2607
2608 * allregs.c: New file.
2609 * Makefile.am (noinst_PROGRAMS): Add it.
2610 (allregs_LDADD): New variable.
2611
Roland McGrath9365d2c2005-11-18 23:55:47 +000026122005-11-18 Roland McGrath <roland@redhat.com>
2613
2614 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2615 * test-wrapper.sh: Likewise.
2616
Roland McGrath575dd392005-11-18 01:41:52 +000026172005-11-17 Roland McGrath <roland@redhat.com>
2618
Roland McGrathaf74f5c2005-11-18 02:25:14 +00002619 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2620 environment for test-wrapper.sh.
2621 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2622 * test-subr.sh (installed_testrun): Likewise.
2623 Use explicit path in ${bindir}.
2624
Roland McGrath575dd392005-11-18 01:41:52 +00002625 * Makefile.am (installcheck-local): Fix typo in last change.
2626
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000026272005-11-16 Roland McGrath <roland@redhat.com>
2628
2629 * configure.ac: New file, for standalone build/dist of test suite.
2630 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2631 (asm_TESTS): New variable, broken out of ...
2632 (TESTS): ... here. Also remove msg_tst.
2633 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2634 (installed_TESTS_ENVIRONMENT): New variable.
2635 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2636 [!STANDALONE] (installcheck-local): Likewise.
2637 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2638 * addrscopes.c: Include <config.h>.
2639 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2640 * allfcts.c: Likewise.
2641 * asm-tst1.c: Likewise.
2642 * asm-tst2.c: Likewise.
2643 * asm-tst3.c: Likewise.
2644 * asm-tst4.c: Likewise.
2645 * asm-tst5.c: Likewise.
2646 * asm-tst6.c: Likewise.
2647 * asm-tst7.c: Likewise.
2648 * asm-tst8.c: Likewise.
2649 * asm-tst9.c: Likewise.
2650 * dwflmodtest.c: Likewise.
2651 * find-prologues.c: Likewise.
2652 * funcscopes.c: Likewise.
2653 * get-aranges.c: Likewise.
2654 * get-files.c: Likewise.
2655 * get-lines.c: Likewise.
2656 * get-pubnames.c: Likewise.
2657 * line2addr.c: Likewise.
2658 * newscn.c: Likewise.
2659 * show-abbrev.c: Likewise.
2660 * show-die-info.c: Likewise.
2661 * update3.c: Likewise.
2662 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +00002663 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +00002664
2665 * dwflmodtest.c (print_instance): Don't use INTUSE.
2666 (options): Don't use N_ macro.
2667
Roland McGrath1b8b4462005-11-16 01:33:38 +000026682005-11-15 Roland McGrath <roland@redhat.com>
2669
Roland McGrathe47ab762005-11-17 03:16:00 +00002670 * coverage.sh: Look in backends.
2671 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2672 (TESTS_ENVIRONMENT): Likewise.
2673
2674 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2675 pass FUNCDIE direclty to dwfl_module_return_value_location.
2676
Roland McGrath1b8b4462005-11-16 01:33:38 +00002677 * Makefile.am (BUILD_RPATH): New variable.
2678 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2679 (tests_rpath): New variable.
2680 (installcheck-local): Pass it to test-wrapper.sh.
2681 * test-wrapper.sh: In "installed" format, take yes/no value
2682 for elfutils_tests_rpath, which export. When running a test
2683 binary for installcheck, exit 77.
2684 * test-subr.sh (installed_testrun): When running a test binary
2685 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2686
26872005-11-14 Roland McGrath <roland@redhat.com>
2688
2689 * test-subr.sh: New file.
2690 * test-wrapper.sh: New file.
2691 * Makefile.am (EXTRA_DIST): Add them.
2692 (AM_LDFLAGS): Variable removed.
2693 (TESTS_ENVIRONMENT): New variable.
2694 (installcheck-local): New target.
2695 * run-addrscopes.sh: Use test-subr.sh.
2696 * run-allfcts.sh: Likewise.
2697 * run-ecp-test.sh: Likewise.
2698 * run-ecp-test2.sh: Likewise.
2699 * run-elflint-self.sh: Likewise.
2700 * run-elflint-test.sh: Likewise.
2701 * run-find-prologues.sh: Likewise.
2702 * run-funcscopes.sh: Likewise.
2703 * run-get-aranges.sh: Likewise.
2704 * run-get-files.sh: Likewise.
2705 * run-get-lines.sh: Likewise.
2706 * run-get-pubnames.sh: Likewise.
2707 * run-line2addr.sh: Likewise.
2708 * run-ranlib-test.sh: Likewise.
2709 * run-ranlib-test2.sh: Likewise.
2710 * run-show-abbrev.sh: Likewise.
2711 * run-show-ciefde.sh: Likewise.
2712 * run-show-die-info.sh: Likewise.
2713 * run-strings-test.sh: Likewise.
2714 * run-strip-test.sh: Likewise.
2715
Roland McGrathe47ab762005-11-17 03:16:00 +000027162005-11-13 Roland McGrath <roland@redhat.com>
2717
2718 * funcretval.c: New file.
2719 * Makefile.am (noinst_PROGRAMS): Add it.
2720 (funcretval_LDADD): New variable.
2721
Ulrich Drepper3840c1c2005-11-09 16:13:48 +000027222005-11-09 Ulrich Drepper <drepper@redhat.com>
2723
2724 * line2addr.c (handle_module): Add missing parameter to printf.
2725
Roland McGrath07d4f2f2005-10-28 06:56:24 +000027262005-10-27 Roland McGrath <roland@redhat.com>
2727
Roland McGrath6724c902005-10-28 07:07:19 +00002728 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2729 * funcscopes.c (handle_function): Likewise.
2730 * dwflmodtest.c (print_inline, print_func): Likewise.
2731 * find-prologues.c (handle_function): Likewise.
2732
27332005-10-27 Roland McGrath <roland@redhat.com>
2734
Roland McGrath07d4f2f2005-10-28 06:56:24 +00002735 * run-find-prologues.sh: New file.
2736 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2737
2738 * find-prologues.c (handle_function): Skip inlines.
2739
27402005-10-25 Roland McGrath <roland@redhat.com>
2741
2742 * find-prologues.c: New file.
2743 * Makefile.am (noinst_PROGRAMS): Add it.
2744 (find_prologues_LDADD): New variable.
2745
Ulrich Drepper3bbc9502005-09-02 20:29:56 +000027462005-09-02 Ulrich Drepper <drepper@redhat.com>
2747
2748 * run-strings-test.sh: Remove strings.out in the end.
2749
Ulrich Drepper7d65d012005-08-31 15:14:26 +000027502005-08-31 Ulrich Drepper <drepper@redhat.com>
2751
2752 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
2753 * run-allfcts.sh: Likewise.
2754 * run-ecp-test.sh: Likewise.
2755 * run-ecp-test2.sh: Likewise.
2756 * run-elflint-test.sh: Likewise.
2757 * run-funcscopes.sh: Likewise.
2758 * run-get-aranges.sh: Likewise.
2759 * run-get-files.sh: Likewise.
2760 * run-get-lines.sh: Likewise.
2761 * run-get-pubnames.sh: Likewise.
2762 * run-line2addr.sh: Likewise.
2763 * run-ranlib-test2.sh: Likewise.
2764 * run-show-abbrev.sh: Likewise.
2765 * run-show-ciefde.sh: Likewise.
2766 * run-show-die-info.sh: Likewise.
2767 * run-strings-test.sh: Likewise.
2768 * run-strip-test.sh: Likewise.
2769
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +000027702005-08-30 Ulrich Drepper <drepper@redhat.com>
2771
2772 * coverage.sh: Handle case where there is no .gcno file at all.
2773
Ulrich Drepper39cec7a2005-08-30 01:22:01 +000027742005-08-29 Ulrich Drepper <drepper@redhat.com>
2775
2776 * Makefile.am (EXTRA_DIST): Add coverage.
2777 [GCOV]: Generate coverage summary after the tests ran
2778 * coverage.sh: New file.
2779
Ulrich Drepperfbe998a2005-08-29 16:27:10 +000027802005-08-28 Ulrich Drepper <drepper@redhat.com>
2781
2782 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
2783 (CLEANFILES): Add *.gcno *.gcda *.gconv.
2784
27852005-08-28 Ulrich Drepper <drepper@redhat.com>
2786
2787 * run-strings-test.sh: New file.
2788 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2789
Roland McGrath71e15a02005-08-27 10:33:26 +000027902005-08-27 Roland McGrath <roland@redhat.com>
2791
Roland McGrathb0bc2782005-08-27 21:07:16 +00002792 * addrscopes.c (handle_address): Apply bias to PC addresses.
2793
Roland McGrath71e15a02005-08-27 10:33:26 +00002794 * run-funcscopes.sh: New file.
2795 * testfile25.bz2: New data file.
2796 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2797
27982005-08-26 Roland McGrath <roland@redhat.com>
2799
2800 * addrscopes.c (dwarf_diename_integrate): Removed.
2801 (print_vars, handle_address): Use plain dwarf_diename.
2802
28032005-08-25 Roland McGrath <roland@redhat.com>
2804
2805 * funcscopes.c: New file.
2806 * Makefile.am (noinst_PROGRAMS): Add it.
2807 (funcscopes_LDADD): New variable.
2808
2809 * run-addrscopes.sh: Add another case.
2810 * testfile24.bz2: New data file.
2811 * Makefile.am (EXTRA_DIST): Add it.
2812
2813 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
2814 pass it to dwarf_getscopes.
2815 (main): Pass it, true when '=' follows an address.
2816
Roland McGrath4c305da2005-08-25 01:49:35 +000028172005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +00002818
Roland McGrath4c305da2005-08-25 01:49:35 +00002819 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +00002820
Ulrich Drepper2eb660f2005-08-24 19:47:57 +000028212005-08-24 Ulrich Drepper <drepper@redhat.com>
2822
Ulrich Drepper958bf132005-08-24 21:40:55 +00002823 * run-line2addr.sh: Remove testfile23 in the end.
2824
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00002825 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +00002826 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00002827
Roland McGrathd17fac72005-08-23 08:20:21 +000028282005-08-22 Roland McGrath <roland@redhat.com>
2829
2830 * run-line2addr.sh: Add a case.
2831 * testfile23.bz2: New data file.
2832 * Makefile.am (EXTRA_DIST): Add it.
2833
Roland McGrath9a1f3652005-08-18 20:57:04 +000028342005-08-18 Roland McGrath <roland@redhat.com>
2835
Roland McGrathf5fda7d2005-08-18 22:01:57 +00002836 * run-addrscopes.sh: New file.
2837 * testfile22.bz2: New data file.
2838 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2839
Roland McGrath9a1f3652005-08-18 20:57:04 +00002840 * addrscopes.c: New file.
2841 * Makefile.am (noinst_PROGRAMS): Add it.
2842 (addrscopes_LDADD): New variable.
2843
Ulrich Drepper837b5222005-08-16 05:12:01 +000028442005-08-15 Ulrich Drepper <drepper@redhat.com>
2845
2846 * run-elflint-self.sh: Don't run test if the file doesn't exist.
2847
Roland McGrath1ecb6062005-08-15 09:53:04 +000028482005-08-15 Roland McGrath <roland@redhat.com>
2849
2850 * dwflmodtest.c (print_instance, print_inline): New functions.
2851 (print_func): Call print_inline.
2852 (options, parse_opt): Grok -i/--inlines.
2853
Roland McGrath8d18c292005-08-07 21:42:07 +000028542005-08-07 Roland McGrath <roland@redhat.com>
2855
2856 * dwflmodtest.c: Print function details only if -f flag is given.
2857
Ulrich Drepper47be7952005-08-07 04:41:39 +000028582005-08-06 Ulrich Drepper <drepper@redhat.com>
2859
Ulrich Drepper637963b2005-08-07 05:33:07 +00002860 * run-elflint-self.sh: New file.
2861 * Makefile.am (TESTS): Add run-elflint-self.sh.
2862 (EXTRA_DIST): Likewise.
2863
Ulrich Drepper47be7952005-08-07 04:41:39 +00002864 * Makefile.am: Link with statis libs if BUILD_STATIC.
2865 (dwflmodtest_LDADD): Also link with -ldl.
2866
Ulrich Drepper41de4882005-08-03 00:02:56 +000028672005-08-02 Ulrich Drepper <drepper@redhat.com>
2868
Ulrich Dreppera38998e2005-08-03 02:05:39 +00002869 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
2870 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
2871 library first.
2872 * asm-tst2.c: Likewise.
2873 * asm-tst3.c: Likewise.
2874 * asm-tst4.c: Likewise.
2875 * asm-tst5.c: Likewise.
2876 * asm-tst6.c: Likewise.
2877 * asm-tst7.c: Likewise.
2878 * asm-tst8.c: Likewise.
2879 * asm-tst9.c: Likewise.
2880
Ulrich Drepper41de4882005-08-03 00:02:56 +00002881 * msg_tst.c: Add new error message.
2882
Ulrich Drepper18618fd2005-07-28 21:29:22 +000028832005-07-28 Ulrich Drepper <drepper@redhat.com>
2884
2885 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
2886
Roland McGrathd17fac72005-08-23 08:20:21 +000028872005-06-01 Roland McGrath <roland@redhat.com>
2888
2889 * line2addr.c: Rewritten using libdwfl.
2890 * run-line2addr.sh: Update test for changed arguments.
2891 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
2892 (libdwfl): New variable.
2893 (line2addr_LDADD): Use it.
2894
Roland McGrath18385902005-07-28 07:12:38 +000028952005-07-28 Roland McGrath <roland@redhat.com>
2896
2897 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
2898 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
2899 (dwflmodtest_LDADD): New variable.
2900 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
2901
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000029022005-07-21 Ulrich Drepper <drepper@redhat.com>
2903
2904 * testfile18.bz2: New file.
2905 * run-elflint-test.sh: New file.
2906 * Makefile.am (TESTS): Add run-elflint-test.sh.
2907 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
2908
29092005-05-24 Ulrich Drepper <drepper@redhat.com>
2910
2911 * get-files.c (main): Use correct format specifier.
2912
29132005-05-21 Ulrich Drepper <drepper@redhat.com>
2914
2915 * Makefile.am: Add -Wextra to CFLAGS.
2916 * get-files.c: Remove warning this produced.
2917 * get-pubnames.c: Likewise.
2918 * newfile.c: Likewise.
2919 * newscn.c: Likewise.
2920 * scnnames.c: Likewise.
2921 * showptable.c: Likewise.
2922 * test-nlist.c: Likewise.
2923 * update1.c: Likewise.
2924 * update2.c: Likewise.
2925 * update3.c: Likewise.
2926 * update4.c: Likewise.
2927
29282005-05-08 Ulrich Drepper <drepper@redhat.com>
2929
2930 * run-line2addr.sh: Remove testfile14 at the end.
2931
Ulrich Drepper282bf322005-07-28 21:49:05 +00002932 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002933
2934 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
2935 .bz, not .bz2.
2936
29372005-05-03 Roland McGrath <roland@redhat.com>
2938
2939 * run-strip-test.sh: Use variables for test file names.
2940 Optionally produce separate debug file and check it.
2941 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
2942 * run-strip-test3.sh: Likewise.
2943 * run-strip-test4.sh: New file.
2944 * run-strip-test5.sh: New file.
2945 * run-strip-test6.sh: New file.
2946 * testfile15.bz: New file.
2947 * testfile15.debug.bz: New file.
2948 * testfile16.bz: New file.
2949 * testfile16.debug.bz: New file.
2950 * testfile17.bz: New file.
2951 * testfile17.debug.bz: New file.
2952 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2953
29542005-04-25 Ulrich Drepper <drepper@redhat.com>
2955
2956 * run-line2addr.sh: Also use testfile14. Adjust for correct
2957 return of multiple matches.
2958 * testfile14.bz2: New file.
2959 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
2960
2961 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
2962
Roland McGrath87d47802007-07-16 22:23:37 +000029632005-04-04 Roland McGrath <roland@redhat.com>
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002964
2965 * line2addr.c (main): Initialize LINES and NLINES before calling
2966 dwarf_getsrc_file, and free LINES afterwards.
2967
2968 * allfcts.c (main): Use size_t for CUHL.
2969
29702005-04-04 Ulrich Drepper <drepper@redhat.com>
2971
2972 * line2addr.c: New file.
2973 * run-line2addr.sh: New file.
2974 * Makefile.am: Add rules to build, run, and distribute new code.
2975
29762005-04-02 Ulrich Drepper <drepper@redhat.com>
2977
2978 * allfcts.c: New file.
2979 * run-allfcts.sh: New file.
2980 * Makefile.am: Add rules to build, run, and distribute new code.
2981
29822005-02-05 Ulrich Drepper <drepper@redhat.com>
2983
2984 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
2985 programs with -lmudflap.
2986
29872004-09-25 Ulrich Drepper <drepper@redhat.com>
2988
2989 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
2990 * asm-tst5.c (main): Likewise.
2991 * asm-tst6.c (main): Likewise.
2992
29932004-01-17 Ulrich Drepper <drepper@redhat.com>
2994
2995 * Makefile.am: Support building with mudflap.
2996
29972004-01-12 Ulrich Drepper <drepper@redhat.com>
2998
2999 * get-aranges.c: Rewrite to use libdw.
3000 * Makefile.am: Reenable get-aranges test.
3001
30022004-01-11 Ulrich Drepper <drepper@redhat.com>
3003
3004 * get-lines.c: New file.
3005 * get-files.c: Adjust for libdw.
3006 * run-get-files.sh: Adjust expected result.
3007 * run-get-lines.sh: Likewise.
3008 * Makefile.am: Run get-lines test. Don't run get-aranges and
3009 get-ciefde test for now.
3010
3011 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
3012 change. Print attribute offset information.
3013 * run-show-abbrev.sh: Adjust expected output.
3014
30152004-01-09 Ulrich Drepper <drepper@redhat.com>
3016
3017 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
3018 * show-die-info.c: Likewise.
3019 * run-show-die-info.sh: Adjust expected output.
3020
30212003-08-13 Ulrich Drepper <drepper@redhat.com>
3022
3023 * Makefile.in: Depend on libebl.a, not libebl.so.
3024
30252003-08-11 Ulrich Drepper <drepper@redhat.com>
3026
3027 * Moved to CVS archive.