12023-09-27 Omar Sandoval <[email protected]> 2 3 * dwarf-getmacros.c (mac): Add DW_MACRO_define_sup, 4 DW_MACRO_define_strx, DW_MACRO_undef_sup, and DW_MACRO_undef_strx 5 cases to opcode switch statement. 6 (getmacros): New function. 7 (main): If second argument is empty, call getmacros on every unit. 8 Otherwise, call getmacros on given unit. 9 102023-09-27 Omar Sandoval <[email protected]> 11 12 * run-varlocs.sh: Add entry PC to split units. 13 142023-04-21 Frank Ch. Eigler <[email protected]> 15 16 * run-debuginfod-IXr.sh: New test. 17 * Makefile.am: Run it, ship it. 18 192023-02-10 Mark Wielaard <[email protected]> 20 21 * varlocs.c (print_expr): Handle DW_OP_GNU_uninit. 22 232023-02-07 Mark Wielaard <[email protected]> 24 25 * tests/funcretval.c (handle_function): Check for 26 DW_TAG_unspecified_type. 27 282023-02-03 Mark Wielaard <[email protected]> 29 30 * run-addr2line-C-test.sh: Check ELFUTILS_DISABLE_DEMANGLE. 31 322023-01-22 Mark Wielaard <[email protected]> 33 34 * testfile-inlines-lto.bz2: New testfile. 35 * run-addr2line-i-test.sh: Add new lto inlines test. 36 * Makefile.am (EXTRA_DIST): Add testfile-inlines-lto.bz2. 37 382023-01-19 Mark Wielaard <[email protected]> 39 40 * run-addr2line-C-test.sh: New test. 41 * Makefile.am (TESTS): Add run-addr2line-C-test.sh. 42 (EXTRA_DIST): Likewise. 43 442023-01-19 Mark Wielaard <[email protected]> 45 46 * run-debuginfod-query-retry.sh: Use libdebuginfod.so.1 instead 47 of /bin/sh as test file. 48 492022-12-21 Shahab Vahedi <[email protected]> 50 51 * hello_arc_hs4.ko.bz2: New testfile. 52 * run-strip-reloc.sh: Add ARC HS4 test. 53 * Makefile.am (EXTRA_DIST): Add hello_arc_hs4.ko.bz2. 54 552022-11-01 Aaron Merey <[email protected]> 56 57 * run-debuginfod-section.sh (RPM_BUILDID): Use buildid from non-zstd 58 compressed rpm. 59 602022-10-31 Aaron Merey <[email protected]> 61 62 * Makefile.am (TESTS): Add run-debuginfod-section.sh. 63 * run-debuginfod-section.sh: New test. 64 652022-09-20 Yonggang Luo <[email protected]> 66 67 * Makefile.am (EXTRA_DIST): Remove debuginfod-rpms/hello2.spec. 68 Add debuginfod-rpms/hello{2,3}.specfile. 69 * tests/debuginfod-rpms/hello2.spec.: Renamed to... 70 * tests/debuginfod-rpms/hello2.specfile: ...this. 71 * tests/debuginfod-rpms/hello3.spec.: Renamed to... 72 * tests/debuginfod-rpms/hello3.specfile: ...this. 73 742022-10-28 Arsen Arsenović <[email protected]> 75 76 * run-readelf-s.sh: Add tests for the --syms alias. 77 782022-10-27 Mark Wielaard <[email protected]> 79 80 * backtrace-subr.sh: Use grep -E instead of egrep, use grep -F 81 instead of fgrep. 82 * debuginfod-subr.sh: Likewise. 83 * run-debuginfod-archive-rename.sh: Likewise. 84 * run-debuginfod-extraction-passive.sh: Likewise. 85 * run-debuginfod-response-headers.sh: Likewise. 86 * run-debuginfod-webapi-concurrency.sh: Likewise. 87 * run-strip-test.sh: Likewise. 88 892022-10-16 Mark Wielaard <[email protected]> 90 91 * dwfl-report-offline-memory.c: Include config.h first. 92 932022-10-16 Mark Wielaard <[email protected]> 94 95 * dwfl-report-offline-memory.c (main): Check lseek, read and malloc 96 results with correct types. 97 982022-09-13 Aleksei Vetrov <[email protected]> 99 100 * Makefile.am (check_PROGRAMS): Add dwfl-report-offline-memory. 101 (TESTS): Add run-dwfl-report-offline-memory.sh. 102 (EXTRA_DIST): Likewise. 103 (dwfl_report_offline_memory_LDADD): New variable. 104 * dwfl-report-offline-memory.c: New file. 105 * run-dwfl-report-offline-memory.sh: Likewise. 106 1072022-09-13 Khem Raj <[email protected]> 108 109 * Makefile.am (*_LDADD): Add libeu if needed for error. 110 1112022-08-26 Mark Wielaard <[email protected]> 112 113 * run-ar-N.sh: New test. 114 * Makefile.am (TESTS): Add run-ar-N.sh. 115 (EXTRA_DIST): Likewise. 116 1172022-09-02 Frank Ch. Eigler <[email protected]> 118 119 * run-debuginfod-response-headers.sh: Use case-insensitive 120 header name matches. Use socat & sleep for greater 121 portability. 122 * run-debuginfod-sizetime.sh: Update for debuginfod-find -v -v. 123 1242022-07-15 Noah Sanci <[email protected]> 125 126 * run-debuginfod-response-headers.sh: Added test 127 to ensure that federated servers pass headers down to 128 queried server. 129 1302022-08-04 Sergei Trofimovich <[email protected]> 131 132 * low_high_pc.c (handle_die): Drop redundant 'lx' suffix. 133 1342022-08-01 Mark Wielaard <[email protected]> 135 136 * run-debuginfod-percent-escape.sh: Add initial scan wait_ready. 137 1382022-04-28 Di Chen <[email protected]> 139 140 * run-readelf-Dd.sh: New test. 141 * Makefile.am (TESTS): Add run-readelf-Dd.sh. 142 (EXTRA_DIST): Likewise. 143 1442022-06-01 Mark Wielaard <[email protected]> 145 146 * testfile-arm-flags.bz2: New test file. 147 * run-readelf-arm-flags.sh: New test. 148 * Makefile.am (TESTS): Add run-readelf-arm-flags.sh. 149 (EXTRA_DIST): Add readelf-arm-flags.sh and testfile-arm-flags.bz2 150 1512022-05-13 Noah Sanci <[email protected]> 152 153 * run-debuginfod-fd-prefetch-caches.sh: Rewritten. 154 1552022-06-02 Mark Wielaard <[email protected]> 156 157 * Makefile.am (TESTS): Add run-debuginfod-federation-metrics.sh 158 only when OLD_LIBMICROHTTPD conditional is not set. 159 1602022-04-24 Mark Wielaard <[email protected]> 161 162 * run-debuginfod-webapi-concurrency.sh: Fix PR number in xfail. 163 1642022-04-23 Mark Wielaard <[email protected]> 165 166 * run-debuginfod-webapi-concurrency.sh: Lower parallel lookups. 167 1682022-03-01 Di Chen <[email protected]> 169 170 * alldts.c (dtflags): Put DT_NULL last. 171 * run-alldts.sh: NULL comes last. 172 * run-readelf-d.sh: Adjust Dynamic entries, remove DT_NULL 173 padding. 174 1752022-04-14 Mark Wielaard <[email protected]> 176 177 * run-debuginfod-federation-sqlite.sh: Don't try to corrupt 178 sqlite database. 179 1802022-04-13 Aaron Merey <[email protected]> 181 182 * Makefile.am (TESTS): Remove run-debuginfod-000-permission.sh 183 and add run-debuginfod-negative-cache.sh. 184 (EXTRA_DIST): Likewise. 185 * run-debuginfod-federation-link.sh: Update comments about 186 negative-hit file. 187 * run-debuginfod-federation-metrics.sh: Likewise. 188 * run-debuginfod-federation-sqlite.sh: Likewise. 189 * run-debuginfod-tmp-home.sh: Likewise. 190 1912022-03-20 Mark Wielaard <[email protected]> 192 193 * run-large-elf-file.sh: Check elf class of addsections binary. 194 1952021-12-17 Mark Wielaard <[email protected]> 196 197 * run-debuginfod-query-retry.sh: Use /bin/sh instead of /bin/ls. 198 1992021-12-09 Frank Ch. Eigler <[email protected]> 200 201 * debuginfod-subr.sh (xfail): New proc. 202 * run-debuginfod-webapi-concurrency.sh: New test for -C. 203 * Makefile.am: List it. 204 2052021-12-04 Mark Wielaard <[email protected]> 206 207 * Makefile.am (EXTRA_NLIST_CFLAGS): New variable depends on 208 USE_ADDRESS_SANITIZER. 209 (test_nlist_CFLAGS): Add EXTRA_NLIST_CFLAGS. 210 2112021-12-04 Mark Wielaard <[email protected]> 212 213 * varlocs.c (dwarf_encoding_string): Return "<unknown encoding>" instead 214 of NULL. 215 (dwarf_tag_string): Return "<unknown tag>" instead of NULL. 216 (dwarf_attr_string): Return "<unknown attr>" instead of NULL. 217 (dwarf_form_string): Return "<unknown form>" instead of NULL. 218 (dwarf_opcode_string): Return "<unknown opcode>" instead of NULL. 219 (print_expr): Remove assert. 220 2212021-11-18 Mark Wielaard <[email protected]> 222 223 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add -rdynamic. 224 2252021-11-11 Mark Wielaard <[email protected]> 226 227 * run-debuginfod-000-permission.sh: Don't set DEBUGINFOD_TIMEOUT. 228 * run-debuginfod-archive-groom.sh: Likewise. 229 * run-debuginfod-archive-rename.sh: Likewise. 230 * run-debuginfod-archive-test.sh: Likewise. 231 * run-debuginfod-artifact-running.sh: Likewise. 232 * run-debuginfod-dlopen.sh: Likewise. 233 * run-debuginfod-extraction.sh: Likewise. 234 * run-debuginfod-federation-link.sh: Likewise. 235 * run-debuginfod-federation-metrics.sh: Likewise. 236 * run-debuginfod-federation-sqlite.sh: Likewise. 237 * run-debuginfod-malformed.sh: Likewise. 238 * run-debuginfod-tmp-home.sh: Likewise. 239 * run-debuginfod-writable.sh: Likewise. 240 2412021-11-05 Frank Ch. Eigler <[email protected]> 242 243 PR28430 244 * run-debuginfod-extraction-passive.sh: New test. 245 * Makefile.am (TESTS, EXTRA_DIST): Add it. 246 2472021-10-20 John M Mellor-Crummey <[email protected]> 248 249 * nvidia_extended_linemap_libdw.c: New file. 250 * run-nvidia-extended-linemap-libdw.sh: New test. 251 * run-nvidia-extended-linemap-readelf.sh: Likewise. 252 * testfile_nvidia_linemap.bz2: New test file. 253 * .gitignore: Add nvidia_extended_linemap_libdw. 254 * Makefile.am (check_PROGRAMS): Add nvidia_extended_linemap_libdw. 255 (TESTS): Add run-nvidia-extended-linemap-libdw.sh and 256 run-nvidia-extended-linemap-readelf.sh 257 (EXTRA_DIST): Likewise and testfile_nvidia_linemap.bz2. 258 (nvidia_extended_linemap_libdw_LDADD): New variable. 259 2602021-11-08 Mark Wielaard <[email protected]> 261 262 * Makefile.am (TESTS): Add run-readelf-fat-lto.sh. 263 (EXTRA_DIST): Add run-readelf-fat-lto.sh and 264 testfile-dwarf5-fat-lto.o.bz2. 265 * run-readelf-fat-lto.sh: New test. 266 * testfile-dwarf5-fat-lto.o.bz2: New test file. 267 2682021-11-04 Frank Ch. Eigler <[email protected]> 269 270 PR28514 271 * run-debuginfod-archive-groom.sh: Look for new groom metric. 272 2732021-10-23 Frank Ch. Eigler <[email protected]> 274 275 PR28240 276 * run-debuginfod-000-permission.sh, -writable.sh: 277 Correct negative-cache file permission checking. 278 2792021-10-06 Mark Wielaard <[email protected]> 280 281 * show-die-info.c (handle): Handle dwarf_attr_string returning NULL. 282 2832021-10-06 Di Chen <[email protected]> 284 285 PR28242 286 * run-debuginfod-000-permission.sh: Expect artifacttype metrics. 287 2882021-09-17 Noah Sanci <[email protected]> 289 290 * run-debuginfod-response-header.sh: removed checking for Connection 291 and Cache-Control in response headers. 292 2932021-09-08 Mark Wielaard <[email protected]> 294 295 * run-varlocs-vars.sh: New test. 296 * testfile-vars-clang-dwarf4-32.o.bz2: New test file. 297 * testfile-vars-clang-dwarf4-64.o.bz2: Likewise. 298 * testfile-vars-clang-dwarf5-32.o.bz2: Likewise. 299 * testfile-vars-clang-dwarf5-64.o.bz2: Likewise. 300 * testfile-vars-gcc-dwarf4-32.o.bz2: Likewise. 301 * testfile-vars-gcc-dwarf4-64.o.bz2: Likewise. 302 * testfile-vars-gcc-dwarf5-32.o.bz2: Likewise. 303 * testfile-vars-gcc-dwarf5-64.o.bz2: Likewise. 304 * Makefile.am (EXTRA_DIST): Add new test and test files. 305 (TESTS): Add run-varlocs-vars.sh. 306 3072021-09-09 Mark Wielaard <[email protected]> 308 309 * debuginfod-subr.sh: set -o functrace. 310 (cleanup): Disable trap 0. 311 (err): Disable trap ERR. 312 * run-debuginfod-fd-prefetch-caches.sh: Use || true when grep -c fails. 313 3142021-09-09 Mark Wielaard <[email protected]> 315 316 * debuginfod-subr.sh: set -o errtrace. 317 (cleanup): Don't fail kill or wait. Only trap on normal exit. 318 (err): Don't fail curl metrics. Call cleanup. 319 * run-debuginfod-federation-link.sh: Use separate client caches 320 for both servers and debuginfod client. Remove duplicate valgrind 321 disabling. 322 * run-debuginfod-federation-metrics.sh: Likewise. 323 * run-debuginfod-federation-sqlite.sh: Likewise. 324 3252021-09-13 Noah Sanci <[email protected]> 326 327 * Makefile.am: added run-debuginfod-percent-escape.sh to TESTS and 328 EXTRA_DIST. 329 3302021-09-06 Dmitry V. Levin <[email protected]> 331 332 * elfcopy.c (copy_elf): Remove cast of malloc return value. 333 3342021-09-07 Mark Wielaard <[email protected]> 335 336 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom 337 cycle before making any changes to the scan dirs. 338 * run-debuginfod-archive-rename.sh: Likewise. 339 * run-debuginfod-artifact-running.sh: Wait for initial scan cycle 340 before making any changes to the scan dirs. 341 * run-debuginfod-dlopen.sh: Likewise. 342 * run-debuginfod-extraction.sh: Likewise. 343 * run-debuginfod-federation-link.sh: Don't wait twice for the initial 344 scan. 345 3462021-09-06 Mark Wielaard <[email protected]> 347 348 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom 349 cycle. 350 * run-debuginfod-archive-rename.sh: Likewise. 351 * run-debuginfod-federation-sqlite.sh: Likewise. 352 * run-debuginfod-archive-test.sh: Wait for initial scan cycle. 353 * run-debuginfod-artifact-running.sh: Likewise. 354 * run-debuginfod-dlopen.sh: Likewise. 355 * run-debuginfod-extraction.sh: Likewise. 356 * run-debuginfod-federation-link.sh: Likewise. 357 * run-debuginfod-federation-metrics.sh: Likewise. 358 * run-debuginfod-malformed.sh: Likewise. 359 * run-debuginfod-regex.sh: Likewise. 360 * run-debuginfod-tmp-home.sh: Likewise. 361 * run-debuginfod-writable.sh: Likewise. 362 3632021-09-06 Mark Wielaard <[email protected]> 364 365 * run-debuginfod-archive-groom.sh: Set DEBUGINFOD_URLS after starting 366 debuginfod server. 367 * run-debuginfod-archive-rename.sh: Likewise. 368 * run-debuginfod-federation-link.sh: Don't set DEBUGINFOD_URLS. 369 * run-debuginfod-federation-sqlite.sh: Likewise. 370 * run-debuginfod-federation-metrics.sh: Add comment why invalid 371 DEBUGINFOD_URLS is set. 372 3732021-09-06 Mark Wielaard <[email protected]> 374 375 * debuginfod-subr.sh (err): Change ports to port in for loop so both 376 PORT1 and PORT2 are used. 377 (get_ports): Simplify port selection by using for 50 for PORT1 and 378 second 50 for PORT2. 379 3802021-09-06 Mark Wielaard <[email protected]> 381 382 * run-debuginfod-file.sh: Set DEBUGINFOD_CACHE_PATH. Export 383 correct DEBUGINFOD_URLS. 384 * run-debuginfod-query-retry.sh: Add DEBUGINFOD_CACHE_PATH 385 to env. 386 3872021-09-03 Mark Wielaard <[email protected]> 388 389 * run-debuginfod-000-permission.sh: Set DEBUGINFOD_CACHE_PATH 390 and use an unique sqlite db. 391 * run-debuginfod-archive-groom.sh: Likewise. 392 * run-debuginfod-archive-test.sh: Likewise. 393 * run-debuginfod-dlopen.sh: Likewise. 394 * run-debuginfod-duplicate-urls.sh: Likewise. 395 * run-debuginfod-extraction.sh: Likewise. 396 * run-debuginfod-fd-prefetch-caches.sh: Likewise. 397 * run-debuginfod-malformed.sh: Likewise. 398 * run-debuginfod-sizetime.sh: Likewise. 399 * run-debuginfod-tmp-home.sh: Likewise. 400 * run-debuginfod-writable.sh: Likewise. 401 4022021-09-03 Mark Wielaard <[email protected]> 403 404 * debuginfod-subr.sh (EXTRA_DIST): Add debuginfod-subr.sh. 405 4062021-08-20 Noah Sanci <[email protected]> 407 408 * run-debuginfod-response-headers.sh: Ensures custom http response 409 headers are used and functional 410 * Makefile.am: Added the above new file to TESTS and EXTRA_DIST 411 4122021-08-28 Mark Wielaard <[email protected]> 413 414 * run-debuginfod-find.sh: Use ":memory:" for the 415 forwarded-ttl-limit tests. 416 4172021-08-28 Mark Wielaard <[email protected]> 418 419 * run-debuginfod-find.sh: Use clean, separate databases for 420 forwarded-ttl-limit tests. 421 4222021-08-20 Di Chen <[email protected]> 423 424 * run-debuginfod-find.sh: Add test for X-Forwarded-For hops limit. 425 4262021-08-20 Noah Sanci <[email protected]> 427 428 * debuginfod-find.sh: Separated file into 429 run-debuginfod-000-permission.sh, 430 run-debuginfod-archive-groom.sh, 431 run-debuginfod-archive-rename.sh, 432 run-debuginfod-archive-test.sh, 433 run-debuginfod-artifact-running.sh, 434 run-debuginfod-dlopen.sh, 435 run-debuginfod-duplicate-urls.sh, 436 run-debuginfod-extraction.sh, 437 run-debuginfod-fd-prefetch-caches.sh, 438 run-debuginfod-federation-link.sh, 439 run-debuginfod-federation-metrics.sh, 440 run-debuginfod-federation-sqlite.sh, 441 run-debuginfod-file.sh, 442 run-debuginfod-malformed.sh, 443 run-debuginfod-no-urls.sh, 444 run-debuginfod-query-retry.sh, 445 run-debuginfod-regex.sh, 446 run-debuginfod-sizetime.sh, 447 run-debuginfod-tmp-home.sh, 448 run-debuginfod-x-forwarded.sh 449 and run-debuginfod-writable.sh. 450 All files source debuginfod-subr.sh and use the $base variable to find ports. 451 * tests/Makefile.am: Added the above new files to the test suite 452 * tests/debuginfod-subr.sh: Added some general functions for above tests 453 4542021-08-04 Mark Wielaard <[email protected]> 455 456 PR28190 457 * backtrace.c (callback_verify): Check for pthread_kill as first 458 frame. Change asserts to fprintf plus abort. 459 4602021-07-26 Noah Sanci <[email protected]> 461 462 PR27982 463 * run-debuginfod-find.sh: Added a test to ensure that 464 DEBUGINFOD_MAXSIZE and DEBUGINFOD_MAXTIME work properly 465 by searching server and client logs for prompts. 466 4672021-07-16 Noah Sanci <[email protected]> 468 469 PR28034 470 * run-debuginfod-percent-escape.sh: Added a test ensuring files with % 471 escapable characters in their paths are accessible. 472 4732021-07-21 Noah Sanci <[email protected]> 474 475 * run-debuginfod-find.sh: Properly kill $PID4 by waiting for it to 476 finish. Report $PORT3's metrics in err(). 477 4782021-06-28 Noah Sanci <[email protected]> 479 480 PR25978 481 * run-debuginfod-find.sh: Test to ensure options 482 fdcache-prefetch-fds/mbs are set. Check that inc_metric works for lru 483 and prefetch cache metrics. 484 4852021-07-06 Alice Zhang <[email protected]> 486 487 PR27531 488 * run-debuginfod-find.sh: Add test case for retry mechanism. 489 4902021-07-01 Noah Sanci <[email protected]> 491 492 PR2711 493 * run-debuginfod-find.sh: Added test case for grooming the database 494 using regexes. 495 4962021-07-09 Noah Sanci <[email protected]> 497 498 PR27983 499 * run-debuginfod-find.sh: Wrote test to ensure duplicate urls are in 500 fact not checked. 501 5022021-07-08 Mark Wielaard <[email protected]> 503 504 * Makefile.am (EXTRA_DIST): Fix typo testfile-largealign.bz2 was 505 was missing .o. 506 5072021-06-09 Andrei Homescu <[email protected]> 508 509 * testfile-largealign.o.bz2: New test file. 510 * run-strip-largealign.sh: New test. 511 * Makefile.am (TESTS): Add run-strip-largealign.sh. 512 (EXTRA_DIST): Add run-strip-largealign.sh and 513 testfile-largealign.o.bz2 514 5152021-07-02 Mark Wielaard <[email protected]> 516 517 * run-debuginfo-find.sh: unset VALGRIND_CMD before testing debuginfod 518 client cache. 519 5202021-06-16 Frank Ch. Eigler <[email protected]> 521 522 * run-debuginfod-find.sh: Fix intermittent groom/stale failure, 523 due to SIGUSR1/SIGUSR2 races. Trace more. 524 5252021-06-15 Frank Ch. Eigler <[email protected]> 526 527 * run-debuginfod-find.sh (err): Elaborate. Use as the reliable 528 error-report triggering function, rather than "exit 1". 529 5302021-06-03 Frank Ch. Eigler <[email protected]> 531 532 PR27863 533 * run-debuginfod-find.sh: Test "after-you" queueing via flooding 534 with concurent curls. 535 5362021-05-14 Frank Ch. Eigler <[email protected]> 537 538 PR27859 539 * run-debuginfod-find.sh: Test absence of 404-latch bug in client 540 curl handle reuse. 541 5422021-04-19 Martin Liska <[email protected]> 543 544 * dwelf_elf_e_machine_string.c (main): Use startswith. 545 * dwelfgnucompressed.c (main): Likewise. 546 * elfgetchdr.c (main): Likewise. 547 * elfputzdata.c (main): Likewise. 548 * vdsosyms.c (module_callback): Likewise. 549 5502021-05-04 Alice Zhang <[email protected]> 551 552 * run-debuginfod-find.sh: Added tests for negative cache files. 553 5542021-04-26 Frank Ch. Eigler <[email protected]> 555 556 PR27571 557 * run-debuginfod-find.sh: Add test case for unwriteable cache files. 558 5592021-04-23 Omar Sandoval <[email protected]> 560 561 * run-low_high_pc-dw-form-indirect.sh: New file. 562 * run-readelf-dw-form-indirect.sh: New file. 563 * testfile-dw-form-indirect.bz2: New file. 564 * Makefile.am (TESTS): Add run-low_high_pc-dw-form-indirect.sh and 565 run-readelf-dw-form-indirect.sh. 566 (EXTRA_DIST): Add run-low_high_pc-dw-form-indirect.sh, 567 run-readelf-dw-form-indirect.sh, and testfile-dw-form-indirect.bz2. 568 5692021-04-26 Frank Ch. Eigler <[email protected]> 570 571 PR26125 572 * run-debuginfod-find.sh: Add test case for cache cleanup rmdir. 573 5742021-04-23 Frank Ch. Eigler <[email protected]> 575 576 * run-debuginfod-find.sh: Add a tiny test for client object reuse. 577 Add an "errfiles" test construct to ask the framework to print 578 various files in the case of an error. 579 5802021-03-30 Frank Ch. Eigler <[email protected]> 581 582 * run-debuginfod-find.sh: Add thread comm checks. 583 5842021-02-17 Timm Bäder <[email protected]> 585 586 * elfstrmerge.c (main): Move new_data_buf function to... 587 (new_data_buf): ...top-level static function adding fname, 588 ndx, shdrstrnd and shdrnum as arguments. 589 5902021-02-17 Timm Bäder <[email protected]> 591 592 * elfstrmerge.c (main): Move newsecndx function to... 593 (newsecndx): ...top-level static function adding shdrstrndx, 594 shdrnum and fname as arguments. 595 5962021-02-25 Frank Ch. Eigler <[email protected]> 597 598 * run-debuginfod-find.sh: Add bad webapi artifacttype test. 599 6002021-02-17 Frank Ch. Eigler <[email protected]> 601 602 * run-debuginfod-find.sh: Tweak wait_ready() to also print -vvv log of 603 appropriate debuginfod if metric timeout occurs. Focus grooming 604 test carefully at a more deterministic metric. 605 6062021-02-12 Mark Wielaard <[email protected]> 607 608 * run-readelf-types.sh: Add CU start to type offset reference. 609 6102021-02-07 Alexander Miller <[email protected]> 611 612 * Makefile.am (TESTS_ENVIRONMENT): Quote variables. 613 (valgrind_cmd): Unquote variable. 614 6152021-02-08 Érico Nogueira <[email protected]> 616 617 * run-debuginfod-find.sh: Check for cpio availability. 618 6192021-02-04 Frank Ch. Eigler <[email protected]> 620 621 * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling. 622 6232021-01-31 Sergei Trofimovich <[email protected]> 624 625 * Makefile.am (TESTS_ENVIRONMENT): export CC variable 626 to tests for use instead of 'gcc'. 627 * run-disasm-x86-64.sh: use ${CC} instead of 'gcc'. 628 * run-disasm-x86.sh: Likewise. 629 * run-strip-g.sh: Likewise. 630 * run-strip-nothing.sh: Likewise. 631 * run-test-includes.sh: Likewise. 632 6332021-01-06 Timm Bäder <[email protected]> 634 635 * zstrptr.c (main): Lift print_strings function up to ... 636 (print_strings): ... here. New file scope function taking 637 Elf_Scn*, Elf* and ndx as arguments. 638 6392020-12-20 Dmitry V. Levin <[email protected]> 640 641 * .gitignore: New file. 642 6432020-12-12 Mark Wielaard <[email protected]> 644 645 * testfile-retain.o.bz2: New test file. 646 * run-retain.sh: New test. 647 * Makefile.am (TESTS): Add run-retain.sh. 648 (EXTRA_DIST): Add run-retain.sh and testfile-retain.o.bz2 649 6502020-12-16 Dmitry V. Levin <[email protected]> 651 652 * dwflmodtest.c (N_): Remove. 653 6542020-12-12 Dmitry V. Levin <[email protected]> 655 656 * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics. 657 * run-lfs-symbols.sh: Likewise. 658 * elfstrmerge.c (main): Fix spelling typos in comments. 659 * dwfl-bug-fd-leak.c: Likewise. 660 * run-readelf-line.sh: Likewise. 661 * run-stack-demangled-test.sh: Likewise. 662 * sectiondump.c (main): Likewise. 663 * varlocs.c (handle_die): Likewise. 664 6652020-12-11 Dmitry V. Levin <[email protected]> 666 667 * configure.ac: Remove. 668 * Makefile.am [STANDALONE]: Remove. 669 (check_PROGRAMS): Add msg_tst, system-elf-libelf-test, and $(asm_TESTS) 670 unconditionally. 671 (TESTS): Add msg_tst, system-elf-libelf-test, $(asm_TESTS), and 672 run-disasm-bpf.sh unconditionally. 673 6742020-11-23 Frank Ch. Eigler <[email protected]> 675 676 * run-debuginfod-find.sh: Add sqlite error injection & stats. 677 6782020-11-02 Mark Wielaard <[email protected]> 679 680 * run-debuginfod-find.sh: Create bogus R/nothing.rpm with cyclic 681 symlink instead of chmod 000. 682 6832020-11-19 Frank Ch. Eigler <[email protected]> 684 685 * run-debuginfod-find.sh: Look for http-* metrics. 686 6872020-11-01 Érico N. Rolim <[email protected]> 688 Mark Wielaard <[email protected]> 689 690 * alldts.c (main): Use DEFFILEMODE for open with O_CREAT. 691 * arextract.c (main): Likewise. 692 * ecp.c (main): Likewise for creat. 693 * elfstrtab.c (check_elf): Use DEFFILEMODE for open with O_CREAT, 694 remove mode from open calls without O_CREAT. 695 * emptyfile.c (check_elf): Likewise. 696 * fillfile.c (check_elf): Likewise. 697 * vendorelf.c (check_elf): Likewise. 698 * newdata.c (checkelf): Use DEFFILEMODE for open with O_CREAT. 699 * update{1,2,3,4}.c (main): Likewise. 700 * 701 7022020-10-31 Mark Wielaard <[email protected]> 703 704 * dwfl-proc-attach.c (dlopen): New external function override. 705 7062020-10-31 Mark Wielaard <[email protected]> 707 708 * test-wrapper.sh: Use =, not == for string compare. 709 7102020-10-29 Mark Wielaard <[email protected]> 711 712 * test-wrapper.sh: Determine whether the test is a script or not 713 and run binaries directly under valgrind. 714 * dwfl-bug-fd-leak.c (main): Call getrlimit before calling setrlimit. 715 * dwfl-proc-attach.c (main): Call dwfl_end, pthread_cancel and 716 pthread_join. 717 * vdsosyms.c (main): Call dwfl_end. 718 7192020-10-31 Frank Ch. Eigler <[email protected]> 720 721 * run-debuginfod-find.sh: Modify for tweaked/new metrics. 722 7232020-10-30 Frank Ch. Eigler <[email protected]> 724 725 PR26775 726 * run-debuginfod-find.sh: Modify test for restored 727 thread_work_total semantics for grooming. 728 7292020-10-29 Frank Ch. Eigler <[email protected]> 730 731 PR26775 732 * run-debuginfod-find.sh: Modify test for different 733 thread_work_total semantics for grooming. 734 7352020-10-29 Frank Ch. Eigler <[email protected]> 736 737 PR26810 738 * run-debuginfod-find.sh: Add tests for successful archive fetches across 739 renamed RPMs, even without grooming. 740 7412020-10-25 Mark Wielaard <[email protected]> 742 743 * read_unaligned.c: New test. 744 * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned. 745 (read_unaligned_LDADD): New variable. 746 7472020-10-28 Tom Tromey <[email protected]> 748 749 PR26773 750 * Makefile.am (check_PROGRAMS, TESTS): Add leb128. 751 (leb128_LDADD): New variable. 752 * leb128.c: New file. 753 7542020-10-19 Mark Wielaard <[email protected]> 755 756 * addrcfi.c (print_register): Make ops_mem 3 elements. 757 7582020-10-19 Mark Wielaard <[email protected]> 759 760 * testfile60.bz2: Removed. 761 * Makefile.am (EXTRA_DIST): Remove testfile60.bz2. 762 * run-allregs.sh: Remove tilegx testfile60 testcase. 763 7642020-10-20 Frank Ch. Eigler <[email protected]> 765 766 PR26756: more prometheus metrics 767 * run-debuginfod-find.sh: Trigger some errors with dummy "nothing.rpm" 768 and check for new metrics. 769 7702020-09-18 Mark Wielaard <[email protected]> 771 772 * run-readelf-compressed-zstd.sh: New test. 773 * Makefile.am (EXTRA_DISTS): Add run-readelf-compressed-zstd.sh. 774 (TESTS): Add run-readelf-compressed-zstd.sh if HAVE_ZSTD. 775 7762020-09-03 Mark Wielaard <[email protected]> 777 778 * run-readelf-frames.sh: New test. 779 * Makefile.am (TESTS): Add run-readelf-frames.sh. 780 (EXTRA_DIST): Likewise. 781 7822020-09-03 Mark Wielaard <[email protected]> 783 784 * testfile-gnu-property-note-aarch64.bz2: New file. 785 * run-readelf-n.sh: Handle testfile-gnu-property-note-aarch64. 786 * Makefile.am (EXTRA_DIST): Add 787 testfile-gnu-property-note-aarch64.bz2. 788 7892020-07-19 Mark Wielaard <[email protected]> 790 791 * asm-tst1.c: Include libebl.h after libasm.h. 792 * asm-tst2.c: Likewise. 793 * asm-tst3.c: Likewise. 794 * asm-tst4.c: Likewise. 795 * asm-tst5.c: Likewise. 796 * asm-tst6.c: Likewise. 797 * asm-tst7.c: Likewise. 798 * asm-tst8.c: Likewise. 799 * asm-tst9.c: Likewise. 800 8012020-07-05 Mark Wielaard <[email protected]> 802 803 * run-test-includes.sh: New test. 804 * Makefile.am (TESTS): Add run-test-includes.sh. 805 (EXTRA_DIST): Likewise. 806 8072020-07-03 Alice Zhang <[email protected]> 808 809 * run-debuginfod-find.sh: Add scheme free url testcase. 810 8112020-06-19 Mark Wielaard <[email protected]> 812 813 * Makefile.am (TESTS): Don't add run-debuginfod-find.sh when 814 DUMMY_LIBDEBUGINFOD. 815 8162020-06-16 Mark Wielaard <[email protected]> 817 818 * coverage.sh: Use /usr/bin/env bash. 819 * run-ar.sh: Likewise. 820 * run-backtrace-core-aarch64.sh: Likewise. 821 * run-backtrace-core-i386.sh: Likewise. 822 * run-backtrace-core-ppc.sh: Likewise. 823 * run-backtrace-core-s390.sh: Likewise. 824 * run-backtrace-core-s390x.sh: Likewise. 825 * run-backtrace-core-sparc.sh: Likewise. 826 * run-backtrace-core-x32.sh: Likewise. 827 * run-backtrace-core-x86_64.sh: Likewise. 828 * run-backtrace-data.sh: Likewise. 829 * run-backtrace-demangle.sh: Likewise. 830 * run-backtrace-dwarf.sh: Likewise. 831 * run-backtrace-fp-core-aarch64.sh: Likewise. 832 * run-backtrace-fp-core-i386.sh: Likewise. 833 * run-backtrace-fp-core-ppc64le.sh: Likewise. 834 * run-backtrace-fp-core-x86_64.sh: Likewise. 835 * run-backtrace-native-biarch.sh: Likewise. 836 * run-backtrace-native-core-biarch.sh: Likewise. 837 * run-backtrace-native-core.sh: Likewise. 838 * run-backtrace-native.sh: Likewise. 839 * run-debuginfod-find.sh: Likewise. 840 * run-deleted.sh: Likewise. 841 * run-dwelf_elf_e_machine_string.sh: Likewise. 842 * run-large-elf-file.sh: Likewise. 843 * run-lfs-symbols.sh: Likewise. 844 * run-linkmap-cut.sh: Likewise. 845 8462020-06-11 Mark Wielaard <[email protected]> 847 848 * Makefile.am (nlist-test): Add GCOV flags when necessary. 849 8502020-06-06 Mark Wielaard <[email protected]> 851 852 * testfilesyms32.bz2: New test file. 853 * testfilesyms64.bz2: Likewise. 854 * run-nm-syms.sh: New test. 855 * Makefile.am (TESTS): Add run-nm-syms.sh. 856 (EXTRA_DIST): run-nm-syms.sh, testfilesyms32.bz2 and 857 testfilesyms64.bz2 858 8592020-05-08 Mark Wielaard <[email protected]> 860 861 * elfputzdata.c (main): Explicitly check orig_buf is not NULL 862 before calling memcmp. 863 8642020-05-05 Mark Wielaard <[email protected]> 865 866 * testfile-lto-gcc8.bz2: New test file. 867 * testfile-lto-gcc9.bz2: Likewise. 868 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc8.bz2 and 869 testfile-lto-gcc9.bz2. 870 * run-allfcts.sh: Add testfile-lto-gcc9 and testfile-lto-gcc8 871 tests. 872 8732020-05-05 Mark Wielaard <[email protected]> 874 875 * testfile-lto-gcc10.bz2: New test file. 876 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc10.bz2. 877 * run-allfcts.sh: Add testfile-lto-gcc10 test. 878 8792020-04-17 Mark Wielaard <[email protected]> 880 881 * test-subr.sh (testrun_on_self_obj): New function. 882 * run-varlocs-self.sh: Run testrun_on_self_exe and 883 testrun_on_self_lib with -e, run testrun_on_self_obj with 884 --exprlocs -e. 885 8862020-04-17 Mark Wielaard <[email protected]> 887 888 * Makefile.am (test-nlist$): New goal with minimal CFLAGS. 889 (test_nlist_CFLAGS): New variable. 890 8912020-03-28 Frank Ch. Eigler <[email protected]> 892 893 * run-debuginfod-find.sh: Test timestamps of archive-origin files. 894 8952020-03-27 Frank Ch. Eigler <[email protected]> 896 897 * run-debuginfod-find.sh: Test /path/-based debuginfod-find. 898 8992020-03-24 Frank Ch. Eigler <[email protected]> 900 901 * run-debuginfod-find.sh: Test relay of UA and XFF headers across 902 federating debuginfods. 903 9042020-03-26 Frank Ch. Eigler <[email protected]> 905 906 * run-debuginfod-find.sh: Look for debuginfod's new 907 http_responses_* metrics. 908 9092020-03-26 Frank Ch. Eigler <[email protected]> 910 911 * run-debuginfod-find.sh: Look for bsdtar instead of dpkg. 912 9132020-03-26 Frank Ch. Eigler <[email protected]> 914 915 * run-debuginfod-find.sh: Check for bsdtar zstd capability 916 for running tests against zstd-compressed fedora31 rpms. 917 9182020-03-26 Mark Wielaard <[email protected]> 919 920 * Makefile.am (EXTRA_DIST): Add 921 debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm, 922 debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm, 923 debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm, 924 debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm, 925 debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm, 926 debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm 927 9282020-03-24 Frank Ch. Eigler <[email protected]> 929 930 * debuginfod-rpms/hello3.spec., /fedora31/*: New files with 931 uncanonicalized source paths. 932 * run-debuginfod-find.sh: Test them. 933 9342020-03-24 Frank Ch. Eigler <[email protected]> 935 936 * run-debuginfod-find.sh: Test the more detailed debuginfod 937 webapi log format. 938 9392020-03-23 Mark Wielaard <[email protected]> 940 941 * getphdrnum.c: Include config.h. 942 * run-lfs-symbols.sh: Also check that file exists. Add more logs. 943 Remove ebl modules check. 944 9452020-03-22 Omar Sandoval <[email protected]> 946 Mark Wielaard <[email protected]> 947 948 * getphdrnum.c: New file. 949 * run-getphdrnum.sh: New test. 950 * testfile-phdrs.elf.bz2: New test file. 951 * Makefile.am (check_PROGRAMS): Add getphdrnum. 952 (TESTS): Add run-getphdrnum.sh. 953 (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2. 954 (getphdrnum_LDADD): New variable. 955 9562020-03-22 Frank Ch. Eigler <[email protected]> 957 958 * run-debuginfod-find.sh: Look for URL in default progressfn 959 and from debuginfod-find -v. 960 9612020-02-19 Aaron Merey <[email protected]> 962 963 * run-debuginfod-find.sh: Run tests for verifying default 964 client cache locations. 965 9662020-02-26 Konrad Kleine <[email protected]> 967 968 * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning 969 with "file://" 970 9712020-02-21 Mark Wielaard <[email protected]> 972 973 * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS. 974 (installed_TESTS_ENVIRONMENT): Likewise. 975 9762020-02-19 Aaron Merey <[email protected]> 977 978 * run-debuginfod-find.sh: Test that files unrelated to debuginfod 979 survive cache cleaning. 980 9812020-02-08 Mark Wielaard <[email protected]> 982 983 * run-pt_gnu_prop-tests.sh: New test. 984 * testfile_pt_gnu_prop.bz2: New test file. 985 * testfile_pt_gnu_prop32.bz2: Likewise. 986 * Makefile.am (TESTS): Add run-pt_gnu_prop-tests.sh 987 (EXTRA_DISTS): Likewise. Add testfile_pt_gnu_prop.bz2 and 988 testfile_pt_gnu_prop32.bz2. 989 9902020-02-05 Frank Ch. Eigler <[email protected]> 991 992 * debuginfo-tars/*: New test files from Eli Schwartz of ArchLinux. 993 * Makefile.am (EXTRA_DIST): Package them. 994 * run-debuginfod-find.sh: Run basic archive extraction tests. 995 9962020-02-03 Frank Ch. Eigler <[email protected]> 997 998 * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio. 999 10002020-01-19 Frank Ch. Eigler <[email protected]> 1001 1002 * run-debuginfod-find.sh: Check for proper groom completion count. 1003 10042020-01-18 Frank Ch. Eigler <[email protected]> 1005 1006 * run-debuginfod-find.sh: Test empty source_paths[]. 1007 10082020-01-08 Mark Wielaard <[email protected]> 1009 1010 * asm-test?.c: include libebl.h. 1011 10122020-01-11 Frank Ch. Eigler <[email protected]> 1013 1014 * run-debuginfod-find.sh: Test --fdcache* options. 1015 10162020-01-11 Frank Ch. Eigler <[email protected]> 1017 1018 * run-debuginfod-find.sh: Adjust to new work-queue metrics. 1019 10202020-01-02 Mark Wielaard <[email protected]> 1021 1022 * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10. 1023 10242019-12-22 Frank Ch. Eigler <[email protected]> 1025 1026 * debuginfod-debs/*: New test files, based on 1027 https://wiki.debian.org/Packaging/Intro. 1028 * run-debuginfod-find.sh: Test deb file processing (if dpkg 1029 installed). 1030 10312019-12-04 Frank Ch. Eigler <[email protected]> 1032 1033 * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS. 1034 10352019-12-11 Omar Sandoval <[email protected]> 1036 1037 * dwfl-report-segment-coalesce.c: New test. 1038 * Makefile.am: Add dwfl-report-segment-coalesce 1039 10402019-12-06 Mark Wielaard <[email protected]> 1041 1042 * run-debuginfod-find.sh: Force -Wl,--build-id. 1043 10442019-12-05 Mark Wielaard <[email protected]> 1045 1046 * run-findinfod-find.sh: Run strip under testrun. 1047 10482019-12-06 Mark Wielaard <[email protected]> 1049 1050 * backtrace-data.c (main): Add break after assert. 1051 10522019-12-05 Mark Wielaard <[email protected]> 1053 1054 * run-elfclassify.sh: Run elfcompress under testrun. 1055 10562019-11-26 Mark Wielaard <[email protected]> 1057 1058 * Makefile.am (BUILD_STATIC): Add libraries needed for libdw. 1059 * coverage.sh: Add debuginfod directory, check whether source 1060 is .c or cxx. 1061 10622019-11-24 Mark Wielaard <[email protected]> 1063 1064 * run-debuginfod-find.sh: Reduce verbosity. Add new cleanup 1065 function to use with trap. Add wait_ready function to query 1066 metrics instead of sleeping. Calculate rpms and sourcefiles 1067 to check. 1068 10692019-11-23 Mark Wielaard <[email protected]> 1070 1071 * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1. 1072 10732019-11-07 Frank Ch. Eigler <[email protected]> 1074 1075 * run-debuginfod-find.sh: Test debuginfod metrics via curl. 1076 Fix federated testing, asserted by metrics. 1077 10782019-11-06 Frank Ch. Eigler <[email protected]> 1079 1080 * run-debuginfod-find.sh: Test debuginfod -L mode. Drop 1081 plain debuginfo-find help-output-comparison. 1082 10832019-11-04 Frank Ch. Eigler <[email protected]> 1084 1085 * run-debuginfod-find.sh: Test debuginfod-find -v progress mode. 1086 10872019-10-28 Aaron Merey <[email protected]> 1088 Frank Ch. Eigler <[email protected]> 1089 1090 * run-debuginfod-find.sh, debuginfod_build_id_find.c: New test. 1091 * testfile-debuginfod-*.rpm.bz2: New data files for test. 1092 * Makefile.am: Run it. 1093 10942019-11-14 Andreas Schwab <[email protected]> 1095 1096 * run-large-elf-file.sh: Skip if available memory cannot be 1097 determined. 1098 10992019-11-14 Andreas Schwab <[email protected]> 1100 1101 * dwelf_elf_e_machine_string.c (main): Clear errno before calling 1102 strtol. 1103 11042019-09-02 Mark Wielaard <[email protected]> 1105 1106 * run-readelf-s.sh: Add --dyn-syms case. 1107 11082019-09-07 Mark Wielaard <[email protected]> 1109 1110 * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh, 1111 testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2. 1112 11132019-08-27 Mark Wielaard <[email protected]> 1114 1115 * run-readelf-test2.sh: Add -x num testcase. 1116 11172019-08-29 Mark Wielaard <[email protected]> 1118 1119 * test-subr.sh (self_test_files_exe): replace elfcmp, objdump and 1120 readelf with elfclassify, stack and unstrip. 1121 (self_test_files_lib): Replace libdw.so with libasm.so. 1122 11232019-07-05 Omar Sandoval <[email protected]> 1124 1125 * Makefile.am: Remove -ldl. 1126 * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so. 1127 11282019-07-26 Florian Weimer <[email protected]> 1129 Mark Wielaard <[email protected]> 1130 1131 * run-elfclassify.sh: New test. 1132 * run-elfclassify-self.sh: Likewise. 1133 * Makefile.sh (TESTS): Add run-elfclassify.sh and 1134 run-elfclassify-self.sh. 1135 (EXTRA_DIST): Likewise. 1136 11372019-07-16 Mao Han <[email protected]> 1138 1139 * hello_csky.ko.bz2: New testfile. 1140 * run-addrcfi.sh: Add C-SKY testfile. 1141 * run-strip-reloc.sh: Likewise. 1142 * testfilecsky.bz2: New testfile. 1143 * Makefile.am (EXTRA_DIST): Add hello_csky.ko.bz2 and 1144 testfilecsky.bz2. 1145 11462019-06-28 Mark Wielaard <[email protected]> 1147 1148 * Makefile.am (check_PROGRAMS): Add dwelf_elf_e_machine_string. 1149 (TESTS): Add run-dwelf_elf_e_machine_string.sh. 1150 (EXTRA_DIST): Likewise. 1151 (dwelf_elf_e_machine_string_LDADD): New variable. 1152 * dwelf_elf_e_machine_string.c: New file. 1153 * run-dwelf_elf_e_machine_string.sh: New test. 1154 11552019-07-01 Mark Wielaard <[email protected]> 1156 1157 * run-large-elf-file.sh: Add 2GB to mem_needed when running under 1158 valgrind. 1159 11602019-06-18 Mark Wielaard <[email protected]> 1161 1162 * Makefile.am (TESTS): Add run-large-elf-file.sh. 1163 (EXTRA_DIST): Likewise. 1164 * addsections.c (add_sections): Add sec_size argument, use it 1165 as the size of the section data. 1166 (main): Handle extra sec_size argument. Pass to add_sections. 1167 * run-large-elf-file.sh: New test. 1168 11692019-06-03 Mark Wielaard <[email protected]> 1170 1171 * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections, 1172 make sure they are actually next to each other. 1173 11742019-05-12 Mark Wielaard <[email protected]> 1175 1176 * Makefile.am (check_PROGRAMS): Add elfrdwrnop. 1177 (TESTS): Add run-reverse-sections.sh and 1178 run-reverse-sections-self.sh. 1179 (EXTRA_DIST): Likewise. 1180 (elfrdwrnop): New variable. 1181 * elfcopy.c (copy_elf): Add reverse_off argument. Record offsets 1182 of sections and swap them when possible. 1183 (main): Check for --reverse-off argument. Pass reverse_offs to 1184 copy_elf. 1185 * run-reverse-sections.sh: New test. 1186 * run-reverse-sections-self.sh: Likewise. 1187 * elfrdwrnop.c: New file. 1188 11892019-05-10 Mark Wielaard <[email protected]> 1190 1191 * Makefile.am (TESTS): Add run-readelf-discr.sh. 1192 (EXTRA_DIST): Likewise and add testfile-rng.debug.bz2 and 1193 testfile-urng.debug.bz2. 1194 * run-readelf-discr.sh: New test. 1195 * testfile-rng.debug.bz2: New test file. 1196 * testfile-urng.debug.bz2: Likewise. 1197 11982019-04-30 Mark Wielaard <[email protected]> 1199 1200 * xlate_notes.c: New file. 1201 * run-xlate-note.sh: New test. 1202 * Makefile.am (check_PROGRAMS): Add xlate_notes. 1203 (TESTS): Add run-xlate-note.sh. 1204 (EXTRA_DIST): Likewise. 1205 (xlate_notes_LDADD): New variable. 1206 12072019-04-30 Mark Wielaard <[email protected]> 1208 1209 * backtrace-dwarf.c (frame_callback): Explicitly check symname is 1210 NULL. 1211 12122019-04-30 Mark Wielaard <[email protected]> 1213 1214 * backtrace.c (frame_callback): Explicitly check symname is NULL. 1215 12162019-03-04 Mark Wielaard <[email protected]> 1217 1218 * backtrace.c (tgkill): Remove define. 1219 12202019-01-24 Mark Wielaard <[email protected]> 1221 1222 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by 1223 !INSTALL_ELFH. 1224 12252019-01-31 Mark Wielaard <[email protected]> 1226 1227 * backtrace-child.c (stdarg): Remove assert (errno == 0). 1228 (main): Likewise. 1229 * backtrace-data.c (maps_lookup): Likewise. 1230 (set_initial_registers): Likewise. 1231 (main): Likewise. 1232 * backtrace.c (prepare_thread): Likewise. 1233 (exec_dump): Likewise. 1234 12352019-01-29 Yonghong Song <[email protected]> 1236 1237 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse 1238 inode number. 1239 12402019-01-18 Ulf Hermann <[email protected]> 1241 1242 * run-annobingroup.sh: Use different files for strip output. 1243 * run-strip-test-many.sh: Use different files for strip output, 1244 check results of strip, unstrip, elflint. 1245 12462019-01-24 Mark Wielaard <[email protected]> 1247 1248 * addsections.c (add_sections): Change the name of the old shstrtab 1249 section to ".old_shstrtab" and give the old shstrtab name to the 1250 new shstrtab section. 1251 12522019-01-09 Ulf Hermann <[email protected]> 1253 1254 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found. 1255 12562018-12-27 Jim Wilson <[email protected]> 1257 1258 * run-readelf-mixed-corenote.sh: Update with new riscv64 output. 1259 12602018-12-02 Mark Wielaard <[email protected]> 1261 1262 * testfile_gnu_props.32le.o.bz2: New testfile. 1263 * testfile_gnu_props.64le.o.bz2: Likewise. 1264 * testfile_gnu_props.32be.o.bz2: Likewise. 1265 * testfile_gnu_props.64be.o.bz2: Likewise. 1266 * Makefile (EXTRA_DIST): Add new testfiles. 1267 * run-readelf-n.sh: Run tests on new testfiles. 1268 12692018-11-28 Mark Wielaard <[email protected]> 1270 1271 * backtrace-data.c (main): Improve error message. 1272 * run-backtrace-data.sh: Skip exit 77 return. 1273 12742018-11-21 Mark Wielaard <[email protected]> 1275 1276 * backtrace-subr.sh (check_unsupported): Call test_cleanup before 1277 exit. 1278 12792018-11-17 Mark Wielaard <[email protected]> 1280 1281 * run-strip-version.sh: New test. 1282 * testfile-version.bz2: New test file. 1283 * Makefile.am (TESTS): Add run-strip-version.sh. 1284 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2. 1285 12862018-11-09 Mark Wielaard <[email protected]> 1287 1288 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o 1289 testfile-debug-rel-ppc64-g.o. 1290 12912018-11-12 Mark Wielaard <[email protected]> 1292 1293 * run-readelf-n.sh: Add testfile-annobingroup.o test. 1294 12952018-11-11 Mark Wielaard <[email protected]> 1296 1297 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test 1298 for NT_VERSION. 1299 13002018-11-04 Mark Wielaard <[email protected]> 1301 1302 * testfile-bpf-reloc.expect.bz2: Update with new expected jump 1303 variants. 1304 13052018-10-20 Mark Wielaard <[email protected]> 1306 1307 * run-readelf-compressed.sh: New test. 1308 * Makefile.am (TESTS): Add run-readelf-compressed.sh. 1309 (EXTRA_DIST): Likewise. 1310 13112018-11-09 Mark Wielaard <[email protected]> 1312 1313 * testfile-debug-rel-ppc64-g.o.bz2: New test file. 1314 * testfile-debug-rel-ppc64-z.o.bz2: Likewise. 1315 * testfile-debug-rel-ppc64.o.bz2: Likewise. 1316 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2, 1317 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2. 1318 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o. 1319 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o. 1320 13212018-10-26 Mark Wielaard <[email protected]> 1322 1323 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only. 1324 13252018-10-18 Mark Wielaard <[email protected]> 1326 1327 * run-readelf-n.sh: New test. 1328 * testfile-gnu-property-note.bz2: New testfile. 1329 * testfile-gnu-property-note.o.bz2: Likewise. 1330 * Makefile.am (TESTS): Add run-readelf-n.sh. 1331 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2, 1332 testfile-gnu-property-note.o.bz2. 1333 13342018-10-12 Mark Wielaard <[email protected]> 1335 1336 * run-readelf-zdebug.sh: Adjust flags output. 1337 * run-readelf-macro.sh: Likewise. 1338 * run-readelf-macros.sh: New test. 1339 * testfile-macros-object.o.bz2: New test file. 1340 * Makefile.am (TESTS): Add run-readelf-macros.sh. 1341 (EXTRA_DIST): Add run-readelf-macros.sh and 1342 testfile-macros-object.o.bz2. 1343 13442018-09-12 Mark Wielaard <[email protected]> 1345 1346 * run-annobingroup.sh: Add x86_64 ET_REL testcase. 1347 * testfile-annobingroup-x86_64.o.bz2: New test file. 1348 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2. 1349 13502018-09-18 Mark Wielaard <[email protected]> 1351 1352 * backtrace-dwarf.c (thread_callback): Only error when 1353 dwfl_thread_getframes returns an error. 1354 (main): Don't call abort or assert but print an error when 1355 something unexpected happens. 1356 13572018-09-13 Mark Wielaard <[email protected]> 1358 1359 * run-strip-test-many.sh: New test. 1360 * Makefile.am (TESTS): Add run-strip-test-many.sh. 1361 (EXTRA_DIST): Likewise. 1362 13632018-09-13 Mark Wielaard <[email protected]> 1364 1365 * run-typeiter-many.sh: New test. 1366 * Makefile.am (TESTS): Add run-typeiter-many.sh. 1367 (EXTRA_DIST): Likewise. 1368 13692018-09-13 Mark Wielaard <[email protected]> 1370 1371 * run-copymany-sections.sh: New test. 1372 * Makefile.am (TESTS): Add run-copymany-sections.sh. 1373 (EXTRA_DIST): Likewise. 1374 13752018-09-12 Mark Wielaard <[email protected]> 1376 1377 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections. 1378 (TESTS): Add run-copyadd-sections.sh. 1379 (EXTRA_DIST): Likewise. 1380 (elfcopy_LDADD): New variable. 1381 (addsections_LDADD): Likewise. 1382 * addsections.c: New file. 1383 * elfcopy.c: Likewise. 1384 * run-copyadd-sections.sh: New test. 1385 13862018-09-11 Mark Wielaard <[email protected]> 1387 1388 * backtrace-dwarf.c (main): Add section attribute. 1389 13902018-07-24 Mark Wielaard <[email protected]> 1391 1392 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests. 1393 * testfile-annobingroup-i386.o.bz2: New test file. 1394 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2. 1395 13962018-07-21 Mark Wielaard <[email protected]> 1397 1398 * run-annobingroup.sh: New test. 1399 * testfile-annobingroup.o.bz2: New test file. 1400 * Makefile.am (TESTS): Add run-annobingroup.sh. 1401 (EXTRA_DIST): Add run-annobingroup.sh and 1402 testfile-annobingroup.o.bz2. 1403 14042018-07-19 Andreas Schwab <[email protected]> 1405 1406 * Makefile.am (TESTS): Add run-strip-test12.sh. 1407 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2, 1408 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2. 1409 (run-strip-test11.sh): New file. 1410 (testfile-riscv64.bz2): New file. 1411 (testfile-riscv64-s.bz2): New file. 1412 (testfile-riscv64-core.bz2): New file. 1413 * run-allregs.sh: Add test for testfile-riscv64-core. 1414 * run-readelf-mixed-corenote.sh: Likewise. 1415 14162018-07-16 Ulf Hermann <[email protected]> 1417 1418 * run-strip-reloc.sh: Remove previous testfiles before running the 1419 next test. 1420 14212018-07-17 Mark Wielaard <[email protected]> 1422 1423 * hello_riscv64.ko.bz2: Updated with debuginfo. 1424 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y. 1425 14262018-07-05 Mark Wielaard <[email protected]> 1427 1428 * next_cfi.c (handle_section): Take a new argument name. Check 1429 whether the section is compressed and uncompress if so. 1430 (main): Check also for .zdebug_frame and pass the name of the 1431 section to handle_section. 1432 14332018-07-04 Ross Burton <[email protected]> 1434 1435 * addrscopes.c: Remove error.h include, add system.h include. 1436 * allregs.c: Likewise. 1437 * backtrace-data.c: Likewise. 1438 * backtrace-dwarf.c: Likewise. 1439 * backtrace.c: Likewise. 1440 * buildid.c: Likewise. 1441 * debugaltlink.c: Likewise. 1442 * debuglink.c: Likewise. 1443 * deleted.c : Likewise. 1444 * dwarfcfi.c: Likewise. 1445 * dwfl-addr-sect.c: Likewise. 1446 * dwfl-bug-addr-overflow.c: Likewise. 1447 * dwfl-bug-fd-leak.c: Likewise. 1448 * dwfl-bug-getmodules.c: Likewise. 1449 * dwfl-proc-attach.c: Likewise. 1450 * dwfl-report-elf-align.c: Likewise. 1451 * dwfllines.c: Likewise. 1452 * dwflmodtest.c: Likewise. 1453 * dwflsyms.c: Likewise. 1454 * early-offscn.c: Likewise 1455 * ecp.c: Likewise. 1456 * elfstrmerge.c: Likewise. 1457 * find-prologues.c: Likewise. 1458 * funcretval.c: Likewise. 1459 * funcscopes.c: Likewise. 1460 * getsrc_die.c: Likewise. 1461 * line2addr.c: Likewise. 1462 * low_high_pc.c: Likewise. 1463 * next_cfi.c: Likewise. 1464 * rdwrmmap.c: Likewise. 1465 * saridx.c: Likewise. 1466 * sectiondump.c: Likewise. 1467 * varlocs.c: Likewise. 1468 * vdsosyms.c: Likewise. 1469 14702018-06-28 Mark Wielaard <[email protected]> 1471 1472 * next_cfi.c: New file. 1473 * run-next-cfi.sh: New test. 1474 * run-next-cfi-self.sh: Likewise. 1475 * Makefile.am (check_PROGRAMS): Add next_cfi. 1476 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh. 1477 (EXTRA_DIST): Likewise. 1478 (next_cfi_LDADD): New variable. 1479 14802018-06-27 Mark Wielaard <[email protected]> 1481 1482 * dwarf_cfi.c: New file. 1483 * run-dwarfcfi.sh: New test. 1484 * testfile11-debugframe.bz2: New testfile. 1485 * testfile12-debugframe.bz2: Likewise. 1486 * testfileaarch64-debugframe.bz2: Likewise. 1487 * testfilearm-debugframe.bz2: Likewise. 1488 * testfileppc32-debugframe.bz2: Likewise. 1489 * testfileppc64-debugframe.bz2: Likewise. 1490 * Makefile.am (check_PROGRAMS): Add dwarfcfi. 1491 (TESTS): Add run-dwarfcfi.sh. 1492 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2, 1493 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2, 1494 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and 1495 testfileppc64-debugframe.bz2. 1496 14972018-06-23 Mark Wielaard <[email protected]> 1498 1499 * varlocs.c (print_expr): Take a new depth argument. Check it isn't 1500 greater than MAX_DEPTH (64). Pass on to print_expr_block. 1501 (print_expr_block): Take a new depth argument. Pass it to print_expr. 1502 (print_expr_block_addrs): Call print_expr_block with zero depth. 1503 15042018-06-25 Mark Wielaard <[email protected]> 1505 1506 * next-files.c: New file. 1507 * next-lines.c: Likewise. 1508 * run-next-files.sh: New test. 1509 * run-next-lines.sh: Likewise. 1510 * testfile-only-debug-line.bz2: New test file. 1511 * Makefile.am (check_PROGRAMS): Add next-files and next-lines. 1512 (TESTS): Add run-next-files.sh and run-next-lines.sh. 1513 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and 1514 testfile-only-debug-line.bz2. 1515 (next_lines_LDADD): New variable. 1516 (next_files_LDADD): Likewise. 1517 15182018-06-16 Yonghong Song <[email protected]> 1519 1520 * run-reloc-bpf.sh: New test. 1521 * testfile-bpf-reloc.o.bz2: New test file. 1522 * testfile-bpf-reloc.expect.bz2: New test file. 1523 * Makefile.am (TESTS): Add run-reloc-bpf.sh. 1524 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and 1525 testfile-bpf-reloc.expect.bz2. 1526 15272018-06-13 Mark Wielaard <[email protected]> 1528 1529 * run-readelf-const-values.sh: New test. 1530 * testfile-const-values.debug.bz2: New test file. 1531 * run-readelf-zdebug-rel.sh: Adjust expected const_value. 1532 * Makefile.am (TESTS): Add run-readelf-const-values.sh. 1533 (EXTRA_DIST): Add run-readelf-const-values.sh and 1534 testfile-const-values.debug.bz2. 1535 15362018-06-08 Mark Wielaard <[email protected]> 1537 1538 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref 1539 target, do not assert. 1540 15412018-06-08 Mark Wielaard <[email protected]> 1542 1543 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call. 1544 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call. 1545 15462018-06-08 Mark Wielaard <[email protected]> 1547 1548 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there 1549 actually is a cfi_debug. 1550 15512018-06-07 Mark Wielaard <[email protected]> 1552 1553 * run-readelf-loc.sh: Fix expected output for startx_length. 1554 15552018-06-06 Mark Wielaard <[email protected]> 1556 1557 * varlocs.c (print_base_type): Use error, not assert when the DIE 1558 isn't a base type. 1559 15602018-06-02 Mark Wielaard <[email protected]> 1561 1562 * test-subr.sh (self_test_files_exe): Drop shared libraries. 1563 Keep addr2line, elfcmp, objdump and readelf. 1564 15652018-05-31 Mark Wielaard <[email protected]> 1566 1567 * run-readelf-types.sh: New test. 1568 * Makefile.am (TESTS): Add run-readelf-types.sh. 1569 (EXTRA_DIST): Likewise. 1570 15712018-05-31 Mark Wielaard <[email protected]> 1572 1573 * splitdwarf4-not-split4.dwo.bz2: New test file. 1574 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise. 1575 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo 1576 and testfile-splitdwarf4-not-split4.debug. 1577 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug. 1578 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2 1579 and testfile-splitdwarf4-not-split4.debug.bz2. 1580 15812018-05-31 Mark Wielaard <[email protected]> 1582 1583 * test-subr.sh (self_test_files): Split into self_test_files_exe, 1584 self_test_files_lib and self_test_obj. 1585 (testrun_on_self_exe): New function. 1586 (testrun_on_self_lib): Likewise. 1587 * run-get-units-split.sh: Replace testrun_on_self with 1588 testrun_on_self_exe and testrun_on_self_lib. 1589 * run-unit-info.sh: Likewise. 1590 15912018-05-31 Mark Wielaard <[email protected]> 1592 1593 * low_high_pc.c (handle_die): Handle NULL name. Print offset and 1594 name of die. 1595 (main): Check if the cu DIE is a skeleton, then get and handle 1596 the split subdie. 1597 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and 1598 testfile-splitdwarf-5. Run on all selftest files. 1599 16002018-05-31 Mark Wielaard <[email protected]> 1601 1602 * get-units-invalid.c (main): Check dwarf_cuoffset and 1603 dwarf_dieoffset. 1604 16052018-05-29 Mark Wielaard <[email protected]> 1606 1607 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or 1608 type, gotten through dwarf_get_units. 1609 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5, 1610 split-dwarf-4, split-dwarf-5 and dwo files. 1611 16122018-05-29 Mark Wielaard <[email protected]> 1613 1614 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant. 1615 * run-varlocs.sh: Likewise. 1616 16172018-05-29 Mark Wielaard <[email protected]> 1618 1619 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase. 1620 16212018-05-28 Mark Wielaard <[email protected]> 1622 1623 * run-readelf-info-plus.sh: New test. 1624 * Makefile.am (TESTS): Add run-readelf-info-plus.sh. 1625 (EXTRA_DIST): Likewise. 1626 16272018-04-29 Mark Wielaard <[email protected]> 1628 1629 * run-readelf-addr.sh: New test. 1630 * Makefile.am (TESTS): Add run-readelf-addr.sh. 1631 (EXTRA_DIST): Likewise. 1632 16332018-04-27 Mark Wielaard <[email protected]> 1634 1635 * run-readelf-ranges.sh: Adjust expected output for address base. 1636 * run-readelf-addr.sh: New test. 1637 * Makefile.am (TESTS): Add run-readelf-addr.sh. 1638 (EXTRA_DIST): Likewise. 1639 16402018-04-07 Mark Wielaard <[email protected]> 1641 1642 * run-varlocs.sh: Run on testfileranges5.debug and 1643 testsplitfileranges5.debug. 1644 * varlocs.c (is_debug): New bool. 1645 (print_expr): Don't fail on missing CFI for is_debug. 1646 (main): Parse --debug, set is_debug. 1647 16482018-04-12 Mark Wielaard <[email protected]> 1649 1650 * run-readelf-loc.sh: Add new testcases. 1651 16522018-04-06 Mark Wielaard <[email protected]> 1653 1654 * testfileranges5.debug.bz2: New testfile. 1655 * testfilesplitranges5.debug.bz2: Likewise. 1656 * testfile-ranges-hello5.dwo.bz2: Likewise. 1657 * testfile-ranges-world5.dwo.bz2: Likewise. 1658 * run-dwarf-ranges.sh: Run on testfileranges5.debug. 1659 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug. 1660 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2, 1661 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and 1662 testfile-ranges-world5.dwo.bz2. 1663 16642018-04-11 Mark Wielaard <[email protected]> 1665 1666 * run-readelf-ranges.sh: New test. 1667 * Makefile.am (TESTS): Add run-readelf-ranges.sh. 1668 (EXTRA_DIST): Likewise. 1669 16702018-05-21 Mark Wielaard <[email protected]> 1671 1672 * addrx_constx-4.dwo.bz2: New testfile. 1673 * addrx_constx-5.dwo.bz2: Likewise. 1674 * testfile-addrx_constx-4.bz2: Likewise. 1675 * testfile-addrx_constx-5.bz2: Likewise 1676 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2 1677 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2. 1678 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5. 1679 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index, 1680 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx. 1681 (main): Handle split DWARF. 1682 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc. 1683 16842018-05-20 Mark Wielaard <[email protected]> 1685 1686 * unit-info.c: New test. 1687 * run-unit-info.sh: New test runner. 1688 * Makefile.am (check_PROGRAMS): Add unit-info. 1689 (TESTS): Add run-unit-info.sh 1690 (EXTRA_INFO): Likewise. 1691 (unit_info_LDADD): New variable. 1692 16932018-05-24 Mark Wielaard <[email protected]> 1694 1695 * get-units-invalid.c (main): Add check for invalid dwarf_ranges. 1696 * run-all-dwarf-ranges.sh: Correct expected output. 1697 16982018-05-18 Mark Wielaard <[email protected]> 1699 1700 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges. 1701 (TESTS): Add run-all-dwarf-ranges.sh. 1702 (EXTRA_DIST): Add run-all-dwarf-ranges.sh, 1703 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2 1704 and testfile-ranges-world.dwo.bz2. 1705 (all_dwarf_ranges_LDADD): New variable. 1706 * all-dwarf-ranges.c: New test program. 1707 * run-all-dwarf-ranges: New test runner. 1708 * testfile-ranges-hello.dwo.bz2: New test file. 1709 * testfile-ranges-world.dwo.bz2: Likewise. 1710 * testfilesplitranges4.debug.bz2: Likewise. 1711 17122018-05-18 Mark Wielaard <[email protected]> 1713 1714 * run-get-files.sh: Add testcases for testfile-splitdwarf-4, 1715 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5, 1716 testfile-hello5.dwo, testfile-world5.dwo. 1717 17182018-05-17 Mark Wielaard <[email protected]> 1719 1720 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel. 1721 (TESTS): Add run-attr-integrate-skel. 1722 (EXTRA_DIST): Likewise. 1723 (attr_integrate_skel_LDADD): New variable. 1724 * attr-integrate-skel.c: New test. 1725 * run-attr-integrate-skel.sh: New test runner. 1726 17272018-05-16 Mark Wielaard <[email protected]> 1728 1729 * Makefile.am (check_PROGRAMS): Add get-units-split. 1730 (TESTS): Add run-get-units-split.sh. 1731 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2, 1732 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2, 1733 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and 1734 testfile-world4.dwo.bz2. 1735 (get_units_split_LDADD): New variable. 1736 * get-units-split.c: New test. 1737 * run-get-units-split.sh: New test runner. 1738 * testfile-dwarf-45.source: Extend with build instructions for new 1739 test files. 1740 * testfile-hello4.dwo.bz2: New test file. 1741 * testfile-hello5.dwo.bz2: Likewise. 1742 * testfile-splitdwarf-4.bz2: Likewise. 1743 * testfile-splitdwarf-5.bz2: Likewise. 1744 * testfile-world5.dwo.bz2 and: Likewise. 1745 * testfile-world4.dwo.bz2: Likewise. 1746 17472018-05-09 Mark Wielaard <[email protected]> 1748 1749 * run-readelf-zdebug.sh: Adjust test output for new header layout. 1750 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4 1751 and testfile-dwarf-5. 1752 17532018-05-11 Mark Wielaard <[email protected]> 1754 1755 * Makefile.am (check_PROGRAMS): Add get-units-invalid. 1756 (TESTS): Add run-get-units-invalid.sh. 1757 (EXTRA_DIST): Likewise. 1758 (get_units_invalid_LDADD): New variable. 1759 * get-units-invalid.c: New test program. 1760 * run-get-units-invalid.sh: New test program runner. 1761 17622018-05-05 Mark Wielaard <[email protected]> 1763 1764 * testfile-dwarf-45.source: New file. 1765 * testfile-dwarf-4.bz2: New test file. 1766 * testfile-dwarf-5.bz2: Likewise. 1767 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and 1768 testfile-dwarf-5. 1769 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source, 1770 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2. 1771 17722018-04-19 Andreas Schwab <[email protected]> 1773 1774 * hello_riscv64.ko.bz2: New file. 1775 * run-strip-reloc.sh: Test it. 1776 * Makefile.am (EXTRA_DIST): Add it. 1777 17782018-04-16 Mark Wielaard <[email protected]> 1779 1780 * testfile-ppc64-min-instr.bz2: New testfile. 1781 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2. 1782 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2. 1783 17842018-04-11 Mark Wielaard <[email protected]> 1785 1786 * run-addrcfi.sh: Adjust expected rule for aarch64 sp. 1787 17882018-04-03 Mark Wielaard <[email protected]> 1789 1790 * testfileranges4.debug.bz2: New testfile. 1791 * run-dwarf-ranges.sh: Run on testfileranges4.debug. 1792 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2. 1793 17942018-03-06 Mark Wielaard <[email protected]> 1795 1796 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer, 1797 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret, 1798 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and 1799 DW_OP_const_type. 1800 18012018-02-16 Mark Wielaard <[email protected]> 1802 1803 * backtrace-subr.sh (check_native_core): Check if there is any core, 1804 if so, use it. 1805 18062018-02-15 Mark Wielaard <[email protected]> 1807 1808 * backtrace-child.c: Include signal.h after sys/ptrace.h. 1809 * backtrace-dwarf.c: Include sys/wait.h and signal.h after 1810 sys/ptrace.h. 1811 18122018-01-25 Mark Wielaard <[email protected]> 1813 1814 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die. 1815 (TESTS): Add run-dwarf-die-addr-die.sh. 1816 (EXTRA_DIST): Likewise. 1817 (dwarf_die_addr_die_LDADD): New variable. 1818 * dwarf-die-addr-die.c: New file. 1819 * run-dwarf-die-addr-die.sh: New test. 1820 18212018-02-09 Joshua Watt <[email protected]> 1822 1823 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment. 1824 18252018-01-22 Mark Wielaard <[email protected]> 1826 1827 * allfcts.c (setup_alt): Print warning when alt file couldn't be 1828 found. 1829 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir 1830 where it cannot be found by allfcts itself (but it can by libdw). 1831 18322018-01-25 Mark Wielaard <[email protected]> 1833 1834 * elfstrmerge.c (main): Initialize and check symtabshdr instead of 1835 symtabndx. 1836 18372018-01-14 Petr Machata <[email protected]> 1838 1839 * testfile-sizes4.o.bz2: New test file. 1840 * testfile-sizes4.s: New test source. 1841 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257. 1842 18432017-12-23 Mark Wielaard <[email protected]> 1844 1845 * backtrace-subr.sh (check_native_core): Use a lock file and try 1846 to extract core using coredumpctl. 1847 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock. 1848 18492017-12-11 Dima Kogan <[email protected]> 1850 1851 * run-aggregate-size.sh: Added check for multi-dimensional arrays. 1852 * run-peel-type.sh: Likewise. 1853 * testfile-sizes3.o.bz2: Likewise. 1854 18552017-12-07 Mark Wielaard <[email protected]> 1856 1857 * run-readelf-variant.sh: New test. 1858 * testfile-ada-variant.bz2: New testfile. 1859 * Makefile.am (TESTS): Add run-readelf-variant.sh. 1860 (EXTRA_DISTS): Add run-readelf-variant.sh and 1861 testfile-ada-variant.bz2. 1862 18632017-11-29 Mark Wielaard <[email protected]> 1864 1865 * run-readelf-loc.sh: Adjust expected loc list output. 1866 * run-readelf-zdebug-rel.sh: Likewise. 1867 * run-readelf-zdebug.sh: Likewise. 1868 18692017-11-29 Mark Wielaard <[email protected]> 1870 1871 * run-readelf-loc.sh: Adjust expected range list output. 1872 * run-readelf-zdebug.sh: Likewise. 1873 18742017-11-29 Mark Wielaard <[email protected]> 1875 1876 * run-readelf-dwz-multi.sh: Add expected file names. 1877 * run-readelf-zdebug-rel.sh: Likewise. 1878 18792017-11-29 Mark Wielaard <[email protected]> 1880 1881 * run-readelf-dwz-multi.sh: Add expected abbrev codes. 1882 * run-readelf-zdebug-rel.sh: Likewise. 1883 18842017-11-29 Mark Wielaard <[email protected]> 1885 1886 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces. 1887 * run-readelf-loc.sh: Likewise. 1888 * run-readelf-zdebug-rel.sh: Likewise. 1889 * run-readelf-zdebug.sh: Likewise. 1890 18912017-11-16 Mark Wielaard <[email protected]> 1892 1893 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert. 1894 18952017-11-10 Mark Wielaard <[email protected]> 1896 1897 * run-exprlocs-self.sh: New test. 1898 * run-varlocs-self.sh: Likewise. 1899 * Makefile.am (TESTS) Add run-exprlocs-self.sh and 1900 run-varlocs-self.sh. 1901 (EXTRA_DIST): Likewise. 1902 * varlocs.c (cfi_debug_bias): New global variable. 1903 (is_ET_REL): Likewise. 1904 (print_expr): Don't crash and burn when CFI cannot be found for an 1905 ET_REL file for DW_OP_call_frame_cfa. 1906 (handle_die): If there is no entry_pc pick the lowest pc start range 1907 for the DIE. 1908 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi 1909 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL. 1910 19112017-11-03 Mark Wielaard <[email protected]> 1912 1913 * run-exprlocs.sh: New test. 1914 * testfile-stridex.bz2: New testfile. 1915 * Makefile.am (TESTS): Add run-exprlocs.sh. 1916 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2. 1917 * varlocs.c (dwarf_tag_string): New function. 1918 (dwarf_attr_string): Likewise. 1919 (dwarf_form_string): Likewise. 1920 (print_expr): Fix typo in error message.r 1921 Handle DW_OP_GNU_variable_value. 1922 (attr_arg): New struct. 1923 (handle_attr): New function. 1924 (handle_die): Likewise. 1925 (main): Handle --exprlocs argument. Call handle_die. 1926 19272017-10-16 Mark Wielaard <[email protected]> 1928 1929 * md5-sha1-test.c: Removed. 1930 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test. 1931 (TESTS): Likewise. 1932 (md5_sha1_test_LDADD): Removed. 1933 19342017-10-04 Mark Wielaard <[email protected]> 1935 1936 * msg_tst.c: Handle ELF_E_INVALID_ELF. 1937 19382017-09-10 Mark Wielaard <[email protected]> 1939 1940 * run-ar.sh: New test. 1941 * Makefile.am (TESTS): Add run-ar.sh. 1942 (EXTRA_DIST): Likewise. 1943 19442017-08-18 Ulf Hermann <[email protected]> 1945 1946 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS. 1947 19482017-04-27 Ulf Hermann <[email protected]> 1949 1950 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS. 1951 19522017-08-08 Dmitry V. Levin <[email protected]> 1953 1954 * run-strip-nothing.sh: Add -s. 1955 19562017-07-26 Mark Wielaard <[email protected]> 1957 1958 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU. 1959 19602016-10-27 Mark Wielaard <[email protected]> 1961 1962 * dwarf_default_lower_bound.c: New test. 1963 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound. 1964 (TESTS): Likewise. 1965 (dwarf_default_lower_bound_LDADD): New variable. 1966 19672017-07-21 Mark Wielaard <[email protected]> 1968 1969 * get-lines.c (main): Add dwarf_line_file test. 1970 19712017-07-19 Gustavo Romero <[email protected]> 1972 1973 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names 1974 * run-allregs.sh: Update generic SPRs names to HTM SPRs names 1975 19762017-07-20 Mark Wielaard <[email protected]> 1977 1978 * run-strip-g.sh: New test. 1979 * Makefile.am (TESTS): Add run-strip-g.sh. 1980 (EXTRA_DIST): Likewise. 1981 19822017-07-18 Mark Wielaard <[email protected]> 1983 1984 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM. 1985 19862017-05-04 Ulf Hermann <[email protected]> 1987 1988 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero. 1989 19902017-07-14 Mark Wielaard <[email protected]> 1991 1992 * run-strip-remove-keep.sh: New test. 1993 * Makefile.am (TESTS): Add run-strip-remove-keep.sh. 1994 (EXTRA_DIST): Likewise. 1995 19962017-06-07 Mark Wielaard <[email protected]> 1997 1998 * run-strip-nothing.sh: New test. 1999 * Makefile.am (TESTS): Add run-strip-nothing.sh. 2000 (EXTRA_DIST): Likewise. 2001 20022017-06-06 Mark Wielaard <[email protected]> 2003 2004 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab. 2005 20062017-05-30 Mark Wielaard <[email protected]> 2007 2008 * run-backtrace-fp-core-ppc64le.sh: New test. 2009 * backtrace.ppc64le.fp.core.bz2: New test file. 2010 * backtrace.ppc64le.fp.exec.bz2: New testfile. 2011 * backtrace-subr.sh (check_backtracegen): Accept '(null)'. 2012 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh. 2013 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh, 2014 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2. 2015 20162017-02-13 Ulf Hermann <[email protected]> 2017 Mark Wielaard <[email protected]> 2018 2019 * Makefile.am: Add test for unwinding with frame pointers on aarch64 2020 * backtrace.aarch64.fp.core.bz2: New file 2021 * backtrace.aarch64.fp.exec.bz2: New file 2022 * run-backtrace-fp-core-aarch64.sh: New file 2023 * backtrace-subr.sh (check_err): Allow Invalid register. 2024 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames. 2025 20262017-04-06 Mark Wielaard <[email protected]> 2027 2028 * run-backtrace-fp-core-i386.sh: New test. 2029 * backtrace.i386.fp.core.bz2: New test file. 2030 * backtrace.i386.fp.exec.bz2: New testfile. 2031 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh. 2032 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh, 2033 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2. 2034 20352017-02-09 Ulf Hermann <[email protected]> 2036 2037 * Makefile.am: Add test for unwinding with frame pointers on x86_64 2038 * backtrace.x86_64.fp.core.bz2: New file 2039 * backtrace.x86_64.fp.exec.bz2: New file 2040 * run-backtrace-fp-core-x86_64.sh: New file 2041 20422017-04-25 Mark Wielaard <[email protected]> 2043 2044 * backtrace-subr.sh (check_backtracegen): New function. 2045 (check_core): Add check_backtracegen call. 2046 * backtrace.ppc.exec.bz2: Regenerated. 2047 * backtrace.ppc.core.bz2: Likewise. 2048 20492017-04-24 Mark Wielaard <[email protected]> 2050 2051 * backtrace.c: Remove option to allow unknown symbols in the trace. 2052 * backtrace-substr.sh: Remove option to allow unknown symbols 2053 to check_core() and allow failed symbol lookups in check_err(). 2054 20552017-04-20 Ulf Hermann <[email protected]> 2056 2057 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags 2058 that are set. 2059 * run-readelf-zdebug-rel.sh: Likewise. 2060 20612017-04-20 Ulf Hermann <[email protected]> 2062 2063 * backtrace-child.c: Include sys/ptrace.h only on linux. 2064 * backtrace-dwarf.c: Likewise. 2065 20662017-04-05 Mark Wielaard <[email protected]> 2067 2068 * test-subr.sh (testrun_on_self_compressed): New function. 2069 * run-elflint-self.sh: Call testrun_on_self_compressed. 2070 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz. 2071 20722017-03-30 Mark Wielaard <[email protected]> 2073 2074 * peel_type.c: New file. 2075 * run-peel-type.sh: New test. 2076 * Makefile.am (check_PROGRAMS): Add peel_type.c. 2077 (TESTS): Add run-peel-type.sh. 2078 (EXTRA_DIST): Likewise. 2079 (peel_type_LDADD): New variable. 2080 20812017-03-27 Mark Wielaard <[email protected]> 2082 2083 * fillfile.c: New file. 2084 * Makefile.am (check_PROGRAMS): Add fillfile. 2085 (TESTS): Likewise. 2086 (fillfile_LDADD): New variable. 2087 20882017-02-15 Mark Wielaard <[email protected]> 2089 2090 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2. 2091 * run-readelf-A.sh: Add testfileppc64.o test. 2092 20932017-02-15 Ulf Hermann <[email protected]> 2094 2095 * elfstrmerge.c: Include system.h. 2096 20972017-02-09 Ulf Hermann <[email protected]> 2098 2099 * backtrace.c: Add an option to allow unknown symbols in the trace 2100 * backtrace-substr.sh: Add an option to allow unknown symbols 2101 to check_core() and allow failed symbol lookups in check_err() 2102 21032017-02-09 Ulf Hermann <[email protected]> 2104 2105 * backtrace-data.c: Don't assert that symbols are found. 2106 The unwinder is allowed to ask for invalid addresses. We deny 2107 such requests, rather than make the test fail. 2108 21092016-11-17 Mark Wielaard <[email protected]> 2110 2111 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests. 2112 21132016-11-02 Mark Wielaard <[email protected]> 2114 2115 * backtrace-data.c (thread_callback): Add explicit break after error. 2116 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU. 2117 21182016-10-22 Kevin Cernekee <[email protected]> 2119 2120 * Makefile.am (TESTS): Add run-unstrip-test4.sh. 2121 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2, 2122 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2. 2123 (run-unstrip-test4.sh): New file. 2124 (testfile-strtab.bz2): New file. 2125 (testfile-strtab.stripped.bz2): New file. 2126 (testfile-strtab.debuginfo.bz2): New file. 2127 21282016-10-11 Akihiko Odaki <[email protected]> 2129 2130 * arextract.c: Remove sys/param.h include, add system.h include. 2131 21322016-08-30 Mark Wielaard <[email protected]> 2133 2134 * Makefile.am (asm_tst?_LDADD): Add libdw. 2135 21362016-08-25 Mark Wielaard <[email protected]> 2137 2138 * backtrace-child.c: Disable and add documentation about why we disable 2139 RAISE_JMP_PATCHING even on x86_64. 2140 * backtrace.c (is_x86_64_native): Rename to... 2141 (use_raise_jmp_patching): ... this. 2142 (callback_verify): Use use_raise_jmp_patching instead of 2143 is_x86_64_native. 2144 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe 2145 path. 2146 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__ 2147 conditional. 2148 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use 2149 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use 2150 use_raise_jmp_patching instead of is_x86_64_native. 2151 21522016-08-24 Mark Wielaard <[email protected]> 2153 2154 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2. 2155 21562016-08-09 Jose E. Marchesi <[email protected]> 2157 2158 * testfilesparc64attrs.o.bz2: New file. 2159 * run-readelf-A.sh: Check attributes in a sparc object. 2160 21612016-08-06 Mark Wielaard <[email protected]> 2162 2163 * run-strip-reloc.sh: Add explicit compressed and uncompressed 2164 test cases. 2165 21662016-08-10 Richard Henderson <[email protected]> 2167 2168 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations 2169 output. 2170 21712016-07-08 Mark Wielaard <[email protected]> 2172 2173 * update3_LDADD: Use libdw instead of libebl. 2174 * update4_LDADD: Likewise. 2175 * alldts_LDADD: Likewise. 2176 * elfstrmerge_LDADD: Likewise. 2177 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab. 2178 * elfstrmerge.c (release): Likewise. 2179 (main): Likewise. 2180 * update3.c (main): Likewise. 2181 * update4.c (main): Likewise. 2182 21832016-07-10 Andreas Schwab <[email protected]> 2184 2185 * Makefile.am (TESTS): Add run-strip-test11.sh. 2186 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2, 2187 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2. 2188 (run-strip-test11.sh): New file. 2189 (hello_m68k.ko.bz2): New file. 2190 (testfile-m68k-core.bz2): New file. 2191 (testfile-m68k.bz2): New file. 2192 (testfile-m68k-s.bz2): New file. 2193 * run-allregs.sh: Add test for testfile-m68k-core. 2194 * run-readelf-mixed-corenote.sh: Likewise. 2195 * run-strip-reloc.sh: Add test for hello_m68k.ko. 2196 21972016-07-06 Mark Wielaard <[email protected]> 2198 2199 * Makefile.am (check_PROGRAMS): Add vendorelf. 2200 (TESTS): Likewise. 2201 (vendorelf_LDADD): New variable. 2202 * vendorelf.c: New test. 2203 * elfshphehdr.c (test): Check elf_getphdrnum succeeds. 2204 22052016-06-24 Mark Wielaard <[email protected]> 2206 2207 * Makefile.am (check_PROGRAMS): Add emptyfile. 2208 (TESTS): Likewise. 2209 (emptyfile_LDADD): New variable. 2210 * emptyfile.c: New test. 2211 22122016-06-28 Richard Henderson <[email protected]> 2213 2214 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally. 2215 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2, 2216 testfile-bpf-dis1.o.bz2 2217 (run-disasm-bpf.sh): New file. 2218 (testfile-bpf-dis1.expect.bz2): New file. 2219 (testfile-bpf-dis1.o.bz2): New file. 2220 22212016-02-09 Mark Wielaard <[email protected]> 2222 2223 * testfile-s390x-hash-both.bz2: New testfile. 2224 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2. 2225 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test. 2226 22272016-02-04 Mark Wielaard <[email protected]> 2228 2229 * run-strip-nobitsalign.sh: New test. 2230 * testfile-nobitsalign.bz2: New testfile. 2231 * testfile-nobitsalign.strip.bz2: Likewise. 2232 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh. 2233 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2 2234 and testfile-nobitsalign.strip.bz2. 2235 * run-strip-test.sh: Add --gnu to elflint calls. 2236 22372016-01-13 Mark Wielaard <[email protected]> 2238 2239 * dwfl-bug-fd-leak.c: Skip test unless on __linux__. 2240 22412016-01-13 Mark Wielaard <[email protected]> 2242 2243 * dwfl-proc-attach.c: Guard linux specific header. 2244 22452016-01-13 Mark Wielaard <[email protected]> 2246 2247 * system-elf-libelf-test.c: New test. 2248 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE. 2249 (check_PROGRAMS): Likewise. 2250 (system_elf_libelf_test_CPPFLAGS): New variable. 2251 (system_elf_libelf_test_LDADD): Likewise. 2252 22532016-01-08 Mark Wielaard <[email protected]> 2254 2255 * elfputzdata.c (main): Fix parentheses in strncmp test. 2256 22572016-01-08 Mark Wielaard <[email protected]> 2258 2259 * elfputzdata.c (main): Use PRId64 to print 64 bit value. 2260 22612016-01-08 Mark Wielaard <[email protected]> 2262 2263 * Makefile.am (TESTS): Always unconditionally add 2264 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh. 2265 22662015-12-16 Mark Wielaard <[email protected]> 2267 2268 * run-compress-test.sh: New test. 2269 * Makefile.am (TESTS): Add run-compress-test.sh. 2270 (EXTRA_DISTS): Likewise. 2271 22722015-11-26 Mark Wielaard <[email protected]> 2273 2274 * zstrptr.c: New file. 2275 * run-zstrptr.sh: New test. 2276 * elfputzdata.c (main): (re)compress .shstrtab. 2277 * run-elfputzdata.sh: Expect .shstrtab compression. 2278 * Makefile.am (check_PROGRAMS): Add zstrptr. 2279 (TESTS): Add run-zstrptr.sh. 2280 (EXTRA_DIST): Likewise. 2281 (zstrptr_LDADD): New variable. 2282 22832015-10-20 Mark Wielaard <[email protected]> 2284 2285 * run-readelf-zx.sh: New test. 2286 * run-readelf-zp.sh: Likewise. 2287 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh. 2288 (EXTRA_DIST): Likewise. 2289 22902015-10-21 Mark Wielaard <[email protected]> 2291 2292 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata. 2293 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh. 2294 (EXTRA_DIST: Likewise. 2295 (elfgetzdata_LDADD): New variable. 2296 (elfputzdata_LDADD): Likewise. 2297 * elfgetzdata.c: New file. 2298 * elfputzdata.c: Likewise. 2299 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED, 2300 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and 2301 ELF_E_DECOMPRESS_ERROR. 2302 * run-elfgetzdata.sh: New test. 2303 * run-elfputzdata.sh: Likewise. 2304 23052015-10-28 Mark Wielaard <[email protected]> 2306 2307 * run-readelf-z.sh: New test. 2308 * Makefile.am (TESTS): Add run-readelf-z.sh. 2309 (EXTRA_DIST): Likewise. 2310 23112015-10-28 Mark Wielaard <[email protected]> 2312 2313 * elfgetchdr.c: New file. 2314 * run-elfgetchdr.sh: New test. 2315 * testfile-zgabi32.bz2: New testfile. 2316 * testfile-zgabi32be.bz2: Likewise. 2317 * testfile-zgabi64.bz2: Likewise. 2318 * testfile-zgabi64be.bz2: Likewise. 2319 * Makefile.am (check_PROGRAMS): Add elfgetchdr. 2320 (TESTS): Add run-elfgetchdr.sh. 2321 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2, 2322 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2. 2323 (welfgetchdr_LDADD): New variable. 2324 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE 2325 and ELF_E_INVALID_SECTION_FLAGS, 2326 2327 23282015-10-28 Mark Wielaard <[email protected]> 2329 2330 * dwelfgnucompressed.c: New file. 2331 * run-dwelfgnucompressed.sh: New test. 2332 * testfile-zgnu32.bz2: New testfile. 2333 * testfile-zgnu64.bz2: Likewise. 2334 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed. 2335 (TESTS): Add run-dwelfgnucompressed.sh. 2336 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2, 2337 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2. 2338 (dwelfgnucompressed_LDADD): New variable. 2339 23402015-12-31 Mark Wielaard <[email protected]> 2341 2342 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx. 2343 * run-elfstrmerge-test.sh: New test. 2344 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh 2345 (EXTRA_DIST): Likewise. 2346 23472015-12-08 Jose E. Marchesi <[email protected]> 2348 2349 * run-backtrace-core-sparc.sh: New file. 2350 * backtrace.sparc.core.bz2: New file. 2351 * backtrace.sparc.exec.bz2: New file. 2352 * Makefile.am (EXTRA_DIST): ... and added all here. 2353 (TESTS): Added run-backtrace-core-sparc.sh. 2354 23552015-12-02 Mark Wielaard <[email protected]> 2356 2357 * Makefile.am (valgrind_cmd): Use --leak-check=full. 2358 * run-backtrace-demangle.sh: Disable valgrind. 2359 * run-stack-demangled-test.sh: Likewise. 2360 * run-stack-d-test.sh: Likewise. 2361 * run-stack-i-test.sh: Likewise. 2362 23632015-12-01 Mark Wielaard <[email protected]> 2364 2365 * test-flag-nobits.c (main): Call elf_end. 2366 * rerequest_tag.c (main): Call dwarf_end. 2367 * funcscopes.c (handle_function): Free scopes. 2368 * dwarf-getstring.c (main): Call dwarf_end. 2369 * allregs.c (main): Free state.info. 2370 * alldts.c (main): Free dyn. 2371 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi 2372 calls. 2373 * addrscopes.c (handle_address): Free scopes. 2374 23752015-10-16 Mark Wielaard <[email protected]> 2376 2377 * Makefile.am [BUILD_STATIC] (libdw): Add -lz. 2378 [BUILD_STATIC] (libelf): Likewise. 2379 23802015-10-16 Mark Wielaard <[email protected]> 2381 2382 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS. 2383 23842015-10-09 Josh Stone <[email protected]> 2385 2386 * lfs-symbols: New list of LFS-related symbols from lintian. 2387 * testfile-nolfs.bz2: New test binary for sanity checking. 2388 * run-lfs-symbols.sh: New test. 2389 * Makefile.am (TESTS): Add run-lfs-symbols.sh. 2390 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and 2391 run-lfs-symbols.sh. 2392 * alldts.c (main): Replace open64 with open. 2393 * dwarf-getstring.c (main): Likewise. 2394 * arls.c: Include config.h. 2395 * ecp.c: Likewise. 2396 * rdwrmmap.c: Likewise. 2397 * test-elf_cntl_gelf_getshdr.c: Likewise. 2398 * test-flag-nobits.c: Include config.h. 2399 (main): Replace open64 with open. 2400 24012015-10-09 Mark Wielaard <[email protected]> 2402 2403 * elfshphehdr.c (check): Rename argument from check to statement. 2404 (check_elf): Likewise. 2405 24062015-10-05 Josh Stone <[email protected]> 2407 2408 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer. 2409 24102015-10-02 Mark Wielaard <[email protected]> 2411 2412 * elfstrmerge.c: New check program. 2413 * run-strip-strmerge.sh: New test. 2414 * Makefile.am (check_PROGRAMS): Add elfstrmerge. 2415 (EXTRA_DIST): Add run-strip-strmerge.sh 2416 (elfstrmerge_LDADD): New variable. 2417 24182015-09-29 Mark Wielaard <[email protected]> 2419 2420 * elfshphehdr.c: New test. 2421 * Makefile.am (check_PROGRAMS): Add elfshphehdr. 2422 (TESTS): Likewise. 2423 (elfshphehdr_LDADD): New variable. 2424 24252015-09-08 Mark Wielaard <[email protected]> 2426 2427 * dwfl-proc-attach.c: New test. 2428 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach. 2429 (TESTS): Likewise. 2430 (dwfl_proc_attach_LDADD): New variable. 2431 (dwfl_proc_attach_LDFLAGS): Likewise. 2432 24332015-09-04 Chih-Hung Hsieh <[email protected]> 2434 2435 * varlocs.c (print_base_type): Initialize enctype. 2436 24372015-09-04 Chih-Hung Hsieh <[email protected]> 2438 2439 * md5-sha1-test.c (md5_expected): Removed. 2440 (sha1_expected): Likewise. 2441 24422015-09-04 Chih-Hung Hsieh <[email protected]> 2443 2444 * asm-tst1.c (main): Replace %Z length modifier with %z. 2445 * asm-tst2.c (main): Likewise. 2446 * asm-tst3.c (main): Likewise. 2447 * asm-tst4.c (main): Likewise. 2448 * asm-tst5.c (main): Likewise. 2449 * asm-tst6.c (main): Likewise. 2450 * asm-tst7.c (main): Likewise. 2451 * asm-tst8.c (main): Likewise. 2452 * asm-tst9.c (main): Likewise. 2453 * sectiondump.c (print_bytes): Likewise. 2454 24552015-08-14 Mark Wielaard <[email protected]> 2456 2457 * run-addr2line-alt-debugpath.sh: New test. 2458 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh 2459 (EXTRA_DIST): Likewise. 2460 24612015-07-29 Mark Wielaard <[email protected]> 2462 2463 * run-unstrip-test3.sh: New test. 2464 * testfile-info-link.bz2: New file. 2465 * testfile-info-link.debuginfo.bz2: Likewise. 2466 * testfile-info-link.stripped.bz2: Likewise. 2467 * Makefile.am (TESTS): Add run-unstrip-test3.sh. 2468 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2, 2469 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2. 2470 24712015-06-27 Pino Toscano <[email protected]> 2472 2473 * tests/run-deleted.sh: Skip when detecting a not implemented 2474 dwfl_linux_proc_attach. 2475 24762015-06-27 Pino Toscano <[email protected]> 2477 2478 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of 2479 dwfl_addrmodule. 2480 24812015-06-26 Pino Toscano <[email protected]> 2482 2483 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused. 2484 24852015-06-26 Pino Toscano <[email protected]> 2486 2487 * tests/backtrace-data.c: Reduce scope of some includes to match their 2488 usage. 2489 * tests/backtrace.c: Likewise. 2490 * tests/deleted.c: Likewise. 2491 24922015-06-16 Mark Wielaard <[email protected]> 2493 2494 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test 2495 for non-ET_REL files. 2496 24972015-05-30 Mark Wielaard <[email protected]> 2498 2499 * backtrace-subr.sh (check_native_core): Notice core file couldn't be 2500 generated before skipping. 2501 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported 2502 before skipping. 2503 * run-backtrace-demangle.sh: Likewise. 2504 * run-stack-demangled-test.sh: Likewise. 2505 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled 2506 before skipping. 2507 * run-backtrace-native-core-biarch.sh: Likewise. 2508 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping. 2509 25102015-05-20 Mark Wielaard <[email protected]> 2511 2512 * run-addr2line-i-test.sh: Add pretty test. 2513 * run-addr2line-test.sh: Likewise. 2514 25152015-05-20 Mark Wielaard <[email protected]> 2516 2517 * run-addr2line-i-demangle-test.sh: New test. 2518 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh. 2519 (EXTRA_DIST): Likewise. 2520 25212015-05-20 Mark Wielaard <[email protected]> 2522 2523 * run-addr2line-test.sh: Add -a test variants. 2524 * run-addr2line-i-test.sh: Likewise. 2525 25262015-05-20 Mark Wielaard <[email protected]> 2527 2528 * run-addrname-test.sh: Make sure all input addresses are hex. 2529 25302015-05-04 Max Filippov <[email protected]> 2531 2532 * backtrace-child.c (stdarg, main): Replace assert_perror with assert. 2533 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers) 2534 (main): Likewise. 2535 * backtrace-dwarf.c (main): Likewise. 2536 * backtrace.c (prepare_thread, exec_dump): Likewise. 2537 25382015-05-04 Anthony G. Basile <[email protected]> 2539 2540 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD) 2541 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD) 2542 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD) 2543 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD) 2544 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD). 2545 25462015-05-01 Mark Wielaard <[email protected]> 2547 2548 * run-stack-d-test.sh: Use --raw and mangled output. 2549 * run-stack-i-test.sh: Likewise. 2550 * run-stack-demangled-test.sh: New test. 2551 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh. 2552 (TESTS): Likewise. 2553 25542015-04-01 H.J. Lu <[email protected]> 2555 2556 * Makefile.am (TESTS): Add run-strip-test10.sh. 2557 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2. 2558 Add testfile-x32-debug.bz2. 2559 * run-strip-test10.sh: New file. 2560 * testfile-x32-d.bz2: Likewise. 2561 * testfile-x32-debug.bz2: Likewise. 2562 25632015-04-01 H.J. Lu <[email protected]> 2564 2565 * Makefile.am (TESTS): Add run-strip-test9.sh. 2566 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2. 2567 * run-strip-test9.sh: New file. 2568 * testfile-x32-s.bz2: Likewise. 2569 25702015-04-01 H.J. Lu <[email protected]> 2571 2572 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh. 2573 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2. 2574 Add backtrace.x32.exec.bz2. 2575 * backtrace.x32.core.bz2 : New file. 2576 * backtrace.x32.exec.bz2: Likewise. 2577 * run-backtrace-core-x32.sh: Likewise. 2578 25792015-04-01 H.J. Lu <[email protected]> 2580 2581 * run-addrcfi.sh: Add a test for testfile-x32. 2582 * testfile-x32.bz2: New file. 2583 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2. 2584 25852015-04-01 H.J. Lu <[email protected]> 2586 2587 * run-allregs.sh: Add a test for testfile-x32-core. 2588 25892015-04-01 H.J. Lu <[email protected]> 2590 2591 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core. 2592 * testfile-x32-core.bz2: New file. 2593 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2. 2594 25952015-03-18 Petr Machata <[email protected]> 2596 2597 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match 2598 the API changes. 2599 * allregs.c (dwarf_encoding_string): Likewise. 2600 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise. 2601 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise. 2602 26032015-03-18 Petr Machata <[email protected]> 2604 2605 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh, 2606 debug-ranges-no-lowpc.o.bz2. 2607 26082015-03-13 Mark Wielaard <[email protected]> 2609 2610 * backtrace-dwarf.c: Add explicit includes. 2611 (cleanup_13_abort): Remove unused static declaration. 2612 (thread_callback): Add explicit return. 2613 26142015-03-13 H.J. Lu <[email protected]> 2615 2616 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS 2617 instead of PTRACE_POKEUSER. 2618 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for 2619 is_x86_64_native. 2620 26212015-02-18 Mark Wielaard <[email protected]> 2622 2623 * newdata.c (check_section_data): Use PRId64 for printing loff_t. 2624 26252015-02-11 Josh Stone <[email protected]> 2626 2627 * backtrace.c (exec_dump): Initialize jmp. 2628 26292015-02-11 Petr Machata <[email protected]> 2630 2631 * run-dwarf-ranges.sh: New test. 2632 * dwarf-ranges.c: New file. 2633 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case. 2634 26352015-01-21 Mark Wielaard <[email protected]> 2636 2637 * Makefile.am (check_PROGRAMS): Add elfstrtab. 2638 (TESTS): Likewise. 2639 (elfstrtab_LDADD): New variable. 2640 * elfstrtab.c: New test. 2641 26422015-01-20 Mark Wielaard <[email protected]> 2643 2644 * Makefile.am (check_PROGRAMS): Add newdata. 2645 (TESTS): Likewise. 2646 (newdata_LDADD): new variable. 2647 * newdata.c: New test. 2648 26492015-01-20 Mark Wielaard <[email protected]> 2650 2651 * strptr.c: New file. 2652 * run-strptr.sh: New test. 2653 * Makefile.am (check_PROGRAMS): Add strptr. 2654 (TESTS): Add run-strptr.sh. 2655 (EXTRA_DIST): Likewise. 2656 (strptr_LDADD): New variable. 2657 26582015-01-15 Mark Wielaard <[email protected]> 2659 2660 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY). 2661 * vdsosyms.c (main): Use getpid () instead of getppid (). 2662 26632014-12-27 Mark Wielaard <[email protected]> 2664 2665 * addrscopes.c (handle_address): Last address in scope is highpc - 1. 2666 * funcscopes.c (handle_function): Likewise. 2667 * run-addrscopes.sh: Adjust last address in scope. 2668 * run-funcscopes.sh: Likewise. 2669 26702015-01-07 Mark Wielaard <[email protected]> 2671 2672 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search. 2673 26742015-01-14 Mark Wielaard <[email protected]> 2675 2676 * testfile-debug-types.bz2: New testfile. 2677 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2. 2678 * typeiter2.c (main): Print both name and offset of found form DIE. 2679 * run-typeiter.s: Adjust output and add testfile-debug-types. 2680 26812014-12-26 Mark Wielaard <[email protected]> 2682 2683 * run-test-archive64.sh: Add nm test. 2684 26852014-12-19 Mark Wielaard <[email protected]> 2686 2687 * run-deleted.sh: Don't check libfunc on ppc64. 2688 26892014-12-19 Mark Wielaard <[email protected]> 2690 2691 * vdsosyms.c (vdso_seen): Removed. 2692 (vdso_syms): New global. 2693 (module_callback): Set and check vdso_syms. 2694 (main): Return value depends on vdso_syms. 2695 26962014-12-19 Mark Wielaard <[email protected]> 2697 2698 * backtrace-subr.sh (check_native_unsupported): Relax special ARM 2699 grep a little. 2700 * run-deleted.sh: Call check_native_unsupported. 2701 27022014-12-18 Mark Wielaard <[email protected]> 2703 2704 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2. 2705 27062014-12-12 Mark Wielaard <[email protected]> 2707 2708 * Makefile.am (deleted_lib_so_CFLAGS): Add 2709 -fasynchronous-unwind-tables. 2710 27112014-12-11 Josh Stone <[email protected]> 2712 2713 * run-addr2line-i-lex-test.sh: New test. 2714 * testfile-lex-inlines.bz2: New testfile. 2715 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and 2716 testfile-lex-inlines.bz2. 2717 (TESTS): Add run-addr2line-i-lex-test.sh. 2718 27192014-12-10 Josh Stone <[email protected]> 2720 2721 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is 2722 preferred over the plain die name. 2723 27242014-12-02 Petr Machata <[email protected]> 2725 2726 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef, 2727 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch. 2728 (main): Initialize off to DWARF_GETMACROS_START when an extra 2729 command line argument is passed. 2730 * testfile-macros-0xff.bz2: New test case. 2731 * testfile-macros-0xff.s: New file (source for the above). 2732 * run-dwarf-getmacros.sh: Add two tests. 2733 27342014-11-27 Mark Wielaard <[email protected]> 2735 2736 * vdsosyms.c (main): Call dwfl_linux_proc_attach. 2737 27382014-11-21 Mark Wielaard <[email protected]> 2739 2740 * run-readelf-A.sh: New test. 2741 * testfileppc32attrs.o.bz2: New test file. 2742 * Makefile.am (TESTS): Add run-readelf-A.sh. 2743 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2. 2744 27452014-11-10 Mark Wielaard <[email protected]> 2746 2747 * vdsosyms.c: New test. 2748 * Makefile.am (check_PROGRAMS): Add vdsosyms. 2749 (TESTS): Likewise. 2750 (vdsosyms_LDADD): New variable. 2751 27522014-09-10 Petr Machata <[email protected]> 2753 2754 * dwarf-getmacros.c: Update to use the new macro iteration 2755 interfaces. 2756 * run-dwarf-getmacros.sh: Adjust, add a test that uses 2757 testfile-macros. 2758 27592014-10-06 Mark Wielaard <[email protected]> 2760 2761 * run-aggregate-size.sh: Add testfile-sizes3.o test case. 2762 * testfile-sizes3.o.bz2: New test file. 2763 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2. 2764 27652014-10-02 Mark Wielaard <[email protected]> 2766 2767 * run-deleted.sh: Unset VALGRIND_CMD before running deleted. 2768 27692014-10-02 Mark Wielaard <[email protected]> 2770 2771 * Makefile.am (check_PROGRAMS): Add aggregate_size.c. 2772 (TESTS): Add run-aggregate-size.sh. 2773 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2 2774 and testfile-sizes2.o.bz2. 2775 (aggregate_size_LDADD): New variable. 2776 * aggregate_size.c: New file. 2777 * run-aggregate-size.sh: New test. 2778 * testfile-sizes1.o.bz2: New test file. 2779 * testfile-sizes2.o.bz2: Likewise. 2780 27812014-09-26 Jan Kratochvil <[email protected]> 2782 2783 Support NT_FILE for locating files. 2784 * Makefile.am (TESTS): Add run-linkmap-cut.sh. 2785 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2, 2786 linkmap-cut.bz2 and linkmap-cut.core.bz2 . 2787 * linkmap-cut-lib.so.bz2: New file. 2788 * linkmap-cut.bz2: New file. 2789 * linkmap-cut.core.bz2: New file. 2790 * run-linkmap-cut.sh: New file. 2791 * run-unstrip-n.sh: Update its expected output. 2792 27932014-08-28 Jan Kratochvil <[email protected]> 2794 2795 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so. 2796 (TESTS, EXTRA_DIST): Add run-deleted.sh. 2797 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New. 2798 * deleted-lib.c: New file. 2799 * deleted.c: New file. 2800 * run-deleted.sh: New file. 2801 28022014-06-15 Mark Wielaard <[email protected]> 2803 2804 * backtrace.c (frame_callback): Error on seeing more than 16 frames. 2805 28062014-06-13 Mark Wielaard <[email protected]> 2807 2808 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first 2809 frame symname. 2810 28112014-06-13 Mark Wielaard <[email protected]> 2812 2813 * backtrace-subr.sh (check_native_unsupported): New function. 2814 (check_native): Call it. 2815 (check_native_core): Likewise. 2816 * run-backtrace-dwarf.sh: Likewise. 2817 28182014-06-11 Mark Wielaard <[email protected]> 2819 2820 * backtrace.c (main): Check that Dwfl was attached by calling 2821 dwfl_pid and printing the error when it is not. 2822 28232014-05-18 Mark Wielaard <[email protected]> 2824 2825 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static. 2826 (f): Likewise. 2827 * testfile-backtrace-demangle.bz2: Regenerate. 2828 * testfile-backtrace-demangle.core.bz2: Likewise. 2829 28302014-05-02 Mark Wielaard <[email protected]> 2831 2832 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and 2833 run-allfcts-multi.sh are now added unconditionally. 2834 28352014-05-01 Mark Wielaard <[email protected]> 2836 2837 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz 2838 subdir. 2839 28402014-04-30 Mark Wielaard <[email protected]> 2841 2842 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files. 2843 * Makefile.am (check_PROGRAMS): Add buildid. 2844 (TESTS): Add run-buildid.sh. 2845 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2. 2846 (buildid_LDADD): New variable. 2847 28482014-04-24 Florian Weimer <[email protected]> 2849 2850 * allfcts.c (setup_alt): New function. 2851 (main): Call it. Implementation additional error checking and 2852 reporting. 2853 28542014-04-24 Florian Weimer <[email protected]> 2855 2856 * debugaltlink.c, run-debugaltlink.sh: New files. 2857 * Makefile.am (check_PROGRAMS): Add debugaltlink. 2858 (TESTS): Add run-debugaltlink.sh. 2859 (debugaltlink_LDADD): New variable. 2860 28612014-04-11 Mark Wielaard <[email protected]> 2862 2863 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf. 2864 (check_PROGRAMS): Add debuglink. 2865 (TESTS): Add run-debuglink.sh 2866 (EXTRA_DIST): Likewise. 2867 (debuglink_LDADD): New. 2868 * debuglink.c: New file. 2869 * run-debuglink.sh: Likewise. 2870 28712014-03-23 Mark Wielaard <[email protected]> 2872 2873 * run-nm-self.sh: Use test = not == for string comparisons. 2874 28752014-04-22 Kurt Roeckx <[email protected]> 2876 2877 * backtrace.c: Make Linux only. 2878 * backtrace-child.c: Make Linux only. 2879 * backtrace-data.c: Make Linux only. 2880 * backtrace-dwarf.c: Make Linux only. 2881 * backtrace-subr.sh: Skip core file unwinding tests when not supported. 2882 28832014-03-14 Mark Wielaard <[email protected]> 2884 2885 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all 2886 LDADD lines. 2887 * configure.ac: Remove MUDFLAP conditional. 2888 28892014-04-09 Mark Wielaard <[email protected]> 2890 2891 * run-readelf-zdebug.sh: New test. 2892 * testfile-debug.bz2: New testfile. 2893 * testfile-zdebug.bz2: New testfile. 2894 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB. 2895 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and 2896 testfile-zdebug.bz2. 2897 28982014-04-10 Mark Wielaard <[email protected]> 2899 2900 * testfile_i686_core.bz2: New test file. 2901 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test. 2902 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2 2903 29042014-04-09 Mark Wielaard <[email protected]> 2905 2906 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh. 2907 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh, 2908 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2. 2909 * run-backtrace-core-aarch64.sh: New test. 2910 29112014-03-11 Josh Stone <[email protected]> 2912 2913 * testfilebaxmin.bz2: New testfile. 2914 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2. 2915 * run-readelf-s.sh: Test testfilebaxmin. 2916 * run-dwflsyms.sh: Likewise. 2917 29182014-01-26 Mark Wielaard <[email protected]> 2919 2920 * backtrace-subr.sh (check_unsupported): Special case arm*. 2921 29222014-01-25 Mark Wielaard <[email protected]> 2923 2924 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to 2925 location expression: call_frame_cfa stack_value. 2926 29272014-01-22 Mark Wielaard <[email protected]> 2928 2929 * Makefile.am (line2addr_no_Wformat): Removed. 2930 29312014-01-21 Mark Wielaard <[email protected]> 2932 2933 * Makefile.am (TESTS): Add run-stack-i-test.sh. 2934 (EXTRA_DIST): Likewise. 2935 * run-stack-i-test.sh: New test. 2936 29372014-01-20 Mark Wielaard <[email protected]> 2938 2939 * Makefile.am (TESTS): Add run-stack-d-test.sh. 2940 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2 2941 testfiledwarfinlines.core.bz2. 2942 * run-stack-d-test.sh: New test. 2943 * testfiledwarfinlines.bz2: New test file. 2944 * testfiledwarfinlines.core.bz2: Likewise. 2945 29462014-01-16 Mark Wielaard <[email protected]> 2947 2948 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun 2949 on one ET_REL, one ET_EXEC and one ET_DYN file. 2950 * test-subr.sh (self_test_files): Add two ET_REL files, only add 2951 two libebl ET_DYN backend files. 2952 29532014-01-16 Mark Wielaard <[email protected]> 2954 2955 * run-backtrace-demangle.sh: Check exitcode and max number of frames. 2956 29572014-01-18 Jan Kratochvil <[email protected]> 2958 2959 Fix false FAILs on testsuite with ulimit -c unlimited. 2960 * backtrace-child.c (sigusr2): Call pthread_exit. 2961 (main): Return, do not call abort. 2962 29632014-01-15 Jan Kratochvil <[email protected]> 2964 2965 Fix corruption of non-C++ symbols by the demangler. 2966 * Makefile.am (TESTS): Add run-backtrace-demangle.sh. 2967 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export. 2968 (EXTRA_DIST): Add run-backtrace-demangle.sh, 2969 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc, 2970 testfile-backtrace-demangle.core.bz2. 2971 * backtrace-demangle.cc: New file. 2972 * run-backtrace-demangle.sh: New file. 2973 * testfile-backtrace-demangle.bz2: New file. 2974 * testfile-backtrace-demangle.cc: New file. 2975 * testfile-backtrace-demangle.core.bz2: New file. 2976 29772014-01-07 Matthias Klose <[email protected]> 2978 2979 * backtrace-subr.sh (check_native_core): Check to see if core file 2980 was created without ".PID" extension, if so mv core to core.PID. 2981 Skip test if no core file was created or could be found. 2982 29832014-01-04 Mark Wielaard <[email protected]> 2984 2985 * backtrace-data.c (main): Don't assert if raise returns. 2986 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with 2987 assume_ptrace_attached true. 2988 (ptrace_detach_stopped): Removed function. 2989 (main): Don't call ptrace_detach_stopped. 2990 * backtrace.c (ptrace_detach_stopped): Removed function. 2991 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached 2992 true. 2993 (exec_dump): Don't call ptrace_detach_stopped. 2994 29952014-01-04 Mark Wielaard <[email protected]> 2996 2997 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test 2998 if we cannot adjust core ulimit. 2999 30002014-01-04 Mark Wielaard <[email protected]> 3001 3002 * cleanup-13.c (force_unwind_stop): Removed. 3003 (force_unwind): Just call abort. Don't setup _Unwind_Exception and 3004 don't call _Unwind_ForcedUnwind. 3005 30062014-01-03 Mark Wielaard <[email protected]> 3007 3008 * run-addrcfi.sh: Add case for EM_AARCH64. 3009 * testfileaarch64.bz2: New testfile. 3010 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2. 3011 30122013-12-30 Mark Wielaard <[email protected]> 3013 3014 * backtrace-dwarf.c (report_pid): Explicitly call 3015 dwfl_linux_proc_attach and check for errors. 3016 * backtrace.c (report_pid): Likewise. 3017 30182013-12-21 Mark Wielaard <[email protected]> 3019 3020 * backtrace.c (callback_verify): Only assert that case 5 is the last 3021 instruction of backtracegen on x86_64 native. 3022 30232013-12-18 Jan Kratochvil <[email protected]> 3024 Mark Wielaard <[email protected]> 3025 3026 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2 3027 and testfilebaz*ppc64*.bz2 files. 3028 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print 3029 error on dwfl_module_getsymtab error. 3030 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info. 3031 Compare values for non-ET_REL. Use dwfl_module_addrinfo. 3032 Also print section of actual value if different from sym. 3033 * run-addrname-test.sh (testfile66, testfile66.core): New tests. 3034 Test addr2line -x by showing different sections for address and 3035 found name in testfile66. 3036 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko, 3037 testfilebaz*ppc64): New tests. 3038 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2, 3039 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2, 3040 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2, 3041 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2, 3042 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2, 3043 testfilebaztabppc64.bz2: New test files. 3044 30452013-12-18 Jan Kratochvil <[email protected]> 3046 3047 unwinder: s390 and s390x 3048 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and 3049 run-backtrace-core-s390.sh. 3050 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2, 3051 backtrace.s390.core.bz2, backtrace.s390.exec.bz2, 3052 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh. 3053 * backtrace.s390.core.bz2: New file. 3054 * backtrace.s390.exec.bz2: New file. 3055 * backtrace.s390x.core.bz2: New file. 3056 * backtrace.s390x.exec.bz2: New file. 3057 * run-backtrace-core-s390.sh: New file. 3058 * run-backtrace-core-s390x.sh: New file. 3059 30602013-12-17 Jan Kratochvil <[email protected]> 3061 3062 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused 3063 code. 3064 30652013-12-15 Jan Kratochvil <[email protected]> 3066 3067 unwinder: ppc 3068 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh. 3069 (EXTRA_DIST): Add backtrace.ppc.core.bz2, 3070 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh. 3071 * backtrace.ppc.core.bz2: New file. 3072 * backtrace.ppc.exec.bz2: New file. 3073 * run-backtrace-core-ppc.sh: New file. 3074 30752013-12-10 Mark Wielaard <[email protected]> 3076 3077 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c. 3078 30792013-12-10 Mark Wielaard <[email protected]> 3080 3081 * Makefile.am (valgrind_cmd): Remove --trace-children=yes. 3082 * backtrace-subr.sh (check_native_core): Disable valgrind while 3083 dumping core. 3084 * run-backtrace-data.sh: Disable valgrind. 3085 * run-backtrace-dwarf.sh: Likewise. 3086 30872013-12-09 Mark Wielaard <[email protected]> 3088 3089 * varlocs.c (print_expr): Update comment to explain empty location 3090 associated with DW_OP_GNU_implicit_pointer. 3091 30922013-12-05 Jan Kratochvil <[email protected]> 3093 3094 Fix test FAIL with -O2. 3095 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub. 3096 30972013-12-05 Mark Wielaard <[email protected]> 3098 3099 * backtrace-data.c (main): If unsupported also print to stderr. 3100 * run-backtrace-dwarf.sh: Add check_unsupported and check_main. 3101 31022013-12-04 Mark Wielaard <[email protected]> 3103 3104 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT). 3105 31062013-12-02 Jan Kratochvil <[email protected]> 3107 3108 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child, 3109 backtrace-data and backtrace-dwarf. 3110 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New. 3111 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh, 3112 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh, 3113 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 3114 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh. 3115 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH. 3116 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh, 3117 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh, 3118 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 3119 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh, 3120 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2, 3121 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2. 3122 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS) 3123 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD): 3124 New. 3125 * backtrace-child.c: New file. 3126 * backtrace-data.c: New file. 3127 * backtrace-dwarf.c: New file. 3128 * backtrace-subr.sh: New file. 3129 * backtrace.c: New file. 3130 * cleanup-13.c: New file. 3131 * backtrace.i386.core.bz2: New file. 3132 * backtrace.i386.exec.bz2: New file. 3133 * backtrace.x86_64.core.bz2: New file. 3134 * backtrace.x86_64.exec.bz2: New file. 3135 * run-backtrace-core-i386.sh: New file. 3136 * run-backtrace-core-x86_64.sh: New file. 3137 * run-backtrace-native-biarch.sh: New file. 3138 * run-backtrace-native-core-biarch.sh: New file. 3139 * run-backtrace-native-core.sh: New file. 3140 * run-backtrace-native.sh: New file. 3141 * run-backtrace-data.sh: New file. 3142 * run-backtrace-dwarf.sh: New file. 3143 31442013-11-27 Mark Wielaard <[email protected]> 3145 3146 * dwflsyms.c (gelf_bind_order): New function. 3147 (elf_section_name): Likewise. 3148 (addr_in_section): Likewise. 3149 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf. 3150 Refine assert using gelf_bind_order. Print elf_section_name. Check 3151 bias with addr_in_section. 3152 * run-dwflsyms.sh: Add section names to expected output. 3153 31542013-11-26 Mark Wielaard <[email protected]> 3155 3156 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh. 3157 31582013-11-25 Petr Machata <[email protected]> 3159 3160 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files. 3161 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise. 3162 * Makefile.am (EXTRA_DIST): Add these. 3163 (TESTS): Add run-funcretval.sh. 3164 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test. 3165 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test. 3166 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2. 3167 * run-funcretval.sh: New file. 3168 31692013-11-18 Josh Stone <[email protected]> 3170 3171 * testfilebazdbg_plr.bz2: New testfile. 3172 * testfilebazmin_plr.bz2: Likewise. 3173 * Makefile.am (EXTRA_DIST): Add the above files. 3174 * run-dwflsyms.sh: Add prelink -r tests. 3175 31762013-11-15 Mark Wielaard <[email protected]> 3177 3178 * testfilebazmdb.bz2: Regenerated. 3179 * testfilebazmin.bz2: Likewise. 3180 * testfilebazdbg_pl.bz2: New testfile. 3181 * testfilebazmin_pl.bz2: Likewise. 3182 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and 3183 testfilebazmin_pl.bz2. 3184 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and 3185 print relative address of function symbols. 3186 * run-dwflsyms.sh: Add prelink tests and adjust expected output. 3187 31882013-11-01 Michael Forney <[email protected]> 3189 3190 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM. 3191 * run-arsymtest.sh: Use NM. 3192 31932013-11-05 Mark Wielaard <[email protected]> 3194 3195 * allfcts.c (main): Correct dwarf_getfuncs return value check. 3196 31972013-10-10 Mark Wielaard <[email protected]> 3198 Josh Stone <[email protected]> 3199 3200 * run-allfcts-multi.sh: New test. 3201 * test-offset-loop.bz2: New testfile. 3202 * test-offset-loop.alt.bz2: New testfile. 3203 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ. 3204 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and 3205 test-offset-loop.alt.bz2. 3206 32072013-10-15 Mark Wielaard <[email protected]> 3208 3209 * run-unstrip-M.sh: New test. 3210 * Makefile.am (TESTS): Add run-unstrip-M.sh. 3211 (EXTRA_DIST): Likewise. 3212 32132013-10-06 Mark Wielaard <[email protected]> 3214 3215 * run-addrcfi.sh: Remove nop from expected ppc and ppc64 3216 location expression. 3217 32182013-10-03 Josh Stone <[email protected]> 3219 3220 * typeiter2.c: New file, reversing typeiter.c. 3221 * run-typeiter.sh: Also run typeiter2. 3222 * Makefile.am (check_PROGRAMS): Add typeiter2. 3223 (typeiter2_LDADD): New variable. 3224 32252013-09-26 Petr Machata <[email protected]> 3226 3227 * run-readelf-mixed-corenote.sh: Update output of testfile71 3228 dump--readelf can newly decode the NT_FILE note. 3229 32302013-09-26 Petr Machata <[email protected]> 3231 3232 * Makefile.am (EXTRA_DIST): Add testfile71.bz2. 3233 * run-readelf-mixed-corenote.sh: New test for this file. 3234 * testfile71.bz2: New file. 3235 32362013-09-20 Mark Wielaard <[email protected]> 3237 3238 * allfcts.c (cb): Return DWARF_CB_ABORT. 3239 (main): Iterate over all offsets returned by dwarf_getfuncs. 3240 * run-allfcts.sh: Add nested_funcs and class_func testcases. 3241 * testfile_nested_funcs.bz2: New test file. 3242 * testfile_class_func.bz2: Likewise. 3243 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and 3244 testfile_nested_funcs.bz2. 3245 32462013-08-30 Mark Wielaard <[email protected]> 3247 3248 * Makefile.am (check_PROGRAMS): Add varlocs. 3249 (TESTS): Add run-varlocs.sh. 3250 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c, 3251 testfile_const_type.bz2, testfile_implicit_pointer.c, 3252 testfile_implicit_pointer.bz2, testfile_parameter_ref.c, 3253 testfile_entry_value.c, testfile_entry_value.bz2, 3254 testfile_implicit_value.c and testfile_implicit_value.bz2. 3255 (varlocs_LDADD): New. 3256 * run-varlocs: New test. 3257 * testfile_const_type.c: New test source file. 3258 * testfile_entry_value.c: Likewise. 3259 * testfile_implicit_pointer.c: Likewise. 3260 * testfile_implicit_value.c: Likewise. 3261 * testfile_parameter_ref.c: Likewise. 3262 * testfile_const_type.bz2: New test file. 3263 * testfile_entry_value.bz2: Likewise. 3264 * testfile_implicit_pointer.bz2: Likewise. 3265 * testfile_implicit_value.bz2: Likewise. 3266 * testfile_parameter_ref.bz2: Likewise. 3267 * varlocs.c: New test source. 3268 32692013-08-29 Mark Wielaard <[email protected]> 3270 3271 * run-addrcfi.sh: Add case for EM_ARM. 3272 * testfilearm.bz2: New testfile. 3273 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2. 3274 32752013-08-28 Mark Wielaard <[email protected]> 3276 3277 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame 3278 completely missing. 3279 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64. 3280 * testfiles390.bz2: New testfile. 3281 * testfiles390x.bz2: Likewise. 3282 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and 3283 testfiles390x.bz2. 3284 32852013-08-28 Mark Wielaard <[email protected]> 3286 3287 * addrcfi.c (handle_cfi): Use printf not error. 3288 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64. 3289 * testfileppc32.bz2: New testfile. 3290 * testfileppc64.bz2: Likewise. 3291 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and 3292 testfileppc64.bz2. 3293 32942013-08-27 Mark Wielaard <[email protected]> 3295 3296 * run-addrcfi.sh: New test. 3297 * Makefile.am (TESTS): Add run-addrcfi.sh. 3298 (EXTRA_DIST): Likewise. 3299 * addrcfi.c (op_name): New function. 3300 (print_detail): Call and print op_name. Check ops, not result 3301 to check if this is "same value" or "undefined". 3302 (handle_cfi): Make sure cfa_ops doesn't point to NULL. 3303 33042013-08-13 Mark Wielaard <[email protected]> 3305 3306 * run-addr2line-i-test.sh: New test. 3307 * testfile-inlines.bz2: New testfile. 3308 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and 3309 testfile-inlines.bz2. 3310 (TESTS): Add run-addr2line-i-test.sh. 3311 33122013-08-12 Mark Wielaard <[email protected]> 3313 3314 * run-addr2line-test.sh: New test. 3315 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh. 3316 (TESTS): Likewise. 3317 33182013-07-23 Jan Kratochvil <[email protected]> 3319 3320 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of 3321 the entries. 3322 33232013-07-02 Mark Wielaard <[email protected]> 3324 3325 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in 3326 testfilenolines.bz2. 3327 33282013-05-30 Jan Kratochvil <[email protected]> 3329 3330 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2, 3331 test-core.core.bz2 and test-core.exec.bz2. 3332 * run-addrname-test.sh: New test for these files. 3333 * run-unstrip-n.sh: Update expected output. New test for these files. 3334 * test-core-lib.so.bz2: New file. 3335 * test-core.core.bz2: New file. 3336 * test-core.exec.bz2: New file. 3337 33382013-05-03 Mark Wielaard <[email protected]> 3339 3340 * testfilenolines.bz2: New test file. 3341 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2. 3342 * run-get-lines.sh: Run testrun_compare on testfilenolines. 3343 33442013-04-30 Jan Kratochvil <[email protected]> 3345 3346 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf. 3347 33482013-04-29 Mark Wielaard <[email protected]> 3349 3350 * test-subr.sh: Don't use pushd, just cd into test-dir. 3351 (exit_cleanup): Don't use popd, just cd .. to get out. 3352 33532013-04-27 Mark Wielaard <[email protected]> 3354 3355 * test-subr.sh (exit_cleanup): New function. 3356 (trap): Use exit_cleanup as argument. 3357 * run-native-test.sh (native_exit): New function. 3358 (trap): For EXIT (0) use native_exit as argument. 3359 33602013-04-27 Mark Wielaard <[email protected]> 3361 3362 * update1.c (main): Use unique tempfile name and unlink file. 3363 * update2.c (main): Likewise. 3364 * update3.c (main): Likewise. 3365 * update4.c (main): Use unique tempfile name. 3366 33672013-04-27 Mark Wielaard <[email protected]> 3368 3369 * run-alldts.sh: Add testfile-alldts to tempfiles. 3370 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles. 3371 * run-macro-test.sh: Add readelf.macros.out to tempfiles. 3372 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2 3373 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles. 3374 33752013-04-26 Mark Wielaard <[email protected]> 3376 3377 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment, 3378 remove wrapper. 3379 (TESTS_ENVIRONMENT): Likewise. 3380 (installed_LOG_COMPILER): New variable defining wrapper. 3381 (LOG_COMPILER): Likewise. 3382 * run-*.sh: Fixup location of input and output files. 3383 * test-subr.sh: Create test_dir, pushd to execute test in. 3384 (trap): Remove test_dir. 3385 (testfiles): Use abs_srcdir. 3386 (installed_testrun): Match on abs_builddir or abs_top_builddir. 3387 (self_test_files): Adjust path. 3388 33892013-04-24 Mark Wielaard <[email protected]> 3390 3391 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 3392 33932013-03-25 Mark Wielaard <[email protected]> 3394 3395 * run-readelf-aranges.sh: New test. 3396 * testfilefoobarbaz.bz2: New test file. 3397 * Makefile.am (TESTS): Add run-readelf-aranges.sh. 3398 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2. 3399 34002013-03-25 Mark Wielaard <[email protected]> 3401 3402 * run-readelf-dwz-multi.sh: Expect high_pc also as address. 3403 34042013-03-20 Jan Kratochvil <[email protected]> 3405 3406 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align. 3407 (TESTS): Add run-dwfl-report-elf-align.sh. 3408 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and 3409 testfile-dwfl-report-elf-align-shlib.so.bz2 . 3410 (dwfl_report_elf_align_LDADD): New. 3411 * dwfl-report-elf-align.c: New file. 3412 * run-dwfl-report-elf-align.sh: New file. 3413 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file. 3414 34152013-03-12 Mark Wielaard <[email protected]> 3416 3417 * run-dwfllines.sh: New test. 3418 * dwfllines.c: New test program. 3419 * Makefile.am (TESTS): Add run-dwfllines.sh. 3420 (EXTRA_DIST): Likewise. 3421 (dwfllines_LDADD): New variable. 3422 34232013-02-22 Mark Wielaard <[email protected]> 3424 3425 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh. 3426 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS. 3427 34282013-02-15 Mark Wielaard <[email protected]> 3429 3430 * testfile-dwzstr.bz2: New testfile. 3431 * testfile-dwzstr.multi.bz2: Likewise. 3432 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test. 3433 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and 3434 testfile-dwzstr.multi.bz2. 3435 34362013-01-30 Mark Wielaard <[email protected]> 3437 3438 * testfileloc.bz2: New testfile. 3439 * run-readelf-loc.sh: New test. 3440 * Makefile.am (TESTS): Add run-readelf-loc.sh. 3441 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2. 3442 34432013-01-29 Jan Kratochvil <[email protected]> 3444 3445 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390 3446 and s390x core notes. 3447 * testfile67.bz2: New file. 3448 * testfile68.bz2: New file. 3449 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 . 3450 34512013-01-23 Mark Wielaard <[email protected]> 3452 3453 * testfilebasmin.bz2: New testfile. 3454 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2. 3455 * run-readelf-s.sh: Test testfilebasmin. 3456 * run-dwflsyms.sh: Likewise. 3457 34582013-01-16 Mark Wielaard <[email protected]> 3459 3460 * Makefile.am (check_PROGRAMS): Add dwflsyms. 3461 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh. 3462 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2, 3463 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2, 3464 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh. 3465 (dwflsyms_LDADD): New variable. 3466 34672013-01-07 Roland McGrath <[email protected]> 3468 3469 * run-prelink-addr-test.sh: Use ln -snf. 3470 34712012-12-03 Mark Wielaard <[email protected]> 3472 3473 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no. 3474 34752012-11-29 Jan Kratochvil <[email protected]> 3476 3477 * run-addrname-test.sh: New test for PIE relocation. 3478 * testfile70.core.bz2: New file. 3479 * testfile70.exec.bz2: New file. 3480 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and 3481 testfile70.exec.bz2 . 3482 34832012-10-27 Jan Kratochvil <[email protected]> 3484 3485 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2, 3486 testfile69.core.bz2 and testfile69.so.bz2 . 3487 34882012-10-17 Jan Kratochvil <[email protected]> 3489 3490 * run-addrname-test.sh: New test for DSO with build-id bias. 3491 * testfile69.core.bz2: New file. 3492 * testfile69.so.bz2: New file. 3493 34942012-10-10 Jan Kratochvil <[email protected]> 3495 3496 * run-addrname-test.sh: New test for core vDSO bias. 3497 * testfile65.bz2: New file. 3498 34992012-10-10 Jan Kratochvil <[email protected]> 3500 3501 * run-addrname-test.sh: New test for symbol preferences. 3502 * testfile64.bz2: New file. 3503 35042012-10-01 Mark Wielaard <[email protected]> 3505 3506 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND. 3507 * test-wrapper.sh: Export VALGRIND_CMD if available. 3508 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog. 3509 (installed_testrun): Likewise. 3510 35112012-09-24 Petr Machata <[email protected]> 3512 3513 * testfile63.bz2: New testfile. 3514 * run-readelf-mixed-corenote.sh: New test. 3515 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh. 3516 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh. 3517 35182012-09-24 Petr Machata <[email protected]> 3519 3520 * testfile62.bz2: New testfile. 3521 * run-readelf-vmcoreinfo.sh: New test. 3522 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh. 3523 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh. 3524 35252012-09-18 Petr Machata <[email protected]> 3526 3527 * testfile61.bz2: New testfile. 3528 * run-allregs.sh: Run reg_test testfile61. 3529 * Makefile.am (EXTRA_DIST): Add testfile61.bz2. 3530 35312012-08-24 Mark Wielaard <[email protected]> 3532 3533 * Makefile.am (EXTRA_DIST): Add testfile60.bz2. 3534 35352012-08-22 Jeff Kenton <[email protected]> 3536 3537 * testfile60.bz2: New testfile. 3538 * run-allregs.sh: Run reg_test testfile60. 3539 35402012-08-24 Mark Wielaard <[email protected]> 3541 3542 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if 3543 ENABLE_DWZ. 3544 35452012-08-16 Mark Wielaard <[email protected]> 3546 3547 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf 3548 macros. 3549 * show-die-info.c (tagnames): Removed. 3550 (attrs): Removed. 3551 (dwarf_tag_string): New function using known-dwarf macros. 3552 (dwarf_attr_string): Likewise. 3553 (handle): Call dwarf_tag_string and dwarf_attr_string instead. 3554 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89. 3555 35562012-06-27 Mark Wielaard <[email protected]> 3557 3558 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh. 3559 (EXTRA_DIST): Add run-readelf-dwz-multi.sh, 3560 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and 3561 testfile_multi_main.bz2. 3562 * run-readelf-dwz-multi.sh: New test. 3563 * libtestfile_multi_shared.so.bz2: New testfile. 3564 * testfile_multi.dwz.bz2: New testifle. 3565 * testfile_multi_main.bz2: New testifle. 3566 35672012-08-01 Petr Machata <[email protected]> 3568 3569 * run-test-archive64.sh: New test. 3570 * testarchive64.a.bz2: New testfile. 3571 * Makefile.am (TESTS): Add run-test-archive64.sh. 3572 (EXTRA_DIST): Likewise. 3573 35742012-08-01 Mark Wielaard <[email protected]> 3575 3576 * run-nm-self.sh: New test. 3577 * run-readelf-self.sh: Likewise. 3578 * test-subr.sh (testrun_on_self_quiet): New function. 3579 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh. 3580 (EXTRA_DIST): Likewise. 3581 35822012-08-01 Mark Wielaard <[email protected]> 3583 3584 * test-subr.sh (self_test_files): New list of files. 3585 (testrun_on_self): New function. 3586 * run-elflint-self.sh: Use testrun_on_self. 3587 35882012-07-19 Mark Wielaard <[email protected]> 3589 3590 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr. 3591 (TESTS): Add run-elf_cntl_gelf_getshdr.sh. 3592 (EXTRA_DIST): Likewise. 3593 (test_elf_cntl_gelf_getshdr_LDADD): New. 3594 test-elf_cntl_gelf_getshdr.c: New test program. 3595 run-elf_cntl_gelf_getshdr.sh: New test script. 3596 35972012-07-19 Mark Wielaard <[email protected]> 3598 3599 * run-elflint-self.sh: runtests on ../backends/*so files. 3600 36012012-07-19 Mark Wielaard <[email protected]> 3602 3603 * run-unstrip-n.sh: test_cleanup. 3604 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2. 3605 36062012-07-11 Mark Wielaard <[email protected]> 3607 3608 * run-readelf-macro.sh: New test. 3609 * testfilemacro.bz2: New testfile. 3610 * Makefile.am (TESTS): Add run-readelf-macro.sh. 3611 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2. 3612 36132012-06-27 Mark Wielaard <[email protected]> 3614 3615 * run-readelf-gdb-index.sh: New test. 3616 * testfilegdbindex5.bz2: New testfile. 3617 * testfilegdbindex7.bz2: Likewise. 3618 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh. 3619 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and 3620 testfilegdbindex7.bz2. 3621 36222012-07-17 Mark Wielaard <[email protected]> 3623 3624 * testcore-rtlib-ppc.bz2: New testfile. 3625 * run-unstrip-n.sh: Check new ppc core testfile. 3626 36272012-06-26 Mike Frysinger <[email protected]> 3628 3629 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. 3630 36312012-06-26 Mark Wielaard <[email protected]> 3632 3633 * run-macro-test.sh: New test. 3634 * testfile-macinfo.bz2: New testfile. 3635 * testfile-macros.bz2: Likewise. 3636 36372012-05-07 Mark Wielaard <[email protected]> 3638 3639 * low_high_pc.c: Use proper inttypes in printf formats. 3640 36412012-05-11 Mark Wielaard <[email protected]> 3642 3643 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C. 3644 36452012-05-07 Mark Wielaard <[email protected]> 3646 3647 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC. 3648 36492012-04-27 Mark Wielaard <[email protected]> 3650 3651 * Makefile.am (TESTS): Add run-low_high_pc.sh 3652 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2 3653 (noinst_PROGRAMS): Add low_high_pc. 3654 (low_high_pc_LDADD): New variable. 3655 * low_high_pc.c: New test. 3656 36572012-04-26 Mark Wielaard <[email protected]> 3658 3659 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh. 3660 * run-show-ciefde.sh: Removed old libdwarf test. 3661 * show-ciefde.c: Likewise. 3662 36632012-04-02 Mark Wielaard <[email protected]> 3664 3665 * Makefile.am (TESTS): Add run-unstrip-n.sh. 3666 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh. 3667 * run-unstrip-n.sh: New test. 3668 * testcore-rtlib.bz2: New testfile. 3669 36702012-04-02 Mark Wielaard <[email protected]> 3671 3672 * Makefile.am (TESTS): Add run-readelf-d.sh. 3673 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh. 3674 * run-readelf-d.sh: New test. 3675 * run-elflint-test.sh: Check new testfile. 3676 36772012-03-21 Tom Tromey <[email protected]> 3678 3679 * typeiter.c: New file. 3680 * run-typeiter.sh: New file. 3681 * testfile59.bz2: New file. 3682 * Makefile.am (noinst_PROGRAMS): Add typeiter. 3683 (TESTS): Add run-typeiter.sh. 3684 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2. 3685 (typeiter_LDADD): New variable. 3686 36872012-02-21 Kurt Roeckx <[email protected]> 3688 3689 * run-alldts.sh: testrun ./alldts. 3690 36912012-02-21 Roland McGrath <[email protected]> 3692 3693 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH. 3694 * test-subr.sh (installed_testrun): Likewise. 3695 36962012-01-18 Roland McGrath <[email protected]> 3697 3698 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation; 3699 it will have been inherited correctly from the test harness. 3700 * asm-tst5.c (main): Likewise. 3701 * asm-tst6.c (main): Likewise. 3702 Reported by Serge Pavlov <[email protected]>. 3703 37042011-07-09 Roland McGrath <[email protected]> 3705 3706 * sha1-tst.c: File removed. 3707 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it. 3708 (sha1_tst_LDADD): Variable removed. 3709 3710 * md5-sha1-test.c: New file. 3711 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it. 3712 (md5_sha1_test_LDADD): New variable. 3713 37142011-05-30 Mark Wielaard <[email protected]> 3715 3716 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and 3717 run-rerequest_tag.sh 3718 37192011-05-24 Mark Wielaard <[email protected]> 3720 3721 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2. 3722 * run-strip-reloc.sh: Add hello_s390.ko testcase. 3723 * hello_s390.ko.bz2: New test file. 3724 37252011-05-23 Mark Wielaard <[email protected]> 3726 3727 * Makefile.am (TESTS): Add run-strip-reloc.sh. 3728 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2 3729 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2 3730 * run-strip-reloc.sh: New test. 3731 * hello_i386.ko.bz2: New test file. 3732 * hello_x86_64.ko.bz2: Likewise. 3733 * hello_ppc64.ko.bz2: Likewise. 3734 37352011-05-18 Mark Wielaard <[email protected]> 3736 3737 * run-strip-groups.sh: New test. 3738 * testfile58.bz2: New test file. 3739 * Makefile.am (EXTRA_DIST): Add testfile58.bz2. 3740 (TESTS): Add run-strip-groups.sh. 3741 (EXTRA_DIST): Likewise. 3742 37432011-03-28 Marek Polacek <[email protected]> 3744 3745 * alldts.c: New file. 3746 * run-alldts.sh: Use it. 3747 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 3748 (alldts_LDADD): New variable. 3749 37502011-03-02 Marek Polacek <[email protected]> 3751 3752 * dwarf-getstring.c: New test. 3753 * run-dwarf-getstring.sh: And its wrapper. 3754 * Makefile.am (EXTRA_DIST): Add and update all. 3755 37562011-02-27 Jan Kratochvil <[email protected]> 3757 3758 * Makefile.am (TESTS): Add run-readelf-twofiles.sh. 3759 * run-readelf-twofiles.sh: New file. 3760 37612011-02-25 Mark Wielaard <[email protected]> 3762 3763 * Makefile.am (BUILD_RPATH): Be consistent in naming. 3764 37652011-02-02 Josh Stone <[email protected]> 3766 3767 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit. 3768 * testfile55-64.bz2, testfile55-64.debug.bz2, 3769 testfile55-64.prelink.bz2, testfile55-32.bz2, 3770 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New. 3771 * Makefile.am (EXTRA_DIST): Add and update all. 3772 37732011-01-12 Roland McGrath <[email protected]> 3774 3775 * run-prelink-addr-test.sh: Make symlinks to find .debug files 3776 corresponding to .noshdrs files. 3777 37782011-01-11 Josh Stone <[email protected]> 3779 3780 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit. 3781 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2, 3782 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2, 3783 testfile54-64.so.bz2, testfile54-64.so.debug.bz2, 3784 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New. 3785 * Makefile.am (EXTRA_DIST): Add and update all. 3786 3787 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests. 3788 * testfile53.bz2, testfile53.debug.bz2, 3789 testfile53.prelink.bz2: Deleted, so... 3790 * testfile53-64.bz2, testfile53-64.debug.bz2, 3791 testfile53-64.prelink.bz2: Recreated with 64-bit names. 3792 * testfile53-32.bz2, testfile53-32.debug.bz2, 3793 testfile53-32.prelink.bz2: New in 32-bit. 3794 * Makefile.am (EXTRA_DIST): Add and update all. 3795 3796 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests. 3797 * testfile52.so.bz2, testfile52.so.debug.bz2, 3798 testfile52.prelink.so.bz2: Deleted, so... 3799 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2, 3800 testfile52-32.prelink.so.bz2: Recreated with 32-bit names. 3801 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers. 3802 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2, 3803 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files. 3804 * Makefile.am (EXTRA_DIST): Add and update all. 3805 38062011-01-10 Josh Stone <[email protected]> 3807 3808 * run-prelink-addr-test.sh: New test for prelinked addrs. 3809 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3810 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files. 3811 * testfile52.prelink.so.bz2: New data file, shows REL->RELA. 3812 * testfile53.bz2, testfile53.debug.bz2: New data files. 3813 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap. 3814 * Makefile.am (EXTRA_DIST): Add them. 3815 38162010-06-04 Roland McGrath <[email protected]> 3817 3818 * run-unstrip-test.sh: Also test modifying the file in place. 3819 38202010-04-22 Roland McGrath <[email protected]> 3821 3822 * addrcfi.c (handle_cfi): Fix function name in error message. 3823 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe. 3824 38252010-04-14 Roland McGrath <[email protected]> 3826 3827 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too. 3828 38292010-04-10 Ulrich Drepper <[email protected]> 3830 3831 * msg_tst.c: Adjust expected error message. 3832 38332010-04-01 Petr Machata <[email protected]> 3834 3835 * test-flag-nobits.c: New test. 3836 * run-test-flag-nobits.sh: And its wrapper. 3837 * Makefile.am (noinst_PROGRAMS, TESTS): Add them. 3838 (test_flag_nobits_LDADD): New variable. 3839 38402010-02-15 Roland McGrath <[email protected]> 3841 3842 * Makefile.am: Use config/eu.am for common stuff. 3843 3844 * asm-tst9.c (main): Rename local to avoid shadowing another local. 3845 38462009-07-22 Roland McGrath <[email protected]> 3847 3848 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention. 3849 38502009-07-08 Roland McGrath <[email protected]> 3851 3852 * addrcfi.c: New file. 3853 * Makefile.am (noinst_PROGRAMS): Add it. 3854 (addrcfi_LDADD): New variable. 3855 38562009-05-07 Petr Machata <[email protected]> 3857 3858 * testfile51.bz2: New data file. 3859 * dwarf-getmacros.c: New test core. 3860 * run-dwarf-getmacros.sh: New test wrapper. 3861 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 3862 (dwarf_getmacros_LDADD): New variable. 3863 38642009-04-23 Ulrich Drepper <[email protected]> 3865 3866 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). 3867 (rdwrmmap_LDADD): Add $(libmudflap). 3868 38692009-04-21 Roland McGrath <[email protected]> 3870 3871 * testfile50.bz2: New data file. 3872 * Makefile.am (EXTRA_DIST): Add it. 3873 * run-dwfl-addr-sect.sh: Add a case using it. 3874 38752008-12-31 Ulrich Drepper <[email protected]> 3876 3877 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, 3878 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, 3879 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, 3880 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw, 3881 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd, 3882 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest, 3883 roundss, roundps, roundpd, and roundsd. 3884 * testfile45.S.bz2: Likewise. 3885 * testfile44.expect.bz2: Adjust accordingly. 3886 * testfile45.expect.bz2: Likewise. 3887 3888 * testfile44.S.bz2: Add tests for blendvpd and blendvps. 3889 * testfile45.S.bz2: Likewise. 3890 * testfile44.expect.bz2: Adjust accordingly. 3891 * testfile45.expect.bz2: Likewise. 3892 38932008-12-30 Ulrich Drepper <[email protected]> 3894 3895 * testfile44.S.bz2: Add tests for blendpd and blendps. 3896 * testfile45.S.bz2: Likewise. 3897 * testfile44.expect.bz2: Adjust accordingly. 3898 * testfile45.expect.bz2: Likewise. 3899 39002008-12-19 Ulrich Drepper <[email protected]> 3901 3902 * testfile44.S.bz2: Add tests for AMD 3DNOW. 3903 * testfile45.S.bz2: Likewise. 3904 * testfile44.expect.bz2: Adjust accordingly. 3905 * testfile45.expect.bz2: Likewise. 3906 39072008-11-26 Roland McGrath <[email protected]> 3908 3909 * dwfl-bug-getmodules.c: New file. 3910 * Makefile.am (noinst_PROGRAMS): Add it. 3911 (dwfl_bug_getmodules_LDADD): New variable. 3912 39132008-09-10 Roland McGrath <[email protected]> 3914 3915 * test-subr.sh (LC_ALL): Export it set to "C". 3916 * run-dwfl-addr-sect.sh: Don't do it here. 3917 * run-strings-test.sh: Likewise. 3918 39192008-08-21 Denys Vlasenko <[email protected]> 3920 3921 * run-addrname-test.sh: Add a new case. 3922 * testfile49.bz2: New data file. 3923 * Makefile.am (EXTRA_DIST): Add it. 3924 39252008-04-10 Roland McGrath <[email protected]> 3926 3927 * testfile48.bz2, testfile48.bz2.debug: New data files. 3928 * Makefile.am (EXTRA_DIST): Add them. 3929 * run-strip-test8.sh: Use them. 3930 3931 * testfile16.bz2, testfile16.debug.bz2: Replace data files. 3932 3933 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections. 3934 * run-strip-test8.sh: New file. 3935 * testfile47.bz2: New data file. 3936 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3937 39382008-03-31 Roland McGrath <[email protected]> 3939 3940 * run-early-offscn.sh: New file. 3941 * early-offscn.c: New file. 3942 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them. 3943 (early_offscn_LDADD): New variable. 3944 39452008-03-19 Roland McGrath <[email protected]> 3946 3947 * run-addrname-test.sh: Add a new case. 3948 39492008-02-22 Roland McGrath <[email protected]> 3950 3951 * run-elflint-test.sh: Typo fix. 3952 39532008-02-21 Roland McGrath <[email protected]> 3954 3955 * run-disasm-x86.sh: Use uname instead of arch, keep tools required 3956 for the build down to minimum. 3957 * run-disasm-x86-64.sh: Likewise. 3958 39592008-02-20 Roland McGrath <[email protected]> 3960 3961 * testfile46.bz2: New data file. 3962 * Makefile.am (EXTRA_DIST): Add it. 3963 * run-elflint-test.sh: Test on it. 3964 39652008-02-01 Ulrich Drepper <[email protected]> 3966 3967 * Makefile.am: Hook up sha1-tst.c. 3968 * sha1-tst.c: New file. 3969 39702008-01-21 Roland McGrath <[email protected]> 3971 3972 * testfile45.S.bz2: Add tests for cltq, cqto. 3973 * testfile45.expect.bz2: Adjust. 3974 39752008-01-14 Ulrich Drepper <[email protected]> 3976 3977 * testfile45.S.bz2: Add more tests. 3978 * testfile45.expect.bz2: Adjust. 3979 39802008-01-11 Ulrich Drepper <[email protected]> 3981 3982 * testfile45.expect.bz2: Adjust for adding of address for %rip based 3983 address mode. 3984 39852008-01-10 Ulrich Drepper <[email protected]> 3986 3987 * testfile45.S.bz2: Add more tests. 3988 * testfile45.expect.bz2: Adjust. 3989 39902008-01-08 Ulrich Drepper <[email protected]> 3991 3992 * Makefile.am (TESTS): Add run-disasm-x86-64.sh. 3993 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2, 3994 run-disasm-x86-64.sh. 3995 * run-disasm-x86-64.sh: New file. 3996 * testfile45.S.bz2: New file. 3997 * testfile45.expect.bz2: New file. 3998 * testfile44.S.bz2: New tests. 3999 * testfile44.expect.bz2: Adjust. 4000 40012008-01-04 Ulrich Drepper <[email protected]> 4002 4003 * testfile44.S.bz2: New tests. 4004 * testfile44.expect.bz2: Adjust. 4005 40062008-01-04 Roland McGrath <[email protected]> 4007 4008 * dwfl-bug-fd-leak.c (main): Add a cast. 4009 40102008-01-03 Ulrich Drepper <[email protected]> 4011 4012 * testfile44.S.bz2: New tests. 4013 * testfile44.expect.bz2: Adjust. 4014 40152008-01-01 Ulrich Drepper <[email protected]> 4016 4017 * line2addr.c: Use %m modifier instead of %a to appease gcc. 4018 40192008-01-01 Ulrich Drepper <[email protected]> 4020 4021 * testfile44.S.bz2: New tests. 4022 * testfile44.expect.bz2: Adjust. 4023 40242007-12-31 Ulrich Drepper <[email protected]> 4025 4026 * testfile44.S.bz2: New tests. 4027 * testfile44.expect.bz2: Adjust. 4028 40292007-12-30 Ulrich Drepper <[email protected]> 4030 4031 * testfile44.S.bz2: New tests. 4032 * testfile44.expect.bz2: Adjust. 4033 40342007-12-29 Ulrich Drepper <[email protected]> 4035 4036 * testfile44.s.bz2: New tests. 4037 * testfile44.expect.bz2: Adjust. 4038 40392007-12-28 Ulrich Drepper <[email protected]> 4040 4041 * testfile44.S.bz2: New tests. 4042 * testfile44.expect.bz2: Adjust. 4043 40442007-12-27 Ulrich Drepper <[email protected]> 4045 4046 * testfile44.S.bz2: New tests. 4047 * testfile44.expect.bz2: Adjust. 4048 40492007-12-26 Ulrich Drepper <[email protected]> 4050 4051 * testfile44.S.bz2: New tests. 4052 * testfile44.expect.bz2: Adjust 4053 40542007-12-21 Ulrich Drepper <[email protected]> 4055 4056 * testfile44.S.bz2: More tests. 4057 * testfile44.expect.bz2: Adjust appropriately. 4058 40592007-12-19 Ulrich Drepper <[email protected]> 4060 4061 * Makefile.am (TESTS): Add run-disasm.sh. 4062 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and 4063 testfile44.expect.bz2. 4064 * run-disasm.sh: New file. 4065 * testfile44.S.bz2: New file. 4066 * testfile44.expect.bz2: New file. 4067 40682007-12-15 Roland McGrath <[email protected]> 4069 4070 * run-allregs.sh: Change expected output for powerpc spefscr. 4071 40722007-10-20 Roland McGrath <[email protected]> 4073 4074 * run-dwfl-addr-sect.sh: Change expected output, no errors. 4075 40762007-10-19 Roland McGrath <[email protected]> 4077 4078 * dwfl-addr-sect.c (handle_address): Return int. 4079 Don't exit on error, just return nonzero. 4080 (main): Collect results. 4081 * run-dwfl-addr-sect.sh: New file. 4082 * testfile43.bz2: New data file. 4083 * Makefile.am (EXTRA_DIST, TESTS): Add them. 4084 40852007-10-18 Roland McGrath <[email protected]> 4086 4087 * run-allregs.sh: Update expected ppc output for vrsave/vscr. 4088 40892007-10-16 Roland McGrath <[email protected]> 4090 4091 * test-subr.sh (remove_files): Don't pass -Bb to diff. 4092 40932007-10-09 Roland McGrath <[email protected]> 4094 4095 * dwflmodtest.c (print_module): Don't use %p in output. 4096 * run-dwfl-bug-offline-rel.sh: Updated expected output. 4097 40982007-10-08 Roland McGrath <[email protected]> 4099 4100 * testfile42.bz2: New data file. 4101 * Makefile.am (EXTRA_DIST): Add it. 4102 * run-elflint-test.sh: New test on that file. 4103 41042007-10-04 Roland McGrath <[email protected]> 4105 4106 * run-readelf-test4.sh: New file. 4107 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4108 41092007-10-03 Roland McGrath <[email protected]> 4110 4111 * run-readelf-test3.sh: New file. 4112 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4113 41142007-10-01 Roland McGrath <[email protected]> 4115 4116 * run-readelf-test2.sh: New file. 4117 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4118 41192007-09-11 Roland McGrath <[email protected]> 4120 4121 * run-addrname-test.sh: Add a new case. 4122 * testfile41.bz2: New data file. 4123 * Makefile.am (EXTRA_DIST): Add it. 4124 41252007-08-23 Roland McGrath <[email protected]> 4126 4127 * run-allregs.sh: Update expected x86-64 output for %rflags. 4128 41292007-08-12 Roland McGrath <[email protected]> 4130 4131 * run-strip-test7.sh: New file. 4132 * testfile39.bz2: New data file. 4133 * testfile40.bz2: New data file. 4134 * testfile40.debug.bz2: New data file. 4135 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4136 41372007-08-09 Roland McGrath <[email protected]> 4138 4139 * dwfl-bug-report.c: Fix header inclusion. 4140 41412007-08-08 Roland McGrath <[email protected]> 4142 4143 * run-addrname-test.sh: Add a new case using addr2line -S. 4144 * testfile38.bz2: New data file. 4145 * Makefile.am (EXTRA_DIST): Add it. 4146 41472007-07-16 Roland McGrath <[email protected]> 4148 4149 * dwfl-bug-report.c: New file. 4150 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 4151 (dwfl_bug_report_LDADD): New variable. 4152 41532007-06-06 Roland McGrath <[email protected]> 4154 4155 * run-unstrip-test.sh: Declare testfile.unstrip for removal. 4156 41572007-06-05 Ulrich Drepper <[email protected]> 4158 4159 * Makefile.am (EXTRA_DIST): Add missing line continuation and 4160 testfile37.bz and testfile37.debug.bz2. 4161 41622007-05-23 Roland McGrath <[email protected]> 4163 4164 * run-allregs.sh: Update expected Alpha results. 4165 41662007-05-18 Roland McGrath <[email protected]> 4167 4168 * run-strip-test4.sh (stripped, debugfile): Use new reference files. 4169 * testfile37.bz2: New data file. 4170 * testfile37.debug.bz2: New data file. 4171 * run-unstrip-test2.sh: New file. 4172 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4173 41742007-05-10 Roland McGrath <[email protected]> 4175 4176 * run-dwfl-bug-offline-rel.sh: New file. 4177 * testfile36.bz2: New data file. 4178 * testfile36.debug.bz2: New data file. 4179 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4180 41812007-04-28 Roland McGrath <[email protected]> 4182 4183 * run-strip-test6.sh (stripped, debugfile): Use new reference files. 4184 * testfile35.bz2: New data file. 4185 * testfile35.debug.bz2: New data file. 4186 * run-unstrip-test.sh: New file. 4187 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4188 4189 * run-strip-test.sh: Do all elflint and cmp runs even when some fail. 4190 41912007-04-26 Roland McGrath <[email protected]> 4192 4193 * run-elflint-self.sh: Run all tests even if one fails. 4194 4195 * run-allregs.sh: Add expected output for alpha. 4196 41972007-04-24 Roland McGrath <[email protected]> 4198 4199 * run-strip-test.sh: When we saved the debug info, test unstrip too. 4200 42012007-04-22 Roland McGrath <[email protected]> 4202 4203 * run-allregs.sh: Update expected register info. 4204 42052007-04-16 Roland McGrath <[email protected]> 4206 4207 * dwfl-addr-sect.c: New file. 4208 * Makefile.am (noinst_PROGRAMS): Add it. 4209 (dwfl_addr_sect_LDADD): New variable. 4210 42112007-04-05 Roland McGrath <[email protected]> 4212 4213 * get-files.c: Test dwarf_getsrcdirs. 4214 * run-get-files.sh: Update expected output. 4215 42162007-04-01 Roland McGrath <[email protected]> 4217 4218 * run-allregs.sh: Updated expected output for x86_64. 4219 42202007-03-04 Roland McGrath <[email protected]> 4221 4222 * dwfl-bug-fd-leak.c: New file. 4223 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 4224 (dwfl_bug_fd_leak_LDADD): New variable. 4225 4226 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf, 4227 show what files have been located. 4228 42292007-02-02 Roland McGrath <[email protected]> 4230 4231 * run-addrname-test.sh: New file. 4232 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4233 * testfile34.bz2: New data file. 4234 * Makefile.am (EXTRA_DIST): Add it. 4235 42362007-01-20 Roland McGrath <[email protected]> 4237 4238 * testfile33.bz2: New data file. 4239 * Makefile.am (EXTRA_DIST): Add it. 4240 * run-elflint-test.sh: Test on it too. 4241 42422007-01-18 Roland McGrath <[email protected]> 4243 4244 * Makefile.am (CFLAGS): Don't molest it. 4245 42462007-01-11 Roland McGrath <[email protected]> 4247 4248 * testfile32.bz2: New data file. 4249 * Makefile.am (EXTRA_DIST): Add it. 4250 * run-elflint-test.sh: Test on it too. 4251 42522007-02-04 Ulrich Drepper <[email protected]> 4253 4254 * arls.c: New file. 4255 * Makefile (noinst_PROGRAMS): Add arls. 4256 4257 * run-ranlib-test2.sh: Fix type in comment. 4258 42592007-01-10 Ulrich Drepper <[email protected]> 4260 4261 * run-elflint-self.sh (runtest): Show which file has the problem. 4262 42632007-01-10 Roland McGrath <[email protected]> 4264 4265 * dwfl-bug-addr-overflow.c: New file. 4266 * Makefile.am (TESTS): Add it. 4267 (dwfl_bug_addr_overflow_LDADD): New variable. 4268 42692006-12-17 Roland McGrath <[email protected]> 4270 4271 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg. 4272 42732006-09-05 Roland McGrath <[email protected]> 4274 4275 * run-strings-test.sh: Export LC_ALL=C for the test. 4276 42772006-08-29 Roland McGrath <[email protected]> 4278 4279 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh. 4280 * run-arsymtest.sh: Likewise. 4281 4282 * run-native-test.sh (native.c compilation): Add some braces. 4283 42842006-08-22 Roland McGrath <[email protected]> 4285 4286 * allregs.c (dwarf_encoding_string): New function, swiped from readelf. 4287 (struct reginfo): New members bits, type. 4288 (one_register, match_register): Update to take new args, 4289 record and display new info. 4290 (main): Display new info. 4291 * run-allregs.sh: Update expected results. 4292 42932006-08-03 Roland McGrath <[email protected]> 4294 4295 * run-allregs.sh: Add sparc cases. 4296 * testfile30.bz2: New data file. 4297 * testfile31.bz2: New data file. 4298 * Makefile.am (EXTRA_DIST): Add them. 4299 43002006-07-21 Roland McGrath <[email protected]> 4301 4302 * allregs.c (struct reginfo): Increase size of name. 4303 (one_register): Assert that it's big enough. 4304 43052006-04-04 Roland McGrath <[email protected]> 4306 4307 * run-bug1-test.sh: Test a second case, to cover both byte orders. 4308 * testfile29.bz2: New file. 4309 * testfile29.rdwr.bz2: New file. 4310 * Makefile.am (EXTRA_DIST): Add them. 4311 43122006-04-04 Ulrich Drepper <[email protected]> 4313 4314 * Makefile.am: Add rules to run run-bug1-test.sh. 4315 * rdwrmmap.c: New file. 4316 * run-bug1-test.sh: New file. 4317 * testfile28.bz2: New file. 4318 * testfile28.rdwr.bz2: New file. 4319 43202006-03-09 Roland McGrath <[email protected]> 4321 4322 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link. 4323 43242006-03-01 Roland McGrath <[email protected]> 4325 4326 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h 4327 changes matching 3.0 spec. 4328 43292006-01-13 Roland McGrath <[email protected]> 4330 4331 * run-native-test.sh: Do kill -9 and reap explicitly at end, since 4332 bash 3.1 whines when it's done in the trap 0 handler. 4333 43342006-01-11 Roland McGrath <[email protected]> 4335 4336 * testfile26.bz2: New data file. 4337 * testfile27.bz2: New data file. 4338 * Makefile.am (EXTRA_DIST): Add them. 4339 * run-allregs.sh: Test s390 data. 4340 43412005-12-14 Roland McGrath <[email protected]> 4342 4343 * run-native-test.sh: Redirect output from native test process. 4344 43452005-12-13 Roland McGrath <[email protected]> 4346 4347 * allregs.c (main): Fail if we find no registers. 4348 4349 * run-native-test.sh: New file. 4350 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4351 43522005-12-10 Ulrich Drepper <[email protected] 4353 4354 * run-readelf-test1.sh: New file. 4355 * Makefile.am (TESTS): Add run-readelf-test1.sh. 4356 (EXTRA_DIST): Likewise. 4357 43582005-12-07 Roland McGrath <[email protected]> 4359 4360 * ecp.c (main): Use elf_end to clean up. 4361 43622005-11-25 Roland McGrath <[email protected]> 4363 4364 * coverage.sh: Given -v argument, print names of unused files. 4365 4366 * addrscopes.c (main): Use dwfl_end before return. 4367 * allregs.c (main): Likewise. 4368 * find-prologues.c (main): Likewise. 4369 * funcretval.c (main): Likewise. 4370 * funcscopes.c (main): Likewise. 4371 * line2addr.c (main): Likewise. 4372 4373 * run-allregs.sh: New file. 4374 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4375 4376 * allregs.c: Use libdwfl wrapper instead of direct libebl calls. 4377 * Makefile.am (allregs_LDADD): Updated. 4378 4379 * allregs.c: New file. 4380 * Makefile.am (noinst_PROGRAMS): Add it. 4381 (allregs_LDADD): New variable. 4382 43832005-11-18 Roland McGrath <[email protected]> 4384 4385 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib. 4386 * test-wrapper.sh: Likewise. 4387 43882005-11-17 Roland McGrath <[email protected]> 4389 4390 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in 4391 environment for test-wrapper.sh. 4392 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib. 4393 * test-subr.sh (installed_testrun): Likewise. 4394 Use explicit path in ${bindir}. 4395 4396 * Makefile.am (installcheck-local): Fix typo in last change. 4397 43982005-11-16 Roland McGrath <[email protected]> 4399 4400 * configure.ac: New file, for standalone build/dist of test suite. 4401 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. 4402 (asm_TESTS): New variable, broken out of ... 4403 (TESTS): ... here. Also remove msg_tst. 4404 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. 4405 (installed_TESTS_ENVIRONMENT): New variable. 4406 [STANDALONE] (TESTS_ENVIRONMENT): Use that. 4407 [!STANDALONE] (installcheck-local): Likewise. 4408 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. 4409 * addrscopes.c: Include <config.h>. 4410 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. 4411 * allfcts.c: Likewise. 4412 * asm-tst1.c: Likewise. 4413 * asm-tst2.c: Likewise. 4414 * asm-tst3.c: Likewise. 4415 * asm-tst4.c: Likewise. 4416 * asm-tst5.c: Likewise. 4417 * asm-tst6.c: Likewise. 4418 * asm-tst7.c: Likewise. 4419 * asm-tst8.c: Likewise. 4420 * asm-tst9.c: Likewise. 4421 * dwflmodtest.c: Likewise. 4422 * find-prologues.c: Likewise. 4423 * funcscopes.c: Likewise. 4424 * get-aranges.c: Likewise. 4425 * get-files.c: Likewise. 4426 * get-lines.c: Likewise. 4427 * get-pubnames.c: Likewise. 4428 * line2addr.c: Likewise. 4429 * newscn.c: Likewise. 4430 * show-abbrev.c: Likewise. 4431 * show-die-info.c: Likewise. 4432 * update3.c: Likewise. 4433 * update4.c: Likewise. 4434 * funcretval.c: Likewise. 4435 4436 * dwflmodtest.c (print_instance): Don't use INTUSE. 4437 (options): Don't use N_ macro. 4438 44392005-11-15 Roland McGrath <[email protected]> 4440 4441 * coverage.sh: Look in backends. 4442 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl. 4443 (TESTS_ENVIRONMENT): Likewise. 4444 4445 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE, 4446 pass FUNCDIE direclty to dwfl_module_return_value_location. 4447 4448 * Makefile.am (BUILD_RPATH): New variable. 4449 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value. 4450 (tests_rpath): New variable. 4451 (installcheck-local): Pass it to test-wrapper.sh. 4452 * test-wrapper.sh: In "installed" format, take yes/no value 4453 for elfutils_tests_rpath, which export. When running a test 4454 binary for installcheck, exit 77. 4455 * test-subr.sh (installed_testrun): When running a test binary 4456 for installcheck, exit 77 if $elfutils_tests_rpath = yes. 4457 44582005-11-14 Roland McGrath <[email protected]> 4459 4460 * test-subr.sh: New file. 4461 * test-wrapper.sh: New file. 4462 * Makefile.am (EXTRA_DIST): Add them. 4463 (AM_LDFLAGS): Variable removed. 4464 (TESTS_ENVIRONMENT): New variable. 4465 (installcheck-local): New target. 4466 * run-addrscopes.sh: Use test-subr.sh. 4467 * run-allfcts.sh: Likewise. 4468 * run-ecp-test.sh: Likewise. 4469 * run-ecp-test2.sh: Likewise. 4470 * run-elflint-self.sh: Likewise. 4471 * run-elflint-test.sh: Likewise. 4472 * run-find-prologues.sh: Likewise. 4473 * run-funcscopes.sh: Likewise. 4474 * run-get-aranges.sh: Likewise. 4475 * run-get-files.sh: Likewise. 4476 * run-get-lines.sh: Likewise. 4477 * run-get-pubnames.sh: Likewise. 4478 * run-line2addr.sh: Likewise. 4479 * run-ranlib-test.sh: Likewise. 4480 * run-ranlib-test2.sh: Likewise. 4481 * run-show-abbrev.sh: Likewise. 4482 * run-show-ciefde.sh: Likewise. 4483 * run-show-die-info.sh: Likewise. 4484 * run-strings-test.sh: Likewise. 4485 * run-strip-test.sh: Likewise. 4486 44872005-11-13 Roland McGrath <[email protected]> 4488 4489 * funcretval.c: New file. 4490 * Makefile.am (noinst_PROGRAMS): Add it. 4491 (funcretval_LDADD): New variable. 4492 44932005-11-09 Ulrich Drepper <[email protected]> 4494 4495 * line2addr.c (handle_module): Add missing parameter to printf. 4496 44972005-10-27 Roland McGrath <[email protected]> 4498 4499 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes. 4500 * funcscopes.c (handle_function): Likewise. 4501 * dwflmodtest.c (print_inline, print_func): Likewise. 4502 * find-prologues.c (handle_function): Likewise. 4503 45042005-10-27 Roland McGrath <[email protected]> 4505 4506 * run-find-prologues.sh: New file. 4507 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4508 4509 * find-prologues.c (handle_function): Skip inlines. 4510 45112005-10-25 Roland McGrath <[email protected]> 4512 4513 * find-prologues.c: New file. 4514 * Makefile.am (noinst_PROGRAMS): Add it. 4515 (find_prologues_LDADD): New variable. 4516 45172005-09-02 Ulrich Drepper <[email protected]> 4518 4519 * run-strings-test.sh: Remove strings.out in the end. 4520 45212005-08-31 Ulrich Drepper <[email protected]> 4522 4523 * run-addrscopes.sh: Use correct exit code if test cannot be performed. 4524 * run-allfcts.sh: Likewise. 4525 * run-ecp-test.sh: Likewise. 4526 * run-ecp-test2.sh: Likewise. 4527 * run-elflint-test.sh: Likewise. 4528 * run-funcscopes.sh: Likewise. 4529 * run-get-aranges.sh: Likewise. 4530 * run-get-files.sh: Likewise. 4531 * run-get-lines.sh: Likewise. 4532 * run-get-pubnames.sh: Likewise. 4533 * run-line2addr.sh: Likewise. 4534 * run-ranlib-test2.sh: Likewise. 4535 * run-show-abbrev.sh: Likewise. 4536 * run-show-ciefde.sh: Likewise. 4537 * run-show-die-info.sh: Likewise. 4538 * run-strings-test.sh: Likewise. 4539 * run-strip-test.sh: Likewise. 4540 45412005-08-30 Ulrich Drepper <[email protected]> 4542 4543 * coverage.sh: Handle case where there is no .gcno file at all. 4544 45452005-08-29 Ulrich Drepper <[email protected]> 4546 4547 * Makefile.am (EXTRA_DIST): Add coverage. 4548 [GCOV]: Generate coverage summary after the tests ran 4549 * coverage.sh: New file. 4550 45512005-08-28 Ulrich Drepper <[email protected]> 4552 4553 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl. 4554 (CLEANFILES): Add *.gcno *.gcda *.gconv. 4555 45562005-08-28 Ulrich Drepper <[email protected]> 4557 4558 * run-strings-test.sh: New file. 4559 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4560 45612005-08-27 Roland McGrath <[email protected]> 4562 4563 * addrscopes.c (handle_address): Apply bias to PC addresses. 4564 4565 * run-funcscopes.sh: New file. 4566 * testfile25.bz2: New data file. 4567 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4568 45692005-08-26 Roland McGrath <[email protected]> 4570 4571 * addrscopes.c (dwarf_diename_integrate): Removed. 4572 (print_vars, handle_address): Use plain dwarf_diename. 4573 45742005-08-25 Roland McGrath <[email protected]> 4575 4576 * funcscopes.c: New file. 4577 * Makefile.am (noinst_PROGRAMS): Add it. 4578 (funcscopes_LDADD): New variable. 4579 4580 * run-addrscopes.sh: Add another case. 4581 * testfile24.bz2: New data file. 4582 * Makefile.am (EXTRA_DIST): Add it. 4583 4584 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES, 4585 pass it to dwarf_getscopes. 4586 (main): Pass it, true when '=' follows an address. 4587 45882005-08-24 Roland McGrath <[email protected]> 4589 4590 * line2addr.c (print_address): Omit () for DSOs. 4591 45922005-08-24 Ulrich Drepper <[email protected]> 4593 4594 * run-line2addr.sh: Remove testfile23 in the end. 4595 4596 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl). 4597 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules. 4598 45992005-08-22 Roland McGrath <[email protected]> 4600 4601 * run-line2addr.sh: Add a case. 4602 * testfile23.bz2: New data file. 4603 * Makefile.am (EXTRA_DIST): Add it. 4604 46052005-08-18 Roland McGrath <[email protected]> 4606 4607 * run-addrscopes.sh: New file. 4608 * testfile22.bz2: New data file. 4609 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4610 4611 * addrscopes.c: New file. 4612 * Makefile.am (noinst_PROGRAMS): Add it. 4613 (addrscopes_LDADD): New variable. 4614 46152005-08-15 Ulrich Drepper <[email protected]> 4616 4617 * run-elflint-self.sh: Don't run test if the file doesn't exist. 4618 46192005-08-15 Roland McGrath <[email protected]> 4620 4621 * dwflmodtest.c (print_instance, print_inline): New functions. 4622 (print_func): Call print_inline. 4623 (options, parse_opt): Grok -i/--inlines. 4624 46252005-08-07 Roland McGrath <[email protected]> 4626 4627 * dwflmodtest.c: Print function details only if -f flag is given. 4628 46292005-08-06 Ulrich Drepper <[email protected]> 4630 4631 * run-elflint-self.sh: New file. 4632 * Makefile.am (TESTS): Add run-elflint-self.sh. 4633 (EXTRA_DIST): Likewise. 4634 4635 * Makefile.am: Link with statis libs if BUILD_STATIC. 4636 (dwflmodtest_LDADD): Also link with -ldl. 4637 46382005-08-02 Ulrich Drepper <[email protected]> 4639 4640 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS. 4641 * asm-tst1.c: Adjust for new asm_begin interface. Open backend 4642 library first. 4643 * asm-tst2.c: Likewise. 4644 * asm-tst3.c: Likewise. 4645 * asm-tst4.c: Likewise. 4646 * asm-tst5.c: Likewise. 4647 * asm-tst6.c: Likewise. 4648 * asm-tst7.c: Likewise. 4649 * asm-tst8.c: Likewise. 4650 * asm-tst9.c: Likewise. 4651 4652 * msg_tst.c: Add new error message. 4653 46542005-07-28 Ulrich Drepper <[email protected]> 4655 4656 * Makefile.am (dwflmodtest_LDADD): Add $(libebl). 4657 46582005-06-01 Roland McGrath <[email protected]> 4659 4660 * line2addr.c: Rewritten using libdwfl. 4661 * run-line2addr.sh: Update test for changed arguments. 4662 * Makefile.am (INCLUDES): Add libdwfl source directory to path. 4663 (libdwfl): New variable. 4664 (line2addr_LDADD): Use it. 4665 46662005-07-28 Roland McGrath <[email protected]> 4667 4668 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here. 4669 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest. 4670 (dwflmodtest_LDADD): New variable. 4671 (INCLUDES): Add -I$(top_srcdir)/libdwfl here. 4672 46732005-07-21 Ulrich Drepper <[email protected]> 4674 4675 * testfile18.bz2: New file. 4676 * run-elflint-test.sh: New file. 4677 * Makefile.am (TESTS): Add run-elflint-test.sh. 4678 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. 4679 46802005-05-24 Ulrich Drepper <[email protected]> 4681 4682 * get-files.c (main): Use correct format specifier. 4683 46842005-05-21 Ulrich Drepper <[email protected]> 4685 4686 * Makefile.am: Add -Wextra to CFLAGS. 4687 * get-files.c: Remove warning this produced. 4688 * get-pubnames.c: Likewise. 4689 * newfile.c: Likewise. 4690 * newscn.c: Likewise. 4691 * scnnames.c: Likewise. 4692 * showptable.c: Likewise. 4693 * test-nlist.c: Likewise. 4694 * update1.c: Likewise. 4695 * update2.c: Likewise. 4696 * update3.c: Likewise. 4697 * update4.c: Likewise. 4698 46992005-05-08 Ulrich Drepper <[email protected]> 4700 4701 * run-line2addr.sh: Remove testfile14 at the end. 4702 4703 * run-strip-test.sh: Remove debuginfo test input file as well. 4704 4705 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used 4706 .bz, not .bz2. 4707 47082005-05-03 Roland McGrath <[email protected]> 4709 4710 * run-strip-test.sh: Use variables for test file names. 4711 Optionally produce separate debug file and check it. 4712 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication. 4713 * run-strip-test3.sh: Likewise. 4714 * run-strip-test4.sh: New file. 4715 * run-strip-test5.sh: New file. 4716 * run-strip-test6.sh: New file. 4717 * testfile15.bz: New file. 4718 * testfile15.debug.bz: New file. 4719 * testfile16.bz: New file. 4720 * testfile16.debug.bz: New file. 4721 * testfile17.bz: New file. 4722 * testfile17.debug.bz: New file. 4723 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4724 47252005-04-25 Ulrich Drepper <[email protected]> 4726 4727 * run-line2addr.sh: Also use testfile14. Adjust for correct 4728 return of multiple matches. 4729 * testfile14.bz2: New file. 4730 * Makefile.am (EXTRA_DIST): Add testfile14.bz2. 4731 4732 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change. 4733 47342005-04-04 Roland McGrath <[email protected]> 4735 4736 * line2addr.c (main): Initialize LINES and NLINES before calling 4737 dwarf_getsrc_file, and free LINES afterwards. 4738 4739 * allfcts.c (main): Use size_t for CUHL. 4740 47412005-04-04 Ulrich Drepper <[email protected]> 4742 4743 * line2addr.c: New file. 4744 * run-line2addr.sh: New file. 4745 * Makefile.am: Add rules to build, run, and distribute new code. 4746 47472005-04-02 Ulrich Drepper <[email protected]> 4748 4749 * allfcts.c: New file. 4750 * run-allfcts.sh: New file. 4751 * Makefile.am: Add rules to build, run, and distribute new code. 4752 47532005-02-05 Ulrich Drepper <[email protected]> 4754 4755 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test 4756 programs with -lmudflap. 4757 47582004-09-25 Ulrich Drepper <[email protected]> 4759 4760 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation. 4761 * asm-tst5.c (main): Likewise. 4762 * asm-tst6.c (main): Likewise. 4763 47642004-01-17 Ulrich Drepper <[email protected]> 4765 4766 * Makefile.am: Support building with mudflap. 4767 47682004-01-12 Ulrich Drepper <[email protected]> 4769 4770 * get-aranges.c: Rewrite to use libdw. 4771 * Makefile.am: Reenable get-aranges test. 4772 47732004-01-11 Ulrich Drepper <[email protected]> 4774 4775 * get-lines.c: New file. 4776 * get-files.c: Adjust for libdw. 4777 * run-get-files.sh: Adjust expected result. 4778 * run-get-lines.sh: Likewise. 4779 * Makefile.am: Run get-lines test. Don't run get-aranges and 4780 get-ciefde test for now. 4781 4782 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface 4783 change. Print attribute offset information. 4784 * run-show-abbrev.sh: Adjust expected output. 4785 47862004-01-09 Ulrich Drepper <[email protected]> 4787 4788 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change. 4789 * show-die-info.c: Likewise. 4790 * run-show-die-info.sh: Adjust expected output. 4791 47922003-08-13 Ulrich Drepper <[email protected]> 4793 4794 * Makefile.in: Depend on libebl.a, not libebl.so. 4795 47962003-08-11 Ulrich Drepper <[email protected]> 4797 4798 * Moved to CVS archive. 4799