12020-03-28 Frank Ch. Eigler <fche@redhat.com> 2 3 * run-debuginfod-find.sh: Test timestamps of archive-origin files. 4 52020-03-27 Frank Ch. Eigler <fche@redhat.com> 6 7 * run-debuginfod-find.sh: Test /path/-based debuginfod-find. 8 92020-03-24 Frank Ch. Eigler <fche@redhat.com> 10 11 * run-debuginfod-find.sh: Test relay of UA and XFF headers across 12 federating debuginfods. 13 142020-03-26 Frank Ch. Eigler <fche@redhat.com> 15 16 * run-debuginfod-find.sh: Look for debuginfod's new 17 http_responses_* metrics. 18 192020-03-26 Frank Ch. Eigler <fche@redhat.com> 20 21 * run-debuginfod-find.sh: Look for bsdtar instead of dpkg. 22 232020-03-26 Frank Ch. Eigler <fche@redhat.com> 24 25 * run-debuginfod-find.sh: Check for bsdtar zstd capability 26 for running tests against zstd-compressed fedora31 rpms. 27 282020-03-26 Mark Wielaard <mark@klomp.org> 29 30 * Makefile.am (EXTRA_DIST): Add 31 debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm, 32 debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm, 33 debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm, 34 debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm, 35 debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm, 36 debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm 37 382020-03-24 Frank Ch. Eigler <fche@redhat.com> 39 40 * debuginfod-rpms/hello3.spec., /fedora31/*: New files with 41 uncanonicalized source paths. 42 * run-debuginfod-find.sh: Test them. 43 442020-03-24 Frank Ch. Eigler <fche@redhat.com> 45 46 * run-debuginfod-find.sh: Test the more detailed debuginfod 47 webapi log format. 48 492020-03-23 Mark Wielaard <mark@klomp.org> 50 51 * getphdrnum.c: Include config.h. 52 * run-lfs-symbols.sh: Also check that file exists. Add more logs. 53 Remove ebl modules check. 54 552020-03-22 Omar Sandoval <osandov@fb.com> 56 Mark Wielaard <mark@klomp.org> 57 58 * getphdrnum.c: New file. 59 * run-getphdrnum.sh: New test. 60 * testfile-phdrs.elf.bz2: New test file. 61 * Makefile.am (check_PROGRAMS): Add getphdrnum. 62 (TESTS): Add run-getphdrnum.sh. 63 (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2. 64 (getphdrnum_LDADD): New variable. 65 662020-03-22 Frank Ch. Eigler <fche@redhat.com> 67 68 * run-debuginfod-find.sh: Look for URL in default progressfn 69 and from debuginfod-find -v. 70 712020-02-19 Aaron Merey <amerey@redhat.com> 72 73 * run-debuginfod-find.sh: Run tests for verifying default 74 client cache locations. 75 762020-02-26 Konrad Kleine <kkleine@redhat.com> 77 78 * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning 79 with "file://" 80 812020-02-21 Mark Wielaard <mark@klomp.org> 82 83 * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS. 84 (installed_TESTS_ENVIRONMENT): Likewise. 85 862020-02-19 Aaron Merey <amerey@redhat.com> 87 88 * run-debuginfod-find.sh: Test that files unrelated to debuginfod 89 survive cache cleaning. 90 912020-02-08 Mark Wielaard <mark@klomp.org> 92 93 * run-pt_gnu_prop-tests.sh: New test. 94 * testfile_pt_gnu_prop.bz2: New test file. 95 * testfile_pt_gnu_prop32.bz2: Likewise. 96 * Makefile.am (TESTS): Add run-pt_gnu_prop-tests.sh 97 (EXTRA_DISTS): Likewise. Add testfile_pt_gnu_prop.bz2 and 98 testfile_pt_gnu_prop32.bz2. 99 1002020-02-05 Frank Ch. Eigler <fche@redhat.com> 101 102 * debuginfo-tars/*: New test files from Eli Schwartz of ArchLinux. 103 * Makefile.am (EXTRA_DIST): Package them. 104 * run-debuginfod-find.sh: Run basic archive extraction tests. 105 1062020-02-03 Frank Ch. Eigler <fche@redhat.com> 107 108 * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio. 109 1102020-01-19 Frank Ch. Eigler <fche@redhat.com> 111 112 * run-debuginfod-find.sh: Check for proper groom completion count. 113 1142020-01-18 Frank Ch. Eigler <fche@redhat.com> 115 116 * run-debuginfod-find.sh: Test empty source_paths[]. 117 1182020-01-08 Mark Wielaard <mark@klomp.org> 119 120 * asm-test?.c: include libebl.h. 121 1222020-01-11 Frank Ch. Eigler <fche@redhat.com> 123 124 * run-debuginfod-find.sh: Test --fdcache* options. 125 1262020-01-11 Frank Ch. Eigler <fche@redhat.com> 127 128 * run-debuginfod-find.sh: Adjust to new work-queue metrics. 129 1302020-01-02 Mark Wielaard <mark@klomp.org> 131 132 * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10. 133 1342019-12-22 Frank Ch. Eigler <fche@redhat.com> 135 136 * debuginfod-debs/*: New test files, based on 137 https://wiki.debian.org/Packaging/Intro. 138 * run-debuginfod-find.sh: Test deb file processing (if dpkg 139 installed). 140 1412019-12-04 Frank Ch. Eigler <fche@redhat.com> 142 143 * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS. 144 1452019-12-11 Omar Sandoval <osandov@fb.com> 146 147 * dwfl-report-segment-coalesce.c: New test. 148 * Makefile.am: Add dwfl-report-segment-coalesce 149 1502019-12-06 Mark Wielaard <mark@klomp.org> 151 152 * run-debuginfod-find.sh: Force -Wl,--build-id. 153 1542019-12-05 Mark Wielaard <mark@klomp.org> 155 156 * run-findinfod-find.sh: Run strip under testrun. 157 1582019-12-06 Mark Wielaard <mark@klomp.org> 159 160 * backtrace-data.c (main): Add break after assert. 161 1622019-12-05 Mark Wielaard <mark@klomp.org> 163 164 * run-elfclassify.sh: Run elfcompress under testrun. 165 1662019-11-26 Mark Wielaard <mark@klomp.org> 167 168 * Makefile.am (BUILD_STATIC): Add libraries needed for libdw. 169 * coverage.sh: Add debuginfod directory, check whether source 170 is .c or cxx. 171 1722019-11-24 Mark Wielaard <mark@klomp.org> 173 174 * run-debuginfod-find.sh: Reduce verbosity. Add new cleanup 175 function to use with trap. Add wait_ready function to query 176 metrics instead of sleeping. Calculate rpms and sourcefiles 177 to check. 178 1792019-11-23 Mark Wielaard <mark@klomp.org> 180 181 * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1. 182 1832019-11-07 Frank Ch. Eigler <fche@redhat.com> 184 185 * run-debuginfod-find.sh: Test debuginfod metrics via curl. 186 Fix federated testing, asserted by metrics. 187 1882019-11-06 Frank Ch. Eigler <fche@redhat.com> 189 190 * run-debuginfod-find.sh: Test debuginfod -L mode. Drop 191 plain debuginfo-find help-output-comparison. 192 1932019-11-04 Frank Ch. Eigler <fche@redhat.com> 194 195 * run-debuginfod-find.sh: Test debuginfod-find -v progress mode. 196 1972019-10-28 Aaron Merey <amerey@redhat.com> 198 Frank Ch. Eigler <fche@redhat.com> 199 200 * run-debuginfod-find.sh, debuginfod_build_id_find.c: New test. 201 * testfile-debuginfod-*.rpm.bz2: New data files for test. 202 * Makefile.am: Run it. 203 2042019-11-14 Andreas Schwab <schwab@suse.de> 205 206 * run-large-elf-file.sh: Skip if available memory cannot be 207 determined. 208 2092019-11-14 Andreas Schwab <schwab@suse.de> 210 211 * dwelf_elf_e_machine_string.c (main): Clear errno before calling 212 strtol. 213 2142019-09-02 Mark Wielaard <mark@klomp.org> 215 216 * run-readelf-s.sh: Add --dyn-syms case. 217 2182019-09-07 Mark Wielaard <mark@klomp.org> 219 220 * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh, 221 testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2. 222 2232019-08-27 Mark Wielaard <mark@klomp.org> 224 225 * run-readelf-test2.sh: Add -x num testcase. 226 2272019-08-29 Mark Wielaard <mark@klomp.org> 228 229 * test-subr.sh (self_test_files_exe): replace elfcmp, objdump and 230 readelf with elfclassify, stack and unstrip. 231 (self_test_files_lib): Replace libdw.so with libasm.so. 232 2332019-07-05 Omar Sandoval <osandov@fb.com> 234 235 * Makefile.am: Remove -ldl. 236 * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so. 237 2382019-07-26 Florian Weimer <fweimer@redhat.com> 239 Mark Wielaard <mark@klomp.org> 240 241 * run-elfclassify.sh: New test. 242 * run-elfclassify-self.sh: Likewise. 243 * Makefile.sh (TESTS): Add run-elfclassify.sh and 244 run-elfclassify-self.sh. 245 (EXTRA_DIST): Likewise. 246 2472019-07-16 Mao Han <han_mao@c-sky.com> 248 249 * hello_csky.ko.bz2: New testfile. 250 * run-addrcfi.sh: Add C-SKY testfile. 251 * run-strip-reloc.sh: Likewise. 252 * testfilecsky.bz2: New testfile. 253 * Makefile.am (EXTRA_DIST): Add hello_csky.ko.bz2 and 254 testfilecsky.bz2. 255 2562019-06-28 Mark Wielaard <mark@klomp.org> 257 258 * Makefile.am (check_PROGRAMS): Add dwelf_elf_e_machine_string. 259 (TESTS): Add run-dwelf_elf_e_machine_string.sh. 260 (EXTRA_DIST): Likewise. 261 (dwelf_elf_e_machine_string_LDADD): New variable. 262 * dwelf_elf_e_machine_string.c: New file. 263 * run-dwelf_elf_e_machine_string.sh: New test. 264 2652019-07-01 Mark Wielaard <mark@klomp.org> 266 267 * run-large-elf-file.sh: Add 2GB to mem_needed when running under 268 valgrind. 269 2702019-06-18 Mark Wielaard <mark@klomp.org> 271 272 * Makefile.am (TESTS): Add run-large-elf-file.sh. 273 (EXTRA_DIST): Likewise. 274 * addsections.c (add_sections): Add sec_size argument, use it 275 as the size of the section data. 276 (main): Handle extra sec_size argument. Pass to add_sections. 277 * run-large-elf-file.sh: New test. 278 2792019-06-03 Mark Wielaard <mark@klomp.org> 280 281 * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections, 282 make sure they are actually next to each other. 283 2842019-05-12 Mark Wielaard <mark@klomp.org> 285 286 * Makefile.am (check_PROGRAMS): Add elfrdwrnop. 287 (TESTS): Add run-reverse-sections.sh and 288 run-reverse-sections-self.sh. 289 (EXTRA_DIST): Likewise. 290 (elfrdwrnop): New variable. 291 * elfcopy.c (copy_elf): Add reverse_off argument. Record offsets 292 of sections and swap them when possible. 293 (main): Check for --reverse-off argument. Pass reverse_offs to 294 copy_elf. 295 * run-reverse-sections.sh: New test. 296 * run-reverse-sections-self.sh: Likewise. 297 * elfrdwrnop.c: New file. 298 2992019-05-10 Mark Wielaard <mark@klomp.org> 300 301 * Makefile.am (TESTS): Add run-readelf-discr.sh. 302 (EXTRA_DIST): Likewise and add testfile-rng.debug.bz2 and 303 testfile-urng.debug.bz2. 304 * run-readelf-discr.sh: New test. 305 * testfile-rng.debug.bz2: New test file. 306 * testfile-urng.debug.bz2: Likewise. 307 3082019-04-30 Mark Wielaard <mark@klomp.org> 309 310 * xlate_notes.c: New file. 311 * run-xlate-note.sh: New test. 312 * Makefile.am (check_PROGRAMS): Add xlate_notes. 313 (TESTS): Add run-xlate-note.sh. 314 (EXTRA_DIST): Likewise. 315 (xlate_notes_LDADD): New variable. 316 3172019-04-30 Mark Wielaard <mark@klomp.org> 318 319 * backtrace-dwarf.c (frame_callback): Explicitly check symname is 320 NULL. 321 3222019-04-30 Mark Wielaard <mark@klomp.org> 323 324 * backtrace.c (frame_callback): Explicitly check symname is NULL. 325 3262019-03-04 Mark Wielaard <mark@klomp.org> 327 328 * backtrace.c (tgkill): Remove define. 329 3302019-01-24 Mark Wielaard <mark@klomp.org> 331 332 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by 333 !INSTALL_ELFH. 334 3352019-01-31 Mark Wielaard <mark@klomp.org> 336 337 * backtrace-child.c (stdarg): Remove assert (errno == 0). 338 (main): Likewise. 339 * backtrace-data.c (maps_lookup): Likewise. 340 (set_initial_registers): Likewise. 341 (main): Likewise. 342 * backtrace.c (prepare_thread): Likewise. 343 (exec_dump): Likewise. 344 3452019-01-29 Yonghong Song <yhs@fb.com> 346 347 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse 348 inode number. 349 3502019-01-18 Ulf Hermann <ulf.hermann@qt.io> 351 352 * run-annobingroup.sh: Use different files for strip output. 353 * run-strip-test-many.sh: Use different files for strip output, 354 check results of strip, unstrip, elflint. 355 3562019-01-24 Mark Wielaard <mark@klomp.org> 357 358 * addsections.c (add_sections): Change the name of the old shstrtab 359 section to ".old_shstrtab" and give the old shstrtab name to the 360 new shstrtab section. 361 3622019-01-09 Ulf Hermann <ulf.hermann@qt.io> 363 364 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found. 365 3662018-12-27 Jim Wilson <jimw@sifive.com> 367 368 * run-readelf-mixed-corenote.sh: Update with new riscv64 output. 369 3702018-12-02 Mark Wielaard <mark@klomp.org> 371 372 * testfile_gnu_props.32le.o.bz2: New testfile. 373 * testfile_gnu_props.64le.o.bz2: Likewise. 374 * testfile_gnu_props.32be.o.bz2: Likewise. 375 * testfile_gnu_props.64be.o.bz2: Likewise. 376 * Makefile (EXTRA_DIST): Add new testfiles. 377 * run-readelf-n.sh: Run tests on new testfiles. 378 3792018-11-28 Mark Wielaard <mark@klomp.org> 380 381 * backtrace-data.c (main): Improve error message. 382 * run-backtrace-data.sh: Skip exit 77 return. 383 3842018-11-21 Mark Wielaard <mark@klomp.org> 385 386 * backtrace-subr.sh (check_unsupported): Call test_cleanup before 387 exit. 388 3892018-11-17 Mark Wielaard <mark@klomp.org> 390 391 * run-strip-version.sh: New test. 392 * testfile-version.bz2: New test file. 393 * Makefile.am (TESTS): Add run-strip-version.sh. 394 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2. 395 3962018-11-09 Mark Wielaard <mark@klomp.org> 397 398 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o 399 testfile-debug-rel-ppc64-g.o. 400 4012018-11-12 Mark Wielaard <mark@klomp.org> 402 403 * run-readelf-n.sh: Add testfile-annobingroup.o test. 404 4052018-11-11 Mark Wielaard <mark@klomp.org> 406 407 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test 408 for NT_VERSION. 409 4102018-11-04 Mark Wielaard <mark@klomp.org> 411 412 * testfile-bpf-reloc.expect.bz2: Update with new expected jump 413 variants. 414 4152018-10-20 Mark Wielaard <mark@klomp.org> 416 417 * run-readelf-compressed.sh: New test. 418 * Makefile.am (TESTS): Add run-readelf-compressed.sh. 419 (EXTRA_DIST): Likewise. 420 4212018-11-09 Mark Wielaard <mark@klomp.org> 422 423 * testfile-debug-rel-ppc64-g.o.bz2: New test file. 424 * testfile-debug-rel-ppc64-z.o.bz2: Likewise. 425 * testfile-debug-rel-ppc64.o.bz2: Likewise. 426 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2, 427 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2. 428 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o. 429 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o. 430 4312018-10-26 Mark Wielaard <mark@klomp.org> 432 433 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only. 434 4352018-10-18 Mark Wielaard <mark@klomp.org> 436 437 * run-readelf-n.sh: New test. 438 * testfile-gnu-property-note.bz2: New testfile. 439 * testfile-gnu-property-note.o.bz2: Likewise. 440 * Makefile.am (TESTS): Add run-readelf-n.sh. 441 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2, 442 testfile-gnu-property-note.o.bz2. 443 4442018-10-12 Mark Wielaard <mark@klomp.org> 445 446 * run-readelf-zdebug.sh: Adjust flags output. 447 * run-readelf-macro.sh: Likewise. 448 * run-readelf-macros.sh: New test. 449 * testfile-macros-object.o.bz2: New test file. 450 * Makefile.am (TESTS): Add run-readelf-macros.sh. 451 (EXTRA_DIST): Add run-readelf-macros.sh and 452 testfile-macros-object.o.bz2. 453 4542018-09-12 Mark Wielaard <mark@klomp.org> 455 456 * run-annobingroup.sh: Add x86_64 ET_REL testcase. 457 * testfile-annobingroup-x86_64.o.bz2: New test file. 458 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2. 459 4602018-09-18 Mark Wielaard <mark@klomp.org> 461 462 * backtrace-dwarf.c (thread_callback): Only error when 463 dwfl_thread_getframes returns an error. 464 (main): Don't call abort or assert but print an error when 465 something unexpected happens. 466 4672018-09-13 Mark Wielaard <mark@klomp.org> 468 469 * run-strip-test-many.sh: New test. 470 * Makefile.am (TESTS): Add run-strip-test-many.sh. 471 (EXTRA_DIST): Likewise. 472 4732018-09-13 Mark Wielaard <mark@klomp.org> 474 475 * run-typeiter-many.sh: New test. 476 * Makefile.am (TESTS): Add run-typeiter-many.sh. 477 (EXTRA_DIST): Likewise. 478 4792018-09-13 Mark Wielaard <mark@klomp.org> 480 481 * run-copymany-sections.sh: New test. 482 * Makefile.am (TESTS): Add run-copymany-sections.sh. 483 (EXTRA_DIST): Likewise. 484 4852018-09-12 Mark Wielaard <mark@klomp.org> 486 487 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections. 488 (TESTS): Add run-copyadd-sections.sh. 489 (EXTRA_DIST): Likewise. 490 (elfcopy_LDADD): New variable. 491 (addsections_LDADD): Likewise. 492 * addsections.c: New file. 493 * elfcopy.c: Likewise. 494 * run-copyadd-sections.sh: New test. 495 4962018-09-11 Mark Wielaard <mark@klomp.org> 497 498 * backtrace-dwarf.c (main): Add section attribute. 499 5002018-07-24 Mark Wielaard <mark@klomp.org> 501 502 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests. 503 * testfile-annobingroup-i386.o.bz2: New test file. 504 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2. 505 5062018-07-21 Mark Wielaard <mark@klomp.org> 507 508 * run-annobingroup.sh: New test. 509 * testfile-annobingroup.o.bz2: New test file. 510 * Makefile.am (TESTS): Add run-annobingroup.sh. 511 (EXTRA_DIST): Add run-annobingroup.sh and 512 testfile-annobingroup.o.bz2. 513 5142018-07-19 Andreas Schwab <schwab@suse.de> 515 516 * Makefile.am (TESTS): Add run-strip-test12.sh. 517 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2, 518 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2. 519 (run-strip-test11.sh): New file. 520 (testfile-riscv64.bz2): New file. 521 (testfile-riscv64-s.bz2): New file. 522 (testfile-riscv64-core.bz2): New file. 523 * run-allregs.sh: Add test for testfile-riscv64-core. 524 * run-readelf-mixed-corenote.sh: Likewise. 525 5262018-07-16 Ulf Hermann <ulf.hermann@qt.io> 527 528 * run-strip-reloc.sh: Remove previous testfiles before running the 529 next test. 530 5312018-07-17 Mark Wielaard <mark@klomp.org> 532 533 * hello_riscv64.ko.bz2: Updated with debuginfo. 534 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y. 535 5362018-07-05 Mark Wielaard <mark@klomp.org> 537 538 * next_cfi.c (handle_section): Take a new argument name. Check 539 whether the section is compressed and uncompress if so. 540 (main): Check also for .zdebug_frame and pass the name of the 541 section to handle_section. 542 5432018-07-04 Ross Burton <ross.burton@intel.com> 544 545 * addrscopes.c: Remove error.h include, add system.h include. 546 * allregs.c: Likewise. 547 * backtrace-data.c: Likewise. 548 * backtrace-dwarf.c: Likewise. 549 * backtrace.c: Likewise. 550 * buildid.c: Likewise. 551 * debugaltlink.c: Likewise. 552 * debuglink.c: Likewise. 553 * deleted.c : Likewise. 554 * dwarfcfi.c: Likewise. 555 * dwfl-addr-sect.c: Likewise. 556 * dwfl-bug-addr-overflow.c: Likewise. 557 * dwfl-bug-fd-leak.c: Likewise. 558 * dwfl-bug-getmodules.c: Likewise. 559 * dwfl-proc-attach.c: Likewise. 560 * dwfl-report-elf-align.c: Likewise. 561 * dwfllines.c: Likewise. 562 * dwflmodtest.c: Likewise. 563 * dwflsyms.c: Likewise. 564 * early-offscn.c: Likewise 565 * ecp.c: Likewise. 566 * elfstrmerge.c: Likewise. 567 * find-prologues.c: Likewise. 568 * funcretval.c: Likewise. 569 * funcscopes.c: Likewise. 570 * getsrc_die.c: Likewise. 571 * line2addr.c: Likewise. 572 * low_high_pc.c: Likewise. 573 * next_cfi.c: Likewise. 574 * rdwrmmap.c: Likewise. 575 * saridx.c: Likewise. 576 * sectiondump.c: Likewise. 577 * varlocs.c: Likewise. 578 * vdsosyms.c: Likewise. 579 5802018-06-28 Mark Wielaard <mark@klomp.org> 581 582 * next_cfi.c: New file. 583 * run-next-cfi.sh: New test. 584 * run-next-cfi-self.sh: Likewise. 585 * Makefile.am (check_PROGRAMS): Add next_cfi. 586 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh. 587 (EXTRA_DIST): Likewise. 588 (next_cfi_LDADD): New variable. 589 5902018-06-27 Mark Wielaard <mark@klomp.org> 591 592 * dwarf_cfi.c: New file. 593 * run-dwarfcfi.sh: New test. 594 * testfile11-debugframe.bz2: New testfile. 595 * testfile12-debugframe.bz2: Likewise. 596 * testfileaarch64-debugframe.bz2: Likewise. 597 * testfilearm-debugframe.bz2: Likewise. 598 * testfileppc32-debugframe.bz2: Likewise. 599 * testfileppc64-debugframe.bz2: Likewise. 600 * Makefile.am (check_PROGRAMS): Add dwarfcfi. 601 (TESTS): Add run-dwarfcfi.sh. 602 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2, 603 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2, 604 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and 605 testfileppc64-debugframe.bz2. 606 6072018-06-23 Mark Wielaard <mark@klomp.org> 608 609 * varlocs.c (print_expr): Take a new depth argument. Check it isn't 610 greater than MAX_DEPTH (64). Pass on to print_expr_block. 611 (print_expr_block): Take a new depth argument. Pass it to print_expr. 612 (print_expr_block_addrs): Call print_expr_block with zero depth. 613 6142018-06-25 Mark Wielaard <mark@klomp.org> 615 616 * next-files.c: New file. 617 * next-lines.c: Likewise. 618 * run-next-files.sh: New test. 619 * run-next-lines.sh: Likewise. 620 * testfile-only-debug-line.bz2: New test file. 621 * Makefile.am (check_PROGRAMS): Add next-files and next-lines. 622 (TESTS): Add run-next-files.sh and run-next-lines.sh. 623 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and 624 testfile-only-debug-line.bz2. 625 (next_lines_LDADD): New variable. 626 (next_files_LDADD): Likewise. 627 6282018-06-16 Yonghong Song <yhs@fb.com> 629 630 * run-reloc-bpf.sh: New test. 631 * testfile-bpf-reloc.o.bz2: New test file. 632 * testfile-bpf-reloc.expect.bz2: New test file. 633 * Makefile.am (TESTS): Add run-reloc-bpf.sh. 634 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and 635 testfile-bpf-reloc.expect.bz2. 636 6372018-06-13 Mark Wielaard <mark@klomp.org> 638 639 * run-readelf-const-values.sh: New test. 640 * testfile-const-values.debug.bz2: New test file. 641 * run-readelf-zdebug-rel.sh: Adjust expected const_value. 642 * Makefile.am (TESTS): Add run-readelf-const-values.sh. 643 (EXTRA_DIST): Add run-readelf-const-values.sh and 644 testfile-const-values.debug.bz2. 645 6462018-06-08 Mark Wielaard <mark@klomp.org> 647 648 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref 649 target, do not assert. 650 6512018-06-08 Mark Wielaard <mark@klomp.org> 652 653 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call. 654 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call. 655 6562018-06-08 Mark Wielaard <mark@klomp.org> 657 658 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there 659 actually is a cfi_debug. 660 6612018-06-07 Mark Wielaard <mark@klomp.org> 662 663 * run-readelf-loc.sh: Fix expected output for startx_length. 664 6652018-06-06 Mark Wielaard <mark@klomp.org> 666 667 * varlocs.c (print_base_type): Use error, not assert when the DIE 668 isn't a base type. 669 6702018-06-02 Mark Wielaard <mark@klomp.org> 671 672 * test-subr.sh (self_test_files_exe): Drop shared libraries. 673 Keep addr2line, elfcmp, objdump and readelf. 674 6752018-05-31 Mark Wielaard <mark@klomp.org> 676 677 * run-readelf-types.sh: New test. 678 * Makefile.am (TESTS): Add run-readelf-types.sh. 679 (EXTRA_DIST): Likewise. 680 6812018-05-31 Mark Wielaard <mark@klomp.org> 682 683 * splitdwarf4-not-split4.dwo.bz2: New test file. 684 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise. 685 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo 686 and testfile-splitdwarf4-not-split4.debug. 687 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug. 688 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2 689 and testfile-splitdwarf4-not-split4.debug.bz2. 690 6912018-05-31 Mark Wielaard <mark@klomp.org> 692 693 * test-subr.sh (self_test_files): Split into self_test_files_exe, 694 self_test_files_lib and self_test_obj. 695 (testrun_on_self_exe): New function. 696 (testrun_on_self_lib): Likewise. 697 * run-get-units-split.sh: Replace testrun_on_self with 698 testrun_on_self_exe and testrun_on_self_lib. 699 * run-unit-info.sh: Likewise. 700 7012018-05-31 Mark Wielaard <mark@klomp.org> 702 703 * low_high_pc.c (handle_die): Handle NULL name. Print offset and 704 name of die. 705 (main): Check if the cu DIE is a skeleton, then get and handle 706 the split subdie. 707 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and 708 testfile-splitdwarf-5. Run on all selftest files. 709 7102018-05-31 Mark Wielaard <mark@klomp.org> 711 712 * get-units-invalid.c (main): Check dwarf_cuoffset and 713 dwarf_dieoffset. 714 7152018-05-29 Mark Wielaard <mark@klomp.org> 716 717 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or 718 type, gotten through dwarf_get_units. 719 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5, 720 split-dwarf-4, split-dwarf-5 and dwo files. 721 7222018-05-29 Mark Wielaard <mark@klomp.org> 723 724 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant. 725 * run-varlocs.sh: Likewise. 726 7272018-05-29 Mark Wielaard <mark@klomp.org> 728 729 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase. 730 7312018-05-28 Mark Wielaard <mark@klomp.org> 732 733 * run-readelf-info-plus.sh: New test. 734 * Makefile.am (TESTS): Add run-readelf-info-plus.sh. 735 (EXTRA_DIST): Likewise. 736 7372018-04-29 Mark Wielaard <mark@klomp.org> 738 739 * run-readelf-addr.sh: New test. 740 * Makefile.am (TESTS): Add run-readelf-addr.sh. 741 (EXTRA_DIST): Likewise. 742 7432018-04-27 Mark Wielaard <mark@klomp.org> 744 745 * run-readelf-ranges.sh: Adjust expected output for address base. 746 * run-readelf-addr.sh: New test. 747 * Makefile.am (TESTS): Add run-readelf-addr.sh. 748 (EXTRA_DIST): Likewise. 749 7502018-04-07 Mark Wielaard <mark@klomp.org> 751 752 * run-varlocs.sh: Run on testfileranges5.debug and 753 testsplitfileranges5.debug. 754 * varlocs.c (is_debug): New bool. 755 (print_expr): Don't fail on missing CFI for is_debug. 756 (main): Parse --debug, set is_debug. 757 7582018-04-12 Mark Wielaard <mark@klomp.org> 759 760 * run-readelf-loc.sh: Add new testcases. 761 7622018-04-06 Mark Wielaard <mark@klomp.org> 763 764 * testfileranges5.debug.bz2: New testfile. 765 * testfilesplitranges5.debug.bz2: Likewise. 766 * testfile-ranges-hello5.dwo.bz2: Likewise. 767 * testfile-ranges-world5.dwo.bz2: Likewise. 768 * run-dwarf-ranges.sh: Run on testfileranges5.debug. 769 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug. 770 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2, 771 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and 772 testfile-ranges-world5.dwo.bz2. 773 7742018-04-11 Mark Wielaard <mark@klomp.org> 775 776 * run-readelf-ranges.sh: New test. 777 * Makefile.am (TESTS): Add run-readelf-ranges.sh. 778 (EXTRA_DIST): Likewise. 779 7802018-05-21 Mark Wielaard <mark@klomp.org> 781 782 * addrx_constx-4.dwo.bz2: New testfile. 783 * addrx_constx-5.dwo.bz2: Likewise. 784 * testfile-addrx_constx-4.bz2: Likewise. 785 * testfile-addrx_constx-5.bz2: Likewise 786 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2 787 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2. 788 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5. 789 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index, 790 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx. 791 (main): Handle split DWARF. 792 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc. 793 7942018-05-20 Mark Wielaard <mark@klomp.org> 795 796 * unit-info.c: New test. 797 * run-unit-info.sh: New test runner. 798 * Makefile.am (check_PROGRAMS): Add unit-info. 799 (TESTS): Add run-unit-info.sh 800 (EXTRA_INFO): Likewise. 801 (unit_info_LDADD): New variable. 802 8032018-05-24 Mark Wielaard <mark@klomp.org> 804 805 * get-units-invalid.c (main): Add check for invalid dwarf_ranges. 806 * run-all-dwarf-ranges.sh: Correct expected output. 807 8082018-05-18 Mark Wielaard <mark@klomp.org> 809 810 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges. 811 (TESTS): Add run-all-dwarf-ranges.sh. 812 (EXTRA_DIST): Add run-all-dwarf-ranges.sh, 813 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2 814 and testfile-ranges-world.dwo.bz2. 815 (all_dwarf_ranges_LDADD): New variable. 816 * all-dwarf-ranges.c: New test program. 817 * run-all-dwarf-ranges: New test runner. 818 * testfile-ranges-hello.dwo.bz2: New test file. 819 * testfile-ranges-world.dwo.bz2: Likewise. 820 * testfilesplitranges4.debug.bz2: Likewise. 821 8222018-05-18 Mark Wielaard <mark@klomp.org> 823 824 * run-get-files.sh: Add testcases for testfile-splitdwarf-4, 825 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5, 826 testfile-hello5.dwo, testfile-world5.dwo. 827 8282018-05-17 Mark Wielaard <mark@klomp.org> 829 830 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel. 831 (TESTS): Add run-attr-integrate-skel. 832 (EXTRA_DIST): Likewise. 833 (attr_integrate_skel_LDADD): New variable. 834 * attr-integrate-skel.c: New test. 835 * run-attr-integrate-skel.sh: New test runner. 836 8372018-05-16 Mark Wielaard <mark@klomp.org> 838 839 * Makefile.am (check_PROGRAMS): Add get-units-split. 840 (TESTS): Add run-get-units-split.sh. 841 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2, 842 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2, 843 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and 844 testfile-world4.dwo.bz2. 845 (get_units_split_LDADD): New variable. 846 * get-units-split.c: New test. 847 * run-get-units-split.sh: New test runner. 848 * testfile-dwarf-45.source: Extend with build instructions for new 849 test files. 850 * testfile-hello4.dwo.bz2: New test file. 851 * testfile-hello5.dwo.bz2: Likewise. 852 * testfile-splitdwarf-4.bz2: Likewise. 853 * testfile-splitdwarf-5.bz2: Likewise. 854 * testfile-world5.dwo.bz2 and: Likewise. 855 * testfile-world4.dwo.bz2: Likewise. 856 8572018-05-09 Mark Wielaard <mark@klomp.org> 858 859 * run-readelf-zdebug.sh: Adjust test output for new header layout. 860 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4 861 and testfile-dwarf-5. 862 8632018-05-11 Mark Wielaard <mark@klomp.org> 864 865 * Makefile.am (check_PROGRAMS): Add get-units-invalid. 866 (TESTS): Add run-get-units-invalid.sh. 867 (EXTRA_DIST): Likewise. 868 (get_units_invalid_LDADD): New variable. 869 * get-units-invalid.c: New test program. 870 * run-get-units-invalid.sh: New test program runner. 871 8722018-05-05 Mark Wielaard <mark@klomp.org> 873 874 * testfile-dwarf-45.source: New file. 875 * testfile-dwarf-4.bz2: New test file. 876 * testfile-dwarf-5.bz2: Likewise. 877 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and 878 testfile-dwarf-5. 879 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source, 880 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2. 881 8822018-04-19 Andreas Schwab <schwab@suse.de> 883 884 * hello_riscv64.ko.bz2: New file. 885 * run-strip-reloc.sh: Test it. 886 * Makefile.am (EXTRA_DIST): Add it. 887 8882018-04-16 Mark Wielaard <mark@klomp.org> 889 890 * testfile-ppc64-min-instr.bz2: New testfile. 891 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2. 892 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2. 893 8942018-04-11 Mark Wielaard <mark@klomp.org> 895 896 * run-addrcfi.sh: Adjust expected rule for aarch64 sp. 897 8982018-04-03 Mark Wielaard <mark@klomp.org> 899 900 * testfileranges4.debug.bz2: New testfile. 901 * run-dwarf-ranges.sh: Run on testfileranges4.debug. 902 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2. 903 9042018-03-06 Mark Wielaard <mark@klomp.org> 905 906 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer, 907 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret, 908 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and 909 DW_OP_const_type. 910 9112018-02-16 Mark Wielaard <mark@klomp.org> 912 913 * backtrace-subr.sh (check_native_core): Check if there is any core, 914 if so, use it. 915 9162018-02-15 Mark Wielaard <mark@klomp.org> 917 918 * backtrace-child.c: Include signal.h after sys/ptrace.h. 919 * backtrace-dwarf.c: Include sys/wait.h and signal.h after 920 sys/ptrace.h. 921 9222018-01-25 Mark Wielaard <mark@klomp.org> 923 924 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die. 925 (TESTS): Add run-dwarf-die-addr-die.sh. 926 (EXTRA_DIST): Likewise. 927 (dwarf_die_addr_die_LDADD): New variable. 928 * dwarf-die-addr-die.c: New file. 929 * run-dwarf-die-addr-die.sh: New test. 930 9312018-02-09 Joshua Watt <JPEWhacker@gmail.com> 932 933 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment. 934 9352018-01-22 Mark Wielaard <mark@klomp.org> 936 937 * allfcts.c (setup_alt): Print warning when alt file couldn't be 938 found. 939 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir 940 where it cannot be found by allfcts itself (but it can by libdw). 941 9422018-01-25 Mark Wielaard <mark@klomp.org> 943 944 * elfstrmerge.c (main): Initialize and check symtabshdr instead of 945 symtabndx. 946 9472018-01-14 Petr Machata <pmachata@gmail.com> 948 949 * testfile-sizes4.o.bz2: New test file. 950 * testfile-sizes4.s: New test source. 951 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257. 952 9532017-12-23 Mark Wielaard <mark@klomp.org> 954 955 * backtrace-subr.sh (check_native_core): Use a lock file and try 956 to extract core using coredumpctl. 957 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock. 958 9592017-12-11 Dima Kogan <dima@secretsauce.net> 960 961 * run-aggregate-size.sh: Added check for multi-dimensional arrays. 962 * run-peel-type.sh: Likewise. 963 * testfile-sizes3.o.bz2: Likewise. 964 9652017-12-07 Mark Wielaard <mark@klomp.org> 966 967 * run-readelf-variant.sh: New test. 968 * testfile-ada-variant.bz2: New testfile. 969 * Makefile.am (TESTS): Add run-readelf-variant.sh. 970 (EXTRA_DISTS): Add run-readelf-variant.sh and 971 testfile-ada-variant.bz2. 972 9732017-11-29 Mark Wielaard <mark@klomp.org> 974 975 * run-readelf-loc.sh: Adjust expected loc list output. 976 * run-readelf-zdebug-rel.sh: Likewise. 977 * run-readelf-zdebug.sh: Likewise. 978 9792017-11-29 Mark Wielaard <mark@klomp.org> 980 981 * run-readelf-loc.sh: Adjust expected range list output. 982 * run-readelf-zdebug.sh: Likewise. 983 9842017-11-29 Mark Wielaard <mark@klomp.org> 985 986 * run-readelf-dwz-multi.sh: Add expected file names. 987 * run-readelf-zdebug-rel.sh: Likewise. 988 9892017-11-29 Mark Wielaard <mark@klomp.org> 990 991 * run-readelf-dwz-multi.sh: Add expected abbrev codes. 992 * run-readelf-zdebug-rel.sh: Likewise. 993 9942017-11-29 Mark Wielaard <mark@klomp.org> 995 996 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces. 997 * run-readelf-loc.sh: Likewise. 998 * run-readelf-zdebug-rel.sh: Likewise. 999 * run-readelf-zdebug.sh: Likewise. 1000 10012017-11-16 Mark Wielaard <mark@klomp.org> 1002 1003 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert. 1004 10052017-11-10 Mark Wielaard <mark@klomp.org> 1006 1007 * run-exprlocs-self.sh: New test. 1008 * run-varlocs-self.sh: Likewise. 1009 * Makefile.am (TESTS) Add run-exprlocs-self.sh and 1010 run-varlocs-self.sh. 1011 (EXTRA_DIST): Likewise. 1012 * varlocs.c (cfi_debug_bias): New global variable. 1013 (is_ET_REL): Likewise. 1014 (print_expr): Don't crash and burn when CFI cannot be found for an 1015 ET_REL file for DW_OP_call_frame_cfa. 1016 (handle_die): If there is no entry_pc pick the lowest pc start range 1017 for the DIE. 1018 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi 1019 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL. 1020 10212017-11-03 Mark Wielaard <mark@klomp.org> 1022 1023 * run-exprlocs.sh: New test. 1024 * testfile-stridex.bz2: New testfile. 1025 * Makefile.am (TESTS): Add run-exprlocs.sh. 1026 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2. 1027 * varlocs.c (dwarf_tag_string): New function. 1028 (dwarf_attr_string): Likewise. 1029 (dwarf_form_string): Likewise. 1030 (print_expr): Fix typo in error message.r 1031 Handle DW_OP_GNU_variable_value. 1032 (attr_arg): New struct. 1033 (handle_attr): New function. 1034 (handle_die): Likewise. 1035 (main): Handle --exprlocs argument. Call handle_die. 1036 10372017-10-16 Mark Wielaard <mark@klomp.org> 1038 1039 * md5-sha1-test.c: Removed. 1040 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test. 1041 (TESTS): Likewise. 1042 (md5_sha1_test_LDADD): Removed. 1043 10442017-10-04 Mark Wielaard <mark@klomp.org> 1045 1046 * msg_tst.c: Handle ELF_E_INVALID_ELF. 1047 10482017-09-10 Mark Wielaard <mark@klomp.org> 1049 1050 * run-ar.sh: New test. 1051 * Makefile.am (TESTS): Add run-ar.sh. 1052 (EXTRA_DIST): Likewise. 1053 10542017-08-18 Ulf Hermann <ulf.hermann@qt.io> 1055 1056 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS. 1057 10582017-04-27 Ulf Hermann <ulf.hermann@qt.io> 1059 1060 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS. 1061 10622017-08-08 Dmitry V. Levin <ldv@altlinux.org> 1063 1064 * run-strip-nothing.sh: Add -s. 1065 10662017-07-26 Mark Wielaard <mark@klomp.org> 1067 1068 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU. 1069 10702016-10-27 Mark Wielaard <mjw@redhat.com> 1071 1072 * dwarf_default_lower_bound.c: New test. 1073 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound. 1074 (TESTS): Likewise. 1075 (dwarf_default_lower_bound_LDADD): New variable. 1076 10772017-07-21 Mark Wielaard <mark@klomp.org> 1078 1079 * get-lines.c (main): Add dwarf_line_file test. 1080 10812017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com> 1082 1083 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names 1084 * run-allregs.sh: Update generic SPRs names to HTM SPRs names 1085 10862017-07-20 Mark Wielaard <mark@klomp.org> 1087 1088 * run-strip-g.sh: New test. 1089 * Makefile.am (TESTS): Add run-strip-g.sh. 1090 (EXTRA_DIST): Likewise. 1091 10922017-07-18 Mark Wielaard <mark@klomp.org> 1093 1094 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM. 1095 10962017-05-04 Ulf Hermann <ulf.hermann@qt.io> 1097 1098 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero. 1099 11002017-07-14 Mark Wielaard <mark@klomp.org> 1101 1102 * run-strip-remove-keep.sh: New test. 1103 * Makefile.am (TESTS): Add run-strip-remove-keep.sh. 1104 (EXTRA_DIST): Likewise. 1105 11062017-06-07 Mark Wielaard <mark@klomp.org> 1107 1108 * run-strip-nothing.sh: New test. 1109 * Makefile.am (TESTS): Add run-strip-nothing.sh. 1110 (EXTRA_DIST): Likewise. 1111 11122017-06-06 Mark Wielaard <mark@klomp.org> 1113 1114 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab. 1115 11162017-05-30 Mark Wielaard <mark@klomp.org> 1117 1118 * run-backtrace-fp-core-ppc64le.sh: New test. 1119 * backtrace.ppc64le.fp.core.bz2: New test file. 1120 * backtrace.ppc64le.fp.exec.bz2: New testfile. 1121 * backtrace-subr.sh (check_backtracegen): Accept '(null)'. 1122 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh. 1123 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh, 1124 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2. 1125 11262017-02-13 Ulf Hermann <ulf.hermann@qt.io> 1127 Mark Wielaard <mark@klomp.org> 1128 1129 * Makefile.am: Add test for unwinding with frame pointers on aarch64 1130 * backtrace.aarch64.fp.core.bz2: New file 1131 * backtrace.aarch64.fp.exec.bz2: New file 1132 * run-backtrace-fp-core-aarch64.sh: New file 1133 * backtrace-subr.sh (check_err): Allow Invalid register. 1134 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames. 1135 11362017-04-06 Mark Wielaard <mark@klomp.org> 1137 1138 * run-backtrace-fp-core-i386.sh: New test. 1139 * backtrace.i386.fp.core.bz2: New test file. 1140 * backtrace.i386.fp.exec.bz2: New testfile. 1141 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh. 1142 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh, 1143 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2. 1144 11452017-02-09 Ulf Hermann <ulf.hermann@qt.io> 1146 1147 * Makefile.am: Add test for unwinding with frame pointers on x86_64 1148 * backtrace.x86_64.fp.core.bz2: New file 1149 * backtrace.x86_64.fp.exec.bz2: New file 1150 * run-backtrace-fp-core-x86_64.sh: New file 1151 11522017-04-25 Mark Wielaard <mark@klomp.org> 1153 1154 * backtrace-subr.sh (check_backtracegen): New function. 1155 (check_core): Add check_backtracegen call. 1156 * backtrace.ppc.exec.bz2: Regenerated. 1157 * backtrace.ppc.core.bz2: Likewise. 1158 11592017-04-24 Mark Wielaard <mark@klomp.org> 1160 1161 * backtrace.c: Remove option to allow unknown symbols in the trace. 1162 * backtrace-substr.sh: Remove option to allow unknown symbols 1163 to check_core() and allow failed symbol lookups in check_err(). 1164 11652017-04-20 Ulf Hermann <ulf.hermann@qt.io> 1166 1167 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags 1168 that are set. 1169 * run-readelf-zdebug-rel.sh: Likewise. 1170 11712017-04-20 Ulf Hermann <ulf.hermann@qt.io> 1172 1173 * backtrace-child.c: Include sys/ptrace.h only on linux. 1174 * backtrace-dwarf.c: Likewise. 1175 11762017-04-05 Mark Wielaard <mark@klomp.org> 1177 1178 * test-subr.sh (testrun_on_self_compressed): New function. 1179 * run-elflint-self.sh: Call testrun_on_self_compressed. 1180 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz. 1181 11822017-03-30 Mark Wielaard <mark@klomp.org> 1183 1184 * peel_type.c: New file. 1185 * run-peel-type.sh: New test. 1186 * Makefile.am (check_PROGRAMS): Add peel_type.c. 1187 (TESTS): Add run-peel-type.sh. 1188 (EXTRA_DIST): Likewise. 1189 (peel_type_LDADD): New variable. 1190 11912017-03-27 Mark Wielaard <mark@klomp.org> 1192 1193 * fillfile.c: New file. 1194 * Makefile.am (check_PROGRAMS): Add fillfile. 1195 (TESTS): Likewise. 1196 (fillfile_LDADD): New variable. 1197 11982017-02-15 Mark Wielaard <mark@klomp.org> 1199 1200 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2. 1201 * run-readelf-A.sh: Add testfileppc64.o test. 1202 12032017-02-15 Ulf Hermann <ulf.hermann@qt.io> 1204 1205 * elfstrmerge.c: Include system.h. 1206 12072017-02-09 Ulf Hermann <ulf.hermann@qt.io> 1208 1209 * backtrace.c: Add an option to allow unknown symbols in the trace 1210 * backtrace-substr.sh: Add an option to allow unknown symbols 1211 to check_core() and allow failed symbol lookups in check_err() 1212 12132017-02-09 Ulf Hermann <ulf.hermann@qt.io> 1214 1215 * backtrace-data.c: Don't assert that symbols are found. 1216 The unwinder is allowed to ask for invalid addresses. We deny 1217 such requests, rather than make the test fail. 1218 12192016-11-17 Mark Wielaard <mjw@redhat.com> 1220 1221 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests. 1222 12232016-11-02 Mark Wielaard <mjw@redhat.com> 1224 1225 * backtrace-data.c (thread_callback): Add explicit break after error. 1226 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU. 1227 12282016-10-22 Kevin Cernekee <cernekee@chromium.org> 1229 1230 * Makefile.am (TESTS): Add run-unstrip-test4.sh. 1231 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2, 1232 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2. 1233 (run-unstrip-test4.sh): New file. 1234 (testfile-strtab.bz2): New file. 1235 (testfile-strtab.stripped.bz2): New file. 1236 (testfile-strtab.debuginfo.bz2): New file. 1237 12382016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> 1239 1240 * arextract.c: Remove sys/param.h include, add system.h include. 1241 12422016-08-30 Mark Wielaard <mjw@redhat.com> 1243 1244 * Makefile.am (asm_tst?_LDADD): Add libdw. 1245 12462016-08-25 Mark Wielaard <mjw@redhat.com> 1247 1248 * backtrace-child.c: Disable and add documentation about why we disable 1249 RAISE_JMP_PATCHING even on x86_64. 1250 * backtrace.c (is_x86_64_native): Rename to... 1251 (use_raise_jmp_patching): ... this. 1252 (callback_verify): Use use_raise_jmp_patching instead of 1253 is_x86_64_native. 1254 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe 1255 path. 1256 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__ 1257 conditional. 1258 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use 1259 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use 1260 use_raise_jmp_patching instead of is_x86_64_native. 1261 12622016-08-24 Mark Wielaard <mjw@redhat.com> 1263 1264 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2. 1265 12662016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com> 1267 1268 * testfilesparc64attrs.o.bz2: New file. 1269 * run-readelf-A.sh: Check attributes in a sparc object. 1270 12712016-08-06 Mark Wielaard <mjw@redhat.com> 1272 1273 * run-strip-reloc.sh: Add explicit compressed and uncompressed 1274 test cases. 1275 12762016-08-10 Richard Henderson <rth@redhat.com> 1277 1278 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations 1279 output. 1280 12812016-07-08 Mark Wielaard <mjw@redhat.com> 1282 1283 * update3_LDADD: Use libdw instead of libebl. 1284 * update4_LDADD: Likewise. 1285 * alldts_LDADD: Likewise. 1286 * elfstrmerge_LDADD: Likewise. 1287 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab. 1288 * elfstrmerge.c (release): Likewise. 1289 (main): Likewise. 1290 * update3.c (main): Likewise. 1291 * update4.c (main): Likewise. 1292 12932016-07-10 Andreas Schwab <schwab@linux-m68k.org> 1294 1295 * Makefile.am (TESTS): Add run-strip-test11.sh. 1296 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2, 1297 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2. 1298 (run-strip-test11.sh): New file. 1299 (hello_m68k.ko.bz2): New file. 1300 (testfile-m68k-core.bz2): New file. 1301 (testfile-m68k.bz2): New file. 1302 (testfile-m68k-s.bz2): New file. 1303 * run-allregs.sh: Add test for testfile-m68k-core. 1304 * run-readelf-mixed-corenote.sh: Likewise. 1305 * run-strip-reloc.sh: Add test for hello_m68k.ko. 1306 13072016-07-06 Mark Wielaard <mjw@redhat.com> 1308 1309 * Makefile.am (check_PROGRAMS): Add vendorelf. 1310 (TESTS): Likewise. 1311 (vendorelf_LDADD): New variable. 1312 * vendorelf.c: New test. 1313 * elfshphehdr.c (test): Check elf_getphdrnum succeeds. 1314 13152016-06-24 Mark Wielaard <mjw@redhat.com> 1316 1317 * Makefile.am (check_PROGRAMS): Add emptyfile. 1318 (TESTS): Likewise. 1319 (emptyfile_LDADD): New variable. 1320 * emptyfile.c: New test. 1321 13222016-06-28 Richard Henderson <rth@redhat.com> 1323 1324 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally. 1325 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2, 1326 testfile-bpf-dis1.o.bz2 1327 (run-disasm-bpf.sh): New file. 1328 (testfile-bpf-dis1.expect.bz2): New file. 1329 (testfile-bpf-dis1.o.bz2): New file. 1330 13312016-02-09 Mark Wielaard <mjw@redhat.com> 1332 1333 * testfile-s390x-hash-both.bz2: New testfile. 1334 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2. 1335 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test. 1336 13372016-02-04 Mark Wielaard <mjw@redhat.com> 1338 1339 * run-strip-nobitsalign.sh: New test. 1340 * testfile-nobitsalign.bz2: New testfile. 1341 * testfile-nobitsalign.strip.bz2: Likewise. 1342 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh. 1343 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2 1344 and testfile-nobitsalign.strip.bz2. 1345 * run-strip-test.sh: Add --gnu to elflint calls. 1346 13472016-01-13 Mark Wielaard <mjw@redhat.com> 1348 1349 * dwfl-bug-fd-leak.c: Skip test unless on __linux__. 1350 13512016-01-13 Mark Wielaard <mjw@redhat.com> 1352 1353 * dwfl-proc-attach.c: Guard linux specific header. 1354 13552016-01-13 Mark Wielaard <mjw@redhat.com> 1356 1357 * system-elf-libelf-test.c: New test. 1358 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE. 1359 (check_PROGRAMS): Likewise. 1360 (system_elf_libelf_test_CPPFLAGS): New variable. 1361 (system_elf_libelf_test_LDADD): Likewise. 1362 13632016-01-08 Mark Wielaard <mjw@redhat.com> 1364 1365 * elfputzdata.c (main): Fix parentheses in strncmp test. 1366 13672016-01-08 Mark Wielaard <mjw@redhat.com> 1368 1369 * elfputzdata.c (main): Use PRId64 to print 64 bit value. 1370 13712016-01-08 Mark Wielaard <mjw@redhat.com> 1372 1373 * Makefile.am (TESTS): Always unconditionally add 1374 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh. 1375 13762015-12-16 Mark Wielaard <mjw@redhat.com> 1377 1378 * run-compress-test.sh: New test. 1379 * Makefile.am (TESTS): Add run-compress-test.sh. 1380 (EXTRA_DISTS): Likewise. 1381 13822015-11-26 Mark Wielaard <mjw@redhat.com> 1383 1384 * zstrptr.c: New file. 1385 * run-zstrptr.sh: New test. 1386 * elfputzdata.c (main): (re)compress .shstrtab. 1387 * run-elfputzdata.sh: Expect .shstrtab compression. 1388 * Makefile.am (check_PROGRAMS): Add zstrptr. 1389 (TESTS): Add run-zstrptr.sh. 1390 (EXTRA_DIST): Likewise. 1391 (zstrptr_LDADD): New variable. 1392 13932015-10-20 Mark Wielaard <mjw@redhat.com> 1394 1395 * run-readelf-zx.sh: New test. 1396 * run-readelf-zp.sh: Likewise. 1397 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh. 1398 (EXTRA_DIST): Likewise. 1399 14002015-10-21 Mark Wielaard <mjw@redhat.com> 1401 1402 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata. 1403 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh. 1404 (EXTRA_DIST: Likewise. 1405 (elfgetzdata_LDADD): New variable. 1406 (elfputzdata_LDADD): Likewise. 1407 * elfgetzdata.c: New file. 1408 * elfputzdata.c: Likewise. 1409 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED, 1410 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and 1411 ELF_E_DECOMPRESS_ERROR. 1412 * run-elfgetzdata.sh: New test. 1413 * run-elfputzdata.sh: Likewise. 1414 14152015-10-28 Mark Wielaard <mjw@redhat.com> 1416 1417 * run-readelf-z.sh: New test. 1418 * Makefile.am (TESTS): Add run-readelf-z.sh. 1419 (EXTRA_DIST): Likewise. 1420 14212015-10-28 Mark Wielaard <mjw@redhat.com> 1422 1423 * elfgetchdr.c: New file. 1424 * run-elfgetchdr.sh: New test. 1425 * testfile-zgabi32.bz2: New testfile. 1426 * testfile-zgabi32be.bz2: Likewise. 1427 * testfile-zgabi64.bz2: Likewise. 1428 * testfile-zgabi64be.bz2: Likewise. 1429 * Makefile.am (check_PROGRAMS): Add elfgetchdr. 1430 (TESTS): Add run-elfgetchdr.sh. 1431 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2, 1432 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2. 1433 (welfgetchdr_LDADD): New variable. 1434 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE 1435 and ELF_E_INVALID_SECTION_FLAGS, 1436 1437 14382015-10-28 Mark Wielaard <mjw@redhat.com> 1439 1440 * dwelfgnucompressed.c: New file. 1441 * run-dwelfgnucompressed.sh: New test. 1442 * testfile-zgnu32.bz2: New testfile. 1443 * testfile-zgnu64.bz2: Likewise. 1444 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed. 1445 (TESTS): Add run-dwelfgnucompressed.sh. 1446 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2, 1447 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2. 1448 (dwelfgnucompressed_LDADD): New variable. 1449 14502015-12-31 Mark Wielaard <mjw@redhat.com> 1451 1452 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx. 1453 * run-elfstrmerge-test.sh: New test. 1454 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh 1455 (EXTRA_DIST): Likewise. 1456 14572015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com> 1458 1459 * run-backtrace-core-sparc.sh: New file. 1460 * backtrace.sparc.core.bz2: New file. 1461 * backtrace.sparc.exec.bz2: New file. 1462 * Makefile.am (EXTRA_DIST): ... and added all here. 1463 (TESTS): Added run-backtrace-core-sparc.sh. 1464 14652015-12-02 Mark Wielaard <mjw@redhat.com> 1466 1467 * Makefile.am (valgrind_cmd): Use --leak-check=full. 1468 * run-backtrace-demangle.sh: Disable valgrind. 1469 * run-stack-demangled-test.sh: Likewise. 1470 * run-stack-d-test.sh: Likewise. 1471 * run-stack-i-test.sh: Likewise. 1472 14732015-12-01 Mark Wielaard <mjw@redhat.com> 1474 1475 * test-flag-nobits.c (main): Call elf_end. 1476 * rerequest_tag.c (main): Call dwarf_end. 1477 * funcscopes.c (handle_function): Free scopes. 1478 * dwarf-getstring.c (main): Call dwarf_end. 1479 * allregs.c (main): Free state.info. 1480 * alldts.c (main): Free dyn. 1481 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi 1482 calls. 1483 * addrscopes.c (handle_address): Free scopes. 1484 14852015-10-16 Mark Wielaard <mjw@redhat.com> 1486 1487 * Makefile.am [BUILD_STATIC] (libdw): Add -lz. 1488 [BUILD_STATIC] (libelf): Likewise. 1489 14902015-10-16 Mark Wielaard <mjw@redhat.com> 1491 1492 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS. 1493 14942015-10-09 Josh Stone <jistone@redhat.com> 1495 1496 * lfs-symbols: New list of LFS-related symbols from lintian. 1497 * testfile-nolfs.bz2: New test binary for sanity checking. 1498 * run-lfs-symbols.sh: New test. 1499 * Makefile.am (TESTS): Add run-lfs-symbols.sh. 1500 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and 1501 run-lfs-symbols.sh. 1502 * alldts.c (main): Replace open64 with open. 1503 * dwarf-getstring.c (main): Likewise. 1504 * arls.c: Include config.h. 1505 * ecp.c: Likewise. 1506 * rdwrmmap.c: Likewise. 1507 * test-elf_cntl_gelf_getshdr.c: Likewise. 1508 * test-flag-nobits.c: Include config.h. 1509 (main): Replace open64 with open. 1510 15112015-10-09 Mark Wielaard <mjw@redhat.com> 1512 1513 * elfshphehdr.c (check): Rename argument from check to statement. 1514 (check_elf): Likewise. 1515 15162015-10-05 Josh Stone <jistone@redhat.com> 1517 1518 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer. 1519 15202015-10-02 Mark Wielaard <mjw@redhat.com> 1521 1522 * elfstrmerge.c: New check program. 1523 * run-strip-strmerge.sh: New test. 1524 * Makefile.am (check_PROGRAMS): Add elfstrmerge. 1525 (EXTRA_DIST): Add run-strip-strmerge.sh 1526 (elfstrmerge_LDADD): New variable. 1527 15282015-09-29 Mark Wielaard <mjw@redhat.com> 1529 1530 * elfshphehdr.c: New test. 1531 * Makefile.am (check_PROGRAMS): Add elfshphehdr. 1532 (TESTS): Likewise. 1533 (elfshphehdr_LDADD): New variable. 1534 15352015-09-08 Mark Wielaard <mjw@redhat.com> 1536 1537 * dwfl-proc-attach.c: New test. 1538 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach. 1539 (TESTS): Likewise. 1540 (dwfl_proc_attach_LDADD): New variable. 1541 (dwfl_proc_attach_LDFLAGS): Likewise. 1542 15432015-09-04 Chih-Hung Hsieh <chh@google.com> 1544 1545 * varlocs.c (print_base_type): Initialize enctype. 1546 15472015-09-04 Chih-Hung Hsieh <chh@google.com> 1548 1549 * md5-sha1-test.c (md5_expected): Removed. 1550 (sha1_expected): Likewise. 1551 15522015-09-04 Chih-Hung Hsieh <chh@google.com> 1553 1554 * asm-tst1.c (main): Replace %Z length modifier with %z. 1555 * asm-tst2.c (main): Likewise. 1556 * asm-tst3.c (main): Likewise. 1557 * asm-tst4.c (main): Likewise. 1558 * asm-tst5.c (main): Likewise. 1559 * asm-tst6.c (main): Likewise. 1560 * asm-tst7.c (main): Likewise. 1561 * asm-tst8.c (main): Likewise. 1562 * asm-tst9.c (main): Likewise. 1563 * sectiondump.c (print_bytes): Likewise. 1564 15652015-08-14 Mark Wielaard <mjw@redhat.com> 1566 1567 * run-addr2line-alt-debugpath.sh: New test. 1568 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh 1569 (EXTRA_DIST): Likewise. 1570 15712015-07-29 Mark Wielaard <mjw@redhat.com> 1572 1573 * run-unstrip-test3.sh: New test. 1574 * testfile-info-link.bz2: New file. 1575 * testfile-info-link.debuginfo.bz2: Likewise. 1576 * testfile-info-link.stripped.bz2: Likewise. 1577 * Makefile.am (TESTS): Add run-unstrip-test3.sh. 1578 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2, 1579 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2. 1580 15812015-06-27 Pino Toscano <toscano.pino@tiscali.it> 1582 1583 * tests/run-deleted.sh: Skip when detecting a not implemented 1584 dwfl_linux_proc_attach. 1585 15862015-06-27 Pino Toscano <toscano.pino@tiscali.it> 1587 1588 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of 1589 dwfl_addrmodule. 1590 15912015-06-26 Pino Toscano <toscano.pino@tiscali.it> 1592 1593 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused. 1594 15952015-06-26 Pino Toscano <toscano.pino@tiscali.it> 1596 1597 * tests/backtrace-data.c: Reduce scope of some includes to match their 1598 usage. 1599 * tests/backtrace.c: Likewise. 1600 * tests/deleted.c: Likewise. 1601 16022015-06-16 Mark Wielaard <mjw@redhat.com> 1603 1604 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test 1605 for non-ET_REL files. 1606 16072015-05-30 Mark Wielaard <mjw@redhat.com> 1608 1609 * backtrace-subr.sh (check_native_core): Notice core file couldn't be 1610 generated before skipping. 1611 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported 1612 before skipping. 1613 * run-backtrace-demangle.sh: Likewise. 1614 * run-stack-demangled-test.sh: Likewise. 1615 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled 1616 before skipping. 1617 * run-backtrace-native-core-biarch.sh: Likewise. 1618 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping. 1619 16202015-05-20 Mark Wielaard <mjw@redhat.com> 1621 1622 * run-addr2line-i-test.sh: Add pretty test. 1623 * run-addr2line-test.sh: Likewise. 1624 16252015-05-20 Mark Wielaard <mjw@redhat.com> 1626 1627 * run-addr2line-i-demangle-test.sh: New test. 1628 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh. 1629 (EXTRA_DIST): Likewise. 1630 16312015-05-20 Mark Wielaard <mjw@redhat.com> 1632 1633 * run-addr2line-test.sh: Add -a test variants. 1634 * run-addr2line-i-test.sh: Likewise. 1635 16362015-05-20 Mark Wielaard <mjw@redhat.com> 1637 1638 * run-addrname-test.sh: Make sure all input addresses are hex. 1639 16402015-05-04 Max Filippov <jcmvbkbc@gmail.com> 1641 1642 * backtrace-child.c (stdarg, main): Replace assert_perror with assert. 1643 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers) 1644 (main): Likewise. 1645 * backtrace-dwarf.c (main): Likewise. 1646 * backtrace.c (prepare_thread, exec_dump): Likewise. 1647 16482015-05-04 Anthony G. Basile <blueness@gentoo.org> 1649 1650 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD) 1651 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD) 1652 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD) 1653 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD) 1654 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD). 1655 16562015-05-01 Mark Wielaard <mjw@redhat.com> 1657 1658 * run-stack-d-test.sh: Use --raw and mangled output. 1659 * run-stack-i-test.sh: Likewise. 1660 * run-stack-demangled-test.sh: New test. 1661 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh. 1662 (TESTS): Likewise. 1663 16642015-04-01 H.J. Lu <hjl.tools@gmail.com> 1665 1666 * Makefile.am (TESTS): Add run-strip-test10.sh. 1667 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2. 1668 Add testfile-x32-debug.bz2. 1669 * run-strip-test10.sh: New file. 1670 * testfile-x32-d.bz2: Likewise. 1671 * testfile-x32-debug.bz2: Likewise. 1672 16732015-04-01 H.J. Lu <hjl.tools@gmail.com> 1674 1675 * Makefile.am (TESTS): Add run-strip-test9.sh. 1676 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2. 1677 * run-strip-test9.sh: New file. 1678 * testfile-x32-s.bz2: Likewise. 1679 16802015-04-01 H.J. Lu <hjl.tools@gmail.com> 1681 1682 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh. 1683 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2. 1684 Add backtrace.x32.exec.bz2. 1685 * backtrace.x32.core.bz2 : New file. 1686 * backtrace.x32.exec.bz2: Likewise. 1687 * run-backtrace-core-x32.sh: Likewise. 1688 16892015-04-01 H.J. Lu <hjl.tools@gmail.com> 1690 1691 * run-addrcfi.sh: Add a test for testfile-x32. 1692 * testfile-x32.bz2: New file. 1693 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2. 1694 16952015-04-01 H.J. Lu <hjl.tools@gmail.com> 1696 1697 * run-allregs.sh: Add a test for testfile-x32-core. 1698 16992015-04-01 H.J. Lu <hjl.tools@gmail.com> 1700 1701 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core. 1702 * testfile-x32-core.bz2: New file. 1703 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2. 1704 17052015-03-18 Petr Machata <pmachata@redhat.com> 1706 1707 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match 1708 the API changes. 1709 * allregs.c (dwarf_encoding_string): Likewise. 1710 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise. 1711 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise. 1712 17132015-03-18 Petr Machata <pmachata@redhat.com> 1714 1715 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh, 1716 debug-ranges-no-lowpc.o.bz2. 1717 17182015-03-13 Mark Wielaard <mjw@redhat.com> 1719 1720 * backtrace-dwarf.c: Add explicit includes. 1721 (cleanup_13_abort): Remove unused static declaration. 1722 (thread_callback): Add explicit return. 1723 17242015-03-13 H.J. Lu <hjl.tools@gmail.com> 1725 1726 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS 1727 instead of PTRACE_POKEUSER. 1728 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for 1729 is_x86_64_native. 1730 17312015-02-18 Mark Wielaard <mjw@redhat.com> 1732 1733 * newdata.c (check_section_data): Use PRId64 for printing loff_t. 1734 17352015-02-11 Josh Stone <jistone@redhat.com> 1736 1737 * backtrace.c (exec_dump): Initialize jmp. 1738 17392015-02-11 Petr Machata <pmachata@redhat.com> 1740 1741 * run-dwarf-ranges.sh: New test. 1742 * dwarf-ranges.c: New file. 1743 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case. 1744 17452015-01-21 Mark Wielaard <mjw@redhat.com> 1746 1747 * Makefile.am (check_PROGRAMS): Add elfstrtab. 1748 (TESTS): Likewise. 1749 (elfstrtab_LDADD): New variable. 1750 * elfstrtab.c: New test. 1751 17522015-01-20 Mark Wielaard <mjw@redhat.com> 1753 1754 * Makefile.am (check_PROGRAMS): Add newdata. 1755 (TESTS): Likewise. 1756 (newdata_LDADD): new variable. 1757 * newdata.c: New test. 1758 17592015-01-20 Mark Wielaard <mjw@redhat.com> 1760 1761 * strptr.c: New file. 1762 * run-strptr.sh: New test. 1763 * Makefile.am (check_PROGRAMS): Add strptr. 1764 (TESTS): Add run-strptr.sh. 1765 (EXTRA_DIST): Likewise. 1766 (strptr_LDADD): New variable. 1767 17682015-01-15 Mark Wielaard <mjw@redhat.com> 1769 1770 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY). 1771 * vdsosyms.c (main): Use getpid () instead of getppid (). 1772 17732014-12-27 Mark Wielaard <mjw@redhat.com> 1774 1775 * addrscopes.c (handle_address): Last address in scope is highpc - 1. 1776 * funcscopes.c (handle_function): Likewise. 1777 * run-addrscopes.sh: Adjust last address in scope. 1778 * run-funcscopes.sh: Likewise. 1779 17802015-01-07 Mark Wielaard <mjw@redhat.com> 1781 1782 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search. 1783 17842015-01-14 Mark Wielaard <mjw@redhat.com> 1785 1786 * testfile-debug-types.bz2: New testfile. 1787 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2. 1788 * typeiter2.c (main): Print both name and offset of found form DIE. 1789 * run-typeiter.s: Adjust output and add testfile-debug-types. 1790 17912014-12-26 Mark Wielaard <mjw@redhat.com> 1792 1793 * run-test-archive64.sh: Add nm test. 1794 17952014-12-19 Mark Wielaard <mjw@redhat.com> 1796 1797 * run-deleted.sh: Don't check libfunc on ppc64. 1798 17992014-12-19 Mark Wielaard <mjw@redhat.com> 1800 1801 * vdsosyms.c (vdso_seen): Removed. 1802 (vdso_syms): New global. 1803 (module_callback): Set and check vdso_syms. 1804 (main): Return value depends on vdso_syms. 1805 18062014-12-19 Mark Wielaard <mjw@redhat.com> 1807 1808 * backtrace-subr.sh (check_native_unsupported): Relax special ARM 1809 grep a little. 1810 * run-deleted.sh: Call check_native_unsupported. 1811 18122014-12-18 Mark Wielaard <mjw@redhat.com> 1813 1814 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2. 1815 18162014-12-12 Mark Wielaard <mjw@redhat.com> 1817 1818 * Makefile.am (deleted_lib_so_CFLAGS): Add 1819 -fasynchronous-unwind-tables. 1820 18212014-12-11 Josh Stone <jistone@redhat.com> 1822 1823 * run-addr2line-i-lex-test.sh: New test. 1824 * testfile-lex-inlines.bz2: New testfile. 1825 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and 1826 testfile-lex-inlines.bz2. 1827 (TESTS): Add run-addr2line-i-lex-test.sh. 1828 18292014-12-10 Josh Stone <jistone@redhat.com> 1830 1831 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is 1832 preferred over the plain die name. 1833 18342014-12-02 Petr Machata <pmachata@redhat.com> 1835 1836 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef, 1837 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch. 1838 (main): Initialize off to DWARF_GETMACROS_START when an extra 1839 command line argument is passed. 1840 * testfile-macros-0xff.bz2: New test case. 1841 * testfile-macros-0xff.s: New file (source for the above). 1842 * run-dwarf-getmacros.sh: Add two tests. 1843 18442014-11-27 Mark Wielaard <mjw@redhat.com> 1845 1846 * vdsosyms.c (main): Call dwfl_linux_proc_attach. 1847 18482014-11-21 Mark Wielaard <mjw@redhat.com> 1849 1850 * run-readelf-A.sh: New test. 1851 * testfileppc32attrs.o.bz2: New test file. 1852 * Makefile.am (TESTS): Add run-readelf-A.sh. 1853 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2. 1854 18552014-11-10 Mark Wielaard <mjw@redhat.com> 1856 1857 * vdsosyms.c: New test. 1858 * Makefile.am (check_PROGRAMS): Add vdsosyms. 1859 (TESTS): Likewise. 1860 (vdsosyms_LDADD): New variable. 1861 18622014-09-10 Petr Machata <pmachata@redhat.com> 1863 1864 * dwarf-getmacros.c: Update to use the new macro iteration 1865 interfaces. 1866 * run-dwarf-getmacros.sh: Adjust, add a test that uses 1867 testfile-macros. 1868 18692014-10-06 Mark Wielaard <mjw@redhat.com> 1870 1871 * run-aggregate-size.sh: Add testfile-sizes3.o test case. 1872 * testfile-sizes3.o.bz2: New test file. 1873 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2. 1874 18752014-10-02 Mark Wielaard <mjw@redhat.com> 1876 1877 * run-deleted.sh: Unset VALGRIND_CMD before running deleted. 1878 18792014-10-02 Mark Wielaard <mjw@redhat.com> 1880 1881 * Makefile.am (check_PROGRAMS): Add aggregate_size.c. 1882 (TESTS): Add run-aggregate-size.sh. 1883 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2 1884 and testfile-sizes2.o.bz2. 1885 (aggregate_size_LDADD): New variable. 1886 * aggregate_size.c: New file. 1887 * run-aggregate-size.sh: New test. 1888 * testfile-sizes1.o.bz2: New test file. 1889 * testfile-sizes2.o.bz2: Likewise. 1890 18912014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com> 1892 1893 Support NT_FILE for locating files. 1894 * Makefile.am (TESTS): Add run-linkmap-cut.sh. 1895 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2, 1896 linkmap-cut.bz2 and linkmap-cut.core.bz2 . 1897 * linkmap-cut-lib.so.bz2: New file. 1898 * linkmap-cut.bz2: New file. 1899 * linkmap-cut.core.bz2: New file. 1900 * run-linkmap-cut.sh: New file. 1901 * run-unstrip-n.sh: Update its expected output. 1902 19032014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com> 1904 1905 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so. 1906 (TESTS, EXTRA_DIST): Add run-deleted.sh. 1907 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New. 1908 * deleted-lib.c: New file. 1909 * deleted.c: New file. 1910 * run-deleted.sh: New file. 1911 19122014-06-15 Mark Wielaard <mjw@redhat.com> 1913 1914 * backtrace.c (frame_callback): Error on seeing more than 16 frames. 1915 19162014-06-13 Mark Wielaard <mjw@redhat.com> 1917 1918 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first 1919 frame symname. 1920 19212014-06-13 Mark Wielaard <mjw@redhat.com> 1922 1923 * backtrace-subr.sh (check_native_unsupported): New function. 1924 (check_native): Call it. 1925 (check_native_core): Likewise. 1926 * run-backtrace-dwarf.sh: Likewise. 1927 19282014-06-11 Mark Wielaard <mjw@redhat.com> 1929 1930 * backtrace.c (main): Check that Dwfl was attached by calling 1931 dwfl_pid and printing the error when it is not. 1932 19332014-05-18 Mark Wielaard <mjw@redhat.com> 1934 1935 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static. 1936 (f): Likewise. 1937 * testfile-backtrace-demangle.bz2: Regenerate. 1938 * testfile-backtrace-demangle.core.bz2: Likewise. 1939 19402014-05-02 Mark Wielaard <mjw@redhat.com> 1941 1942 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and 1943 run-allfcts-multi.sh are now added unconditionally. 1944 19452014-05-01 Mark Wielaard <mjw@redhat.com> 1946 1947 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz 1948 subdir. 1949 19502014-04-30 Mark Wielaard <mjw@redhat.com> 1951 1952 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files. 1953 * Makefile.am (check_PROGRAMS): Add buildid. 1954 (TESTS): Add run-buildid.sh. 1955 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2. 1956 (buildid_LDADD): New variable. 1957 19582014-04-24 Florian Weimer <fweimer@redhat.com> 1959 1960 * allfcts.c (setup_alt): New function. 1961 (main): Call it. Implementation additional error checking and 1962 reporting. 1963 19642014-04-24 Florian Weimer <fweimer@redhat.com> 1965 1966 * debugaltlink.c, run-debugaltlink.sh: New files. 1967 * Makefile.am (check_PROGRAMS): Add debugaltlink. 1968 (TESTS): Add run-debugaltlink.sh. 1969 (debugaltlink_LDADD): New variable. 1970 19712014-04-11 Mark Wielaard <mjw@redhat.com> 1972 1973 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf. 1974 (check_PROGRAMS): Add debuglink. 1975 (TESTS): Add run-debuglink.sh 1976 (EXTRA_DIST): Likewise. 1977 (debuglink_LDADD): New. 1978 * debuglink.c: New file. 1979 * run-debuglink.sh: Likewise. 1980 19812014-03-23 Mark Wielaard <mjw@redhat.com> 1982 1983 * run-nm-self.sh: Use test = not == for string comparisons. 1984 19852014-04-22 Kurt Roeckx <kurt@roeckx.be> 1986 1987 * backtrace.c: Make Linux only. 1988 * backtrace-child.c: Make Linux only. 1989 * backtrace-data.c: Make Linux only. 1990 * backtrace-dwarf.c: Make Linux only. 1991 * backtrace-subr.sh: Skip core file unwinding tests when not supported. 1992 19932014-03-14 Mark Wielaard <mjw@redhat.com> 1994 1995 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all 1996 LDADD lines. 1997 * configure.ac: Remove MUDFLAP conditional. 1998 19992014-04-09 Mark Wielaard <mjw@redhat.com> 2000 2001 * run-readelf-zdebug.sh: New test. 2002 * testfile-debug.bz2: New testfile. 2003 * testfile-zdebug.bz2: New testfile. 2004 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB. 2005 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and 2006 testfile-zdebug.bz2. 2007 20082014-04-10 Mark Wielaard <mjw@redhat.com> 2009 2010 * testfile_i686_core.bz2: New test file. 2011 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test. 2012 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2 2013 20142014-04-09 Mark Wielaard <mjw@redhat.com> 2015 2016 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh. 2017 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh, 2018 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2. 2019 * run-backtrace-core-aarch64.sh: New test. 2020 20212014-03-11 Josh Stone <jistone@redhat.com> 2022 2023 * testfilebaxmin.bz2: New testfile. 2024 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2. 2025 * run-readelf-s.sh: Test testfilebaxmin. 2026 * run-dwflsyms.sh: Likewise. 2027 20282014-01-26 Mark Wielaard <mjw@redhat.com> 2029 2030 * backtrace-subr.sh (check_unsupported): Special case arm*. 2031 20322014-01-25 Mark Wielaard <mjw@redhat.com> 2033 2034 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to 2035 location expression: call_frame_cfa stack_value. 2036 20372014-01-22 Mark Wielaard <mjw@redhat.com> 2038 2039 * Makefile.am (line2addr_no_Wformat): Removed. 2040 20412014-01-21 Mark Wielaard <mjw@redhat.com> 2042 2043 * Makefile.am (TESTS): Add run-stack-i-test.sh. 2044 (EXTRA_DIST): Likewise. 2045 * run-stack-i-test.sh: New test. 2046 20472014-01-20 Mark Wielaard <mjw@redhat.com> 2048 2049 * Makefile.am (TESTS): Add run-stack-d-test.sh. 2050 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2 2051 testfiledwarfinlines.core.bz2. 2052 * run-stack-d-test.sh: New test. 2053 * testfiledwarfinlines.bz2: New test file. 2054 * testfiledwarfinlines.core.bz2: Likewise. 2055 20562014-01-16 Mark Wielaard <mjw@redhat.com> 2057 2058 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun 2059 on one ET_REL, one ET_EXEC and one ET_DYN file. 2060 * test-subr.sh (self_test_files): Add two ET_REL files, only add 2061 two libebl ET_DYN backend files. 2062 20632014-01-16 Mark Wielaard <mjw@redhat.com> 2064 2065 * run-backtrace-demangle.sh: Check exitcode and max number of frames. 2066 20672014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2068 2069 Fix false FAILs on testsuite with ulimit -c unlimited. 2070 * backtrace-child.c (sigusr2): Call pthread_exit. 2071 (main): Return, do not call abort. 2072 20732014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> 2074 2075 Fix corruption of non-C++ symbols by the demangler. 2076 * Makefile.am (TESTS): Add run-backtrace-demangle.sh. 2077 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export. 2078 (EXTRA_DIST): Add run-backtrace-demangle.sh, 2079 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc, 2080 testfile-backtrace-demangle.core.bz2. 2081 * backtrace-demangle.cc: New file. 2082 * run-backtrace-demangle.sh: New file. 2083 * testfile-backtrace-demangle.bz2: New file. 2084 * testfile-backtrace-demangle.cc: New file. 2085 * testfile-backtrace-demangle.core.bz2: New file. 2086 20872014-01-07 Matthias Klose <doko@ubuntu.com> 2088 2089 * backtrace-subr.sh (check_native_core): Check to see if core file 2090 was created without ".PID" extension, if so mv core to core.PID. 2091 Skip test if no core file was created or could be found. 2092 20932014-01-04 Mark Wielaard <mjw@redhat.com> 2094 2095 * backtrace-data.c (main): Don't assert if raise returns. 2096 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with 2097 assume_ptrace_attached true. 2098 (ptrace_detach_stopped): Removed function. 2099 (main): Don't call ptrace_detach_stopped. 2100 * backtrace.c (ptrace_detach_stopped): Removed function. 2101 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached 2102 true. 2103 (exec_dump): Don't call ptrace_detach_stopped. 2104 21052014-01-04 Mark Wielaard <mjw@redhat.com> 2106 2107 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test 2108 if we cannot adjust core ulimit. 2109 21102014-01-04 Mark Wielaard <mjw@redhat.com> 2111 2112 * cleanup-13.c (force_unwind_stop): Removed. 2113 (force_unwind): Just call abort. Don't setup _Unwind_Exception and 2114 don't call _Unwind_ForcedUnwind. 2115 21162014-01-03 Mark Wielaard <mjw@redhat.com> 2117 2118 * run-addrcfi.sh: Add case for EM_AARCH64. 2119 * testfileaarch64.bz2: New testfile. 2120 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2. 2121 21222013-12-30 Mark Wielaard <mjw@redhat.com> 2123 2124 * backtrace-dwarf.c (report_pid): Explicitly call 2125 dwfl_linux_proc_attach and check for errors. 2126 * backtrace.c (report_pid): Likewise. 2127 21282013-12-21 Mark Wielaard <mjw@redhat.com> 2129 2130 * backtrace.c (callback_verify): Only assert that case 5 is the last 2131 instruction of backtracegen on x86_64 native. 2132 21332013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2134 Mark Wielaard <mjw@redhat.com> 2135 2136 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2 2137 and testfilebaz*ppc64*.bz2 files. 2138 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print 2139 error on dwfl_module_getsymtab error. 2140 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info. 2141 Compare values for non-ET_REL. Use dwfl_module_addrinfo. 2142 Also print section of actual value if different from sym. 2143 * run-addrname-test.sh (testfile66, testfile66.core): New tests. 2144 Test addr2line -x by showing different sections for address and 2145 found name in testfile66. 2146 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko, 2147 testfilebaz*ppc64): New tests. 2148 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2, 2149 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2, 2150 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2, 2151 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2, 2152 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2, 2153 testfilebaztabppc64.bz2: New test files. 2154 21552013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2156 2157 unwinder: s390 and s390x 2158 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and 2159 run-backtrace-core-s390.sh. 2160 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2, 2161 backtrace.s390.core.bz2, backtrace.s390.exec.bz2, 2162 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh. 2163 * backtrace.s390.core.bz2: New file. 2164 * backtrace.s390.exec.bz2: New file. 2165 * backtrace.s390x.core.bz2: New file. 2166 * backtrace.s390x.exec.bz2: New file. 2167 * run-backtrace-core-s390.sh: New file. 2168 * run-backtrace-core-s390x.sh: New file. 2169 21702013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com> 2171 2172 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused 2173 code. 2174 21752013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> 2176 2177 unwinder: ppc 2178 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh. 2179 (EXTRA_DIST): Add backtrace.ppc.core.bz2, 2180 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh. 2181 * backtrace.ppc.core.bz2: New file. 2182 * backtrace.ppc.exec.bz2: New file. 2183 * run-backtrace-core-ppc.sh: New file. 2184 21852013-12-10 Mark Wielaard <mjw@redhat.com> 2186 2187 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c. 2188 21892013-12-10 Mark Wielaard <mjw@redhat.com> 2190 2191 * Makefile.am (valgrind_cmd): Remove --trace-children=yes. 2192 * backtrace-subr.sh (check_native_core): Disable valgrind while 2193 dumping core. 2194 * run-backtrace-data.sh: Disable valgrind. 2195 * run-backtrace-dwarf.sh: Likewise. 2196 21972013-12-09 Mark Wielaard <mjw@redhat.com> 2198 2199 * varlocs.c (print_expr): Update comment to explain empty location 2200 associated with DW_OP_GNU_implicit_pointer. 2201 22022013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> 2203 2204 Fix test FAIL with -O2. 2205 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub. 2206 22072013-12-05 Mark Wielaard <mjw@redhat.com> 2208 2209 * backtrace-data.c (main): If unsupported also print to stderr. 2210 * run-backtrace-dwarf.sh: Add check_unsupported and check_main. 2211 22122013-12-04 Mark Wielaard <mjw@redhat.com> 2213 2214 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT). 2215 22162013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com> 2217 2218 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child, 2219 backtrace-data and backtrace-dwarf. 2220 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New. 2221 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh, 2222 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh, 2223 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 2224 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh. 2225 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH. 2226 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh, 2227 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh, 2228 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 2229 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh, 2230 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2, 2231 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2. 2232 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS) 2233 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD): 2234 New. 2235 * backtrace-child.c: New file. 2236 * backtrace-data.c: New file. 2237 * backtrace-dwarf.c: New file. 2238 * backtrace-subr.sh: New file. 2239 * backtrace.c: New file. 2240 * cleanup-13.c: New file. 2241 * backtrace.i386.core.bz2: New file. 2242 * backtrace.i386.exec.bz2: New file. 2243 * backtrace.x86_64.core.bz2: New file. 2244 * backtrace.x86_64.exec.bz2: New file. 2245 * run-backtrace-core-i386.sh: New file. 2246 * run-backtrace-core-x86_64.sh: New file. 2247 * run-backtrace-native-biarch.sh: New file. 2248 * run-backtrace-native-core-biarch.sh: New file. 2249 * run-backtrace-native-core.sh: New file. 2250 * run-backtrace-native.sh: New file. 2251 * run-backtrace-data.sh: New file. 2252 * run-backtrace-dwarf.sh: New file. 2253 22542013-11-27 Mark Wielaard <mjw@redhat.com> 2255 2256 * dwflsyms.c (gelf_bind_order): New function. 2257 (elf_section_name): Likewise. 2258 (addr_in_section): Likewise. 2259 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf. 2260 Refine assert using gelf_bind_order. Print elf_section_name. Check 2261 bias with addr_in_section. 2262 * run-dwflsyms.sh: Add section names to expected output. 2263 22642013-11-26 Mark Wielaard <mjw@redhat.com> 2265 2266 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh. 2267 22682013-11-25 Petr Machata <pmachata@redhat.com> 2269 2270 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files. 2271 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise. 2272 * Makefile.am (EXTRA_DIST): Add these. 2273 (TESTS): Add run-funcretval.sh. 2274 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test. 2275 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test. 2276 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2. 2277 * run-funcretval.sh: New file. 2278 22792013-11-18 Josh Stone <jistone@redhat.com> 2280 2281 * testfilebazdbg_plr.bz2: New testfile. 2282 * testfilebazmin_plr.bz2: Likewise. 2283 * Makefile.am (EXTRA_DIST): Add the above files. 2284 * run-dwflsyms.sh: Add prelink -r tests. 2285 22862013-11-15 Mark Wielaard <mjw@redhat.com> 2287 2288 * testfilebazmdb.bz2: Regenerated. 2289 * testfilebazmin.bz2: Likewise. 2290 * testfilebazdbg_pl.bz2: New testfile. 2291 * testfilebazmin_pl.bz2: Likewise. 2292 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and 2293 testfilebazmin_pl.bz2. 2294 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and 2295 print relative address of function symbols. 2296 * run-dwflsyms.sh: Add prelink tests and adjust expected output. 2297 22982013-11-01 Michael Forney <mforney@mforney.org> 2299 2300 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM. 2301 * run-arsymtest.sh: Use NM. 2302 23032013-11-05 Mark Wielaard <mjw@redhat.com> 2304 2305 * allfcts.c (main): Correct dwarf_getfuncs return value check. 2306 23072013-10-10 Mark Wielaard <mjw@redhat.com> 2308 Josh Stone <jistone@redhat.com> 2309 2310 * run-allfcts-multi.sh: New test. 2311 * test-offset-loop.bz2: New testfile. 2312 * test-offset-loop.alt.bz2: New testfile. 2313 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ. 2314 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and 2315 test-offset-loop.alt.bz2. 2316 23172013-10-15 Mark Wielaard <mjw@redhat.com> 2318 2319 * run-unstrip-M.sh: New test. 2320 * Makefile.am (TESTS): Add run-unstrip-M.sh. 2321 (EXTRA_DIST): Likewise. 2322 23232013-10-06 Mark Wielaard <mjw@redhat.com> 2324 2325 * run-addrcfi.sh: Remove nop from expected ppc and ppc64 2326 location expression. 2327 23282013-10-03 Josh Stone <jistone@redhat.com> 2329 2330 * typeiter2.c: New file, reversing typeiter.c. 2331 * run-typeiter.sh: Also run typeiter2. 2332 * Makefile.am (check_PROGRAMS): Add typeiter2. 2333 (typeiter2_LDADD): New variable. 2334 23352013-09-26 Petr Machata <pmachata@redhat.com> 2336 2337 * run-readelf-mixed-corenote.sh: Update output of testfile71 2338 dump--readelf can newly decode the NT_FILE note. 2339 23402013-09-26 Petr Machata <pmachata@redhat.com> 2341 2342 * Makefile.am (EXTRA_DIST): Add testfile71.bz2. 2343 * run-readelf-mixed-corenote.sh: New test for this file. 2344 * testfile71.bz2: New file. 2345 23462013-09-20 Mark Wielaard <mjw@redhat.com> 2347 2348 * allfcts.c (cb): Return DWARF_CB_ABORT. 2349 (main): Iterate over all offsets returned by dwarf_getfuncs. 2350 * run-allfcts.sh: Add nested_funcs and class_func testcases. 2351 * testfile_nested_funcs.bz2: New test file. 2352 * testfile_class_func.bz2: Likewise. 2353 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and 2354 testfile_nested_funcs.bz2. 2355 23562013-08-30 Mark Wielaard <mjw@redhat.com> 2357 2358 * Makefile.am (check_PROGRAMS): Add varlocs. 2359 (TESTS): Add run-varlocs.sh. 2360 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c, 2361 testfile_const_type.bz2, testfile_implicit_pointer.c, 2362 testfile_implicit_pointer.bz2, testfile_parameter_ref.c, 2363 testfile_entry_value.c, testfile_entry_value.bz2, 2364 testfile_implicit_value.c and testfile_implicit_value.bz2. 2365 (varlocs_LDADD): New. 2366 * run-varlocs: New test. 2367 * testfile_const_type.c: New test source file. 2368 * testfile_entry_value.c: Likewise. 2369 * testfile_implicit_pointer.c: Likewise. 2370 * testfile_implicit_value.c: Likewise. 2371 * testfile_parameter_ref.c: Likewise. 2372 * testfile_const_type.bz2: New test file. 2373 * testfile_entry_value.bz2: Likewise. 2374 * testfile_implicit_pointer.bz2: Likewise. 2375 * testfile_implicit_value.bz2: Likewise. 2376 * testfile_parameter_ref.bz2: Likewise. 2377 * varlocs.c: New test source. 2378 23792013-08-29 Mark Wielaard <mjw@redhat.com> 2380 2381 * run-addrcfi.sh: Add case for EM_ARM. 2382 * testfilearm.bz2: New testfile. 2383 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2. 2384 23852013-08-28 Mark Wielaard <mjw@redhat.com> 2386 2387 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame 2388 completely missing. 2389 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64. 2390 * testfiles390.bz2: New testfile. 2391 * testfiles390x.bz2: Likewise. 2392 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and 2393 testfiles390x.bz2. 2394 23952013-08-28 Mark Wielaard <mjw@redhat.com> 2396 2397 * addrcfi.c (handle_cfi): Use printf not error. 2398 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64. 2399 * testfileppc32.bz2: New testfile. 2400 * testfileppc64.bz2: Likewise. 2401 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and 2402 testfileppc64.bz2. 2403 24042013-08-27 Mark Wielaard <mjw@redhat.com> 2405 2406 * run-addrcfi.sh: New test. 2407 * Makefile.am (TESTS): Add run-addrcfi.sh. 2408 (EXTRA_DIST): Likewise. 2409 * addrcfi.c (op_name): New function. 2410 (print_detail): Call and print op_name. Check ops, not result 2411 to check if this is "same value" or "undefined". 2412 (handle_cfi): Make sure cfa_ops doesn't point to NULL. 2413 24142013-08-13 Mark Wielaard <mjw@redhat.com> 2415 2416 * run-addr2line-i-test.sh: New test. 2417 * testfile-inlines.bz2: New testfile. 2418 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and 2419 testfile-inlines.bz2. 2420 (TESTS): Add run-addr2line-i-test.sh. 2421 24222013-08-12 Mark Wielaard <mjw@redhat.com> 2423 2424 * run-addr2line-test.sh: New test. 2425 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh. 2426 (TESTS): Likewise. 2427 24282013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com> 2429 2430 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of 2431 the entries. 2432 24332013-07-02 Mark Wielaard <mjw@redhat.com> 2434 2435 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in 2436 testfilenolines.bz2. 2437 24382013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com> 2439 2440 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2, 2441 test-core.core.bz2 and test-core.exec.bz2. 2442 * run-addrname-test.sh: New test for these files. 2443 * run-unstrip-n.sh: Update expected output. New test for these files. 2444 * test-core-lib.so.bz2: New file. 2445 * test-core.core.bz2: New file. 2446 * test-core.exec.bz2: New file. 2447 24482013-05-03 Mark Wielaard <mjw@redhat.com> 2449 2450 * testfilenolines.bz2: New test file. 2451 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2. 2452 * run-get-lines.sh: Run testrun_compare on testfilenolines. 2453 24542013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com> 2455 2456 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf. 2457 24582013-04-29 Mark Wielaard <mjw@redhat.com> 2459 2460 * test-subr.sh: Don't use pushd, just cd into test-dir. 2461 (exit_cleanup): Don't use popd, just cd .. to get out. 2462 24632013-04-27 Mark Wielaard <mjw@redhat.com> 2464 2465 * test-subr.sh (exit_cleanup): New function. 2466 (trap): Use exit_cleanup as argument. 2467 * run-native-test.sh (native_exit): New function. 2468 (trap): For EXIT (0) use native_exit as argument. 2469 24702013-04-27 Mark Wielaard <mjw@redhat.com> 2471 2472 * update1.c (main): Use unique tempfile name and unlink file. 2473 * update2.c (main): Likewise. 2474 * update3.c (main): Likewise. 2475 * update4.c (main): Use unique tempfile name. 2476 24772013-04-27 Mark Wielaard <mjw@redhat.com> 2478 2479 * run-alldts.sh: Add testfile-alldts to tempfiles. 2480 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles. 2481 * run-macro-test.sh: Add readelf.macros.out to tempfiles. 2482 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2 2483 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles. 2484 24852013-04-26 Mark Wielaard <mjw@redhat.com> 2486 2487 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment, 2488 remove wrapper. 2489 (TESTS_ENVIRONMENT): Likewise. 2490 (installed_LOG_COMPILER): New variable defining wrapper. 2491 (LOG_COMPILER): Likewise. 2492 * run-*.sh: Fixup location of input and output files. 2493 * test-subr.sh: Create test_dir, pushd to execute test in. 2494 (trap): Remove test_dir. 2495 (testfiles): Use abs_srcdir. 2496 (installed_testrun): Match on abs_builddir or abs_top_builddir. 2497 (self_test_files): Adjust path. 2498 24992013-04-24 Mark Wielaard <mjw@redhat.com> 2500 2501 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 2502 25032013-03-25 Mark Wielaard <mjw@redhat.com> 2504 2505 * run-readelf-aranges.sh: New test. 2506 * testfilefoobarbaz.bz2: New test file. 2507 * Makefile.am (TESTS): Add run-readelf-aranges.sh. 2508 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2. 2509 25102013-03-25 Mark Wielaard <mjw@redhat.com> 2511 2512 * run-readelf-dwz-multi.sh: Expect high_pc also as address. 2513 25142013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com> 2515 2516 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align. 2517 (TESTS): Add run-dwfl-report-elf-align.sh. 2518 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and 2519 testfile-dwfl-report-elf-align-shlib.so.bz2 . 2520 (dwfl_report_elf_align_LDADD): New. 2521 * dwfl-report-elf-align.c: New file. 2522 * run-dwfl-report-elf-align.sh: New file. 2523 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file. 2524 25252013-03-12 Mark Wielaard <mjw@redhat.com> 2526 2527 * run-dwfllines.sh: New test. 2528 * dwfllines.c: New test program. 2529 * Makefile.am (TESTS): Add run-dwfllines.sh. 2530 (EXTRA_DIST): Likewise. 2531 (dwfllines_LDADD): New variable. 2532 25332013-02-22 Mark Wielaard <mjw@redhat.com> 2534 2535 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh. 2536 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS. 2537 25382013-02-15 Mark Wielaard <mjw@redhat.com> 2539 2540 * testfile-dwzstr.bz2: New testfile. 2541 * testfile-dwzstr.multi.bz2: Likewise. 2542 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test. 2543 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and 2544 testfile-dwzstr.multi.bz2. 2545 25462013-01-30 Mark Wielaard <mjw@redhat.com> 2547 2548 * testfileloc.bz2: New testfile. 2549 * run-readelf-loc.sh: New test. 2550 * Makefile.am (TESTS): Add run-readelf-loc.sh. 2551 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2. 2552 25532013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> 2554 2555 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390 2556 and s390x core notes. 2557 * testfile67.bz2: New file. 2558 * testfile68.bz2: New file. 2559 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 . 2560 25612013-01-23 Mark Wielaard <mjw@redhat.com> 2562 2563 * testfilebasmin.bz2: New testfile. 2564 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2. 2565 * run-readelf-s.sh: Test testfilebasmin. 2566 * run-dwflsyms.sh: Likewise. 2567 25682013-01-16 Mark Wielaard <mjw@redhat.com> 2569 2570 * Makefile.am (check_PROGRAMS): Add dwflsyms. 2571 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh. 2572 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2, 2573 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2, 2574 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh. 2575 (dwflsyms_LDADD): New variable. 2576 25772013-01-07 Roland McGrath <roland@hack.frob.com> 2578 2579 * run-prelink-addr-test.sh: Use ln -snf. 2580 25812012-12-03 Mark Wielaard <mjw@redhat.com> 2582 2583 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no. 2584 25852012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com> 2586 2587 * run-addrname-test.sh: New test for PIE relocation. 2588 * testfile70.core.bz2: New file. 2589 * testfile70.exec.bz2: New file. 2590 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and 2591 testfile70.exec.bz2 . 2592 25932012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com> 2594 2595 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2, 2596 testfile69.core.bz2 and testfile69.so.bz2 . 2597 25982012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com> 2599 2600 * run-addrname-test.sh: New test for DSO with build-id bias. 2601 * testfile69.core.bz2: New file. 2602 * testfile69.so.bz2: New file. 2603 26042012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> 2605 2606 * run-addrname-test.sh: New test for core vDSO bias. 2607 * testfile65.bz2: New file. 2608 26092012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> 2610 2611 * run-addrname-test.sh: New test for symbol preferences. 2612 * testfile64.bz2: New file. 2613 26142012-10-01 Mark Wielaard <mjw@redhat.com> 2615 2616 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND. 2617 * test-wrapper.sh: Export VALGRIND_CMD if available. 2618 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog. 2619 (installed_testrun): Likewise. 2620 26212012-09-24 Petr Machata <pmachata@redhat.com> 2622 2623 * testfile63.bz2: New testfile. 2624 * run-readelf-mixed-corenote.sh: New test. 2625 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh. 2626 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh. 2627 26282012-09-24 Petr Machata <pmachata@redhat.com> 2629 2630 * testfile62.bz2: New testfile. 2631 * run-readelf-vmcoreinfo.sh: New test. 2632 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh. 2633 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh. 2634 26352012-09-18 Petr Machata <pmachata@redhat.com> 2636 2637 * testfile61.bz2: New testfile. 2638 * run-allregs.sh: Run reg_test testfile61. 2639 * Makefile.am (EXTRA_DIST): Add testfile61.bz2. 2640 26412012-08-24 Mark Wielaard <mjw@redhat.com> 2642 2643 * Makefile.am (EXTRA_DIST): Add testfile60.bz2. 2644 26452012-08-22 Jeff Kenton <jkenton@tilera.com> 2646 2647 * testfile60.bz2: New testfile. 2648 * run-allregs.sh: Run reg_test testfile60. 2649 26502012-08-24 Mark Wielaard <mjw@redhat.com> 2651 2652 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if 2653 ENABLE_DWZ. 2654 26552012-08-16 Mark Wielaard <mjw@redhat.com> 2656 2657 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf 2658 macros. 2659 * show-die-info.c (tagnames): Removed. 2660 (attrs): Removed. 2661 (dwarf_tag_string): New function using known-dwarf macros. 2662 (dwarf_attr_string): Likewise. 2663 (handle): Call dwarf_tag_string and dwarf_attr_string instead. 2664 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89. 2665 26662012-06-27 Mark Wielaard <mjw@redhat.com> 2667 2668 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh. 2669 (EXTRA_DIST): Add run-readelf-dwz-multi.sh, 2670 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and 2671 testfile_multi_main.bz2. 2672 * run-readelf-dwz-multi.sh: New test. 2673 * libtestfile_multi_shared.so.bz2: New testfile. 2674 * testfile_multi.dwz.bz2: New testifle. 2675 * testfile_multi_main.bz2: New testifle. 2676 26772012-08-01 Petr Machata <pmachata@redhat.com> 2678 2679 * run-test-archive64.sh: New test. 2680 * testarchive64.a.bz2: New testfile. 2681 * Makefile.am (TESTS): Add run-test-archive64.sh. 2682 (EXTRA_DIST): Likewise. 2683 26842012-08-01 Mark Wielaard <mjw@redhat.com> 2685 2686 * run-nm-self.sh: New test. 2687 * run-readelf-self.sh: Likewise. 2688 * test-subr.sh (testrun_on_self_quiet): New function. 2689 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh. 2690 (EXTRA_DIST): Likewise. 2691 26922012-08-01 Mark Wielaard <mjw@redhat.com> 2693 2694 * test-subr.sh (self_test_files): New list of files. 2695 (testrun_on_self): New function. 2696 * run-elflint-self.sh: Use testrun_on_self. 2697 26982012-07-19 Mark Wielaard <mjw@redhat.com> 2699 2700 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr. 2701 (TESTS): Add run-elf_cntl_gelf_getshdr.sh. 2702 (EXTRA_DIST): Likewise. 2703 (test_elf_cntl_gelf_getshdr_LDADD): New. 2704 test-elf_cntl_gelf_getshdr.c: New test program. 2705 run-elf_cntl_gelf_getshdr.sh: New test script. 2706 27072012-07-19 Mark Wielaard <mjw@redhat.com> 2708 2709 * run-elflint-self.sh: runtests on ../backends/*so files. 2710 27112012-07-19 Mark Wielaard <mjw@redhat.com> 2712 2713 * run-unstrip-n.sh: test_cleanup. 2714 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2. 2715 27162012-07-11 Mark Wielaard <mjw@redhat.com> 2717 2718 * run-readelf-macro.sh: New test. 2719 * testfilemacro.bz2: New testfile. 2720 * Makefile.am (TESTS): Add run-readelf-macro.sh. 2721 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2. 2722 27232012-06-27 Mark Wielaard <mjw@redhat.com> 2724 2725 * run-readelf-gdb-index.sh: New test. 2726 * testfilegdbindex5.bz2: New testfile. 2727 * testfilegdbindex7.bz2: Likewise. 2728 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh. 2729 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and 2730 testfilegdbindex7.bz2. 2731 27322012-07-17 Mark Wielaard <mjw@redhat.com> 2733 2734 * testcore-rtlib-ppc.bz2: New testfile. 2735 * run-unstrip-n.sh: Check new ppc core testfile. 2736 27372012-06-26 Mike Frysinger <vapier@gentoo.org> 2738 2739 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. 2740 27412012-06-26 Mark Wielaard <mjw@redhat.com> 2742 2743 * run-macro-test.sh: New test. 2744 * testfile-macinfo.bz2: New testfile. 2745 * testfile-macros.bz2: Likewise. 2746 27472012-05-07 Mark Wielaard <mjw@redhat.com> 2748 2749 * low_high_pc.c: Use proper inttypes in printf formats. 2750 27512012-05-11 Mark Wielaard <mjw@redhat.com> 2752 2753 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C. 2754 27552012-05-07 Mark Wielaard <mjw@redhat.com> 2756 2757 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC. 2758 27592012-04-27 Mark Wielaard <mjw@redhat.com> 2760 2761 * Makefile.am (TESTS): Add run-low_high_pc.sh 2762 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2 2763 (noinst_PROGRAMS): Add low_high_pc. 2764 (low_high_pc_LDADD): New variable. 2765 * low_high_pc.c: New test. 2766 27672012-04-26 Mark Wielaard <mjw@redhat.com> 2768 2769 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh. 2770 * run-show-ciefde.sh: Removed old libdwarf test. 2771 * show-ciefde.c: Likewise. 2772 27732012-04-02 Mark Wielaard <mjw@redhat.com> 2774 2775 * Makefile.am (TESTS): Add run-unstrip-n.sh. 2776 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh. 2777 * run-unstrip-n.sh: New test. 2778 * testcore-rtlib.bz2: New testfile. 2779 27802012-04-02 Mark Wielaard <mjw@redhat.com> 2781 2782 * Makefile.am (TESTS): Add run-readelf-d.sh. 2783 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh. 2784 * run-readelf-d.sh: New test. 2785 * run-elflint-test.sh: Check new testfile. 2786 27872012-03-21 Tom Tromey <tromey@redhat.com> 2788 2789 * typeiter.c: New file. 2790 * run-typeiter.sh: New file. 2791 * testfile59.bz2: New file. 2792 * Makefile.am (noinst_PROGRAMS): Add typeiter. 2793 (TESTS): Add run-typeiter.sh. 2794 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2. 2795 (typeiter_LDADD): New variable. 2796 27972012-02-21 Kurt Roeckx <kurt@roeckx.be> 2798 2799 * run-alldts.sh: testrun ./alldts. 2800 28012012-02-21 Roland McGrath <roland@hack.frob.com> 2802 2803 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH. 2804 * test-subr.sh (installed_testrun): Likewise. 2805 28062012-01-18 Roland McGrath <roland@hack.frob.com> 2807 2808 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation; 2809 it will have been inherited correctly from the test harness. 2810 * asm-tst5.c (main): Likewise. 2811 * asm-tst6.c (main): Likewise. 2812 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>. 2813 28142011-07-09 Roland McGrath <roland@hack.frob.com> 2815 2816 * sha1-tst.c: File removed. 2817 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it. 2818 (sha1_tst_LDADD): Variable removed. 2819 2820 * md5-sha1-test.c: New file. 2821 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it. 2822 (md5_sha1_test_LDADD): New variable. 2823 28242011-05-30 Mark Wielaard <mjw@redhat.com> 2825 2826 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and 2827 run-rerequest_tag.sh 2828 28292011-05-24 Mark Wielaard <mjw@redhat.com> 2830 2831 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2. 2832 * run-strip-reloc.sh: Add hello_s390.ko testcase. 2833 * hello_s390.ko.bz2: New test file. 2834 28352011-05-23 Mark Wielaard <mjw@redhat.com> 2836 2837 * Makefile.am (TESTS): Add run-strip-reloc.sh. 2838 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2 2839 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2 2840 * run-strip-reloc.sh: New test. 2841 * hello_i386.ko.bz2: New test file. 2842 * hello_x86_64.ko.bz2: Likewise. 2843 * hello_ppc64.ko.bz2: Likewise. 2844 28452011-05-18 Mark Wielaard <mjw@redhat.com> 2846 2847 * run-strip-groups.sh: New test. 2848 * testfile58.bz2: New test file. 2849 * Makefile.am (EXTRA_DIST): Add testfile58.bz2. 2850 (TESTS): Add run-strip-groups.sh. 2851 (EXTRA_DIST): Likewise. 2852 28532011-03-28 Marek Polacek <mpolacek@redhat.com> 2854 2855 * alldts.c: New file. 2856 * run-alldts.sh: Use it. 2857 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 2858 (alldts_LDADD): New variable. 2859 28602011-03-02 Marek Polacek <mpolacek@redhat.com> 2861 2862 * dwarf-getstring.c: New test. 2863 * run-dwarf-getstring.sh: And its wrapper. 2864 * Makefile.am (EXTRA_DIST): Add and update all. 2865 28662011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> 2867 2868 * Makefile.am (TESTS): Add run-readelf-twofiles.sh. 2869 * run-readelf-twofiles.sh: New file. 2870 28712011-02-25 Mark Wielaard <mjw@redhat.com> 2872 2873 * Makefile.am (BUILD_RPATH): Be consistent in naming. 2874 28752011-02-02 Josh Stone <jistone@redhat.com> 2876 2877 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit. 2878 * testfile55-64.bz2, testfile55-64.debug.bz2, 2879 testfile55-64.prelink.bz2, testfile55-32.bz2, 2880 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New. 2881 * Makefile.am (EXTRA_DIST): Add and update all. 2882 28832011-01-12 Roland McGrath <roland@redhat.com> 2884 2885 * run-prelink-addr-test.sh: Make symlinks to find .debug files 2886 corresponding to .noshdrs files. 2887 28882011-01-11 Josh Stone <jistone@redhat.com> 2889 2890 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit. 2891 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2, 2892 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2, 2893 testfile54-64.so.bz2, testfile54-64.so.debug.bz2, 2894 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New. 2895 * Makefile.am (EXTRA_DIST): Add and update all. 2896 2897 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests. 2898 * testfile53.bz2, testfile53.debug.bz2, 2899 testfile53.prelink.bz2: Deleted, so... 2900 * testfile53-64.bz2, testfile53-64.debug.bz2, 2901 testfile53-64.prelink.bz2: Recreated with 64-bit names. 2902 * testfile53-32.bz2, testfile53-32.debug.bz2, 2903 testfile53-32.prelink.bz2: New in 32-bit. 2904 * Makefile.am (EXTRA_DIST): Add and update all. 2905 2906 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests. 2907 * testfile52.so.bz2, testfile52.so.debug.bz2, 2908 testfile52.prelink.so.bz2: Deleted, so... 2909 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2, 2910 testfile52-32.prelink.so.bz2: Recreated with 32-bit names. 2911 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers. 2912 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2, 2913 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files. 2914 * Makefile.am (EXTRA_DIST): Add and update all. 2915 29162011-01-10 Josh Stone <jistone@redhat.com> 2917 2918 * run-prelink-addr-test.sh: New test for prelinked addrs. 2919 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2920 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files. 2921 * testfile52.prelink.so.bz2: New data file, shows REL->RELA. 2922 * testfile53.bz2, testfile53.debug.bz2: New data files. 2923 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap. 2924 * Makefile.am (EXTRA_DIST): Add them. 2925 29262010-06-04 Roland McGrath <roland@redhat.com> 2927 2928 * run-unstrip-test.sh: Also test modifying the file in place. 2929 29302010-04-22 Roland McGrath <roland@redhat.com> 2931 2932 * addrcfi.c (handle_cfi): Fix function name in error message. 2933 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe. 2934 29352010-04-14 Roland McGrath <roland@redhat.com> 2936 2937 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too. 2938 29392010-04-10 Ulrich Drepper <drepper@redhat.com> 2940 2941 * msg_tst.c: Adjust expected error message. 2942 29432010-04-01 Petr Machata <pmachata@redhat.com> 2944 2945 * test-flag-nobits.c: New test. 2946 * run-test-flag-nobits.sh: And its wrapper. 2947 * Makefile.am (noinst_PROGRAMS, TESTS): Add them. 2948 (test_flag_nobits_LDADD): New variable. 2949 29502010-02-15 Roland McGrath <roland@redhat.com> 2951 2952 * Makefile.am: Use config/eu.am for common stuff. 2953 2954 * asm-tst9.c (main): Rename local to avoid shadowing another local. 2955 29562009-07-22 Roland McGrath <roland@redhat.com> 2957 2958 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention. 2959 29602009-07-08 Roland McGrath <roland@redhat.com> 2961 2962 * addrcfi.c: New file. 2963 * Makefile.am (noinst_PROGRAMS): Add it. 2964 (addrcfi_LDADD): New variable. 2965 29662009-05-07 Petr Machata <pmachata@redhat.com> 2967 2968 * testfile51.bz2: New data file. 2969 * dwarf-getmacros.c: New test core. 2970 * run-dwarf-getmacros.sh: New test wrapper. 2971 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 2972 (dwarf_getmacros_LDADD): New variable. 2973 29742009-04-23 Ulrich Drepper <drepper@redhat.com> 2975 2976 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). 2977 (rdwrmmap_LDADD): Add $(libmudflap). 2978 29792009-04-21 Roland McGrath <roland@redhat.com> 2980 2981 * testfile50.bz2: New data file. 2982 * Makefile.am (EXTRA_DIST): Add it. 2983 * run-dwfl-addr-sect.sh: Add a case using it. 2984 29852008-12-31 Ulrich Drepper <drepper@redhat.com> 2986 2987 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, 2988 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, 2989 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, 2990 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw, 2991 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd, 2992 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest, 2993 roundss, roundps, roundpd, and roundsd. 2994 * testfile45.S.bz2: Likewise. 2995 * testfile44.expect.bz2: Adjust accordingly. 2996 * testfile45.expect.bz2: Likewise. 2997 2998 * testfile44.S.bz2: Add tests for blendvpd and blendvps. 2999 * testfile45.S.bz2: Likewise. 3000 * testfile44.expect.bz2: Adjust accordingly. 3001 * testfile45.expect.bz2: Likewise. 3002 30032008-12-30 Ulrich Drepper <drepper@redhat.com> 3004 3005 * testfile44.S.bz2: Add tests for blendpd and blendps. 3006 * testfile45.S.bz2: Likewise. 3007 * testfile44.expect.bz2: Adjust accordingly. 3008 * testfile45.expect.bz2: Likewise. 3009 30102008-12-19 Ulrich Drepper <drepper@redhat.com> 3011 3012 * testfile44.S.bz2: Add tests for AMD 3DNOW. 3013 * testfile45.S.bz2: Likewise. 3014 * testfile44.expect.bz2: Adjust accordingly. 3015 * testfile45.expect.bz2: Likewise. 3016 30172008-11-26 Roland McGrath <roland@redhat.com> 3018 3019 * dwfl-bug-getmodules.c: New file. 3020 * Makefile.am (noinst_PROGRAMS): Add it. 3021 (dwfl_bug_getmodules_LDADD): New variable. 3022 30232008-09-10 Roland McGrath <roland@redhat.com> 3024 3025 * test-subr.sh (LC_ALL): Export it set to "C". 3026 * run-dwfl-addr-sect.sh: Don't do it here. 3027 * run-strings-test.sh: Likewise. 3028 30292008-08-21 Denys Vlasenko <dvlasenk@redhat.com> 3030 3031 * run-addrname-test.sh: Add a new case. 3032 * testfile49.bz2: New data file. 3033 * Makefile.am (EXTRA_DIST): Add it. 3034 30352008-04-10 Roland McGrath <roland@redhat.com> 3036 3037 * testfile48.bz2, testfile48.bz2.debug: New data files. 3038 * Makefile.am (EXTRA_DIST): Add them. 3039 * run-strip-test8.sh: Use them. 3040 3041 * testfile16.bz2, testfile16.debug.bz2: Replace data files. 3042 3043 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections. 3044 * run-strip-test8.sh: New file. 3045 * testfile47.bz2: New data file. 3046 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3047 30482008-03-31 Roland McGrath <roland@redhat.com> 3049 3050 * run-early-offscn.sh: New file. 3051 * early-offscn.c: New file. 3052 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them. 3053 (early_offscn_LDADD): New variable. 3054 30552008-03-19 Roland McGrath <roland@redhat.com> 3056 3057 * run-addrname-test.sh: Add a new case. 3058 30592008-02-22 Roland McGrath <roland@redhat.com> 3060 3061 * run-elflint-test.sh: Typo fix. 3062 30632008-02-21 Roland McGrath <roland@redhat.com> 3064 3065 * run-disasm-x86.sh: Use uname instead of arch, keep tools required 3066 for the build down to minimum. 3067 * run-disasm-x86-64.sh: Likewise. 3068 30692008-02-20 Roland McGrath <roland@redhat.com> 3070 3071 * testfile46.bz2: New data file. 3072 * Makefile.am (EXTRA_DIST): Add it. 3073 * run-elflint-test.sh: Test on it. 3074 30752008-02-01 Ulrich Drepper <drepper@redhat.com> 3076 3077 * Makefile.am: Hook up sha1-tst.c. 3078 * sha1-tst.c: New file. 3079 30802008-01-21 Roland McGrath <roland@redhat.com> 3081 3082 * testfile45.S.bz2: Add tests for cltq, cqto. 3083 * testfile45.expect.bz2: Adjust. 3084 30852008-01-14 Ulrich Drepper <drepper@redhat.com> 3086 3087 * testfile45.S.bz2: Add more tests. 3088 * testfile45.expect.bz2: Adjust. 3089 30902008-01-11 Ulrich Drepper <drepper@redhat.com> 3091 3092 * testfile45.expect.bz2: Adjust for adding of address for %rip based 3093 address mode. 3094 30952008-01-10 Ulrich Drepper <drepper@redhat.com> 3096 3097 * testfile45.S.bz2: Add more tests. 3098 * testfile45.expect.bz2: Adjust. 3099 31002008-01-08 Ulrich Drepper <drepper@redhat.com> 3101 3102 * Makefile.am (TESTS): Add run-disasm-x86-64.sh. 3103 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2, 3104 run-disasm-x86-64.sh. 3105 * run-disasm-x86-64.sh: New file. 3106 * testfile45.S.bz2: New file. 3107 * testfile45.expect.bz2: New file. 3108 * testfile44.S.bz2: New tests. 3109 * testfile44.expect.bz2: Adjust. 3110 31112008-01-04 Ulrich Drepper <drepper@redhat.com> 3112 3113 * testfile44.S.bz2: New tests. 3114 * testfile44.expect.bz2: Adjust. 3115 31162008-01-04 Roland McGrath <roland@redhat.com> 3117 3118 * dwfl-bug-fd-leak.c (main): Add a cast. 3119 31202008-01-03 Ulrich Drepper <drepper@redhat.com> 3121 3122 * testfile44.S.bz2: New tests. 3123 * testfile44.expect.bz2: Adjust. 3124 31252008-01-01 Ulrich Drepper <drepper@redhat.com> 3126 3127 * line2addr.c: Use %m modifier instead of %a to appease gcc. 3128 31292008-01-01 Ulrich Drepper <drepper@redhat.com> 3130 3131 * testfile44.S.bz2: New tests. 3132 * testfile44.expect.bz2: Adjust. 3133 31342007-12-31 Ulrich Drepper <drepper@redhat.com> 3135 3136 * testfile44.S.bz2: New tests. 3137 * testfile44.expect.bz2: Adjust. 3138 31392007-12-30 Ulrich Drepper <drepper@redhat.com> 3140 3141 * testfile44.S.bz2: New tests. 3142 * testfile44.expect.bz2: Adjust. 3143 31442007-12-29 Ulrich Drepper <drepper@redhat.com> 3145 3146 * testfile44.s.bz2: New tests. 3147 * testfile44.expect.bz2: Adjust. 3148 31492007-12-28 Ulrich Drepper <drepper@redhat.com> 3150 3151 * testfile44.S.bz2: New tests. 3152 * testfile44.expect.bz2: Adjust. 3153 31542007-12-27 Ulrich Drepper <drepper@redhat.com> 3155 3156 * testfile44.S.bz2: New tests. 3157 * testfile44.expect.bz2: Adjust. 3158 31592007-12-26 Ulrich Drepper <drepper@redhat.com> 3160 3161 * testfile44.S.bz2: New tests. 3162 * testfile44.expect.bz2: Adjust 3163 31642007-12-21 Ulrich Drepper <drepper@redhat.com> 3165 3166 * testfile44.S.bz2: More tests. 3167 * testfile44.expect.bz2: Adjust appropriately. 3168 31692007-12-19 Ulrich Drepper <drepper@redhat.com> 3170 3171 * Makefile.am (TESTS): Add run-disasm.sh. 3172 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and 3173 testfile44.expect.bz2. 3174 * run-disasm.sh: New file. 3175 * testfile44.S.bz2: New file. 3176 * testfile44.expect.bz2: New file. 3177 31782007-12-15 Roland McGrath <roland@redhat.com> 3179 3180 * run-allregs.sh: Change expected output for powerpc spefscr. 3181 31822007-10-20 Roland McGrath <roland@redhat.com> 3183 3184 * run-dwfl-addr-sect.sh: Change expected output, no errors. 3185 31862007-10-19 Roland McGrath <roland@redhat.com> 3187 3188 * dwfl-addr-sect.c (handle_address): Return int. 3189 Don't exit on error, just return nonzero. 3190 (main): Collect results. 3191 * run-dwfl-addr-sect.sh: New file. 3192 * testfile43.bz2: New data file. 3193 * Makefile.am (EXTRA_DIST, TESTS): Add them. 3194 31952007-10-18 Roland McGrath <roland@redhat.com> 3196 3197 * run-allregs.sh: Update expected ppc output for vrsave/vscr. 3198 31992007-10-16 Roland McGrath <roland@redhat.com> 3200 3201 * test-subr.sh (remove_files): Don't pass -Bb to diff. 3202 32032007-10-09 Roland McGrath <roland@redhat.com> 3204 3205 * dwflmodtest.c (print_module): Don't use %p in output. 3206 * run-dwfl-bug-offline-rel.sh: Updated expected output. 3207 32082007-10-08 Roland McGrath <roland@redhat.com> 3209 3210 * testfile42.bz2: New data file. 3211 * Makefile.am (EXTRA_DIST): Add it. 3212 * run-elflint-test.sh: New test on that file. 3213 32142007-10-04 Roland McGrath <roland@redhat.com> 3215 3216 * run-readelf-test4.sh: New file. 3217 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3218 32192007-10-03 Roland McGrath <roland@redhat.com> 3220 3221 * run-readelf-test3.sh: New file. 3222 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3223 32242007-10-01 Roland McGrath <roland@redhat.com> 3225 3226 * run-readelf-test2.sh: New file. 3227 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3228 32292007-09-11 Roland McGrath <roland@redhat.com> 3230 3231 * run-addrname-test.sh: Add a new case. 3232 * testfile41.bz2: New data file. 3233 * Makefile.am (EXTRA_DIST): Add it. 3234 32352007-08-23 Roland McGrath <roland@redhat.com> 3236 3237 * run-allregs.sh: Update expected x86-64 output for %rflags. 3238 32392007-08-12 Roland McGrath <roland@redhat.com> 3240 3241 * run-strip-test7.sh: New file. 3242 * testfile39.bz2: New data file. 3243 * testfile40.bz2: New data file. 3244 * testfile40.debug.bz2: New data file. 3245 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3246 32472007-08-09 Roland McGrath <roland@redhat.com> 3248 3249 * dwfl-bug-report.c: Fix header inclusion. 3250 32512007-08-08 Roland McGrath <roland@redhat.com> 3252 3253 * run-addrname-test.sh: Add a new case using addr2line -S. 3254 * testfile38.bz2: New data file. 3255 * Makefile.am (EXTRA_DIST): Add it. 3256 32572007-07-16 Roland McGrath <roland@redhat.com> 3258 3259 * dwfl-bug-report.c: New file. 3260 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 3261 (dwfl_bug_report_LDADD): New variable. 3262 32632007-06-06 Roland McGrath <roland@redhat.com> 3264 3265 * run-unstrip-test.sh: Declare testfile.unstrip for removal. 3266 32672007-06-05 Ulrich Drepper <drepper@redhat.com> 3268 3269 * Makefile.am (EXTRA_DIST): Add missing line continuation and 3270 testfile37.bz and testfile37.debug.bz2. 3271 32722007-05-23 Roland McGrath <roland@redhat.com> 3273 3274 * run-allregs.sh: Update expected Alpha results. 3275 32762007-05-18 Roland McGrath <roland@redhat.com> 3277 3278 * run-strip-test4.sh (stripped, debugfile): Use new reference files. 3279 * testfile37.bz2: New data file. 3280 * testfile37.debug.bz2: New data file. 3281 * run-unstrip-test2.sh: New file. 3282 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3283 32842007-05-10 Roland McGrath <roland@redhat.com> 3285 3286 * run-dwfl-bug-offline-rel.sh: New file. 3287 * testfile36.bz2: New data file. 3288 * testfile36.debug.bz2: New data file. 3289 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3290 32912007-04-28 Roland McGrath <roland@redhat.com> 3292 3293 * run-strip-test6.sh (stripped, debugfile): Use new reference files. 3294 * testfile35.bz2: New data file. 3295 * testfile35.debug.bz2: New data file. 3296 * run-unstrip-test.sh: New file. 3297 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3298 3299 * run-strip-test.sh: Do all elflint and cmp runs even when some fail. 3300 33012007-04-26 Roland McGrath <roland@redhat.com> 3302 3303 * run-elflint-self.sh: Run all tests even if one fails. 3304 3305 * run-allregs.sh: Add expected output for alpha. 3306 33072007-04-24 Roland McGrath <roland@redhat.com> 3308 3309 * run-strip-test.sh: When we saved the debug info, test unstrip too. 3310 33112007-04-22 Roland McGrath <roland@redhat.com> 3312 3313 * run-allregs.sh: Update expected register info. 3314 33152007-04-16 Roland McGrath <roland@redhat.com> 3316 3317 * dwfl-addr-sect.c: New file. 3318 * Makefile.am (noinst_PROGRAMS): Add it. 3319 (dwfl_addr_sect_LDADD): New variable. 3320 33212007-04-05 Roland McGrath <roland@redhat.com> 3322 3323 * get-files.c: Test dwarf_getsrcdirs. 3324 * run-get-files.sh: Update expected output. 3325 33262007-04-01 Roland McGrath <roland@redhat.com> 3327 3328 * run-allregs.sh: Updated expected output for x86_64. 3329 33302007-03-04 Roland McGrath <roland@redhat.com> 3331 3332 * dwfl-bug-fd-leak.c: New file. 3333 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 3334 (dwfl_bug_fd_leak_LDADD): New variable. 3335 3336 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf, 3337 show what files have been located. 3338 33392007-02-02 Roland McGrath <roland@redhat.com> 3340 3341 * run-addrname-test.sh: New file. 3342 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3343 * testfile34.bz2: New data file. 3344 * Makefile.am (EXTRA_DIST): Add it. 3345 33462007-01-20 Roland McGrath <roland@redhat.com> 3347 3348 * testfile33.bz2: New data file. 3349 * Makefile.am (EXTRA_DIST): Add it. 3350 * run-elflint-test.sh: Test on it too. 3351 33522007-01-18 Roland McGrath <roland@redhat.com> 3353 3354 * Makefile.am (CFLAGS): Don't molest it. 3355 33562007-01-11 Roland McGrath <roland@redhat.com> 3357 3358 * testfile32.bz2: New data file. 3359 * Makefile.am (EXTRA_DIST): Add it. 3360 * run-elflint-test.sh: Test on it too. 3361 33622007-02-04 Ulrich Drepper <drepper@redhat.com> 3363 3364 * arls.c: New file. 3365 * Makefile (noinst_PROGRAMS): Add arls. 3366 3367 * run-ranlib-test2.sh: Fix type in comment. 3368 33692007-01-10 Ulrich Drepper <drepper@redhat.com> 3370 3371 * run-elflint-self.sh (runtest): Show which file has the problem. 3372 33732007-01-10 Roland McGrath <roland@redhat.com> 3374 3375 * dwfl-bug-addr-overflow.c: New file. 3376 * Makefile.am (TESTS): Add it. 3377 (dwfl_bug_addr_overflow_LDADD): New variable. 3378 33792006-12-17 Roland McGrath <roland@redhat.com> 3380 3381 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg. 3382 33832006-09-05 Roland McGrath <roland@redhat.com> 3384 3385 * run-strings-test.sh: Export LC_ALL=C for the test. 3386 33872006-08-29 Roland McGrath <roland@redhat.com> 3388 3389 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh. 3390 * run-arsymtest.sh: Likewise. 3391 3392 * run-native-test.sh (native.c compilation): Add some braces. 3393 33942006-08-22 Roland McGrath <roland@redhat.com> 3395 3396 * allregs.c (dwarf_encoding_string): New function, swiped from readelf. 3397 (struct reginfo): New members bits, type. 3398 (one_register, match_register): Update to take new args, 3399 record and display new info. 3400 (main): Display new info. 3401 * run-allregs.sh: Update expected results. 3402 34032006-08-03 Roland McGrath <roland@redhat.com> 3404 3405 * run-allregs.sh: Add sparc cases. 3406 * testfile30.bz2: New data file. 3407 * testfile31.bz2: New data file. 3408 * Makefile.am (EXTRA_DIST): Add them. 3409 34102006-07-21 Roland McGrath <roland@redhat.com> 3411 3412 * allregs.c (struct reginfo): Increase size of name. 3413 (one_register): Assert that it's big enough. 3414 34152006-04-04 Roland McGrath <roland@redhat.com> 3416 3417 * run-bug1-test.sh: Test a second case, to cover both byte orders. 3418 * testfile29.bz2: New file. 3419 * testfile29.rdwr.bz2: New file. 3420 * Makefile.am (EXTRA_DIST): Add them. 3421 34222006-04-04 Ulrich Drepper <drepper@redhat.com> 3423 3424 * Makefile.am: Add rules to run run-bug1-test.sh. 3425 * rdwrmmap.c: New file. 3426 * run-bug1-test.sh: New file. 3427 * testfile28.bz2: New file. 3428 * testfile28.rdwr.bz2: New file. 3429 34302006-03-09 Roland McGrath <roland@redhat.com> 3431 3432 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link. 3433 34342006-03-01 Roland McGrath <roland@redhat.com> 3435 3436 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h 3437 changes matching 3.0 spec. 3438 34392006-01-13 Roland McGrath <roland@redhat.com> 3440 3441 * run-native-test.sh: Do kill -9 and reap explicitly at end, since 3442 bash 3.1 whines when it's done in the trap 0 handler. 3443 34442006-01-11 Roland McGrath <roland@redhat.com> 3445 3446 * testfile26.bz2: New data file. 3447 * testfile27.bz2: New data file. 3448 * Makefile.am (EXTRA_DIST): Add them. 3449 * run-allregs.sh: Test s390 data. 3450 34512005-12-14 Roland McGrath <roland@redhat.com> 3452 3453 * run-native-test.sh: Redirect output from native test process. 3454 34552005-12-13 Roland McGrath <roland@redhat.com> 3456 3457 * allregs.c (main): Fail if we find no registers. 3458 3459 * run-native-test.sh: New file. 3460 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3461 34622005-12-10 Ulrich Drepper <drepper@redhat.com 3463 3464 * run-readelf-test1.sh: New file. 3465 * Makefile.am (TESTS): Add run-readelf-test1.sh. 3466 (EXTRA_DIST): Likewise. 3467 34682005-12-07 Roland McGrath <roland@redhat.com> 3469 3470 * ecp.c (main): Use elf_end to clean up. 3471 34722005-11-25 Roland McGrath <roland@redhat.com> 3473 3474 * coverage.sh: Given -v argument, print names of unused files. 3475 3476 * addrscopes.c (main): Use dwfl_end before return. 3477 * allregs.c (main): Likewise. 3478 * find-prologues.c (main): Likewise. 3479 * funcretval.c (main): Likewise. 3480 * funcscopes.c (main): Likewise. 3481 * line2addr.c (main): Likewise. 3482 3483 * run-allregs.sh: New file. 3484 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3485 3486 * allregs.c: Use libdwfl wrapper instead of direct libebl calls. 3487 * Makefile.am (allregs_LDADD): Updated. 3488 3489 * allregs.c: New file. 3490 * Makefile.am (noinst_PROGRAMS): Add it. 3491 (allregs_LDADD): New variable. 3492 34932005-11-18 Roland McGrath <roland@redhat.com> 3494 3495 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib. 3496 * test-wrapper.sh: Likewise. 3497 34982005-11-17 Roland McGrath <roland@redhat.com> 3499 3500 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in 3501 environment for test-wrapper.sh. 3502 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib. 3503 * test-subr.sh (installed_testrun): Likewise. 3504 Use explicit path in ${bindir}. 3505 3506 * Makefile.am (installcheck-local): Fix typo in last change. 3507 35082005-11-16 Roland McGrath <roland@redhat.com> 3509 3510 * configure.ac: New file, for standalone build/dist of test suite. 3511 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. 3512 (asm_TESTS): New variable, broken out of ... 3513 (TESTS): ... here. Also remove msg_tst. 3514 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. 3515 (installed_TESTS_ENVIRONMENT): New variable. 3516 [STANDALONE] (TESTS_ENVIRONMENT): Use that. 3517 [!STANDALONE] (installcheck-local): Likewise. 3518 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. 3519 * addrscopes.c: Include <config.h>. 3520 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. 3521 * allfcts.c: Likewise. 3522 * asm-tst1.c: Likewise. 3523 * asm-tst2.c: Likewise. 3524 * asm-tst3.c: Likewise. 3525 * asm-tst4.c: Likewise. 3526 * asm-tst5.c: Likewise. 3527 * asm-tst6.c: Likewise. 3528 * asm-tst7.c: Likewise. 3529 * asm-tst8.c: Likewise. 3530 * asm-tst9.c: Likewise. 3531 * dwflmodtest.c: Likewise. 3532 * find-prologues.c: Likewise. 3533 * funcscopes.c: Likewise. 3534 * get-aranges.c: Likewise. 3535 * get-files.c: Likewise. 3536 * get-lines.c: Likewise. 3537 * get-pubnames.c: Likewise. 3538 * line2addr.c: Likewise. 3539 * newscn.c: Likewise. 3540 * show-abbrev.c: Likewise. 3541 * show-die-info.c: Likewise. 3542 * update3.c: Likewise. 3543 * update4.c: Likewise. 3544 * funcretval.c: Likewise. 3545 3546 * dwflmodtest.c (print_instance): Don't use INTUSE. 3547 (options): Don't use N_ macro. 3548 35492005-11-15 Roland McGrath <roland@redhat.com> 3550 3551 * coverage.sh: Look in backends. 3552 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl. 3553 (TESTS_ENVIRONMENT): Likewise. 3554 3555 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE, 3556 pass FUNCDIE direclty to dwfl_module_return_value_location. 3557 3558 * Makefile.am (BUILD_RPATH): New variable. 3559 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value. 3560 (tests_rpath): New variable. 3561 (installcheck-local): Pass it to test-wrapper.sh. 3562 * test-wrapper.sh: In "installed" format, take yes/no value 3563 for elfutils_tests_rpath, which export. When running a test 3564 binary for installcheck, exit 77. 3565 * test-subr.sh (installed_testrun): When running a test binary 3566 for installcheck, exit 77 if $elfutils_tests_rpath = yes. 3567 35682005-11-14 Roland McGrath <roland@redhat.com> 3569 3570 * test-subr.sh: New file. 3571 * test-wrapper.sh: New file. 3572 * Makefile.am (EXTRA_DIST): Add them. 3573 (AM_LDFLAGS): Variable removed. 3574 (TESTS_ENVIRONMENT): New variable. 3575 (installcheck-local): New target. 3576 * run-addrscopes.sh: Use test-subr.sh. 3577 * run-allfcts.sh: Likewise. 3578 * run-ecp-test.sh: Likewise. 3579 * run-ecp-test2.sh: Likewise. 3580 * run-elflint-self.sh: Likewise. 3581 * run-elflint-test.sh: Likewise. 3582 * run-find-prologues.sh: Likewise. 3583 * run-funcscopes.sh: Likewise. 3584 * run-get-aranges.sh: Likewise. 3585 * run-get-files.sh: Likewise. 3586 * run-get-lines.sh: Likewise. 3587 * run-get-pubnames.sh: Likewise. 3588 * run-line2addr.sh: Likewise. 3589 * run-ranlib-test.sh: Likewise. 3590 * run-ranlib-test2.sh: Likewise. 3591 * run-show-abbrev.sh: Likewise. 3592 * run-show-ciefde.sh: Likewise. 3593 * run-show-die-info.sh: Likewise. 3594 * run-strings-test.sh: Likewise. 3595 * run-strip-test.sh: Likewise. 3596 35972005-11-13 Roland McGrath <roland@redhat.com> 3598 3599 * funcretval.c: New file. 3600 * Makefile.am (noinst_PROGRAMS): Add it. 3601 (funcretval_LDADD): New variable. 3602 36032005-11-09 Ulrich Drepper <drepper@redhat.com> 3604 3605 * line2addr.c (handle_module): Add missing parameter to printf. 3606 36072005-10-27 Roland McGrath <roland@redhat.com> 3608 3609 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes. 3610 * funcscopes.c (handle_function): Likewise. 3611 * dwflmodtest.c (print_inline, print_func): Likewise. 3612 * find-prologues.c (handle_function): Likewise. 3613 36142005-10-27 Roland McGrath <roland@redhat.com> 3615 3616 * run-find-prologues.sh: New file. 3617 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3618 3619 * find-prologues.c (handle_function): Skip inlines. 3620 36212005-10-25 Roland McGrath <roland@redhat.com> 3622 3623 * find-prologues.c: New file. 3624 * Makefile.am (noinst_PROGRAMS): Add it. 3625 (find_prologues_LDADD): New variable. 3626 36272005-09-02 Ulrich Drepper <drepper@redhat.com> 3628 3629 * run-strings-test.sh: Remove strings.out in the end. 3630 36312005-08-31 Ulrich Drepper <drepper@redhat.com> 3632 3633 * run-addrscopes.sh: Use correct exit code if test cannot be performed. 3634 * run-allfcts.sh: Likewise. 3635 * run-ecp-test.sh: Likewise. 3636 * run-ecp-test2.sh: Likewise. 3637 * run-elflint-test.sh: Likewise. 3638 * run-funcscopes.sh: Likewise. 3639 * run-get-aranges.sh: Likewise. 3640 * run-get-files.sh: Likewise. 3641 * run-get-lines.sh: Likewise. 3642 * run-get-pubnames.sh: Likewise. 3643 * run-line2addr.sh: Likewise. 3644 * run-ranlib-test2.sh: Likewise. 3645 * run-show-abbrev.sh: Likewise. 3646 * run-show-ciefde.sh: Likewise. 3647 * run-show-die-info.sh: Likewise. 3648 * run-strings-test.sh: Likewise. 3649 * run-strip-test.sh: Likewise. 3650 36512005-08-30 Ulrich Drepper <drepper@redhat.com> 3652 3653 * coverage.sh: Handle case where there is no .gcno file at all. 3654 36552005-08-29 Ulrich Drepper <drepper@redhat.com> 3656 3657 * Makefile.am (EXTRA_DIST): Add coverage. 3658 [GCOV]: Generate coverage summary after the tests ran 3659 * coverage.sh: New file. 3660 36612005-08-28 Ulrich Drepper <drepper@redhat.com> 3662 3663 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl. 3664 (CLEANFILES): Add *.gcno *.gcda *.gconv. 3665 36662005-08-28 Ulrich Drepper <drepper@redhat.com> 3667 3668 * run-strings-test.sh: New file. 3669 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3670 36712005-08-27 Roland McGrath <roland@redhat.com> 3672 3673 * addrscopes.c (handle_address): Apply bias to PC addresses. 3674 3675 * run-funcscopes.sh: New file. 3676 * testfile25.bz2: New data file. 3677 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3678 36792005-08-26 Roland McGrath <roland@redhat.com> 3680 3681 * addrscopes.c (dwarf_diename_integrate): Removed. 3682 (print_vars, handle_address): Use plain dwarf_diename. 3683 36842005-08-25 Roland McGrath <roland@redhat.com> 3685 3686 * funcscopes.c: New file. 3687 * Makefile.am (noinst_PROGRAMS): Add it. 3688 (funcscopes_LDADD): New variable. 3689 3690 * run-addrscopes.sh: Add another case. 3691 * testfile24.bz2: New data file. 3692 * Makefile.am (EXTRA_DIST): Add it. 3693 3694 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES, 3695 pass it to dwarf_getscopes. 3696 (main): Pass it, true when '=' follows an address. 3697 36982005-08-24 Roland McGrath <roland@redhat.com> 3699 3700 * line2addr.c (print_address): Omit () for DSOs. 3701 37022005-08-24 Ulrich Drepper <drepper@redhat.com> 3703 3704 * run-line2addr.sh: Remove testfile23 in the end. 3705 3706 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl). 3707 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules. 3708 37092005-08-22 Roland McGrath <roland@redhat.com> 3710 3711 * run-line2addr.sh: Add a case. 3712 * testfile23.bz2: New data file. 3713 * Makefile.am (EXTRA_DIST): Add it. 3714 37152005-08-18 Roland McGrath <roland@redhat.com> 3716 3717 * run-addrscopes.sh: New file. 3718 * testfile22.bz2: New data file. 3719 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3720 3721 * addrscopes.c: New file. 3722 * Makefile.am (noinst_PROGRAMS): Add it. 3723 (addrscopes_LDADD): New variable. 3724 37252005-08-15 Ulrich Drepper <drepper@redhat.com> 3726 3727 * run-elflint-self.sh: Don't run test if the file doesn't exist. 3728 37292005-08-15 Roland McGrath <roland@redhat.com> 3730 3731 * dwflmodtest.c (print_instance, print_inline): New functions. 3732 (print_func): Call print_inline. 3733 (options, parse_opt): Grok -i/--inlines. 3734 37352005-08-07 Roland McGrath <roland@redhat.com> 3736 3737 * dwflmodtest.c: Print function details only if -f flag is given. 3738 37392005-08-06 Ulrich Drepper <drepper@redhat.com> 3740 3741 * run-elflint-self.sh: New file. 3742 * Makefile.am (TESTS): Add run-elflint-self.sh. 3743 (EXTRA_DIST): Likewise. 3744 3745 * Makefile.am: Link with statis libs if BUILD_STATIC. 3746 (dwflmodtest_LDADD): Also link with -ldl. 3747 37482005-08-02 Ulrich Drepper <drepper@redhat.com> 3749 3750 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS. 3751 * asm-tst1.c: Adjust for new asm_begin interface. Open backend 3752 library first. 3753 * asm-tst2.c: Likewise. 3754 * asm-tst3.c: Likewise. 3755 * asm-tst4.c: Likewise. 3756 * asm-tst5.c: Likewise. 3757 * asm-tst6.c: Likewise. 3758 * asm-tst7.c: Likewise. 3759 * asm-tst8.c: Likewise. 3760 * asm-tst9.c: Likewise. 3761 3762 * msg_tst.c: Add new error message. 3763 37642005-07-28 Ulrich Drepper <drepper@redhat.com> 3765 3766 * Makefile.am (dwflmodtest_LDADD): Add $(libebl). 3767 37682005-06-01 Roland McGrath <roland@redhat.com> 3769 3770 * line2addr.c: Rewritten using libdwfl. 3771 * run-line2addr.sh: Update test for changed arguments. 3772 * Makefile.am (INCLUDES): Add libdwfl source directory to path. 3773 (libdwfl): New variable. 3774 (line2addr_LDADD): Use it. 3775 37762005-07-28 Roland McGrath <roland@redhat.com> 3777 3778 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here. 3779 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest. 3780 (dwflmodtest_LDADD): New variable. 3781 (INCLUDES): Add -I$(top_srcdir)/libdwfl here. 3782 37832005-07-21 Ulrich Drepper <drepper@redhat.com> 3784 3785 * testfile18.bz2: New file. 3786 * run-elflint-test.sh: New file. 3787 * Makefile.am (TESTS): Add run-elflint-test.sh. 3788 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. 3789 37902005-05-24 Ulrich Drepper <drepper@redhat.com> 3791 3792 * get-files.c (main): Use correct format specifier. 3793 37942005-05-21 Ulrich Drepper <drepper@redhat.com> 3795 3796 * Makefile.am: Add -Wextra to CFLAGS. 3797 * get-files.c: Remove warning this produced. 3798 * get-pubnames.c: Likewise. 3799 * newfile.c: Likewise. 3800 * newscn.c: Likewise. 3801 * scnnames.c: Likewise. 3802 * showptable.c: Likewise. 3803 * test-nlist.c: Likewise. 3804 * update1.c: Likewise. 3805 * update2.c: Likewise. 3806 * update3.c: Likewise. 3807 * update4.c: Likewise. 3808 38092005-05-08 Ulrich Drepper <drepper@redhat.com> 3810 3811 * run-line2addr.sh: Remove testfile14 at the end. 3812 3813 * run-strip-test.sh: Remove debuginfo test input file as well. 3814 3815 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used 3816 .bz, not .bz2. 3817 38182005-05-03 Roland McGrath <roland@redhat.com> 3819 3820 * run-strip-test.sh: Use variables for test file names. 3821 Optionally produce separate debug file and check it. 3822 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication. 3823 * run-strip-test3.sh: Likewise. 3824 * run-strip-test4.sh: New file. 3825 * run-strip-test5.sh: New file. 3826 * run-strip-test6.sh: New file. 3827 * testfile15.bz: New file. 3828 * testfile15.debug.bz: New file. 3829 * testfile16.bz: New file. 3830 * testfile16.debug.bz: New file. 3831 * testfile17.bz: New file. 3832 * testfile17.debug.bz: New file. 3833 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3834 38352005-04-25 Ulrich Drepper <drepper@redhat.com> 3836 3837 * run-line2addr.sh: Also use testfile14. Adjust for correct 3838 return of multiple matches. 3839 * testfile14.bz2: New file. 3840 * Makefile.am (EXTRA_DIST): Add testfile14.bz2. 3841 3842 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change. 3843 38442005-04-04 Roland McGrath <roland@redhat.com> 3845 3846 * line2addr.c (main): Initialize LINES and NLINES before calling 3847 dwarf_getsrc_file, and free LINES afterwards. 3848 3849 * allfcts.c (main): Use size_t for CUHL. 3850 38512005-04-04 Ulrich Drepper <drepper@redhat.com> 3852 3853 * line2addr.c: New file. 3854 * run-line2addr.sh: New file. 3855 * Makefile.am: Add rules to build, run, and distribute new code. 3856 38572005-04-02 Ulrich Drepper <drepper@redhat.com> 3858 3859 * allfcts.c: New file. 3860 * run-allfcts.sh: New file. 3861 * Makefile.am: Add rules to build, run, and distribute new code. 3862 38632005-02-05 Ulrich Drepper <drepper@redhat.com> 3864 3865 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test 3866 programs with -lmudflap. 3867 38682004-09-25 Ulrich Drepper <drepper@redhat.com> 3869 3870 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation. 3871 * asm-tst5.c (main): Likewise. 3872 * asm-tst6.c (main): Likewise. 3873 38742004-01-17 Ulrich Drepper <drepper@redhat.com> 3875 3876 * Makefile.am: Support building with mudflap. 3877 38782004-01-12 Ulrich Drepper <drepper@redhat.com> 3879 3880 * get-aranges.c: Rewrite to use libdw. 3881 * Makefile.am: Reenable get-aranges test. 3882 38832004-01-11 Ulrich Drepper <drepper@redhat.com> 3884 3885 * get-lines.c: New file. 3886 * get-files.c: Adjust for libdw. 3887 * run-get-files.sh: Adjust expected result. 3888 * run-get-lines.sh: Likewise. 3889 * Makefile.am: Run get-lines test. Don't run get-aranges and 3890 get-ciefde test for now. 3891 3892 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface 3893 change. Print attribute offset information. 3894 * run-show-abbrev.sh: Adjust expected output. 3895 38962004-01-09 Ulrich Drepper <drepper@redhat.com> 3897 3898 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change. 3899 * show-die-info.c: Likewise. 3900 * run-show-die-info.sh: Adjust expected output. 3901 39022003-08-13 Ulrich Drepper <drepper@redhat.com> 3903 3904 * Makefile.in: Depend on libebl.a, not libebl.so. 3905 39062003-08-11 Ulrich Drepper <drepper@redhat.com> 3907 3908 * Moved to CVS archive. 3909