blob: 5ee8626ed62126cf0d68525b7851e42dfe612044 [file] [log] [blame]
Brian Silverman86497922018-02-10 19:28:39 -050012018-02-09 Joshua Watt <JPEWhacker@gmail.com>
2
3 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment.
4
52018-01-22 Mark Wielaard <mark@klomp.org>
6
7 * allfcts.c (setup_alt): Print warning when alt file couldn't be
8 found.
9 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir
10 where it cannot be found by allfcts itself (but it can by libdw).
11
122018-01-25 Mark Wielaard <mark@klomp.org>
13
14 * elfstrmerge.c (main): Initialize and check symtabshdr instead of
15 symtabndx.
16
172018-01-14 Petr Machata <pmachata@gmail.com>
18
19 * testfile-sizes4.o.bz2: New test file.
20 * testfile-sizes4.s: New test source.
21 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257.
22
232017-12-23 Mark Wielaard <mark@klomp.org>
24
25 * backtrace-subr.sh (check_native_core): Use a lock file and try
26 to extract core using coredumpctl.
27 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock.
28
292017-12-11 Dima Kogan <dima@secretsauce.net>
30
31 * run-aggregate-size.sh: Added check for multi-dimensional arrays.
32 * run-peel-type.sh: Likewise.
33 * testfile-sizes3.o.bz2: Likewise.
34
352017-12-07 Mark Wielaard <mark@klomp.org>
36
37 * run-readelf-variant.sh: New test.
38 * testfile-ada-variant.bz2: New testfile.
39 * Makefile.am (TESTS): Add run-readelf-variant.sh.
40 (EXTRA_DISTS): Add run-readelf-variant.sh and
41 testfile-ada-variant.bz2.
42
432017-11-29 Mark Wielaard <mark@klomp.org>
44
45 * run-readelf-loc.sh: Adjust expected loc list output.
46 * run-readelf-zdebug-rel.sh: Likewise.
47 * run-readelf-zdebug.sh: Likewise.
48
492017-11-29 Mark Wielaard <mark@klomp.org>
50
51 * run-readelf-loc.sh: Adjust expected range list output.
52 * run-readelf-zdebug.sh: Likewise.
53
542017-11-29 Mark Wielaard <mark@klomp.org>
55
56 * run-readelf-dwz-multi.sh: Add expected file names.
57 * run-readelf-zdebug-rel.sh: Likewise.
58
592017-11-29 Mark Wielaard <mark@klomp.org>
60
61 * run-readelf-dwz-multi.sh: Add expected abbrev codes.
62 * run-readelf-zdebug-rel.sh: Likewise.
63
642017-11-29 Mark Wielaard <mark@klomp.org>
65
66 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces.
67 * run-readelf-loc.sh: Likewise.
68 * run-readelf-zdebug-rel.sh: Likewise.
69 * run-readelf-zdebug.sh: Likewise.
70
712017-11-16 Mark Wielaard <mark@klomp.org>
72
73 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
74
752017-11-10 Mark Wielaard <mark@klomp.org>
76
77 * run-exprlocs-self.sh: New test.
78 * run-varlocs-self.sh: Likewise.
79 * Makefile.am (TESTS) Add run-exprlocs-self.sh and
80 run-varlocs-self.sh.
81 (EXTRA_DIST): Likewise.
82 * varlocs.c (cfi_debug_bias): New global variable.
83 (is_ET_REL): Likewise.
84 (print_expr): Don't crash and burn when CFI cannot be found for an
85 ET_REL file for DW_OP_call_frame_cfa.
86 (handle_die): If there is no entry_pc pick the lowest pc start range
87 for the DIE.
88 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi
89 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL.
90
912017-11-03 Mark Wielaard <mark@klomp.org>
92
93 * run-exprlocs.sh: New test.
94 * testfile-stridex.bz2: New testfile.
95 * Makefile.am (TESTS): Add run-exprlocs.sh.
96 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2.
97 * varlocs.c (dwarf_tag_string): New function.
98 (dwarf_attr_string): Likewise.
99 (dwarf_form_string): Likewise.
100 (print_expr): Fix typo in error message.r
101 Handle DW_OP_GNU_variable_value.
102 (attr_arg): New struct.
103 (handle_attr): New function.
104 (handle_die): Likewise.
105 (main): Handle --exprlocs argument. Call handle_die.
106
1072017-10-16 Mark Wielaard <mark@klomp.org>
108
109 * md5-sha1-test.c: Removed.
110 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test.
111 (TESTS): Likewise.
112 (md5_sha1_test_LDADD): Removed.
113
1142017-10-04 Mark Wielaard <mark@klomp.org>
115
116 * msg_tst.c: Handle ELF_E_INVALID_ELF.
117
1182017-09-10 Mark Wielaard <mark@klomp.org>
119
120 * run-ar.sh: New test.
121 * Makefile.am (TESTS): Add run-ar.sh.
122 (EXTRA_DIST): Likewise.
123
1242017-08-18 Ulf Hermann <ulf.hermann@qt.io>
125
126 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS.
127
1282017-04-27 Ulf Hermann <ulf.hermann@qt.io>
129
130 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS.
131
1322017-08-08 Dmitry V. Levin <ldv@altlinux.org>
133
134 * run-strip-nothing.sh: Add -s.
135
1362017-07-26 Mark Wielaard <mark@klomp.org>
137
138 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
139
1402016-10-27 Mark Wielaard <mjw@redhat.com>
141
142 * dwarf_default_lower_bound.c: New test.
143 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound.
144 (TESTS): Likewise.
145 (dwarf_default_lower_bound_LDADD): New variable.
146
1472017-07-21 Mark Wielaard <mark@klomp.org>
148
149 * get-lines.c (main): Add dwarf_line_file test.
150
1512017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
152
153 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names
154 * run-allregs.sh: Update generic SPRs names to HTM SPRs names
155
1562017-07-20 Mark Wielaard <mark@klomp.org>
157
158 * run-strip-g.sh: New test.
159 * Makefile.am (TESTS): Add run-strip-g.sh.
160 (EXTRA_DIST): Likewise.
161
1622017-07-18 Mark Wielaard <mark@klomp.org>
163
164 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM.
165
1662017-05-04 Ulf Hermann <ulf.hermann@qt.io>
167
168 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero.
169
1702017-07-14 Mark Wielaard <mark@klomp.org>
171
172 * run-strip-remove-keep.sh: New test.
173 * Makefile.am (TESTS): Add run-strip-remove-keep.sh.
174 (EXTRA_DIST): Likewise.
175
1762017-06-07 Mark Wielaard <mark@klomp.org>
177
178 * run-strip-nothing.sh: New test.
179 * Makefile.am (TESTS): Add run-strip-nothing.sh.
180 (EXTRA_DIST): Likewise.
181
1822017-06-06 Mark Wielaard <mark@klomp.org>
183
184 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab.
185
1862017-05-30 Mark Wielaard <mark@klomp.org>
187
188 * run-backtrace-fp-core-ppc64le.sh: New test.
189 * backtrace.ppc64le.fp.core.bz2: New test file.
190 * backtrace.ppc64le.fp.exec.bz2: New testfile.
191 * backtrace-subr.sh (check_backtracegen): Accept '(null)'.
192 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh.
193 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh,
194 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2.
195
1962017-02-13 Ulf Hermann <ulf.hermann@qt.io>
197 Mark Wielaard <mark@klomp.org>
198
199 * Makefile.am: Add test for unwinding with frame pointers on aarch64
200 * backtrace.aarch64.fp.core.bz2: New file
201 * backtrace.aarch64.fp.exec.bz2: New file
202 * run-backtrace-fp-core-aarch64.sh: New file
203 * backtrace-subr.sh (check_err): Allow Invalid register.
204 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames.
205
2062017-04-06 Mark Wielaard <mark@klomp.org>
207
208 * run-backtrace-fp-core-i386.sh: New test.
209 * backtrace.i386.fp.core.bz2: New test file.
210 * backtrace.i386.fp.exec.bz2: New testfile.
211 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh.
212 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh,
213 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2.
214
2152017-02-09 Ulf Hermann <ulf.hermann@qt.io>
216
217 * Makefile.am: Add test for unwinding with frame pointers on x86_64
218 * backtrace.x86_64.fp.core.bz2: New file
219 * backtrace.x86_64.fp.exec.bz2: New file
220 * run-backtrace-fp-core-x86_64.sh: New file
221
2222017-04-25 Mark Wielaard <mark@klomp.org>
223
224 * backtrace-subr.sh (check_backtracegen): New function.
225 (check_core): Add check_backtracegen call.
226 * backtrace.ppc.exec.bz2: Regenerated.
227 * backtrace.ppc.core.bz2: Likewise.
228
2292017-04-24 Mark Wielaard <mark@klomp.org>
230
231 * backtrace.c: Remove option to allow unknown symbols in the trace.
232 * backtrace-substr.sh: Remove option to allow unknown symbols
233 to check_core() and allow failed symbol lookups in check_err().
234
2352017-04-20 Ulf Hermann <ulf.hermann@qt.io>
236
237 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags
238 that are set.
239 * run-readelf-zdebug-rel.sh: Likewise.
240
2412017-04-20 Ulf Hermann <ulf.hermann@qt.io>
242
243 * backtrace-child.c: Include sys/ptrace.h only on linux.
244 * backtrace-dwarf.c: Likewise.
245
2462017-04-05 Mark Wielaard <mark@klomp.org>
247
248 * test-subr.sh (testrun_on_self_compressed): New function.
249 * run-elflint-self.sh: Call testrun_on_self_compressed.
250 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz.
251
2522017-03-30 Mark Wielaard <mark@klomp.org>
253
254 * peel_type.c: New file.
255 * run-peel-type.sh: New test.
256 * Makefile.am (check_PROGRAMS): Add peel_type.c.
257 (TESTS): Add run-peel-type.sh.
258 (EXTRA_DIST): Likewise.
259 (peel_type_LDADD): New variable.
260
2612017-03-27 Mark Wielaard <mark@klomp.org>
262
263 * fillfile.c: New file.
264 * Makefile.am (check_PROGRAMS): Add fillfile.
265 (TESTS): Likewise.
266 (fillfile_LDADD): New variable.
267
2682017-02-15 Mark Wielaard <mark@klomp.org>
269
270 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.
271 * run-readelf-A.sh: Add testfileppc64.o test.
272
2732017-02-15 Ulf Hermann <ulf.hermann@qt.io>
274
275 * elfstrmerge.c: Include system.h.
276
2772017-02-09 Ulf Hermann <ulf.hermann@qt.io>
278
279 * backtrace.c: Add an option to allow unknown symbols in the trace
280 * backtrace-substr.sh: Add an option to allow unknown symbols
281 to check_core() and allow failed symbol lookups in check_err()
282
2832017-02-09 Ulf Hermann <ulf.hermann@qt.io>
284
285 * backtrace-data.c: Don't assert that symbols are found.
286 The unwinder is allowed to ask for invalid addresses. We deny
287 such requests, rather than make the test fail.
288
2892016-11-17 Mark Wielaard <mjw@redhat.com>
290
291 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests.
292
2932016-11-02 Mark Wielaard <mjw@redhat.com>
294
295 * backtrace-data.c (thread_callback): Add explicit break after error.
296 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU.
297
2982016-10-22 Kevin Cernekee <cernekee@chromium.org>
299
300 * Makefile.am (TESTS): Add run-unstrip-test4.sh.
301 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2,
302 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2.
303 (run-unstrip-test4.sh): New file.
304 (testfile-strtab.bz2): New file.
305 (testfile-strtab.stripped.bz2): New file.
306 (testfile-strtab.debuginfo.bz2): New file.
307
3082016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
309
310 * arextract.c: Remove sys/param.h include, add system.h include.
311
3122016-08-30 Mark Wielaard <mjw@redhat.com>
313
314 * Makefile.am (asm_tst?_LDADD): Add libdw.
315
3162016-08-25 Mark Wielaard <mjw@redhat.com>
317
318 * backtrace-child.c: Disable and add documentation about why we disable
319 RAISE_JMP_PATCHING even on x86_64.
320 * backtrace.c (is_x86_64_native): Rename to...
321 (use_raise_jmp_patching): ... this.
322 (callback_verify): Use use_raise_jmp_patching instead of
323 is_x86_64_native.
324 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe
325 path.
326 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__
327 conditional.
328 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use
329 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use
330 use_raise_jmp_patching instead of is_x86_64_native.
331
3322016-08-24 Mark Wielaard <mjw@redhat.com>
333
334 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2.
335
3362016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com>
337
338 * testfilesparc64attrs.o.bz2: New file.
339 * run-readelf-A.sh: Check attributes in a sparc object.
340
3412016-08-06 Mark Wielaard <mjw@redhat.com>
342
343 * run-strip-reloc.sh: Add explicit compressed and uncompressed
344 test cases.
345
3462016-08-10 Richard Henderson <rth@redhat.com>
347
348 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations
349 output.
350
3512016-07-08 Mark Wielaard <mjw@redhat.com>
352
353 * update3_LDADD: Use libdw instead of libebl.
354 * update4_LDADD: Likewise.
355 * alldts_LDADD: Likewise.
356 * elfstrmerge_LDADD: Likewise.
357 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab.
358 * elfstrmerge.c (release): Likewise.
359 (main): Likewise.
360 * update3.c (main): Likewise.
361 * update4.c (main): Likewise.
362
3632016-07-10 Andreas Schwab <schwab@linux-m68k.org>
364
365 * Makefile.am (TESTS): Add run-strip-test11.sh.
366 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2,
367 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2.
368 (run-strip-test11.sh): New file.
369 (hello_m68k.ko.bz2): New file.
370 (testfile-m68k-core.bz2): New file.
371 (testfile-m68k.bz2): New file.
372 (testfile-m68k-s.bz2): New file.
373 * run-allregs.sh: Add test for testfile-m68k-core.
374 * run-readelf-mixed-corenote.sh: Likewise.
375 * run-strip-reloc.sh: Add test for hello_m68k.ko.
376
3772016-07-06 Mark Wielaard <mjw@redhat.com>
378
379 * Makefile.am (check_PROGRAMS): Add vendorelf.
380 (TESTS): Likewise.
381 (vendorelf_LDADD): New variable.
382 * vendorelf.c: New test.
383 * elfshphehdr.c (test): Check elf_getphdrnum succeeds.
384
3852016-06-24 Mark Wielaard <mjw@redhat.com>
386
387 * Makefile.am (check_PROGRAMS): Add emptyfile.
388 (TESTS): Likewise.
389 (emptyfile_LDADD): New variable.
390 * emptyfile.c: New test.
391
3922016-06-28 Richard Henderson <rth@redhat.com>
393
394 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally.
395 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2,
396 testfile-bpf-dis1.o.bz2
397 (run-disasm-bpf.sh): New file.
398 (testfile-bpf-dis1.expect.bz2): New file.
399 (testfile-bpf-dis1.o.bz2): New file.
400
4012016-02-09 Mark Wielaard <mjw@redhat.com>
402
403 * testfile-s390x-hash-both.bz2: New testfile.
404 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2.
405 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test.
406
4072016-02-04 Mark Wielaard <mjw@redhat.com>
408
409 * run-strip-nobitsalign.sh: New test.
410 * testfile-nobitsalign.bz2: New testfile.
411 * testfile-nobitsalign.strip.bz2: Likewise.
412 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh.
413 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2
414 and testfile-nobitsalign.strip.bz2.
415 * run-strip-test.sh: Add --gnu to elflint calls.
416
4172016-01-13 Mark Wielaard <mjw@redhat.com>
418
419 * dwfl-bug-fd-leak.c: Skip test unless on __linux__.
420
4212016-01-13 Mark Wielaard <mjw@redhat.com>
422
423 * dwfl-proc-attach.c: Guard linux specific header.
424
4252016-01-13 Mark Wielaard <mjw@redhat.com>
426
427 * system-elf-libelf-test.c: New test.
428 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
429 (check_PROGRAMS): Likewise.
430 (system_elf_libelf_test_CPPFLAGS): New variable.
431 (system_elf_libelf_test_LDADD): Likewise.
432
4332016-01-08 Mark Wielaard <mjw@redhat.com>
434
435 * elfputzdata.c (main): Fix parentheses in strncmp test.
436
4372016-01-08 Mark Wielaard <mjw@redhat.com>
438
439 * elfputzdata.c (main): Use PRId64 to print 64 bit value.
440
4412016-01-08 Mark Wielaard <mjw@redhat.com>
442
443 * Makefile.am (TESTS): Always unconditionally add
444 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
445
4462015-12-16 Mark Wielaard <mjw@redhat.com>
447
448 * run-compress-test.sh: New test.
449 * Makefile.am (TESTS): Add run-compress-test.sh.
450 (EXTRA_DISTS): Likewise.
451
4522015-11-26 Mark Wielaard <mjw@redhat.com>
453
454 * zstrptr.c: New file.
455 * run-zstrptr.sh: New test.
456 * elfputzdata.c (main): (re)compress .shstrtab.
457 * run-elfputzdata.sh: Expect .shstrtab compression.
458 * Makefile.am (check_PROGRAMS): Add zstrptr.
459 (TESTS): Add run-zstrptr.sh.
460 (EXTRA_DIST): Likewise.
461 (zstrptr_LDADD): New variable.
462
4632015-10-20 Mark Wielaard <mjw@redhat.com>
464
465 * run-readelf-zx.sh: New test.
466 * run-readelf-zp.sh: Likewise.
467 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
468 (EXTRA_DIST): Likewise.
469
4702015-10-21 Mark Wielaard <mjw@redhat.com>
471
472 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata.
473 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
474 (EXTRA_DIST: Likewise.
475 (elfgetzdata_LDADD): New variable.
476 (elfputzdata_LDADD): Likewise.
477 * elfgetzdata.c: New file.
478 * elfputzdata.c: Likewise.
479 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED,
480 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and
481 ELF_E_DECOMPRESS_ERROR.
482 * run-elfgetzdata.sh: New test.
483 * run-elfputzdata.sh: Likewise.
484
4852015-10-28 Mark Wielaard <mjw@redhat.com>
486
487 * run-readelf-z.sh: New test.
488 * Makefile.am (TESTS): Add run-readelf-z.sh.
489 (EXTRA_DIST): Likewise.
490
4912015-10-28 Mark Wielaard <mjw@redhat.com>
492
493 * elfgetchdr.c: New file.
494 * run-elfgetchdr.sh: New test.
495 * testfile-zgabi32.bz2: New testfile.
496 * testfile-zgabi32be.bz2: Likewise.
497 * testfile-zgabi64.bz2: Likewise.
498 * testfile-zgabi64be.bz2: Likewise.
499 * Makefile.am (check_PROGRAMS): Add elfgetchdr.
500 (TESTS): Add run-elfgetchdr.sh.
501 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2,
502 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2.
503 (welfgetchdr_LDADD): New variable.
504 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE
505 and ELF_E_INVALID_SECTION_FLAGS,
506
507
5082015-10-28 Mark Wielaard <mjw@redhat.com>
509
510 * dwelfgnucompressed.c: New file.
511 * run-dwelfgnucompressed.sh: New test.
512 * testfile-zgnu32.bz2: New testfile.
513 * testfile-zgnu64.bz2: Likewise.
514 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed.
515 (TESTS): Add run-dwelfgnucompressed.sh.
516 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2,
517 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2.
518 (dwelfgnucompressed_LDADD): New variable.
519
5202015-12-31 Mark Wielaard <mjw@redhat.com>
521
522 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx.
523 * run-elfstrmerge-test.sh: New test.
524 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh
525 (EXTRA_DIST): Likewise.
526
5272015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
528
529 * run-backtrace-core-sparc.sh: New file.
530 * backtrace.sparc.core.bz2: New file.
531 * backtrace.sparc.exec.bz2: New file.
532 * Makefile.am (EXTRA_DIST): ... and added all here.
533 (TESTS): Added run-backtrace-core-sparc.sh.
534
5352015-12-02 Mark Wielaard <mjw@redhat.com>
536
537 * Makefile.am (valgrind_cmd): Use --leak-check=full.
538 * run-backtrace-demangle.sh: Disable valgrind.
539 * run-stack-demangled-test.sh: Likewise.
540 * run-stack-d-test.sh: Likewise.
541 * run-stack-i-test.sh: Likewise.
542
5432015-12-01 Mark Wielaard <mjw@redhat.com>
544
545 * test-flag-nobits.c (main): Call elf_end.
546 * rerequest_tag.c (main): Call dwarf_end.
547 * funcscopes.c (handle_function): Free scopes.
548 * dwarf-getstring.c (main): Call dwarf_end.
549 * allregs.c (main): Free state.info.
550 * alldts.c (main): Free dyn.
551 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi
552 calls.
553 * addrscopes.c (handle_address): Free scopes.
554
5552015-10-16 Mark Wielaard <mjw@redhat.com>
556
557 * Makefile.am [BUILD_STATIC] (libdw): Add -lz.
558 [BUILD_STATIC] (libelf): Likewise.
559
5602015-10-16 Mark Wielaard <mjw@redhat.com>
561
562 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS.
563
5642015-10-09 Josh Stone <jistone@redhat.com>
565
566 * lfs-symbols: New list of LFS-related symbols from lintian.
567 * testfile-nolfs.bz2: New test binary for sanity checking.
568 * run-lfs-symbols.sh: New test.
569 * Makefile.am (TESTS): Add run-lfs-symbols.sh.
570 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and
571 run-lfs-symbols.sh.
572 * alldts.c (main): Replace open64 with open.
573 * dwarf-getstring.c (main): Likewise.
574 * arls.c: Include config.h.
575 * ecp.c: Likewise.
576 * rdwrmmap.c: Likewise.
577 * test-elf_cntl_gelf_getshdr.c: Likewise.
578 * test-flag-nobits.c: Include config.h.
579 (main): Replace open64 with open.
580
5812015-10-09 Mark Wielaard <mjw@redhat.com>
582
583 * elfshphehdr.c (check): Rename argument from check to statement.
584 (check_elf): Likewise.
585
5862015-10-05 Josh Stone <jistone@redhat.com>
587
588 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer.
589
5902015-10-02 Mark Wielaard <mjw@redhat.com>
591
592 * elfstrmerge.c: New check program.
593 * run-strip-strmerge.sh: New test.
594 * Makefile.am (check_PROGRAMS): Add elfstrmerge.
595 (EXTRA_DIST): Add run-strip-strmerge.sh
596 (elfstrmerge_LDADD): New variable.
597
5982015-09-29 Mark Wielaard <mjw@redhat.com>
599
600 * elfshphehdr.c: New test.
601 * Makefile.am (check_PROGRAMS): Add elfshphehdr.
602 (TESTS): Likewise.
603 (elfshphehdr_LDADD): New variable.
604
6052015-09-08 Mark Wielaard <mjw@redhat.com>
606
607 * dwfl-proc-attach.c: New test.
608 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach.
609 (TESTS): Likewise.
610 (dwfl_proc_attach_LDADD): New variable.
611 (dwfl_proc_attach_LDFLAGS): Likewise.
612
6132015-09-04 Chih-Hung Hsieh <chh@google.com>
614
615 * varlocs.c (print_base_type): Initialize enctype.
616
6172015-09-04 Chih-Hung Hsieh <chh@google.com>
618
619 * md5-sha1-test.c (md5_expected): Removed.
620 (sha1_expected): Likewise.
621
6222015-09-04 Chih-Hung Hsieh <chh@google.com>
623
624 * asm-tst1.c (main): Replace %Z length modifier with %z.
625 * asm-tst2.c (main): Likewise.
626 * asm-tst3.c (main): Likewise.
627 * asm-tst4.c (main): Likewise.
628 * asm-tst5.c (main): Likewise.
629 * asm-tst6.c (main): Likewise.
630 * asm-tst7.c (main): Likewise.
631 * asm-tst8.c (main): Likewise.
632 * asm-tst9.c (main): Likewise.
633 * sectiondump.c (print_bytes): Likewise.
634
6352015-08-14 Mark Wielaard <mjw@redhat.com>
636
637 * run-addr2line-alt-debugpath.sh: New test.
638 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh
639 (EXTRA_DIST): Likewise.
640
6412015-07-29 Mark Wielaard <mjw@redhat.com>
642
643 * run-unstrip-test3.sh: New test.
644 * testfile-info-link.bz2: New file.
645 * testfile-info-link.debuginfo.bz2: Likewise.
646 * testfile-info-link.stripped.bz2: Likewise.
647 * Makefile.am (TESTS): Add run-unstrip-test3.sh.
648 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2,
649 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2.
650
6512015-06-27 Pino Toscano <toscano.pino@tiscali.it>
652
653 * tests/run-deleted.sh: Skip when detecting a not implemented
654 dwfl_linux_proc_attach.
655
6562015-06-27 Pino Toscano <toscano.pino@tiscali.it>
657
658 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of
659 dwfl_addrmodule.
660
6612015-06-26 Pino Toscano <toscano.pino@tiscali.it>
662
663 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
664
6652015-06-26 Pino Toscano <toscano.pino@tiscali.it>
666
667 * tests/backtrace-data.c: Reduce scope of some includes to match their
668 usage.
669 * tests/backtrace.c: Likewise.
670 * tests/deleted.c: Likewise.
671
6722015-06-16 Mark Wielaard <mjw@redhat.com>
673
674 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test
675 for non-ET_REL files.
676
6772015-05-30 Mark Wielaard <mjw@redhat.com>
678
679 * backtrace-subr.sh (check_native_core): Notice core file couldn't be
680 generated before skipping.
681 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported
682 before skipping.
683 * run-backtrace-demangle.sh: Likewise.
684 * run-stack-demangled-test.sh: Likewise.
685 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled
686 before skipping.
687 * run-backtrace-native-core-biarch.sh: Likewise.
688 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping.
689
6902015-05-20 Mark Wielaard <mjw@redhat.com>
691
692 * run-addr2line-i-test.sh: Add pretty test.
693 * run-addr2line-test.sh: Likewise.
694
6952015-05-20 Mark Wielaard <mjw@redhat.com>
696
697 * run-addr2line-i-demangle-test.sh: New test.
698 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh.
699 (EXTRA_DIST): Likewise.
700
7012015-05-20 Mark Wielaard <mjw@redhat.com>
702
703 * run-addr2line-test.sh: Add -a test variants.
704 * run-addr2line-i-test.sh: Likewise.
705
7062015-05-20 Mark Wielaard <mjw@redhat.com>
707
708 * run-addrname-test.sh: Make sure all input addresses are hex.
709
7102015-05-04 Max Filippov <jcmvbkbc@gmail.com>
711
712 * backtrace-child.c (stdarg, main): Replace assert_perror with assert.
713 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers)
714 (main): Likewise.
715 * backtrace-dwarf.c (main): Likewise.
716 * backtrace.c (prepare_thread, exec_dump): Likewise.
717
7182015-05-04 Anthony G. Basile <blueness@gentoo.org>
719
720 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD)
721 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD)
722 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD)
723 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD)
724 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD).
725
7262015-05-01 Mark Wielaard <mjw@redhat.com>
727
728 * run-stack-d-test.sh: Use --raw and mangled output.
729 * run-stack-i-test.sh: Likewise.
730 * run-stack-demangled-test.sh: New test.
731 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh.
732 (TESTS): Likewise.
733
7342015-04-01 H.J. Lu <hjl.tools@gmail.com>
735
736 * Makefile.am (TESTS): Add run-strip-test10.sh.
737 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2.
738 Add testfile-x32-debug.bz2.
739 * run-strip-test10.sh: New file.
740 * testfile-x32-d.bz2: Likewise.
741 * testfile-x32-debug.bz2: Likewise.
742
7432015-04-01 H.J. Lu <hjl.tools@gmail.com>
744
745 * Makefile.am (TESTS): Add run-strip-test9.sh.
746 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2.
747 * run-strip-test9.sh: New file.
748 * testfile-x32-s.bz2: Likewise.
749
7502015-04-01 H.J. Lu <hjl.tools@gmail.com>
751
752 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh.
753 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2.
754 Add backtrace.x32.exec.bz2.
755 * backtrace.x32.core.bz2 : New file.
756 * backtrace.x32.exec.bz2: Likewise.
757 * run-backtrace-core-x32.sh: Likewise.
758
7592015-04-01 H.J. Lu <hjl.tools@gmail.com>
760
761 * run-addrcfi.sh: Add a test for testfile-x32.
762 * testfile-x32.bz2: New file.
763 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2.
764
7652015-04-01 H.J. Lu <hjl.tools@gmail.com>
766
767 * run-allregs.sh: Add a test for testfile-x32-core.
768
7692015-04-01 H.J. Lu <hjl.tools@gmail.com>
770
771 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core.
772 * testfile-x32-core.bz2: New file.
773 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2.
774
7752015-03-18 Petr Machata <pmachata@redhat.com>
776
777 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match
778 the API changes.
779 * allregs.c (dwarf_encoding_string): Likewise.
780 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise.
781 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise.
782
7832015-03-18 Petr Machata <pmachata@redhat.com>
784
785 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh,
786 debug-ranges-no-lowpc.o.bz2.
787
7882015-03-13 Mark Wielaard <mjw@redhat.com>
789
790 * backtrace-dwarf.c: Add explicit includes.
791 (cleanup_13_abort): Remove unused static declaration.
792 (thread_callback): Add explicit return.
793
7942015-03-13 H.J. Lu <hjl.tools@gmail.com>
795
796 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS
797 instead of PTRACE_POKEUSER.
798 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for
799 is_x86_64_native.
800
8012015-02-18 Mark Wielaard <mjw@redhat.com>
802
803 * newdata.c (check_section_data): Use PRId64 for printing loff_t.
804
8052015-02-11 Josh Stone <jistone@redhat.com>
806
807 * backtrace.c (exec_dump): Initialize jmp.
808
8092015-02-11 Petr Machata <pmachata@redhat.com>
810
811 * run-dwarf-ranges.sh: New test.
812 * dwarf-ranges.c: New file.
813 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case.
814
8152015-01-21 Mark Wielaard <mjw@redhat.com>
816
817 * Makefile.am (check_PROGRAMS): Add elfstrtab.
818 (TESTS): Likewise.
819 (elfstrtab_LDADD): New variable.
820 * elfstrtab.c: New test.
821
8222015-01-20 Mark Wielaard <mjw@redhat.com>
823
824 * Makefile.am (check_PROGRAMS): Add newdata.
825 (TESTS): Likewise.
826 (newdata_LDADD): new variable.
827 * newdata.c: New test.
828
8292015-01-20 Mark Wielaard <mjw@redhat.com>
830
831 * strptr.c: New file.
832 * run-strptr.sh: New test.
833 * Makefile.am (check_PROGRAMS): Add strptr.
834 (TESTS): Add run-strptr.sh.
835 (EXTRA_DIST): Likewise.
836 (strptr_LDADD): New variable.
837
8382015-01-15 Mark Wielaard <mjw@redhat.com>
839
840 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
841 * vdsosyms.c (main): Use getpid () instead of getppid ().
842
8432014-12-27 Mark Wielaard <mjw@redhat.com>
844
845 * addrscopes.c (handle_address): Last address in scope is highpc - 1.
846 * funcscopes.c (handle_function): Likewise.
847 * run-addrscopes.sh: Adjust last address in scope.
848 * run-funcscopes.sh: Likewise.
849
8502015-01-07 Mark Wielaard <mjw@redhat.com>
851
852 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search.
853
8542015-01-14 Mark Wielaard <mjw@redhat.com>
855
856 * testfile-debug-types.bz2: New testfile.
857 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2.
858 * typeiter2.c (main): Print both name and offset of found form DIE.
859 * run-typeiter.s: Adjust output and add testfile-debug-types.
860
8612014-12-26 Mark Wielaard <mjw@redhat.com>
862
863 * run-test-archive64.sh: Add nm test.
864
8652014-12-19 Mark Wielaard <mjw@redhat.com>
866
867 * run-deleted.sh: Don't check libfunc on ppc64.
868
8692014-12-19 Mark Wielaard <mjw@redhat.com>
870
871 * vdsosyms.c (vdso_seen): Removed.
872 (vdso_syms): New global.
873 (module_callback): Set and check vdso_syms.
874 (main): Return value depends on vdso_syms.
875
8762014-12-19 Mark Wielaard <mjw@redhat.com>
877
878 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
879 grep a little.
880 * run-deleted.sh: Call check_native_unsupported.
881
8822014-12-18 Mark Wielaard <mjw@redhat.com>
883
884 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2.
885
8862014-12-12 Mark Wielaard <mjw@redhat.com>
887
888 * Makefile.am (deleted_lib_so_CFLAGS): Add
889 -fasynchronous-unwind-tables.
890
8912014-12-11 Josh Stone <jistone@redhat.com>
892
893 * run-addr2line-i-lex-test.sh: New test.
894 * testfile-lex-inlines.bz2: New testfile.
895 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
896 testfile-lex-inlines.bz2.
897 (TESTS): Add run-addr2line-i-lex-test.sh.
898
8992014-12-10 Josh Stone <jistone@redhat.com>
900
901 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
902 preferred over the plain die name.
903
9042014-12-02 Petr Machata <pmachata@redhat.com>
905
906 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef,
907 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch.
908 (main): Initialize off to DWARF_GETMACROS_START when an extra
909 command line argument is passed.
910 * testfile-macros-0xff.bz2: New test case.
911 * testfile-macros-0xff.s: New file (source for the above).
912 * run-dwarf-getmacros.sh: Add two tests.
913
9142014-11-27 Mark Wielaard <mjw@redhat.com>
915
916 * vdsosyms.c (main): Call dwfl_linux_proc_attach.
917
9182014-11-21 Mark Wielaard <mjw@redhat.com>
919
920 * run-readelf-A.sh: New test.
921 * testfileppc32attrs.o.bz2: New test file.
922 * Makefile.am (TESTS): Add run-readelf-A.sh.
923 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2.
924
9252014-11-10 Mark Wielaard <mjw@redhat.com>
926
927 * vdsosyms.c: New test.
928 * Makefile.am (check_PROGRAMS): Add vdsosyms.
929 (TESTS): Likewise.
930 (vdsosyms_LDADD): New variable.
931
9322014-09-10 Petr Machata <pmachata@redhat.com>
933
934 * dwarf-getmacros.c: Update to use the new macro iteration
935 interfaces.
936 * run-dwarf-getmacros.sh: Adjust, add a test that uses
937 testfile-macros.
938
9392014-10-06 Mark Wielaard <mjw@redhat.com>
940
941 * run-aggregate-size.sh: Add testfile-sizes3.o test case.
942 * testfile-sizes3.o.bz2: New test file.
943 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2.
944
9452014-10-02 Mark Wielaard <mjw@redhat.com>
946
947 * run-deleted.sh: Unset VALGRIND_CMD before running deleted.
948
9492014-10-02 Mark Wielaard <mjw@redhat.com>
950
951 * Makefile.am (check_PROGRAMS): Add aggregate_size.c.
952 (TESTS): Add run-aggregate-size.sh.
953 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2
954 and testfile-sizes2.o.bz2.
955 (aggregate_size_LDADD): New variable.
956 * aggregate_size.c: New file.
957 * run-aggregate-size.sh: New test.
958 * testfile-sizes1.o.bz2: New test file.
959 * testfile-sizes2.o.bz2: Likewise.
960
9612014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
962
963 Support NT_FILE for locating files.
964 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
965 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
966 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
967 * linkmap-cut-lib.so.bz2: New file.
968 * linkmap-cut.bz2: New file.
969 * linkmap-cut.core.bz2: New file.
970 * run-linkmap-cut.sh: New file.
971 * run-unstrip-n.sh: Update its expected output.
972
9732014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
974
975 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
976 (TESTS, EXTRA_DIST): Add run-deleted.sh.
977 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
978 * deleted-lib.c: New file.
979 * deleted.c: New file.
980 * run-deleted.sh: New file.
981
9822014-06-15 Mark Wielaard <mjw@redhat.com>
983
984 * backtrace.c (frame_callback): Error on seeing more than 16 frames.
985
9862014-06-13 Mark Wielaard <mjw@redhat.com>
987
988 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first
989 frame symname.
990
9912014-06-13 Mark Wielaard <mjw@redhat.com>
992
993 * backtrace-subr.sh (check_native_unsupported): New function.
994 (check_native): Call it.
995 (check_native_core): Likewise.
996 * run-backtrace-dwarf.sh: Likewise.
997
9982014-06-11 Mark Wielaard <mjw@redhat.com>
999
1000 * backtrace.c (main): Check that Dwfl was attached by calling
1001 dwfl_pid and printing the error when it is not.
1002
10032014-05-18 Mark Wielaard <mjw@redhat.com>
1004
1005 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static.
1006 (f): Likewise.
1007 * testfile-backtrace-demangle.bz2: Regenerate.
1008 * testfile-backtrace-demangle.core.bz2: Likewise.
1009
10102014-05-02 Mark Wielaard <mjw@redhat.com>
1011
1012 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and
1013 run-allfcts-multi.sh are now added unconditionally.
1014
10152014-05-01 Mark Wielaard <mjw@redhat.com>
1016
1017 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz
1018 subdir.
1019
10202014-04-30 Mark Wielaard <mjw@redhat.com>
1021
1022 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
1023 * Makefile.am (check_PROGRAMS): Add buildid.
1024 (TESTS): Add run-buildid.sh.
1025 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
1026 (buildid_LDADD): New variable.
1027
10282014-04-24 Florian Weimer <fweimer@redhat.com>
1029
1030 * allfcts.c (setup_alt): New function.
1031 (main): Call it. Implementation additional error checking and
1032 reporting.
1033
10342014-04-24 Florian Weimer <fweimer@redhat.com>
1035
1036 * debugaltlink.c, run-debugaltlink.sh: New files.
1037 * Makefile.am (check_PROGRAMS): Add debugaltlink.
1038 (TESTS): Add run-debugaltlink.sh.
1039 (debugaltlink_LDADD): New variable.
1040
10412014-04-11 Mark Wielaard <mjw@redhat.com>
1042
1043 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf.
1044 (check_PROGRAMS): Add debuglink.
1045 (TESTS): Add run-debuglink.sh
1046 (EXTRA_DIST): Likewise.
1047 (debuglink_LDADD): New.
1048 * debuglink.c: New file.
1049 * run-debuglink.sh: Likewise.
1050
10512014-03-23 Mark Wielaard <mjw@redhat.com>
1052
1053 * run-nm-self.sh: Use test = not == for string comparisons.
1054
10552014-04-22 Kurt Roeckx <kurt@roeckx.be>
1056
1057 * backtrace.c: Make Linux only.
1058 * backtrace-child.c: Make Linux only.
1059 * backtrace-data.c: Make Linux only.
1060 * backtrace-dwarf.c: Make Linux only.
1061 * backtrace-subr.sh: Skip core file unwinding tests when not supported.
1062
10632014-03-14 Mark Wielaard <mjw@redhat.com>
1064
1065 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all
1066 LDADD lines.
1067 * configure.ac: Remove MUDFLAP conditional.
1068
10692014-04-09 Mark Wielaard <mjw@redhat.com>
1070
1071 * run-readelf-zdebug.sh: New test.
1072 * testfile-debug.bz2: New testfile.
1073 * testfile-zdebug.bz2: New testfile.
1074 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB.
1075 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and
1076 testfile-zdebug.bz2.
1077
10782014-04-10 Mark Wielaard <mjw@redhat.com>
1079
1080 * testfile_i686_core.bz2: New test file.
1081 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test.
1082 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2
1083
10842014-04-09 Mark Wielaard <mjw@redhat.com>
1085
1086 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh.
1087 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh,
1088 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2.
1089 * run-backtrace-core-aarch64.sh: New test.
1090
10912014-03-11 Josh Stone <jistone@redhat.com>
1092
1093 * testfilebaxmin.bz2: New testfile.
1094 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2.
1095 * run-readelf-s.sh: Test testfilebaxmin.
1096 * run-dwflsyms.sh: Likewise.
1097
10982014-01-26 Mark Wielaard <mjw@redhat.com>
1099
1100 * backtrace-subr.sh (check_unsupported): Special case arm*.
1101
11022014-01-25 Mark Wielaard <mjw@redhat.com>
1103
1104 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to
1105 location expression: call_frame_cfa stack_value.
1106
11072014-01-22 Mark Wielaard <mjw@redhat.com>
1108
1109 * Makefile.am (line2addr_no_Wformat): Removed.
1110
11112014-01-21 Mark Wielaard <mjw@redhat.com>
1112
1113 * Makefile.am (TESTS): Add run-stack-i-test.sh.
1114 (EXTRA_DIST): Likewise.
1115 * run-stack-i-test.sh: New test.
1116
11172014-01-20 Mark Wielaard <mjw@redhat.com>
1118
1119 * Makefile.am (TESTS): Add run-stack-d-test.sh.
1120 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2
1121 testfiledwarfinlines.core.bz2.
1122 * run-stack-d-test.sh: New test.
1123 * testfiledwarfinlines.bz2: New test file.
1124 * testfiledwarfinlines.core.bz2: Likewise.
1125
11262014-01-16 Mark Wielaard <mjw@redhat.com>
1127
1128 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun
1129 on one ET_REL, one ET_EXEC and one ET_DYN file.
1130 * test-subr.sh (self_test_files): Add two ET_REL files, only add
1131 two libebl ET_DYN backend files.
1132
11332014-01-16 Mark Wielaard <mjw@redhat.com>
1134
1135 * run-backtrace-demangle.sh: Check exitcode and max number of frames.
1136
11372014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1138
1139 Fix false FAILs on testsuite with ulimit -c unlimited.
1140 * backtrace-child.c (sigusr2): Call pthread_exit.
1141 (main): Return, do not call abort.
1142
11432014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1144
1145 Fix corruption of non-C++ symbols by the demangler.
1146 * Makefile.am (TESTS): Add run-backtrace-demangle.sh.
1147 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export.
1148 (EXTRA_DIST): Add run-backtrace-demangle.sh,
1149 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc,
1150 testfile-backtrace-demangle.core.bz2.
1151 * backtrace-demangle.cc: New file.
1152 * run-backtrace-demangle.sh: New file.
1153 * testfile-backtrace-demangle.bz2: New file.
1154 * testfile-backtrace-demangle.cc: New file.
1155 * testfile-backtrace-demangle.core.bz2: New file.
1156
11572014-01-07 Matthias Klose <doko@ubuntu.com>
1158
1159 * backtrace-subr.sh (check_native_core): Check to see if core file
1160 was created without ".PID" extension, if so mv core to core.PID.
1161 Skip test if no core file was created or could be found.
1162
11632014-01-04 Mark Wielaard <mjw@redhat.com>
1164
1165 * backtrace-data.c (main): Don't assert if raise returns.
1166 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with
1167 assume_ptrace_attached true.
1168 (ptrace_detach_stopped): Removed function.
1169 (main): Don't call ptrace_detach_stopped.
1170 * backtrace.c (ptrace_detach_stopped): Removed function.
1171 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached
1172 true.
1173 (exec_dump): Don't call ptrace_detach_stopped.
1174
11752014-01-04 Mark Wielaard <mjw@redhat.com>
1176
1177 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
1178 if we cannot adjust core ulimit.
1179
11802014-01-04 Mark Wielaard <mjw@redhat.com>
1181
1182 * cleanup-13.c (force_unwind_stop): Removed.
1183 (force_unwind): Just call abort. Don't setup _Unwind_Exception and
1184 don't call _Unwind_ForcedUnwind.
1185
11862014-01-03 Mark Wielaard <mjw@redhat.com>
1187
1188 * run-addrcfi.sh: Add case for EM_AARCH64.
1189 * testfileaarch64.bz2: New testfile.
1190 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2.
1191
11922013-12-30 Mark Wielaard <mjw@redhat.com>
1193
1194 * backtrace-dwarf.c (report_pid): Explicitly call
1195 dwfl_linux_proc_attach and check for errors.
1196 * backtrace.c (report_pid): Likewise.
1197
11982013-12-21 Mark Wielaard <mjw@redhat.com>
1199
1200 * backtrace.c (callback_verify): Only assert that case 5 is the last
1201 instruction of backtracegen on x86_64 native.
1202
12032013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1204 Mark Wielaard <mjw@redhat.com>
1205
1206 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2
1207 and testfilebaz*ppc64*.bz2 files.
1208 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
1209 error on dwfl_module_getsymtab error.
1210 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info.
1211 Compare values for non-ET_REL. Use dwfl_module_addrinfo.
1212 Also print section of actual value if different from sym.
1213 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
1214 Test addr2line -x by showing different sections for address and
1215 found name in testfile66.
1216 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko,
1217 testfilebaz*ppc64): New tests.
1218 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2,
1219 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2,
1220 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2,
1221 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2,
1222 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2,
1223 testfilebaztabppc64.bz2: New test files.
1224
12252013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1226
1227 unwinder: s390 and s390x
1228 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and
1229 run-backtrace-core-s390.sh.
1230 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2,
1231 backtrace.s390.core.bz2, backtrace.s390.exec.bz2,
1232 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh.
1233 * backtrace.s390.core.bz2: New file.
1234 * backtrace.s390.exec.bz2: New file.
1235 * backtrace.s390x.core.bz2: New file.
1236 * backtrace.s390x.exec.bz2: New file.
1237 * run-backtrace-core-s390.sh: New file.
1238 * run-backtrace-core-s390x.sh: New file.
1239
12402013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1241
1242 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused
1243 code.
1244
12452013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1246
1247 unwinder: ppc
1248 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh.
1249 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
1250 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh.
1251 * backtrace.ppc.core.bz2: New file.
1252 * backtrace.ppc.exec.bz2: New file.
1253 * run-backtrace-core-ppc.sh: New file.
1254
12552013-12-10 Mark Wielaard <mjw@redhat.com>
1256
1257 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c.
1258
12592013-12-10 Mark Wielaard <mjw@redhat.com>
1260
1261 * Makefile.am (valgrind_cmd): Remove --trace-children=yes.
1262 * backtrace-subr.sh (check_native_core): Disable valgrind while
1263 dumping core.
1264 * run-backtrace-data.sh: Disable valgrind.
1265 * run-backtrace-dwarf.sh: Likewise.
1266
12672013-12-09 Mark Wielaard <mjw@redhat.com>
1268
1269 * varlocs.c (print_expr): Update comment to explain empty location
1270 associated with DW_OP_GNU_implicit_pointer.
1271
12722013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1273
1274 Fix test FAIL with -O2.
1275 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub.
1276
12772013-12-05 Mark Wielaard <mjw@redhat.com>
1278
1279 * backtrace-data.c (main): If unsupported also print to stderr.
1280 * run-backtrace-dwarf.sh: Add check_unsupported and check_main.
1281
12822013-12-04 Mark Wielaard <mjw@redhat.com>
1283
1284 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT).
1285
12862013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1287
1288 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1289 backtrace-data and backtrace-dwarf.
1290 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1291 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh,
1292 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh,
1293 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1294 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh.
1295 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH.
1296 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh,
1297 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh,
1298 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh,
1299 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh,
1300 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2,
1301 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2.
1302 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS)
1303 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD):
1304 New.
1305 * backtrace-child.c: New file.
1306 * backtrace-data.c: New file.
1307 * backtrace-dwarf.c: New file.
1308 * backtrace-subr.sh: New file.
1309 * backtrace.c: New file.
1310 * cleanup-13.c: New file.
1311 * backtrace.i386.core.bz2: New file.
1312 * backtrace.i386.exec.bz2: New file.
1313 * backtrace.x86_64.core.bz2: New file.
1314 * backtrace.x86_64.exec.bz2: New file.
1315 * run-backtrace-core-i386.sh: New file.
1316 * run-backtrace-core-x86_64.sh: New file.
1317 * run-backtrace-native-biarch.sh: New file.
1318 * run-backtrace-native-core-biarch.sh: New file.
1319 * run-backtrace-native-core.sh: New file.
1320 * run-backtrace-native.sh: New file.
1321 * run-backtrace-data.sh: New file.
1322 * run-backtrace-dwarf.sh: New file.
1323
13242013-11-27 Mark Wielaard <mjw@redhat.com>
1325
1326 * dwflsyms.c (gelf_bind_order): New function.
1327 (elf_section_name): Likewise.
1328 (addr_in_section): Likewise.
1329 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf.
1330 Refine assert using gelf_bind_order. Print elf_section_name. Check
1331 bias with addr_in_section.
1332 * run-dwflsyms.sh: Add section names to expected output.
1333
13342013-11-26 Mark Wielaard <mjw@redhat.com>
1335
1336 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh.
1337
13382013-11-25 Petr Machata <pmachata@redhat.com>
1339
1340 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files.
1341 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise.
1342 * Makefile.am (EXTRA_DIST): Add these.
1343 (TESTS): Add run-funcretval.sh.
1344 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test.
1345 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test.
1346 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2.
1347 * run-funcretval.sh: New file.
1348
13492013-11-18 Josh Stone <jistone@redhat.com>
1350
1351 * testfilebazdbg_plr.bz2: New testfile.
1352 * testfilebazmin_plr.bz2: Likewise.
1353 * Makefile.am (EXTRA_DIST): Add the above files.
1354 * run-dwflsyms.sh: Add prelink -r tests.
1355
13562013-11-15 Mark Wielaard <mjw@redhat.com>
1357
1358 * testfilebazmdb.bz2: Regenerated.
1359 * testfilebazmin.bz2: Likewise.
1360 * testfilebazdbg_pl.bz2: New testfile.
1361 * testfilebazmin_pl.bz2: Likewise.
1362 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
1363 testfilebazmin_pl.bz2.
1364 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
1365 print relative address of function symbols.
1366 * run-dwflsyms.sh: Add prelink tests and adjust expected output.
1367
13682013-11-01 Michael Forney <mforney@mforney.org>
1369
1370 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
1371 * run-arsymtest.sh: Use NM.
1372
13732013-11-05 Mark Wielaard <mjw@redhat.com>
1374
1375 * allfcts.c (main): Correct dwarf_getfuncs return value check.
1376
13772013-10-10 Mark Wielaard <mjw@redhat.com>
1378 Josh Stone <jistone@redhat.com>
1379
1380 * run-allfcts-multi.sh: New test.
1381 * test-offset-loop.bz2: New testfile.
1382 * test-offset-loop.alt.bz2: New testfile.
1383 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
1384 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
1385 test-offset-loop.alt.bz2.
1386
13872013-10-15 Mark Wielaard <mjw@redhat.com>
1388
1389 * run-unstrip-M.sh: New test.
1390 * Makefile.am (TESTS): Add run-unstrip-M.sh.
1391 (EXTRA_DIST): Likewise.
1392
13932013-10-06 Mark Wielaard <mjw@redhat.com>
1394
1395 * run-addrcfi.sh: Remove nop from expected ppc and ppc64
1396 location expression.
1397
13982013-10-03 Josh Stone <jistone@redhat.com>
1399
1400 * typeiter2.c: New file, reversing typeiter.c.
1401 * run-typeiter.sh: Also run typeiter2.
1402 * Makefile.am (check_PROGRAMS): Add typeiter2.
1403 (typeiter2_LDADD): New variable.
1404
14052013-09-26 Petr Machata <pmachata@redhat.com>
1406
1407 * run-readelf-mixed-corenote.sh: Update output of testfile71
1408 dump--readelf can newly decode the NT_FILE note.
1409
14102013-09-26 Petr Machata <pmachata@redhat.com>
1411
1412 * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
1413 * run-readelf-mixed-corenote.sh: New test for this file.
1414 * testfile71.bz2: New file.
1415
14162013-09-20 Mark Wielaard <mjw@redhat.com>
1417
1418 * allfcts.c (cb): Return DWARF_CB_ABORT.
1419 (main): Iterate over all offsets returned by dwarf_getfuncs.
1420 * run-allfcts.sh: Add nested_funcs and class_func testcases.
1421 * testfile_nested_funcs.bz2: New test file.
1422 * testfile_class_func.bz2: Likewise.
1423 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
1424 testfile_nested_funcs.bz2.
1425
14262013-08-30 Mark Wielaard <mjw@redhat.com>
1427
1428 * Makefile.am (check_PROGRAMS): Add varlocs.
1429 (TESTS): Add run-varlocs.sh.
1430 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
1431 testfile_const_type.bz2, testfile_implicit_pointer.c,
1432 testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
1433 testfile_entry_value.c, testfile_entry_value.bz2,
1434 testfile_implicit_value.c and testfile_implicit_value.bz2.
1435 (varlocs_LDADD): New.
1436 * run-varlocs: New test.
1437 * testfile_const_type.c: New test source file.
1438 * testfile_entry_value.c: Likewise.
1439 * testfile_implicit_pointer.c: Likewise.
1440 * testfile_implicit_value.c: Likewise.
1441 * testfile_parameter_ref.c: Likewise.
1442 * testfile_const_type.bz2: New test file.
1443 * testfile_entry_value.bz2: Likewise.
1444 * testfile_implicit_pointer.bz2: Likewise.
1445 * testfile_implicit_value.bz2: Likewise.
1446 * testfile_parameter_ref.bz2: Likewise.
1447 * varlocs.c: New test source.
1448
14492013-08-29 Mark Wielaard <mjw@redhat.com>
1450
1451 * run-addrcfi.sh: Add case for EM_ARM.
1452 * testfilearm.bz2: New testfile.
1453 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
1454
14552013-08-28 Mark Wielaard <mjw@redhat.com>
1456
1457 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
1458 completely missing.
1459 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
1460 * testfiles390.bz2: New testfile.
1461 * testfiles390x.bz2: Likewise.
1462 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
1463 testfiles390x.bz2.
1464
14652013-08-28 Mark Wielaard <mjw@redhat.com>
1466
1467 * addrcfi.c (handle_cfi): Use printf not error.
1468 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
1469 * testfileppc32.bz2: New testfile.
1470 * testfileppc64.bz2: Likewise.
1471 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
1472 testfileppc64.bz2.
1473
14742013-08-27 Mark Wielaard <mjw@redhat.com>
1475
1476 * run-addrcfi.sh: New test.
1477 * Makefile.am (TESTS): Add run-addrcfi.sh.
1478 (EXTRA_DIST): Likewise.
1479 * addrcfi.c (op_name): New function.
1480 (print_detail): Call and print op_name. Check ops, not result
1481 to check if this is "same value" or "undefined".
1482 (handle_cfi): Make sure cfa_ops doesn't point to NULL.
1483
14842013-08-13 Mark Wielaard <mjw@redhat.com>
1485
1486 * run-addr2line-i-test.sh: New test.
1487 * testfile-inlines.bz2: New testfile.
1488 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
1489 testfile-inlines.bz2.
1490 (TESTS): Add run-addr2line-i-test.sh.
1491
14922013-08-12 Mark Wielaard <mjw@redhat.com>
1493
1494 * run-addr2line-test.sh: New test.
1495 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
1496 (TESTS): Likewise.
1497
14982013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1499
1500 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
1501 the entries.
1502
15032013-07-02 Mark Wielaard <mjw@redhat.com>
1504
1505 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
1506 testfilenolines.bz2.
1507
15082013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1509
1510 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
1511 test-core.core.bz2 and test-core.exec.bz2.
1512 * run-addrname-test.sh: New test for these files.
1513 * run-unstrip-n.sh: Update expected output. New test for these files.
1514 * test-core-lib.so.bz2: New file.
1515 * test-core.core.bz2: New file.
1516 * test-core.exec.bz2: New file.
1517
15182013-05-03 Mark Wielaard <mjw@redhat.com>
1519
1520 * testfilenolines.bz2: New test file.
1521 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
1522 * run-get-lines.sh: Run testrun_compare on testfilenolines.
1523
15242013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1525
1526 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
1527
15282013-04-29 Mark Wielaard <mjw@redhat.com>
1529
1530 * test-subr.sh: Don't use pushd, just cd into test-dir.
1531 (exit_cleanup): Don't use popd, just cd .. to get out.
1532
15332013-04-27 Mark Wielaard <mjw@redhat.com>
1534
1535 * test-subr.sh (exit_cleanup): New function.
1536 (trap): Use exit_cleanup as argument.
1537 * run-native-test.sh (native_exit): New function.
1538 (trap): For EXIT (0) use native_exit as argument.
1539
15402013-04-27 Mark Wielaard <mjw@redhat.com>
1541
1542 * update1.c (main): Use unique tempfile name and unlink file.
1543 * update2.c (main): Likewise.
1544 * update3.c (main): Likewise.
1545 * update4.c (main): Use unique tempfile name.
1546
15472013-04-27 Mark Wielaard <mjw@redhat.com>
1548
1549 * run-alldts.sh: Add testfile-alldts to tempfiles.
1550 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
1551 * run-macro-test.sh: Add readelf.macros.out to tempfiles.
1552 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
1553 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
1554
15552013-04-26 Mark Wielaard <mjw@redhat.com>
1556
1557 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
1558 remove wrapper.
1559 (TESTS_ENVIRONMENT): Likewise.
1560 (installed_LOG_COMPILER): New variable defining wrapper.
1561 (LOG_COMPILER): Likewise.
1562 * run-*.sh: Fixup location of input and output files.
1563 * test-subr.sh: Create test_dir, pushd to execute test in.
1564 (trap): Remove test_dir.
1565 (testfiles): Use abs_srcdir.
1566 (installed_testrun): Match on abs_builddir or abs_top_builddir.
1567 (self_test_files): Adjust path.
1568
15692013-04-24 Mark Wielaard <mjw@redhat.com>
1570
1571 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
1572
15732013-03-25 Mark Wielaard <mjw@redhat.com>
1574
1575 * run-readelf-aranges.sh: New test.
1576 * testfilefoobarbaz.bz2: New test file.
1577 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1578 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
1579
15802013-03-25 Mark Wielaard <mjw@redhat.com>
1581
1582 * run-readelf-dwz-multi.sh: Expect high_pc also as address.
1583
15842013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1585
1586 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
1587 (TESTS): Add run-dwfl-report-elf-align.sh.
1588 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
1589 testfile-dwfl-report-elf-align-shlib.so.bz2 .
1590 (dwfl_report_elf_align_LDADD): New.
1591 * dwfl-report-elf-align.c: New file.
1592 * run-dwfl-report-elf-align.sh: New file.
1593 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
1594
15952013-03-12 Mark Wielaard <mjw@redhat.com>
1596
1597 * run-dwfllines.sh: New test.
1598 * dwfllines.c: New test program.
1599 * Makefile.am (TESTS): Add run-dwfllines.sh.
1600 (EXTRA_DIST): Likewise.
1601 (dwfllines_LDADD): New variable.
1602
16032013-02-22 Mark Wielaard <mjw@redhat.com>
1604
1605 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
1606 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
1607
16082013-02-15 Mark Wielaard <mjw@redhat.com>
1609
1610 * testfile-dwzstr.bz2: New testfile.
1611 * testfile-dwzstr.multi.bz2: Likewise.
1612 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
1613 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
1614 testfile-dwzstr.multi.bz2.
1615
16162013-01-30 Mark Wielaard <mjw@redhat.com>
1617
1618 * testfileloc.bz2: New testfile.
1619 * run-readelf-loc.sh: New test.
1620 * Makefile.am (TESTS): Add run-readelf-loc.sh.
1621 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
1622
16232013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1624
1625 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
1626 and s390x core notes.
1627 * testfile67.bz2: New file.
1628 * testfile68.bz2: New file.
1629 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
1630
16312013-01-23 Mark Wielaard <mjw@redhat.com>
1632
1633 * testfilebasmin.bz2: New testfile.
1634 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
1635 * run-readelf-s.sh: Test testfilebasmin.
1636 * run-dwflsyms.sh: Likewise.
1637
16382013-01-16 Mark Wielaard <mjw@redhat.com>
1639
1640 * Makefile.am (check_PROGRAMS): Add dwflsyms.
1641 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
1642 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
1643 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
1644 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
1645 (dwflsyms_LDADD): New variable.
1646
16472013-01-07 Roland McGrath <roland@hack.frob.com>
1648
1649 * run-prelink-addr-test.sh: Use ln -snf.
1650
16512012-12-03 Mark Wielaard <mjw@redhat.com>
1652
1653 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
1654
16552012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1656
1657 * run-addrname-test.sh: New test for PIE relocation.
1658 * testfile70.core.bz2: New file.
1659 * testfile70.exec.bz2: New file.
1660 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
1661 testfile70.exec.bz2 .
1662
16632012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1664
1665 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
1666 testfile69.core.bz2 and testfile69.so.bz2 .
1667
16682012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1669
1670 * run-addrname-test.sh: New test for DSO with build-id bias.
1671 * testfile69.core.bz2: New file.
1672 * testfile69.so.bz2: New file.
1673
16742012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1675
1676 * run-addrname-test.sh: New test for core vDSO bias.
1677 * testfile65.bz2: New file.
1678
16792012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1680
1681 * run-addrname-test.sh: New test for symbol preferences.
1682 * testfile64.bz2: New file.
1683
16842012-10-01 Mark Wielaard <mjw@redhat.com>
1685
1686 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
1687 * test-wrapper.sh: Export VALGRIND_CMD if available.
1688 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
1689 (installed_testrun): Likewise.
1690
16912012-09-24 Petr Machata <pmachata@redhat.com>
1692
1693 * testfile63.bz2: New testfile.
1694 * run-readelf-mixed-corenote.sh: New test.
1695 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
1696 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
1697
16982012-09-24 Petr Machata <pmachata@redhat.com>
1699
1700 * testfile62.bz2: New testfile.
1701 * run-readelf-vmcoreinfo.sh: New test.
1702 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
1703 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
1704
17052012-09-18 Petr Machata <pmachata@redhat.com>
1706
1707 * testfile61.bz2: New testfile.
1708 * run-allregs.sh: Run reg_test testfile61.
1709 * Makefile.am (EXTRA_DIST): Add testfile61.bz2.
1710
17112012-08-24 Mark Wielaard <mjw@redhat.com>
1712
1713 * Makefile.am (EXTRA_DIST): Add testfile60.bz2.
1714
17152012-08-22 Jeff Kenton <jkenton@tilera.com>
1716
1717 * testfile60.bz2: New testfile.
1718 * run-allregs.sh: Run reg_test testfile60.
1719
17202012-08-24 Mark Wielaard <mjw@redhat.com>
1721
1722 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
1723 ENABLE_DWZ.
1724
17252012-08-16 Mark Wielaard <mjw@redhat.com>
1726
1727 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
1728 macros.
1729 * show-die-info.c (tagnames): Removed.
1730 (attrs): Removed.
1731 (dwarf_tag_string): New function using known-dwarf macros.
1732 (dwarf_attr_string): Likewise.
1733 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
1734 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
1735
17362012-06-27 Mark Wielaard <mjw@redhat.com>
1737
1738 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
1739 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
1740 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
1741 testfile_multi_main.bz2.
1742 * run-readelf-dwz-multi.sh: New test.
1743 * libtestfile_multi_shared.so.bz2: New testfile.
1744 * testfile_multi.dwz.bz2: New testifle.
1745 * testfile_multi_main.bz2: New testifle.
1746
17472012-08-01 Petr Machata <pmachata@redhat.com>
1748
1749 * run-test-archive64.sh: New test.
1750 * testarchive64.a.bz2: New testfile.
1751 * Makefile.am (TESTS): Add run-test-archive64.sh.
1752 (EXTRA_DIST): Likewise.
1753
17542012-08-01 Mark Wielaard <mjw@redhat.com>
1755
1756 * run-nm-self.sh: New test.
1757 * run-readelf-self.sh: Likewise.
1758 * test-subr.sh (testrun_on_self_quiet): New function.
1759 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
1760 (EXTRA_DIST): Likewise.
1761
17622012-08-01 Mark Wielaard <mjw@redhat.com>
1763
1764 * test-subr.sh (self_test_files): New list of files.
1765 (testrun_on_self): New function.
1766 * run-elflint-self.sh: Use testrun_on_self.
1767
17682012-07-19 Mark Wielaard <mjw@redhat.com>
1769
1770 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
1771 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
1772 (EXTRA_DIST): Likewise.
1773 (test_elf_cntl_gelf_getshdr_LDADD): New.
1774 test-elf_cntl_gelf_getshdr.c: New test program.
1775 run-elf_cntl_gelf_getshdr.sh: New test script.
1776
17772012-07-19 Mark Wielaard <mjw@redhat.com>
1778
1779 * run-elflint-self.sh: runtests on ../backends/*so files.
1780
17812012-07-19 Mark Wielaard <mjw@redhat.com>
1782
1783 * run-unstrip-n.sh: test_cleanup.
1784 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
1785
17862012-07-11 Mark Wielaard <mjw@redhat.com>
1787
1788 * run-readelf-macro.sh: New test.
1789 * testfilemacro.bz2: New testfile.
1790 * Makefile.am (TESTS): Add run-readelf-macro.sh.
1791 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
1792
17932012-06-27 Mark Wielaard <mjw@redhat.com>
1794
1795 * run-readelf-gdb-index.sh: New test.
1796 * testfilegdbindex5.bz2: New testfile.
1797 * testfilegdbindex7.bz2: Likewise.
1798 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
1799 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
1800 testfilegdbindex7.bz2.
1801
18022012-07-17 Mark Wielaard <mjw@redhat.com>
1803
1804 * testcore-rtlib-ppc.bz2: New testfile.
1805 * run-unstrip-n.sh: Check new ppc core testfile.
1806
18072012-06-26 Mike Frysinger <vapier@gentoo.org>
1808
1809 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
1810
18112012-06-26 Mark Wielaard <mjw@redhat.com>
1812
1813 * run-macro-test.sh: New test.
1814 * testfile-macinfo.bz2: New testfile.
1815 * testfile-macros.bz2: Likewise.
1816
18172012-05-07 Mark Wielaard <mjw@redhat.com>
1818
1819 * low_high_pc.c: Use proper inttypes in printf formats.
1820
18212012-05-11 Mark Wielaard <mjw@redhat.com>
1822
1823 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
1824
18252012-05-07 Mark Wielaard <mjw@redhat.com>
1826
1827 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
1828
18292012-04-27 Mark Wielaard <mjw@redhat.com>
1830
1831 * Makefile.am (TESTS): Add run-low_high_pc.sh
1832 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
1833 (noinst_PROGRAMS): Add low_high_pc.
1834 (low_high_pc_LDADD): New variable.
1835 * low_high_pc.c: New test.
1836
18372012-04-26 Mark Wielaard <mjw@redhat.com>
1838
1839 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
1840 * run-show-ciefde.sh: Removed old libdwarf test.
1841 * show-ciefde.c: Likewise.
1842
18432012-04-02 Mark Wielaard <mjw@redhat.com>
1844
1845 * Makefile.am (TESTS): Add run-unstrip-n.sh.
1846 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
1847 * run-unstrip-n.sh: New test.
1848 * testcore-rtlib.bz2: New testfile.
1849
18502012-04-02 Mark Wielaard <mjw@redhat.com>
1851
1852 * Makefile.am (TESTS): Add run-readelf-d.sh.
1853 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
1854 * run-readelf-d.sh: New test.
1855 * run-elflint-test.sh: Check new testfile.
1856
18572012-03-21 Tom Tromey <tromey@redhat.com>
1858
1859 * typeiter.c: New file.
1860 * run-typeiter.sh: New file.
1861 * testfile59.bz2: New file.
1862 * Makefile.am (noinst_PROGRAMS): Add typeiter.
1863 (TESTS): Add run-typeiter.sh.
1864 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
1865 (typeiter_LDADD): New variable.
1866
18672012-02-21 Kurt Roeckx <kurt@roeckx.be>
1868
1869 * run-alldts.sh: testrun ./alldts.
1870
18712012-02-21 Roland McGrath <roland@hack.frob.com>
1872
1873 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
1874 * test-subr.sh (installed_testrun): Likewise.
1875
18762012-01-18 Roland McGrath <roland@hack.frob.com>
1877
1878 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
1879 it will have been inherited correctly from the test harness.
1880 * asm-tst5.c (main): Likewise.
1881 * asm-tst6.c (main): Likewise.
1882 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
1883
18842011-07-09 Roland McGrath <roland@hack.frob.com>
1885
1886 * sha1-tst.c: File removed.
1887 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
1888 (sha1_tst_LDADD): Variable removed.
1889
1890 * md5-sha1-test.c: New file.
1891 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
1892 (md5_sha1_test_LDADD): New variable.
1893
18942011-05-30 Mark Wielaard <mjw@redhat.com>
1895
1896 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
1897 run-rerequest_tag.sh
1898
18992011-05-24 Mark Wielaard <mjw@redhat.com>
1900
1901 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
1902 * run-strip-reloc.sh: Add hello_s390.ko testcase.
1903 * hello_s390.ko.bz2: New test file.
1904
19052011-05-23 Mark Wielaard <mjw@redhat.com>
1906
1907 * Makefile.am (TESTS): Add run-strip-reloc.sh.
1908 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
1909 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
1910 * run-strip-reloc.sh: New test.
1911 * hello_i386.ko.bz2: New test file.
1912 * hello_x86_64.ko.bz2: Likewise.
1913 * hello_ppc64.ko.bz2: Likewise.
1914
19152011-05-18 Mark Wielaard <mjw@redhat.com>
1916
1917 * run-strip-groups.sh: New test.
1918 * testfile58.bz2: New test file.
1919 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
1920 (TESTS): Add run-strip-groups.sh.
1921 (EXTRA_DIST): Likewise.
1922
19232011-03-28 Marek Polacek <mpolacek@redhat.com>
1924
1925 * alldts.c: New file.
1926 * run-alldts.sh: Use it.
1927 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
1928 (alldts_LDADD): New variable.
1929
19302011-03-02 Marek Polacek <mpolacek@redhat.com>
1931
1932 * dwarf-getstring.c: New test.
1933 * run-dwarf-getstring.sh: And its wrapper.
1934 * Makefile.am (EXTRA_DIST): Add and update all.
1935
19362011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1937
1938 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
1939 * run-readelf-twofiles.sh: New file.
1940
19412011-02-25 Mark Wielaard <mjw@redhat.com>
1942
1943 * Makefile.am (BUILD_RPATH): Be consistent in naming.
1944
19452011-02-02 Josh Stone <jistone@redhat.com>
1946
1947 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
1948 * testfile55-64.bz2, testfile55-64.debug.bz2,
1949 testfile55-64.prelink.bz2, testfile55-32.bz2,
1950 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
1951 * Makefile.am (EXTRA_DIST): Add and update all.
1952
19532011-01-12 Roland McGrath <roland@redhat.com>
1954
1955 * run-prelink-addr-test.sh: Make symlinks to find .debug files
1956 corresponding to .noshdrs files.
1957
19582011-01-11 Josh Stone <jistone@redhat.com>
1959
1960 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
1961 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
1962 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
1963 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
1964 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
1965 * Makefile.am (EXTRA_DIST): Add and update all.
1966
1967 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
1968 * testfile53.bz2, testfile53.debug.bz2,
1969 testfile53.prelink.bz2: Deleted, so...
1970 * testfile53-64.bz2, testfile53-64.debug.bz2,
1971 testfile53-64.prelink.bz2: Recreated with 64-bit names.
1972 * testfile53-32.bz2, testfile53-32.debug.bz2,
1973 testfile53-32.prelink.bz2: New in 32-bit.
1974 * Makefile.am (EXTRA_DIST): Add and update all.
1975
1976 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
1977 * testfile52.so.bz2, testfile52.so.debug.bz2,
1978 testfile52.prelink.so.bz2: Deleted, so...
1979 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
1980 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
1981 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
1982 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
1983 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
1984 * Makefile.am (EXTRA_DIST): Add and update all.
1985
19862011-01-10 Josh Stone <jistone@redhat.com>
1987
1988 * run-prelink-addr-test.sh: New test for prelinked addrs.
1989 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1990 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
1991 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
1992 * testfile53.bz2, testfile53.debug.bz2: New data files.
1993 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
1994 * Makefile.am (EXTRA_DIST): Add them.
1995
19962010-06-04 Roland McGrath <roland@redhat.com>
1997
1998 * run-unstrip-test.sh: Also test modifying the file in place.
1999
20002010-04-22 Roland McGrath <roland@redhat.com>
2001
2002 * addrcfi.c (handle_cfi): Fix function name in error message.
2003 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2004
20052010-04-14 Roland McGrath <roland@redhat.com>
2006
2007 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2008
20092010-04-10 Ulrich Drepper <drepper@redhat.com>
2010
2011 * msg_tst.c: Adjust expected error message.
2012
20132010-04-01 Petr Machata <pmachata@redhat.com>
2014
2015 * test-flag-nobits.c: New test.
2016 * run-test-flag-nobits.sh: And its wrapper.
2017 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
2018 (test_flag_nobits_LDADD): New variable.
2019
20202010-02-15 Roland McGrath <roland@redhat.com>
2021
2022 * Makefile.am: Use config/eu.am for common stuff.
2023
2024 * asm-tst9.c (main): Rename local to avoid shadowing another local.
2025
20262009-07-22 Roland McGrath <roland@redhat.com>
2027
2028 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2029
20302009-07-08 Roland McGrath <roland@redhat.com>
2031
2032 * addrcfi.c: New file.
2033 * Makefile.am (noinst_PROGRAMS): Add it.
2034 (addrcfi_LDADD): New variable.
2035
20362009-05-07 Petr Machata <pmachata@redhat.com>
2037
2038 * testfile51.bz2: New data file.
2039 * dwarf-getmacros.c: New test core.
2040 * run-dwarf-getmacros.sh: New test wrapper.
2041 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
2042 (dwarf_getmacros_LDADD): New variable.
2043
20442009-04-23 Ulrich Drepper <drepper@redhat.com>
2045
2046 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
2047 (rdwrmmap_LDADD): Add $(libmudflap).
2048
20492009-04-21 Roland McGrath <roland@redhat.com>
2050
2051 * testfile50.bz2: New data file.
2052 * Makefile.am (EXTRA_DIST): Add it.
2053 * run-dwfl-addr-sect.sh: Add a case using it.
2054
20552008-12-31 Ulrich Drepper <drepper@redhat.com>
2056
2057 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
2058 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
2059 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
2060 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
2061 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
2062 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
2063 roundss, roundps, roundpd, and roundsd.
2064 * testfile45.S.bz2: Likewise.
2065 * testfile44.expect.bz2: Adjust accordingly.
2066 * testfile45.expect.bz2: Likewise.
2067
2068 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
2069 * testfile45.S.bz2: Likewise.
2070 * testfile44.expect.bz2: Adjust accordingly.
2071 * testfile45.expect.bz2: Likewise.
2072
20732008-12-30 Ulrich Drepper <drepper@redhat.com>
2074
2075 * testfile44.S.bz2: Add tests for blendpd and blendps.
2076 * testfile45.S.bz2: Likewise.
2077 * testfile44.expect.bz2: Adjust accordingly.
2078 * testfile45.expect.bz2: Likewise.
2079
20802008-12-19 Ulrich Drepper <drepper@redhat.com>
2081
2082 * testfile44.S.bz2: Add tests for AMD 3DNOW.
2083 * testfile45.S.bz2: Likewise.
2084 * testfile44.expect.bz2: Adjust accordingly.
2085 * testfile45.expect.bz2: Likewise.
2086
20872008-11-26 Roland McGrath <roland@redhat.com>
2088
2089 * dwfl-bug-getmodules.c: New file.
2090 * Makefile.am (noinst_PROGRAMS): Add it.
2091 (dwfl_bug_getmodules_LDADD): New variable.
2092
20932008-09-10 Roland McGrath <roland@redhat.com>
2094
2095 * test-subr.sh (LC_ALL): Export it set to "C".
2096 * run-dwfl-addr-sect.sh: Don't do it here.
2097 * run-strings-test.sh: Likewise.
2098
20992008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
2100
2101 * run-addrname-test.sh: Add a new case.
2102 * testfile49.bz2: New data file.
2103 * Makefile.am (EXTRA_DIST): Add it.
2104
21052008-04-10 Roland McGrath <roland@redhat.com>
2106
2107 * testfile48.bz2, testfile48.bz2.debug: New data files.
2108 * Makefile.am (EXTRA_DIST): Add them.
2109 * run-strip-test8.sh: Use them.
2110
2111 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
2112
2113 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
2114 * run-strip-test8.sh: New file.
2115 * testfile47.bz2: New data file.
2116 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2117
21182008-03-31 Roland McGrath <roland@redhat.com>
2119
2120 * run-early-offscn.sh: New file.
2121 * early-offscn.c: New file.
2122 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
2123 (early_offscn_LDADD): New variable.
2124
21252008-03-19 Roland McGrath <roland@redhat.com>
2126
2127 * run-addrname-test.sh: Add a new case.
2128
21292008-02-22 Roland McGrath <roland@redhat.com>
2130
2131 * run-elflint-test.sh: Typo fix.
2132
21332008-02-21 Roland McGrath <roland@redhat.com>
2134
2135 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
2136 for the build down to minimum.
2137 * run-disasm-x86-64.sh: Likewise.
2138
21392008-02-20 Roland McGrath <roland@redhat.com>
2140
2141 * testfile46.bz2: New data file.
2142 * Makefile.am (EXTRA_DIST): Add it.
2143 * run-elflint-test.sh: Test on it.
2144
21452008-02-01 Ulrich Drepper <drepper@redhat.com>
2146
2147 * Makefile.am: Hook up sha1-tst.c.
2148 * sha1-tst.c: New file.
2149
21502008-01-21 Roland McGrath <roland@redhat.com>
2151
2152 * testfile45.S.bz2: Add tests for cltq, cqto.
2153 * testfile45.expect.bz2: Adjust.
2154
21552008-01-14 Ulrich Drepper <drepper@redhat.com>
2156
2157 * testfile45.S.bz2: Add more tests.
2158 * testfile45.expect.bz2: Adjust.
2159
21602008-01-11 Ulrich Drepper <drepper@redhat.com>
2161
2162 * testfile45.expect.bz2: Adjust for adding of address for %rip based
2163 address mode.
2164
21652008-01-10 Ulrich Drepper <drepper@redhat.com>
2166
2167 * testfile45.S.bz2: Add more tests.
2168 * testfile45.expect.bz2: Adjust.
2169
21702008-01-08 Ulrich Drepper <drepper@redhat.com>
2171
2172 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
2173 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
2174 run-disasm-x86-64.sh.
2175 * run-disasm-x86-64.sh: New file.
2176 * testfile45.S.bz2: New file.
2177 * testfile45.expect.bz2: New file.
2178 * testfile44.S.bz2: New tests.
2179 * testfile44.expect.bz2: Adjust.
2180
21812008-01-04 Ulrich Drepper <drepper@redhat.com>
2182
2183 * testfile44.S.bz2: New tests.
2184 * testfile44.expect.bz2: Adjust.
2185
21862008-01-04 Roland McGrath <roland@redhat.com>
2187
2188 * dwfl-bug-fd-leak.c (main): Add a cast.
2189
21902008-01-03 Ulrich Drepper <drepper@redhat.com>
2191
2192 * testfile44.S.bz2: New tests.
2193 * testfile44.expect.bz2: Adjust.
2194
21952008-01-01 Ulrich Drepper <drepper@redhat.com>
2196
2197 * line2addr.c: Use %m modifier instead of %a to appease gcc.
2198
21992008-01-01 Ulrich Drepper <drepper@redhat.com>
2200
2201 * testfile44.S.bz2: New tests.
2202 * testfile44.expect.bz2: Adjust.
2203
22042007-12-31 Ulrich Drepper <drepper@redhat.com>
2205
2206 * testfile44.S.bz2: New tests.
2207 * testfile44.expect.bz2: Adjust.
2208
22092007-12-30 Ulrich Drepper <drepper@redhat.com>
2210
2211 * testfile44.S.bz2: New tests.
2212 * testfile44.expect.bz2: Adjust.
2213
22142007-12-29 Ulrich Drepper <drepper@redhat.com>
2215
2216 * testfile44.s.bz2: New tests.
2217 * testfile44.expect.bz2: Adjust.
2218
22192007-12-28 Ulrich Drepper <drepper@redhat.com>
2220
2221 * testfile44.S.bz2: New tests.
2222 * testfile44.expect.bz2: Adjust.
2223
22242007-12-27 Ulrich Drepper <drepper@redhat.com>
2225
2226 * testfile44.S.bz2: New tests.
2227 * testfile44.expect.bz2: Adjust.
2228
22292007-12-26 Ulrich Drepper <drepper@redhat.com>
2230
2231 * testfile44.S.bz2: New tests.
2232 * testfile44.expect.bz2: Adjust
2233
22342007-12-21 Ulrich Drepper <drepper@redhat.com>
2235
2236 * testfile44.S.bz2: More tests.
2237 * testfile44.expect.bz2: Adjust appropriately.
2238
22392007-12-19 Ulrich Drepper <drepper@redhat.com>
2240
2241 * Makefile.am (TESTS): Add run-disasm.sh.
2242 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
2243 testfile44.expect.bz2.
2244 * run-disasm.sh: New file.
2245 * testfile44.S.bz2: New file.
2246 * testfile44.expect.bz2: New file.
2247
22482007-12-15 Roland McGrath <roland@redhat.com>
2249
2250 * run-allregs.sh: Change expected output for powerpc spefscr.
2251
22522007-10-20 Roland McGrath <roland@redhat.com>
2253
2254 * run-dwfl-addr-sect.sh: Change expected output, no errors.
2255
22562007-10-19 Roland McGrath <roland@redhat.com>
2257
2258 * dwfl-addr-sect.c (handle_address): Return int.
2259 Don't exit on error, just return nonzero.
2260 (main): Collect results.
2261 * run-dwfl-addr-sect.sh: New file.
2262 * testfile43.bz2: New data file.
2263 * Makefile.am (EXTRA_DIST, TESTS): Add them.
2264
22652007-10-18 Roland McGrath <roland@redhat.com>
2266
2267 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
2268
22692007-10-16 Roland McGrath <roland@redhat.com>
2270
2271 * test-subr.sh (remove_files): Don't pass -Bb to diff.
2272
22732007-10-09 Roland McGrath <roland@redhat.com>
2274
2275 * dwflmodtest.c (print_module): Don't use %p in output.
2276 * run-dwfl-bug-offline-rel.sh: Updated expected output.
2277
22782007-10-08 Roland McGrath <roland@redhat.com>
2279
2280 * testfile42.bz2: New data file.
2281 * Makefile.am (EXTRA_DIST): Add it.
2282 * run-elflint-test.sh: New test on that file.
2283
22842007-10-04 Roland McGrath <roland@redhat.com>
2285
2286 * run-readelf-test4.sh: New file.
2287 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2288
22892007-10-03 Roland McGrath <roland@redhat.com>
2290
2291 * run-readelf-test3.sh: New file.
2292 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2293
22942007-10-01 Roland McGrath <roland@redhat.com>
2295
2296 * run-readelf-test2.sh: New file.
2297 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2298
22992007-09-11 Roland McGrath <roland@redhat.com>
2300
2301 * run-addrname-test.sh: Add a new case.
2302 * testfile41.bz2: New data file.
2303 * Makefile.am (EXTRA_DIST): Add it.
2304
23052007-08-23 Roland McGrath <roland@redhat.com>
2306
2307 * run-allregs.sh: Update expected x86-64 output for %rflags.
2308
23092007-08-12 Roland McGrath <roland@redhat.com>
2310
2311 * run-strip-test7.sh: New file.
2312 * testfile39.bz2: New data file.
2313 * testfile40.bz2: New data file.
2314 * testfile40.debug.bz2: New data file.
2315 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2316
23172007-08-09 Roland McGrath <roland@redhat.com>
2318
2319 * dwfl-bug-report.c: Fix header inclusion.
2320
23212007-08-08 Roland McGrath <roland@redhat.com>
2322
2323 * run-addrname-test.sh: Add a new case using addr2line -S.
2324 * testfile38.bz2: New data file.
2325 * Makefile.am (EXTRA_DIST): Add it.
2326
23272007-07-16 Roland McGrath <roland@redhat.com>
2328
2329 * dwfl-bug-report.c: New file.
2330 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2331 (dwfl_bug_report_LDADD): New variable.
2332
23332007-06-06 Roland McGrath <roland@redhat.com>
2334
2335 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
2336
23372007-06-05 Ulrich Drepper <drepper@redhat.com>
2338
2339 * Makefile.am (EXTRA_DIST): Add missing line continuation and
2340 testfile37.bz and testfile37.debug.bz2.
2341
23422007-05-23 Roland McGrath <roland@redhat.com>
2343
2344 * run-allregs.sh: Update expected Alpha results.
2345
23462007-05-18 Roland McGrath <roland@redhat.com>
2347
2348 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
2349 * testfile37.bz2: New data file.
2350 * testfile37.debug.bz2: New data file.
2351 * run-unstrip-test2.sh: New file.
2352 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2353
23542007-05-10 Roland McGrath <roland@redhat.com>
2355
2356 * run-dwfl-bug-offline-rel.sh: New file.
2357 * testfile36.bz2: New data file.
2358 * testfile36.debug.bz2: New data file.
2359 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2360
23612007-04-28 Roland McGrath <roland@redhat.com>
2362
2363 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
2364 * testfile35.bz2: New data file.
2365 * testfile35.debug.bz2: New data file.
2366 * run-unstrip-test.sh: New file.
2367 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2368
2369 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2370
23712007-04-26 Roland McGrath <roland@redhat.com>
2372
2373 * run-elflint-self.sh: Run all tests even if one fails.
2374
2375 * run-allregs.sh: Add expected output for alpha.
2376
23772007-04-24 Roland McGrath <roland@redhat.com>
2378
2379 * run-strip-test.sh: When we saved the debug info, test unstrip too.
2380
23812007-04-22 Roland McGrath <roland@redhat.com>
2382
2383 * run-allregs.sh: Update expected register info.
2384
23852007-04-16 Roland McGrath <roland@redhat.com>
2386
2387 * dwfl-addr-sect.c: New file.
2388 * Makefile.am (noinst_PROGRAMS): Add it.
2389 (dwfl_addr_sect_LDADD): New variable.
2390
23912007-04-05 Roland McGrath <roland@redhat.com>
2392
2393 * get-files.c: Test dwarf_getsrcdirs.
2394 * run-get-files.sh: Update expected output.
2395
23962007-04-01 Roland McGrath <roland@redhat.com>
2397
2398 * run-allregs.sh: Updated expected output for x86_64.
2399
24002007-03-04 Roland McGrath <roland@redhat.com>
2401
2402 * dwfl-bug-fd-leak.c: New file.
2403 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
2404 (dwfl_bug_fd_leak_LDADD): New variable.
2405
2406 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
2407 show what files have been located.
2408
24092007-02-02 Roland McGrath <roland@redhat.com>
2410
2411 * run-addrname-test.sh: New file.
2412 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2413 * testfile34.bz2: New data file.
2414 * Makefile.am (EXTRA_DIST): Add it.
2415
24162007-01-20 Roland McGrath <roland@redhat.com>
2417
2418 * testfile33.bz2: New data file.
2419 * Makefile.am (EXTRA_DIST): Add it.
2420 * run-elflint-test.sh: Test on it too.
2421
24222007-01-18 Roland McGrath <roland@redhat.com>
2423
2424 * Makefile.am (CFLAGS): Don't molest it.
2425
24262007-01-11 Roland McGrath <roland@redhat.com>
2427
2428 * testfile32.bz2: New data file.
2429 * Makefile.am (EXTRA_DIST): Add it.
2430 * run-elflint-test.sh: Test on it too.
2431
24322007-02-04 Ulrich Drepper <drepper@redhat.com>
2433
2434 * arls.c: New file.
2435 * Makefile (noinst_PROGRAMS): Add arls.
2436
2437 * run-ranlib-test2.sh: Fix type in comment.
2438
24392007-01-10 Ulrich Drepper <drepper@redhat.com>
2440
2441 * run-elflint-self.sh (runtest): Show which file has the problem.
2442
24432007-01-10 Roland McGrath <roland@redhat.com>
2444
2445 * dwfl-bug-addr-overflow.c: New file.
2446 * Makefile.am (TESTS): Add it.
2447 (dwfl_bug_addr_overflow_LDADD): New variable.
2448
24492006-12-17 Roland McGrath <roland@redhat.com>
2450
2451 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2452
24532006-09-05 Roland McGrath <roland@redhat.com>
2454
2455 * run-strings-test.sh: Export LC_ALL=C for the test.
2456
24572006-08-29 Roland McGrath <roland@redhat.com>
2458
2459 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
2460 * run-arsymtest.sh: Likewise.
2461
2462 * run-native-test.sh (native.c compilation): Add some braces.
2463
24642006-08-22 Roland McGrath <roland@redhat.com>
2465
2466 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
2467 (struct reginfo): New members bits, type.
2468 (one_register, match_register): Update to take new args,
2469 record and display new info.
2470 (main): Display new info.
2471 * run-allregs.sh: Update expected results.
2472
24732006-08-03 Roland McGrath <roland@redhat.com>
2474
2475 * run-allregs.sh: Add sparc cases.
2476 * testfile30.bz2: New data file.
2477 * testfile31.bz2: New data file.
2478 * Makefile.am (EXTRA_DIST): Add them.
2479
24802006-07-21 Roland McGrath <roland@redhat.com>
2481
2482 * allregs.c (struct reginfo): Increase size of name.
2483 (one_register): Assert that it's big enough.
2484
24852006-04-04 Roland McGrath <roland@redhat.com>
2486
2487 * run-bug1-test.sh: Test a second case, to cover both byte orders.
2488 * testfile29.bz2: New file.
2489 * testfile29.rdwr.bz2: New file.
2490 * Makefile.am (EXTRA_DIST): Add them.
2491
24922006-04-04 Ulrich Drepper <drepper@redhat.com>
2493
2494 * Makefile.am: Add rules to run run-bug1-test.sh.
2495 * rdwrmmap.c: New file.
2496 * run-bug1-test.sh: New file.
2497 * testfile28.bz2: New file.
2498 * testfile28.rdwr.bz2: New file.
2499
25002006-03-09 Roland McGrath <roland@redhat.com>
2501
2502 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2503
25042006-03-01 Roland McGrath <roland@redhat.com>
2505
2506 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
2507 changes matching 3.0 spec.
2508
25092006-01-13 Roland McGrath <roland@redhat.com>
2510
2511 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
2512 bash 3.1 whines when it's done in the trap 0 handler.
2513
25142006-01-11 Roland McGrath <roland@redhat.com>
2515
2516 * testfile26.bz2: New data file.
2517 * testfile27.bz2: New data file.
2518 * Makefile.am (EXTRA_DIST): Add them.
2519 * run-allregs.sh: Test s390 data.
2520
25212005-12-14 Roland McGrath <roland@redhat.com>
2522
2523 * run-native-test.sh: Redirect output from native test process.
2524
25252005-12-13 Roland McGrath <roland@redhat.com>
2526
2527 * allregs.c (main): Fail if we find no registers.
2528
2529 * run-native-test.sh: New file.
2530 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2531
25322005-12-10 Ulrich Drepper <drepper@redhat.com
2533
2534 * run-readelf-test1.sh: New file.
2535 * Makefile.am (TESTS): Add run-readelf-test1.sh.
2536 (EXTRA_DIST): Likewise.
2537
25382005-12-07 Roland McGrath <roland@redhat.com>
2539
2540 * ecp.c (main): Use elf_end to clean up.
2541
25422005-11-25 Roland McGrath <roland@redhat.com>
2543
2544 * coverage.sh: Given -v argument, print names of unused files.
2545
2546 * addrscopes.c (main): Use dwfl_end before return.
2547 * allregs.c (main): Likewise.
2548 * find-prologues.c (main): Likewise.
2549 * funcretval.c (main): Likewise.
2550 * funcscopes.c (main): Likewise.
2551 * line2addr.c (main): Likewise.
2552
2553 * run-allregs.sh: New file.
2554 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2555
2556 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
2557 * Makefile.am (allregs_LDADD): Updated.
2558
2559 * allregs.c: New file.
2560 * Makefile.am (noinst_PROGRAMS): Add it.
2561 (allregs_LDADD): New variable.
2562
25632005-11-18 Roland McGrath <roland@redhat.com>
2564
2565 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
2566 * test-wrapper.sh: Likewise.
2567
25682005-11-17 Roland McGrath <roland@redhat.com>
2569
2570 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
2571 environment for test-wrapper.sh.
2572 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
2573 * test-subr.sh (installed_testrun): Likewise.
2574 Use explicit path in ${bindir}.
2575
2576 * Makefile.am (installcheck-local): Fix typo in last change.
2577
25782005-11-16 Roland McGrath <roland@redhat.com>
2579
2580 * configure.ac: New file, for standalone build/dist of test suite.
2581 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
2582 (asm_TESTS): New variable, broken out of ...
2583 (TESTS): ... here. Also remove msg_tst.
2584 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
2585 (installed_TESTS_ENVIRONMENT): New variable.
2586 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
2587 [!STANDALONE] (installcheck-local): Likewise.
2588 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
2589 * addrscopes.c: Include <config.h>.
2590 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
2591 * allfcts.c: Likewise.
2592 * asm-tst1.c: Likewise.
2593 * asm-tst2.c: Likewise.
2594 * asm-tst3.c: Likewise.
2595 * asm-tst4.c: Likewise.
2596 * asm-tst5.c: Likewise.
2597 * asm-tst6.c: Likewise.
2598 * asm-tst7.c: Likewise.
2599 * asm-tst8.c: Likewise.
2600 * asm-tst9.c: Likewise.
2601 * dwflmodtest.c: Likewise.
2602 * find-prologues.c: Likewise.
2603 * funcscopes.c: Likewise.
2604 * get-aranges.c: Likewise.
2605 * get-files.c: Likewise.
2606 * get-lines.c: Likewise.
2607 * get-pubnames.c: Likewise.
2608 * line2addr.c: Likewise.
2609 * newscn.c: Likewise.
2610 * show-abbrev.c: Likewise.
2611 * show-die-info.c: Likewise.
2612 * update3.c: Likewise.
2613 * update4.c: Likewise.
2614 * funcretval.c: Likewise.
2615
2616 * dwflmodtest.c (print_instance): Don't use INTUSE.
2617 (options): Don't use N_ macro.
2618
26192005-11-15 Roland McGrath <roland@redhat.com>
2620
2621 * coverage.sh: Look in backends.
2622 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
2623 (TESTS_ENVIRONMENT): Likewise.
2624
2625 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
2626 pass FUNCDIE direclty to dwfl_module_return_value_location.
2627
2628 * Makefile.am (BUILD_RPATH): New variable.
2629 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
2630 (tests_rpath): New variable.
2631 (installcheck-local): Pass it to test-wrapper.sh.
2632 * test-wrapper.sh: In "installed" format, take yes/no value
2633 for elfutils_tests_rpath, which export. When running a test
2634 binary for installcheck, exit 77.
2635 * test-subr.sh (installed_testrun): When running a test binary
2636 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2637
26382005-11-14 Roland McGrath <roland@redhat.com>
2639
2640 * test-subr.sh: New file.
2641 * test-wrapper.sh: New file.
2642 * Makefile.am (EXTRA_DIST): Add them.
2643 (AM_LDFLAGS): Variable removed.
2644 (TESTS_ENVIRONMENT): New variable.
2645 (installcheck-local): New target.
2646 * run-addrscopes.sh: Use test-subr.sh.
2647 * run-allfcts.sh: Likewise.
2648 * run-ecp-test.sh: Likewise.
2649 * run-ecp-test2.sh: Likewise.
2650 * run-elflint-self.sh: Likewise.
2651 * run-elflint-test.sh: Likewise.
2652 * run-find-prologues.sh: Likewise.
2653 * run-funcscopes.sh: Likewise.
2654 * run-get-aranges.sh: Likewise.
2655 * run-get-files.sh: Likewise.
2656 * run-get-lines.sh: Likewise.
2657 * run-get-pubnames.sh: Likewise.
2658 * run-line2addr.sh: Likewise.
2659 * run-ranlib-test.sh: Likewise.
2660 * run-ranlib-test2.sh: Likewise.
2661 * run-show-abbrev.sh: Likewise.
2662 * run-show-ciefde.sh: Likewise.
2663 * run-show-die-info.sh: Likewise.
2664 * run-strings-test.sh: Likewise.
2665 * run-strip-test.sh: Likewise.
2666
26672005-11-13 Roland McGrath <roland@redhat.com>
2668
2669 * funcretval.c: New file.
2670 * Makefile.am (noinst_PROGRAMS): Add it.
2671 (funcretval_LDADD): New variable.
2672
26732005-11-09 Ulrich Drepper <drepper@redhat.com>
2674
2675 * line2addr.c (handle_module): Add missing parameter to printf.
2676
26772005-10-27 Roland McGrath <roland@redhat.com>
2678
2679 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
2680 * funcscopes.c (handle_function): Likewise.
2681 * dwflmodtest.c (print_inline, print_func): Likewise.
2682 * find-prologues.c (handle_function): Likewise.
2683
26842005-10-27 Roland McGrath <roland@redhat.com>
2685
2686 * run-find-prologues.sh: New file.
2687 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2688
2689 * find-prologues.c (handle_function): Skip inlines.
2690
26912005-10-25 Roland McGrath <roland@redhat.com>
2692
2693 * find-prologues.c: New file.
2694 * Makefile.am (noinst_PROGRAMS): Add it.
2695 (find_prologues_LDADD): New variable.
2696
26972005-09-02 Ulrich Drepper <drepper@redhat.com>
2698
2699 * run-strings-test.sh: Remove strings.out in the end.
2700
27012005-08-31 Ulrich Drepper <drepper@redhat.com>
2702
2703 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
2704 * run-allfcts.sh: Likewise.
2705 * run-ecp-test.sh: Likewise.
2706 * run-ecp-test2.sh: Likewise.
2707 * run-elflint-test.sh: Likewise.
2708 * run-funcscopes.sh: Likewise.
2709 * run-get-aranges.sh: Likewise.
2710 * run-get-files.sh: Likewise.
2711 * run-get-lines.sh: Likewise.
2712 * run-get-pubnames.sh: Likewise.
2713 * run-line2addr.sh: Likewise.
2714 * run-ranlib-test2.sh: Likewise.
2715 * run-show-abbrev.sh: Likewise.
2716 * run-show-ciefde.sh: Likewise.
2717 * run-show-die-info.sh: Likewise.
2718 * run-strings-test.sh: Likewise.
2719 * run-strip-test.sh: Likewise.
2720
27212005-08-30 Ulrich Drepper <drepper@redhat.com>
2722
2723 * coverage.sh: Handle case where there is no .gcno file at all.
2724
27252005-08-29 Ulrich Drepper <drepper@redhat.com>
2726
2727 * Makefile.am (EXTRA_DIST): Add coverage.
2728 [GCOV]: Generate coverage summary after the tests ran
2729 * coverage.sh: New file.
2730
27312005-08-28 Ulrich Drepper <drepper@redhat.com>
2732
2733 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
2734 (CLEANFILES): Add *.gcno *.gcda *.gconv.
2735
27362005-08-28 Ulrich Drepper <drepper@redhat.com>
2737
2738 * run-strings-test.sh: New file.
2739 * Makefile.am (TESTS, EXTRA_DIST): Add it.
2740
27412005-08-27 Roland McGrath <roland@redhat.com>
2742
2743 * addrscopes.c (handle_address): Apply bias to PC addresses.
2744
2745 * run-funcscopes.sh: New file.
2746 * testfile25.bz2: New data file.
2747 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2748
27492005-08-26 Roland McGrath <roland@redhat.com>
2750
2751 * addrscopes.c (dwarf_diename_integrate): Removed.
2752 (print_vars, handle_address): Use plain dwarf_diename.
2753
27542005-08-25 Roland McGrath <roland@redhat.com>
2755
2756 * funcscopes.c: New file.
2757 * Makefile.am (noinst_PROGRAMS): Add it.
2758 (funcscopes_LDADD): New variable.
2759
2760 * run-addrscopes.sh: Add another case.
2761 * testfile24.bz2: New data file.
2762 * Makefile.am (EXTRA_DIST): Add it.
2763
2764 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
2765 pass it to dwarf_getscopes.
2766 (main): Pass it, true when '=' follows an address.
2767
27682005-08-24 Roland McGrath <roland@redhat.com>
2769
2770 * line2addr.c (print_address): Omit () for DSOs.
2771
27722005-08-24 Ulrich Drepper <drepper@redhat.com>
2773
2774 * run-line2addr.sh: Remove testfile23 in the end.
2775
2776 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
2777 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
2778
27792005-08-22 Roland McGrath <roland@redhat.com>
2780
2781 * run-line2addr.sh: Add a case.
2782 * testfile23.bz2: New data file.
2783 * Makefile.am (EXTRA_DIST): Add it.
2784
27852005-08-18 Roland McGrath <roland@redhat.com>
2786
2787 * run-addrscopes.sh: New file.
2788 * testfile22.bz2: New data file.
2789 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2790
2791 * addrscopes.c: New file.
2792 * Makefile.am (noinst_PROGRAMS): Add it.
2793 (addrscopes_LDADD): New variable.
2794
27952005-08-15 Ulrich Drepper <drepper@redhat.com>
2796
2797 * run-elflint-self.sh: Don't run test if the file doesn't exist.
2798
27992005-08-15 Roland McGrath <roland@redhat.com>
2800
2801 * dwflmodtest.c (print_instance, print_inline): New functions.
2802 (print_func): Call print_inline.
2803 (options, parse_opt): Grok -i/--inlines.
2804
28052005-08-07 Roland McGrath <roland@redhat.com>
2806
2807 * dwflmodtest.c: Print function details only if -f flag is given.
2808
28092005-08-06 Ulrich Drepper <drepper@redhat.com>
2810
2811 * run-elflint-self.sh: New file.
2812 * Makefile.am (TESTS): Add run-elflint-self.sh.
2813 (EXTRA_DIST): Likewise.
2814
2815 * Makefile.am: Link with statis libs if BUILD_STATIC.
2816 (dwflmodtest_LDADD): Also link with -ldl.
2817
28182005-08-02 Ulrich Drepper <drepper@redhat.com>
2819
2820 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
2821 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
2822 library first.
2823 * asm-tst2.c: Likewise.
2824 * asm-tst3.c: Likewise.
2825 * asm-tst4.c: Likewise.
2826 * asm-tst5.c: Likewise.
2827 * asm-tst6.c: Likewise.
2828 * asm-tst7.c: Likewise.
2829 * asm-tst8.c: Likewise.
2830 * asm-tst9.c: Likewise.
2831
2832 * msg_tst.c: Add new error message.
2833
28342005-07-28 Ulrich Drepper <drepper@redhat.com>
2835
2836 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
2837
28382005-06-01 Roland McGrath <roland@redhat.com>
2839
2840 * line2addr.c: Rewritten using libdwfl.
2841 * run-line2addr.sh: Update test for changed arguments.
2842 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
2843 (libdwfl): New variable.
2844 (line2addr_LDADD): Use it.
2845
28462005-07-28 Roland McGrath <roland@redhat.com>
2847
2848 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
2849 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
2850 (dwflmodtest_LDADD): New variable.
2851 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
2852
28532005-07-21 Ulrich Drepper <drepper@redhat.com>
2854
2855 * testfile18.bz2: New file.
2856 * run-elflint-test.sh: New file.
2857 * Makefile.am (TESTS): Add run-elflint-test.sh.
2858 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
2859
28602005-05-24 Ulrich Drepper <drepper@redhat.com>
2861
2862 * get-files.c (main): Use correct format specifier.
2863
28642005-05-21 Ulrich Drepper <drepper@redhat.com>
2865
2866 * Makefile.am: Add -Wextra to CFLAGS.
2867 * get-files.c: Remove warning this produced.
2868 * get-pubnames.c: Likewise.
2869 * newfile.c: Likewise.
2870 * newscn.c: Likewise.
2871 * scnnames.c: Likewise.
2872 * showptable.c: Likewise.
2873 * test-nlist.c: Likewise.
2874 * update1.c: Likewise.
2875 * update2.c: Likewise.
2876 * update3.c: Likewise.
2877 * update4.c: Likewise.
2878
28792005-05-08 Ulrich Drepper <drepper@redhat.com>
2880
2881 * run-line2addr.sh: Remove testfile14 at the end.
2882
2883 * run-strip-test.sh: Remove debuginfo test input file as well.
2884
2885 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
2886 .bz, not .bz2.
2887
28882005-05-03 Roland McGrath <roland@redhat.com>
2889
2890 * run-strip-test.sh: Use variables for test file names.
2891 Optionally produce separate debug file and check it.
2892 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
2893 * run-strip-test3.sh: Likewise.
2894 * run-strip-test4.sh: New file.
2895 * run-strip-test5.sh: New file.
2896 * run-strip-test6.sh: New file.
2897 * testfile15.bz: New file.
2898 * testfile15.debug.bz: New file.
2899 * testfile16.bz: New file.
2900 * testfile16.debug.bz: New file.
2901 * testfile17.bz: New file.
2902 * testfile17.debug.bz: New file.
2903 * Makefile.am (TESTS, EXTRA_DIST): Add them.
2904
29052005-04-25 Ulrich Drepper <drepper@redhat.com>
2906
2907 * run-line2addr.sh: Also use testfile14. Adjust for correct
2908 return of multiple matches.
2909 * testfile14.bz2: New file.
2910 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
2911
2912 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
2913
29142005-04-04 Roland McGrath <roland@redhat.com>
2915
2916 * line2addr.c (main): Initialize LINES and NLINES before calling
2917 dwarf_getsrc_file, and free LINES afterwards.
2918
2919 * allfcts.c (main): Use size_t for CUHL.
2920
29212005-04-04 Ulrich Drepper <drepper@redhat.com>
2922
2923 * line2addr.c: New file.
2924 * run-line2addr.sh: New file.
2925 * Makefile.am: Add rules to build, run, and distribute new code.
2926
29272005-04-02 Ulrich Drepper <drepper@redhat.com>
2928
2929 * allfcts.c: New file.
2930 * run-allfcts.sh: New file.
2931 * Makefile.am: Add rules to build, run, and distribute new code.
2932
29332005-02-05 Ulrich Drepper <drepper@redhat.com>
2934
2935 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
2936 programs with -lmudflap.
2937
29382004-09-25 Ulrich Drepper <drepper@redhat.com>
2939
2940 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
2941 * asm-tst5.c (main): Likewise.
2942 * asm-tst6.c (main): Likewise.
2943
29442004-01-17 Ulrich Drepper <drepper@redhat.com>
2945
2946 * Makefile.am: Support building with mudflap.
2947
29482004-01-12 Ulrich Drepper <drepper@redhat.com>
2949
2950 * get-aranges.c: Rewrite to use libdw.
2951 * Makefile.am: Reenable get-aranges test.
2952
29532004-01-11 Ulrich Drepper <drepper@redhat.com>
2954
2955 * get-lines.c: New file.
2956 * get-files.c: Adjust for libdw.
2957 * run-get-files.sh: Adjust expected result.
2958 * run-get-lines.sh: Likewise.
2959 * Makefile.am: Run get-lines test. Don't run get-aranges and
2960 get-ciefde test for now.
2961
2962 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
2963 change. Print attribute offset information.
2964 * run-show-abbrev.sh: Adjust expected output.
2965
29662004-01-09 Ulrich Drepper <drepper@redhat.com>
2967
2968 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
2969 * show-die-info.c: Likewise.
2970 * run-show-die-info.sh: Adjust expected output.
2971
29722003-08-13 Ulrich Drepper <drepper@redhat.com>
2973
2974 * Makefile.in: Depend on libebl.a, not libebl.so.
2975
29762003-08-11 Ulrich Drepper <drepper@redhat.com>
2977
2978 * Moved to CVS archive.