12022-11-01 Aaron Merey <amerey@redhat.com> 2 3 * run-debuginfod-section.sh (RPM_BUILDID): Use buildid from non-zstd 4 compressed rpm. 5 62022-10-31 Aaron Merey <amerey@redhat.com> 7 8 * Makefile.am (TESTS): Add run-debuginfod-section.sh. 9 * run-debuginfod-section.sh: New test. 10 112022-09-20 Yonggang Luo <luoyonggang@gmail.com> 12 13 * Makefile.am (EXTRA_DIST): Remove debuginfod-rpms/hello2.spec. 14 Add debuginfod-rpms/hello{2,3}.specfile. 15 * tests/debuginfod-rpms/hello2.spec.: Renamed to... 16 * tests/debuginfod-rpms/hello2.specfile: ...this. 17 * tests/debuginfod-rpms/hello3.spec.: Renamed to... 18 * tests/debuginfod-rpms/hello3.specfile: ...this. 19 202022-10-28 Arsen Arsenović <arsen@aarsen.me> 21 22 * run-readelf-s.sh: Add tests for the --syms alias. 23 242022-10-27 Mark Wielaard <mark@klomp.org> 25 26 * backtrace-subr.sh: Use grep -E instead of egrep, use grep -F 27 instead of fgrep. 28 * debuginfod-subr.sh: Likewise. 29 * run-debuginfod-archive-rename.sh: Likewise. 30 * run-debuginfod-extraction-passive.sh: Likewise. 31 * run-debuginfod-response-headers.sh: Likewise. 32 * run-debuginfod-webapi-concurrency.sh: Likewise. 33 * run-strip-test.sh: Likewise. 34 352022-10-16 Mark Wielaard <mark@klomp.org> 36 37 * dwfl-report-offline-memory.c: Include config.h first. 38 392022-10-16 Mark Wielaard <mark@klomp.org> 40 41 * dwfl-report-offline-memory.c (main): Check lseek, read and malloc 42 results with correct types. 43 442022-09-13 Aleksei Vetrov <vvvvvv@google.com> 45 46 * Makefile.am (check_PROGRAMS): Add dwfl-report-offline-memory. 47 (TESTS): Add run-dwfl-report-offline-memory.sh. 48 (EXTRA_DIST): Likewise. 49 (dwfl_report_offline_memory_LDADD): New variable. 50 * dwfl-report-offline-memory.c: New file. 51 * run-dwfl-report-offline-memory.sh: Likewise. 52 532022-09-13 Khem Raj <raj.khem@gmail.com> 54 55 * Makefile.am (*_LDADD): Add libeu if needed for error. 56 572022-08-26 Mark Wielaard <mark@klomp.org> 58 59 * run-ar-N.sh: New test. 60 * Makefile.am (TESTS): Add run-ar-N.sh. 61 (EXTRA_DIST): Likewise. 62 632022-09-02 Frank Ch. Eigler <fche@redhat.com> 64 65 * run-debuginfod-response-headers.sh: Use case-insensitive 66 header name matches. Use socat & sleep for greater 67 portability. 68 * run-debuginfod-sizetime.sh: Update for debuginfod-find -v -v. 69 702022-07-15 Noah Sanci <nsanci@redhat.com> 71 72 * run-debuginfod-response-headers.sh: Added test 73 to ensure that federated servers pass headers down to 74 queried server. 75 762022-08-04 Sergei Trofimovich <slyich@gmail.com> 77 78 * low_high_pc.c (handle_die): Drop redundant 'lx' suffix. 79 802022-08-01 Mark Wielaard <mark@klomp.org> 81 82 * run-debuginfod-percent-escape.sh: Add initial scan wait_ready. 83 842022-04-28 Di Chen <dichen@redhat.com> 85 86 * run-readelf-Dd.sh: New test. 87 * Makefile.am (TESTS): Add run-readelf-Dd.sh. 88 (EXTRA_DIST): Likewise. 89 902022-06-01 Mark Wielaard <mark@klomp.org> 91 92 * testfile-arm-flags.bz2: New test file. 93 * run-readelf-arm-flags.sh: New test. 94 * Makefile.am (TESTS): Add run-readelf-arm-flags.sh. 95 (EXTRA_DIST): Add readelf-arm-flags.sh and testfile-arm-flags.bz2 96 972022-05-13 Noah Sanci <nsanci@redhat.com> 98 99 * run-debuginfod-fd-prefetch-caches.sh: Rewritten. 100 1012022-06-02 Mark Wielaard <mark@klomp.org> 102 103 * Makefile.am (TESTS): Add run-debuginfod-federation-metrics.sh 104 only when OLD_LIBMICROHTTPD conditional is not set. 105 1062022-04-24 Mark Wielaard <mark@klomp.org> 107 108 * run-debuginfod-webapi-concurrency.sh: Fix PR number in xfail. 109 1102022-04-23 Mark Wielaard <mark@klomp.org> 111 112 * run-debuginfod-webapi-concurrency.sh: Lower parallel lookups. 113 1142022-03-01 Di Chen <dichen@redhat.com> 115 116 * alldts.c (dtflags): Put DT_NULL last. 117 * run-alldts.sh: NULL comes last. 118 * run-readelf-d.sh: Adjust Dynamic entries, remove DT_NULL 119 padding. 120 1212022-04-14 Mark Wielaard <mark@klomp.org> 122 123 * run-debuginfod-federation-sqlite.sh: Don't try to corrupt 124 sqlite database. 125 1262022-04-13 Aaron Merey <amerey@redhat.com> 127 128 * Makefile.am (TESTS): Remove run-debuginfod-000-permission.sh 129 and add run-debuginfod-negative-cache.sh. 130 (EXTRA_DIST): Likewise. 131 * run-debuginfod-federation-link.sh: Update comments about 132 negative-hit file. 133 * run-debuginfod-federation-metrics.sh: Likewise. 134 * run-debuginfod-federation-sqlite.sh: Likewise. 135 * run-debuginfod-tmp-home.sh: Likewise. 136 1372022-03-20 Mark Wielaard <mark@klomp.org> 138 139 * run-large-elf-file.sh: Check elf class of addsections binary. 140 1412021-12-17 Mark Wielaard <mark@klomp.org> 142 143 * run-debuginfod-query-retry.sh: Use /bin/sh instead of /bin/ls. 144 1452021-12-09 Frank Ch. Eigler <fche@redhat.com> 146 147 * debuginfod-subr.sh (xfail): New proc. 148 * run-debuginfod-webapi-concurrency.sh: New test for -C. 149 * Makefile.am: List it. 150 1512021-12-04 Mark Wielaard <mark@klomp.org> 152 153 * Makefile.am (EXTRA_NLIST_CFLAGS): New variable depends on 154 USE_ADDRESS_SANITIZER. 155 (test_nlist_CFLAGS): Add EXTRA_NLIST_CFLAGS. 156 1572021-12-04 Mark Wielaard <mark@klomp.org> 158 159 * varlocs.c (dwarf_encoding_string): Return "<unknown encoding>" instead 160 of NULL. 161 (dwarf_tag_string): Return "<unknown tag>" instead of NULL. 162 (dwarf_attr_string): Return "<unknown attr>" instead of NULL. 163 (dwarf_form_string): Return "<unknown form>" instead of NULL. 164 (dwarf_opcode_string): Return "<unknown opcode>" instead of NULL. 165 (print_expr): Remove assert. 166 1672021-11-18 Mark Wielaard <mark@klomp.org> 168 169 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add -rdynamic. 170 1712021-11-11 Mark Wielaard <mark@klomp.org> 172 173 * run-debuginfod-000-permission.sh: Don't set DEBUGINFOD_TIMEOUT. 174 * run-debuginfod-archive-groom.sh: Likewise. 175 * run-debuginfod-archive-rename.sh: Likewise. 176 * run-debuginfod-archive-test.sh: Likewise. 177 * run-debuginfod-artifact-running.sh: Likewise. 178 * run-debuginfod-dlopen.sh: Likewise. 179 * run-debuginfod-extraction.sh: Likewise. 180 * run-debuginfod-federation-link.sh: Likewise. 181 * run-debuginfod-federation-metrics.sh: Likewise. 182 * run-debuginfod-federation-sqlite.sh: Likewise. 183 * run-debuginfod-malformed.sh: Likewise. 184 * run-debuginfod-tmp-home.sh: Likewise. 185 * run-debuginfod-writable.sh: Likewise. 186 1872021-11-05 Frank Ch. Eigler <fche@redhat.com> 188 189 PR28430 190 * run-debuginfod-extraction-passive.sh: New test. 191 * Makefile.am (TESTS, EXTRA_DIST): Add it. 192 1932021-10-20 John M Mellor-Crummey <johnmc@rice.edu> 194 195 * nvidia_extended_linemap_libdw.c: New file. 196 * run-nvidia-extended-linemap-libdw.sh: New test. 197 * run-nvidia-extended-linemap-readelf.sh: Likewise. 198 * testfile_nvidia_linemap.bz2: New test file. 199 * .gitignore: Add nvidia_extended_linemap_libdw. 200 * Makefile.am (check_PROGRAMS): Add nvidia_extended_linemap_libdw. 201 (TESTS): Add run-nvidia-extended-linemap-libdw.sh and 202 run-nvidia-extended-linemap-readelf.sh 203 (EXTRA_DIST): Likewise and testfile_nvidia_linemap.bz2. 204 (nvidia_extended_linemap_libdw_LDADD): New variable. 205 2062021-11-08 Mark Wielaard <mark@klomp.org> 207 208 * Makefile.am (TESTS): Add run-readelf-fat-lto.sh. 209 (EXTRA_DIST): Add run-readelf-fat-lto.sh and 210 testfile-dwarf5-fat-lto.o.bz2. 211 * run-readelf-fat-lto.sh: New test. 212 * testfile-dwarf5-fat-lto.o.bz2: New test file. 213 2142021-11-04 Frank Ch. Eigler <fche@redhat.com> 215 216 PR28514 217 * run-debuginfod-archive-groom.sh: Look for new groom metric. 218 2192021-10-23 Frank Ch. Eigler <fche@redhat.com> 220 221 PR28240 222 * run-debuginfod-000-permission.sh, -writable.sh: 223 Correct negative-cache file permission checking. 224 2252021-10-06 Mark Wielaard <mark@klomp.org> 226 227 * show-die-info.c (handle): Handle dwarf_attr_string returning NULL. 228 2292021-10-06 Di Chen <dichen@redhat.com> 230 231 PR28242 232 * run-debuginfod-000-permission.sh: Expect artifacttype metrics. 233 2342021-09-17 Noah Sanci <nsanci@redhat.com> 235 236 * run-debuginfod-response-header.sh: removed checking for Connection 237 and Cache-Control in response headers. 238 2392021-09-08 Mark Wielaard <mark@klomp.org> 240 241 * run-varlocs-vars.sh: New test. 242 * testfile-vars-clang-dwarf4-32.o.bz2: New test file. 243 * testfile-vars-clang-dwarf4-64.o.bz2: Likewise. 244 * testfile-vars-clang-dwarf5-32.o.bz2: Likewise. 245 * testfile-vars-clang-dwarf5-64.o.bz2: Likewise. 246 * testfile-vars-gcc-dwarf4-32.o.bz2: Likewise. 247 * testfile-vars-gcc-dwarf4-64.o.bz2: Likewise. 248 * testfile-vars-gcc-dwarf5-32.o.bz2: Likewise. 249 * testfile-vars-gcc-dwarf5-64.o.bz2: Likewise. 250 * Makefile.am (EXTRA_DIST): Add new test and test files. 251 (TESTS): Add run-varlocs-vars.sh. 252 2532021-09-09 Mark Wielaard <mark@klomp.org> 254 255 * debuginfod-subr.sh: set -o functrace. 256 (cleanup): Disable trap 0. 257 (err): Disable trap ERR. 258 * run-debuginfod-fd-prefetch-caches.sh: Use || true when grep -c fails. 259 2602021-09-09 Mark Wielaard <mark@klomp.org> 261 262 * debuginfod-subr.sh: set -o errtrace. 263 (cleanup): Don't fail kill or wait. Only trap on normal exit. 264 (err): Don't fail curl metrics. Call cleanup. 265 * run-debuginfod-federation-link.sh: Use separate client caches 266 for both servers and debuginfod client. Remove duplicate valgrind 267 disabling. 268 * run-debuginfod-federation-metrics.sh: Likewise. 269 * run-debuginfod-federation-sqlite.sh: Likewise. 270 2712021-09-13 Noah Sanci <nsanci@redhat.com> 272 273 * Makefile.am: added run-debuginfod-percent-escape.sh to TESTS and 274 EXTRA_DIST. 275 2762021-09-06 Dmitry V. Levin <ldv@altlinux.org> 277 278 * elfcopy.c (copy_elf): Remove cast of malloc return value. 279 2802021-09-07 Mark Wielaard <mark@klomp.org> 281 282 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom 283 cycle before making any changes to the scan dirs. 284 * run-debuginfod-archive-rename.sh: Likewise. 285 * run-debuginfod-artifact-running.sh: Wait for initial scan cycle 286 before making any changes to the scan dirs. 287 * run-debuginfod-dlopen.sh: Likewise. 288 * run-debuginfod-extraction.sh: Likewise. 289 * run-debuginfod-federation-link.sh: Don't wait twice for the initial 290 scan. 291 2922021-09-06 Mark Wielaard <mark@klomp.org> 293 294 * run-debuginfod-archive-groom.sh: Wait for initial scan and groom 295 cycle. 296 * run-debuginfod-archive-rename.sh: Likewise. 297 * run-debuginfod-federation-sqlite.sh: Likewise. 298 * run-debuginfod-archive-test.sh: Wait for initial scan cycle. 299 * run-debuginfod-artifact-running.sh: Likewise. 300 * run-debuginfod-dlopen.sh: Likewise. 301 * run-debuginfod-extraction.sh: Likewise. 302 * run-debuginfod-federation-link.sh: Likewise. 303 * run-debuginfod-federation-metrics.sh: Likewise. 304 * run-debuginfod-malformed.sh: Likewise. 305 * run-debuginfod-regex.sh: Likewise. 306 * run-debuginfod-tmp-home.sh: Likewise. 307 * run-debuginfod-writable.sh: Likewise. 308 3092021-09-06 Mark Wielaard <mark@klomp.org> 310 311 * run-debuginfod-archive-groom.sh: Set DEBUGINFOD_URLS after starting 312 debuginfod server. 313 * run-debuginfod-archive-rename.sh: Likewise. 314 * run-debuginfod-federation-link.sh: Don't set DEBUGINFOD_URLS. 315 * run-debuginfod-federation-sqlite.sh: Likewise. 316 * run-debuginfod-federation-metrics.sh: Add comment why invalid 317 DEBUGINFOD_URLS is set. 318 3192021-09-06 Mark Wielaard <mark@klomp.org> 320 321 * debuginfod-subr.sh (err): Change ports to port in for loop so both 322 PORT1 and PORT2 are used. 323 (get_ports): Simplify port selection by using for 50 for PORT1 and 324 second 50 for PORT2. 325 3262021-09-06 Mark Wielaard <mark@klomp.org> 327 328 * run-debuginfod-file.sh: Set DEBUGINFOD_CACHE_PATH. Export 329 correct DEBUGINFOD_URLS. 330 * run-debuginfod-query-retry.sh: Add DEBUGINFOD_CACHE_PATH 331 to env. 332 3332021-09-03 Mark Wielaard <mark@klomp.org> 334 335 * run-debuginfod-000-permission.sh: Set DEBUGINFOD_CACHE_PATH 336 and use an unique sqlite db. 337 * run-debuginfod-archive-groom.sh: Likewise. 338 * run-debuginfod-archive-test.sh: Likewise. 339 * run-debuginfod-dlopen.sh: Likewise. 340 * run-debuginfod-duplicate-urls.sh: Likewise. 341 * run-debuginfod-extraction.sh: Likewise. 342 * run-debuginfod-fd-prefetch-caches.sh: Likewise. 343 * run-debuginfod-malformed.sh: Likewise. 344 * run-debuginfod-sizetime.sh: Likewise. 345 * run-debuginfod-tmp-home.sh: Likewise. 346 * run-debuginfod-writable.sh: Likewise. 347 3482021-09-03 Mark Wielaard <mark@klomp.org> 349 350 * debuginfod-subr.sh (EXTRA_DIST): Add debuginfod-subr.sh. 351 3522021-08-20 Noah Sanci <nsanci@redhat.com> 353 354 * run-debuginfod-response-headers.sh: Ensures custom http response 355 headers are used and functional 356 * Makefile.am: Added the above new file to TESTS and EXTRA_DIST 357 3582021-08-28 Mark Wielaard <mark@klomp.org> 359 360 * run-debuginfod-find.sh: Use ":memory:" for the 361 forwarded-ttl-limit tests. 362 3632021-08-28 Mark Wielaard <mark@klomp.org> 364 365 * run-debuginfod-find.sh: Use clean, separate databases for 366 forwarded-ttl-limit tests. 367 3682021-08-20 Di Chen <dichen@redhat.com> 369 370 * run-debuginfod-find.sh: Add test for X-Forwarded-For hops limit. 371 3722021-08-20 Noah Sanci <nsanci@redhat.com> 373 374 * debuginfod-find.sh: Separated file into 375 run-debuginfod-000-permission.sh, 376 run-debuginfod-archive-groom.sh, 377 run-debuginfod-archive-rename.sh, 378 run-debuginfod-archive-test.sh, 379 run-debuginfod-artifact-running.sh, 380 run-debuginfod-dlopen.sh, 381 run-debuginfod-duplicate-urls.sh, 382 run-debuginfod-extraction.sh, 383 run-debuginfod-fd-prefetch-caches.sh, 384 run-debuginfod-federation-link.sh, 385 run-debuginfod-federation-metrics.sh, 386 run-debuginfod-federation-sqlite.sh, 387 run-debuginfod-file.sh, 388 run-debuginfod-malformed.sh, 389 run-debuginfod-no-urls.sh, 390 run-debuginfod-query-retry.sh, 391 run-debuginfod-regex.sh, 392 run-debuginfod-sizetime.sh, 393 run-debuginfod-tmp-home.sh, 394 run-debuginfod-x-forwarded.sh 395 and run-debuginfod-writable.sh. 396 All files source debuginfod-subr.sh and use the $base variable to find ports. 397 * tests/Makefile.am: Added the above new files to the test suite 398 * tests/debuginfod-subr.sh: Added some general functions for above tests 399 4002021-08-04 Mark Wielaard <mark@klomp.org> 401 402 PR28190 403 * backtrace.c (callback_verify): Check for pthread_kill as first 404 frame. Change asserts to fprintf plus abort. 405 4062021-07-26 Noah Sanci <nsanci@redhat.com> 407 408 PR27982 409 * run-debuginfod-find.sh: Added a test to ensure that 410 DEBUGINFOD_MAXSIZE and DEBUGINFOD_MAXTIME work properly 411 by searching server and client logs for prompts. 412 4132021-07-16 Noah Sanci <nsanci@redhat.com> 414 415 PR28034 416 * run-debuginfod-percent-escape.sh: Added a test ensuring files with % 417 escapable characters in their paths are accessible. 418 4192021-07-21 Noah Sanci <nsanci@redhat.com> 420 421 * run-debuginfod-find.sh: Properly kill $PID4 by waiting for it to 422 finish. Report $PORT3's metrics in err(). 423 4242021-06-28 Noah Sanci <nsanci@redhat.com> 425 426 PR25978 427 * run-debuginfod-find.sh: Test to ensure options 428 fdcache-prefetch-fds/mbs are set. Check that inc_metric works for lru 429 and prefetch cache metrics. 430 4312021-07-06 Alice Zhang <alizhang@redhat.com> 432 433 PR27531 434 * run-debuginfod-find.sh: Add test case for retry mechanism. 435 4362021-07-01 Noah Sanci <nsanci@redhat.com> 437 438 PR2711 439 * run-debuginfod-find.sh: Added test case for grooming the database 440 using regexes. 441 4422021-07-09 Noah Sanci <nsanci@redhat.com> 443 444 PR27983 445 * run-debuginfod-find.sh: Wrote test to ensure duplicate urls are in 446 fact not checked. 447 4482021-07-08 Mark Wielaard <mark@klomp.org> 449 450 * Makefile.am (EXTRA_DIST): Fix typo testfile-largealign.bz2 was 451 was missing .o. 452 4532021-06-09 Andrei Homescu <ah@immunant.com> 454 455 * testfile-largealign.o.bz2: New test file. 456 * run-strip-largealign.sh: New test. 457 * Makefile.am (TESTS): Add run-strip-largealign.sh. 458 (EXTRA_DIST): Add run-strip-largealign.sh and 459 testfile-largealign.o.bz2 460 4612021-07-02 Mark Wielaard <mark@klomp.org> 462 463 * run-debuginfo-find.sh: unset VALGRIND_CMD before testing debuginfod 464 client cache. 465 4662021-06-16 Frank Ch. Eigler <fche@redhat.com> 467 468 * run-debuginfod-find.sh: Fix intermittent groom/stale failure, 469 due to SIGUSR1/SIGUSR2 races. Trace more. 470 4712021-06-15 Frank Ch. Eigler <fche@redhat.com> 472 473 * run-debuginfod-find.sh (err): Elaborate. Use as the reliable 474 error-report triggering function, rather than "exit 1". 475 4762021-06-03 Frank Ch. Eigler <fche@redhat.com> 477 478 PR27863 479 * run-debuginfod-find.sh: Test "after-you" queueing via flooding 480 with concurent curls. 481 4822021-05-14 Frank Ch. Eigler <fche@redhat.com> 483 484 PR27859 485 * run-debuginfod-find.sh: Test absence of 404-latch bug in client 486 curl handle reuse. 487 4882021-04-19 Martin Liska <mliska@suse.cz> 489 490 * dwelf_elf_e_machine_string.c (main): Use startswith. 491 * dwelfgnucompressed.c (main): Likewise. 492 * elfgetchdr.c (main): Likewise. 493 * elfputzdata.c (main): Likewise. 494 * vdsosyms.c (module_callback): Likewise. 495 4962021-05-04 Alice Zhang <alizhang@redhat.com> 497 498 * run-debuginfod-find.sh: Added tests for negative cache files. 499 5002021-04-26 Frank Ch. Eigler <fche@redhat.com> 501 502 PR27571 503 * run-debuginfod-find.sh: Add test case for unwriteable cache files. 504 5052021-04-23 Omar Sandoval <osandov@fb.com> 506 507 * run-low_high_pc-dw-form-indirect.sh: New file. 508 * run-readelf-dw-form-indirect.sh: New file. 509 * testfile-dw-form-indirect.bz2: New file. 510 * Makefile.am (TESTS): Add run-low_high_pc-dw-form-indirect.sh and 511 run-readelf-dw-form-indirect.sh. 512 (EXTRA_DIST): Add run-low_high_pc-dw-form-indirect.sh, 513 run-readelf-dw-form-indirect.sh, and testfile-dw-form-indirect.bz2. 514 5152021-04-26 Frank Ch. Eigler <fche@redhat.com> 516 517 PR26125 518 * run-debuginfod-find.sh: Add test case for cache cleanup rmdir. 519 5202021-04-23 Frank Ch. Eigler <fche@redhat.com> 521 522 * run-debuginfod-find.sh: Add a tiny test for client object reuse. 523 Add an "errfiles" test construct to ask the framework to print 524 various files in the case of an error. 525 5262021-03-30 Frank Ch. Eigler <fche@redhat.com> 527 528 * run-debuginfod-find.sh: Add thread comm checks. 529 5302021-02-17 Timm Bäder <tbaeder@redhat.com> 531 532 * elfstrmerge.c (main): Move new_data_buf function to... 533 (new_data_buf): ...top-level static function adding fname, 534 ndx, shdrstrnd and shdrnum as arguments. 535 5362021-02-17 Timm Bäder <tbaeder@redhat.com> 537 538 * elfstrmerge.c (main): Move newsecndx function to... 539 (newsecndx): ...top-level static function adding shdrstrndx, 540 shdrnum and fname as arguments. 541 5422021-02-25 Frank Ch. Eigler <fche@redhat.com> 543 544 * run-debuginfod-find.sh: Add bad webapi artifacttype test. 545 5462021-02-17 Frank Ch. Eigler <fche@redhat.com> 547 548 * run-debuginfod-find.sh: Tweak wait_ready() to also print -vvv log of 549 appropriate debuginfod if metric timeout occurs. Focus grooming 550 test carefully at a more deterministic metric. 551 5522021-02-12 Mark Wielaard <mark@klomp.org> 553 554 * run-readelf-types.sh: Add CU start to type offset reference. 555 5562021-02-07 Alexander Miller <alex.miller@gmx.de> 557 558 * Makefile.am (TESTS_ENVIRONMENT): Quote variables. 559 (valgrind_cmd): Unquote variable. 560 5612021-02-08 Érico Nogueira <ericonr@disroot.org> 562 563 * run-debuginfod-find.sh: Check for cpio availability. 564 5652021-02-04 Frank Ch. Eigler <fche@redhat.com> 566 567 * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling. 568 5692021-01-31 Sergei Trofimovich <slyfox@gentoo.org> 570 571 * Makefile.am (TESTS_ENVIRONMENT): export CC variable 572 to tests for use instead of 'gcc'. 573 * run-disasm-x86-64.sh: use ${CC} instead of 'gcc'. 574 * run-disasm-x86.sh: Likewise. 575 * run-strip-g.sh: Likewise. 576 * run-strip-nothing.sh: Likewise. 577 * run-test-includes.sh: Likewise. 578 5792021-01-06 Timm Bäder <tbaeder@redhat.com> 580 581 * zstrptr.c (main): Lift print_strings function up to ... 582 (print_strings): ... here. New file scope function taking 583 Elf_Scn*, Elf* and ndx as arguments. 584 5852020-12-20 Dmitry V. Levin <ldv@altlinux.org> 586 587 * .gitignore: New file. 588 5892020-12-12 Mark Wielaard <mark@klomp.org> 590 591 * testfile-retain.o.bz2: New test file. 592 * run-retain.sh: New test. 593 * Makefile.am (TESTS): Add run-retain.sh. 594 (EXTRA_DIST): Add run-retain.sh and testfile-retain.o.bz2 595 5962020-12-16 Dmitry V. Levin <ldv@altlinux.org> 597 598 * dwflmodtest.c (N_): Remove. 599 6002020-12-12 Dmitry V. Levin <ldv@altlinux.org> 601 602 * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics. 603 * run-lfs-symbols.sh: Likewise. 604 * elfstrmerge.c (main): Fix spelling typos in comments. 605 * dwfl-bug-fd-leak.c: Likewise. 606 * run-readelf-line.sh: Likewise. 607 * run-stack-demangled-test.sh: Likewise. 608 * sectiondump.c (main): Likewise. 609 * varlocs.c (handle_die): Likewise. 610 6112020-12-11 Dmitry V. Levin <ldv@altlinux.org> 612 613 * configure.ac: Remove. 614 * Makefile.am [STANDALONE]: Remove. 615 (check_PROGRAMS): Add msg_tst, system-elf-libelf-test, and $(asm_TESTS) 616 unconditionally. 617 (TESTS): Add msg_tst, system-elf-libelf-test, $(asm_TESTS), and 618 run-disasm-bpf.sh unconditionally. 619 6202020-11-23 Frank Ch. Eigler <fche@redhat.com> 621 622 * run-debuginfod-find.sh: Add sqlite error injection & stats. 623 6242020-11-02 Mark Wielaard <mark@klomp.org> 625 626 * run-debuginfod-find.sh: Create bogus R/nothing.rpm with cyclic 627 symlink instead of chmod 000. 628 6292020-11-19 Frank Ch. Eigler <fche@redhat.com> 630 631 * run-debuginfod-find.sh: Look for http-* metrics. 632 6332020-11-01 Érico N. Rolim <erico.erc@gmail.com> 634 Mark Wielaard <mark@klomp.org> 635 636 * alldts.c (main): Use DEFFILEMODE for open with O_CREAT. 637 * arextract.c (main): Likewise. 638 * ecp.c (main): Likewise for creat. 639 * elfstrtab.c (check_elf): Use DEFFILEMODE for open with O_CREAT, 640 remove mode from open calls without O_CREAT. 641 * emptyfile.c (check_elf): Likewise. 642 * fillfile.c (check_elf): Likewise. 643 * vendorelf.c (check_elf): Likewise. 644 * newdata.c (checkelf): Use DEFFILEMODE for open with O_CREAT. 645 * update{1,2,3,4}.c (main): Likewise. 646 * 647 6482020-10-31 Mark Wielaard <mark@klomp.org> 649 650 * dwfl-proc-attach.c (dlopen): New external function override. 651 6522020-10-31 Mark Wielaard <mark@klomp.org> 653 654 * test-wrapper.sh: Use =, not == for string compare. 655 6562020-10-29 Mark Wielaard <mark@klomp.org> 657 658 * test-wrapper.sh: Determine whether the test is a script or not 659 and run binaries directly under valgrind. 660 * dwfl-bug-fd-leak.c (main): Call getrlimit before calling setrlimit. 661 * dwfl-proc-attach.c (main): Call dwfl_end, pthread_cancel and 662 pthread_join. 663 * vdsosyms.c (main): Call dwfl_end. 664 6652020-10-31 Frank Ch. Eigler <fche@redhat.com> 666 667 * run-debuginfod-find.sh: Modify for tweaked/new metrics. 668 6692020-10-30 Frank Ch. Eigler <fche@redhat.com> 670 671 PR26775 672 * run-debuginfod-find.sh: Modify test for restored 673 thread_work_total semantics for grooming. 674 6752020-10-29 Frank Ch. Eigler <fche@redhat.com> 676 677 PR26775 678 * run-debuginfod-find.sh: Modify test for different 679 thread_work_total semantics for grooming. 680 6812020-10-29 Frank Ch. Eigler <fche@redhat.com> 682 683 PR26810 684 * run-debuginfod-find.sh: Add tests for successful archive fetches across 685 renamed RPMs, even without grooming. 686 6872020-10-25 Mark Wielaard <mark@klomp.org> 688 689 * read_unaligned.c: New test. 690 * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned. 691 (read_unaligned_LDADD): New variable. 692 6932020-10-28 Tom Tromey <tom@tromey.com> 694 695 PR26773 696 * Makefile.am (check_PROGRAMS, TESTS): Add leb128. 697 (leb128_LDADD): New variable. 698 * leb128.c: New file. 699 7002020-10-19 Mark Wielaard <mark@klomp.org> 701 702 * addrcfi.c (print_register): Make ops_mem 3 elements. 703 7042020-10-19 Mark Wielaard <mark@klomp.org> 705 706 * testfile60.bz2: Removed. 707 * Makefile.am (EXTRA_DIST): Remove testfile60.bz2. 708 * run-allregs.sh: Remove tilegx testfile60 testcase. 709 7102020-10-20 Frank Ch. Eigler <fche@redhat.com> 711 712 PR26756: more prometheus metrics 713 * run-debuginfod-find.sh: Trigger some errors with dummy "nothing.rpm" 714 and check for new metrics. 715 7162020-09-18 Mark Wielaard <mark@klomp.org> 717 718 * run-readelf-compressed-zstd.sh: New test. 719 * Makefile.am (EXTRA_DISTS): Add run-readelf-compressed-zstd.sh. 720 (TESTS): Add run-readelf-compressed-zstd.sh if HAVE_ZSTD. 721 7222020-09-03 Mark Wielaard <mark@klomp.org> 723 724 * run-readelf-frames.sh: New test. 725 * Makefile.am (TESTS): Add run-readelf-frames.sh. 726 (EXTRA_DIST): Likewise. 727 7282020-09-03 Mark Wielaard <mark@klomp.org> 729 730 * testfile-gnu-property-note-aarch64.bz2: New file. 731 * run-readelf-n.sh: Handle testfile-gnu-property-note-aarch64. 732 * Makefile.am (EXTRA_DIST): Add 733 testfile-gnu-property-note-aarch64.bz2. 734 7352020-07-19 Mark Wielaard <mark@klomp.org> 736 737 * asm-tst1.c: Include libebl.h after libasm.h. 738 * asm-tst2.c: Likewise. 739 * asm-tst3.c: Likewise. 740 * asm-tst4.c: Likewise. 741 * asm-tst5.c: Likewise. 742 * asm-tst6.c: Likewise. 743 * asm-tst7.c: Likewise. 744 * asm-tst8.c: Likewise. 745 * asm-tst9.c: Likewise. 746 7472020-07-05 Mark Wielaard <mark@klomp.org> 748 749 * run-test-includes.sh: New test. 750 * Makefile.am (TESTS): Add run-test-includes.sh. 751 (EXTRA_DIST): Likewise. 752 7532020-07-03 Alice Zhang <alizhang@redhat.com> 754 755 * run-debuginfod-find.sh: Add scheme free url testcase. 756 7572020-06-19 Mark Wielaard <mark@klomp.org> 758 759 * Makefile.am (TESTS): Don't add run-debuginfod-find.sh when 760 DUMMY_LIBDEBUGINFOD. 761 7622020-06-16 Mark Wielaard <mark@klomp.org> 763 764 * coverage.sh: Use /usr/bin/env bash. 765 * run-ar.sh: Likewise. 766 * run-backtrace-core-aarch64.sh: Likewise. 767 * run-backtrace-core-i386.sh: Likewise. 768 * run-backtrace-core-ppc.sh: Likewise. 769 * run-backtrace-core-s390.sh: Likewise. 770 * run-backtrace-core-s390x.sh: Likewise. 771 * run-backtrace-core-sparc.sh: Likewise. 772 * run-backtrace-core-x32.sh: Likewise. 773 * run-backtrace-core-x86_64.sh: Likewise. 774 * run-backtrace-data.sh: Likewise. 775 * run-backtrace-demangle.sh: Likewise. 776 * run-backtrace-dwarf.sh: Likewise. 777 * run-backtrace-fp-core-aarch64.sh: Likewise. 778 * run-backtrace-fp-core-i386.sh: Likewise. 779 * run-backtrace-fp-core-ppc64le.sh: Likewise. 780 * run-backtrace-fp-core-x86_64.sh: Likewise. 781 * run-backtrace-native-biarch.sh: Likewise. 782 * run-backtrace-native-core-biarch.sh: Likewise. 783 * run-backtrace-native-core.sh: Likewise. 784 * run-backtrace-native.sh: Likewise. 785 * run-debuginfod-find.sh: Likewise. 786 * run-deleted.sh: Likewise. 787 * run-dwelf_elf_e_machine_string.sh: Likewise. 788 * run-large-elf-file.sh: Likewise. 789 * run-lfs-symbols.sh: Likewise. 790 * run-linkmap-cut.sh: Likewise. 791 7922020-06-11 Mark Wielaard <mark@klomp.org> 793 794 * Makefile.am (nlist-test): Add GCOV flags when necessary. 795 7962020-06-06 Mark Wielaard <mark@klomp.org> 797 798 * testfilesyms32.bz2: New test file. 799 * testfilesyms64.bz2: Likewise. 800 * run-nm-syms.sh: New test. 801 * Makefile.am (TESTS): Add run-nm-syms.sh. 802 (EXTRA_DIST): run-nm-syms.sh, testfilesyms32.bz2 and 803 testfilesyms64.bz2 804 8052020-05-08 Mark Wielaard <mark@klomp.org> 806 807 * elfputzdata.c (main): Explicitly check orig_buf is not NULL 808 before calling memcmp. 809 8102020-05-05 Mark Wielaard <mark@klomp.org> 811 812 * testfile-lto-gcc8.bz2: New test file. 813 * testfile-lto-gcc9.bz2: Likewise. 814 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc8.bz2 and 815 testfile-lto-gcc9.bz2. 816 * run-allfcts.sh: Add testfile-lto-gcc9 and testfile-lto-gcc8 817 tests. 818 8192020-05-05 Mark Wielaard <mark@klomp.org> 820 821 * testfile-lto-gcc10.bz2: New test file. 822 * Makefile.am (EXTRA_DIST): Add testfile-lto-gcc10.bz2. 823 * run-allfcts.sh: Add testfile-lto-gcc10 test. 824 8252020-04-17 Mark Wielaard <mark@klomp.org> 826 827 * test-subr.sh (testrun_on_self_obj): New function. 828 * run-varlocs-self.sh: Run testrun_on_self_exe and 829 testrun_on_self_lib with -e, run testrun_on_self_obj with 830 --exprlocs -e. 831 8322020-04-17 Mark Wielaard <mark@klomp.org> 833 834 * Makefile.am (test-nlist$): New goal with minimal CFLAGS. 835 (test_nlist_CFLAGS): New variable. 836 8372020-03-28 Frank Ch. Eigler <fche@redhat.com> 838 839 * run-debuginfod-find.sh: Test timestamps of archive-origin files. 840 8412020-03-27 Frank Ch. Eigler <fche@redhat.com> 842 843 * run-debuginfod-find.sh: Test /path/-based debuginfod-find. 844 8452020-03-24 Frank Ch. Eigler <fche@redhat.com> 846 847 * run-debuginfod-find.sh: Test relay of UA and XFF headers across 848 federating debuginfods. 849 8502020-03-26 Frank Ch. Eigler <fche@redhat.com> 851 852 * run-debuginfod-find.sh: Look for debuginfod's new 853 http_responses_* metrics. 854 8552020-03-26 Frank Ch. Eigler <fche@redhat.com> 856 857 * run-debuginfod-find.sh: Look for bsdtar instead of dpkg. 858 8592020-03-26 Frank Ch. Eigler <fche@redhat.com> 860 861 * run-debuginfod-find.sh: Check for bsdtar zstd capability 862 for running tests against zstd-compressed fedora31 rpms. 863 8642020-03-26 Mark Wielaard <mark@klomp.org> 865 866 * Makefile.am (EXTRA_DIST): Add 867 debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm, 868 debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm, 869 debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm, 870 debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm, 871 debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm, 872 debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm 873 8742020-03-24 Frank Ch. Eigler <fche@redhat.com> 875 876 * debuginfod-rpms/hello3.spec., /fedora31/*: New files with 877 uncanonicalized source paths. 878 * run-debuginfod-find.sh: Test them. 879 8802020-03-24 Frank Ch. Eigler <fche@redhat.com> 881 882 * run-debuginfod-find.sh: Test the more detailed debuginfod 883 webapi log format. 884 8852020-03-23 Mark Wielaard <mark@klomp.org> 886 887 * getphdrnum.c: Include config.h. 888 * run-lfs-symbols.sh: Also check that file exists. Add more logs. 889 Remove ebl modules check. 890 8912020-03-22 Omar Sandoval <osandov@fb.com> 892 Mark Wielaard <mark@klomp.org> 893 894 * getphdrnum.c: New file. 895 * run-getphdrnum.sh: New test. 896 * testfile-phdrs.elf.bz2: New test file. 897 * Makefile.am (check_PROGRAMS): Add getphdrnum. 898 (TESTS): Add run-getphdrnum.sh. 899 (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2. 900 (getphdrnum_LDADD): New variable. 901 9022020-03-22 Frank Ch. Eigler <fche@redhat.com> 903 904 * run-debuginfod-find.sh: Look for URL in default progressfn 905 and from debuginfod-find -v. 906 9072020-02-19 Aaron Merey <amerey@redhat.com> 908 909 * run-debuginfod-find.sh: Run tests for verifying default 910 client cache locations. 911 9122020-02-26 Konrad Kleine <kkleine@redhat.com> 913 914 * run-debuginfod-find.sh: added tests for DEBUGINFOD_URLS beginning 915 with "file://" 916 9172020-02-21 Mark Wielaard <mark@klomp.org> 918 919 * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS. 920 (installed_TESTS_ENVIRONMENT): Likewise. 921 9222020-02-19 Aaron Merey <amerey@redhat.com> 923 924 * run-debuginfod-find.sh: Test that files unrelated to debuginfod 925 survive cache cleaning. 926 9272020-02-08 Mark Wielaard <mark@klomp.org> 928 929 * run-pt_gnu_prop-tests.sh: New test. 930 * testfile_pt_gnu_prop.bz2: New test file. 931 * testfile_pt_gnu_prop32.bz2: Likewise. 932 * Makefile.am (TESTS): Add run-pt_gnu_prop-tests.sh 933 (EXTRA_DISTS): Likewise. Add testfile_pt_gnu_prop.bz2 and 934 testfile_pt_gnu_prop32.bz2. 935 9362020-02-05 Frank Ch. Eigler <fche@redhat.com> 937 938 * debuginfo-tars/*: New test files from Eli Schwartz of ArchLinux. 939 * Makefile.am (EXTRA_DIST): Package them. 940 * run-debuginfod-find.sh: Run basic archive extraction tests. 941 9422020-02-03 Frank Ch. Eigler <fche@redhat.com> 943 944 * run-debuginfod-find.sh: Protect against missing curl & rpm2cpio. 945 9462020-01-19 Frank Ch. Eigler <fche@redhat.com> 947 948 * run-debuginfod-find.sh: Check for proper groom completion count. 949 9502020-01-18 Frank Ch. Eigler <fche@redhat.com> 951 952 * run-debuginfod-find.sh: Test empty source_paths[]. 953 9542020-01-08 Mark Wielaard <mark@klomp.org> 955 956 * asm-test?.c: include libebl.h. 957 9582020-01-11 Frank Ch. Eigler <fche@redhat.com> 959 960 * run-debuginfod-find.sh: Test --fdcache* options. 961 9622020-01-11 Frank Ch. Eigler <fche@redhat.com> 963 964 * run-debuginfod-find.sh: Adjust to new work-queue metrics. 965 9662020-01-02 Mark Wielaard <mark@klomp.org> 967 968 * run-debuginfod-find.sh: Set DEBUGINFOD_TIMEOUT to 10. 969 9702019-12-22 Frank Ch. Eigler <fche@redhat.com> 971 972 * debuginfod-debs/*: New test files, based on 973 https://wiki.debian.org/Packaging/Intro. 974 * run-debuginfod-find.sh: Test deb file processing (if dpkg 975 installed). 976 9772019-12-04 Frank Ch. Eigler <fche@redhat.com> 978 979 * run-debuinfod-find.sh: Test $DEBUGINFOD_PROGRESS. 980 9812019-12-11 Omar Sandoval <osandov@fb.com> 982 983 * dwfl-report-segment-coalesce.c: New test. 984 * Makefile.am: Add dwfl-report-segment-coalesce 985 9862019-12-06 Mark Wielaard <mark@klomp.org> 987 988 * run-debuginfod-find.sh: Force -Wl,--build-id. 989 9902019-12-05 Mark Wielaard <mark@klomp.org> 991 992 * run-findinfod-find.sh: Run strip under testrun. 993 9942019-12-06 Mark Wielaard <mark@klomp.org> 995 996 * backtrace-data.c (main): Add break after assert. 997 9982019-12-05 Mark Wielaard <mark@klomp.org> 999 1000 * run-elfclassify.sh: Run elfcompress under testrun. 1001 10022019-11-26 Mark Wielaard <mark@klomp.org> 1003 1004 * Makefile.am (BUILD_STATIC): Add libraries needed for libdw. 1005 * coverage.sh: Add debuginfod directory, check whether source 1006 is .c or cxx. 1007 10082019-11-24 Mark Wielaard <mark@klomp.org> 1009 1010 * run-debuginfod-find.sh: Reduce verbosity. Add new cleanup 1011 function to use with trap. Add wait_ready function to query 1012 metrics instead of sleeping. Calculate rpms and sourcefiles 1013 to check. 1014 10152019-11-23 Mark Wielaard <mark@klomp.org> 1016 1017 * run-debuginfod-find.sh: Replace all localhost with 127.0.0.1. 1018 10192019-11-07 Frank Ch. Eigler <fche@redhat.com> 1020 1021 * run-debuginfod-find.sh: Test debuginfod metrics via curl. 1022 Fix federated testing, asserted by metrics. 1023 10242019-11-06 Frank Ch. Eigler <fche@redhat.com> 1025 1026 * run-debuginfod-find.sh: Test debuginfod -L mode. Drop 1027 plain debuginfo-find help-output-comparison. 1028 10292019-11-04 Frank Ch. Eigler <fche@redhat.com> 1030 1031 * run-debuginfod-find.sh: Test debuginfod-find -v progress mode. 1032 10332019-10-28 Aaron Merey <amerey@redhat.com> 1034 Frank Ch. Eigler <fche@redhat.com> 1035 1036 * run-debuginfod-find.sh, debuginfod_build_id_find.c: New test. 1037 * testfile-debuginfod-*.rpm.bz2: New data files for test. 1038 * Makefile.am: Run it. 1039 10402019-11-14 Andreas Schwab <schwab@suse.de> 1041 1042 * run-large-elf-file.sh: Skip if available memory cannot be 1043 determined. 1044 10452019-11-14 Andreas Schwab <schwab@suse.de> 1046 1047 * dwelf_elf_e_machine_string.c (main): Clear errno before calling 1048 strtol. 1049 10502019-09-02 Mark Wielaard <mark@klomp.org> 1051 1052 * run-readelf-s.sh: Add --dyn-syms case. 1053 10542019-09-07 Mark Wielaard <mark@klomp.org> 1055 1056 * Makefile.am (EXTRA_DIST): Add run-disasm-riscv64.sh, 1057 testfile-riscv64-dis1.o.bz2 and testfile-riscv64-dis1.expect.bz2. 1058 10592019-08-27 Mark Wielaard <mark@klomp.org> 1060 1061 * run-readelf-test2.sh: Add -x num testcase. 1062 10632019-08-29 Mark Wielaard <mark@klomp.org> 1064 1065 * test-subr.sh (self_test_files_exe): replace elfcmp, objdump and 1066 readelf with elfclassify, stack and unstrip. 1067 (self_test_files_lib): Replace libdw.so with libasm.so. 1068 10692019-07-05 Omar Sandoval <osandov@fb.com> 1070 1071 * Makefile.am: Remove -ldl. 1072 * tests-subr.sh (self_test_files): Remove libebl_{i386,x86_64}.so. 1073 10742019-07-26 Florian Weimer <fweimer@redhat.com> 1075 Mark Wielaard <mark@klomp.org> 1076 1077 * run-elfclassify.sh: New test. 1078 * run-elfclassify-self.sh: Likewise. 1079 * Makefile.sh (TESTS): Add run-elfclassify.sh and 1080 run-elfclassify-self.sh. 1081 (EXTRA_DIST): Likewise. 1082 10832019-07-16 Mao Han <han_mao@c-sky.com> 1084 1085 * hello_csky.ko.bz2: New testfile. 1086 * run-addrcfi.sh: Add C-SKY testfile. 1087 * run-strip-reloc.sh: Likewise. 1088 * testfilecsky.bz2: New testfile. 1089 * Makefile.am (EXTRA_DIST): Add hello_csky.ko.bz2 and 1090 testfilecsky.bz2. 1091 10922019-06-28 Mark Wielaard <mark@klomp.org> 1093 1094 * Makefile.am (check_PROGRAMS): Add dwelf_elf_e_machine_string. 1095 (TESTS): Add run-dwelf_elf_e_machine_string.sh. 1096 (EXTRA_DIST): Likewise. 1097 (dwelf_elf_e_machine_string_LDADD): New variable. 1098 * dwelf_elf_e_machine_string.c: New file. 1099 * run-dwelf_elf_e_machine_string.sh: New test. 1100 11012019-07-01 Mark Wielaard <mark@klomp.org> 1102 1103 * run-large-elf-file.sh: Add 2GB to mem_needed when running under 1104 valgrind. 1105 11062019-06-18 Mark Wielaard <mark@klomp.org> 1107 1108 * Makefile.am (TESTS): Add run-large-elf-file.sh. 1109 (EXTRA_DIST): Likewise. 1110 * addsections.c (add_sections): Add sec_size argument, use it 1111 as the size of the section data. 1112 (main): Handle extra sec_size argument. Pass to add_sections. 1113 * run-large-elf-file.sh: New test. 1114 11152019-06-03 Mark Wielaard <mark@klomp.org> 1116 1117 * elfcopy.c (copy_elf): When swapping the sh_offsets of two sections, 1118 make sure they are actually next to each other. 1119 11202019-05-12 Mark Wielaard <mark@klomp.org> 1121 1122 * Makefile.am (check_PROGRAMS): Add elfrdwrnop. 1123 (TESTS): Add run-reverse-sections.sh and 1124 run-reverse-sections-self.sh. 1125 (EXTRA_DIST): Likewise. 1126 (elfrdwrnop): New variable. 1127 * elfcopy.c (copy_elf): Add reverse_off argument. Record offsets 1128 of sections and swap them when possible. 1129 (main): Check for --reverse-off argument. Pass reverse_offs to 1130 copy_elf. 1131 * run-reverse-sections.sh: New test. 1132 * run-reverse-sections-self.sh: Likewise. 1133 * elfrdwrnop.c: New file. 1134 11352019-05-10 Mark Wielaard <mark@klomp.org> 1136 1137 * Makefile.am (TESTS): Add run-readelf-discr.sh. 1138 (EXTRA_DIST): Likewise and add testfile-rng.debug.bz2 and 1139 testfile-urng.debug.bz2. 1140 * run-readelf-discr.sh: New test. 1141 * testfile-rng.debug.bz2: New test file. 1142 * testfile-urng.debug.bz2: Likewise. 1143 11442019-04-30 Mark Wielaard <mark@klomp.org> 1145 1146 * xlate_notes.c: New file. 1147 * run-xlate-note.sh: New test. 1148 * Makefile.am (check_PROGRAMS): Add xlate_notes. 1149 (TESTS): Add run-xlate-note.sh. 1150 (EXTRA_DIST): Likewise. 1151 (xlate_notes_LDADD): New variable. 1152 11532019-04-30 Mark Wielaard <mark@klomp.org> 1154 1155 * backtrace-dwarf.c (frame_callback): Explicitly check symname is 1156 NULL. 1157 11582019-04-30 Mark Wielaard <mark@klomp.org> 1159 1160 * backtrace.c (frame_callback): Explicitly check symname is NULL. 1161 11622019-03-04 Mark Wielaard <mark@klomp.org> 1163 1164 * backtrace.c (tgkill): Remove define. 1165 11662019-01-24 Mark Wielaard <mark@klomp.org> 1167 1168 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by 1169 !INSTALL_ELFH. 1170 11712019-01-31 Mark Wielaard <mark@klomp.org> 1172 1173 * backtrace-child.c (stdarg): Remove assert (errno == 0). 1174 (main): Likewise. 1175 * backtrace-data.c (maps_lookup): Likewise. 1176 (set_initial_registers): Likewise. 1177 (main): Likewise. 1178 * backtrace.c (prepare_thread): Likewise. 1179 (exec_dump): Likewise. 1180 11812019-01-29 Yonghong Song <yhs@fb.com> 1182 1183 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse 1184 inode number. 1185 11862019-01-18 Ulf Hermann <ulf.hermann@qt.io> 1187 1188 * run-annobingroup.sh: Use different files for strip output. 1189 * run-strip-test-many.sh: Use different files for strip output, 1190 check results of strip, unstrip, elflint. 1191 11922019-01-24 Mark Wielaard <mark@klomp.org> 1193 1194 * addsections.c (add_sections): Change the name of the old shstrtab 1195 section to ".old_shstrtab" and give the old shstrtab name to the 1196 new shstrtab section. 1197 11982019-01-09 Ulf Hermann <ulf.hermann@qt.io> 1199 1200 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found. 1201 12022018-12-27 Jim Wilson <jimw@sifive.com> 1203 1204 * run-readelf-mixed-corenote.sh: Update with new riscv64 output. 1205 12062018-12-02 Mark Wielaard <mark@klomp.org> 1207 1208 * testfile_gnu_props.32le.o.bz2: New testfile. 1209 * testfile_gnu_props.64le.o.bz2: Likewise. 1210 * testfile_gnu_props.32be.o.bz2: Likewise. 1211 * testfile_gnu_props.64be.o.bz2: Likewise. 1212 * Makefile (EXTRA_DIST): Add new testfiles. 1213 * run-readelf-n.sh: Run tests on new testfiles. 1214 12152018-11-28 Mark Wielaard <mark@klomp.org> 1216 1217 * backtrace-data.c (main): Improve error message. 1218 * run-backtrace-data.sh: Skip exit 77 return. 1219 12202018-11-21 Mark Wielaard <mark@klomp.org> 1221 1222 * backtrace-subr.sh (check_unsupported): Call test_cleanup before 1223 exit. 1224 12252018-11-17 Mark Wielaard <mark@klomp.org> 1226 1227 * run-strip-version.sh: New test. 1228 * testfile-version.bz2: New test file. 1229 * Makefile.am (TESTS): Add run-strip-version.sh. 1230 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2. 1231 12322018-11-09 Mark Wielaard <mark@klomp.org> 1233 1234 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o 1235 testfile-debug-rel-ppc64-g.o. 1236 12372018-11-12 Mark Wielaard <mark@klomp.org> 1238 1239 * run-readelf-n.sh: Add testfile-annobingroup.o test. 1240 12412018-11-11 Mark Wielaard <mark@klomp.org> 1242 1243 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test 1244 for NT_VERSION. 1245 12462018-11-04 Mark Wielaard <mark@klomp.org> 1247 1248 * testfile-bpf-reloc.expect.bz2: Update with new expected jump 1249 variants. 1250 12512018-10-20 Mark Wielaard <mark@klomp.org> 1252 1253 * run-readelf-compressed.sh: New test. 1254 * Makefile.am (TESTS): Add run-readelf-compressed.sh. 1255 (EXTRA_DIST): Likewise. 1256 12572018-11-09 Mark Wielaard <mark@klomp.org> 1258 1259 * testfile-debug-rel-ppc64-g.o.bz2: New test file. 1260 * testfile-debug-rel-ppc64-z.o.bz2: Likewise. 1261 * testfile-debug-rel-ppc64.o.bz2: Likewise. 1262 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2, 1263 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2. 1264 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o. 1265 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o. 1266 12672018-10-26 Mark Wielaard <mark@klomp.org> 1268 1269 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only. 1270 12712018-10-18 Mark Wielaard <mark@klomp.org> 1272 1273 * run-readelf-n.sh: New test. 1274 * testfile-gnu-property-note.bz2: New testfile. 1275 * testfile-gnu-property-note.o.bz2: Likewise. 1276 * Makefile.am (TESTS): Add run-readelf-n.sh. 1277 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2, 1278 testfile-gnu-property-note.o.bz2. 1279 12802018-10-12 Mark Wielaard <mark@klomp.org> 1281 1282 * run-readelf-zdebug.sh: Adjust flags output. 1283 * run-readelf-macro.sh: Likewise. 1284 * run-readelf-macros.sh: New test. 1285 * testfile-macros-object.o.bz2: New test file. 1286 * Makefile.am (TESTS): Add run-readelf-macros.sh. 1287 (EXTRA_DIST): Add run-readelf-macros.sh and 1288 testfile-macros-object.o.bz2. 1289 12902018-09-12 Mark Wielaard <mark@klomp.org> 1291 1292 * run-annobingroup.sh: Add x86_64 ET_REL testcase. 1293 * testfile-annobingroup-x86_64.o.bz2: New test file. 1294 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2. 1295 12962018-09-18 Mark Wielaard <mark@klomp.org> 1297 1298 * backtrace-dwarf.c (thread_callback): Only error when 1299 dwfl_thread_getframes returns an error. 1300 (main): Don't call abort or assert but print an error when 1301 something unexpected happens. 1302 13032018-09-13 Mark Wielaard <mark@klomp.org> 1304 1305 * run-strip-test-many.sh: New test. 1306 * Makefile.am (TESTS): Add run-strip-test-many.sh. 1307 (EXTRA_DIST): Likewise. 1308 13092018-09-13 Mark Wielaard <mark@klomp.org> 1310 1311 * run-typeiter-many.sh: New test. 1312 * Makefile.am (TESTS): Add run-typeiter-many.sh. 1313 (EXTRA_DIST): Likewise. 1314 13152018-09-13 Mark Wielaard <mark@klomp.org> 1316 1317 * run-copymany-sections.sh: New test. 1318 * Makefile.am (TESTS): Add run-copymany-sections.sh. 1319 (EXTRA_DIST): Likewise. 1320 13212018-09-12 Mark Wielaard <mark@klomp.org> 1322 1323 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections. 1324 (TESTS): Add run-copyadd-sections.sh. 1325 (EXTRA_DIST): Likewise. 1326 (elfcopy_LDADD): New variable. 1327 (addsections_LDADD): Likewise. 1328 * addsections.c: New file. 1329 * elfcopy.c: Likewise. 1330 * run-copyadd-sections.sh: New test. 1331 13322018-09-11 Mark Wielaard <mark@klomp.org> 1333 1334 * backtrace-dwarf.c (main): Add section attribute. 1335 13362018-07-24 Mark Wielaard <mark@klomp.org> 1337 1338 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests. 1339 * testfile-annobingroup-i386.o.bz2: New test file. 1340 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2. 1341 13422018-07-21 Mark Wielaard <mark@klomp.org> 1343 1344 * run-annobingroup.sh: New test. 1345 * testfile-annobingroup.o.bz2: New test file. 1346 * Makefile.am (TESTS): Add run-annobingroup.sh. 1347 (EXTRA_DIST): Add run-annobingroup.sh and 1348 testfile-annobingroup.o.bz2. 1349 13502018-07-19 Andreas Schwab <schwab@suse.de> 1351 1352 * Makefile.am (TESTS): Add run-strip-test12.sh. 1353 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2, 1354 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2. 1355 (run-strip-test11.sh): New file. 1356 (testfile-riscv64.bz2): New file. 1357 (testfile-riscv64-s.bz2): New file. 1358 (testfile-riscv64-core.bz2): New file. 1359 * run-allregs.sh: Add test for testfile-riscv64-core. 1360 * run-readelf-mixed-corenote.sh: Likewise. 1361 13622018-07-16 Ulf Hermann <ulf.hermann@qt.io> 1363 1364 * run-strip-reloc.sh: Remove previous testfiles before running the 1365 next test. 1366 13672018-07-17 Mark Wielaard <mark@klomp.org> 1368 1369 * hello_riscv64.ko.bz2: Updated with debuginfo. 1370 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y. 1371 13722018-07-05 Mark Wielaard <mark@klomp.org> 1373 1374 * next_cfi.c (handle_section): Take a new argument name. Check 1375 whether the section is compressed and uncompress if so. 1376 (main): Check also for .zdebug_frame and pass the name of the 1377 section to handle_section. 1378 13792018-07-04 Ross Burton <ross.burton@intel.com> 1380 1381 * addrscopes.c: Remove error.h include, add system.h include. 1382 * allregs.c: Likewise. 1383 * backtrace-data.c: Likewise. 1384 * backtrace-dwarf.c: Likewise. 1385 * backtrace.c: Likewise. 1386 * buildid.c: Likewise. 1387 * debugaltlink.c: Likewise. 1388 * debuglink.c: Likewise. 1389 * deleted.c : Likewise. 1390 * dwarfcfi.c: Likewise. 1391 * dwfl-addr-sect.c: Likewise. 1392 * dwfl-bug-addr-overflow.c: Likewise. 1393 * dwfl-bug-fd-leak.c: Likewise. 1394 * dwfl-bug-getmodules.c: Likewise. 1395 * dwfl-proc-attach.c: Likewise. 1396 * dwfl-report-elf-align.c: Likewise. 1397 * dwfllines.c: Likewise. 1398 * dwflmodtest.c: Likewise. 1399 * dwflsyms.c: Likewise. 1400 * early-offscn.c: Likewise 1401 * ecp.c: Likewise. 1402 * elfstrmerge.c: Likewise. 1403 * find-prologues.c: Likewise. 1404 * funcretval.c: Likewise. 1405 * funcscopes.c: Likewise. 1406 * getsrc_die.c: Likewise. 1407 * line2addr.c: Likewise. 1408 * low_high_pc.c: Likewise. 1409 * next_cfi.c: Likewise. 1410 * rdwrmmap.c: Likewise. 1411 * saridx.c: Likewise. 1412 * sectiondump.c: Likewise. 1413 * varlocs.c: Likewise. 1414 * vdsosyms.c: Likewise. 1415 14162018-06-28 Mark Wielaard <mark@klomp.org> 1417 1418 * next_cfi.c: New file. 1419 * run-next-cfi.sh: New test. 1420 * run-next-cfi-self.sh: Likewise. 1421 * Makefile.am (check_PROGRAMS): Add next_cfi. 1422 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh. 1423 (EXTRA_DIST): Likewise. 1424 (next_cfi_LDADD): New variable. 1425 14262018-06-27 Mark Wielaard <mark@klomp.org> 1427 1428 * dwarf_cfi.c: New file. 1429 * run-dwarfcfi.sh: New test. 1430 * testfile11-debugframe.bz2: New testfile. 1431 * testfile12-debugframe.bz2: Likewise. 1432 * testfileaarch64-debugframe.bz2: Likewise. 1433 * testfilearm-debugframe.bz2: Likewise. 1434 * testfileppc32-debugframe.bz2: Likewise. 1435 * testfileppc64-debugframe.bz2: Likewise. 1436 * Makefile.am (check_PROGRAMS): Add dwarfcfi. 1437 (TESTS): Add run-dwarfcfi.sh. 1438 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2, 1439 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2, 1440 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and 1441 testfileppc64-debugframe.bz2. 1442 14432018-06-23 Mark Wielaard <mark@klomp.org> 1444 1445 * varlocs.c (print_expr): Take a new depth argument. Check it isn't 1446 greater than MAX_DEPTH (64). Pass on to print_expr_block. 1447 (print_expr_block): Take a new depth argument. Pass it to print_expr. 1448 (print_expr_block_addrs): Call print_expr_block with zero depth. 1449 14502018-06-25 Mark Wielaard <mark@klomp.org> 1451 1452 * next-files.c: New file. 1453 * next-lines.c: Likewise. 1454 * run-next-files.sh: New test. 1455 * run-next-lines.sh: Likewise. 1456 * testfile-only-debug-line.bz2: New test file. 1457 * Makefile.am (check_PROGRAMS): Add next-files and next-lines. 1458 (TESTS): Add run-next-files.sh and run-next-lines.sh. 1459 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and 1460 testfile-only-debug-line.bz2. 1461 (next_lines_LDADD): New variable. 1462 (next_files_LDADD): Likewise. 1463 14642018-06-16 Yonghong Song <yhs@fb.com> 1465 1466 * run-reloc-bpf.sh: New test. 1467 * testfile-bpf-reloc.o.bz2: New test file. 1468 * testfile-bpf-reloc.expect.bz2: New test file. 1469 * Makefile.am (TESTS): Add run-reloc-bpf.sh. 1470 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and 1471 testfile-bpf-reloc.expect.bz2. 1472 14732018-06-13 Mark Wielaard <mark@klomp.org> 1474 1475 * run-readelf-const-values.sh: New test. 1476 * testfile-const-values.debug.bz2: New test file. 1477 * run-readelf-zdebug-rel.sh: Adjust expected const_value. 1478 * Makefile.am (TESTS): Add run-readelf-const-values.sh. 1479 (EXTRA_DIST): Add run-readelf-const-values.sh and 1480 testfile-const-values.debug.bz2. 1481 14822018-06-08 Mark Wielaard <mark@klomp.org> 1483 1484 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref 1485 target, do not assert. 1486 14872018-06-08 Mark Wielaard <mark@klomp.org> 1488 1489 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call. 1490 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call. 1491 14922018-06-08 Mark Wielaard <mark@klomp.org> 1493 1494 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there 1495 actually is a cfi_debug. 1496 14972018-06-07 Mark Wielaard <mark@klomp.org> 1498 1499 * run-readelf-loc.sh: Fix expected output for startx_length. 1500 15012018-06-06 Mark Wielaard <mark@klomp.org> 1502 1503 * varlocs.c (print_base_type): Use error, not assert when the DIE 1504 isn't a base type. 1505 15062018-06-02 Mark Wielaard <mark@klomp.org> 1507 1508 * test-subr.sh (self_test_files_exe): Drop shared libraries. 1509 Keep addr2line, elfcmp, objdump and readelf. 1510 15112018-05-31 Mark Wielaard <mark@klomp.org> 1512 1513 * run-readelf-types.sh: New test. 1514 * Makefile.am (TESTS): Add run-readelf-types.sh. 1515 (EXTRA_DIST): Likewise. 1516 15172018-05-31 Mark Wielaard <mark@klomp.org> 1518 1519 * splitdwarf4-not-split4.dwo.bz2: New test file. 1520 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise. 1521 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo 1522 and testfile-splitdwarf4-not-split4.debug. 1523 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug. 1524 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2 1525 and testfile-splitdwarf4-not-split4.debug.bz2. 1526 15272018-05-31 Mark Wielaard <mark@klomp.org> 1528 1529 * test-subr.sh (self_test_files): Split into self_test_files_exe, 1530 self_test_files_lib and self_test_obj. 1531 (testrun_on_self_exe): New function. 1532 (testrun_on_self_lib): Likewise. 1533 * run-get-units-split.sh: Replace testrun_on_self with 1534 testrun_on_self_exe and testrun_on_self_lib. 1535 * run-unit-info.sh: Likewise. 1536 15372018-05-31 Mark Wielaard <mark@klomp.org> 1538 1539 * low_high_pc.c (handle_die): Handle NULL name. Print offset and 1540 name of die. 1541 (main): Check if the cu DIE is a skeleton, then get and handle 1542 the split subdie. 1543 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and 1544 testfile-splitdwarf-5. Run on all selftest files. 1545 15462018-05-31 Mark Wielaard <mark@klomp.org> 1547 1548 * get-units-invalid.c (main): Check dwarf_cuoffset and 1549 dwarf_dieoffset. 1550 15512018-05-29 Mark Wielaard <mark@klomp.org> 1552 1553 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or 1554 type, gotten through dwarf_get_units. 1555 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5, 1556 split-dwarf-4, split-dwarf-5 and dwo files. 1557 15582018-05-29 Mark Wielaard <mark@klomp.org> 1559 1560 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant. 1561 * run-varlocs.sh: Likewise. 1562 15632018-05-29 Mark Wielaard <mark@klomp.org> 1564 1565 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase. 1566 15672018-05-28 Mark Wielaard <mark@klomp.org> 1568 1569 * run-readelf-info-plus.sh: New test. 1570 * Makefile.am (TESTS): Add run-readelf-info-plus.sh. 1571 (EXTRA_DIST): Likewise. 1572 15732018-04-29 Mark Wielaard <mark@klomp.org> 1574 1575 * run-readelf-addr.sh: New test. 1576 * Makefile.am (TESTS): Add run-readelf-addr.sh. 1577 (EXTRA_DIST): Likewise. 1578 15792018-04-27 Mark Wielaard <mark@klomp.org> 1580 1581 * run-readelf-ranges.sh: Adjust expected output for address base. 1582 * run-readelf-addr.sh: New test. 1583 * Makefile.am (TESTS): Add run-readelf-addr.sh. 1584 (EXTRA_DIST): Likewise. 1585 15862018-04-07 Mark Wielaard <mark@klomp.org> 1587 1588 * run-varlocs.sh: Run on testfileranges5.debug and 1589 testsplitfileranges5.debug. 1590 * varlocs.c (is_debug): New bool. 1591 (print_expr): Don't fail on missing CFI for is_debug. 1592 (main): Parse --debug, set is_debug. 1593 15942018-04-12 Mark Wielaard <mark@klomp.org> 1595 1596 * run-readelf-loc.sh: Add new testcases. 1597 15982018-04-06 Mark Wielaard <mark@klomp.org> 1599 1600 * testfileranges5.debug.bz2: New testfile. 1601 * testfilesplitranges5.debug.bz2: Likewise. 1602 * testfile-ranges-hello5.dwo.bz2: Likewise. 1603 * testfile-ranges-world5.dwo.bz2: Likewise. 1604 * run-dwarf-ranges.sh: Run on testfileranges5.debug. 1605 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug. 1606 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2, 1607 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and 1608 testfile-ranges-world5.dwo.bz2. 1609 16102018-04-11 Mark Wielaard <mark@klomp.org> 1611 1612 * run-readelf-ranges.sh: New test. 1613 * Makefile.am (TESTS): Add run-readelf-ranges.sh. 1614 (EXTRA_DIST): Likewise. 1615 16162018-05-21 Mark Wielaard <mark@klomp.org> 1617 1618 * addrx_constx-4.dwo.bz2: New testfile. 1619 * addrx_constx-5.dwo.bz2: Likewise. 1620 * testfile-addrx_constx-4.bz2: Likewise. 1621 * testfile-addrx_constx-5.bz2: Likewise 1622 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2 1623 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2. 1624 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5. 1625 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index, 1626 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx. 1627 (main): Handle split DWARF. 1628 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc. 1629 16302018-05-20 Mark Wielaard <mark@klomp.org> 1631 1632 * unit-info.c: New test. 1633 * run-unit-info.sh: New test runner. 1634 * Makefile.am (check_PROGRAMS): Add unit-info. 1635 (TESTS): Add run-unit-info.sh 1636 (EXTRA_INFO): Likewise. 1637 (unit_info_LDADD): New variable. 1638 16392018-05-24 Mark Wielaard <mark@klomp.org> 1640 1641 * get-units-invalid.c (main): Add check for invalid dwarf_ranges. 1642 * run-all-dwarf-ranges.sh: Correct expected output. 1643 16442018-05-18 Mark Wielaard <mark@klomp.org> 1645 1646 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges. 1647 (TESTS): Add run-all-dwarf-ranges.sh. 1648 (EXTRA_DIST): Add run-all-dwarf-ranges.sh, 1649 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2 1650 and testfile-ranges-world.dwo.bz2. 1651 (all_dwarf_ranges_LDADD): New variable. 1652 * all-dwarf-ranges.c: New test program. 1653 * run-all-dwarf-ranges: New test runner. 1654 * testfile-ranges-hello.dwo.bz2: New test file. 1655 * testfile-ranges-world.dwo.bz2: Likewise. 1656 * testfilesplitranges4.debug.bz2: Likewise. 1657 16582018-05-18 Mark Wielaard <mark@klomp.org> 1659 1660 * run-get-files.sh: Add testcases for testfile-splitdwarf-4, 1661 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5, 1662 testfile-hello5.dwo, testfile-world5.dwo. 1663 16642018-05-17 Mark Wielaard <mark@klomp.org> 1665 1666 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel. 1667 (TESTS): Add run-attr-integrate-skel. 1668 (EXTRA_DIST): Likewise. 1669 (attr_integrate_skel_LDADD): New variable. 1670 * attr-integrate-skel.c: New test. 1671 * run-attr-integrate-skel.sh: New test runner. 1672 16732018-05-16 Mark Wielaard <mark@klomp.org> 1674 1675 * Makefile.am (check_PROGRAMS): Add get-units-split. 1676 (TESTS): Add run-get-units-split.sh. 1677 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2, 1678 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2, 1679 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and 1680 testfile-world4.dwo.bz2. 1681 (get_units_split_LDADD): New variable. 1682 * get-units-split.c: New test. 1683 * run-get-units-split.sh: New test runner. 1684 * testfile-dwarf-45.source: Extend with build instructions for new 1685 test files. 1686 * testfile-hello4.dwo.bz2: New test file. 1687 * testfile-hello5.dwo.bz2: Likewise. 1688 * testfile-splitdwarf-4.bz2: Likewise. 1689 * testfile-splitdwarf-5.bz2: Likewise. 1690 * testfile-world5.dwo.bz2 and: Likewise. 1691 * testfile-world4.dwo.bz2: Likewise. 1692 16932018-05-09 Mark Wielaard <mark@klomp.org> 1694 1695 * run-readelf-zdebug.sh: Adjust test output for new header layout. 1696 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4 1697 and testfile-dwarf-5. 1698 16992018-05-11 Mark Wielaard <mark@klomp.org> 1700 1701 * Makefile.am (check_PROGRAMS): Add get-units-invalid. 1702 (TESTS): Add run-get-units-invalid.sh. 1703 (EXTRA_DIST): Likewise. 1704 (get_units_invalid_LDADD): New variable. 1705 * get-units-invalid.c: New test program. 1706 * run-get-units-invalid.sh: New test program runner. 1707 17082018-05-05 Mark Wielaard <mark@klomp.org> 1709 1710 * testfile-dwarf-45.source: New file. 1711 * testfile-dwarf-4.bz2: New test file. 1712 * testfile-dwarf-5.bz2: Likewise. 1713 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and 1714 testfile-dwarf-5. 1715 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source, 1716 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2. 1717 17182018-04-19 Andreas Schwab <schwab@suse.de> 1719 1720 * hello_riscv64.ko.bz2: New file. 1721 * run-strip-reloc.sh: Test it. 1722 * Makefile.am (EXTRA_DIST): Add it. 1723 17242018-04-16 Mark Wielaard <mark@klomp.org> 1725 1726 * testfile-ppc64-min-instr.bz2: New testfile. 1727 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2. 1728 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2. 1729 17302018-04-11 Mark Wielaard <mark@klomp.org> 1731 1732 * run-addrcfi.sh: Adjust expected rule for aarch64 sp. 1733 17342018-04-03 Mark Wielaard <mark@klomp.org> 1735 1736 * testfileranges4.debug.bz2: New testfile. 1737 * run-dwarf-ranges.sh: Run on testfileranges4.debug. 1738 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2. 1739 17402018-03-06 Mark Wielaard <mark@klomp.org> 1741 1742 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer, 1743 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret, 1744 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and 1745 DW_OP_const_type. 1746 17472018-02-16 Mark Wielaard <mark@klomp.org> 1748 1749 * backtrace-subr.sh (check_native_core): Check if there is any core, 1750 if so, use it. 1751 17522018-02-15 Mark Wielaard <mark@klomp.org> 1753 1754 * backtrace-child.c: Include signal.h after sys/ptrace.h. 1755 * backtrace-dwarf.c: Include sys/wait.h and signal.h after 1756 sys/ptrace.h. 1757 17582018-01-25 Mark Wielaard <mark@klomp.org> 1759 1760 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die. 1761 (TESTS): Add run-dwarf-die-addr-die.sh. 1762 (EXTRA_DIST): Likewise. 1763 (dwarf_die_addr_die_LDADD): New variable. 1764 * dwarf-die-addr-die.c: New file. 1765 * run-dwarf-die-addr-die.sh: New test. 1766 17672018-02-09 Joshua Watt <JPEWhacker@gmail.com> 1768 1769 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment. 1770 17712018-01-22 Mark Wielaard <mark@klomp.org> 1772 1773 * allfcts.c (setup_alt): Print warning when alt file couldn't be 1774 found. 1775 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir 1776 where it cannot be found by allfcts itself (but it can by libdw). 1777 17782018-01-25 Mark Wielaard <mark@klomp.org> 1779 1780 * elfstrmerge.c (main): Initialize and check symtabshdr instead of 1781 symtabndx. 1782 17832018-01-14 Petr Machata <pmachata@gmail.com> 1784 1785 * testfile-sizes4.o.bz2: New test file. 1786 * testfile-sizes4.s: New test source. 1787 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257. 1788 17892017-12-23 Mark Wielaard <mark@klomp.org> 1790 1791 * backtrace-subr.sh (check_native_core): Use a lock file and try 1792 to extract core using coredumpctl. 1793 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock. 1794 17952017-12-11 Dima Kogan <dima@secretsauce.net> 1796 1797 * run-aggregate-size.sh: Added check for multi-dimensional arrays. 1798 * run-peel-type.sh: Likewise. 1799 * testfile-sizes3.o.bz2: Likewise. 1800 18012017-12-07 Mark Wielaard <mark@klomp.org> 1802 1803 * run-readelf-variant.sh: New test. 1804 * testfile-ada-variant.bz2: New testfile. 1805 * Makefile.am (TESTS): Add run-readelf-variant.sh. 1806 (EXTRA_DISTS): Add run-readelf-variant.sh and 1807 testfile-ada-variant.bz2. 1808 18092017-11-29 Mark Wielaard <mark@klomp.org> 1810 1811 * run-readelf-loc.sh: Adjust expected loc list output. 1812 * run-readelf-zdebug-rel.sh: Likewise. 1813 * run-readelf-zdebug.sh: Likewise. 1814 18152017-11-29 Mark Wielaard <mark@klomp.org> 1816 1817 * run-readelf-loc.sh: Adjust expected range list output. 1818 * run-readelf-zdebug.sh: Likewise. 1819 18202017-11-29 Mark Wielaard <mark@klomp.org> 1821 1822 * run-readelf-dwz-multi.sh: Add expected file names. 1823 * run-readelf-zdebug-rel.sh: Likewise. 1824 18252017-11-29 Mark Wielaard <mark@klomp.org> 1826 1827 * run-readelf-dwz-multi.sh: Add expected abbrev codes. 1828 * run-readelf-zdebug-rel.sh: Likewise. 1829 18302017-11-29 Mark Wielaard <mark@klomp.org> 1831 1832 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces. 1833 * run-readelf-loc.sh: Likewise. 1834 * run-readelf-zdebug-rel.sh: Likewise. 1835 * run-readelf-zdebug.sh: Likewise. 1836 18372017-11-16 Mark Wielaard <mark@klomp.org> 1838 1839 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert. 1840 18412017-11-10 Mark Wielaard <mark@klomp.org> 1842 1843 * run-exprlocs-self.sh: New test. 1844 * run-varlocs-self.sh: Likewise. 1845 * Makefile.am (TESTS) Add run-exprlocs-self.sh and 1846 run-varlocs-self.sh. 1847 (EXTRA_DIST): Likewise. 1848 * varlocs.c (cfi_debug_bias): New global variable. 1849 (is_ET_REL): Likewise. 1850 (print_expr): Don't crash and burn when CFI cannot be found for an 1851 ET_REL file for DW_OP_call_frame_cfa. 1852 (handle_die): If there is no entry_pc pick the lowest pc start range 1853 for the DIE. 1854 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi 1855 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL. 1856 18572017-11-03 Mark Wielaard <mark@klomp.org> 1858 1859 * run-exprlocs.sh: New test. 1860 * testfile-stridex.bz2: New testfile. 1861 * Makefile.am (TESTS): Add run-exprlocs.sh. 1862 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2. 1863 * varlocs.c (dwarf_tag_string): New function. 1864 (dwarf_attr_string): Likewise. 1865 (dwarf_form_string): Likewise. 1866 (print_expr): Fix typo in error message.r 1867 Handle DW_OP_GNU_variable_value. 1868 (attr_arg): New struct. 1869 (handle_attr): New function. 1870 (handle_die): Likewise. 1871 (main): Handle --exprlocs argument. Call handle_die. 1872 18732017-10-16 Mark Wielaard <mark@klomp.org> 1874 1875 * md5-sha1-test.c: Removed. 1876 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test. 1877 (TESTS): Likewise. 1878 (md5_sha1_test_LDADD): Removed. 1879 18802017-10-04 Mark Wielaard <mark@klomp.org> 1881 1882 * msg_tst.c: Handle ELF_E_INVALID_ELF. 1883 18842017-09-10 Mark Wielaard <mark@klomp.org> 1885 1886 * run-ar.sh: New test. 1887 * Makefile.am (TESTS): Add run-ar.sh. 1888 (EXTRA_DIST): Likewise. 1889 18902017-08-18 Ulf Hermann <ulf.hermann@qt.io> 1891 1892 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS. 1893 18942017-04-27 Ulf Hermann <ulf.hermann@qt.io> 1895 1896 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS. 1897 18982017-08-08 Dmitry V. Levin <ldv@altlinux.org> 1899 1900 * run-strip-nothing.sh: Add -s. 1901 19022017-07-26 Mark Wielaard <mark@klomp.org> 1903 1904 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU. 1905 19062016-10-27 Mark Wielaard <mjw@redhat.com> 1907 1908 * dwarf_default_lower_bound.c: New test. 1909 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound. 1910 (TESTS): Likewise. 1911 (dwarf_default_lower_bound_LDADD): New variable. 1912 19132017-07-21 Mark Wielaard <mark@klomp.org> 1914 1915 * get-lines.c (main): Add dwarf_line_file test. 1916 19172017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com> 1918 1919 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names 1920 * run-allregs.sh: Update generic SPRs names to HTM SPRs names 1921 19222017-07-20 Mark Wielaard <mark@klomp.org> 1923 1924 * run-strip-g.sh: New test. 1925 * Makefile.am (TESTS): Add run-strip-g.sh. 1926 (EXTRA_DIST): Likewise. 1927 19282017-07-18 Mark Wielaard <mark@klomp.org> 1929 1930 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM. 1931 19322017-05-04 Ulf Hermann <ulf.hermann@qt.io> 1933 1934 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero. 1935 19362017-07-14 Mark Wielaard <mark@klomp.org> 1937 1938 * run-strip-remove-keep.sh: New test. 1939 * Makefile.am (TESTS): Add run-strip-remove-keep.sh. 1940 (EXTRA_DIST): Likewise. 1941 19422017-06-07 Mark Wielaard <mark@klomp.org> 1943 1944 * run-strip-nothing.sh: New test. 1945 * Makefile.am (TESTS): Add run-strip-nothing.sh. 1946 (EXTRA_DIST): Likewise. 1947 19482017-06-06 Mark Wielaard <mark@klomp.org> 1949 1950 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab. 1951 19522017-05-30 Mark Wielaard <mark@klomp.org> 1953 1954 * run-backtrace-fp-core-ppc64le.sh: New test. 1955 * backtrace.ppc64le.fp.core.bz2: New test file. 1956 * backtrace.ppc64le.fp.exec.bz2: New testfile. 1957 * backtrace-subr.sh (check_backtracegen): Accept '(null)'. 1958 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh. 1959 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh, 1960 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2. 1961 19622017-02-13 Ulf Hermann <ulf.hermann@qt.io> 1963 Mark Wielaard <mark@klomp.org> 1964 1965 * Makefile.am: Add test for unwinding with frame pointers on aarch64 1966 * backtrace.aarch64.fp.core.bz2: New file 1967 * backtrace.aarch64.fp.exec.bz2: New file 1968 * run-backtrace-fp-core-aarch64.sh: New file 1969 * backtrace-subr.sh (check_err): Allow Invalid register. 1970 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames. 1971 19722017-04-06 Mark Wielaard <mark@klomp.org> 1973 1974 * run-backtrace-fp-core-i386.sh: New test. 1975 * backtrace.i386.fp.core.bz2: New test file. 1976 * backtrace.i386.fp.exec.bz2: New testfile. 1977 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh. 1978 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh, 1979 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2. 1980 19812017-02-09 Ulf Hermann <ulf.hermann@qt.io> 1982 1983 * Makefile.am: Add test for unwinding with frame pointers on x86_64 1984 * backtrace.x86_64.fp.core.bz2: New file 1985 * backtrace.x86_64.fp.exec.bz2: New file 1986 * run-backtrace-fp-core-x86_64.sh: New file 1987 19882017-04-25 Mark Wielaard <mark@klomp.org> 1989 1990 * backtrace-subr.sh (check_backtracegen): New function. 1991 (check_core): Add check_backtracegen call. 1992 * backtrace.ppc.exec.bz2: Regenerated. 1993 * backtrace.ppc.core.bz2: Likewise. 1994 19952017-04-24 Mark Wielaard <mark@klomp.org> 1996 1997 * backtrace.c: Remove option to allow unknown symbols in the trace. 1998 * backtrace-substr.sh: Remove option to allow unknown symbols 1999 to check_core() and allow failed symbol lookups in check_err(). 2000 20012017-04-20 Ulf Hermann <ulf.hermann@qt.io> 2002 2003 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags 2004 that are set. 2005 * run-readelf-zdebug-rel.sh: Likewise. 2006 20072017-04-20 Ulf Hermann <ulf.hermann@qt.io> 2008 2009 * backtrace-child.c: Include sys/ptrace.h only on linux. 2010 * backtrace-dwarf.c: Likewise. 2011 20122017-04-05 Mark Wielaard <mark@klomp.org> 2013 2014 * test-subr.sh (testrun_on_self_compressed): New function. 2015 * run-elflint-self.sh: Call testrun_on_self_compressed. 2016 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz. 2017 20182017-03-30 Mark Wielaard <mark@klomp.org> 2019 2020 * peel_type.c: New file. 2021 * run-peel-type.sh: New test. 2022 * Makefile.am (check_PROGRAMS): Add peel_type.c. 2023 (TESTS): Add run-peel-type.sh. 2024 (EXTRA_DIST): Likewise. 2025 (peel_type_LDADD): New variable. 2026 20272017-03-27 Mark Wielaard <mark@klomp.org> 2028 2029 * fillfile.c: New file. 2030 * Makefile.am (check_PROGRAMS): Add fillfile. 2031 (TESTS): Likewise. 2032 (fillfile_LDADD): New variable. 2033 20342017-02-15 Mark Wielaard <mark@klomp.org> 2035 2036 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2. 2037 * run-readelf-A.sh: Add testfileppc64.o test. 2038 20392017-02-15 Ulf Hermann <ulf.hermann@qt.io> 2040 2041 * elfstrmerge.c: Include system.h. 2042 20432017-02-09 Ulf Hermann <ulf.hermann@qt.io> 2044 2045 * backtrace.c: Add an option to allow unknown symbols in the trace 2046 * backtrace-substr.sh: Add an option to allow unknown symbols 2047 to check_core() and allow failed symbol lookups in check_err() 2048 20492017-02-09 Ulf Hermann <ulf.hermann@qt.io> 2050 2051 * backtrace-data.c: Don't assert that symbols are found. 2052 The unwinder is allowed to ask for invalid addresses. We deny 2053 such requests, rather than make the test fail. 2054 20552016-11-17 Mark Wielaard <mjw@redhat.com> 2056 2057 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests. 2058 20592016-11-02 Mark Wielaard <mjw@redhat.com> 2060 2061 * backtrace-data.c (thread_callback): Add explicit break after error. 2062 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU. 2063 20642016-10-22 Kevin Cernekee <cernekee@chromium.org> 2065 2066 * Makefile.am (TESTS): Add run-unstrip-test4.sh. 2067 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2, 2068 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2. 2069 (run-unstrip-test4.sh): New file. 2070 (testfile-strtab.bz2): New file. 2071 (testfile-strtab.stripped.bz2): New file. 2072 (testfile-strtab.debuginfo.bz2): New file. 2073 20742016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> 2075 2076 * arextract.c: Remove sys/param.h include, add system.h include. 2077 20782016-08-30 Mark Wielaard <mjw@redhat.com> 2079 2080 * Makefile.am (asm_tst?_LDADD): Add libdw. 2081 20822016-08-25 Mark Wielaard <mjw@redhat.com> 2083 2084 * backtrace-child.c: Disable and add documentation about why we disable 2085 RAISE_JMP_PATCHING even on x86_64. 2086 * backtrace.c (is_x86_64_native): Rename to... 2087 (use_raise_jmp_patching): ... this. 2088 (callback_verify): Use use_raise_jmp_patching instead of 2089 is_x86_64_native. 2090 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe 2091 path. 2092 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__ 2093 conditional. 2094 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use 2095 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use 2096 use_raise_jmp_patching instead of is_x86_64_native. 2097 20982016-08-24 Mark Wielaard <mjw@redhat.com> 2099 2100 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2. 2101 21022016-08-09 Jose E. Marchesi <jose.marchesi@oracle.com> 2103 2104 * testfilesparc64attrs.o.bz2: New file. 2105 * run-readelf-A.sh: Check attributes in a sparc object. 2106 21072016-08-06 Mark Wielaard <mjw@redhat.com> 2108 2109 * run-strip-reloc.sh: Add explicit compressed and uncompressed 2110 test cases. 2111 21122016-08-10 Richard Henderson <rth@redhat.com> 2113 2114 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations 2115 output. 2116 21172016-07-08 Mark Wielaard <mjw@redhat.com> 2118 2119 * update3_LDADD: Use libdw instead of libebl. 2120 * update4_LDADD: Likewise. 2121 * alldts_LDADD: Likewise. 2122 * elfstrmerge_LDADD: Likewise. 2123 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab. 2124 * elfstrmerge.c (release): Likewise. 2125 (main): Likewise. 2126 * update3.c (main): Likewise. 2127 * update4.c (main): Likewise. 2128 21292016-07-10 Andreas Schwab <schwab@linux-m68k.org> 2130 2131 * Makefile.am (TESTS): Add run-strip-test11.sh. 2132 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2, 2133 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2. 2134 (run-strip-test11.sh): New file. 2135 (hello_m68k.ko.bz2): New file. 2136 (testfile-m68k-core.bz2): New file. 2137 (testfile-m68k.bz2): New file. 2138 (testfile-m68k-s.bz2): New file. 2139 * run-allregs.sh: Add test for testfile-m68k-core. 2140 * run-readelf-mixed-corenote.sh: Likewise. 2141 * run-strip-reloc.sh: Add test for hello_m68k.ko. 2142 21432016-07-06 Mark Wielaard <mjw@redhat.com> 2144 2145 * Makefile.am (check_PROGRAMS): Add vendorelf. 2146 (TESTS): Likewise. 2147 (vendorelf_LDADD): New variable. 2148 * vendorelf.c: New test. 2149 * elfshphehdr.c (test): Check elf_getphdrnum succeeds. 2150 21512016-06-24 Mark Wielaard <mjw@redhat.com> 2152 2153 * Makefile.am (check_PROGRAMS): Add emptyfile. 2154 (TESTS): Likewise. 2155 (emptyfile_LDADD): New variable. 2156 * emptyfile.c: New test. 2157 21582016-06-28 Richard Henderson <rth@redhat.com> 2159 2160 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally. 2161 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2, 2162 testfile-bpf-dis1.o.bz2 2163 (run-disasm-bpf.sh): New file. 2164 (testfile-bpf-dis1.expect.bz2): New file. 2165 (testfile-bpf-dis1.o.bz2): New file. 2166 21672016-02-09 Mark Wielaard <mjw@redhat.com> 2168 2169 * testfile-s390x-hash-both.bz2: New testfile. 2170 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2. 2171 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test. 2172 21732016-02-04 Mark Wielaard <mjw@redhat.com> 2174 2175 * run-strip-nobitsalign.sh: New test. 2176 * testfile-nobitsalign.bz2: New testfile. 2177 * testfile-nobitsalign.strip.bz2: Likewise. 2178 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh. 2179 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2 2180 and testfile-nobitsalign.strip.bz2. 2181 * run-strip-test.sh: Add --gnu to elflint calls. 2182 21832016-01-13 Mark Wielaard <mjw@redhat.com> 2184 2185 * dwfl-bug-fd-leak.c: Skip test unless on __linux__. 2186 21872016-01-13 Mark Wielaard <mjw@redhat.com> 2188 2189 * dwfl-proc-attach.c: Guard linux specific header. 2190 21912016-01-13 Mark Wielaard <mjw@redhat.com> 2192 2193 * system-elf-libelf-test.c: New test. 2194 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE. 2195 (check_PROGRAMS): Likewise. 2196 (system_elf_libelf_test_CPPFLAGS): New variable. 2197 (system_elf_libelf_test_LDADD): Likewise. 2198 21992016-01-08 Mark Wielaard <mjw@redhat.com> 2200 2201 * elfputzdata.c (main): Fix parentheses in strncmp test. 2202 22032016-01-08 Mark Wielaard <mjw@redhat.com> 2204 2205 * elfputzdata.c (main): Use PRId64 to print 64 bit value. 2206 22072016-01-08 Mark Wielaard <mjw@redhat.com> 2208 2209 * Makefile.am (TESTS): Always unconditionally add 2210 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh. 2211 22122015-12-16 Mark Wielaard <mjw@redhat.com> 2213 2214 * run-compress-test.sh: New test. 2215 * Makefile.am (TESTS): Add run-compress-test.sh. 2216 (EXTRA_DISTS): Likewise. 2217 22182015-11-26 Mark Wielaard <mjw@redhat.com> 2219 2220 * zstrptr.c: New file. 2221 * run-zstrptr.sh: New test. 2222 * elfputzdata.c (main): (re)compress .shstrtab. 2223 * run-elfputzdata.sh: Expect .shstrtab compression. 2224 * Makefile.am (check_PROGRAMS): Add zstrptr. 2225 (TESTS): Add run-zstrptr.sh. 2226 (EXTRA_DIST): Likewise. 2227 (zstrptr_LDADD): New variable. 2228 22292015-10-20 Mark Wielaard <mjw@redhat.com> 2230 2231 * run-readelf-zx.sh: New test. 2232 * run-readelf-zp.sh: Likewise. 2233 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh. 2234 (EXTRA_DIST): Likewise. 2235 22362015-10-21 Mark Wielaard <mjw@redhat.com> 2237 2238 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata. 2239 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh. 2240 (EXTRA_DIST: Likewise. 2241 (elfgetzdata_LDADD): New variable. 2242 (elfputzdata_LDADD): Likewise. 2243 * elfgetzdata.c: New file. 2244 * elfputzdata.c: Likewise. 2245 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED, 2246 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and 2247 ELF_E_DECOMPRESS_ERROR. 2248 * run-elfgetzdata.sh: New test. 2249 * run-elfputzdata.sh: Likewise. 2250 22512015-10-28 Mark Wielaard <mjw@redhat.com> 2252 2253 * run-readelf-z.sh: New test. 2254 * Makefile.am (TESTS): Add run-readelf-z.sh. 2255 (EXTRA_DIST): Likewise. 2256 22572015-10-28 Mark Wielaard <mjw@redhat.com> 2258 2259 * elfgetchdr.c: New file. 2260 * run-elfgetchdr.sh: New test. 2261 * testfile-zgabi32.bz2: New testfile. 2262 * testfile-zgabi32be.bz2: Likewise. 2263 * testfile-zgabi64.bz2: Likewise. 2264 * testfile-zgabi64be.bz2: Likewise. 2265 * Makefile.am (check_PROGRAMS): Add elfgetchdr. 2266 (TESTS): Add run-elfgetchdr.sh. 2267 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2, 2268 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2. 2269 (welfgetchdr_LDADD): New variable. 2270 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE 2271 and ELF_E_INVALID_SECTION_FLAGS, 2272 2273 22742015-10-28 Mark Wielaard <mjw@redhat.com> 2275 2276 * dwelfgnucompressed.c: New file. 2277 * run-dwelfgnucompressed.sh: New test. 2278 * testfile-zgnu32.bz2: New testfile. 2279 * testfile-zgnu64.bz2: Likewise. 2280 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed. 2281 (TESTS): Add run-dwelfgnucompressed.sh. 2282 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2, 2283 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2. 2284 (dwelfgnucompressed_LDADD): New variable. 2285 22862015-12-31 Mark Wielaard <mjw@redhat.com> 2287 2288 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx. 2289 * run-elfstrmerge-test.sh: New test. 2290 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh 2291 (EXTRA_DIST): Likewise. 2292 22932015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com> 2294 2295 * run-backtrace-core-sparc.sh: New file. 2296 * backtrace.sparc.core.bz2: New file. 2297 * backtrace.sparc.exec.bz2: New file. 2298 * Makefile.am (EXTRA_DIST): ... and added all here. 2299 (TESTS): Added run-backtrace-core-sparc.sh. 2300 23012015-12-02 Mark Wielaard <mjw@redhat.com> 2302 2303 * Makefile.am (valgrind_cmd): Use --leak-check=full. 2304 * run-backtrace-demangle.sh: Disable valgrind. 2305 * run-stack-demangled-test.sh: Likewise. 2306 * run-stack-d-test.sh: Likewise. 2307 * run-stack-i-test.sh: Likewise. 2308 23092015-12-01 Mark Wielaard <mjw@redhat.com> 2310 2311 * test-flag-nobits.c (main): Call elf_end. 2312 * rerequest_tag.c (main): Call dwarf_end. 2313 * funcscopes.c (handle_function): Free scopes. 2314 * dwarf-getstring.c (main): Call dwarf_end. 2315 * allregs.c (main): Free state.info. 2316 * alldts.c (main): Free dyn. 2317 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi 2318 calls. 2319 * addrscopes.c (handle_address): Free scopes. 2320 23212015-10-16 Mark Wielaard <mjw@redhat.com> 2322 2323 * Makefile.am [BUILD_STATIC] (libdw): Add -lz. 2324 [BUILD_STATIC] (libelf): Likewise. 2325 23262015-10-16 Mark Wielaard <mjw@redhat.com> 2327 2328 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS. 2329 23302015-10-09 Josh Stone <jistone@redhat.com> 2331 2332 * lfs-symbols: New list of LFS-related symbols from lintian. 2333 * testfile-nolfs.bz2: New test binary for sanity checking. 2334 * run-lfs-symbols.sh: New test. 2335 * Makefile.am (TESTS): Add run-lfs-symbols.sh. 2336 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and 2337 run-lfs-symbols.sh. 2338 * alldts.c (main): Replace open64 with open. 2339 * dwarf-getstring.c (main): Likewise. 2340 * arls.c: Include config.h. 2341 * ecp.c: Likewise. 2342 * rdwrmmap.c: Likewise. 2343 * test-elf_cntl_gelf_getshdr.c: Likewise. 2344 * test-flag-nobits.c: Include config.h. 2345 (main): Replace open64 with open. 2346 23472015-10-09 Mark Wielaard <mjw@redhat.com> 2348 2349 * elfshphehdr.c (check): Rename argument from check to statement. 2350 (check_elf): Likewise. 2351 23522015-10-05 Josh Stone <jistone@redhat.com> 2353 2354 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer. 2355 23562015-10-02 Mark Wielaard <mjw@redhat.com> 2357 2358 * elfstrmerge.c: New check program. 2359 * run-strip-strmerge.sh: New test. 2360 * Makefile.am (check_PROGRAMS): Add elfstrmerge. 2361 (EXTRA_DIST): Add run-strip-strmerge.sh 2362 (elfstrmerge_LDADD): New variable. 2363 23642015-09-29 Mark Wielaard <mjw@redhat.com> 2365 2366 * elfshphehdr.c: New test. 2367 * Makefile.am (check_PROGRAMS): Add elfshphehdr. 2368 (TESTS): Likewise. 2369 (elfshphehdr_LDADD): New variable. 2370 23712015-09-08 Mark Wielaard <mjw@redhat.com> 2372 2373 * dwfl-proc-attach.c: New test. 2374 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach. 2375 (TESTS): Likewise. 2376 (dwfl_proc_attach_LDADD): New variable. 2377 (dwfl_proc_attach_LDFLAGS): Likewise. 2378 23792015-09-04 Chih-Hung Hsieh <chh@google.com> 2380 2381 * varlocs.c (print_base_type): Initialize enctype. 2382 23832015-09-04 Chih-Hung Hsieh <chh@google.com> 2384 2385 * md5-sha1-test.c (md5_expected): Removed. 2386 (sha1_expected): Likewise. 2387 23882015-09-04 Chih-Hung Hsieh <chh@google.com> 2389 2390 * asm-tst1.c (main): Replace %Z length modifier with %z. 2391 * asm-tst2.c (main): Likewise. 2392 * asm-tst3.c (main): Likewise. 2393 * asm-tst4.c (main): Likewise. 2394 * asm-tst5.c (main): Likewise. 2395 * asm-tst6.c (main): Likewise. 2396 * asm-tst7.c (main): Likewise. 2397 * asm-tst8.c (main): Likewise. 2398 * asm-tst9.c (main): Likewise. 2399 * sectiondump.c (print_bytes): Likewise. 2400 24012015-08-14 Mark Wielaard <mjw@redhat.com> 2402 2403 * run-addr2line-alt-debugpath.sh: New test. 2404 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh 2405 (EXTRA_DIST): Likewise. 2406 24072015-07-29 Mark Wielaard <mjw@redhat.com> 2408 2409 * run-unstrip-test3.sh: New test. 2410 * testfile-info-link.bz2: New file. 2411 * testfile-info-link.debuginfo.bz2: Likewise. 2412 * testfile-info-link.stripped.bz2: Likewise. 2413 * Makefile.am (TESTS): Add run-unstrip-test3.sh. 2414 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2, 2415 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2. 2416 24172015-06-27 Pino Toscano <toscano.pino@tiscali.it> 2418 2419 * tests/run-deleted.sh: Skip when detecting a not implemented 2420 dwfl_linux_proc_attach. 2421 24222015-06-27 Pino Toscano <toscano.pino@tiscali.it> 2423 2424 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of 2425 dwfl_addrmodule. 2426 24272015-06-26 Pino Toscano <toscano.pino@tiscali.it> 2428 2429 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused. 2430 24312015-06-26 Pino Toscano <toscano.pino@tiscali.it> 2432 2433 * tests/backtrace-data.c: Reduce scope of some includes to match their 2434 usage. 2435 * tests/backtrace.c: Likewise. 2436 * tests/deleted.c: Likewise. 2437 24382015-06-16 Mark Wielaard <mjw@redhat.com> 2439 2440 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test 2441 for non-ET_REL files. 2442 24432015-05-30 Mark Wielaard <mjw@redhat.com> 2444 2445 * backtrace-subr.sh (check_native_core): Notice core file couldn't be 2446 generated before skipping. 2447 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported 2448 before skipping. 2449 * run-backtrace-demangle.sh: Likewise. 2450 * run-stack-demangled-test.sh: Likewise. 2451 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled 2452 before skipping. 2453 * run-backtrace-native-core-biarch.sh: Likewise. 2454 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping. 2455 24562015-05-20 Mark Wielaard <mjw@redhat.com> 2457 2458 * run-addr2line-i-test.sh: Add pretty test. 2459 * run-addr2line-test.sh: Likewise. 2460 24612015-05-20 Mark Wielaard <mjw@redhat.com> 2462 2463 * run-addr2line-i-demangle-test.sh: New test. 2464 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh. 2465 (EXTRA_DIST): Likewise. 2466 24672015-05-20 Mark Wielaard <mjw@redhat.com> 2468 2469 * run-addr2line-test.sh: Add -a test variants. 2470 * run-addr2line-i-test.sh: Likewise. 2471 24722015-05-20 Mark Wielaard <mjw@redhat.com> 2473 2474 * run-addrname-test.sh: Make sure all input addresses are hex. 2475 24762015-05-04 Max Filippov <jcmvbkbc@gmail.com> 2477 2478 * backtrace-child.c (stdarg, main): Replace assert_perror with assert. 2479 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers) 2480 (main): Likewise. 2481 * backtrace-dwarf.c (main): Likewise. 2482 * backtrace.c (prepare_thread, exec_dump): Likewise. 2483 24842015-05-04 Anthony G. Basile <blueness@gentoo.org> 2485 2486 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD) 2487 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD) 2488 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD) 2489 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD) 2490 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD). 2491 24922015-05-01 Mark Wielaard <mjw@redhat.com> 2493 2494 * run-stack-d-test.sh: Use --raw and mangled output. 2495 * run-stack-i-test.sh: Likewise. 2496 * run-stack-demangled-test.sh: New test. 2497 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh. 2498 (TESTS): Likewise. 2499 25002015-04-01 H.J. Lu <hjl.tools@gmail.com> 2501 2502 * Makefile.am (TESTS): Add run-strip-test10.sh. 2503 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2. 2504 Add testfile-x32-debug.bz2. 2505 * run-strip-test10.sh: New file. 2506 * testfile-x32-d.bz2: Likewise. 2507 * testfile-x32-debug.bz2: Likewise. 2508 25092015-04-01 H.J. Lu <hjl.tools@gmail.com> 2510 2511 * Makefile.am (TESTS): Add run-strip-test9.sh. 2512 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2. 2513 * run-strip-test9.sh: New file. 2514 * testfile-x32-s.bz2: Likewise. 2515 25162015-04-01 H.J. Lu <hjl.tools@gmail.com> 2517 2518 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh. 2519 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2. 2520 Add backtrace.x32.exec.bz2. 2521 * backtrace.x32.core.bz2 : New file. 2522 * backtrace.x32.exec.bz2: Likewise. 2523 * run-backtrace-core-x32.sh: Likewise. 2524 25252015-04-01 H.J. Lu <hjl.tools@gmail.com> 2526 2527 * run-addrcfi.sh: Add a test for testfile-x32. 2528 * testfile-x32.bz2: New file. 2529 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2. 2530 25312015-04-01 H.J. Lu <hjl.tools@gmail.com> 2532 2533 * run-allregs.sh: Add a test for testfile-x32-core. 2534 25352015-04-01 H.J. Lu <hjl.tools@gmail.com> 2536 2537 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core. 2538 * testfile-x32-core.bz2: New file. 2539 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2. 2540 25412015-03-18 Petr Machata <pmachata@redhat.com> 2542 2543 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match 2544 the API changes. 2545 * allregs.c (dwarf_encoding_string): Likewise. 2546 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise. 2547 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise. 2548 25492015-03-18 Petr Machata <pmachata@redhat.com> 2550 2551 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh, 2552 debug-ranges-no-lowpc.o.bz2. 2553 25542015-03-13 Mark Wielaard <mjw@redhat.com> 2555 2556 * backtrace-dwarf.c: Add explicit includes. 2557 (cleanup_13_abort): Remove unused static declaration. 2558 (thread_callback): Add explicit return. 2559 25602015-03-13 H.J. Lu <hjl.tools@gmail.com> 2561 2562 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS 2563 instead of PTRACE_POKEUSER. 2564 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for 2565 is_x86_64_native. 2566 25672015-02-18 Mark Wielaard <mjw@redhat.com> 2568 2569 * newdata.c (check_section_data): Use PRId64 for printing loff_t. 2570 25712015-02-11 Josh Stone <jistone@redhat.com> 2572 2573 * backtrace.c (exec_dump): Initialize jmp. 2574 25752015-02-11 Petr Machata <pmachata@redhat.com> 2576 2577 * run-dwarf-ranges.sh: New test. 2578 * dwarf-ranges.c: New file. 2579 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case. 2580 25812015-01-21 Mark Wielaard <mjw@redhat.com> 2582 2583 * Makefile.am (check_PROGRAMS): Add elfstrtab. 2584 (TESTS): Likewise. 2585 (elfstrtab_LDADD): New variable. 2586 * elfstrtab.c: New test. 2587 25882015-01-20 Mark Wielaard <mjw@redhat.com> 2589 2590 * Makefile.am (check_PROGRAMS): Add newdata. 2591 (TESTS): Likewise. 2592 (newdata_LDADD): new variable. 2593 * newdata.c: New test. 2594 25952015-01-20 Mark Wielaard <mjw@redhat.com> 2596 2597 * strptr.c: New file. 2598 * run-strptr.sh: New test. 2599 * Makefile.am (check_PROGRAMS): Add strptr. 2600 (TESTS): Add run-strptr.sh. 2601 (EXTRA_DIST): Likewise. 2602 (strptr_LDADD): New variable. 2603 26042015-01-15 Mark Wielaard <mjw@redhat.com> 2605 2606 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY). 2607 * vdsosyms.c (main): Use getpid () instead of getppid (). 2608 26092014-12-27 Mark Wielaard <mjw@redhat.com> 2610 2611 * addrscopes.c (handle_address): Last address in scope is highpc - 1. 2612 * funcscopes.c (handle_function): Likewise. 2613 * run-addrscopes.sh: Adjust last address in scope. 2614 * run-funcscopes.sh: Likewise. 2615 26162015-01-07 Mark Wielaard <mjw@redhat.com> 2617 2618 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search. 2619 26202015-01-14 Mark Wielaard <mjw@redhat.com> 2621 2622 * testfile-debug-types.bz2: New testfile. 2623 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2. 2624 * typeiter2.c (main): Print both name and offset of found form DIE. 2625 * run-typeiter.s: Adjust output and add testfile-debug-types. 2626 26272014-12-26 Mark Wielaard <mjw@redhat.com> 2628 2629 * run-test-archive64.sh: Add nm test. 2630 26312014-12-19 Mark Wielaard <mjw@redhat.com> 2632 2633 * run-deleted.sh: Don't check libfunc on ppc64. 2634 26352014-12-19 Mark Wielaard <mjw@redhat.com> 2636 2637 * vdsosyms.c (vdso_seen): Removed. 2638 (vdso_syms): New global. 2639 (module_callback): Set and check vdso_syms. 2640 (main): Return value depends on vdso_syms. 2641 26422014-12-19 Mark Wielaard <mjw@redhat.com> 2643 2644 * backtrace-subr.sh (check_native_unsupported): Relax special ARM 2645 grep a little. 2646 * run-deleted.sh: Call check_native_unsupported. 2647 26482014-12-18 Mark Wielaard <mjw@redhat.com> 2649 2650 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2. 2651 26522014-12-12 Mark Wielaard <mjw@redhat.com> 2653 2654 * Makefile.am (deleted_lib_so_CFLAGS): Add 2655 -fasynchronous-unwind-tables. 2656 26572014-12-11 Josh Stone <jistone@redhat.com> 2658 2659 * run-addr2line-i-lex-test.sh: New test. 2660 * testfile-lex-inlines.bz2: New testfile. 2661 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and 2662 testfile-lex-inlines.bz2. 2663 (TESTS): Add run-addr2line-i-lex-test.sh. 2664 26652014-12-10 Josh Stone <jistone@redhat.com> 2666 2667 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is 2668 preferred over the plain die name. 2669 26702014-12-02 Petr Machata <pmachata@redhat.com> 2671 2672 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef, 2673 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch. 2674 (main): Initialize off to DWARF_GETMACROS_START when an extra 2675 command line argument is passed. 2676 * testfile-macros-0xff.bz2: New test case. 2677 * testfile-macros-0xff.s: New file (source for the above). 2678 * run-dwarf-getmacros.sh: Add two tests. 2679 26802014-11-27 Mark Wielaard <mjw@redhat.com> 2681 2682 * vdsosyms.c (main): Call dwfl_linux_proc_attach. 2683 26842014-11-21 Mark Wielaard <mjw@redhat.com> 2685 2686 * run-readelf-A.sh: New test. 2687 * testfileppc32attrs.o.bz2: New test file. 2688 * Makefile.am (TESTS): Add run-readelf-A.sh. 2689 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2. 2690 26912014-11-10 Mark Wielaard <mjw@redhat.com> 2692 2693 * vdsosyms.c: New test. 2694 * Makefile.am (check_PROGRAMS): Add vdsosyms. 2695 (TESTS): Likewise. 2696 (vdsosyms_LDADD): New variable. 2697 26982014-09-10 Petr Machata <pmachata@redhat.com> 2699 2700 * dwarf-getmacros.c: Update to use the new macro iteration 2701 interfaces. 2702 * run-dwarf-getmacros.sh: Adjust, add a test that uses 2703 testfile-macros. 2704 27052014-10-06 Mark Wielaard <mjw@redhat.com> 2706 2707 * run-aggregate-size.sh: Add testfile-sizes3.o test case. 2708 * testfile-sizes3.o.bz2: New test file. 2709 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2. 2710 27112014-10-02 Mark Wielaard <mjw@redhat.com> 2712 2713 * run-deleted.sh: Unset VALGRIND_CMD before running deleted. 2714 27152014-10-02 Mark Wielaard <mjw@redhat.com> 2716 2717 * Makefile.am (check_PROGRAMS): Add aggregate_size.c. 2718 (TESTS): Add run-aggregate-size.sh. 2719 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2 2720 and testfile-sizes2.o.bz2. 2721 (aggregate_size_LDADD): New variable. 2722 * aggregate_size.c: New file. 2723 * run-aggregate-size.sh: New test. 2724 * testfile-sizes1.o.bz2: New test file. 2725 * testfile-sizes2.o.bz2: Likewise. 2726 27272014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com> 2728 2729 Support NT_FILE for locating files. 2730 * Makefile.am (TESTS): Add run-linkmap-cut.sh. 2731 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2, 2732 linkmap-cut.bz2 and linkmap-cut.core.bz2 . 2733 * linkmap-cut-lib.so.bz2: New file. 2734 * linkmap-cut.bz2: New file. 2735 * linkmap-cut.core.bz2: New file. 2736 * run-linkmap-cut.sh: New file. 2737 * run-unstrip-n.sh: Update its expected output. 2738 27392014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com> 2740 2741 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so. 2742 (TESTS, EXTRA_DIST): Add run-deleted.sh. 2743 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New. 2744 * deleted-lib.c: New file. 2745 * deleted.c: New file. 2746 * run-deleted.sh: New file. 2747 27482014-06-15 Mark Wielaard <mjw@redhat.com> 2749 2750 * backtrace.c (frame_callback): Error on seeing more than 16 frames. 2751 27522014-06-13 Mark Wielaard <mjw@redhat.com> 2753 2754 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first 2755 frame symname. 2756 27572014-06-13 Mark Wielaard <mjw@redhat.com> 2758 2759 * backtrace-subr.sh (check_native_unsupported): New function. 2760 (check_native): Call it. 2761 (check_native_core): Likewise. 2762 * run-backtrace-dwarf.sh: Likewise. 2763 27642014-06-11 Mark Wielaard <mjw@redhat.com> 2765 2766 * backtrace.c (main): Check that Dwfl was attached by calling 2767 dwfl_pid and printing the error when it is not. 2768 27692014-05-18 Mark Wielaard <mjw@redhat.com> 2770 2771 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static. 2772 (f): Likewise. 2773 * testfile-backtrace-demangle.bz2: Regenerate. 2774 * testfile-backtrace-demangle.core.bz2: Likewise. 2775 27762014-05-02 Mark Wielaard <mjw@redhat.com> 2777 2778 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and 2779 run-allfcts-multi.sh are now added unconditionally. 2780 27812014-05-01 Mark Wielaard <mjw@redhat.com> 2782 2783 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz 2784 subdir. 2785 27862014-04-30 Mark Wielaard <mjw@redhat.com> 2787 2788 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files. 2789 * Makefile.am (check_PROGRAMS): Add buildid. 2790 (TESTS): Add run-buildid.sh. 2791 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2. 2792 (buildid_LDADD): New variable. 2793 27942014-04-24 Florian Weimer <fweimer@redhat.com> 2795 2796 * allfcts.c (setup_alt): New function. 2797 (main): Call it. Implementation additional error checking and 2798 reporting. 2799 28002014-04-24 Florian Weimer <fweimer@redhat.com> 2801 2802 * debugaltlink.c, run-debugaltlink.sh: New files. 2803 * Makefile.am (check_PROGRAMS): Add debugaltlink. 2804 (TESTS): Add run-debugaltlink.sh. 2805 (debugaltlink_LDADD): New variable. 2806 28072014-04-11 Mark Wielaard <mjw@redhat.com> 2808 2809 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf. 2810 (check_PROGRAMS): Add debuglink. 2811 (TESTS): Add run-debuglink.sh 2812 (EXTRA_DIST): Likewise. 2813 (debuglink_LDADD): New. 2814 * debuglink.c: New file. 2815 * run-debuglink.sh: Likewise. 2816 28172014-03-23 Mark Wielaard <mjw@redhat.com> 2818 2819 * run-nm-self.sh: Use test = not == for string comparisons. 2820 28212014-04-22 Kurt Roeckx <kurt@roeckx.be> 2822 2823 * backtrace.c: Make Linux only. 2824 * backtrace-child.c: Make Linux only. 2825 * backtrace-data.c: Make Linux only. 2826 * backtrace-dwarf.c: Make Linux only. 2827 * backtrace-subr.sh: Skip core file unwinding tests when not supported. 2828 28292014-03-14 Mark Wielaard <mjw@redhat.com> 2830 2831 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all 2832 LDADD lines. 2833 * configure.ac: Remove MUDFLAP conditional. 2834 28352014-04-09 Mark Wielaard <mjw@redhat.com> 2836 2837 * run-readelf-zdebug.sh: New test. 2838 * testfile-debug.bz2: New testfile. 2839 * testfile-zdebug.bz2: New testfile. 2840 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB. 2841 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and 2842 testfile-zdebug.bz2. 2843 28442014-04-10 Mark Wielaard <mjw@redhat.com> 2845 2846 * testfile_i686_core.bz2: New test file. 2847 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test. 2848 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2 2849 28502014-04-09 Mark Wielaard <mjw@redhat.com> 2851 2852 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh. 2853 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh, 2854 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2. 2855 * run-backtrace-core-aarch64.sh: New test. 2856 28572014-03-11 Josh Stone <jistone@redhat.com> 2858 2859 * testfilebaxmin.bz2: New testfile. 2860 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2. 2861 * run-readelf-s.sh: Test testfilebaxmin. 2862 * run-dwflsyms.sh: Likewise. 2863 28642014-01-26 Mark Wielaard <mjw@redhat.com> 2865 2866 * backtrace-subr.sh (check_unsupported): Special case arm*. 2867 28682014-01-25 Mark Wielaard <mjw@redhat.com> 2869 2870 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to 2871 location expression: call_frame_cfa stack_value. 2872 28732014-01-22 Mark Wielaard <mjw@redhat.com> 2874 2875 * Makefile.am (line2addr_no_Wformat): Removed. 2876 28772014-01-21 Mark Wielaard <mjw@redhat.com> 2878 2879 * Makefile.am (TESTS): Add run-stack-i-test.sh. 2880 (EXTRA_DIST): Likewise. 2881 * run-stack-i-test.sh: New test. 2882 28832014-01-20 Mark Wielaard <mjw@redhat.com> 2884 2885 * Makefile.am (TESTS): Add run-stack-d-test.sh. 2886 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2 2887 testfiledwarfinlines.core.bz2. 2888 * run-stack-d-test.sh: New test. 2889 * testfiledwarfinlines.bz2: New test file. 2890 * testfiledwarfinlines.core.bz2: Likewise. 2891 28922014-01-16 Mark Wielaard <mjw@redhat.com> 2893 2894 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun 2895 on one ET_REL, one ET_EXEC and one ET_DYN file. 2896 * test-subr.sh (self_test_files): Add two ET_REL files, only add 2897 two libebl ET_DYN backend files. 2898 28992014-01-16 Mark Wielaard <mjw@redhat.com> 2900 2901 * run-backtrace-demangle.sh: Check exitcode and max number of frames. 2902 29032014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2904 2905 Fix false FAILs on testsuite with ulimit -c unlimited. 2906 * backtrace-child.c (sigusr2): Call pthread_exit. 2907 (main): Return, do not call abort. 2908 29092014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> 2910 2911 Fix corruption of non-C++ symbols by the demangler. 2912 * Makefile.am (TESTS): Add run-backtrace-demangle.sh. 2913 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export. 2914 (EXTRA_DIST): Add run-backtrace-demangle.sh, 2915 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc, 2916 testfile-backtrace-demangle.core.bz2. 2917 * backtrace-demangle.cc: New file. 2918 * run-backtrace-demangle.sh: New file. 2919 * testfile-backtrace-demangle.bz2: New file. 2920 * testfile-backtrace-demangle.cc: New file. 2921 * testfile-backtrace-demangle.core.bz2: New file. 2922 29232014-01-07 Matthias Klose <doko@ubuntu.com> 2924 2925 * backtrace-subr.sh (check_native_core): Check to see if core file 2926 was created without ".PID" extension, if so mv core to core.PID. 2927 Skip test if no core file was created or could be found. 2928 29292014-01-04 Mark Wielaard <mjw@redhat.com> 2930 2931 * backtrace-data.c (main): Don't assert if raise returns. 2932 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with 2933 assume_ptrace_attached true. 2934 (ptrace_detach_stopped): Removed function. 2935 (main): Don't call ptrace_detach_stopped. 2936 * backtrace.c (ptrace_detach_stopped): Removed function. 2937 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached 2938 true. 2939 (exec_dump): Don't call ptrace_detach_stopped. 2940 29412014-01-04 Mark Wielaard <mjw@redhat.com> 2942 2943 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test 2944 if we cannot adjust core ulimit. 2945 29462014-01-04 Mark Wielaard <mjw@redhat.com> 2947 2948 * cleanup-13.c (force_unwind_stop): Removed. 2949 (force_unwind): Just call abort. Don't setup _Unwind_Exception and 2950 don't call _Unwind_ForcedUnwind. 2951 29522014-01-03 Mark Wielaard <mjw@redhat.com> 2953 2954 * run-addrcfi.sh: Add case for EM_AARCH64. 2955 * testfileaarch64.bz2: New testfile. 2956 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2. 2957 29582013-12-30 Mark Wielaard <mjw@redhat.com> 2959 2960 * backtrace-dwarf.c (report_pid): Explicitly call 2961 dwfl_linux_proc_attach and check for errors. 2962 * backtrace.c (report_pid): Likewise. 2963 29642013-12-21 Mark Wielaard <mjw@redhat.com> 2965 2966 * backtrace.c (callback_verify): Only assert that case 5 is the last 2967 instruction of backtracegen on x86_64 native. 2968 29692013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2970 Mark Wielaard <mjw@redhat.com> 2971 2972 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2 2973 and testfilebaz*ppc64*.bz2 files. 2974 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print 2975 error on dwfl_module_getsymtab error. 2976 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info. 2977 Compare values for non-ET_REL. Use dwfl_module_addrinfo. 2978 Also print section of actual value if different from sym. 2979 * run-addrname-test.sh (testfile66, testfile66.core): New tests. 2980 Test addr2line -x by showing different sections for address and 2981 found name in testfile66. 2982 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko, 2983 testfilebaz*ppc64): New tests. 2984 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2, 2985 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2, 2986 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2, 2987 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2, 2988 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2, 2989 testfilebaztabppc64.bz2: New test files. 2990 29912013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 2992 2993 unwinder: s390 and s390x 2994 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and 2995 run-backtrace-core-s390.sh. 2996 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2, 2997 backtrace.s390.core.bz2, backtrace.s390.exec.bz2, 2998 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh. 2999 * backtrace.s390.core.bz2: New file. 3000 * backtrace.s390.exec.bz2: New file. 3001 * backtrace.s390x.core.bz2: New file. 3002 * backtrace.s390x.exec.bz2: New file. 3003 * run-backtrace-core-s390.sh: New file. 3004 * run-backtrace-core-s390x.sh: New file. 3005 30062013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com> 3007 3008 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused 3009 code. 3010 30112013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> 3012 3013 unwinder: ppc 3014 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh. 3015 (EXTRA_DIST): Add backtrace.ppc.core.bz2, 3016 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh. 3017 * backtrace.ppc.core.bz2: New file. 3018 * backtrace.ppc.exec.bz2: New file. 3019 * run-backtrace-core-ppc.sh: New file. 3020 30212013-12-10 Mark Wielaard <mjw@redhat.com> 3022 3023 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c. 3024 30252013-12-10 Mark Wielaard <mjw@redhat.com> 3026 3027 * Makefile.am (valgrind_cmd): Remove --trace-children=yes. 3028 * backtrace-subr.sh (check_native_core): Disable valgrind while 3029 dumping core. 3030 * run-backtrace-data.sh: Disable valgrind. 3031 * run-backtrace-dwarf.sh: Likewise. 3032 30332013-12-09 Mark Wielaard <mjw@redhat.com> 3034 3035 * varlocs.c (print_expr): Update comment to explain empty location 3036 associated with DW_OP_GNU_implicit_pointer. 3037 30382013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> 3039 3040 Fix test FAIL with -O2. 3041 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub. 3042 30432013-12-05 Mark Wielaard <mjw@redhat.com> 3044 3045 * backtrace-data.c (main): If unsupported also print to stderr. 3046 * run-backtrace-dwarf.sh: Add check_unsupported and check_main. 3047 30482013-12-04 Mark Wielaard <mjw@redhat.com> 3049 3050 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT). 3051 30522013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com> 3053 3054 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child, 3055 backtrace-data and backtrace-dwarf. 3056 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New. 3057 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh, 3058 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh, 3059 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 3060 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh. 3061 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH. 3062 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh, 3063 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh, 3064 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 3065 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh, 3066 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2, 3067 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2. 3068 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS) 3069 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD): 3070 New. 3071 * backtrace-child.c: New file. 3072 * backtrace-data.c: New file. 3073 * backtrace-dwarf.c: New file. 3074 * backtrace-subr.sh: New file. 3075 * backtrace.c: New file. 3076 * cleanup-13.c: New file. 3077 * backtrace.i386.core.bz2: New file. 3078 * backtrace.i386.exec.bz2: New file. 3079 * backtrace.x86_64.core.bz2: New file. 3080 * backtrace.x86_64.exec.bz2: New file. 3081 * run-backtrace-core-i386.sh: New file. 3082 * run-backtrace-core-x86_64.sh: New file. 3083 * run-backtrace-native-biarch.sh: New file. 3084 * run-backtrace-native-core-biarch.sh: New file. 3085 * run-backtrace-native-core.sh: New file. 3086 * run-backtrace-native.sh: New file. 3087 * run-backtrace-data.sh: New file. 3088 * run-backtrace-dwarf.sh: New file. 3089 30902013-11-27 Mark Wielaard <mjw@redhat.com> 3091 3092 * dwflsyms.c (gelf_bind_order): New function. 3093 (elf_section_name): Likewise. 3094 (addr_in_section): Likewise. 3095 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf. 3096 Refine assert using gelf_bind_order. Print elf_section_name. Check 3097 bias with addr_in_section. 3098 * run-dwflsyms.sh: Add section names to expected output. 3099 31002013-11-26 Mark Wielaard <mjw@redhat.com> 3101 3102 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh. 3103 31042013-11-25 Petr Machata <pmachata@redhat.com> 3105 3106 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files. 3107 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise. 3108 * Makefile.am (EXTRA_DIST): Add these. 3109 (TESTS): Add run-funcretval.sh. 3110 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test. 3111 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test. 3112 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2. 3113 * run-funcretval.sh: New file. 3114 31152013-11-18 Josh Stone <jistone@redhat.com> 3116 3117 * testfilebazdbg_plr.bz2: New testfile. 3118 * testfilebazmin_plr.bz2: Likewise. 3119 * Makefile.am (EXTRA_DIST): Add the above files. 3120 * run-dwflsyms.sh: Add prelink -r tests. 3121 31222013-11-15 Mark Wielaard <mjw@redhat.com> 3123 3124 * testfilebazmdb.bz2: Regenerated. 3125 * testfilebazmin.bz2: Likewise. 3126 * testfilebazdbg_pl.bz2: New testfile. 3127 * testfilebazmin_pl.bz2: Likewise. 3128 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and 3129 testfilebazmin_pl.bz2. 3130 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and 3131 print relative address of function symbols. 3132 * run-dwflsyms.sh: Add prelink tests and adjust expected output. 3133 31342013-11-01 Michael Forney <mforney@mforney.org> 3135 3136 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM. 3137 * run-arsymtest.sh: Use NM. 3138 31392013-11-05 Mark Wielaard <mjw@redhat.com> 3140 3141 * allfcts.c (main): Correct dwarf_getfuncs return value check. 3142 31432013-10-10 Mark Wielaard <mjw@redhat.com> 3144 Josh Stone <jistone@redhat.com> 3145 3146 * run-allfcts-multi.sh: New test. 3147 * test-offset-loop.bz2: New testfile. 3148 * test-offset-loop.alt.bz2: New testfile. 3149 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ. 3150 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and 3151 test-offset-loop.alt.bz2. 3152 31532013-10-15 Mark Wielaard <mjw@redhat.com> 3154 3155 * run-unstrip-M.sh: New test. 3156 * Makefile.am (TESTS): Add run-unstrip-M.sh. 3157 (EXTRA_DIST): Likewise. 3158 31592013-10-06 Mark Wielaard <mjw@redhat.com> 3160 3161 * run-addrcfi.sh: Remove nop from expected ppc and ppc64 3162 location expression. 3163 31642013-10-03 Josh Stone <jistone@redhat.com> 3165 3166 * typeiter2.c: New file, reversing typeiter.c. 3167 * run-typeiter.sh: Also run typeiter2. 3168 * Makefile.am (check_PROGRAMS): Add typeiter2. 3169 (typeiter2_LDADD): New variable. 3170 31712013-09-26 Petr Machata <pmachata@redhat.com> 3172 3173 * run-readelf-mixed-corenote.sh: Update output of testfile71 3174 dump--readelf can newly decode the NT_FILE note. 3175 31762013-09-26 Petr Machata <pmachata@redhat.com> 3177 3178 * Makefile.am (EXTRA_DIST): Add testfile71.bz2. 3179 * run-readelf-mixed-corenote.sh: New test for this file. 3180 * testfile71.bz2: New file. 3181 31822013-09-20 Mark Wielaard <mjw@redhat.com> 3183 3184 * allfcts.c (cb): Return DWARF_CB_ABORT. 3185 (main): Iterate over all offsets returned by dwarf_getfuncs. 3186 * run-allfcts.sh: Add nested_funcs and class_func testcases. 3187 * testfile_nested_funcs.bz2: New test file. 3188 * testfile_class_func.bz2: Likewise. 3189 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and 3190 testfile_nested_funcs.bz2. 3191 31922013-08-30 Mark Wielaard <mjw@redhat.com> 3193 3194 * Makefile.am (check_PROGRAMS): Add varlocs. 3195 (TESTS): Add run-varlocs.sh. 3196 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c, 3197 testfile_const_type.bz2, testfile_implicit_pointer.c, 3198 testfile_implicit_pointer.bz2, testfile_parameter_ref.c, 3199 testfile_entry_value.c, testfile_entry_value.bz2, 3200 testfile_implicit_value.c and testfile_implicit_value.bz2. 3201 (varlocs_LDADD): New. 3202 * run-varlocs: New test. 3203 * testfile_const_type.c: New test source file. 3204 * testfile_entry_value.c: Likewise. 3205 * testfile_implicit_pointer.c: Likewise. 3206 * testfile_implicit_value.c: Likewise. 3207 * testfile_parameter_ref.c: Likewise. 3208 * testfile_const_type.bz2: New test file. 3209 * testfile_entry_value.bz2: Likewise. 3210 * testfile_implicit_pointer.bz2: Likewise. 3211 * testfile_implicit_value.bz2: Likewise. 3212 * testfile_parameter_ref.bz2: Likewise. 3213 * varlocs.c: New test source. 3214 32152013-08-29 Mark Wielaard <mjw@redhat.com> 3216 3217 * run-addrcfi.sh: Add case for EM_ARM. 3218 * testfilearm.bz2: New testfile. 3219 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2. 3220 32212013-08-28 Mark Wielaard <mjw@redhat.com> 3222 3223 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame 3224 completely missing. 3225 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64. 3226 * testfiles390.bz2: New testfile. 3227 * testfiles390x.bz2: Likewise. 3228 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and 3229 testfiles390x.bz2. 3230 32312013-08-28 Mark Wielaard <mjw@redhat.com> 3232 3233 * addrcfi.c (handle_cfi): Use printf not error. 3234 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64. 3235 * testfileppc32.bz2: New testfile. 3236 * testfileppc64.bz2: Likewise. 3237 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and 3238 testfileppc64.bz2. 3239 32402013-08-27 Mark Wielaard <mjw@redhat.com> 3241 3242 * run-addrcfi.sh: New test. 3243 * Makefile.am (TESTS): Add run-addrcfi.sh. 3244 (EXTRA_DIST): Likewise. 3245 * addrcfi.c (op_name): New function. 3246 (print_detail): Call and print op_name. Check ops, not result 3247 to check if this is "same value" or "undefined". 3248 (handle_cfi): Make sure cfa_ops doesn't point to NULL. 3249 32502013-08-13 Mark Wielaard <mjw@redhat.com> 3251 3252 * run-addr2line-i-test.sh: New test. 3253 * testfile-inlines.bz2: New testfile. 3254 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and 3255 testfile-inlines.bz2. 3256 (TESTS): Add run-addr2line-i-test.sh. 3257 32582013-08-12 Mark Wielaard <mjw@redhat.com> 3259 3260 * run-addr2line-test.sh: New test. 3261 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh. 3262 (TESTS): Likewise. 3263 32642013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com> 3265 3266 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of 3267 the entries. 3268 32692013-07-02 Mark Wielaard <mjw@redhat.com> 3270 3271 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in 3272 testfilenolines.bz2. 3273 32742013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com> 3275 3276 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2, 3277 test-core.core.bz2 and test-core.exec.bz2. 3278 * run-addrname-test.sh: New test for these files. 3279 * run-unstrip-n.sh: Update expected output. New test for these files. 3280 * test-core-lib.so.bz2: New file. 3281 * test-core.core.bz2: New file. 3282 * test-core.exec.bz2: New file. 3283 32842013-05-03 Mark Wielaard <mjw@redhat.com> 3285 3286 * testfilenolines.bz2: New test file. 3287 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2. 3288 * run-get-lines.sh: Run testrun_compare on testfilenolines. 3289 32902013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com> 3291 3292 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf. 3293 32942013-04-29 Mark Wielaard <mjw@redhat.com> 3295 3296 * test-subr.sh: Don't use pushd, just cd into test-dir. 3297 (exit_cleanup): Don't use popd, just cd .. to get out. 3298 32992013-04-27 Mark Wielaard <mjw@redhat.com> 3300 3301 * test-subr.sh (exit_cleanup): New function. 3302 (trap): Use exit_cleanup as argument. 3303 * run-native-test.sh (native_exit): New function. 3304 (trap): For EXIT (0) use native_exit as argument. 3305 33062013-04-27 Mark Wielaard <mjw@redhat.com> 3307 3308 * update1.c (main): Use unique tempfile name and unlink file. 3309 * update2.c (main): Likewise. 3310 * update3.c (main): Likewise. 3311 * update4.c (main): Use unique tempfile name. 3312 33132013-04-27 Mark Wielaard <mjw@redhat.com> 3314 3315 * run-alldts.sh: Add testfile-alldts to tempfiles. 3316 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles. 3317 * run-macro-test.sh: Add readelf.macros.out to tempfiles. 3318 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2 3319 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles. 3320 33212013-04-26 Mark Wielaard <mjw@redhat.com> 3322 3323 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment, 3324 remove wrapper. 3325 (TESTS_ENVIRONMENT): Likewise. 3326 (installed_LOG_COMPILER): New variable defining wrapper. 3327 (LOG_COMPILER): Likewise. 3328 * run-*.sh: Fixup location of input and output files. 3329 * test-subr.sh: Create test_dir, pushd to execute test in. 3330 (trap): Remove test_dir. 3331 (testfiles): Use abs_srcdir. 3332 (installed_testrun): Match on abs_builddir or abs_top_builddir. 3333 (self_test_files): Adjust path. 3334 33352013-04-24 Mark Wielaard <mjw@redhat.com> 3336 3337 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 3338 33392013-03-25 Mark Wielaard <mjw@redhat.com> 3340 3341 * run-readelf-aranges.sh: New test. 3342 * testfilefoobarbaz.bz2: New test file. 3343 * Makefile.am (TESTS): Add run-readelf-aranges.sh. 3344 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2. 3345 33462013-03-25 Mark Wielaard <mjw@redhat.com> 3347 3348 * run-readelf-dwz-multi.sh: Expect high_pc also as address. 3349 33502013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com> 3351 3352 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align. 3353 (TESTS): Add run-dwfl-report-elf-align.sh. 3354 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and 3355 testfile-dwfl-report-elf-align-shlib.so.bz2 . 3356 (dwfl_report_elf_align_LDADD): New. 3357 * dwfl-report-elf-align.c: New file. 3358 * run-dwfl-report-elf-align.sh: New file. 3359 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file. 3360 33612013-03-12 Mark Wielaard <mjw@redhat.com> 3362 3363 * run-dwfllines.sh: New test. 3364 * dwfllines.c: New test program. 3365 * Makefile.am (TESTS): Add run-dwfllines.sh. 3366 (EXTRA_DIST): Likewise. 3367 (dwfllines_LDADD): New variable. 3368 33692013-02-22 Mark Wielaard <mjw@redhat.com> 3370 3371 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh. 3372 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS. 3373 33742013-02-15 Mark Wielaard <mjw@redhat.com> 3375 3376 * testfile-dwzstr.bz2: New testfile. 3377 * testfile-dwzstr.multi.bz2: Likewise. 3378 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test. 3379 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and 3380 testfile-dwzstr.multi.bz2. 3381 33822013-01-30 Mark Wielaard <mjw@redhat.com> 3383 3384 * testfileloc.bz2: New testfile. 3385 * run-readelf-loc.sh: New test. 3386 * Makefile.am (TESTS): Add run-readelf-loc.sh. 3387 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2. 3388 33892013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> 3390 3391 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390 3392 and s390x core notes. 3393 * testfile67.bz2: New file. 3394 * testfile68.bz2: New file. 3395 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 . 3396 33972013-01-23 Mark Wielaard <mjw@redhat.com> 3398 3399 * testfilebasmin.bz2: New testfile. 3400 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2. 3401 * run-readelf-s.sh: Test testfilebasmin. 3402 * run-dwflsyms.sh: Likewise. 3403 34042013-01-16 Mark Wielaard <mjw@redhat.com> 3405 3406 * Makefile.am (check_PROGRAMS): Add dwflsyms. 3407 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh. 3408 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2, 3409 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2, 3410 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh. 3411 (dwflsyms_LDADD): New variable. 3412 34132013-01-07 Roland McGrath <roland@hack.frob.com> 3414 3415 * run-prelink-addr-test.sh: Use ln -snf. 3416 34172012-12-03 Mark Wielaard <mjw@redhat.com> 3418 3419 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no. 3420 34212012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com> 3422 3423 * run-addrname-test.sh: New test for PIE relocation. 3424 * testfile70.core.bz2: New file. 3425 * testfile70.exec.bz2: New file. 3426 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and 3427 testfile70.exec.bz2 . 3428 34292012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com> 3430 3431 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2, 3432 testfile69.core.bz2 and testfile69.so.bz2 . 3433 34342012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com> 3435 3436 * run-addrname-test.sh: New test for DSO with build-id bias. 3437 * testfile69.core.bz2: New file. 3438 * testfile69.so.bz2: New file. 3439 34402012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> 3441 3442 * run-addrname-test.sh: New test for core vDSO bias. 3443 * testfile65.bz2: New file. 3444 34452012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> 3446 3447 * run-addrname-test.sh: New test for symbol preferences. 3448 * testfile64.bz2: New file. 3449 34502012-10-01 Mark Wielaard <mjw@redhat.com> 3451 3452 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND. 3453 * test-wrapper.sh: Export VALGRIND_CMD if available. 3454 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog. 3455 (installed_testrun): Likewise. 3456 34572012-09-24 Petr Machata <pmachata@redhat.com> 3458 3459 * testfile63.bz2: New testfile. 3460 * run-readelf-mixed-corenote.sh: New test. 3461 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh. 3462 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh. 3463 34642012-09-24 Petr Machata <pmachata@redhat.com> 3465 3466 * testfile62.bz2: New testfile. 3467 * run-readelf-vmcoreinfo.sh: New test. 3468 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh. 3469 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh. 3470 34712012-09-18 Petr Machata <pmachata@redhat.com> 3472 3473 * testfile61.bz2: New testfile. 3474 * run-allregs.sh: Run reg_test testfile61. 3475 * Makefile.am (EXTRA_DIST): Add testfile61.bz2. 3476 34772012-08-24 Mark Wielaard <mjw@redhat.com> 3478 3479 * Makefile.am (EXTRA_DIST): Add testfile60.bz2. 3480 34812012-08-22 Jeff Kenton <jkenton@tilera.com> 3482 3483 * testfile60.bz2: New testfile. 3484 * run-allregs.sh: Run reg_test testfile60. 3485 34862012-08-24 Mark Wielaard <mjw@redhat.com> 3487 3488 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if 3489 ENABLE_DWZ. 3490 34912012-08-16 Mark Wielaard <mjw@redhat.com> 3492 3493 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf 3494 macros. 3495 * show-die-info.c (tagnames): Removed. 3496 (attrs): Removed. 3497 (dwarf_tag_string): New function using known-dwarf macros. 3498 (dwarf_attr_string): Likewise. 3499 (handle): Call dwarf_tag_string and dwarf_attr_string instead. 3500 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89. 3501 35022012-06-27 Mark Wielaard <mjw@redhat.com> 3503 3504 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh. 3505 (EXTRA_DIST): Add run-readelf-dwz-multi.sh, 3506 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and 3507 testfile_multi_main.bz2. 3508 * run-readelf-dwz-multi.sh: New test. 3509 * libtestfile_multi_shared.so.bz2: New testfile. 3510 * testfile_multi.dwz.bz2: New testifle. 3511 * testfile_multi_main.bz2: New testifle. 3512 35132012-08-01 Petr Machata <pmachata@redhat.com> 3514 3515 * run-test-archive64.sh: New test. 3516 * testarchive64.a.bz2: New testfile. 3517 * Makefile.am (TESTS): Add run-test-archive64.sh. 3518 (EXTRA_DIST): Likewise. 3519 35202012-08-01 Mark Wielaard <mjw@redhat.com> 3521 3522 * run-nm-self.sh: New test. 3523 * run-readelf-self.sh: Likewise. 3524 * test-subr.sh (testrun_on_self_quiet): New function. 3525 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh. 3526 (EXTRA_DIST): Likewise. 3527 35282012-08-01 Mark Wielaard <mjw@redhat.com> 3529 3530 * test-subr.sh (self_test_files): New list of files. 3531 (testrun_on_self): New function. 3532 * run-elflint-self.sh: Use testrun_on_self. 3533 35342012-07-19 Mark Wielaard <mjw@redhat.com> 3535 3536 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr. 3537 (TESTS): Add run-elf_cntl_gelf_getshdr.sh. 3538 (EXTRA_DIST): Likewise. 3539 (test_elf_cntl_gelf_getshdr_LDADD): New. 3540 test-elf_cntl_gelf_getshdr.c: New test program. 3541 run-elf_cntl_gelf_getshdr.sh: New test script. 3542 35432012-07-19 Mark Wielaard <mjw@redhat.com> 3544 3545 * run-elflint-self.sh: runtests on ../backends/*so files. 3546 35472012-07-19 Mark Wielaard <mjw@redhat.com> 3548 3549 * run-unstrip-n.sh: test_cleanup. 3550 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2. 3551 35522012-07-11 Mark Wielaard <mjw@redhat.com> 3553 3554 * run-readelf-macro.sh: New test. 3555 * testfilemacro.bz2: New testfile. 3556 * Makefile.am (TESTS): Add run-readelf-macro.sh. 3557 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2. 3558 35592012-06-27 Mark Wielaard <mjw@redhat.com> 3560 3561 * run-readelf-gdb-index.sh: New test. 3562 * testfilegdbindex5.bz2: New testfile. 3563 * testfilegdbindex7.bz2: Likewise. 3564 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh. 3565 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and 3566 testfilegdbindex7.bz2. 3567 35682012-07-17 Mark Wielaard <mjw@redhat.com> 3569 3570 * testcore-rtlib-ppc.bz2: New testfile. 3571 * run-unstrip-n.sh: Check new ppc core testfile. 3572 35732012-06-26 Mike Frysinger <vapier@gentoo.org> 3574 3575 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. 3576 35772012-06-26 Mark Wielaard <mjw@redhat.com> 3578 3579 * run-macro-test.sh: New test. 3580 * testfile-macinfo.bz2: New testfile. 3581 * testfile-macros.bz2: Likewise. 3582 35832012-05-07 Mark Wielaard <mjw@redhat.com> 3584 3585 * low_high_pc.c: Use proper inttypes in printf formats. 3586 35872012-05-11 Mark Wielaard <mjw@redhat.com> 3588 3589 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C. 3590 35912012-05-07 Mark Wielaard <mjw@redhat.com> 3592 3593 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC. 3594 35952012-04-27 Mark Wielaard <mjw@redhat.com> 3596 3597 * Makefile.am (TESTS): Add run-low_high_pc.sh 3598 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2 3599 (noinst_PROGRAMS): Add low_high_pc. 3600 (low_high_pc_LDADD): New variable. 3601 * low_high_pc.c: New test. 3602 36032012-04-26 Mark Wielaard <mjw@redhat.com> 3604 3605 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh. 3606 * run-show-ciefde.sh: Removed old libdwarf test. 3607 * show-ciefde.c: Likewise. 3608 36092012-04-02 Mark Wielaard <mjw@redhat.com> 3610 3611 * Makefile.am (TESTS): Add run-unstrip-n.sh. 3612 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh. 3613 * run-unstrip-n.sh: New test. 3614 * testcore-rtlib.bz2: New testfile. 3615 36162012-04-02 Mark Wielaard <mjw@redhat.com> 3617 3618 * Makefile.am (TESTS): Add run-readelf-d.sh. 3619 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh. 3620 * run-readelf-d.sh: New test. 3621 * run-elflint-test.sh: Check new testfile. 3622 36232012-03-21 Tom Tromey <tromey@redhat.com> 3624 3625 * typeiter.c: New file. 3626 * run-typeiter.sh: New file. 3627 * testfile59.bz2: New file. 3628 * Makefile.am (noinst_PROGRAMS): Add typeiter. 3629 (TESTS): Add run-typeiter.sh. 3630 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2. 3631 (typeiter_LDADD): New variable. 3632 36332012-02-21 Kurt Roeckx <kurt@roeckx.be> 3634 3635 * run-alldts.sh: testrun ./alldts. 3636 36372012-02-21 Roland McGrath <roland@hack.frob.com> 3638 3639 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH. 3640 * test-subr.sh (installed_testrun): Likewise. 3641 36422012-01-18 Roland McGrath <roland@hack.frob.com> 3643 3644 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation; 3645 it will have been inherited correctly from the test harness. 3646 * asm-tst5.c (main): Likewise. 3647 * asm-tst6.c (main): Likewise. 3648 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>. 3649 36502011-07-09 Roland McGrath <roland@hack.frob.com> 3651 3652 * sha1-tst.c: File removed. 3653 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it. 3654 (sha1_tst_LDADD): Variable removed. 3655 3656 * md5-sha1-test.c: New file. 3657 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it. 3658 (md5_sha1_test_LDADD): New variable. 3659 36602011-05-30 Mark Wielaard <mjw@redhat.com> 3661 3662 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and 3663 run-rerequest_tag.sh 3664 36652011-05-24 Mark Wielaard <mjw@redhat.com> 3666 3667 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2. 3668 * run-strip-reloc.sh: Add hello_s390.ko testcase. 3669 * hello_s390.ko.bz2: New test file. 3670 36712011-05-23 Mark Wielaard <mjw@redhat.com> 3672 3673 * Makefile.am (TESTS): Add run-strip-reloc.sh. 3674 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2 3675 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2 3676 * run-strip-reloc.sh: New test. 3677 * hello_i386.ko.bz2: New test file. 3678 * hello_x86_64.ko.bz2: Likewise. 3679 * hello_ppc64.ko.bz2: Likewise. 3680 36812011-05-18 Mark Wielaard <mjw@redhat.com> 3682 3683 * run-strip-groups.sh: New test. 3684 * testfile58.bz2: New test file. 3685 * Makefile.am (EXTRA_DIST): Add testfile58.bz2. 3686 (TESTS): Add run-strip-groups.sh. 3687 (EXTRA_DIST): Likewise. 3688 36892011-03-28 Marek Polacek <mpolacek@redhat.com> 3690 3691 * alldts.c: New file. 3692 * run-alldts.sh: Use it. 3693 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 3694 (alldts_LDADD): New variable. 3695 36962011-03-02 Marek Polacek <mpolacek@redhat.com> 3697 3698 * dwarf-getstring.c: New test. 3699 * run-dwarf-getstring.sh: And its wrapper. 3700 * Makefile.am (EXTRA_DIST): Add and update all. 3701 37022011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> 3703 3704 * Makefile.am (TESTS): Add run-readelf-twofiles.sh. 3705 * run-readelf-twofiles.sh: New file. 3706 37072011-02-25 Mark Wielaard <mjw@redhat.com> 3708 3709 * Makefile.am (BUILD_RPATH): Be consistent in naming. 3710 37112011-02-02 Josh Stone <jistone@redhat.com> 3712 3713 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit. 3714 * testfile55-64.bz2, testfile55-64.debug.bz2, 3715 testfile55-64.prelink.bz2, testfile55-32.bz2, 3716 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New. 3717 * Makefile.am (EXTRA_DIST): Add and update all. 3718 37192011-01-12 Roland McGrath <roland@redhat.com> 3720 3721 * run-prelink-addr-test.sh: Make symlinks to find .debug files 3722 corresponding to .noshdrs files. 3723 37242011-01-11 Josh Stone <jistone@redhat.com> 3725 3726 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit. 3727 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2, 3728 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2, 3729 testfile54-64.so.bz2, testfile54-64.so.debug.bz2, 3730 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New. 3731 * Makefile.am (EXTRA_DIST): Add and update all. 3732 3733 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests. 3734 * testfile53.bz2, testfile53.debug.bz2, 3735 testfile53.prelink.bz2: Deleted, so... 3736 * testfile53-64.bz2, testfile53-64.debug.bz2, 3737 testfile53-64.prelink.bz2: Recreated with 64-bit names. 3738 * testfile53-32.bz2, testfile53-32.debug.bz2, 3739 testfile53-32.prelink.bz2: New in 32-bit. 3740 * Makefile.am (EXTRA_DIST): Add and update all. 3741 3742 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests. 3743 * testfile52.so.bz2, testfile52.so.debug.bz2, 3744 testfile52.prelink.so.bz2: Deleted, so... 3745 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2, 3746 testfile52-32.prelink.so.bz2: Recreated with 32-bit names. 3747 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers. 3748 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2, 3749 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files. 3750 * Makefile.am (EXTRA_DIST): Add and update all. 3751 37522011-01-10 Josh Stone <jistone@redhat.com> 3753 3754 * run-prelink-addr-test.sh: New test for prelinked addrs. 3755 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3756 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files. 3757 * testfile52.prelink.so.bz2: New data file, shows REL->RELA. 3758 * testfile53.bz2, testfile53.debug.bz2: New data files. 3759 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap. 3760 * Makefile.am (EXTRA_DIST): Add them. 3761 37622010-06-04 Roland McGrath <roland@redhat.com> 3763 3764 * run-unstrip-test.sh: Also test modifying the file in place. 3765 37662010-04-22 Roland McGrath <roland@redhat.com> 3767 3768 * addrcfi.c (handle_cfi): Fix function name in error message. 3769 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe. 3770 37712010-04-14 Roland McGrath <roland@redhat.com> 3772 3773 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too. 3774 37752010-04-10 Ulrich Drepper <drepper@redhat.com> 3776 3777 * msg_tst.c: Adjust expected error message. 3778 37792010-04-01 Petr Machata <pmachata@redhat.com> 3780 3781 * test-flag-nobits.c: New test. 3782 * run-test-flag-nobits.sh: And its wrapper. 3783 * Makefile.am (noinst_PROGRAMS, TESTS): Add them. 3784 (test_flag_nobits_LDADD): New variable. 3785 37862010-02-15 Roland McGrath <roland@redhat.com> 3787 3788 * Makefile.am: Use config/eu.am for common stuff. 3789 3790 * asm-tst9.c (main): Rename local to avoid shadowing another local. 3791 37922009-07-22 Roland McGrath <roland@redhat.com> 3793 3794 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention. 3795 37962009-07-08 Roland McGrath <roland@redhat.com> 3797 3798 * addrcfi.c: New file. 3799 * Makefile.am (noinst_PROGRAMS): Add it. 3800 (addrcfi_LDADD): New variable. 3801 38022009-05-07 Petr Machata <pmachata@redhat.com> 3803 3804 * testfile51.bz2: New data file. 3805 * dwarf-getmacros.c: New test core. 3806 * run-dwarf-getmacros.sh: New test wrapper. 3807 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 3808 (dwarf_getmacros_LDADD): New variable. 3809 38102009-04-23 Ulrich Drepper <drepper@redhat.com> 3811 3812 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). 3813 (rdwrmmap_LDADD): Add $(libmudflap). 3814 38152009-04-21 Roland McGrath <roland@redhat.com> 3816 3817 * testfile50.bz2: New data file. 3818 * Makefile.am (EXTRA_DIST): Add it. 3819 * run-dwfl-addr-sect.sh: Add a case using it. 3820 38212008-12-31 Ulrich Drepper <drepper@redhat.com> 3822 3823 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, 3824 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, 3825 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, 3826 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw, 3827 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd, 3828 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest, 3829 roundss, roundps, roundpd, and roundsd. 3830 * testfile45.S.bz2: Likewise. 3831 * testfile44.expect.bz2: Adjust accordingly. 3832 * testfile45.expect.bz2: Likewise. 3833 3834 * testfile44.S.bz2: Add tests for blendvpd and blendvps. 3835 * testfile45.S.bz2: Likewise. 3836 * testfile44.expect.bz2: Adjust accordingly. 3837 * testfile45.expect.bz2: Likewise. 3838 38392008-12-30 Ulrich Drepper <drepper@redhat.com> 3840 3841 * testfile44.S.bz2: Add tests for blendpd and blendps. 3842 * testfile45.S.bz2: Likewise. 3843 * testfile44.expect.bz2: Adjust accordingly. 3844 * testfile45.expect.bz2: Likewise. 3845 38462008-12-19 Ulrich Drepper <drepper@redhat.com> 3847 3848 * testfile44.S.bz2: Add tests for AMD 3DNOW. 3849 * testfile45.S.bz2: Likewise. 3850 * testfile44.expect.bz2: Adjust accordingly. 3851 * testfile45.expect.bz2: Likewise. 3852 38532008-11-26 Roland McGrath <roland@redhat.com> 3854 3855 * dwfl-bug-getmodules.c: New file. 3856 * Makefile.am (noinst_PROGRAMS): Add it. 3857 (dwfl_bug_getmodules_LDADD): New variable. 3858 38592008-09-10 Roland McGrath <roland@redhat.com> 3860 3861 * test-subr.sh (LC_ALL): Export it set to "C". 3862 * run-dwfl-addr-sect.sh: Don't do it here. 3863 * run-strings-test.sh: Likewise. 3864 38652008-08-21 Denys Vlasenko <dvlasenk@redhat.com> 3866 3867 * run-addrname-test.sh: Add a new case. 3868 * testfile49.bz2: New data file. 3869 * Makefile.am (EXTRA_DIST): Add it. 3870 38712008-04-10 Roland McGrath <roland@redhat.com> 3872 3873 * testfile48.bz2, testfile48.bz2.debug: New data files. 3874 * Makefile.am (EXTRA_DIST): Add them. 3875 * run-strip-test8.sh: Use them. 3876 3877 * testfile16.bz2, testfile16.debug.bz2: Replace data files. 3878 3879 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections. 3880 * run-strip-test8.sh: New file. 3881 * testfile47.bz2: New data file. 3882 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3883 38842008-03-31 Roland McGrath <roland@redhat.com> 3885 3886 * run-early-offscn.sh: New file. 3887 * early-offscn.c: New file. 3888 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them. 3889 (early_offscn_LDADD): New variable. 3890 38912008-03-19 Roland McGrath <roland@redhat.com> 3892 3893 * run-addrname-test.sh: Add a new case. 3894 38952008-02-22 Roland McGrath <roland@redhat.com> 3896 3897 * run-elflint-test.sh: Typo fix. 3898 38992008-02-21 Roland McGrath <roland@redhat.com> 3900 3901 * run-disasm-x86.sh: Use uname instead of arch, keep tools required 3902 for the build down to minimum. 3903 * run-disasm-x86-64.sh: Likewise. 3904 39052008-02-20 Roland McGrath <roland@redhat.com> 3906 3907 * testfile46.bz2: New data file. 3908 * Makefile.am (EXTRA_DIST): Add it. 3909 * run-elflint-test.sh: Test on it. 3910 39112008-02-01 Ulrich Drepper <drepper@redhat.com> 3912 3913 * Makefile.am: Hook up sha1-tst.c. 3914 * sha1-tst.c: New file. 3915 39162008-01-21 Roland McGrath <roland@redhat.com> 3917 3918 * testfile45.S.bz2: Add tests for cltq, cqto. 3919 * testfile45.expect.bz2: Adjust. 3920 39212008-01-14 Ulrich Drepper <drepper@redhat.com> 3922 3923 * testfile45.S.bz2: Add more tests. 3924 * testfile45.expect.bz2: Adjust. 3925 39262008-01-11 Ulrich Drepper <drepper@redhat.com> 3927 3928 * testfile45.expect.bz2: Adjust for adding of address for %rip based 3929 address mode. 3930 39312008-01-10 Ulrich Drepper <drepper@redhat.com> 3932 3933 * testfile45.S.bz2: Add more tests. 3934 * testfile45.expect.bz2: Adjust. 3935 39362008-01-08 Ulrich Drepper <drepper@redhat.com> 3937 3938 * Makefile.am (TESTS): Add run-disasm-x86-64.sh. 3939 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2, 3940 run-disasm-x86-64.sh. 3941 * run-disasm-x86-64.sh: New file. 3942 * testfile45.S.bz2: New file. 3943 * testfile45.expect.bz2: New file. 3944 * testfile44.S.bz2: New tests. 3945 * testfile44.expect.bz2: Adjust. 3946 39472008-01-04 Ulrich Drepper <drepper@redhat.com> 3948 3949 * testfile44.S.bz2: New tests. 3950 * testfile44.expect.bz2: Adjust. 3951 39522008-01-04 Roland McGrath <roland@redhat.com> 3953 3954 * dwfl-bug-fd-leak.c (main): Add a cast. 3955 39562008-01-03 Ulrich Drepper <drepper@redhat.com> 3957 3958 * testfile44.S.bz2: New tests. 3959 * testfile44.expect.bz2: Adjust. 3960 39612008-01-01 Ulrich Drepper <drepper@redhat.com> 3962 3963 * line2addr.c: Use %m modifier instead of %a to appease gcc. 3964 39652008-01-01 Ulrich Drepper <drepper@redhat.com> 3966 3967 * testfile44.S.bz2: New tests. 3968 * testfile44.expect.bz2: Adjust. 3969 39702007-12-31 Ulrich Drepper <drepper@redhat.com> 3971 3972 * testfile44.S.bz2: New tests. 3973 * testfile44.expect.bz2: Adjust. 3974 39752007-12-30 Ulrich Drepper <drepper@redhat.com> 3976 3977 * testfile44.S.bz2: New tests. 3978 * testfile44.expect.bz2: Adjust. 3979 39802007-12-29 Ulrich Drepper <drepper@redhat.com> 3981 3982 * testfile44.s.bz2: New tests. 3983 * testfile44.expect.bz2: Adjust. 3984 39852007-12-28 Ulrich Drepper <drepper@redhat.com> 3986 3987 * testfile44.S.bz2: New tests. 3988 * testfile44.expect.bz2: Adjust. 3989 39902007-12-27 Ulrich Drepper <drepper@redhat.com> 3991 3992 * testfile44.S.bz2: New tests. 3993 * testfile44.expect.bz2: Adjust. 3994 39952007-12-26 Ulrich Drepper <drepper@redhat.com> 3996 3997 * testfile44.S.bz2: New tests. 3998 * testfile44.expect.bz2: Adjust 3999 40002007-12-21 Ulrich Drepper <drepper@redhat.com> 4001 4002 * testfile44.S.bz2: More tests. 4003 * testfile44.expect.bz2: Adjust appropriately. 4004 40052007-12-19 Ulrich Drepper <drepper@redhat.com> 4006 4007 * Makefile.am (TESTS): Add run-disasm.sh. 4008 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and 4009 testfile44.expect.bz2. 4010 * run-disasm.sh: New file. 4011 * testfile44.S.bz2: New file. 4012 * testfile44.expect.bz2: New file. 4013 40142007-12-15 Roland McGrath <roland@redhat.com> 4015 4016 * run-allregs.sh: Change expected output for powerpc spefscr. 4017 40182007-10-20 Roland McGrath <roland@redhat.com> 4019 4020 * run-dwfl-addr-sect.sh: Change expected output, no errors. 4021 40222007-10-19 Roland McGrath <roland@redhat.com> 4023 4024 * dwfl-addr-sect.c (handle_address): Return int. 4025 Don't exit on error, just return nonzero. 4026 (main): Collect results. 4027 * run-dwfl-addr-sect.sh: New file. 4028 * testfile43.bz2: New data file. 4029 * Makefile.am (EXTRA_DIST, TESTS): Add them. 4030 40312007-10-18 Roland McGrath <roland@redhat.com> 4032 4033 * run-allregs.sh: Update expected ppc output for vrsave/vscr. 4034 40352007-10-16 Roland McGrath <roland@redhat.com> 4036 4037 * test-subr.sh (remove_files): Don't pass -Bb to diff. 4038 40392007-10-09 Roland McGrath <roland@redhat.com> 4040 4041 * dwflmodtest.c (print_module): Don't use %p in output. 4042 * run-dwfl-bug-offline-rel.sh: Updated expected output. 4043 40442007-10-08 Roland McGrath <roland@redhat.com> 4045 4046 * testfile42.bz2: New data file. 4047 * Makefile.am (EXTRA_DIST): Add it. 4048 * run-elflint-test.sh: New test on that file. 4049 40502007-10-04 Roland McGrath <roland@redhat.com> 4051 4052 * run-readelf-test4.sh: New file. 4053 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4054 40552007-10-03 Roland McGrath <roland@redhat.com> 4056 4057 * run-readelf-test3.sh: New file. 4058 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4059 40602007-10-01 Roland McGrath <roland@redhat.com> 4061 4062 * run-readelf-test2.sh: New file. 4063 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4064 40652007-09-11 Roland McGrath <roland@redhat.com> 4066 4067 * run-addrname-test.sh: Add a new case. 4068 * testfile41.bz2: New data file. 4069 * Makefile.am (EXTRA_DIST): Add it. 4070 40712007-08-23 Roland McGrath <roland@redhat.com> 4072 4073 * run-allregs.sh: Update expected x86-64 output for %rflags. 4074 40752007-08-12 Roland McGrath <roland@redhat.com> 4076 4077 * run-strip-test7.sh: New file. 4078 * testfile39.bz2: New data file. 4079 * testfile40.bz2: New data file. 4080 * testfile40.debug.bz2: New data file. 4081 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4082 40832007-08-09 Roland McGrath <roland@redhat.com> 4084 4085 * dwfl-bug-report.c: Fix header inclusion. 4086 40872007-08-08 Roland McGrath <roland@redhat.com> 4088 4089 * run-addrname-test.sh: Add a new case using addr2line -S. 4090 * testfile38.bz2: New data file. 4091 * Makefile.am (EXTRA_DIST): Add it. 4092 40932007-07-16 Roland McGrath <roland@redhat.com> 4094 4095 * dwfl-bug-report.c: New file. 4096 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 4097 (dwfl_bug_report_LDADD): New variable. 4098 40992007-06-06 Roland McGrath <roland@redhat.com> 4100 4101 * run-unstrip-test.sh: Declare testfile.unstrip for removal. 4102 41032007-06-05 Ulrich Drepper <drepper@redhat.com> 4104 4105 * Makefile.am (EXTRA_DIST): Add missing line continuation and 4106 testfile37.bz and testfile37.debug.bz2. 4107 41082007-05-23 Roland McGrath <roland@redhat.com> 4109 4110 * run-allregs.sh: Update expected Alpha results. 4111 41122007-05-18 Roland McGrath <roland@redhat.com> 4113 4114 * run-strip-test4.sh (stripped, debugfile): Use new reference files. 4115 * testfile37.bz2: New data file. 4116 * testfile37.debug.bz2: New data file. 4117 * run-unstrip-test2.sh: New file. 4118 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4119 41202007-05-10 Roland McGrath <roland@redhat.com> 4121 4122 * run-dwfl-bug-offline-rel.sh: New file. 4123 * testfile36.bz2: New data file. 4124 * testfile36.debug.bz2: New data file. 4125 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4126 41272007-04-28 Roland McGrath <roland@redhat.com> 4128 4129 * run-strip-test6.sh (stripped, debugfile): Use new reference files. 4130 * testfile35.bz2: New data file. 4131 * testfile35.debug.bz2: New data file. 4132 * run-unstrip-test.sh: New file. 4133 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4134 4135 * run-strip-test.sh: Do all elflint and cmp runs even when some fail. 4136 41372007-04-26 Roland McGrath <roland@redhat.com> 4138 4139 * run-elflint-self.sh: Run all tests even if one fails. 4140 4141 * run-allregs.sh: Add expected output for alpha. 4142 41432007-04-24 Roland McGrath <roland@redhat.com> 4144 4145 * run-strip-test.sh: When we saved the debug info, test unstrip too. 4146 41472007-04-22 Roland McGrath <roland@redhat.com> 4148 4149 * run-allregs.sh: Update expected register info. 4150 41512007-04-16 Roland McGrath <roland@redhat.com> 4152 4153 * dwfl-addr-sect.c: New file. 4154 * Makefile.am (noinst_PROGRAMS): Add it. 4155 (dwfl_addr_sect_LDADD): New variable. 4156 41572007-04-05 Roland McGrath <roland@redhat.com> 4158 4159 * get-files.c: Test dwarf_getsrcdirs. 4160 * run-get-files.sh: Update expected output. 4161 41622007-04-01 Roland McGrath <roland@redhat.com> 4163 4164 * run-allregs.sh: Updated expected output for x86_64. 4165 41662007-03-04 Roland McGrath <roland@redhat.com> 4167 4168 * dwfl-bug-fd-leak.c: New file. 4169 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 4170 (dwfl_bug_fd_leak_LDADD): New variable. 4171 4172 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf, 4173 show what files have been located. 4174 41752007-02-02 Roland McGrath <roland@redhat.com> 4176 4177 * run-addrname-test.sh: New file. 4178 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4179 * testfile34.bz2: New data file. 4180 * Makefile.am (EXTRA_DIST): Add it. 4181 41822007-01-20 Roland McGrath <roland@redhat.com> 4183 4184 * testfile33.bz2: New data file. 4185 * Makefile.am (EXTRA_DIST): Add it. 4186 * run-elflint-test.sh: Test on it too. 4187 41882007-01-18 Roland McGrath <roland@redhat.com> 4189 4190 * Makefile.am (CFLAGS): Don't molest it. 4191 41922007-01-11 Roland McGrath <roland@redhat.com> 4193 4194 * testfile32.bz2: New data file. 4195 * Makefile.am (EXTRA_DIST): Add it. 4196 * run-elflint-test.sh: Test on it too. 4197 41982007-02-04 Ulrich Drepper <drepper@redhat.com> 4199 4200 * arls.c: New file. 4201 * Makefile (noinst_PROGRAMS): Add arls. 4202 4203 * run-ranlib-test2.sh: Fix type in comment. 4204 42052007-01-10 Ulrich Drepper <drepper@redhat.com> 4206 4207 * run-elflint-self.sh (runtest): Show which file has the problem. 4208 42092007-01-10 Roland McGrath <roland@redhat.com> 4210 4211 * dwfl-bug-addr-overflow.c: New file. 4212 * Makefile.am (TESTS): Add it. 4213 (dwfl_bug_addr_overflow_LDADD): New variable. 4214 42152006-12-17 Roland McGrath <roland@redhat.com> 4216 4217 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg. 4218 42192006-09-05 Roland McGrath <roland@redhat.com> 4220 4221 * run-strings-test.sh: Export LC_ALL=C for the test. 4222 42232006-08-29 Roland McGrath <roland@redhat.com> 4224 4225 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh. 4226 * run-arsymtest.sh: Likewise. 4227 4228 * run-native-test.sh (native.c compilation): Add some braces. 4229 42302006-08-22 Roland McGrath <roland@redhat.com> 4231 4232 * allregs.c (dwarf_encoding_string): New function, swiped from readelf. 4233 (struct reginfo): New members bits, type. 4234 (one_register, match_register): Update to take new args, 4235 record and display new info. 4236 (main): Display new info. 4237 * run-allregs.sh: Update expected results. 4238 42392006-08-03 Roland McGrath <roland@redhat.com> 4240 4241 * run-allregs.sh: Add sparc cases. 4242 * testfile30.bz2: New data file. 4243 * testfile31.bz2: New data file. 4244 * Makefile.am (EXTRA_DIST): Add them. 4245 42462006-07-21 Roland McGrath <roland@redhat.com> 4247 4248 * allregs.c (struct reginfo): Increase size of name. 4249 (one_register): Assert that it's big enough. 4250 42512006-04-04 Roland McGrath <roland@redhat.com> 4252 4253 * run-bug1-test.sh: Test a second case, to cover both byte orders. 4254 * testfile29.bz2: New file. 4255 * testfile29.rdwr.bz2: New file. 4256 * Makefile.am (EXTRA_DIST): Add them. 4257 42582006-04-04 Ulrich Drepper <drepper@redhat.com> 4259 4260 * Makefile.am: Add rules to run run-bug1-test.sh. 4261 * rdwrmmap.c: New file. 4262 * run-bug1-test.sh: New file. 4263 * testfile28.bz2: New file. 4264 * testfile28.rdwr.bz2: New file. 4265 42662006-03-09 Roland McGrath <roland@redhat.com> 4267 4268 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link. 4269 42702006-03-01 Roland McGrath <roland@redhat.com> 4271 4272 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h 4273 changes matching 3.0 spec. 4274 42752006-01-13 Roland McGrath <roland@redhat.com> 4276 4277 * run-native-test.sh: Do kill -9 and reap explicitly at end, since 4278 bash 3.1 whines when it's done in the trap 0 handler. 4279 42802006-01-11 Roland McGrath <roland@redhat.com> 4281 4282 * testfile26.bz2: New data file. 4283 * testfile27.bz2: New data file. 4284 * Makefile.am (EXTRA_DIST): Add them. 4285 * run-allregs.sh: Test s390 data. 4286 42872005-12-14 Roland McGrath <roland@redhat.com> 4288 4289 * run-native-test.sh: Redirect output from native test process. 4290 42912005-12-13 Roland McGrath <roland@redhat.com> 4292 4293 * allregs.c (main): Fail if we find no registers. 4294 4295 * run-native-test.sh: New file. 4296 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4297 42982005-12-10 Ulrich Drepper <drepper@redhat.com 4299 4300 * run-readelf-test1.sh: New file. 4301 * Makefile.am (TESTS): Add run-readelf-test1.sh. 4302 (EXTRA_DIST): Likewise. 4303 43042005-12-07 Roland McGrath <roland@redhat.com> 4305 4306 * ecp.c (main): Use elf_end to clean up. 4307 43082005-11-25 Roland McGrath <roland@redhat.com> 4309 4310 * coverage.sh: Given -v argument, print names of unused files. 4311 4312 * addrscopes.c (main): Use dwfl_end before return. 4313 * allregs.c (main): Likewise. 4314 * find-prologues.c (main): Likewise. 4315 * funcretval.c (main): Likewise. 4316 * funcscopes.c (main): Likewise. 4317 * line2addr.c (main): Likewise. 4318 4319 * run-allregs.sh: New file. 4320 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4321 4322 * allregs.c: Use libdwfl wrapper instead of direct libebl calls. 4323 * Makefile.am (allregs_LDADD): Updated. 4324 4325 * allregs.c: New file. 4326 * Makefile.am (noinst_PROGRAMS): Add it. 4327 (allregs_LDADD): New variable. 4328 43292005-11-18 Roland McGrath <roland@redhat.com> 4330 4331 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib. 4332 * test-wrapper.sh: Likewise. 4333 43342005-11-17 Roland McGrath <roland@redhat.com> 4335 4336 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in 4337 environment for test-wrapper.sh. 4338 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib. 4339 * test-subr.sh (installed_testrun): Likewise. 4340 Use explicit path in ${bindir}. 4341 4342 * Makefile.am (installcheck-local): Fix typo in last change. 4343 43442005-11-16 Roland McGrath <roland@redhat.com> 4345 4346 * configure.ac: New file, for standalone build/dist of test suite. 4347 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. 4348 (asm_TESTS): New variable, broken out of ... 4349 (TESTS): ... here. Also remove msg_tst. 4350 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. 4351 (installed_TESTS_ENVIRONMENT): New variable. 4352 [STANDALONE] (TESTS_ENVIRONMENT): Use that. 4353 [!STANDALONE] (installcheck-local): Likewise. 4354 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. 4355 * addrscopes.c: Include <config.h>. 4356 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. 4357 * allfcts.c: Likewise. 4358 * asm-tst1.c: Likewise. 4359 * asm-tst2.c: Likewise. 4360 * asm-tst3.c: Likewise. 4361 * asm-tst4.c: Likewise. 4362 * asm-tst5.c: Likewise. 4363 * asm-tst6.c: Likewise. 4364 * asm-tst7.c: Likewise. 4365 * asm-tst8.c: Likewise. 4366 * asm-tst9.c: Likewise. 4367 * dwflmodtest.c: Likewise. 4368 * find-prologues.c: Likewise. 4369 * funcscopes.c: Likewise. 4370 * get-aranges.c: Likewise. 4371 * get-files.c: Likewise. 4372 * get-lines.c: Likewise. 4373 * get-pubnames.c: Likewise. 4374 * line2addr.c: Likewise. 4375 * newscn.c: Likewise. 4376 * show-abbrev.c: Likewise. 4377 * show-die-info.c: Likewise. 4378 * update3.c: Likewise. 4379 * update4.c: Likewise. 4380 * funcretval.c: Likewise. 4381 4382 * dwflmodtest.c (print_instance): Don't use INTUSE. 4383 (options): Don't use N_ macro. 4384 43852005-11-15 Roland McGrath <roland@redhat.com> 4386 4387 * coverage.sh: Look in backends. 4388 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl. 4389 (TESTS_ENVIRONMENT): Likewise. 4390 4391 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE, 4392 pass FUNCDIE direclty to dwfl_module_return_value_location. 4393 4394 * Makefile.am (BUILD_RPATH): New variable. 4395 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value. 4396 (tests_rpath): New variable. 4397 (installcheck-local): Pass it to test-wrapper.sh. 4398 * test-wrapper.sh: In "installed" format, take yes/no value 4399 for elfutils_tests_rpath, which export. When running a test 4400 binary for installcheck, exit 77. 4401 * test-subr.sh (installed_testrun): When running a test binary 4402 for installcheck, exit 77 if $elfutils_tests_rpath = yes. 4403 44042005-11-14 Roland McGrath <roland@redhat.com> 4405 4406 * test-subr.sh: New file. 4407 * test-wrapper.sh: New file. 4408 * Makefile.am (EXTRA_DIST): Add them. 4409 (AM_LDFLAGS): Variable removed. 4410 (TESTS_ENVIRONMENT): New variable. 4411 (installcheck-local): New target. 4412 * run-addrscopes.sh: Use test-subr.sh. 4413 * run-allfcts.sh: Likewise. 4414 * run-ecp-test.sh: Likewise. 4415 * run-ecp-test2.sh: Likewise. 4416 * run-elflint-self.sh: Likewise. 4417 * run-elflint-test.sh: Likewise. 4418 * run-find-prologues.sh: Likewise. 4419 * run-funcscopes.sh: Likewise. 4420 * run-get-aranges.sh: Likewise. 4421 * run-get-files.sh: Likewise. 4422 * run-get-lines.sh: Likewise. 4423 * run-get-pubnames.sh: Likewise. 4424 * run-line2addr.sh: Likewise. 4425 * run-ranlib-test.sh: Likewise. 4426 * run-ranlib-test2.sh: Likewise. 4427 * run-show-abbrev.sh: Likewise. 4428 * run-show-ciefde.sh: Likewise. 4429 * run-show-die-info.sh: Likewise. 4430 * run-strings-test.sh: Likewise. 4431 * run-strip-test.sh: Likewise. 4432 44332005-11-13 Roland McGrath <roland@redhat.com> 4434 4435 * funcretval.c: New file. 4436 * Makefile.am (noinst_PROGRAMS): Add it. 4437 (funcretval_LDADD): New variable. 4438 44392005-11-09 Ulrich Drepper <drepper@redhat.com> 4440 4441 * line2addr.c (handle_module): Add missing parameter to printf. 4442 44432005-10-27 Roland McGrath <roland@redhat.com> 4444 4445 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes. 4446 * funcscopes.c (handle_function): Likewise. 4447 * dwflmodtest.c (print_inline, print_func): Likewise. 4448 * find-prologues.c (handle_function): Likewise. 4449 44502005-10-27 Roland McGrath <roland@redhat.com> 4451 4452 * run-find-prologues.sh: New file. 4453 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4454 4455 * find-prologues.c (handle_function): Skip inlines. 4456 44572005-10-25 Roland McGrath <roland@redhat.com> 4458 4459 * find-prologues.c: New file. 4460 * Makefile.am (noinst_PROGRAMS): Add it. 4461 (find_prologues_LDADD): New variable. 4462 44632005-09-02 Ulrich Drepper <drepper@redhat.com> 4464 4465 * run-strings-test.sh: Remove strings.out in the end. 4466 44672005-08-31 Ulrich Drepper <drepper@redhat.com> 4468 4469 * run-addrscopes.sh: Use correct exit code if test cannot be performed. 4470 * run-allfcts.sh: Likewise. 4471 * run-ecp-test.sh: Likewise. 4472 * run-ecp-test2.sh: Likewise. 4473 * run-elflint-test.sh: Likewise. 4474 * run-funcscopes.sh: Likewise. 4475 * run-get-aranges.sh: Likewise. 4476 * run-get-files.sh: Likewise. 4477 * run-get-lines.sh: Likewise. 4478 * run-get-pubnames.sh: Likewise. 4479 * run-line2addr.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-08-30 Ulrich Drepper <drepper@redhat.com> 4488 4489 * coverage.sh: Handle case where there is no .gcno file at all. 4490 44912005-08-29 Ulrich Drepper <drepper@redhat.com> 4492 4493 * Makefile.am (EXTRA_DIST): Add coverage. 4494 [GCOV]: Generate coverage summary after the tests ran 4495 * coverage.sh: New file. 4496 44972005-08-28 Ulrich Drepper <drepper@redhat.com> 4498 4499 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl. 4500 (CLEANFILES): Add *.gcno *.gcda *.gconv. 4501 45022005-08-28 Ulrich Drepper <drepper@redhat.com> 4503 4504 * run-strings-test.sh: New file. 4505 * Makefile.am (TESTS, EXTRA_DIST): Add it. 4506 45072005-08-27 Roland McGrath <roland@redhat.com> 4508 4509 * addrscopes.c (handle_address): Apply bias to PC addresses. 4510 4511 * run-funcscopes.sh: New file. 4512 * testfile25.bz2: New data file. 4513 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4514 45152005-08-26 Roland McGrath <roland@redhat.com> 4516 4517 * addrscopes.c (dwarf_diename_integrate): Removed. 4518 (print_vars, handle_address): Use plain dwarf_diename. 4519 45202005-08-25 Roland McGrath <roland@redhat.com> 4521 4522 * funcscopes.c: New file. 4523 * Makefile.am (noinst_PROGRAMS): Add it. 4524 (funcscopes_LDADD): New variable. 4525 4526 * run-addrscopes.sh: Add another case. 4527 * testfile24.bz2: New data file. 4528 * Makefile.am (EXTRA_DIST): Add it. 4529 4530 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES, 4531 pass it to dwarf_getscopes. 4532 (main): Pass it, true when '=' follows an address. 4533 45342005-08-24 Roland McGrath <roland@redhat.com> 4535 4536 * line2addr.c (print_address): Omit () for DSOs. 4537 45382005-08-24 Ulrich Drepper <drepper@redhat.com> 4539 4540 * run-line2addr.sh: Remove testfile23 in the end. 4541 4542 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl). 4543 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules. 4544 45452005-08-22 Roland McGrath <roland@redhat.com> 4546 4547 * run-line2addr.sh: Add a case. 4548 * testfile23.bz2: New data file. 4549 * Makefile.am (EXTRA_DIST): Add it. 4550 45512005-08-18 Roland McGrath <roland@redhat.com> 4552 4553 * run-addrscopes.sh: New file. 4554 * testfile22.bz2: New data file. 4555 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4556 4557 * addrscopes.c: New file. 4558 * Makefile.am (noinst_PROGRAMS): Add it. 4559 (addrscopes_LDADD): New variable. 4560 45612005-08-15 Ulrich Drepper <drepper@redhat.com> 4562 4563 * run-elflint-self.sh: Don't run test if the file doesn't exist. 4564 45652005-08-15 Roland McGrath <roland@redhat.com> 4566 4567 * dwflmodtest.c (print_instance, print_inline): New functions. 4568 (print_func): Call print_inline. 4569 (options, parse_opt): Grok -i/--inlines. 4570 45712005-08-07 Roland McGrath <roland@redhat.com> 4572 4573 * dwflmodtest.c: Print function details only if -f flag is given. 4574 45752005-08-06 Ulrich Drepper <drepper@redhat.com> 4576 4577 * run-elflint-self.sh: New file. 4578 * Makefile.am (TESTS): Add run-elflint-self.sh. 4579 (EXTRA_DIST): Likewise. 4580 4581 * Makefile.am: Link with statis libs if BUILD_STATIC. 4582 (dwflmodtest_LDADD): Also link with -ldl. 4583 45842005-08-02 Ulrich Drepper <drepper@redhat.com> 4585 4586 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS. 4587 * asm-tst1.c: Adjust for new asm_begin interface. Open backend 4588 library first. 4589 * asm-tst2.c: Likewise. 4590 * asm-tst3.c: Likewise. 4591 * asm-tst4.c: Likewise. 4592 * asm-tst5.c: Likewise. 4593 * asm-tst6.c: Likewise. 4594 * asm-tst7.c: Likewise. 4595 * asm-tst8.c: Likewise. 4596 * asm-tst9.c: Likewise. 4597 4598 * msg_tst.c: Add new error message. 4599 46002005-07-28 Ulrich Drepper <drepper@redhat.com> 4601 4602 * Makefile.am (dwflmodtest_LDADD): Add $(libebl). 4603 46042005-06-01 Roland McGrath <roland@redhat.com> 4605 4606 * line2addr.c: Rewritten using libdwfl. 4607 * run-line2addr.sh: Update test for changed arguments. 4608 * Makefile.am (INCLUDES): Add libdwfl source directory to path. 4609 (libdwfl): New variable. 4610 (line2addr_LDADD): Use it. 4611 46122005-07-28 Roland McGrath <roland@redhat.com> 4613 4614 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here. 4615 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest. 4616 (dwflmodtest_LDADD): New variable. 4617 (INCLUDES): Add -I$(top_srcdir)/libdwfl here. 4618 46192005-07-21 Ulrich Drepper <drepper@redhat.com> 4620 4621 * testfile18.bz2: New file. 4622 * run-elflint-test.sh: New file. 4623 * Makefile.am (TESTS): Add run-elflint-test.sh. 4624 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. 4625 46262005-05-24 Ulrich Drepper <drepper@redhat.com> 4627 4628 * get-files.c (main): Use correct format specifier. 4629 46302005-05-21 Ulrich Drepper <drepper@redhat.com> 4631 4632 * Makefile.am: Add -Wextra to CFLAGS. 4633 * get-files.c: Remove warning this produced. 4634 * get-pubnames.c: Likewise. 4635 * newfile.c: Likewise. 4636 * newscn.c: Likewise. 4637 * scnnames.c: Likewise. 4638 * showptable.c: Likewise. 4639 * test-nlist.c: Likewise. 4640 * update1.c: Likewise. 4641 * update2.c: Likewise. 4642 * update3.c: Likewise. 4643 * update4.c: Likewise. 4644 46452005-05-08 Ulrich Drepper <drepper@redhat.com> 4646 4647 * run-line2addr.sh: Remove testfile14 at the end. 4648 4649 * run-strip-test.sh: Remove debuginfo test input file as well. 4650 4651 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used 4652 .bz, not .bz2. 4653 46542005-05-03 Roland McGrath <roland@redhat.com> 4655 4656 * run-strip-test.sh: Use variables for test file names. 4657 Optionally produce separate debug file and check it. 4658 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication. 4659 * run-strip-test3.sh: Likewise. 4660 * run-strip-test4.sh: New file. 4661 * run-strip-test5.sh: New file. 4662 * run-strip-test6.sh: New file. 4663 * testfile15.bz: New file. 4664 * testfile15.debug.bz: New file. 4665 * testfile16.bz: New file. 4666 * testfile16.debug.bz: New file. 4667 * testfile17.bz: New file. 4668 * testfile17.debug.bz: New file. 4669 * Makefile.am (TESTS, EXTRA_DIST): Add them. 4670 46712005-04-25 Ulrich Drepper <drepper@redhat.com> 4672 4673 * run-line2addr.sh: Also use testfile14. Adjust for correct 4674 return of multiple matches. 4675 * testfile14.bz2: New file. 4676 * Makefile.am (EXTRA_DIST): Add testfile14.bz2. 4677 4678 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change. 4679 46802005-04-04 Roland McGrath <roland@redhat.com> 4681 4682 * line2addr.c (main): Initialize LINES and NLINES before calling 4683 dwarf_getsrc_file, and free LINES afterwards. 4684 4685 * allfcts.c (main): Use size_t for CUHL. 4686 46872005-04-04 Ulrich Drepper <drepper@redhat.com> 4688 4689 * line2addr.c: New file. 4690 * run-line2addr.sh: New file. 4691 * Makefile.am: Add rules to build, run, and distribute new code. 4692 46932005-04-02 Ulrich Drepper <drepper@redhat.com> 4694 4695 * allfcts.c: New file. 4696 * run-allfcts.sh: New file. 4697 * Makefile.am: Add rules to build, run, and distribute new code. 4698 46992005-02-05 Ulrich Drepper <drepper@redhat.com> 4700 4701 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test 4702 programs with -lmudflap. 4703 47042004-09-25 Ulrich Drepper <drepper@redhat.com> 4705 4706 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation. 4707 * asm-tst5.c (main): Likewise. 4708 * asm-tst6.c (main): Likewise. 4709 47102004-01-17 Ulrich Drepper <drepper@redhat.com> 4711 4712 * Makefile.am: Support building with mudflap. 4713 47142004-01-12 Ulrich Drepper <drepper@redhat.com> 4715 4716 * get-aranges.c: Rewrite to use libdw. 4717 * Makefile.am: Reenable get-aranges test. 4718 47192004-01-11 Ulrich Drepper <drepper@redhat.com> 4720 4721 * get-lines.c: New file. 4722 * get-files.c: Adjust for libdw. 4723 * run-get-files.sh: Adjust expected result. 4724 * run-get-lines.sh: Likewise. 4725 * Makefile.am: Run get-lines test. Don't run get-aranges and 4726 get-ciefde test for now. 4727 4728 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface 4729 change. Print attribute offset information. 4730 * run-show-abbrev.sh: Adjust expected output. 4731 47322004-01-09 Ulrich Drepper <drepper@redhat.com> 4733 4734 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change. 4735 * show-die-info.c: Likewise. 4736 * run-show-die-info.sh: Adjust expected output. 4737 47382003-08-13 Ulrich Drepper <drepper@redhat.com> 4739 4740 * Makefile.in: Depend on libebl.a, not libebl.so. 4741 47422003-08-11 Ulrich Drepper <drepper@redhat.com> 4743 4744 * Moved to CVS archive. 4745