12021-02-04 Frank Ch. Eigler <fche@redhat.com> 2 3 * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling. 4 52021-01-31 Sergei Trofimovich <slyfox@gentoo.org> 6 7 * Makefile.am (TESTS_ENVIRONMENT): export CC variable 8 to tests for use instead of 'gcc'. 9 * run-disasm-x86-64.sh: use ${CC} instead of 'gcc'. 10 * run-disasm-x86.sh: Likewise. 11 * run-strip-g.sh: Likewise. 12 * run-strip-nothing.sh: Likewise. 13 * run-test-includes.sh: Likewise. 14 152021-01-06 Timm Bäder <tbaeder@redhat.com> 16 17 * zstrptr.c (main): Lift print_strings function up to ... 18 (print_strings): ... here. New file scope function taking 19 Elf_Scn*, Elf* and ndx as arguments. 20 212020-12-20 Dmitry V. Levin <ldv@altlinux.org> 22 23 * .gitignore: New file. 24 252020-12-12 Mark Wielaard <mark@klomp.org> 26 27 * testfile-retain.o.bz2: New test file. 28 * run-retain.sh: New test. 29 * Makefile.am (TESTS): Add run-retain.sh. 30 (EXTRA_DIST): Add run-retain.sh and testfile-retain.o.bz2 31 322020-12-16 Dmitry V. Levin <ldv@altlinux.org> 33 34 * dwflmodtest.c (N_): Remove. 35 362020-12-12 Dmitry V. Levin <ldv@altlinux.org> 37 38 * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics. 39 * run-lfs-symbols.sh: Likewise. 40 * elfstrmerge.c (main): Fix spelling typos in comments. 41 * dwfl-bug-fd-leak.c: Likewise. 42 * run-readelf-line.sh: Likewise. 43 * run-stack-demangled-test.sh: Likewise. 44 * sectiondump.c (main): Likewise. 45 * varlocs.c (handle_die): Likewise. 46 472020-12-11 Dmitry V. Levin <ldv@altlinux.org> 48 49 * configure.ac: Remove. 50 * Makefile.am [STANDALONE]: Remove. 51 (check_PROGRAMS): Add msg_tst, system-elf-libelf-test, and $(asm_TESTS) 52 unconditionally. 53 (TESTS): Add msg_tst, system-elf-libelf-test, $(asm_TESTS), and 54 run-disasm-bpf.sh unconditionally. 55 562020-11-23 Frank Ch. Eigler <fche@redhat.com> 57 58 * run-debuginfod-find.sh: Add sqlite error injection & stats. 59 602020-11-02 Mark Wielaard <mark@klomp.org> 61 62 * run-debuginfod-find.sh: Create bogus R/nothing.rpm with cyclic 63 symlink instead of chmod 000. 64 652020-11-19 Frank Ch. Eigler <fche@redhat.com> 66 67 * run-debuginfod-find.sh: Look for http-* metrics. 68 692020-11-01 Érico N. Rolim <erico.erc@gmail.com> 70 Mark Wielaard <mark@klomp.org> 71 72 * alldts.c (main): Use DEFFILEMODE for open with O_CREAT. 73 * arextract.c (main): Likewise. 74 * ecp.c (main): Likewise for creat. 75 * elfstrtab.c (check_elf): Use DEFFILEMODE for open with O_CREAT, 76 remove mode from open calls without O_CREAT. 77 * emptyfile.c (check_elf): Likewise. 78 * fillfile.c (check_elf): Likewise. 79 * vendorelf.c (check_elf): Likewise. 80 * newdata.c (checkelf): Use DEFFILEMODE for open with O_CREAT. 81 * update{1,2,3,4}.c (main): Likewise. 82 * 83 842020-10-31 Mark Wielaard <mark@klomp.org> 85 86 * dwfl-proc-attach.c (dlopen): New external function override. 87 882020-10-31 Mark Wielaard <mark@klomp.org> 89 90 * test-wrapper.sh: Use =, not == for string compare. 91 922020-10-29 Mark Wielaard <mark@klomp.org> 93 94 * test-wrapper.sh: Determine whether the test is a script or not 95 and run binaries directly under valgrind. 96 * dwfl-bug-fd-leak.c (main): Call getrlimit before calling setrlimit. 97 * dwfl-proc-attach.c (main): Call dwfl_end, pthread_cancel and 98 pthread_join. 99 * vdsosyms.c (main): Call dwfl_end. 100 1012020-10-31 Frank Ch. Eigler <fche@redhat.com> 102 103 * run-debuginfod-find.sh: Modify for tweaked/new metrics. 104 1052020-10-30 Frank Ch. Eigler <fche@redhat.com> 106 107 PR26775 108 * run-debuginfod-find.sh: Modify test for restored 109 thread_work_total semantics for grooming. 110 1112020-10-29 Frank Ch. Eigler <fche@redhat.com> 112 113 PR26775 114 * run-debuginfod-find.sh: Modify test for different 115 thread_work_total semantics for grooming. 116 1172020-10-29 Frank Ch. Eigler <fche@redhat.com> 118 119 PR26810 120 * run-debuginfod-find.sh: Add tests for successful archive fetches across 121 renamed RPMs, even without grooming. 122 1232020-10-25 Mark Wielaard <mark@klomp.org> 124 125 * read_unaligned.c: New test. 126 * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned. 127 (read_unaligned_LDADD): New variable. 128 1292020-10-28 Tom Tromey <tom@tromey.com> 130 131 PR26773 132 * Makefile.am (check_PROGRAMS, TESTS): Add leb128. 133 (leb128_LDADD): New variable. 134 * leb128.c: New file. 135 1362020-10-19 Mark Wielaard <mark@klomp.org> 137 138 * addrcfi.c (print_register): Make ops_mem 3 elements. 139 1402020-10-19 Mark Wielaard <mark@klomp.org> 141 142 * testfile60.bz2: Removed. 143 * Makefile.am (EXTRA_DIST): Remove testfile60.bz2. 144 * run-allregs.sh: Remove tilegx testfile60 testcase. 145 1462020-10-20 Frank Ch. Eigler <fche@redhat.com> 147 148 PR26756: more prometheus metrics 149 * run-debuginfod-find.sh: Trigger some errors with dummy "nothing.rpm" 150 and check for new metrics. 151 1522020-09-18 Mark Wielaard <mark@klomp.org> 153 154 * run-readelf-compressed-zstd.sh: New test. 155 * Makefile.am (EXTRA_DISTS): Add run-readelf-compressed-zstd.sh. 156 (TESTS): Add run-readelf-compressed-zstd.sh if HAVE_ZSTD. 157 1582020-09-03 Mark Wielaard <mark@klomp.org> 159 160 * run-readelf-frames.sh: New test. 161 * Makefile.am (TESTS): Add run-readelf-frames.sh. 162 (EXTRA_DIST): Likewise. 163 1642020-09-03 Mark Wielaard <mark@klomp.org> 165 166 * testfile-gnu-property-note-aarch64.bz2: New file. 167 * run-readelf-n.sh: Handle testfile-gnu-property-note-aarch64. 168 * Makefile.am (EXTRA_DIST): Add 169 testfile-gnu-property-note-aarch64.bz2. 170 1712020-07-19 Mark Wielaard <mark@klomp.org> 172 173 * asm-tst1.c: Include libebl.h after libasm.h. 174 * asm-tst2.c: Likewise. 175 * asm-tst3.c: Likewise. 176 * asm-tst4.c: Likewise. 177 * asm-tst5.c: Likewise. 178 * asm-tst6.c: Likewise. 179 * asm-tst7.c: Likewise. 180 * asm-tst8.c: Likewise. 181 * asm-tst9.c: Likewise. 182 1832020-07-05 Mark Wielaard <mark@klomp.org> 184 185 * run-test-includes.sh: New test. 186 * Makefile.am (TESTS): Add run-test-includes.sh. 187 (EXTRA_DIST): Likewise. 188 1892020-07-03 Alice Zhang <alizhang@redhat.com> 190 191 * run-debuginfod-find.sh: Add scheme free url testcase. 192 1932020-06-19 Mark Wielaard <mark@klomp.org> 194 195 * Makefile.am (TESTS): Don't add run-debuginfod-find.sh when 196 DUMMY_LIBDEBUGINFOD. 197 1982020-06-16 Mark Wielaard <mark@klomp.org> 199 200 * coverage.sh: Use /usr/bin/env bash. 201 * run-ar.sh: Likewise. 202 * run-backtrace-core-aarch64.sh: Likewise. 203 * run-backtrace-core-i386.sh: Likewise. 204 * run-backtrace-core-ppc.sh: Likewise. 205 * run-backtrace-core-s390.sh: Likewise. 206 * run-backtrace-core-s390x.sh: Likewise. 207 * run-backtrace-core-sparc.sh: Likewise. 208 * run-backtrace-core-x32.sh: Likewise. 209 * run-backtrace-core-x86_64.sh: Likewise. 210 * run-backtrace-data.sh: Likewise. 211 * run-backtrace-demangle.sh: Likewise. 212 * run-backtrace-dwarf.sh: Likewise. 213 * run-backtrace-fp-core-aarch64.sh: Likewise. 214 * run-backtrace-fp-core-i386.sh: Likewise. 215 * run-backtrace-fp-core-ppc64le.sh: Likewise. 216 * run-backtrace-fp-core-x86_64.sh: Likewise. 217 * run-backtrace-native-biarch.sh: Likewise. 218 * run-backtrace-native-core-biarch.sh: Likewise. 219 * run-backtrace-native-core.sh: Likewise. 220 * run-backtrace-native.sh: Likewise. 221 * run-debuginfod-find.sh: Likewise. 222 * run-deleted.sh: Likewise. 223 * run-dwelf_elf_e_machine_string.sh: Likewise. 224 * run-large-elf-file.sh: Likewise. 225 * run-lfs-symbols.sh: Likewise. 226 * run-linkmap-cut.sh: Likewise. 227 2282020-06-11 Mark Wielaard <mark@klomp.org> 229 230 * Makefile.am (nlist-test): Add GCOV flags when necessary. 231 2322020-06-06 Mark Wielaard <mark@klomp.org> 233 234 * testfilesyms32.bz2: New test file. 235 * testfilesyms64.bz2: Likewise. 236 * run-nm-syms.sh: New test. 237 * Makefile.am (TESTS): Add run-nm-syms.sh. 238 (EXTRA_DIST): run-nm-syms.sh, testfilesyms32.bz2 and 239 testfilesyms64.bz2 240 2412020-05-08 Mark Wielaard <mark@klomp.org> 242 243 * elfputzdata.c (main): Explicitly check orig_buf is not NULL 244 before calling memcmp. 245 2462020-05-05 Mark Wielaard <mark@klomp.org> 247 248 * testfile-lto-gcc8.bz2: New test file. 249 * testfile-lto-gcc9.bz2: Likewise. 250 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc8.bz2 and 251 testfile-lto-gcc9.bz2. 252 * run-allfcts.sh: Add testfile-lto-gcc9 and testfile-lto-gcc8 253 tests. 254 2552020-05-05 Mark Wielaard <mark@klomp.org> 256 257 * testfile-lto-gcc10.bz2: New test file. 258 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc10.bz2. 259 * run-allfcts.sh: Add testfile-lto-gcc10 test. 260 2612020-04-17 Mark Wielaard <mark@klomp.org> 262 263 * test-subr.sh (testrun_on_self_obj): New function. 264 * run-varlocs-self.sh: Run testrun_on_self_exe and 265 testrun_on_self_lib with -e, run testrun_on_self_obj with 266 --exprlocs -e. 267 2682020-04-17 Mark Wielaard <mark@klomp.org> 269 270 * Makefile.am (test-nlist$): New goal with minimal CFLAGS. 271 (test_nlist_CFLAGS): New variable. 272 2732020-03-28 Frank Ch. Eigler <fche@redhat.com> 274 275 * run-debuginfod-find.sh: Test timestamps of archive-origin files. 276 2772020-03-27 Frank Ch. Eigler <fche@redhat.com> 278 279 * run-debuginfod-find.sh: Test /path/-based debuginfod-find. 280 2812020-03-24 Frank Ch. Eigler <fche@redhat.com> 282 283 * run-debuginfod-find.sh: Test relay of UA and XFF headers across 284 federating debuginfods. 285 2862020-03-26 Frank Ch. Eigler <fche@redhat.com> 287 288 * run-debuginfod-find.sh: Look for debuginfod's new 289 http_responses_* metrics. 290 2912020-03-26 Frank Ch. Eigler <fche@redhat.com> 292 293 * run-debuginfod-find.sh: Look for bsdtar instead of dpkg. 294 2952020-03-26 Frank Ch. Eigler <fche@redhat.com> 296 297 * run-debuginfod-find.sh: Check for bsdtar zstd capability 298 for running tests against zstd-compressed fedora31 rpms. 299 3002020-03-26 Mark Wielaard <mark@klomp.org> 301 302 * Makefile.am (EXTRA_DIST): Add 303 debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm, 304 debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm, 305 debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm, 306 debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm, 307 debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm, 308 debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm 309 3102020-03-24 Frank Ch. Eigler <fche@redhat.com> 311 312 * debuginfod-rpms/hello3.spec., /fedora31/*: New files with 313 uncanonicalized source paths. 314 * run-debuginfod-find.sh: Test them. 315 3162020-03-24 Frank Ch. Eigler <fche@redhat.com> 317 318 * run-debuginfod-find.sh: Test the more detailed debuginfod 319 webapi log format. 320 3212020-03-23 Mark Wielaard <mark@klomp.org> 322 323 * getphdrnum.c: Include config.h. 324 * run-lfs-symbols.sh: Also check that file exists. Add more logs. 325 Remove ebl modules check. 326 3272020-03-22 Omar Sandoval <osandov@fb.com> 328 Mark Wielaard <mark@klomp.org> 329 330 * getphdrnum.c: New file. 331 * run-getphdrnum.sh: New test. 332 * testfile-phdrs.elf.bz2: New test file. 333 * Makefile.am (check_PROGRAMS): Add getphdrnum. 334 (TESTS): Add run-getphdrnum.sh. 335 (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2. 336 (getphdrnum_LDADD): New variable. 337 3382020-03-22 Frank Ch. Eigler <fche@redhat.com> 339 340 * run-debuginfod-find.sh: Look for URL in default progressfn 341 and from debuginfod-find -v. 342 3432020-02-19 Aaron Merey <amerey@redhat.com> 344 345 * run-debuginfod-find.sh: Run tests for verifying default 346 client cache locations. 347 3482020-02-26 Konrad Kleine <kkleine@redhat.com> 349 350 * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning 351 with "file://" 352 3532020-02-21 Mark Wielaard <mark@klomp.org> 354 355 * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS. 356 (installed_TESTS_ENVIRONMENT): Likewise. 357 3582020-02-19 Aaron Merey <amerey@redhat.com> 359 360 * run-debuginfod-find.sh: Test that files unrelated to debuginfod 361 survive cache cleaning. 362 3632020-02-08 Mark Wielaard <mark@klomp.org> 364 365 * run-pt_gnu_prop-tests.sh: New test. 366 * testfile_pt_gnu_prop.bz2: New test file. 367 * testfile_pt_gnu_prop32.bz2: Likewise. 368 * Makefile.am (TESTS): Add run-pt_gnu_prop-tests.sh 369 (EXTRA_DISTS): Likewise. Add testfile_pt_gnu_prop.bz2 and 370 testfile_pt_gnu_prop32.bz2. 371 3722020-02-05 Frank Ch. Eigler <fche@redhat.com> 373 374 * debuginfo-tars/*: New test files from Eli Schwartz of ArchLinux. 375 * Makefile.am (EXTRA_DIST): Package them. 376 * run-debuginfod-find.sh: Run basic archive extraction tests. 377 3782020-02-03 Frank Ch. Eigler <fche@redhat.com> 379 380 * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio. 381 3822020-01-19 Frank Ch. Eigler <fche@redhat.com> 383 384 * run-debuginfod-find.sh: Check for proper groom completion count. 385 3862020-01-18 Frank Ch. Eigler <fche@redhat.com> 387 388 * run-debuginfod-find.sh: Test empty source_paths[]. 389 3902020-01-08 Mark Wielaard <mark@klomp.org> 391 392 * asm-test?.c: include libebl.h. 393 3942020-01-11 Frank Ch. Eigler <fche@redhat.com> 395 396 * run-debuginfod-find.sh: Test --fdcache* options. 397 3982020-01-11 Frank Ch. Eigler <fche@redhat.com> 399 400 * run-debuginfod-find.sh: Adjust to new work-queue metrics. 401 4022020-01-02 Mark Wielaard <mark@klomp.org> 403 404 * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10. 405 4062019-12-22 Frank Ch. Eigler <fche@redhat.com> 407 408 * debuginfod-debs/*: New test files, based on 409 https://wiki.debian.org/Packaging/Intro. 410 * run-debuginfod-find.sh: Test deb file processing (if dpkg 411 installed). 412 4132019-12-04 Frank Ch. Eigler <fche@redhat.com> 414 415 * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS. 416 4172019-12-11 Omar Sandoval <osandov@fb.com> 418 419 * dwfl-report-segment-coalesce.c: New test. 420 * Makefile.am: Add dwfl-report-segment-coalesce 421 4222019-12-06 Mark Wielaard <mark@klomp.org> 423 424 * run-debuginfod-find.sh: Force -Wl,--build-id. 425 4262019-12-05 Mark Wielaard <mark@klomp.org> 427 428 * run-findinfod-find.sh: Run strip under testrun. 429 4302019-12-06 Mark Wielaard <mark@klomp.org> 431 432 * backtrace-data.c (main): Add break after assert. 433 4342019-12-05 Mark Wielaard <mark@klomp.org> 435 436 * run-elfclassify.sh: Run elfcompress under testrun. 437 4382019-11-26 Mark Wielaard <mark@klomp.org> 439 440 * Makefile.am (BUILD_STATIC): Add libraries needed for libdw. 441 * coverage.sh: Add debuginfod directory, check whether source 442 is .c or cxx. 443 4442019-11-24 Mark Wielaard <mark@klomp.org> 445 446 * run-debuginfod-find.sh: Reduce verbosity. Add new cleanup 447 function to use with trap. Add wait_ready function to query 448 metrics instead of sleeping. Calculate rpms and sourcefiles 449 to check. 450 4512019-11-23 Mark Wielaard <mark@klomp.org> 452 453 * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1. 454 4552019-11-07 Frank Ch. Eigler <fche@redhat.com> 456 457 * run-debuginfod-find.sh: Test debuginfod metrics via curl. 458 Fix federated testing, asserted by metrics. 459 4602019-11-06 Frank Ch. Eigler <fche@redhat.com> 461 462 * run-debuginfod-find.sh: Test debuginfod -L mode. Drop 463 plain debuginfo-find help-output-comparison. 464 4652019-11-04 Frank Ch. Eigler <fche@redhat.com> 466 467 * run-debuginfod-find.sh: Test debuginfod-find -v progress mode. 468 4692019-10-28 Aaron Merey <amerey@redhat.com> 470 Frank Ch. Eigler <fche@redhat.com> 471 472 * run-debuginfod-find.sh, debuginfod_build_id_find.c: New test. 473 * testfile-debuginfod-*.rpm.bz2: New data files for test. 474 * Makefile.am: Run it. 475 4762019-11-14 Andreas Schwab <schwab@suse.de> 477 478 * run-large-elf-file.sh: Skip if available memory cannot be 479 determined. 480 4812019-11-14 Andreas Schwab <schwab@suse.de> 482 483 * dwelf_elf_e_machine_string.c (main): Clear errno before calling 484 strtol. 485 4862019-09-02 Mark Wielaard <mark@klomp.org> 487 488 * run-readelf-s.sh: Add --dyn-syms case. 489 4902019-09-07 Mark Wielaard <mark@klomp.org> 491 492 * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh, 493 testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2. 494 4952019-08-27 Mark Wielaard <mark@klomp.org> 496 497 * run-readelf-test2.sh: Add -x num testcase. 498 4992019-08-29 Mark Wielaard <mark@klomp.org> 500 501 * test-subr.sh (self_test_files_exe): replace elfcmp, objdump and 502 readelf with elfclassify, stack and unstrip. 503 (self_test_files_lib): Replace libdw.so with libasm.so. 504 5052019-07-05 Omar Sandoval <osandov@fb.com> 506 507 * Makefile.am: Remove -ldl. 508 * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so. 509 5102019-07-26 Florian Weimer <fweimer@redhat.com> 511 Mark Wielaard <mark@klomp.org> 512 513 * run-elfclassify.sh: New test. 514 * run-elfclassify-self.sh: Likewise. 515 * Makefile.sh (TESTS): Add run-elfclassify.sh and 516 run-elfclassify-self.sh. 517 (EXTRA_DIST): Likewise. 518 5192019-07-16 Mao Han <han_mao@c-sky.com> 520 521 * hello_csky.ko.bz2: New testfile. 522 * run-addrcfi.sh: Add C-SKY testfile. 523 * run-strip-reloc.sh: Likewise. 524 * testfilecsky.bz2: New testfile. 525 * Makefile.am (EXTRA_DIST): Add hello_csky.ko.bz2 and 526 testfilecsky.bz2. 527 5282019-06-28 Mark Wielaard <mark@klomp.org> 529 530 * Makefile.am (check_PROGRAMS): Add dwelf_elf_e_machine_string. 531 (TESTS): Add run-dwelf_elf_e_machine_string.sh. 532 (EXTRA_DIST): Likewise. 533 (dwelf_elf_e_machine_string_LDADD): New variable. 534 * dwelf_elf_e_machine_string.c: New file. 535 * run-dwelf_elf_e_machine_string.sh: New test. 536 5372019-07-01 Mark Wielaard <mark@klomp.org> 538 539 * run-large-elf-file.sh: Add 2GB to mem_needed when running under 540 valgrind. 541 5422019-06-18 Mark Wielaard <mark@klomp.org> 543 544 * Makefile.am (TESTS): Add run-large-elf-file.sh. 545 (EXTRA_DIST): Likewise. 546 * addsections.c (add_sections): Add sec_size argument, use it 547 as the size of the section data. 548 (main): Handle extra sec_size argument. Pass to add_sections. 549 * run-large-elf-file.sh: New test. 550 5512019-06-03 Mark Wielaard <mark@klomp.org> 552 553 * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections, 554 make sure they are actually next to each other. 555 5562019-05-12 Mark Wielaard <mark@klomp.org> 557 558 * Makefile.am (check_PROGRAMS): Add elfrdwrnop. 559 (TESTS): Add run-reverse-sections.sh and 560 run-reverse-sections-self.sh. 561 (EXTRA_DIST): Likewise. 562 (elfrdwrnop): New variable. 563 * elfcopy.c (copy_elf): Add reverse_off argument. Record offsets 564 of sections and swap them when possible. 565 (main): Check for --reverse-off argument. Pass reverse_offs to 566 copy_elf. 567 * run-reverse-sections.sh: New test. 568 * run-reverse-sections-self.sh: Likewise. 569 * elfrdwrnop.c: New file. 570 5712019-05-10 Mark Wielaard <mark@klomp.org> 572 573 * Makefile.am (TESTS): Add run-readelf-discr.sh. 574 (EXTRA_DIST): Likewise and add testfile-rng.debug.bz2 and 575 testfile-urng.debug.bz2. 576 * run-readelf-discr.sh: New test. 577 * testfile-rng.debug.bz2: New test file. 578 * testfile-urng.debug.bz2: Likewise. 579 5802019-04-30 Mark Wielaard <mark@klomp.org> 581 582 * xlate_notes.c: New file. 583 * run-xlate-note.sh: New test. 584 * Makefile.am (check_PROGRAMS): Add xlate_notes. 585 (TESTS): Add run-xlate-note.sh. 586 (EXTRA_DIST): Likewise. 587 (xlate_notes_LDADD): New variable. 588 5892019-04-30 Mark Wielaard <mark@klomp.org> 590 591 * backtrace-dwarf.c (frame_callback): Explicitly check symname is 592 NULL. 593 5942019-04-30 Mark Wielaard <mark@klomp.org> 595 596 * backtrace.c (frame_callback): Explicitly check symname is NULL. 597 5982019-03-04 Mark Wielaard <mark@klomp.org> 599 600 * backtrace.c (tgkill): Remove define. 601 6022019-01-24 Mark Wielaard <mark@klomp.org> 603 604 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by 605 !INSTALL_ELFH. 606 6072019-01-31 Mark Wielaard <mark@klomp.org> 608 609 * backtrace-child.c (stdarg): Remove assert (errno == 0). 610 (main): Likewise. 611 * backtrace-data.c (maps_lookup): Likewise. 612 (set_initial_registers): Likewise. 613 (main): Likewise. 614 * backtrace.c (prepare_thread): Likewise. 615 (exec_dump): Likewise. 616 6172019-01-29 Yonghong Song <yhs@fb.com> 618 619 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse 620 inode number. 621 6222019-01-18 Ulf Hermann <ulf.hermann@qt.io> 623 624 * run-annobingroup.sh: Use different files for strip output. 625 * run-strip-test-many.sh: Use different files for strip output, 626 check results of strip, unstrip, elflint. 627 6282019-01-24 Mark Wielaard <mark@klomp.org> 629 630 * addsections.c (add_sections): Change the name of the old shstrtab 631 section to ".old_shstrtab" and give the old shstrtab name to the 632 new shstrtab section. 633 6342019-01-09 Ulf Hermann <ulf.hermann@qt.io> 635 636 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found. 637 6382018-12-27 Jim Wilson <jimw@sifive.com> 639 640 * run-readelf-mixed-corenote.sh: Update with new riscv64 output. 641 6422018-12-02 Mark Wielaard <mark@klomp.org> 643 644 * testfile_gnu_props.32le.o.bz2: New testfile. 645 * testfile_gnu_props.64le.o.bz2: Likewise. 646 * testfile_gnu_props.32be.o.bz2: Likewise. 647 * testfile_gnu_props.64be.o.bz2: Likewise. 648 * Makefile (EXTRA_DIST): Add new testfiles. 649 * run-readelf-n.sh: Run tests on new testfiles. 650 6512018-11-28 Mark Wielaard <mark@klomp.org> 652 653 * backtrace-data.c (main): Improve error message. 654 * run-backtrace-data.sh: Skip exit 77 return. 655 6562018-11-21 Mark Wielaard <mark@klomp.org> 657 658 * backtrace-subr.sh (check_unsupported): Call test_cleanup before 659 exit. 660 6612018-11-17 Mark Wielaard <mark@klomp.org> 662 663 * run-strip-version.sh: New test. 664 * testfile-version.bz2: New test file. 665 * Makefile.am (TESTS): Add run-strip-version.sh. 666 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2. 667 6682018-11-09 Mark Wielaard <mark@klomp.org> 669 670 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o 671 testfile-debug-rel-ppc64-g.o. 672 6732018-11-12 Mark Wielaard <mark@klomp.org> 674 675 * run-readelf-n.sh: Add testfile-annobingroup.o test. 676 6772018-11-11 Mark Wielaard <mark@klomp.org> 678 679 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test 680 for NT_VERSION. 681 6822018-11-04 Mark Wielaard <mark@klomp.org> 683 684 * testfile-bpf-reloc.expect.bz2: Update with new expected jump 685 variants. 686 6872018-10-20 Mark Wielaard <mark@klomp.org> 688 689 * run-readelf-compressed.sh: New test. 690 * Makefile.am (TESTS): Add run-readelf-compressed.sh. 691 (EXTRA_DIST): Likewise. 692 6932018-11-09 Mark Wielaard <mark@klomp.org> 694 695 * testfile-debug-rel-ppc64-g.o.bz2: New test file. 696 * testfile-debug-rel-ppc64-z.o.bz2: Likewise. 697 * testfile-debug-rel-ppc64.o.bz2: Likewise. 698 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2, 699 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2. 700 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o. 701 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o. 702 7032018-10-26 Mark Wielaard <mark@klomp.org> 704 705 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only. 706 7072018-10-18 Mark Wielaard <mark@klomp.org> 708 709 * run-readelf-n.sh: New test. 710 * testfile-gnu-property-note.bz2: New testfile. 711 * testfile-gnu-property-note.o.bz2: Likewise. 712 * Makefile.am (TESTS): Add run-readelf-n.sh. 713 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2, 714 testfile-gnu-property-note.o.bz2. 715 7162018-10-12 Mark Wielaard <mark@klomp.org> 717 718 * run-readelf-zdebug.sh: Adjust flags output. 719 * run-readelf-macro.sh: Likewise. 720 * run-readelf-macros.sh: New test. 721 * testfile-macros-object.o.bz2: New test file. 722 * Makefile.am (TESTS): Add run-readelf-macros.sh. 723 (EXTRA_DIST): Add run-readelf-macros.sh and 724 testfile-macros-object.o.bz2. 725 7262018-09-12 Mark Wielaard <mark@klomp.org> 727 728 * run-annobingroup.sh: Add x86_64 ET_REL testcase. 729 * testfile-annobingroup-x86_64.o.bz2: New test file. 730 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2. 731 7322018-09-18 Mark Wielaard <mark@klomp.org> 733 734 * backtrace-dwarf.c (thread_callback): Only error when 735 dwfl_thread_getframes returns an error. 736 (main): Don't call abort or assert but print an error when 737 something unexpected happens. 738 7392018-09-13 Mark Wielaard <mark@klomp.org> 740 741 * run-strip-test-many.sh: New test. 742 * Makefile.am (TESTS): Add run-strip-test-many.sh. 743 (EXTRA_DIST): Likewise. 744 7452018-09-13 Mark Wielaard <mark@klomp.org> 746 747 * run-typeiter-many.sh: New test. 748 * Makefile.am (TESTS): Add run-typeiter-many.sh. 749 (EXTRA_DIST): Likewise. 750 7512018-09-13 Mark Wielaard <mark@klomp.org> 752 753 * run-copymany-sections.sh: New test. 754 * Makefile.am (TESTS): Add run-copymany-sections.sh. 755 (EXTRA_DIST): Likewise. 756 7572018-09-12 Mark Wielaard <mark@klomp.org> 758 759 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections. 760 (TESTS): Add run-copyadd-sections.sh. 761 (EXTRA_DIST): Likewise. 762 (elfcopy_LDADD): New variable. 763 (addsections_LDADD): Likewise. 764 * addsections.c: New file. 765 * elfcopy.c: Likewise. 766 * run-copyadd-sections.sh: New test. 767 7682018-09-11 Mark Wielaard <mark@klomp.org> 769 770 * backtrace-dwarf.c (main): Add section attribute. 771 7722018-07-24 Mark Wielaard <mark@klomp.org> 773 774 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests. 775 * testfile-annobingroup-i386.o.bz2: New test file. 776 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2. 777 7782018-07-21 Mark Wielaard <mark@klomp.org> 779 780 * run-annobingroup.sh: New test. 781 * testfile-annobingroup.o.bz2: New test file. 782 * Makefile.am (TESTS): Add run-annobingroup.sh. 783 (EXTRA_DIST): Add run-annobingroup.sh and 784 testfile-annobingroup.o.bz2. 785 7862018-07-19 Andreas Schwab <schwab@suse.de> 787 788 * Makefile.am (TESTS): Add run-strip-test12.sh. 789 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2, 790 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2. 791 (run-strip-test11.sh): New file. 792 (testfile-riscv64.bz2): New file. 793 (testfile-riscv64-s.bz2): New file. 794 (testfile-riscv64-core.bz2): New file. 795 * run-allregs.sh: Add test for testfile-riscv64-core. 796 * run-readelf-mixed-corenote.sh: Likewise. 797 7982018-07-16 Ulf Hermann <ulf.hermann@qt.io> 799 800 * run-strip-reloc.sh: Remove previous testfiles before running the 801 next test. 802 8032018-07-17 Mark Wielaard <mark@klomp.org> 804 805 * hello_riscv64.ko.bz2: Updated with debuginfo. 806 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y. 807 8082018-07-05 Mark Wielaard <mark@klomp.org> 809 810 * next_cfi.c (handle_section): Take a new argument name. Check 811 whether the section is compressed and uncompress if so. 812 (main): Check also for .zdebug_frame and pass the name of the 813 section to handle_section. 814 8152018-07-04 Ross Burton <ross.burton@intel.com> 816 817 * addrscopes.c: Remove error.h include, add system.h include. 818 * allregs.c: Likewise. 819 * backtrace-data.c: Likewise. 820 * backtrace-dwarf.c: Likewise. 821 * backtrace.c: Likewise. 822 * buildid.c: Likewise. 823 * debugaltlink.c: Likewise. 824 * debuglink.c: Likewise. 825 * deleted.c : Likewise. 826 * dwarfcfi.c: Likewise. 827 * dwfl-addr-sect.c: Likewise. 828 * dwfl-bug-addr-overflow.c: Likewise. 829 * dwfl-bug-fd-leak.c: Likewise. 830 * dwfl-bug-getmodules.c: Likewise. 831 * dwfl-proc-attach.c: Likewise. 832 * dwfl-report-elf-align.c: Likewise. 833 * dwfllines.c: Likewise. 834 * dwflmodtest.c: Likewise. 835 * dwflsyms.c: Likewise. 836 * early-offscn.c: Likewise 837 * ecp.c: Likewise. 838 * elfstrmerge.c: Likewise. 839 * find-prologues.c: Likewise. 840 * funcretval.c: Likewise. 841 * funcscopes.c: Likewise. 842 * getsrc_die.c: Likewise. 843 * line2addr.c: Likewise. 844 * low_high_pc.c: Likewise. 845 * next_cfi.c: Likewise. 846 * rdwrmmap.c: Likewise. 847 * saridx.c: Likewise. 848 * sectiondump.c: Likewise. 849 * varlocs.c: Likewise. 850 * vdsosyms.c: Likewise. 851 8522018-06-28 Mark Wielaard <mark@klomp.org> 853 854 * next_cfi.c: New file. 855 * run-next-cfi.sh: New test. 856 * run-next-cfi-self.sh: Likewise. 857 * Makefile.am (check_PROGRAMS): Add next_cfi. 858 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh. 859 (EXTRA_DIST): Likewise. 860 (next_cfi_LDADD): New variable. 861 8622018-06-27 Mark Wielaard <mark@klomp.org> 863 864 * dwarf_cfi.c: New file. 865 * run-dwarfcfi.sh: New test. 866 * testfile11-debugframe.bz2: New testfile. 867 * testfile12-debugframe.bz2: Likewise. 868 * testfileaarch64-debugframe.bz2: Likewise. 869 * testfilearm-debugframe.bz2: Likewise. 870 * testfileppc32-debugframe.bz2: Likewise. 871 * testfileppc64-debugframe.bz2: Likewise. 872 * Makefile.am (check_PROGRAMS): Add dwarfcfi. 873 (TESTS): Add run-dwarfcfi.sh. 874 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2, 875 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2, 876 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and 877 testfileppc64-debugframe.bz2. 878 8792018-06-23 Mark Wielaard <mark@klomp.org> 880 881 * varlocs.c (print_expr): Take a new depth argument. Check it isn't 882 greater than MAX_DEPTH (64). Pass on to print_expr_block. 883 (print_expr_block): Take a new depth argument. Pass it to print_expr. 884 (print_expr_block_addrs): Call print_expr_block with zero depth. 885 8862018-06-25 Mark Wielaard <mark@klomp.org> 887 888 * next-files.c: New file. 889 * next-lines.c: Likewise. 890 * run-next-files.sh: New test. 891 * run-next-lines.sh: Likewise. 892 * testfile-only-debug-line.bz2: New test file. 893 * Makefile.am (check_PROGRAMS): Add next-files and next-lines. 894 (TESTS): Add run-next-files.sh and run-next-lines.sh. 895 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and 896 testfile-only-debug-line.bz2. 897 (next_lines_LDADD): New variable. 898 (next_files_LDADD): Likewise. 899 9002018-06-16 Yonghong Song <yhs@fb.com> 901 902 * run-reloc-bpf.sh: New test. 903 * testfile-bpf-reloc.o.bz2: New test file. 904 * testfile-bpf-reloc.expect.bz2: New test file. 905 * Makefile.am (TESTS): Add run-reloc-bpf.sh. 906 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and 907 testfile-bpf-reloc.expect.bz2. 908 9092018-06-13 Mark Wielaard <mark@klomp.org> 910 911 * run-readelf-const-values.sh: New test. 912 * testfile-const-values.debug.bz2: New test file. 913 * run-readelf-zdebug-rel.sh: Adjust expected const_value. 914 * Makefile.am (TESTS): Add run-readelf-const-values.sh. 915 (EXTRA_DIST): Add run-readelf-const-values.sh and 916 testfile-const-values.debug.bz2. 917 9182018-06-08 Mark Wielaard <mark@klomp.org> 919 920 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref 921 target, do not assert. 922 9232018-06-08 Mark Wielaard <mark@klomp.org> 924 925 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call. 926 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call. 927 9282018-06-08 Mark Wielaard <mark@klomp.org> 929 930 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there 931 actually is a cfi_debug. 932 9332018-06-07 Mark Wielaard <mark@klomp.org> 934 935 * run-readelf-loc.sh: Fix expected output for startx_length. 936 9372018-06-06 Mark Wielaard <mark@klomp.org> 938 939 * varlocs.c (print_base_type): Use error, not assert when the DIE 940 isn't a base type. 941 9422018-06-02 Mark Wielaard <mark@klomp.org> 943 944 * test-subr.sh (self_test_files_exe): Drop shared libraries. 945 Keep addr2line, elfcmp, objdump and readelf. 946 9472018-05-31 Mark Wielaard <mark@klomp.org> 948 949 * run-readelf-types.sh: New test. 950 * Makefile.am (TESTS): Add run-readelf-types.sh. 951 (EXTRA_DIST): Likewise. 952 9532018-05-31 Mark Wielaard <mark@klomp.org> 954 955 * splitdwarf4-not-split4.dwo.bz2: New test file. 956 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise. 957 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo 958 and testfile-splitdwarf4-not-split4.debug. 959 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug. 960 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2 961 and testfile-splitdwarf4-not-split4.debug.bz2. 962 9632018-05-31 Mark Wielaard <mark@klomp.org> 964 965 * test-subr.sh (self_test_files): Split into self_test_files_exe, 966 self_test_files_lib and self_test_obj. 967 (testrun_on_self_exe): New function. 968 (testrun_on_self_lib): Likewise. 969 * run-get-units-split.sh: Replace testrun_on_self with 970 testrun_on_self_exe and testrun_on_self_lib. 971 * run-unit-info.sh: Likewise. 972 9732018-05-31 Mark Wielaard <mark@klomp.org> 974 975 * low_high_pc.c (handle_die): Handle NULL name. Print offset and 976 name of die. 977 (main): Check if the cu DIE is a skeleton, then get and handle 978 the split subdie. 979 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and 980 testfile-splitdwarf-5. Run on all selftest files. 981 9822018-05-31 Mark Wielaard <mark@klomp.org> 983 984 * get-units-invalid.c (main): Check dwarf_cuoffset and 985 dwarf_dieoffset. 986 9872018-05-29 Mark Wielaard <mark@klomp.org> 988 989 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or 990 type, gotten through dwarf_get_units. 991 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5, 992 split-dwarf-4, split-dwarf-5 and dwo files. 993 9942018-05-29 Mark Wielaard <mark@klomp.org> 995 996 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant. 997 * run-varlocs.sh: Likewise. 998 9992018-05-29 Mark Wielaard <mark@klomp.org> 1000 1001 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase. 1002 10032018-05-28 Mark Wielaard <mark@klomp.org> 1004 1005 * run-readelf-info-plus.sh: New test. 1006 * Makefile.am (TESTS): Add run-readelf-info-plus.sh. 1007 (EXTRA_DIST): Likewise. 1008 10092018-04-29 Mark Wielaard <mark@klomp.org> 1010 1011 * run-readelf-addr.sh: New test. 1012 * Makefile.am (TESTS): Add run-readelf-addr.sh. 1013 (EXTRA_DIST): Likewise. 1014 10152018-04-27 Mark Wielaard <mark@klomp.org> 1016 1017 * run-readelf-ranges.sh: Adjust expected output for address base. 1018 * run-readelf-addr.sh: New test. 1019 * Makefile.am (TESTS): Add run-readelf-addr.sh. 1020 (EXTRA_DIST): Likewise. 1021 10222018-04-07 Mark Wielaard <mark@klomp.org> 1023 1024 * run-varlocs.sh: Run on testfileranges5.debug and 1025 testsplitfileranges5.debug. 1026 * varlocs.c (is_debug): New bool. 1027 (print_expr): Don't fail on missing CFI for is_debug. 1028 (main): Parse --debug, set is_debug. 1029 10302018-04-12 Mark Wielaard <mark@klomp.org> 1031 1032 * run-readelf-loc.sh: Add new testcases. 1033 10342018-04-06 Mark Wielaard <mark@klomp.org> 1035 1036 * testfileranges5.debug.bz2: New testfile. 1037 * testfilesplitranges5.debug.bz2: Likewise. 1038 * testfile-ranges-hello5.dwo.bz2: Likewise. 1039 * testfile-ranges-world5.dwo.bz2: Likewise. 1040 * run-dwarf-ranges.sh: Run on testfileranges5.debug. 1041 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug. 1042 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2, 1043 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and 1044 testfile-ranges-world5.dwo.bz2. 1045 10462018-04-11 Mark Wielaard <mark@klomp.org> 1047 1048 * run-readelf-ranges.sh: New test. 1049 * Makefile.am (TESTS): Add run-readelf-ranges.sh. 1050 (EXTRA_DIST): Likewise. 1051 10522018-05-21 Mark Wielaard <mark@klomp.org> 1053 1054 * addrx_constx-4.dwo.bz2: New testfile. 1055 * addrx_constx-5.dwo.bz2: Likewise. 1056 * testfile-addrx_constx-4.bz2: Likewise. 1057 * testfile-addrx_constx-5.bz2: Likewise 1058 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2 1059 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2. 1060 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5. 1061 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index, 1062 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx. 1063 (main): Handle split DWARF. 1064 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc. 1065 10662018-05-20 Mark Wielaard <mark@klomp.org> 1067 1068 * unit-info.c: New test. 1069 * run-unit-info.sh: New test runner. 1070 * Makefile.am (check_PROGRAMS): Add unit-info. 1071 (TESTS): Add run-unit-info.sh 1072 (EXTRA_INFO): Likewise. 1073 (unit_info_LDADD): New variable. 1074 10752018-05-24 Mark Wielaard <mark@klomp.org> 1076 1077 * get-units-invalid.c (main): Add check for invalid dwarf_ranges. 1078 * run-all-dwarf-ranges.sh: Correct expected output. 1079 10802018-05-18 Mark Wielaard <mark@klomp.org> 1081 1082 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges. 1083 (TESTS): Add run-all-dwarf-ranges.sh. 1084 (EXTRA_DIST): Add run-all-dwarf-ranges.sh, 1085 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2 1086 and testfile-ranges-world.dwo.bz2. 1087 (all_dwarf_ranges_LDADD): New variable. 1088 * all-dwarf-ranges.c: New test program. 1089 * run-all-dwarf-ranges: New test runner. 1090 * testfile-ranges-hello.dwo.bz2: New test file. 1091 * testfile-ranges-world.dwo.bz2: Likewise. 1092 * testfilesplitranges4.debug.bz2: Likewise. 1093 10942018-05-18 Mark Wielaard <mark@klomp.org> 1095 1096 * run-get-files.sh: Add testcases for testfile-splitdwarf-4, 1097 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5, 1098 testfile-hello5.dwo, testfile-world5.dwo. 1099 11002018-05-17 Mark Wielaard <mark@klomp.org> 1101 1102 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel. 1103 (TESTS): Add run-attr-integrate-skel. 1104 (EXTRA_DIST): Likewise. 1105 (attr_integrate_skel_LDADD): New variable. 1106 * attr-integrate-skel.c: New test. 1107 * run-attr-integrate-skel.sh: New test runner. 1108 11092018-05-16 Mark Wielaard <mark@klomp.org> 1110 1111 * Makefile.am (check_PROGRAMS): Add get-units-split. 1112 (TESTS): Add run-get-units-split.sh. 1113 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2, 1114 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2, 1115 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and 1116 testfile-world4.dwo.bz2. 1117 (get_units_split_LDADD): New variable. 1118 * get-units-split.c: New test. 1119 * run-get-units-split.sh: New test runner. 1120 * testfile-dwarf-45.source: Extend with build instructions for new 1121 test files. 1122 * testfile-hello4.dwo.bz2: New test file. 1123 * testfile-hello5.dwo.bz2: Likewise. 1124 * testfile-splitdwarf-4.bz2: Likewise. 1125 * testfile-splitdwarf-5.bz2: Likewise. 1126 * testfile-world5.dwo.bz2 and: Likewise. 1127 * testfile-world4.dwo.bz2: Likewise. 1128 11292018-05-09 Mark Wielaard <mark@klomp.org> 1130 1131 * run-readelf-zdebug.sh: Adjust test output for new header layout. 1132 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4 1133 and testfile-dwarf-5. 1134 11352018-05-11 Mark Wielaard <mark@klomp.org> 1136 1137 * Makefile.am (check_PROGRAMS): Add get-units-invalid. 1138 (TESTS): Add run-get-units-invalid.sh. 1139 (EXTRA_DIST): Likewise. 1140 (get_units_invalid_LDADD): New variable. 1141 * get-units-invalid.c: New test program. 1142 * run-get-units-invalid.sh: New test program runner. 1143 11442018-05-05 Mark Wielaard <mark@klomp.org> 1145 1146 * testfile-dwarf-45.source: New file. 1147 * testfile-dwarf-4.bz2: New test file. 1148 * testfile-dwarf-5.bz2: Likewise. 1149 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and 1150 testfile-dwarf-5. 1151 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source, 1152 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2. 1153 11542018-04-19 Andreas Schwab <schwab@suse.de> 1155 1156 * hello_riscv64.ko.bz2: New file. 1157 * run-strip-reloc.sh: Test it. 1158 * Makefile.am (EXTRA_DIST): Add it. 1159 11602018-04-16 Mark Wielaard <mark@klomp.org> 1161 1162 * testfile-ppc64-min-instr.bz2: New testfile. 1163 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2. 1164 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2. 1165 11662018-04-11 Mark Wielaard <mark@klomp.org> 1167 1168 * run-addrcfi.sh: Adjust expected rule for aarch64 sp. 1169 11702018-04-03 Mark Wielaard <mark@klomp.org> 1171 1172 * testfileranges4.debug.bz2: New testfile. 1173 * run-dwarf-ranges.sh: Run on testfileranges4.debug. 1174 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2. 1175 11762018-03-06 Mark Wielaard <mark@klomp.org> 1177 1178 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer, 1179 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret, 1180 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and 1181 DW_OP_const_type. 1182 11832018-02-16 Mark Wielaard <mark@klomp.org> 1184 1185 * backtrace-subr.sh (check_native_core): Check if there is any core, 1186 if so, use it. 1187 11882018-02-15 Mark Wielaard <mark@klomp.org> 1189 1190 * backtrace-child.c: Include signal.h after sys/ptrace.h. 1191 * backtrace-dwarf.c: Include sys/wait.h and signal.h after 1192 sys/ptrace.h. 1193 11942018-01-25 Mark Wielaard <mark@klomp.org> 1195 1196 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die. 1197 (TESTS): Add run-dwarf-die-addr-die.sh. 1198 (EXTRA_DIST): Likewise. 1199 (dwarf_die_addr_die_LDADD): New variable. 1200 * dwarf-die-addr-die.c: New file. 1201 * run-dwarf-die-addr-die.sh: New test. 1202 12032018-02-09 Joshua Watt <JPEWhacker@gmail.com> 1204 1205 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment. 1206 12072018-01-22 Mark Wielaard <mark@klomp.org> 1208 1209 * allfcts.c (setup_alt): Print warning when alt file couldn't be 1210 found. 1211 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir 1212 where it cannot be found by allfcts itself (but it can by libdw). 1213 12142018-01-25 Mark Wielaard <mark@klomp.org> 1215 1216 * elfstrmerge.c (main): Initialize and check symtabshdr instead of 1217 symtabndx. 1218 12192018-01-14 Petr Machata <pmachata@gmail.com> 1220 1221 * testfile-sizes4.o.bz2: New test file. 1222 * testfile-sizes4.s: New test source. 1223 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257. 1224 12252017-12-23 Mark Wielaard <mark@klomp.org> 1226 1227 * backtrace-subr.sh (check_native_core): Use a lock file and try 1228 to extract core using coredumpctl. 1229 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock. 1230 12312017-12-11 Dima Kogan <dima@secretsauce.net> 1232 1233 * run-aggregate-size.sh: Added check for multi-dimensional arrays. 1234 * run-peel-type.sh: Likewise. 1235 * testfile-sizes3.o.bz2: Likewise. 1236 12372017-12-07 Mark Wielaard <mark@klomp.org> 1238 1239 * run-readelf-variant.sh: New test. 1240 * testfile-ada-variant.bz2: New testfile. 1241 * Makefile.am (TESTS): Add run-readelf-variant.sh. 1242 (EXTRA_DISTS): Add run-readelf-variant.sh and 1243 testfile-ada-variant.bz2. 1244 12452017-11-29 Mark Wielaard <mark@klomp.org> 1246 1247 * run-readelf-loc.sh: Adjust expected loc list output. 1248 * run-readelf-zdebug-rel.sh: Likewise. 1249 * run-readelf-zdebug.sh: Likewise. 1250 12512017-11-29 Mark Wielaard <mark@klomp.org> 1252 1253 * run-readelf-loc.sh: Adjust expected range list output. 1254 * run-readelf-zdebug.sh: Likewise. 1255 12562017-11-29 Mark Wielaard <mark@klomp.org> 1257 1258 * run-readelf-dwz-multi.sh: Add expected file names. 1259 * run-readelf-zdebug-rel.sh: Likewise. 1260 12612017-11-29 Mark Wielaard <mark@klomp.org> 1262 1263 * run-readelf-dwz-multi.sh: Add expected abbrev codes. 1264 * run-readelf-zdebug-rel.sh: Likewise. 1265 12662017-11-29 Mark Wielaard <mark@klomp.org> 1267 1268 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces. 1269 * run-readelf-loc.sh: Likewise. 1270 * run-readelf-zdebug-rel.sh: Likewise. 1271 * run-readelf-zdebug.sh: Likewise. 1272 12732017-11-16 Mark Wielaard <mark@klomp.org> 1274 1275 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert. 1276 12772017-11-10 Mark Wielaard <mark@klomp.org> 1278 1279 * run-exprlocs-self.sh: New test. 1280 * run-varlocs-self.sh: Likewise. 1281 * Makefile.am (TESTS) Add run-exprlocs-self.sh and 1282 run-varlocs-self.sh. 1283 (EXTRA_DIST): Likewise. 1284 * varlocs.c (cfi_debug_bias): New global variable. 1285 (is_ET_REL): Likewise. 1286 (print_expr): Don't crash and burn when CFI cannot be found for an 1287 ET_REL file for DW_OP_call_frame_cfa. 1288 (handle_die): If there is no entry_pc pick the lowest pc start range 1289 for the DIE. 1290 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi 1291 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL. 1292 12932017-11-03 Mark Wielaard <mark@klomp.org> 1294 1295 * run-exprlocs.sh: New test. 1296 * testfile-stridex.bz2: New testfile. 1297 * Makefile.am (TESTS): Add run-exprlocs.sh. 1298 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2. 1299 * varlocs.c (dwarf_tag_string): New function. 1300 (dwarf_attr_string): Likewise. 1301 (dwarf_form_string): Likewise. 1302 (print_expr): Fix typo in error message.r 1303 Handle DW_OP_GNU_variable_value. 1304 (attr_arg): New struct. 1305 (handle_attr): New function. 1306 (handle_die): Likewise. 1307 (main): Handle --exprlocs argument. Call handle_die. 1308 13092017-10-16 Mark Wielaard <mark@klomp.org> 1310 1311 * md5-sha1-test.c: Removed. 1312 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test. 1313 (TESTS): Likewise. 1314 (md5_sha1_test_LDADD): Removed. 1315 13162017-10-04 Mark Wielaard <mark@klomp.org> 1317 1318 * msg_tst.c: Handle ELF_E_INVALID_ELF. 1319 13202017-09-10 Mark Wielaard <mark@klomp.org> 1321 1322 * run-ar.sh: New test. 1323 * Makefile.am (TESTS): Add run-ar.sh. 1324 (EXTRA_DIST): Likewise. 1325 13262017-08-18 Ulf Hermann <ulf.hermann@qt.io> 1327 1328 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS. 1329 13302017-04-27 Ulf Hermann <ulf.hermann@qt.io> 1331 1332 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS. 1333 13342017-08-08 Dmitry V. Levin <ldv@altlinux.org> 1335 1336 * run-strip-nothing.sh: Add -s. 1337 13382017-07-26 Mark Wielaard <mark@klomp.org> 1339 1340 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU. 1341 13422016-10-27 Mark Wielaard <mjw@redhat.com> 1343 1344 * dwarf_default_lower_bound.c: New test. 1345 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound. 1346 (TESTS): Likewise. 1347 (dwarf_default_lower_bound_LDADD): New variable. 1348 13492017-07-21 Mark Wielaard <mark@klomp.org> 1350 1351 * get-lines.c (main): Add dwarf_line_file test. 1352 13532017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com> 1354 1355 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names 1356 * run-allregs.sh: Update generic SPRs names to HTM SPRs names 1357 13582017-07-20 Mark Wielaard <mark@klomp.org> 1359 1360 * run-strip-g.sh: New test. 1361 * Makefile.am (TESTS): Add run-strip-g.sh. 1362 (EXTRA_DIST): Likewise. 1363 13642017-07-18 Mark Wielaard <mark@klomp.org> 1365 1366 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM. 1367 13682017-05-04 Ulf Hermann <ulf.hermann@qt.io> 1369 1370 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero. 1371 13722017-07-14 Mark Wielaard <mark@klomp.org> 1373 1374 * run-strip-remove-keep.sh: New test. 1375 * Makefile.am (TESTS): Add run-strip-remove-keep.sh. 1376 (EXTRA_DIST): Likewise. 1377 13782017-06-07 Mark Wielaard <mark@klomp.org> 1379 1380 * run-strip-nothing.sh: New test. 1381 * Makefile.am (TESTS): Add run-strip-nothing.sh. 1382 (EXTRA_DIST): Likewise. 1383 13842017-06-06 Mark Wielaard <mark@klomp.org> 1385 1386 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab. 1387 13882017-05-30 Mark Wielaard <mark@klomp.org> 1389 1390 * run-backtrace-fp-core-ppc64le.sh: New test. 1391 * backtrace.ppc64le.fp.core.bz2: New test file. 1392 * backtrace.ppc64le.fp.exec.bz2: New testfile. 1393 * backtrace-subr.sh (check_backtracegen): Accept '(null)'. 1394 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh. 1395 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh, 1396 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2. 1397 13982017-02-13 Ulf Hermann <ulf.hermann@qt.io> 1399 Mark Wielaard <mark@klomp.org> 1400 1401 * Makefile.am: Add test for unwinding with frame pointers on aarch64 1402 * backtrace.aarch64.fp.core.bz2: New file 1403 * backtrace.aarch64.fp.exec.bz2: New file 1404 * run-backtrace-fp-core-aarch64.sh: New file 1405 * backtrace-subr.sh (check_err): Allow Invalid register. 1406 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames. 1407 14082017-04-06 Mark Wielaard <mark@klomp.org> 1409 1410 * run-backtrace-fp-core-i386.sh: New test. 1411 * backtrace.i386.fp.core.bz2: New test file. 1412 * backtrace.i386.fp.exec.bz2: New testfile. 1413 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh. 1414 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh, 1415 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2. 1416 14172017-02-09 Ulf Hermann <ulf.hermann@qt.io> 1418 1419 * Makefile.am: Add test for unwinding with frame pointers on x86_64 1420 * backtrace.x86_64.fp.core.bz2: New file 1421 * backtrace.x86_64.fp.exec.bz2: New file 1422 * run-backtrace-fp-core-x86_64.sh: New file 1423 14242017-04-25 Mark Wielaard <mark@klomp.org> 1425 1426 * backtrace-subr.sh (check_backtracegen): New function. 1427 (check_core): Add check_backtracegen call. 1428 * backtrace.ppc.exec.bz2: Regenerated. 1429 * backtrace.ppc.core.bz2: Likewise. 1430 14312017-04-24 Mark Wielaard <mark@klomp.org> 1432 1433 * backtrace.c: Remove option to allow unknown symbols in the trace. 1434 * backtrace-substr.sh: Remove option to allow unknown symbols 1435 to check_core() and allow failed symbol lookups in check_err(). 1436 14372017-04-20 Ulf Hermann <ulf.hermann@qt.io> 1438 1439 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags 1440 that are set. 1441 * run-readelf-zdebug-rel.sh: Likewise. 1442 14432017-04-20 Ulf Hermann <ulf.hermann@qt.io> 1444 1445 * backtrace-child.c: Include sys/ptrace.h only on linux. 1446 * backtrace-dwarf.c: Likewise. 1447 14482017-04-05 Mark Wielaard <mark@klomp.org> 1449 1450 * test-subr.sh (testrun_on_self_compressed): New function. 1451 * run-elflint-self.sh: Call testrun_on_self_compressed. 1452 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz. 1453 14542017-03-30 Mark Wielaard <mark@klomp.org> 1455 1456 * peel_type.c: New file. 1457 * run-peel-type.sh: New test. 1458 * Makefile.am (check_PROGRAMS): Add peel_type.c. 1459 (TESTS): Add run-peel-type.sh. 1460 (EXTRA_DIST): Likewise. 1461 (peel_type_LDADD): New variable. 1462 14632017-03-27 Mark Wielaard <mark@klomp.org> 1464 1465 * fillfile.c: New file. 1466 * Makefile.am (check_PROGRAMS): Add fillfile. 1467 (TESTS): Likewise. 1468 (fillfile_LDADD): New variable. 1469 14702017-02-15 Mark Wielaard <mark@klomp.org> 1471 1472 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2. 1473 * run-readelf-A.sh: Add testfileppc64.o test. 1474 14752017-02-15 Ulf Hermann <ulf.hermann@qt.io> 1476 1477 * elfstrmerge.c: Include system.h. 1478 14792017-02-09 Ulf Hermann <ulf.hermann@qt.io> 1480 1481 * backtrace.c: Add an option to allow unknown symbols in the trace 1482 * backtrace-substr.sh: Add an option to allow unknown symbols 1483 to check_core() and allow failed symbol lookups in check_err() 1484 14852017-02-09 Ulf Hermann <ulf.hermann@qt.io> 1486 1487 * backtrace-data.c: Don't assert that symbols are found. 1488 The unwinder is allowed to ask for invalid addresses. We deny 1489 such requests, rather than make the test fail. 1490 14912016-11-17 Mark Wielaard <mjw@redhat.com> 1492 1493 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests. 1494 14952016-11-02 Mark Wielaard <mjw@redhat.com> 1496 1497 * backtrace-data.c (thread_callback): Add explicit break after error. 1498 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU. 1499 15002016-10-22 Kevin Cernekee <cernekee@chromium.org> 1501 1502 * Makefile.am (TESTS): Add run-unstrip-test4.sh. 1503 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2, 1504 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2. 1505 (run-unstrip-test4.sh): New file. 1506 (testfile-strtab.bz2): New file. 1507 (testfile-strtab.stripped.bz2): New file. 1508 (testfile-strtab.debuginfo.bz2): New file. 1509 15102016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> 1511 1512 * arextract.c: Remove sys/param.h include, add system.h include. 1513 15142016-08-30 Mark Wielaard <mjw@redhat.com> 1515 1516 * Makefile.am (asm_tst?_LDADD): Add libdw. 1517 15182016-08-25 Mark Wielaard <mjw@redhat.com> 1519 1520 * backtrace-child.c: Disable and add documentation about why we disable 1521 RAISE_JMP_PATCHING even on x86_64. 1522 * backtrace.c (is_x86_64_native): Rename to... 1523 (use_raise_jmp_patching): ... this. 1524 (callback_verify): Use use_raise_jmp_patching instead of 1525 is_x86_64_native. 1526 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe 1527 path. 1528 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__ 1529 conditional. 1530 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use 1531 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use 1532 use_raise_jmp_patching instead of is_x86_64_native. 1533 15342016-08-24 Mark Wielaard <mjw@redhat.com> 1535 1536 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2. 1537 15382016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com> 1539 1540 * testfilesparc64attrs.o.bz2: New file. 1541 * run-readelf-A.sh: Check attributes in a sparc object. 1542 15432016-08-06 Mark Wielaard <mjw@redhat.com> 1544 1545 * run-strip-reloc.sh: Add explicit compressed and uncompressed 1546 test cases. 1547 15482016-08-10 Richard Henderson <rth@redhat.com> 1549 1550 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations 1551 output. 1552 15532016-07-08 Mark Wielaard <mjw@redhat.com> 1554 1555 * update3_LDADD: Use libdw instead of libebl. 1556 * update4_LDADD: Likewise. 1557 * alldts_LDADD: Likewise. 1558 * elfstrmerge_LDADD: Likewise. 1559 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab. 1560 * elfstrmerge.c (release): Likewise. 1561 (main): Likewise. 1562 * update3.c (main): Likewise. 1563 * update4.c (main): Likewise. 1564 15652016-07-10 Andreas Schwab <schwab@linux-m68k.org> 1566 1567 * Makefile.am (TESTS): Add run-strip-test11.sh. 1568 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2, 1569 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2. 1570 (run-strip-test11.sh): New file. 1571 (hello_m68k.ko.bz2): New file. 1572 (testfile-m68k-core.bz2): New file. 1573 (testfile-m68k.bz2): New file. 1574 (testfile-m68k-s.bz2): New file. 1575 * run-allregs.sh: Add test for testfile-m68k-core. 1576 * run-readelf-mixed-corenote.sh: Likewise. 1577 * run-strip-reloc.sh: Add test for hello_m68k.ko. 1578 15792016-07-06 Mark Wielaard <mjw@redhat.com> 1580 1581 * Makefile.am (check_PROGRAMS): Add vendorelf. 1582 (TESTS): Likewise. 1583 (vendorelf_LDADD): New variable. 1584 * vendorelf.c: New test. 1585 * elfshphehdr.c (test): Check elf_getphdrnum succeeds. 1586 15872016-06-24 Mark Wielaard <mjw@redhat.com> 1588 1589 * Makefile.am (check_PROGRAMS): Add emptyfile. 1590 (TESTS): Likewise. 1591 (emptyfile_LDADD): New variable. 1592 * emptyfile.c: New test. 1593 15942016-06-28 Richard Henderson <rth@redhat.com> 1595 1596 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally. 1597 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2, 1598 testfile-bpf-dis1.o.bz2 1599 (run-disasm-bpf.sh): New file. 1600 (testfile-bpf-dis1.expect.bz2): New file. 1601 (testfile-bpf-dis1.o.bz2): New file. 1602 16032016-02-09 Mark Wielaard <mjw@redhat.com> 1604 1605 * testfile-s390x-hash-both.bz2: New testfile. 1606 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2. 1607 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test. 1608 16092016-02-04 Mark Wielaard <mjw@redhat.com> 1610 1611 * run-strip-nobitsalign.sh: New test. 1612 * testfile-nobitsalign.bz2: New testfile. 1613 * testfile-nobitsalign.strip.bz2: Likewise. 1614 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh. 1615 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2 1616 and testfile-nobitsalign.strip.bz2. 1617 * run-strip-test.sh: Add --gnu to elflint calls. 1618 16192016-01-13 Mark Wielaard <mjw@redhat.com> 1620 1621 * dwfl-bug-fd-leak.c: Skip test unless on __linux__. 1622 16232016-01-13 Mark Wielaard <mjw@redhat.com> 1624 1625 * dwfl-proc-attach.c: Guard linux specific header. 1626 16272016-01-13 Mark Wielaard <mjw@redhat.com> 1628 1629 * system-elf-libelf-test.c: New test. 1630 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE. 1631 (check_PROGRAMS): Likewise. 1632 (system_elf_libelf_test_CPPFLAGS): New variable. 1633 (system_elf_libelf_test_LDADD): Likewise. 1634 16352016-01-08 Mark Wielaard <mjw@redhat.com> 1636 1637 * elfputzdata.c (main): Fix parentheses in strncmp test. 1638 16392016-01-08 Mark Wielaard <mjw@redhat.com> 1640 1641 * elfputzdata.c (main): Use PRId64 to print 64 bit value. 1642 16432016-01-08 Mark Wielaard <mjw@redhat.com> 1644 1645 * Makefile.am (TESTS): Always unconditionally add 1646 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh. 1647 16482015-12-16 Mark Wielaard <mjw@redhat.com> 1649 1650 * run-compress-test.sh: New test. 1651 * Makefile.am (TESTS): Add run-compress-test.sh. 1652 (EXTRA_DISTS): Likewise. 1653 16542015-11-26 Mark Wielaard <mjw@redhat.com> 1655 1656 * zstrptr.c: New file. 1657 * run-zstrptr.sh: New test. 1658 * elfputzdata.c (main): (re)compress .shstrtab. 1659 * run-elfputzdata.sh: Expect .shstrtab compression. 1660 * Makefile.am (check_PROGRAMS): Add zstrptr. 1661 (TESTS): Add run-zstrptr.sh. 1662 (EXTRA_DIST): Likewise. 1663 (zstrptr_LDADD): New variable. 1664 16652015-10-20 Mark Wielaard <mjw@redhat.com> 1666 1667 * run-readelf-zx.sh: New test. 1668 * run-readelf-zp.sh: Likewise. 1669 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh. 1670 (EXTRA_DIST): Likewise. 1671 16722015-10-21 Mark Wielaard <mjw@redhat.com> 1673 1674 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata. 1675 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh. 1676 (EXTRA_DIST: Likewise. 1677 (elfgetzdata_LDADD): New variable. 1678 (elfputzdata_LDADD): Likewise. 1679 * elfgetzdata.c: New file. 1680 * elfputzdata.c: Likewise. 1681 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED, 1682 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and 1683 ELF_E_DECOMPRESS_ERROR. 1684 * run-elfgetzdata.sh: New test. 1685 * run-elfputzdata.sh: Likewise. 1686 16872015-10-28 Mark Wielaard <mjw@redhat.com> 1688 1689 * run-readelf-z.sh: New test. 1690 * Makefile.am (TESTS): Add run-readelf-z.sh. 1691 (EXTRA_DIST): Likewise. 1692 16932015-10-28 Mark Wielaard <mjw@redhat.com> 1694 1695 * elfgetchdr.c: New file. 1696 * run-elfgetchdr.sh: New test. 1697 * testfile-zgabi32.bz2: New testfile. 1698 * testfile-zgabi32be.bz2: Likewise. 1699 * testfile-zgabi64.bz2: Likewise. 1700 * testfile-zgabi64be.bz2: Likewise. 1701 * Makefile.am (check_PROGRAMS): Add elfgetchdr. 1702 (TESTS): Add run-elfgetchdr.sh. 1703 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2, 1704 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2. 1705 (welfgetchdr_LDADD): New variable. 1706 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE 1707 and ELF_E_INVALID_SECTION_FLAGS, 1708 1709 17102015-10-28 Mark Wielaard <mjw@redhat.com> 1711 1712 * dwelfgnucompressed.c: New file. 1713 * run-dwelfgnucompressed.sh: New test. 1714 * testfile-zgnu32.bz2: New testfile. 1715 * testfile-zgnu64.bz2: Likewise. 1716 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed. 1717 (TESTS): Add run-dwelfgnucompressed.sh. 1718 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2, 1719 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2. 1720 (dwelfgnucompressed_LDADD): New variable. 1721 17222015-12-31 Mark Wielaard <mjw@redhat.com> 1723 1724 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx. 1725 * run-elfstrmerge-test.sh: New test. 1726 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh 1727 (EXTRA_DIST): Likewise. 1728 17292015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com> 1730 1731 * run-backtrace-core-sparc.sh: New file. 1732 * backtrace.sparc.core.bz2: New file. 1733 * backtrace.sparc.exec.bz2: New file. 1734 * Makefile.am (EXTRA_DIST): ... and added all here. 1735 (TESTS): Added run-backtrace-core-sparc.sh. 1736 17372015-12-02 Mark Wielaard <mjw@redhat.com> 1738 1739 * Makefile.am (valgrind_cmd): Use --leak-check=full. 1740 * run-backtrace-demangle.sh: Disable valgrind. 1741 * run-stack-demangled-test.sh: Likewise. 1742 * run-stack-d-test.sh: Likewise. 1743 * run-stack-i-test.sh: Likewise. 1744 17452015-12-01 Mark Wielaard <mjw@redhat.com> 1746 1747 * test-flag-nobits.c (main): Call elf_end. 1748 * rerequest_tag.c (main): Call dwarf_end. 1749 * funcscopes.c (handle_function): Free scopes. 1750 * dwarf-getstring.c (main): Call dwarf_end. 1751 * allregs.c (main): Free state.info. 1752 * alldts.c (main): Free dyn. 1753 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi 1754 calls. 1755 * addrscopes.c (handle_address): Free scopes. 1756 17572015-10-16 Mark Wielaard <mjw@redhat.com> 1758 1759 * Makefile.am [BUILD_STATIC] (libdw): Add -lz. 1760 [BUILD_STATIC] (libelf): Likewise. 1761 17622015-10-16 Mark Wielaard <mjw@redhat.com> 1763 1764 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS. 1765 17662015-10-09 Josh Stone <jistone@redhat.com> 1767 1768 * lfs-symbols: New list of LFS-related symbols from lintian. 1769 * testfile-nolfs.bz2: New test binary for sanity checking. 1770 * run-lfs-symbols.sh: New test. 1771 * Makefile.am (TESTS): Add run-lfs-symbols.sh. 1772 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and 1773 run-lfs-symbols.sh. 1774 * alldts.c (main): Replace open64 with open. 1775 * dwarf-getstring.c (main): Likewise. 1776 * arls.c: Include config.h. 1777 * ecp.c: Likewise. 1778 * rdwrmmap.c: Likewise. 1779 * test-elf_cntl_gelf_getshdr.c: Likewise. 1780 * test-flag-nobits.c: Include config.h. 1781 (main): Replace open64 with open. 1782 17832015-10-09 Mark Wielaard <mjw@redhat.com> 1784 1785 * elfshphehdr.c (check): Rename argument from check to statement. 1786 (check_elf): Likewise. 1787 17882015-10-05 Josh Stone <jistone@redhat.com> 1789 1790 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer. 1791 17922015-10-02 Mark Wielaard <mjw@redhat.com> 1793 1794 * elfstrmerge.c: New check program. 1795 * run-strip-strmerge.sh: New test. 1796 * Makefile.am (check_PROGRAMS): Add elfstrmerge. 1797 (EXTRA_DIST): Add run-strip-strmerge.sh 1798 (elfstrmerge_LDADD): New variable. 1799 18002015-09-29 Mark Wielaard <mjw@redhat.com> 1801 1802 * elfshphehdr.c: New test. 1803 * Makefile.am (check_PROGRAMS): Add elfshphehdr. 1804 (TESTS): Likewise. 1805 (elfshphehdr_LDADD): New variable. 1806 18072015-09-08 Mark Wielaard <mjw@redhat.com> 1808 1809 * dwfl-proc-attach.c: New test. 1810 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach. 1811 (TESTS): Likewise. 1812 (dwfl_proc_attach_LDADD): New variable. 1813 (dwfl_proc_attach_LDFLAGS): Likewise. 1814 18152015-09-04 Chih-Hung Hsieh <chh@google.com> 1816 1817 * varlocs.c (print_base_type): Initialize enctype. 1818 18192015-09-04 Chih-Hung Hsieh <chh@google.com> 1820 1821 * md5-sha1-test.c (md5_expected): Removed. 1822 (sha1_expected): Likewise. 1823 18242015-09-04 Chih-Hung Hsieh <chh@google.com> 1825 1826 * asm-tst1.c (main): Replace %Z length modifier with %z. 1827 * asm-tst2.c (main): Likewise. 1828 * asm-tst3.c (main): Likewise. 1829 * asm-tst4.c (main): Likewise. 1830 * asm-tst5.c (main): Likewise. 1831 * asm-tst6.c (main): Likewise. 1832 * asm-tst7.c (main): Likewise. 1833 * asm-tst8.c (main): Likewise. 1834 * asm-tst9.c (main): Likewise. 1835 * sectiondump.c (print_bytes): Likewise. 1836 18372015-08-14 Mark Wielaard <mjw@redhat.com> 1838 1839 * run-addr2line-alt-debugpath.sh: New test. 1840 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh 1841 (EXTRA_DIST): Likewise. 1842 18432015-07-29 Mark Wielaard <mjw@redhat.com> 1844 1845 * run-unstrip-test3.sh: New test. 1846 * testfile-info-link.bz2: New file. 1847 * testfile-info-link.debuginfo.bz2: Likewise. 1848 * testfile-info-link.stripped.bz2: Likewise. 1849 * Makefile.am (TESTS): Add run-unstrip-test3.sh. 1850 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2, 1851 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2. 1852 18532015-06-27 Pino Toscano <toscano.pino@tiscali.it> 1854 1855 * tests/run-deleted.sh: Skip when detecting a not implemented 1856 dwfl_linux_proc_attach. 1857 18582015-06-27 Pino Toscano <toscano.pino@tiscali.it> 1859 1860 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of 1861 dwfl_addrmodule. 1862 18632015-06-26 Pino Toscano <toscano.pino@tiscali.it> 1864 1865 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused. 1866 18672015-06-26 Pino Toscano <toscano.pino@tiscali.it> 1868 1869 * tests/backtrace-data.c: Reduce scope of some includes to match their 1870 usage. 1871 * tests/backtrace.c: Likewise. 1872 * tests/deleted.c: Likewise. 1873 18742015-06-16 Mark Wielaard <mjw@redhat.com> 1875 1876 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test 1877 for non-ET_REL files. 1878 18792015-05-30 Mark Wielaard <mjw@redhat.com> 1880 1881 * backtrace-subr.sh (check_native_core): Notice core file couldn't be 1882 generated before skipping. 1883 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported 1884 before skipping. 1885 * run-backtrace-demangle.sh: Likewise. 1886 * run-stack-demangled-test.sh: Likewise. 1887 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled 1888 before skipping. 1889 * run-backtrace-native-core-biarch.sh: Likewise. 1890 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping. 1891 18922015-05-20 Mark Wielaard <mjw@redhat.com> 1893 1894 * run-addr2line-i-test.sh: Add pretty test. 1895 * run-addr2line-test.sh: Likewise. 1896 18972015-05-20 Mark Wielaard <mjw@redhat.com> 1898 1899 * run-addr2line-i-demangle-test.sh: New test. 1900 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh. 1901 (EXTRA_DIST): Likewise. 1902 19032015-05-20 Mark Wielaard <mjw@redhat.com> 1904 1905 * run-addr2line-test.sh: Add -a test variants. 1906 * run-addr2line-i-test.sh: Likewise. 1907 19082015-05-20 Mark Wielaard <mjw@redhat.com> 1909 1910 * run-addrname-test.sh: Make sure all input addresses are hex. 1911 19122015-05-04 Max Filippov <jcmvbkbc@gmail.com> 1913 1914 * backtrace-child.c (stdarg, main): Replace assert_perror with assert. 1915 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers) 1916 (main): Likewise. 1917 * backtrace-dwarf.c (main): Likewise. 1918 * backtrace.c (prepare_thread, exec_dump): Likewise. 1919 19202015-05-04 Anthony G. Basile <blueness@gentoo.org> 1921 1922 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD) 1923 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD) 1924 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD) 1925 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD) 1926 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD). 1927 19282015-05-01 Mark Wielaard <mjw@redhat.com> 1929 1930 * run-stack-d-test.sh: Use --raw and mangled output. 1931 * run-stack-i-test.sh: Likewise. 1932 * run-stack-demangled-test.sh: New test. 1933 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh. 1934 (TESTS): Likewise. 1935 19362015-04-01 H.J. Lu <hjl.tools@gmail.com> 1937 1938 * Makefile.am (TESTS): Add run-strip-test10.sh. 1939 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2. 1940 Add testfile-x32-debug.bz2. 1941 * run-strip-test10.sh: New file. 1942 * testfile-x32-d.bz2: Likewise. 1943 * testfile-x32-debug.bz2: Likewise. 1944 19452015-04-01 H.J. Lu <hjl.tools@gmail.com> 1946 1947 * Makefile.am (TESTS): Add run-strip-test9.sh. 1948 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2. 1949 * run-strip-test9.sh: New file. 1950 * testfile-x32-s.bz2: Likewise. 1951 19522015-04-01 H.J. Lu <hjl.tools@gmail.com> 1953 1954 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh. 1955 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2. 1956 Add backtrace.x32.exec.bz2. 1957 * backtrace.x32.core.bz2 : New file. 1958 * backtrace.x32.exec.bz2: Likewise. 1959 * run-backtrace-core-x32.sh: Likewise. 1960 19612015-04-01 H.J. Lu <hjl.tools@gmail.com> 1962 1963 * run-addrcfi.sh: Add a test for testfile-x32. 1964 * testfile-x32.bz2: New file. 1965 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2. 1966 19672015-04-01 H.J. Lu <hjl.tools@gmail.com> 1968 1969 * run-allregs.sh: Add a test for testfile-x32-core. 1970 19712015-04-01 H.J. Lu <hjl.tools@gmail.com> 1972 1973 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core. 1974 * testfile-x32-core.bz2: New file. 1975 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2. 1976 19772015-03-18 Petr Machata <pmachata@redhat.com> 1978 1979 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match 1980 the API changes. 1981 * allregs.c (dwarf_encoding_string): Likewise. 1982 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise. 1983 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise. 1984 19852015-03-18 Petr Machata <pmachata@redhat.com> 1986 1987 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh, 1988 debug-ranges-no-lowpc.o.bz2. 1989 19902015-03-13 Mark Wielaard <mjw@redhat.com> 1991 1992 * backtrace-dwarf.c: Add explicit includes. 1993 (cleanup_13_abort): Remove unused static declaration. 1994 (thread_callback): Add explicit return. 1995 19962015-03-13 H.J. Lu <hjl.tools@gmail.com> 1997 1998 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS 1999 instead of PTRACE_POKEUSER. 2000 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for 2001 is_x86_64_native. 2002 20032015-02-18 Mark Wielaard <mjw@redhat.com> 2004 2005 * newdata.c (check_section_data): Use PRId64 for printing loff_t. 2006 20072015-02-11 Josh Stone <jistone@redhat.com> 2008 2009 * backtrace.c (exec_dump): Initialize jmp. 2010 20112015-02-11 Petr Machata <pmachata@redhat.com> 2012 2013 * run-dwarf-ranges.sh: New test. 2014 * dwarf-ranges.c: New file. 2015 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case. 2016 20172015-01-21 Mark Wielaard <mjw@redhat.com> 2018 2019 * Makefile.am (check_PROGRAMS): Add elfstrtab. 2020 (TESTS): Likewise. 2021 (elfstrtab_LDADD): New variable. 2022 * elfstrtab.c: New test. 2023 20242015-01-20 Mark Wielaard <mjw@redhat.com> 2025 2026 * Makefile.am (check_PROGRAMS): Add newdata. 2027 (TESTS): Likewise. 2028 (newdata_LDADD): new variable. 2029 * newdata.c: New test. 2030 20312015-01-20 Mark Wielaard <mjw@redhat.com> 2032 2033 * strptr.c: New file. 2034 * run-strptr.sh: New test. 2035 * Makefile.am (check_PROGRAMS): Add strptr. 2036 (TESTS): Add run-strptr.sh. 2037 (EXTRA_DIST): Likewise. 2038 (strptr_LDADD): New variable. 2039 20402015-01-15 Mark Wielaard <mjw@redhat.com> 2041 2042 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY). 2043 * vdsosyms.c (main): Use getpid () instead of getppid (). 2044 20452014-12-27 Mark Wielaard <mjw@redhat.com> 2046 2047 * addrscopes.c (handle_address): Last address in scope is highpc - 1. 2048 * funcscopes.c (handle_function): Likewise. 2049 * run-addrscopes.sh: Adjust last address in scope. 2050 * run-funcscopes.sh: Likewise. 2051 20522015-01-07 Mark Wielaard <mjw@redhat.com> 2053 2054 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search. 2055 20562015-01-14 Mark Wielaard <mjw@redhat.com> 2057 2058 * testfile-debug-types.bz2: New testfile. 2059 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2. 2060 * typeiter2.c (main): Print both name and offset of found form DIE. 2061 * run-typeiter.s: Adjust output and add testfile-debug-types. 2062 20632014-12-26 Mark Wielaard <mjw@redhat.com> 2064 2065 * run-test-archive64.sh: Add nm test. 2066 20672014-12-19 Mark Wielaard <mjw@redhat.com> 2068 2069 * run-deleted.sh: Don't check libfunc on ppc64. 2070 20712014-12-19 Mark Wielaard <mjw@redhat.com> 2072 2073 * vdsosyms.c (vdso_seen): Removed. 2074 (vdso_syms): New global. 2075 (module_callback): Set and check vdso_syms. 2076 (main): Return value depends on vdso_syms. 2077 20782014-12-19 Mark Wielaard <mjw@redhat.com> 2079 2080 * backtrace-subr.sh (check_native_unsupported): Relax special ARM 2081 grep a little. 2082 * run-deleted.sh: Call check_native_unsupported. 2083 20842014-12-18 Mark Wielaard <mjw@redhat.com> 2085 2086 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2. 2087 20882014-12-12 Mark Wielaard <mjw@redhat.com> 2089 2090 * Makefile.am (deleted_lib_so_CFLAGS): Add 2091 -fasynchronous-unwind-tables. 2092 20932014-12-11 Josh Stone <jistone@redhat.com> 2094 2095 * run-addr2line-i-lex-test.sh: New test. 2096 * testfile-lex-inlines.bz2: New testfile. 2097 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and 2098 testfile-lex-inlines.bz2. 2099 (TESTS): Add run-addr2line-i-lex-test.sh. 2100 21012014-12-10 Josh Stone <jistone@redhat.com> 2102 2103 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is 2104 preferred over the plain die name. 2105 21062014-12-02 Petr Machata <pmachata@redhat.com> 2107 2108 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef, 2109 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch. 2110 (main): Initialize off to DWARF_GETMACROS_START when an extra 2111 command line argument is passed. 2112 * testfile-macros-0xff.bz2: New test case. 2113 * testfile-macros-0xff.s: New file (source for the above). 2114 * run-dwarf-getmacros.sh: Add two tests. 2115 21162014-11-27 Mark Wielaard <mjw@redhat.com> 2117 2118 * vdsosyms.c (main): Call dwfl_linux_proc_attach. 2119 21202014-11-21 Mark Wielaard <mjw@redhat.com> 2121 2122 * run-readelf-A.sh: New test. 2123 * testfileppc32attrs.o.bz2: New test file. 2124 * Makefile.am (TESTS): Add run-readelf-A.sh. 2125 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2. 2126 21272014-11-10 Mark Wielaard <mjw@redhat.com> 2128 2129 * vdsosyms.c: New test. 2130 * Makefile.am (check_PROGRAMS): Add vdsosyms. 2131 (TESTS): Likewise. 2132 (vdsosyms_LDADD): New variable. 2133 21342014-09-10 Petr Machata <pmachata@redhat.com> 2135 2136 * dwarf-getmacros.c: Update to use the new macro iteration 2137 interfaces. 2138 * run-dwarf-getmacros.sh: Adjust, add a test that uses 2139 testfile-macros. 2140 21412014-10-06 Mark Wielaard <mjw@redhat.com> 2142 2143 * run-aggregate-size.sh: Add testfile-sizes3.o test case. 2144 * testfile-sizes3.o.bz2: New test file. 2145 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2. 2146 21472014-10-02 Mark Wielaard <mjw@redhat.com> 2148 2149 * run-deleted.sh: Unset VALGRIND_CMD before running deleted. 2150 21512014-10-02 Mark Wielaard <mjw@redhat.com> 2152 2153 * Makefile.am (check_PROGRAMS): Add aggregate_size.c. 2154 (TESTS): Add run-aggregate-size.sh. 2155 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2 2156 and testfile-sizes2.o.bz2. 2157 (aggregate_size_LDADD): New variable. 2158 * aggregate_size.c: New file. 2159 * run-aggregate-size.sh: New test. 2160 * testfile-sizes1.o.bz2: New test file. 2161 * testfile-sizes2.o.bz2: Likewise. 2162 21632014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com> 2164 2165 Support NT_FILE for locating files. 2166 * Makefile.am (TESTS): Add run-linkmap-cut.sh. 2167 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2, 2168 linkmap-cut.bz2 and linkmap-cut.core.bz2 . 2169 * linkmap-cut-lib.so.bz2: New file. 2170 * linkmap-cut.bz2: New file. 2171 * linkmap-cut.core.bz2: New file. 2172 * run-linkmap-cut.sh: New file. 2173 * run-unstrip-n.sh: Update its expected output. 2174 21752014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com> 2176 2177 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so. 2178 (TESTS, EXTRA_DIST): Add run-deleted.sh. 2179 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New. 2180 * deleted-lib.c: New file. 2181 * deleted.c: New file. 2182 * run-deleted.sh: New file. 2183 21842014-06-15 Mark Wielaard <mjw@redhat.com> 2185 2186 * backtrace.c (frame_callback): Error on seeing more than 16 frames. 2187 21882014-06-13 Mark Wielaard <mjw@redhat.com> 2189 2190 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first 2191 frame symname. 2192 21932014-06-13 Mark Wielaard <mjw@redhat.com> 2194 2195 * backtrace-subr.sh (check_native_unsupported): New function. 2196 (check_native): Call it. 2197 (check_native_core): Likewise. 2198 * run-backtrace-dwarf.sh: Likewise. 2199 22002014-06-11 Mark Wielaard <mjw@redhat.com> 2201 2202 * backtrace.c (main): Check that Dwfl was attached by calling 2203 dwfl_pid and printing the error when it is not. 2204 22052014-05-18 Mark Wielaard <mjw@redhat.com> 2206 2207 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static. 2208 (f): Likewise. 2209 * testfile-backtrace-demangle.bz2: Regenerate. 2210 * testfile-backtrace-demangle.core.bz2: Likewise. 2211 22122014-05-02 Mark Wielaard <mjw@redhat.com> 2213 2214 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and 2215 run-allfcts-multi.sh are now added unconditionally. 2216 22172014-05-01 Mark Wielaard <mjw@redhat.com> 2218 2219 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz 2220 subdir. 2221 22222014-04-30 Mark Wielaard <mjw@redhat.com> 2223 2224 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files. 2225 * Makefile.am (check_PROGRAMS): Add buildid. 2226 (TESTS): Add run-buildid.sh. 2227 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2. 2228 (buildid_LDADD): New variable. 2229 22302014-04-24 Florian Weimer <fweimer@redhat.com> 2231 2232 * allfcts.c (setup_alt): New function. 2233 (main): Call it. Implementation additional error checking and 2234 reporting. 2235 22362014-04-24 Florian Weimer <fweimer@redhat.com> 2237 2238 * debugaltlink.c, run-debugaltlink.sh: New files. 2239 * Makefile.am (check_PROGRAMS): Add debugaltlink. 2240 (TESTS): Add run-debugaltlink.sh. 2241 (debugaltlink_LDADD): New variable. 2242 22432014-04-11 Mark Wielaard <mjw@redhat.com> 2244 2245 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf. 2246 (check_PROGRAMS): Add debuglink. 2247 (TESTS): Add run-debuglink.sh 2248 (EXTRA_DIST): Likewise. 2249 (debuglink_LDADD): New. 2250 * debuglink.c: New file. 2251 * run-debuglink.sh: Likewise. 2252 22532014-03-23 Mark Wielaard <mjw@redhat.com> 2254 2255 * run-nm-self.sh: Use test = not == for string comparisons. 2256 22572014-04-22 Kurt Roeckx <kurt@roeckx.be> 2258 2259 * backtrace.c: Make Linux only. 2260 * backtrace-child.c: Make Linux only. 2261 * backtrace-data.c: Make Linux only. 2262 * backtrace-dwarf.c: Make Linux only. 2263 * backtrace-subr.sh: Skip core file unwinding tests when not supported. 2264 22652014-03-14 Mark Wielaard <mjw@redhat.com> 2266 2267 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all 2268 LDADD lines. 2269 * configure.ac: Remove MUDFLAP conditional. 2270 22712014-04-09 Mark Wielaard <mjw@redhat.com> 2272 2273 * run-readelf-zdebug.sh: New test. 2274 * testfile-debug.bz2: New testfile. 2275 * testfile-zdebug.bz2: New testfile. 2276 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB. 2277 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and 2278 testfile-zdebug.bz2. 2279 22802014-04-10 Mark Wielaard <mjw@redhat.com> 2281 2282 * testfile_i686_core.bz2: New test file. 2283 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test. 2284 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2 2285 22862014-04-09 Mark Wielaard <mjw@redhat.com> 2287 2288 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh. 2289 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh, 2290 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2. 2291 * run-backtrace-core-aarch64.sh: New test. 2292 22932014-03-11 Josh Stone <jistone@redhat.com> 2294 2295 * testfilebaxmin.bz2: New testfile. 2296 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2. 2297 * run-readelf-s.sh: Test testfilebaxmin. 2298 * run-dwflsyms.sh: Likewise. 2299 23002014-01-26 Mark Wielaard <mjw@redhat.com> 2301 2302 * backtrace-subr.sh (check_unsupported): Special case arm*. 2303 23042014-01-25 Mark Wielaard <mjw@redhat.com> 2305 2306 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to 2307 location expression: call_frame_cfa stack_value. 2308 23092014-01-22 Mark Wielaard <mjw@redhat.com> 2310 2311 * Makefile.am (line2addr_no_Wformat): Removed. 2312 23132014-01-21 Mark Wielaard <mjw@redhat.com> 2314 2315 * Makefile.am (TESTS): Add run-stack-i-test.sh. 2316 (EXTRA_DIST): Likewise. 2317 * run-stack-i-test.sh: New test. 2318 23192014-01-20 Mark Wielaard <mjw@redhat.com> 2320 2321 * Makefile.am (TESTS): Add run-stack-d-test.sh. 2322 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2 2323 testfiledwarfinlines.core.bz2. 2324 * run-stack-d-test.sh: New test. 2325 * testfiledwarfinlines.bz2: New test file. 2326 * testfiledwarfinlines.core.bz2: Likewise. 2327 23282014-01-16 Mark Wielaard <mjw@redhat.com> 2329 2330 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun 2331 on one ET_REL, one ET_EXEC and one ET_DYN file. 2332 * test-subr.sh (self_test_files): Add two ET_REL files, only add 2333 two libebl ET_DYN backend files. 2334 23352014-01-16 Mark Wielaard <mjw@redhat.com> 2336 2337 * run-backtrace-demangle.sh: Check exitcode and max number of frames. 2338 23392014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2340 2341 Fix false FAILs on testsuite with ulimit -c unlimited. 2342 * backtrace-child.c (sigusr2): Call pthread_exit. 2343 (main): Return, do not call abort. 2344 23452014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> 2346 2347 Fix corruption of non-C++ symbols by the demangler. 2348 * Makefile.am (TESTS): Add run-backtrace-demangle.sh. 2349 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export. 2350 (EXTRA_DIST): Add run-backtrace-demangle.sh, 2351 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc, 2352 testfile-backtrace-demangle.core.bz2. 2353 * backtrace-demangle.cc: New file. 2354 * run-backtrace-demangle.sh: New file. 2355 * testfile-backtrace-demangle.bz2: New file. 2356 * testfile-backtrace-demangle.cc: New file. 2357 * testfile-backtrace-demangle.core.bz2: New file. 2358 23592014-01-07 Matthias Klose <doko@ubuntu.com> 2360 2361 * backtrace-subr.sh (check_native_core): Check to see if core file 2362 was created without ".PID" extension, if so mv core to core.PID. 2363 Skip test if no core file was created or could be found. 2364 23652014-01-04 Mark Wielaard <mjw@redhat.com> 2366 2367 * backtrace-data.c (main): Don't assert if raise returns. 2368 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with 2369 assume_ptrace_attached true. 2370 (ptrace_detach_stopped): Removed function. 2371 (main): Don't call ptrace_detach_stopped. 2372 * backtrace.c (ptrace_detach_stopped): Removed function. 2373 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached 2374 true. 2375 (exec_dump): Don't call ptrace_detach_stopped. 2376 23772014-01-04 Mark Wielaard <mjw@redhat.com> 2378 2379 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test 2380 if we cannot adjust core ulimit. 2381 23822014-01-04 Mark Wielaard <mjw@redhat.com> 2383 2384 * cleanup-13.c (force_unwind_stop): Removed. 2385 (force_unwind): Just call abort. Don't setup _Unwind_Exception and 2386 don't call _Unwind_ForcedUnwind. 2387 23882014-01-03 Mark Wielaard <mjw@redhat.com> 2389 2390 * run-addrcfi.sh: Add case for EM_AARCH64. 2391 * testfileaarch64.bz2: New testfile. 2392 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2. 2393 23942013-12-30 Mark Wielaard <mjw@redhat.com> 2395 2396 * backtrace-dwarf.c (report_pid): Explicitly call 2397 dwfl_linux_proc_attach and check for errors. 2398 * backtrace.c (report_pid): Likewise. 2399 24002013-12-21 Mark Wielaard <mjw@redhat.com> 2401 2402 * backtrace.c (callback_verify): Only assert that case 5 is the last 2403 instruction of backtracegen on x86_64 native. 2404 24052013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2406 Mark Wielaard <mjw@redhat.com> 2407 2408 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2 2409 and testfilebaz*ppc64*.bz2 files. 2410 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print 2411 error on dwfl_module_getsymtab error. 2412 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info. 2413 Compare values for non-ET_REL. Use dwfl_module_addrinfo. 2414 Also print section of actual value if different from sym. 2415 * run-addrname-test.sh (testfile66, testfile66.core): New tests. 2416 Test addr2line -x by showing different sections for address and 2417 found name in testfile66. 2418 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko, 2419 testfilebaz*ppc64): New tests. 2420 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2, 2421 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2, 2422 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2, 2423 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2, 2424 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2, 2425 testfilebaztabppc64.bz2: New test files. 2426 24272013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2428 2429 unwinder: s390 and s390x 2430 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and 2431 run-backtrace-core-s390.sh. 2432 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2, 2433 backtrace.s390.core.bz2, backtrace.s390.exec.bz2, 2434 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh. 2435 * backtrace.s390.core.bz2: New file. 2436 * backtrace.s390.exec.bz2: New file. 2437 * backtrace.s390x.core.bz2: New file. 2438 * backtrace.s390x.exec.bz2: New file. 2439 * run-backtrace-core-s390.sh: New file. 2440 * run-backtrace-core-s390x.sh: New file. 2441 24422013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com> 2443 2444 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused 2445 code. 2446 24472013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> 2448 2449 unwinder: ppc 2450 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh. 2451 (EXTRA_DIST): Add backtrace.ppc.core.bz2, 2452 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh. 2453 * backtrace.ppc.core.bz2: New file. 2454 * backtrace.ppc.exec.bz2: New file. 2455 * run-backtrace-core-ppc.sh: New file. 2456 24572013-12-10 Mark Wielaard <mjw@redhat.com> 2458 2459 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c. 2460 24612013-12-10 Mark Wielaard <mjw@redhat.com> 2462 2463 * Makefile.am (valgrind_cmd): Remove --trace-children=yes. 2464 * backtrace-subr.sh (check_native_core): Disable valgrind while 2465 dumping core. 2466 * run-backtrace-data.sh: Disable valgrind. 2467 * run-backtrace-dwarf.sh: Likewise. 2468 24692013-12-09 Mark Wielaard <mjw@redhat.com> 2470 2471 * varlocs.c (print_expr): Update comment to explain empty location 2472 associated with DW_OP_GNU_implicit_pointer. 2473 24742013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> 2475 2476 Fix test FAIL with -O2. 2477 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub. 2478 24792013-12-05 Mark Wielaard <mjw@redhat.com> 2480 2481 * backtrace-data.c (main): If unsupported also print to stderr. 2482 * run-backtrace-dwarf.sh: Add check_unsupported and check_main. 2483 24842013-12-04 Mark Wielaard <mjw@redhat.com> 2485 2486 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT). 2487 24882013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com> 2489 2490 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child, 2491 backtrace-data and backtrace-dwarf. 2492 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New. 2493 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh, 2494 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh, 2495 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 2496 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh. 2497 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH. 2498 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh, 2499 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh, 2500 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 2501 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh, 2502 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2, 2503 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2. 2504 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS) 2505 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD): 2506 New. 2507 * backtrace-child.c: New file. 2508 * backtrace-data.c: New file. 2509 * backtrace-dwarf.c: New file. 2510 * backtrace-subr.sh: New file. 2511 * backtrace.c: New file. 2512 * cleanup-13.c: New file. 2513 * backtrace.i386.core.bz2: New file. 2514 * backtrace.i386.exec.bz2: New file. 2515 * backtrace.x86_64.core.bz2: New file. 2516 * backtrace.x86_64.exec.bz2: New file. 2517 * run-backtrace-core-i386.sh: New file. 2518 * run-backtrace-core-x86_64.sh: New file. 2519 * run-backtrace-native-biarch.sh: New file. 2520 * run-backtrace-native-core-biarch.sh: New file. 2521 * run-backtrace-native-core.sh: New file. 2522 * run-backtrace-native.sh: New file. 2523 * run-backtrace-data.sh: New file. 2524 * run-backtrace-dwarf.sh: New file. 2525 25262013-11-27 Mark Wielaard <mjw@redhat.com> 2527 2528 * dwflsyms.c (gelf_bind_order): New function. 2529 (elf_section_name): Likewise. 2530 (addr_in_section): Likewise. 2531 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf. 2532 Refine assert using gelf_bind_order. Print elf_section_name. Check 2533 bias with addr_in_section. 2534 * run-dwflsyms.sh: Add section names to expected output. 2535 25362013-11-26 Mark Wielaard <mjw@redhat.com> 2537 2538 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh. 2539 25402013-11-25 Petr Machata <pmachata@redhat.com> 2541 2542 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files. 2543 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise. 2544 * Makefile.am (EXTRA_DIST): Add these. 2545 (TESTS): Add run-funcretval.sh. 2546 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test. 2547 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test. 2548 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2. 2549 * run-funcretval.sh: New file. 2550 25512013-11-18 Josh Stone <jistone@redhat.com> 2552 2553 * testfilebazdbg_plr.bz2: New testfile. 2554 * testfilebazmin_plr.bz2: Likewise. 2555 * Makefile.am (EXTRA_DIST): Add the above files. 2556 * run-dwflsyms.sh: Add prelink -r tests. 2557 25582013-11-15 Mark Wielaard <mjw@redhat.com> 2559 2560 * testfilebazmdb.bz2: Regenerated. 2561 * testfilebazmin.bz2: Likewise. 2562 * testfilebazdbg_pl.bz2: New testfile. 2563 * testfilebazmin_pl.bz2: Likewise. 2564 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and 2565 testfilebazmin_pl.bz2. 2566 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and 2567 print relative address of function symbols. 2568 * run-dwflsyms.sh: Add prelink tests and adjust expected output. 2569 25702013-11-01 Michael Forney <mforney@mforney.org> 2571 2572 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM. 2573 * run-arsymtest.sh: Use NM. 2574 25752013-11-05 Mark Wielaard <mjw@redhat.com> 2576 2577 * allfcts.c (main): Correct dwarf_getfuncs return value check. 2578 25792013-10-10 Mark Wielaard <mjw@redhat.com> 2580 Josh Stone <jistone@redhat.com> 2581 2582 * run-allfcts-multi.sh: New test. 2583 * test-offset-loop.bz2: New testfile. 2584 * test-offset-loop.alt.bz2: New testfile. 2585 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ. 2586 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and 2587 test-offset-loop.alt.bz2. 2588 25892013-10-15 Mark Wielaard <mjw@redhat.com> 2590 2591 * run-unstrip-M.sh: New test. 2592 * Makefile.am (TESTS): Add run-unstrip-M.sh. 2593 (EXTRA_DIST): Likewise. 2594 25952013-10-06 Mark Wielaard <mjw@redhat.com> 2596 2597 * run-addrcfi.sh: Remove nop from expected ppc and ppc64 2598 location expression. 2599 26002013-10-03 Josh Stone <jistone@redhat.com> 2601 2602 * typeiter2.c: New file, reversing typeiter.c. 2603 * run-typeiter.sh: Also run typeiter2. 2604 * Makefile.am (check_PROGRAMS): Add typeiter2. 2605 (typeiter2_LDADD): New variable. 2606 26072013-09-26 Petr Machata <pmachata@redhat.com> 2608 2609 * run-readelf-mixed-corenote.sh: Update output of testfile71 2610 dump--readelf can newly decode the NT_FILE note. 2611 26122013-09-26 Petr Machata <pmachata@redhat.com> 2613 2614 * Makefile.am (EXTRA_DIST): Add testfile71.bz2. 2615 * run-readelf-mixed-corenote.sh: New test for this file. 2616 * testfile71.bz2: New file. 2617 26182013-09-20 Mark Wielaard <mjw@redhat.com> 2619 2620 * allfcts.c (cb): Return DWARF_CB_ABORT. 2621 (main): Iterate over all offsets returned by dwarf_getfuncs. 2622 * run-allfcts.sh: Add nested_funcs and class_func testcases. 2623 * testfile_nested_funcs.bz2: New test file. 2624 * testfile_class_func.bz2: Likewise. 2625 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and 2626 testfile_nested_funcs.bz2. 2627 26282013-08-30 Mark Wielaard <mjw@redhat.com> 2629 2630 * Makefile.am (check_PROGRAMS): Add varlocs. 2631 (TESTS): Add run-varlocs.sh. 2632 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c, 2633 testfile_const_type.bz2, testfile_implicit_pointer.c, 2634 testfile_implicit_pointer.bz2, testfile_parameter_ref.c, 2635 testfile_entry_value.c, testfile_entry_value.bz2, 2636 testfile_implicit_value.c and testfile_implicit_value.bz2. 2637 (varlocs_LDADD): New. 2638 * run-varlocs: New test. 2639 * testfile_const_type.c: New test source file. 2640 * testfile_entry_value.c: Likewise. 2641 * testfile_implicit_pointer.c: Likewise. 2642 * testfile_implicit_value.c: Likewise. 2643 * testfile_parameter_ref.c: Likewise. 2644 * testfile_const_type.bz2: New test file. 2645 * testfile_entry_value.bz2: Likewise. 2646 * testfile_implicit_pointer.bz2: Likewise. 2647 * testfile_implicit_value.bz2: Likewise. 2648 * testfile_parameter_ref.bz2: Likewise. 2649 * varlocs.c: New test source. 2650 26512013-08-29 Mark Wielaard <mjw@redhat.com> 2652 2653 * run-addrcfi.sh: Add case for EM_ARM. 2654 * testfilearm.bz2: New testfile. 2655 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2. 2656 26572013-08-28 Mark Wielaard <mjw@redhat.com> 2658 2659 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame 2660 completely missing. 2661 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64. 2662 * testfiles390.bz2: New testfile. 2663 * testfiles390x.bz2: Likewise. 2664 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and 2665 testfiles390x.bz2. 2666 26672013-08-28 Mark Wielaard <mjw@redhat.com> 2668 2669 * addrcfi.c (handle_cfi): Use printf not error. 2670 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64. 2671 * testfileppc32.bz2: New testfile. 2672 * testfileppc64.bz2: Likewise. 2673 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and 2674 testfileppc64.bz2. 2675 26762013-08-27 Mark Wielaard <mjw@redhat.com> 2677 2678 * run-addrcfi.sh: New test. 2679 * Makefile.am (TESTS): Add run-addrcfi.sh. 2680 (EXTRA_DIST): Likewise. 2681 * addrcfi.c (op_name): New function. 2682 (print_detail): Call and print op_name. Check ops, not result 2683 to check if this is "same value" or "undefined". 2684 (handle_cfi): Make sure cfa_ops doesn't point to NULL. 2685 26862013-08-13 Mark Wielaard <mjw@redhat.com> 2687 2688 * run-addr2line-i-test.sh: New test. 2689 * testfile-inlines.bz2: New testfile. 2690 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and 2691 testfile-inlines.bz2. 2692 (TESTS): Add run-addr2line-i-test.sh. 2693 26942013-08-12 Mark Wielaard <mjw@redhat.com> 2695 2696 * run-addr2line-test.sh: New test. 2697 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh. 2698 (TESTS): Likewise. 2699 27002013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com> 2701 2702 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of 2703 the entries. 2704 27052013-07-02 Mark Wielaard <mjw@redhat.com> 2706 2707 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in 2708 testfilenolines.bz2. 2709 27102013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com> 2711 2712 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2, 2713 test-core.core.bz2 and test-core.exec.bz2. 2714 * run-addrname-test.sh: New test for these files. 2715 * run-unstrip-n.sh: Update expected output. New test for these files. 2716 * test-core-lib.so.bz2: New file. 2717 * test-core.core.bz2: New file. 2718 * test-core.exec.bz2: New file. 2719 27202013-05-03 Mark Wielaard <mjw@redhat.com> 2721 2722 * testfilenolines.bz2: New test file. 2723 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2. 2724 * run-get-lines.sh: Run testrun_compare on testfilenolines. 2725 27262013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com> 2727 2728 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf. 2729 27302013-04-29 Mark Wielaard <mjw@redhat.com> 2731 2732 * test-subr.sh: Don't use pushd, just cd into test-dir. 2733 (exit_cleanup): Don't use popd, just cd .. to get out. 2734 27352013-04-27 Mark Wielaard <mjw@redhat.com> 2736 2737 * test-subr.sh (exit_cleanup): New function. 2738 (trap): Use exit_cleanup as argument. 2739 * run-native-test.sh (native_exit): New function. 2740 (trap): For EXIT (0) use native_exit as argument. 2741 27422013-04-27 Mark Wielaard <mjw@redhat.com> 2743 2744 * update1.c (main): Use unique tempfile name and unlink file. 2745 * update2.c (main): Likewise. 2746 * update3.c (main): Likewise. 2747 * update4.c (main): Use unique tempfile name. 2748 27492013-04-27 Mark Wielaard <mjw@redhat.com> 2750 2751 * run-alldts.sh: Add testfile-alldts to tempfiles. 2752 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles. 2753 * run-macro-test.sh: Add readelf.macros.out to tempfiles. 2754 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2 2755 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles. 2756 27572013-04-26 Mark Wielaard <mjw@redhat.com> 2758 2759 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment, 2760 remove wrapper. 2761 (TESTS_ENVIRONMENT): Likewise. 2762 (installed_LOG_COMPILER): New variable defining wrapper. 2763 (LOG_COMPILER): Likewise. 2764 * run-*.sh: Fixup location of input and output files. 2765 * test-subr.sh: Create test_dir, pushd to execute test in. 2766 (trap): Remove test_dir. 2767 (testfiles): Use abs_srcdir. 2768 (installed_testrun): Match on abs_builddir or abs_top_builddir. 2769 (self_test_files): Adjust path. 2770 27712013-04-24 Mark Wielaard <mjw@redhat.com> 2772 2773 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 2774 27752013-03-25 Mark Wielaard <mjw@redhat.com> 2776 2777 * run-readelf-aranges.sh: New test. 2778 * testfilefoobarbaz.bz2: New test file. 2779 * Makefile.am (TESTS): Add run-readelf-aranges.sh. 2780 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2. 2781 27822013-03-25 Mark Wielaard <mjw@redhat.com> 2783 2784 * run-readelf-dwz-multi.sh: Expect high_pc also as address. 2785 27862013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com> 2787 2788 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align. 2789 (TESTS): Add run-dwfl-report-elf-align.sh. 2790 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and 2791 testfile-dwfl-report-elf-align-shlib.so.bz2 . 2792 (dwfl_report_elf_align_LDADD): New. 2793 * dwfl-report-elf-align.c: New file. 2794 * run-dwfl-report-elf-align.sh: New file. 2795 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file. 2796 27972013-03-12 Mark Wielaard <mjw@redhat.com> 2798 2799 * run-dwfllines.sh: New test. 2800 * dwfllines.c: New test program. 2801 * Makefile.am (TESTS): Add run-dwfllines.sh. 2802 (EXTRA_DIST): Likewise. 2803 (dwfllines_LDADD): New variable. 2804 28052013-02-22 Mark Wielaard <mjw@redhat.com> 2806 2807 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh. 2808 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS. 2809 28102013-02-15 Mark Wielaard <mjw@redhat.com> 2811 2812 * testfile-dwzstr.bz2: New testfile. 2813 * testfile-dwzstr.multi.bz2: Likewise. 2814 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test. 2815 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and 2816 testfile-dwzstr.multi.bz2. 2817 28182013-01-30 Mark Wielaard <mjw@redhat.com> 2819 2820 * testfileloc.bz2: New testfile. 2821 * run-readelf-loc.sh: New test. 2822 * Makefile.am (TESTS): Add run-readelf-loc.sh. 2823 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2. 2824 28252013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> 2826 2827 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390 2828 and s390x core notes. 2829 * testfile67.bz2: New file. 2830 * testfile68.bz2: New file. 2831 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 . 2832 28332013-01-23 Mark Wielaard <mjw@redhat.com> 2834 2835 * testfilebasmin.bz2: New testfile. 2836 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2. 2837 * run-readelf-s.sh: Test testfilebasmin. 2838 * run-dwflsyms.sh: Likewise. 2839 28402013-01-16 Mark Wielaard <mjw@redhat.com> 2841 2842 * Makefile.am (check_PROGRAMS): Add dwflsyms. 2843 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh. 2844 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2, 2845 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2, 2846 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh. 2847 (dwflsyms_LDADD): New variable. 2848 28492013-01-07 Roland McGrath <roland@hack.frob.com> 2850 2851 * run-prelink-addr-test.sh: Use ln -snf. 2852 28532012-12-03 Mark Wielaard <mjw@redhat.com> 2854 2855 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no. 2856 28572012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com> 2858 2859 * run-addrname-test.sh: New test for PIE relocation. 2860 * testfile70.core.bz2: New file. 2861 * testfile70.exec.bz2: New file. 2862 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and 2863 testfile70.exec.bz2 . 2864 28652012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com> 2866 2867 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2, 2868 testfile69.core.bz2 and testfile69.so.bz2 . 2869 28702012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com> 2871 2872 * run-addrname-test.sh: New test for DSO with build-id bias. 2873 * testfile69.core.bz2: New file. 2874 * testfile69.so.bz2: New file. 2875 28762012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> 2877 2878 * run-addrname-test.sh: New test for core vDSO bias. 2879 * testfile65.bz2: New file. 2880 28812012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> 2882 2883 * run-addrname-test.sh: New test for symbol preferences. 2884 * testfile64.bz2: New file. 2885 28862012-10-01 Mark Wielaard <mjw@redhat.com> 2887 2888 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND. 2889 * test-wrapper.sh: Export VALGRIND_CMD if available. 2890 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog. 2891 (installed_testrun): Likewise. 2892 28932012-09-24 Petr Machata <pmachata@redhat.com> 2894 2895 * testfile63.bz2: New testfile. 2896 * run-readelf-mixed-corenote.sh: New test. 2897 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh. 2898 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh. 2899 29002012-09-24 Petr Machata <pmachata@redhat.com> 2901 2902 * testfile62.bz2: New testfile. 2903 * run-readelf-vmcoreinfo.sh: New test. 2904 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh. 2905 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh. 2906 29072012-09-18 Petr Machata <pmachata@redhat.com> 2908 2909 * testfile61.bz2: New testfile. 2910 * run-allregs.sh: Run reg_test testfile61. 2911 * Makefile.am (EXTRA_DIST): Add testfile61.bz2. 2912 29132012-08-24 Mark Wielaard <mjw@redhat.com> 2914 2915 * Makefile.am (EXTRA_DIST): Add testfile60.bz2. 2916 29172012-08-22 Jeff Kenton <jkenton@tilera.com> 2918 2919 * testfile60.bz2: New testfile. 2920 * run-allregs.sh: Run reg_test testfile60. 2921 29222012-08-24 Mark Wielaard <mjw@redhat.com> 2923 2924 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if 2925 ENABLE_DWZ. 2926 29272012-08-16 Mark Wielaard <mjw@redhat.com> 2928 2929 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf 2930 macros. 2931 * show-die-info.c (tagnames): Removed. 2932 (attrs): Removed. 2933 (dwarf_tag_string): New function using known-dwarf macros. 2934 (dwarf_attr_string): Likewise. 2935 (handle): Call dwarf_tag_string and dwarf_attr_string instead. 2936 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89. 2937 29382012-06-27 Mark Wielaard <mjw@redhat.com> 2939 2940 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh. 2941 (EXTRA_DIST): Add run-readelf-dwz-multi.sh, 2942 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and 2943 testfile_multi_main.bz2. 2944 * run-readelf-dwz-multi.sh: New test. 2945 * libtestfile_multi_shared.so.bz2: New testfile. 2946 * testfile_multi.dwz.bz2: New testifle. 2947 * testfile_multi_main.bz2: New testifle. 2948 29492012-08-01 Petr Machata <pmachata@redhat.com> 2950 2951 * run-test-archive64.sh: New test. 2952 * testarchive64.a.bz2: New testfile. 2953 * Makefile.am (TESTS): Add run-test-archive64.sh. 2954 (EXTRA_DIST): Likewise. 2955 29562012-08-01 Mark Wielaard <mjw@redhat.com> 2957 2958 * run-nm-self.sh: New test. 2959 * run-readelf-self.sh: Likewise. 2960 * test-subr.sh (testrun_on_self_quiet): New function. 2961 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh. 2962 (EXTRA_DIST): Likewise. 2963 29642012-08-01 Mark Wielaard <mjw@redhat.com> 2965 2966 * test-subr.sh (self_test_files): New list of files. 2967 (testrun_on_self): New function. 2968 * run-elflint-self.sh: Use testrun_on_self. 2969 29702012-07-19 Mark Wielaard <mjw@redhat.com> 2971 2972 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr. 2973 (TESTS): Add run-elf_cntl_gelf_getshdr.sh. 2974 (EXTRA_DIST): Likewise. 2975 (test_elf_cntl_gelf_getshdr_LDADD): New. 2976 test-elf_cntl_gelf_getshdr.c: New test program. 2977 run-elf_cntl_gelf_getshdr.sh: New test script. 2978 29792012-07-19 Mark Wielaard <mjw@redhat.com> 2980 2981 * run-elflint-self.sh: runtests on ../backends/*so files. 2982 29832012-07-19 Mark Wielaard <mjw@redhat.com> 2984 2985 * run-unstrip-n.sh: test_cleanup. 2986 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2. 2987 29882012-07-11 Mark Wielaard <mjw@redhat.com> 2989 2990 * run-readelf-macro.sh: New test. 2991 * testfilemacro.bz2: New testfile. 2992 * Makefile.am (TESTS): Add run-readelf-macro.sh. 2993 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2. 2994 29952012-06-27 Mark Wielaard <mjw@redhat.com> 2996 2997 * run-readelf-gdb-index.sh: New test. 2998 * testfilegdbindex5.bz2: New testfile. 2999 * testfilegdbindex7.bz2: Likewise. 3000 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh. 3001 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and 3002 testfilegdbindex7.bz2. 3003 30042012-07-17 Mark Wielaard <mjw@redhat.com> 3005 3006 * testcore-rtlib-ppc.bz2: New testfile. 3007 * run-unstrip-n.sh: Check new ppc core testfile. 3008 30092012-06-26 Mike Frysinger <vapier@gentoo.org> 3010 3011 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. 3012 30132012-06-26 Mark Wielaard <mjw@redhat.com> 3014 3015 * run-macro-test.sh: New test. 3016 * testfile-macinfo.bz2: New testfile. 3017 * testfile-macros.bz2: Likewise. 3018 30192012-05-07 Mark Wielaard <mjw@redhat.com> 3020 3021 * low_high_pc.c: Use proper inttypes in printf formats. 3022 30232012-05-11 Mark Wielaard <mjw@redhat.com> 3024 3025 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C. 3026 30272012-05-07 Mark Wielaard <mjw@redhat.com> 3028 3029 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC. 3030 30312012-04-27 Mark Wielaard <mjw@redhat.com> 3032 3033 * Makefile.am (TESTS): Add run-low_high_pc.sh 3034 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2 3035 (noinst_PROGRAMS): Add low_high_pc. 3036 (low_high_pc_LDADD): New variable. 3037 * low_high_pc.c: New test. 3038 30392012-04-26 Mark Wielaard <mjw@redhat.com> 3040 3041 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh. 3042 * run-show-ciefde.sh: Removed old libdwarf test. 3043 * show-ciefde.c: Likewise. 3044 30452012-04-02 Mark Wielaard <mjw@redhat.com> 3046 3047 * Makefile.am (TESTS): Add run-unstrip-n.sh. 3048 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh. 3049 * run-unstrip-n.sh: New test. 3050 * testcore-rtlib.bz2: New testfile. 3051 30522012-04-02 Mark Wielaard <mjw@redhat.com> 3053 3054 * Makefile.am (TESTS): Add run-readelf-d.sh. 3055 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh. 3056 * run-readelf-d.sh: New test. 3057 * run-elflint-test.sh: Check new testfile. 3058 30592012-03-21 Tom Tromey <tromey@redhat.com> 3060 3061 * typeiter.c: New file. 3062 * run-typeiter.sh: New file. 3063 * testfile59.bz2: New file. 3064 * Makefile.am (noinst_PROGRAMS): Add typeiter. 3065 (TESTS): Add run-typeiter.sh. 3066 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2. 3067 (typeiter_LDADD): New variable. 3068 30692012-02-21 Kurt Roeckx <kurt@roeckx.be> 3070 3071 * run-alldts.sh: testrun ./alldts. 3072 30732012-02-21 Roland McGrath <roland@hack.frob.com> 3074 3075 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH. 3076 * test-subr.sh (installed_testrun): Likewise. 3077 30782012-01-18 Roland McGrath <roland@hack.frob.com> 3079 3080 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation; 3081 it will have been inherited correctly from the test harness. 3082 * asm-tst5.c (main): Likewise. 3083 * asm-tst6.c (main): Likewise. 3084 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>. 3085 30862011-07-09 Roland McGrath <roland@hack.frob.com> 3087 3088 * sha1-tst.c: File removed. 3089 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it. 3090 (sha1_tst_LDADD): Variable removed. 3091 3092 * md5-sha1-test.c: New file. 3093 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it. 3094 (md5_sha1_test_LDADD): New variable. 3095 30962011-05-30 Mark Wielaard <mjw@redhat.com> 3097 3098 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and 3099 run-rerequest_tag.sh 3100 31012011-05-24 Mark Wielaard <mjw@redhat.com> 3102 3103 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2. 3104 * run-strip-reloc.sh: Add hello_s390.ko testcase. 3105 * hello_s390.ko.bz2: New test file. 3106 31072011-05-23 Mark Wielaard <mjw@redhat.com> 3108 3109 * Makefile.am (TESTS): Add run-strip-reloc.sh. 3110 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2 3111 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2 3112 * run-strip-reloc.sh: New test. 3113 * hello_i386.ko.bz2: New test file. 3114 * hello_x86_64.ko.bz2: Likewise. 3115 * hello_ppc64.ko.bz2: Likewise. 3116 31172011-05-18 Mark Wielaard <mjw@redhat.com> 3118 3119 * run-strip-groups.sh: New test. 3120 * testfile58.bz2: New test file. 3121 * Makefile.am (EXTRA_DIST): Add testfile58.bz2. 3122 (TESTS): Add run-strip-groups.sh. 3123 (EXTRA_DIST): Likewise. 3124 31252011-03-28 Marek Polacek <mpolacek@redhat.com> 3126 3127 * alldts.c: New file. 3128 * run-alldts.sh: Use it. 3129 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 3130 (alldts_LDADD): New variable. 3131 31322011-03-02 Marek Polacek <mpolacek@redhat.com> 3133 3134 * dwarf-getstring.c: New test. 3135 * run-dwarf-getstring.sh: And its wrapper. 3136 * Makefile.am (EXTRA_DIST): Add and update all. 3137 31382011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> 3139 3140 * Makefile.am (TESTS): Add run-readelf-twofiles.sh. 3141 * run-readelf-twofiles.sh: New file. 3142 31432011-02-25 Mark Wielaard <mjw@redhat.com> 3144 3145 * Makefile.am (BUILD_RPATH): Be consistent in naming. 3146 31472011-02-02 Josh Stone <jistone@redhat.com> 3148 3149 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit. 3150 * testfile55-64.bz2, testfile55-64.debug.bz2, 3151 testfile55-64.prelink.bz2, testfile55-32.bz2, 3152 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New. 3153 * Makefile.am (EXTRA_DIST): Add and update all. 3154 31552011-01-12 Roland McGrath <roland@redhat.com> 3156 3157 * run-prelink-addr-test.sh: Make symlinks to find .debug files 3158 corresponding to .noshdrs files. 3159 31602011-01-11 Josh Stone <jistone@redhat.com> 3161 3162 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit. 3163 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2, 3164 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2, 3165 testfile54-64.so.bz2, testfile54-64.so.debug.bz2, 3166 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New. 3167 * Makefile.am (EXTRA_DIST): Add and update all. 3168 3169 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests. 3170 * testfile53.bz2, testfile53.debug.bz2, 3171 testfile53.prelink.bz2: Deleted, so... 3172 * testfile53-64.bz2, testfile53-64.debug.bz2, 3173 testfile53-64.prelink.bz2: Recreated with 64-bit names. 3174 * testfile53-32.bz2, testfile53-32.debug.bz2, 3175 testfile53-32.prelink.bz2: New in 32-bit. 3176 * Makefile.am (EXTRA_DIST): Add and update all. 3177 3178 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests. 3179 * testfile52.so.bz2, testfile52.so.debug.bz2, 3180 testfile52.prelink.so.bz2: Deleted, so... 3181 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2, 3182 testfile52-32.prelink.so.bz2: Recreated with 32-bit names. 3183 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers. 3184 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2, 3185 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files. 3186 * Makefile.am (EXTRA_DIST): Add and update all. 3187 31882011-01-10 Josh Stone <jistone@redhat.com> 3189 3190 * run-prelink-addr-test.sh: New test for prelinked addrs. 3191 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3192 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files. 3193 * testfile52.prelink.so.bz2: New data file, shows REL->RELA. 3194 * testfile53.bz2, testfile53.debug.bz2: New data files. 3195 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap. 3196 * Makefile.am (EXTRA_DIST): Add them. 3197 31982010-06-04 Roland McGrath <roland@redhat.com> 3199 3200 * run-unstrip-test.sh: Also test modifying the file in place. 3201 32022010-04-22 Roland McGrath <roland@redhat.com> 3203 3204 * addrcfi.c (handle_cfi): Fix function name in error message. 3205 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe. 3206 32072010-04-14 Roland McGrath <roland@redhat.com> 3208 3209 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too. 3210 32112010-04-10 Ulrich Drepper <drepper@redhat.com> 3212 3213 * msg_tst.c: Adjust expected error message. 3214 32152010-04-01 Petr Machata <pmachata@redhat.com> 3216 3217 * test-flag-nobits.c: New test. 3218 * run-test-flag-nobits.sh: And its wrapper. 3219 * Makefile.am (noinst_PROGRAMS, TESTS): Add them. 3220 (test_flag_nobits_LDADD): New variable. 3221 32222010-02-15 Roland McGrath <roland@redhat.com> 3223 3224 * Makefile.am: Use config/eu.am for common stuff. 3225 3226 * asm-tst9.c (main): Rename local to avoid shadowing another local. 3227 32282009-07-22 Roland McGrath <roland@redhat.com> 3229 3230 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention. 3231 32322009-07-08 Roland McGrath <roland@redhat.com> 3233 3234 * addrcfi.c: New file. 3235 * Makefile.am (noinst_PROGRAMS): Add it. 3236 (addrcfi_LDADD): New variable. 3237 32382009-05-07 Petr Machata <pmachata@redhat.com> 3239 3240 * testfile51.bz2: New data file. 3241 * dwarf-getmacros.c: New test core. 3242 * run-dwarf-getmacros.sh: New test wrapper. 3243 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 3244 (dwarf_getmacros_LDADD): New variable. 3245 32462009-04-23 Ulrich Drepper <drepper@redhat.com> 3247 3248 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). 3249 (rdwrmmap_LDADD): Add $(libmudflap). 3250 32512009-04-21 Roland McGrath <roland@redhat.com> 3252 3253 * testfile50.bz2: New data file. 3254 * Makefile.am (EXTRA_DIST): Add it. 3255 * run-dwfl-addr-sect.sh: Add a case using it. 3256 32572008-12-31 Ulrich Drepper <drepper@redhat.com> 3258 3259 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, 3260 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, 3261 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, 3262 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw, 3263 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd, 3264 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest, 3265 roundss, roundps, roundpd, and roundsd. 3266 * testfile45.S.bz2: Likewise. 3267 * testfile44.expect.bz2: Adjust accordingly. 3268 * testfile45.expect.bz2: Likewise. 3269 3270 * testfile44.S.bz2: Add tests for blendvpd and blendvps. 3271 * testfile45.S.bz2: Likewise. 3272 * testfile44.expect.bz2: Adjust accordingly. 3273 * testfile45.expect.bz2: Likewise. 3274 32752008-12-30 Ulrich Drepper <drepper@redhat.com> 3276 3277 * testfile44.S.bz2: Add tests for blendpd and blendps. 3278 * testfile45.S.bz2: Likewise. 3279 * testfile44.expect.bz2: Adjust accordingly. 3280 * testfile45.expect.bz2: Likewise. 3281 32822008-12-19 Ulrich Drepper <drepper@redhat.com> 3283 3284 * testfile44.S.bz2: Add tests for AMD 3DNOW. 3285 * testfile45.S.bz2: Likewise. 3286 * testfile44.expect.bz2: Adjust accordingly. 3287 * testfile45.expect.bz2: Likewise. 3288 32892008-11-26 Roland McGrath <roland@redhat.com> 3290 3291 * dwfl-bug-getmodules.c: New file. 3292 * Makefile.am (noinst_PROGRAMS): Add it. 3293 (dwfl_bug_getmodules_LDADD): New variable. 3294 32952008-09-10 Roland McGrath <roland@redhat.com> 3296 3297 * test-subr.sh (LC_ALL): Export it set to "C". 3298 * run-dwfl-addr-sect.sh: Don't do it here. 3299 * run-strings-test.sh: Likewise. 3300 33012008-08-21 Denys Vlasenko <dvlasenk@redhat.com> 3302 3303 * run-addrname-test.sh: Add a new case. 3304 * testfile49.bz2: New data file. 3305 * Makefile.am (EXTRA_DIST): Add it. 3306 33072008-04-10 Roland McGrath <roland@redhat.com> 3308 3309 * testfile48.bz2, testfile48.bz2.debug: New data files. 3310 * Makefile.am (EXTRA_DIST): Add them. 3311 * run-strip-test8.sh: Use them. 3312 3313 * testfile16.bz2, testfile16.debug.bz2: Replace data files. 3314 3315 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections. 3316 * run-strip-test8.sh: New file. 3317 * testfile47.bz2: New data file. 3318 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3319 33202008-03-31 Roland McGrath <roland@redhat.com> 3321 3322 * run-early-offscn.sh: New file. 3323 * early-offscn.c: New file. 3324 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them. 3325 (early_offscn_LDADD): New variable. 3326 33272008-03-19 Roland McGrath <roland@redhat.com> 3328 3329 * run-addrname-test.sh: Add a new case. 3330 33312008-02-22 Roland McGrath <roland@redhat.com> 3332 3333 * run-elflint-test.sh: Typo fix. 3334 33352008-02-21 Roland McGrath <roland@redhat.com> 3336 3337 * run-disasm-x86.sh: Use uname instead of arch, keep tools required 3338 for the build down to minimum. 3339 * run-disasm-x86-64.sh: Likewise. 3340 33412008-02-20 Roland McGrath <roland@redhat.com> 3342 3343 * testfile46.bz2: New data file. 3344 * Makefile.am (EXTRA_DIST): Add it. 3345 * run-elflint-test.sh: Test on it. 3346 33472008-02-01 Ulrich Drepper <drepper@redhat.com> 3348 3349 * Makefile.am: Hook up sha1-tst.c. 3350 * sha1-tst.c: New file. 3351 33522008-01-21 Roland McGrath <roland@redhat.com> 3353 3354 * testfile45.S.bz2: Add tests for cltq, cqto. 3355 * testfile45.expect.bz2: Adjust. 3356 33572008-01-14 Ulrich Drepper <drepper@redhat.com> 3358 3359 * testfile45.S.bz2: Add more tests. 3360 * testfile45.expect.bz2: Adjust. 3361 33622008-01-11 Ulrich Drepper <drepper@redhat.com> 3363 3364 * testfile45.expect.bz2: Adjust for adding of address for %rip based 3365 address mode. 3366 33672008-01-10 Ulrich Drepper <drepper@redhat.com> 3368 3369 * testfile45.S.bz2: Add more tests. 3370 * testfile45.expect.bz2: Adjust. 3371 33722008-01-08 Ulrich Drepper <drepper@redhat.com> 3373 3374 * Makefile.am (TESTS): Add run-disasm-x86-64.sh. 3375 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2, 3376 run-disasm-x86-64.sh. 3377 * run-disasm-x86-64.sh: New file. 3378 * testfile45.S.bz2: New file. 3379 * testfile45.expect.bz2: New file. 3380 * testfile44.S.bz2: New tests. 3381 * testfile44.expect.bz2: Adjust. 3382 33832008-01-04 Ulrich Drepper <drepper@redhat.com> 3384 3385 * testfile44.S.bz2: New tests. 3386 * testfile44.expect.bz2: Adjust. 3387 33882008-01-04 Roland McGrath <roland@redhat.com> 3389 3390 * dwfl-bug-fd-leak.c (main): Add a cast. 3391 33922008-01-03 Ulrich Drepper <drepper@redhat.com> 3393 3394 * testfile44.S.bz2: New tests. 3395 * testfile44.expect.bz2: Adjust. 3396 33972008-01-01 Ulrich Drepper <drepper@redhat.com> 3398 3399 * line2addr.c: Use %m modifier instead of %a to appease gcc. 3400 34012008-01-01 Ulrich Drepper <drepper@redhat.com> 3402 3403 * testfile44.S.bz2: New tests. 3404 * testfile44.expect.bz2: Adjust. 3405 34062007-12-31 Ulrich Drepper <drepper@redhat.com> 3407 3408 * testfile44.S.bz2: New tests. 3409 * testfile44.expect.bz2: Adjust. 3410 34112007-12-30 Ulrich Drepper <drepper@redhat.com> 3412 3413 * testfile44.S.bz2: New tests. 3414 * testfile44.expect.bz2: Adjust. 3415 34162007-12-29 Ulrich Drepper <drepper@redhat.com> 3417 3418 * testfile44.s.bz2: New tests. 3419 * testfile44.expect.bz2: Adjust. 3420 34212007-12-28 Ulrich Drepper <drepper@redhat.com> 3422 3423 * testfile44.S.bz2: New tests. 3424 * testfile44.expect.bz2: Adjust. 3425 34262007-12-27 Ulrich Drepper <drepper@redhat.com> 3427 3428 * testfile44.S.bz2: New tests. 3429 * testfile44.expect.bz2: Adjust. 3430 34312007-12-26 Ulrich Drepper <drepper@redhat.com> 3432 3433 * testfile44.S.bz2: New tests. 3434 * testfile44.expect.bz2: Adjust 3435 34362007-12-21 Ulrich Drepper <drepper@redhat.com> 3437 3438 * testfile44.S.bz2: More tests. 3439 * testfile44.expect.bz2: Adjust appropriately. 3440 34412007-12-19 Ulrich Drepper <drepper@redhat.com> 3442 3443 * Makefile.am (TESTS): Add run-disasm.sh. 3444 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and 3445 testfile44.expect.bz2. 3446 * run-disasm.sh: New file. 3447 * testfile44.S.bz2: New file. 3448 * testfile44.expect.bz2: New file. 3449 34502007-12-15 Roland McGrath <roland@redhat.com> 3451 3452 * run-allregs.sh: Change expected output for powerpc spefscr. 3453 34542007-10-20 Roland McGrath <roland@redhat.com> 3455 3456 * run-dwfl-addr-sect.sh: Change expected output, no errors. 3457 34582007-10-19 Roland McGrath <roland@redhat.com> 3459 3460 * dwfl-addr-sect.c (handle_address): Return int. 3461 Don't exit on error, just return nonzero. 3462 (main): Collect results. 3463 * run-dwfl-addr-sect.sh: New file. 3464 * testfile43.bz2: New data file. 3465 * Makefile.am (EXTRA_DIST, TESTS): Add them. 3466 34672007-10-18 Roland McGrath <roland@redhat.com> 3468 3469 * run-allregs.sh: Update expected ppc output for vrsave/vscr. 3470 34712007-10-16 Roland McGrath <roland@redhat.com> 3472 3473 * test-subr.sh (remove_files): Don't pass -Bb to diff. 3474 34752007-10-09 Roland McGrath <roland@redhat.com> 3476 3477 * dwflmodtest.c (print_module): Don't use %p in output. 3478 * run-dwfl-bug-offline-rel.sh: Updated expected output. 3479 34802007-10-08 Roland McGrath <roland@redhat.com> 3481 3482 * testfile42.bz2: New data file. 3483 * Makefile.am (EXTRA_DIST): Add it. 3484 * run-elflint-test.sh: New test on that file. 3485 34862007-10-04 Roland McGrath <roland@redhat.com> 3487 3488 * run-readelf-test4.sh: New file. 3489 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3490 34912007-10-03 Roland McGrath <roland@redhat.com> 3492 3493 * run-readelf-test3.sh: New file. 3494 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3495 34962007-10-01 Roland McGrath <roland@redhat.com> 3497 3498 * run-readelf-test2.sh: New file. 3499 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3500 35012007-09-11 Roland McGrath <roland@redhat.com> 3502 3503 * run-addrname-test.sh: Add a new case. 3504 * testfile41.bz2: New data file. 3505 * Makefile.am (EXTRA_DIST): Add it. 3506 35072007-08-23 Roland McGrath <roland@redhat.com> 3508 3509 * run-allregs.sh: Update expected x86-64 output for %rflags. 3510 35112007-08-12 Roland McGrath <roland@redhat.com> 3512 3513 * run-strip-test7.sh: New file. 3514 * testfile39.bz2: New data file. 3515 * testfile40.bz2: New data file. 3516 * testfile40.debug.bz2: New data file. 3517 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3518 35192007-08-09 Roland McGrath <roland@redhat.com> 3520 3521 * dwfl-bug-report.c: Fix header inclusion. 3522 35232007-08-08 Roland McGrath <roland@redhat.com> 3524 3525 * run-addrname-test.sh: Add a new case using addr2line -S. 3526 * testfile38.bz2: New data file. 3527 * Makefile.am (EXTRA_DIST): Add it. 3528 35292007-07-16 Roland McGrath <roland@redhat.com> 3530 3531 * dwfl-bug-report.c: New file. 3532 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 3533 (dwfl_bug_report_LDADD): New variable. 3534 35352007-06-06 Roland McGrath <roland@redhat.com> 3536 3537 * run-unstrip-test.sh: Declare testfile.unstrip for removal. 3538 35392007-06-05 Ulrich Drepper <drepper@redhat.com> 3540 3541 * Makefile.am (EXTRA_DIST): Add missing line continuation and 3542 testfile37.bz and testfile37.debug.bz2. 3543 35442007-05-23 Roland McGrath <roland@redhat.com> 3545 3546 * run-allregs.sh: Update expected Alpha results. 3547 35482007-05-18 Roland McGrath <roland@redhat.com> 3549 3550 * run-strip-test4.sh (stripped, debugfile): Use new reference files. 3551 * testfile37.bz2: New data file. 3552 * testfile37.debug.bz2: New data file. 3553 * run-unstrip-test2.sh: New file. 3554 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3555 35562007-05-10 Roland McGrath <roland@redhat.com> 3557 3558 * run-dwfl-bug-offline-rel.sh: New file. 3559 * testfile36.bz2: New data file. 3560 * testfile36.debug.bz2: New data file. 3561 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3562 35632007-04-28 Roland McGrath <roland@redhat.com> 3564 3565 * run-strip-test6.sh (stripped, debugfile): Use new reference files. 3566 * testfile35.bz2: New data file. 3567 * testfile35.debug.bz2: New data file. 3568 * run-unstrip-test.sh: New file. 3569 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3570 3571 * run-strip-test.sh: Do all elflint and cmp runs even when some fail. 3572 35732007-04-26 Roland McGrath <roland@redhat.com> 3574 3575 * run-elflint-self.sh: Run all tests even if one fails. 3576 3577 * run-allregs.sh: Add expected output for alpha. 3578 35792007-04-24 Roland McGrath <roland@redhat.com> 3580 3581 * run-strip-test.sh: When we saved the debug info, test unstrip too. 3582 35832007-04-22 Roland McGrath <roland@redhat.com> 3584 3585 * run-allregs.sh: Update expected register info. 3586 35872007-04-16 Roland McGrath <roland@redhat.com> 3588 3589 * dwfl-addr-sect.c: New file. 3590 * Makefile.am (noinst_PROGRAMS): Add it. 3591 (dwfl_addr_sect_LDADD): New variable. 3592 35932007-04-05 Roland McGrath <roland@redhat.com> 3594 3595 * get-files.c: Test dwarf_getsrcdirs. 3596 * run-get-files.sh: Update expected output. 3597 35982007-04-01 Roland McGrath <roland@redhat.com> 3599 3600 * run-allregs.sh: Updated expected output for x86_64. 3601 36022007-03-04 Roland McGrath <roland@redhat.com> 3603 3604 * dwfl-bug-fd-leak.c: New file. 3605 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 3606 (dwfl_bug_fd_leak_LDADD): New variable. 3607 3608 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf, 3609 show what files have been located. 3610 36112007-02-02 Roland McGrath <roland@redhat.com> 3612 3613 * run-addrname-test.sh: New file. 3614 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3615 * testfile34.bz2: New data file. 3616 * Makefile.am (EXTRA_DIST): Add it. 3617 36182007-01-20 Roland McGrath <roland@redhat.com> 3619 3620 * testfile33.bz2: New data file. 3621 * Makefile.am (EXTRA_DIST): Add it. 3622 * run-elflint-test.sh: Test on it too. 3623 36242007-01-18 Roland McGrath <roland@redhat.com> 3625 3626 * Makefile.am (CFLAGS): Don't molest it. 3627 36282007-01-11 Roland McGrath <roland@redhat.com> 3629 3630 * testfile32.bz2: New data file. 3631 * Makefile.am (EXTRA_DIST): Add it. 3632 * run-elflint-test.sh: Test on it too. 3633 36342007-02-04 Ulrich Drepper <drepper@redhat.com> 3635 3636 * arls.c: New file. 3637 * Makefile (noinst_PROGRAMS): Add arls. 3638 3639 * run-ranlib-test2.sh: Fix type in comment. 3640 36412007-01-10 Ulrich Drepper <drepper@redhat.com> 3642 3643 * run-elflint-self.sh (runtest): Show which file has the problem. 3644 36452007-01-10 Roland McGrath <roland@redhat.com> 3646 3647 * dwfl-bug-addr-overflow.c: New file. 3648 * Makefile.am (TESTS): Add it. 3649 (dwfl_bug_addr_overflow_LDADD): New variable. 3650 36512006-12-17 Roland McGrath <roland@redhat.com> 3652 3653 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg. 3654 36552006-09-05 Roland McGrath <roland@redhat.com> 3656 3657 * run-strings-test.sh: Export LC_ALL=C for the test. 3658 36592006-08-29 Roland McGrath <roland@redhat.com> 3660 3661 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh. 3662 * run-arsymtest.sh: Likewise. 3663 3664 * run-native-test.sh (native.c compilation): Add some braces. 3665 36662006-08-22 Roland McGrath <roland@redhat.com> 3667 3668 * allregs.c (dwarf_encoding_string): New function, swiped from readelf. 3669 (struct reginfo): New members bits, type. 3670 (one_register, match_register): Update to take new args, 3671 record and display new info. 3672 (main): Display new info. 3673 * run-allregs.sh: Update expected results. 3674 36752006-08-03 Roland McGrath <roland@redhat.com> 3676 3677 * run-allregs.sh: Add sparc cases. 3678 * testfile30.bz2: New data file. 3679 * testfile31.bz2: New data file. 3680 * Makefile.am (EXTRA_DIST): Add them. 3681 36822006-07-21 Roland McGrath <roland@redhat.com> 3683 3684 * allregs.c (struct reginfo): Increase size of name. 3685 (one_register): Assert that it's big enough. 3686 36872006-04-04 Roland McGrath <roland@redhat.com> 3688 3689 * run-bug1-test.sh: Test a second case, to cover both byte orders. 3690 * testfile29.bz2: New file. 3691 * testfile29.rdwr.bz2: New file. 3692 * Makefile.am (EXTRA_DIST): Add them. 3693 36942006-04-04 Ulrich Drepper <drepper@redhat.com> 3695 3696 * Makefile.am: Add rules to run run-bug1-test.sh. 3697 * rdwrmmap.c: New file. 3698 * run-bug1-test.sh: New file. 3699 * testfile28.bz2: New file. 3700 * testfile28.rdwr.bz2: New file. 3701 37022006-03-09 Roland McGrath <roland@redhat.com> 3703 3704 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link. 3705 37062006-03-01 Roland McGrath <roland@redhat.com> 3707 3708 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h 3709 changes matching 3.0 spec. 3710 37112006-01-13 Roland McGrath <roland@redhat.com> 3712 3713 * run-native-test.sh: Do kill -9 and reap explicitly at end, since 3714 bash 3.1 whines when it's done in the trap 0 handler. 3715 37162006-01-11 Roland McGrath <roland@redhat.com> 3717 3718 * testfile26.bz2: New data file. 3719 * testfile27.bz2: New data file. 3720 * Makefile.am (EXTRA_DIST): Add them. 3721 * run-allregs.sh: Test s390 data. 3722 37232005-12-14 Roland McGrath <roland@redhat.com> 3724 3725 * run-native-test.sh: Redirect output from native test process. 3726 37272005-12-13 Roland McGrath <roland@redhat.com> 3728 3729 * allregs.c (main): Fail if we find no registers. 3730 3731 * run-native-test.sh: New file. 3732 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3733 37342005-12-10 Ulrich Drepper <drepper@redhat.com 3735 3736 * run-readelf-test1.sh: New file. 3737 * Makefile.am (TESTS): Add run-readelf-test1.sh. 3738 (EXTRA_DIST): Likewise. 3739 37402005-12-07 Roland McGrath <roland@redhat.com> 3741 3742 * ecp.c (main): Use elf_end to clean up. 3743 37442005-11-25 Roland McGrath <roland@redhat.com> 3745 3746 * coverage.sh: Given -v argument, print names of unused files. 3747 3748 * addrscopes.c (main): Use dwfl_end before return. 3749 * allregs.c (main): Likewise. 3750 * find-prologues.c (main): Likewise. 3751 * funcretval.c (main): Likewise. 3752 * funcscopes.c (main): Likewise. 3753 * line2addr.c (main): Likewise. 3754 3755 * run-allregs.sh: New file. 3756 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3757 3758 * allregs.c: Use libdwfl wrapper instead of direct libebl calls. 3759 * Makefile.am (allregs_LDADD): Updated. 3760 3761 * allregs.c: New file. 3762 * Makefile.am (noinst_PROGRAMS): Add it. 3763 (allregs_LDADD): New variable. 3764 37652005-11-18 Roland McGrath <roland@redhat.com> 3766 3767 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib. 3768 * test-wrapper.sh: Likewise. 3769 37702005-11-17 Roland McGrath <roland@redhat.com> 3771 3772 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in 3773 environment for test-wrapper.sh. 3774 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib. 3775 * test-subr.sh (installed_testrun): Likewise. 3776 Use explicit path in ${bindir}. 3777 3778 * Makefile.am (installcheck-local): Fix typo in last change. 3779 37802005-11-16 Roland McGrath <roland@redhat.com> 3781 3782 * configure.ac: New file, for standalone build/dist of test suite. 3783 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. 3784 (asm_TESTS): New variable, broken out of ... 3785 (TESTS): ... here. Also remove msg_tst. 3786 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. 3787 (installed_TESTS_ENVIRONMENT): New variable. 3788 [STANDALONE] (TESTS_ENVIRONMENT): Use that. 3789 [!STANDALONE] (installcheck-local): Likewise. 3790 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. 3791 * addrscopes.c: Include <config.h>. 3792 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. 3793 * allfcts.c: Likewise. 3794 * asm-tst1.c: Likewise. 3795 * asm-tst2.c: Likewise. 3796 * asm-tst3.c: Likewise. 3797 * asm-tst4.c: Likewise. 3798 * asm-tst5.c: Likewise. 3799 * asm-tst6.c: Likewise. 3800 * asm-tst7.c: Likewise. 3801 * asm-tst8.c: Likewise. 3802 * asm-tst9.c: Likewise. 3803 * dwflmodtest.c: Likewise. 3804 * find-prologues.c: Likewise. 3805 * funcscopes.c: Likewise. 3806 * get-aranges.c: Likewise. 3807 * get-files.c: Likewise. 3808 * get-lines.c: Likewise. 3809 * get-pubnames.c: Likewise. 3810 * line2addr.c: Likewise. 3811 * newscn.c: Likewise. 3812 * show-abbrev.c: Likewise. 3813 * show-die-info.c: Likewise. 3814 * update3.c: Likewise. 3815 * update4.c: Likewise. 3816 * funcretval.c: Likewise. 3817 3818 * dwflmodtest.c (print_instance): Don't use INTUSE. 3819 (options): Don't use N_ macro. 3820 38212005-11-15 Roland McGrath <roland@redhat.com> 3822 3823 * coverage.sh: Look in backends. 3824 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl. 3825 (TESTS_ENVIRONMENT): Likewise. 3826 3827 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE, 3828 pass FUNCDIE direclty to dwfl_module_return_value_location. 3829 3830 * Makefile.am (BUILD_RPATH): New variable. 3831 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value. 3832 (tests_rpath): New variable. 3833 (installcheck-local): Pass it to test-wrapper.sh. 3834 * test-wrapper.sh: In "installed" format, take yes/no value 3835 for elfutils_tests_rpath, which export. When running a test 3836 binary for installcheck, exit 77. 3837 * test-subr.sh (installed_testrun): When running a test binary 3838 for installcheck, exit 77 if $elfutils_tests_rpath = yes. 3839 38402005-11-14 Roland McGrath <roland@redhat.com> 3841 3842 * test-subr.sh: New file. 3843 * test-wrapper.sh: New file. 3844 * Makefile.am (EXTRA_DIST): Add them. 3845 (AM_LDFLAGS): Variable removed. 3846 (TESTS_ENVIRONMENT): New variable. 3847 (installcheck-local): New target. 3848 * run-addrscopes.sh: Use test-subr.sh. 3849 * run-allfcts.sh: Likewise. 3850 * run-ecp-test.sh: Likewise. 3851 * run-ecp-test2.sh: Likewise. 3852 * run-elflint-self.sh: Likewise. 3853 * run-elflint-test.sh: Likewise. 3854 * run-find-prologues.sh: Likewise. 3855 * run-funcscopes.sh: Likewise. 3856 * run-get-aranges.sh: Likewise. 3857 * run-get-files.sh: Likewise. 3858 * run-get-lines.sh: Likewise. 3859 * run-get-pubnames.sh: Likewise. 3860 * run-line2addr.sh: Likewise. 3861 * run-ranlib-test.sh: Likewise. 3862 * run-ranlib-test2.sh: Likewise. 3863 * run-show-abbrev.sh: Likewise. 3864 * run-show-ciefde.sh: Likewise. 3865 * run-show-die-info.sh: Likewise. 3866 * run-strings-test.sh: Likewise. 3867 * run-strip-test.sh: Likewise. 3868 38692005-11-13 Roland McGrath <roland@redhat.com> 3870 3871 * funcretval.c: New file. 3872 * Makefile.am (noinst_PROGRAMS): Add it. 3873 (funcretval_LDADD): New variable. 3874 38752005-11-09 Ulrich Drepper <drepper@redhat.com> 3876 3877 * line2addr.c (handle_module): Add missing parameter to printf. 3878 38792005-10-27 Roland McGrath <roland@redhat.com> 3880 3881 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes. 3882 * funcscopes.c (handle_function): Likewise. 3883 * dwflmodtest.c (print_inline, print_func): Likewise. 3884 * find-prologues.c (handle_function): Likewise. 3885 38862005-10-27 Roland McGrath <roland@redhat.com> 3887 3888 * run-find-prologues.sh: New file. 3889 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3890 3891 * find-prologues.c (handle_function): Skip inlines. 3892 38932005-10-25 Roland McGrath <roland@redhat.com> 3894 3895 * find-prologues.c: New file. 3896 * Makefile.am (noinst_PROGRAMS): Add it. 3897 (find_prologues_LDADD): New variable. 3898 38992005-09-02 Ulrich Drepper <drepper@redhat.com> 3900 3901 * run-strings-test.sh: Remove strings.out in the end. 3902 39032005-08-31 Ulrich Drepper <drepper@redhat.com> 3904 3905 * run-addrscopes.sh: Use correct exit code if test cannot be performed. 3906 * run-allfcts.sh: Likewise. 3907 * run-ecp-test.sh: Likewise. 3908 * run-ecp-test2.sh: Likewise. 3909 * run-elflint-test.sh: Likewise. 3910 * run-funcscopes.sh: Likewise. 3911 * run-get-aranges.sh: Likewise. 3912 * run-get-files.sh: Likewise. 3913 * run-get-lines.sh: Likewise. 3914 * run-get-pubnames.sh: Likewise. 3915 * run-line2addr.sh: Likewise. 3916 * run-ranlib-test2.sh: Likewise. 3917 * run-show-abbrev.sh: Likewise. 3918 * run-show-ciefde.sh: Likewise. 3919 * run-show-die-info.sh: Likewise. 3920 * run-strings-test.sh: Likewise. 3921 * run-strip-test.sh: Likewise. 3922 39232005-08-30 Ulrich Drepper <drepper@redhat.com> 3924 3925 * coverage.sh: Handle case where there is no .gcno file at all. 3926 39272005-08-29 Ulrich Drepper <drepper@redhat.com> 3928 3929 * Makefile.am (EXTRA_DIST): Add coverage. 3930 [GCOV]: Generate coverage summary after the tests ran 3931 * coverage.sh: New file. 3932 39332005-08-28 Ulrich Drepper <drepper@redhat.com> 3934 3935 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl. 3936 (CLEANFILES): Add *.gcno *.gcda *.gconv. 3937 39382005-08-28 Ulrich Drepper <drepper@redhat.com> 3939 3940 * run-strings-test.sh: New file. 3941 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3942 39432005-08-27 Roland McGrath <roland@redhat.com> 3944 3945 * addrscopes.c (handle_address): Apply bias to PC addresses. 3946 3947 * run-funcscopes.sh: New file. 3948 * testfile25.bz2: New data file. 3949 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3950 39512005-08-26 Roland McGrath <roland@redhat.com> 3952 3953 * addrscopes.c (dwarf_diename_integrate): Removed. 3954 (print_vars, handle_address): Use plain dwarf_diename. 3955 39562005-08-25 Roland McGrath <roland@redhat.com> 3957 3958 * funcscopes.c: New file. 3959 * Makefile.am (noinst_PROGRAMS): Add it. 3960 (funcscopes_LDADD): New variable. 3961 3962 * run-addrscopes.sh: Add another case. 3963 * testfile24.bz2: New data file. 3964 * Makefile.am (EXTRA_DIST): Add it. 3965 3966 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES, 3967 pass it to dwarf_getscopes. 3968 (main): Pass it, true when '=' follows an address. 3969 39702005-08-24 Roland McGrath <roland@redhat.com> 3971 3972 * line2addr.c (print_address): Omit () for DSOs. 3973 39742005-08-24 Ulrich Drepper <drepper@redhat.com> 3975 3976 * run-line2addr.sh: Remove testfile23 in the end. 3977 3978 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl). 3979 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules. 3980 39812005-08-22 Roland McGrath <roland@redhat.com> 3982 3983 * run-line2addr.sh: Add a case. 3984 * testfile23.bz2: New data file. 3985 * Makefile.am (EXTRA_DIST): Add it. 3986 39872005-08-18 Roland McGrath <roland@redhat.com> 3988 3989 * run-addrscopes.sh: New file. 3990 * testfile22.bz2: New data file. 3991 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3992 3993 * addrscopes.c: New file. 3994 * Makefile.am (noinst_PROGRAMS): Add it. 3995 (addrscopes_LDADD): New variable. 3996 39972005-08-15 Ulrich Drepper <drepper@redhat.com> 3998 3999 * run-elflint-self.sh: Don't run test if the file doesn't exist. 4000 40012005-08-15 Roland McGrath <roland@redhat.com> 4002 4003 * dwflmodtest.c (print_instance, print_inline): New functions. 4004 (print_func): Call print_inline. 4005 (options, parse_opt): Grok -i/--inlines. 4006 40072005-08-07 Roland McGrath <roland@redhat.com> 4008 4009 * dwflmodtest.c: Print function details only if -f flag is given. 4010 40112005-08-06 Ulrich Drepper <drepper@redhat.com> 4012 4013 * run-elflint-self.sh: New file. 4014 * Makefile.am (TESTS): Add run-elflint-self.sh. 4015 (EXTRA_DIST): Likewise. 4016 4017 * Makefile.am: Link with statis libs if BUILD_STATIC. 4018 (dwflmodtest_LDADD): Also link with -ldl. 4019 40202005-08-02 Ulrich Drepper <drepper@redhat.com> 4021 4022 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS. 4023 * asm-tst1.c: Adjust for new asm_begin interface. Open backend 4024 library first. 4025 * asm-tst2.c: Likewise. 4026 * asm-tst3.c: Likewise. 4027 * asm-tst4.c: Likewise. 4028 * asm-tst5.c: Likewise. 4029 * asm-tst6.c: Likewise. 4030 * asm-tst7.c: Likewise. 4031 * asm-tst8.c: Likewise. 4032 * asm-tst9.c: Likewise. 4033 4034 * msg_tst.c: Add new error message. 4035 40362005-07-28 Ulrich Drepper <drepper@redhat.com> 4037 4038 * Makefile.am (dwflmodtest_LDADD): Add $(libebl). 4039 40402005-06-01 Roland McGrath <roland@redhat.com> 4041 4042 * line2addr.c: Rewritten using libdwfl. 4043 * run-line2addr.sh: Update test for changed arguments. 4044 * Makefile.am (INCLUDES): Add libdwfl source directory to path. 4045 (libdwfl): New variable. 4046 (line2addr_LDADD): Use it. 4047 40482005-07-28 Roland McGrath <roland@redhat.com> 4049 4050 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here. 4051 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest. 4052 (dwflmodtest_LDADD): New variable. 4053 (INCLUDES): Add -I$(top_srcdir)/libdwfl here. 4054 40552005-07-21 Ulrich Drepper <drepper@redhat.com> 4056 4057 * testfile18.bz2: New file. 4058 * run-elflint-test.sh: New file. 4059 * Makefile.am (TESTS): Add run-elflint-test.sh. 4060 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. 4061 40622005-05-24 Ulrich Drepper <drepper@redhat.com> 4063 4064 * get-files.c (main): Use correct format specifier. 4065 40662005-05-21 Ulrich Drepper <drepper@redhat.com> 4067 4068 * Makefile.am: Add -Wextra to CFLAGS. 4069 * get-files.c: Remove warning this produced. 4070 * get-pubnames.c: Likewise. 4071 * newfile.c: Likewise. 4072 * newscn.c: Likewise. 4073 * scnnames.c: Likewise. 4074 * showptable.c: Likewise. 4075 * test-nlist.c: Likewise. 4076 * update1.c: Likewise. 4077 * update2.c: Likewise. 4078 * update3.c: Likewise. 4079 * update4.c: Likewise. 4080 40812005-05-08 Ulrich Drepper <drepper@redhat.com> 4082 4083 * run-line2addr.sh: Remove testfile14 at the end. 4084 4085 * run-strip-test.sh: Remove debuginfo test input file as well. 4086 4087 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used 4088 .bz, not .bz2. 4089 40902005-05-03 Roland McGrath <roland@redhat.com> 4091 4092 * run-strip-test.sh: Use variables for test file names. 4093 Optionally produce separate debug file and check it. 4094 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication. 4095 * run-strip-test3.sh: Likewise. 4096 * run-strip-test4.sh: New file. 4097 * run-strip-test5.sh: New file. 4098 * run-strip-test6.sh: New file. 4099 * testfile15.bz: New file. 4100 * testfile15.debug.bz: New file. 4101 * testfile16.bz: New file. 4102 * testfile16.debug.bz: New file. 4103 * testfile17.bz: New file. 4104 * testfile17.debug.bz: New file. 4105 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4106 41072005-04-25 Ulrich Drepper <drepper@redhat.com> 4108 4109 * run-line2addr.sh: Also use testfile14. Adjust for correct 4110 return of multiple matches. 4111 * testfile14.bz2: New file. 4112 * Makefile.am (EXTRA_DIST): Add testfile14.bz2. 4113 4114 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change. 4115 41162005-04-04 Roland McGrath <roland@redhat.com> 4117 4118 * line2addr.c (main): Initialize LINES and NLINES before calling 4119 dwarf_getsrc_file, and free LINES afterwards. 4120 4121 * allfcts.c (main): Use size_t for CUHL. 4122 41232005-04-04 Ulrich Drepper <drepper@redhat.com> 4124 4125 * line2addr.c: New file. 4126 * run-line2addr.sh: New file. 4127 * Makefile.am: Add rules to build, run, and distribute new code. 4128 41292005-04-02 Ulrich Drepper <drepper@redhat.com> 4130 4131 * allfcts.c: New file. 4132 * run-allfcts.sh: New file. 4133 * Makefile.am: Add rules to build, run, and distribute new code. 4134 41352005-02-05 Ulrich Drepper <drepper@redhat.com> 4136 4137 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test 4138 programs with -lmudflap. 4139 41402004-09-25 Ulrich Drepper <drepper@redhat.com> 4141 4142 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation. 4143 * asm-tst5.c (main): Likewise. 4144 * asm-tst6.c (main): Likewise. 4145 41462004-01-17 Ulrich Drepper <drepper@redhat.com> 4147 4148 * Makefile.am: Support building with mudflap. 4149 41502004-01-12 Ulrich Drepper <drepper@redhat.com> 4151 4152 * get-aranges.c: Rewrite to use libdw. 4153 * Makefile.am: Reenable get-aranges test. 4154 41552004-01-11 Ulrich Drepper <drepper@redhat.com> 4156 4157 * get-lines.c: New file. 4158 * get-files.c: Adjust for libdw. 4159 * run-get-files.sh: Adjust expected result. 4160 * run-get-lines.sh: Likewise. 4161 * Makefile.am: Run get-lines test. Don't run get-aranges and 4162 get-ciefde test for now. 4163 4164 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface 4165 change. Print attribute offset information. 4166 * run-show-abbrev.sh: Adjust expected output. 4167 41682004-01-09 Ulrich Drepper <drepper@redhat.com> 4169 4170 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change. 4171 * show-die-info.c: Likewise. 4172 * run-show-die-info.sh: Adjust expected output. 4173 41742003-08-13 Ulrich Drepper <drepper@redhat.com> 4175 4176 * Makefile.in: Depend on libebl.a, not libebl.so. 4177 41782003-08-11 Ulrich Drepper <drepper@redhat.com> 4179 4180 * Moved to CVS archive. 4181