12014-12-19 Mark Wielaard <mjw@redhat.com> 2 3 * run-deleted.sh: Don't check libfunc on ppc64. 4 52014-12-19 Mark Wielaard <mjw@redhat.com> 6 7 * vdsosyms.c (vdso_seen): Removed. 8 (vdso_syms): New global. 9 (module_callback): Set and check vdso_syms. 10 (main): Return value depends on vdso_syms. 11 122014-12-19 Mark Wielaard <mjw@redhat.com> 13 14 * backtrace-subr.sh (check_native_unsupported): Relax special ARM 15 grep a little. 16 * run-deleted.sh: Call check_native_unsupported. 17 182014-12-18 Mark Wielaard <mjw@redhat.com> 19 20 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2. 21 222014-12-12 Mark Wielaard <mjw@redhat.com> 23 24 * Makefile.am (deleted_lib_so_CFLAGS): Add 25 -fasynchronous-unwind-tables. 26 272014-12-11 Josh Stone <jistone@redhat.com> 28 29 * run-addr2line-i-lex-test.sh: New test. 30 * testfile-lex-inlines.bz2: New testfile. 31 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and 32 testfile-lex-inlines.bz2. 33 (TESTS): Add run-addr2line-i-lex-test.sh. 34 352014-12-10 Josh Stone <jistone@redhat.com> 36 37 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is 38 preferred over the plain die name. 39 402014-12-02 Petr Machata <pmachata@redhat.com> 41 42 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef, 43 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch. 44 (main): Initialize off to DWARF_GETMACROS_START when an extra 45 command line argument is passed. 46 * testfile-macros-0xff.bz2: New test case. 47 * testfile-macros-0xff.s: New file (source for the above). 48 * run-dwarf-getmacros.sh: Add two tests. 49 502014-11-27 Mark Wielaard <mjw@redhat.com> 51 52 * vdsosyms.c (main): Call dwfl_linux_proc_attach. 53 542014-11-21 Mark Wielaard <mjw@redhat.com> 55 56 * run-readelf-A.sh: New test. 57 * testfileppc32attrs.o.bz2: New test file. 58 * Makefile.am (TESTS): Add run-readelf-A.sh. 59 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2. 60 612014-11-10 Mark Wielaard <mjw@redhat.com> 62 63 * vdsosyms.c: New test. 64 * Makefile.am (check_PROGRAMS): Add vdsosyms. 65 (TESTS): Likewise. 66 (vdsosyms_LDADD): New variable. 67 682014-09-10 Petr Machata <pmachata@redhat.com> 69 70 * dwarf-getmacros.c: Update to use the new macro iteration 71 interfaces. 72 * run-dwarf-getmacros.sh: Adjust, add a test that uses 73 testfile-macros. 74 752014-10-06 Mark Wielaard <mjw@redhat.com> 76 77 * run-aggregate-size.sh: Add testfile-sizes3.o test case. 78 * testfile-sizes3.o.bz2: New test file. 79 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2. 80 812014-10-02 Mark Wielaard <mjw@redhat.com> 82 83 * run-deleted.sh: Unset VALGRIND_CMD before running deleted. 84 852014-10-02 Mark Wielaard <mjw@redhat.com> 86 87 * Makefile.am (check_PROGRAMS): Add aggregate_size.c. 88 (TESTS): Add run-aggregate-size.sh. 89 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2 90 and testfile-sizes2.o.bz2. 91 (aggregate_size_LDADD): New variable. 92 * aggregate_size.c: New file. 93 * run-aggregate-size.sh: New test. 94 * testfile-sizes1.o.bz2: New test file. 95 * testfile-sizes2.o.bz2: Likewise. 96 972014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com> 98 99 Support NT_FILE for locating files. 100 * Makefile.am (TESTS): Add run-linkmap-cut.sh. 101 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2, 102 linkmap-cut.bz2 and linkmap-cut.core.bz2 . 103 * linkmap-cut-lib.so.bz2: New file. 104 * linkmap-cut.bz2: New file. 105 * linkmap-cut.core.bz2: New file. 106 * run-linkmap-cut.sh: New file. 107 * run-unstrip-n.sh: Update its expected output. 108 1092014-08-28 Jan Kratochvil <jan.kratochvil@redhat.com> 110 111 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so. 112 (TESTS, EXTRA_DIST): Add run-deleted.sh. 113 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New. 114 * deleted-lib.c: New file. 115 * deleted.c: New file. 116 * run-deleted.sh: New file. 117 1182014-06-15 Mark Wielaard <mjw@redhat.com> 119 120 * backtrace.c (frame_callback): Error on seeing more than 16 frames. 121 1222014-06-13 Mark Wielaard <mjw@redhat.com> 123 124 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first 125 frame symname. 126 1272014-06-13 Mark Wielaard <mjw@redhat.com> 128 129 * backtrace-subr.sh (check_native_unsupported): New function. 130 (check_native): Call it. 131 (check_native_core): Likewise. 132 * run-backtrace-dwarf.sh: Likewise. 133 1342014-06-11 Mark Wielaard <mjw@redhat.com> 135 136 * backtrace.c (main): Check that Dwfl was attached by calling 137 dwfl_pid and printing the error when it is not. 138 1392014-05-18 Mark Wielaard <mjw@redhat.com> 140 141 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static. 142 (f): Likewise. 143 * testfile-backtrace-demangle.bz2: Regenerate. 144 * testfile-backtrace-demangle.core.bz2: Likewise. 145 1462014-05-02 Mark Wielaard <mjw@redhat.com> 147 148 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and 149 run-allfcts-multi.sh are now added unconditionally. 150 1512014-05-01 Mark Wielaard <mjw@redhat.com> 152 153 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz 154 subdir. 155 1562014-04-30 Mark Wielaard <mjw@redhat.com> 157 158 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files. 159 * Makefile.am (check_PROGRAMS): Add buildid. 160 (TESTS): Add run-buildid.sh. 161 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2. 162 (buildid_LDADD): New variable. 163 1642014-04-24 Florian Weimer <fweimer@redhat.com> 165 166 * allfcts.c (setup_alt): New function. 167 (main): Call it. Implementation additional error checking and 168 reporting. 169 1702014-04-24 Florian Weimer <fweimer@redhat.com> 171 172 * debugaltlink.c, run-debugaltlink.sh: New files. 173 * Makefile.am (check_PROGRAMS): Add debugaltlink. 174 (TESTS): Add run-debugaltlink.sh. 175 (debugaltlink_LDADD): New variable. 176 1772014-04-11 Mark Wielaard <mjw@redhat.com> 178 179 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf. 180 (check_PROGRAMS): Add debuglink. 181 (TESTS): Add run-debuglink.sh 182 (EXTRA_DIST): Likewise. 183 (debuglink_LDADD): New. 184 * debuglink.c: New file. 185 * run-debuglink.sh: Likewise. 186 1872014-03-23 Mark Wielaard <mjw@redhat.com> 188 189 * run-nm-self.sh: Use test = not == for string comparisons. 190 1912014-04-22 Kurt Roeckx <kurt@roeckx.be> 192 193 * backtrace.c: Make Linux only. 194 * backtrace-child.c: Make Linux only. 195 * backtrace-data.c: Make Linux only. 196 * backtrace-dwarf.c: Make Linux only. 197 * backtrace-subr.sh: Skip core file unwinding tests when not supported. 198 1992014-03-14 Mark Wielaard <mjw@redhat.com> 200 201 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all 202 LDADD lines. 203 * configure.ac: Remove MUDFLAP conditional. 204 2052014-04-09 Mark Wielaard <mjw@redhat.com> 206 207 * run-readelf-zdebug.sh: New test. 208 * testfile-debug.bz2: New testfile. 209 * testfile-zdebug.bz2: New testfile. 210 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB. 211 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and 212 testfile-zdebug.bz2. 213 2142014-04-10 Mark Wielaard <mjw@redhat.com> 215 216 * testfile_i686_core.bz2: New test file. 217 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test. 218 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2 219 2202014-04-09 Mark Wielaard <mjw@redhat.com> 221 222 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh. 223 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh, 224 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2. 225 * run-backtrace-core-aarch64.sh: New test. 226 2272014-03-11 Josh Stone <jistone@redhat.com> 228 229 * testfilebaxmin.bz2: New testfile. 230 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2. 231 * run-readelf-s.sh: Test testfilebaxmin. 232 * run-dwflsyms.sh: Likewise. 233 2342014-01-26 Mark Wielaard <mjw@redhat.com> 235 236 * backtrace-subr.sh (check_unsupported): Special case arm*. 237 2382014-01-25 Mark Wielaard <mjw@redhat.com> 239 240 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to 241 location expression: call_frame_cfa stack_value. 242 2432014-01-22 Mark Wielaard <mjw@redhat.com> 244 245 * Makefile.am (line2addr_no_Wformat): Removed. 246 2472014-01-21 Mark Wielaard <mjw@redhat.com> 248 249 * Makefile.am (TESTS): Add run-stack-i-test.sh. 250 (EXTRA_DIST): Likewise. 251 * run-stack-i-test.sh: New test. 252 2532014-01-20 Mark Wielaard <mjw@redhat.com> 254 255 * Makefile.am (TESTS): Add run-stack-d-test.sh. 256 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2 257 testfiledwarfinlines.core.bz2. 258 * run-stack-d-test.sh: New test. 259 * testfiledwarfinlines.bz2: New test file. 260 * testfiledwarfinlines.core.bz2: Likewise. 261 2622014-01-16 Mark Wielaard <mjw@redhat.com> 263 264 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun 265 on one ET_REL, one ET_EXEC and one ET_DYN file. 266 * test-subr.sh (self_test_files): Add two ET_REL files, only add 267 two libebl ET_DYN backend files. 268 2692014-01-16 Mark Wielaard <mjw@redhat.com> 270 271 * run-backtrace-demangle.sh: Check exitcode and max number of frames. 272 2732014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com> 274 275 Fix false FAILs on testsuite with ulimit -c unlimited. 276 * backtrace-child.c (sigusr2): Call pthread_exit. 277 (main): Return, do not call abort. 278 2792014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> 280 281 Fix corruption of non-C++ symbols by the demangler. 282 * Makefile.am (TESTS): Add run-backtrace-demangle.sh. 283 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export. 284 (EXTRA_DIST): Add run-backtrace-demangle.sh, 285 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc, 286 testfile-backtrace-demangle.core.bz2. 287 * backtrace-demangle.cc: New file. 288 * run-backtrace-demangle.sh: New file. 289 * testfile-backtrace-demangle.bz2: New file. 290 * testfile-backtrace-demangle.cc: New file. 291 * testfile-backtrace-demangle.core.bz2: New file. 292 2932014-01-07 Matthias Klose <doko@ubuntu.com> 294 295 * backtrace-subr.sh (check_native_core): Check to see if core file 296 was created without ".PID" extension, if so mv core to core.PID. 297 Skip test if no core file was created or could be found. 298 2992014-01-04 Mark Wielaard <mjw@redhat.com> 300 301 * backtrace-data.c (main): Don't assert if raise returns. 302 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with 303 assume_ptrace_attached true. 304 (ptrace_detach_stopped): Removed function. 305 (main): Don't call ptrace_detach_stopped. 306 * backtrace.c (ptrace_detach_stopped): Removed function. 307 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached 308 true. 309 (exec_dump): Don't call ptrace_detach_stopped. 310 3112014-01-04 Mark Wielaard <mjw@redhat.com> 312 313 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test 314 if we cannot adjust core ulimit. 315 3162014-01-04 Mark Wielaard <mjw@redhat.com> 317 318 * cleanup-13.c (force_unwind_stop): Removed. 319 (force_unwind): Just call abort. Don't setup _Unwind_Exception and 320 don't call _Unwind_ForcedUnwind. 321 3222014-01-03 Mark Wielaard <mjw@redhat.com> 323 324 * run-addrcfi.sh: Add case for EM_AARCH64. 325 * testfileaarch64.bz2: New testfile. 326 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2. 327 3282013-12-30 Mark Wielaard <mjw@redhat.com> 329 330 * backtrace-dwarf.c (report_pid): Explicitly call 331 dwfl_linux_proc_attach and check for errors. 332 * backtrace.c (report_pid): Likewise. 333 3342013-12-21 Mark Wielaard <mjw@redhat.com> 335 336 * backtrace.c (callback_verify): Only assert that case 5 is the last 337 instruction of backtracegen on x86_64 native. 338 3392013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 340 Mark Wielaard <mjw@redhat.com> 341 342 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2 343 and testfilebaz*ppc64*.bz2 files. 344 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print 345 error on dwfl_module_getsymtab error. 346 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info. 347 Compare values for non-ET_REL. Use dwfl_module_addrinfo. 348 Also print section of actual value if different from sym. 349 * run-addrname-test.sh (testfile66, testfile66.core): New tests. 350 Test addr2line -x by showing different sections for address and 351 found name in testfile66. 352 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko, 353 testfilebaz*ppc64): New tests. 354 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2, 355 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2, 356 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2, 357 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2, 358 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2, 359 testfilebaztabppc64.bz2: New test files. 360 3612013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com> 362 363 unwinder: s390 and s390x 364 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and 365 run-backtrace-core-s390.sh. 366 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2, 367 backtrace.s390.core.bz2, backtrace.s390.exec.bz2, 368 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh. 369 * backtrace.s390.core.bz2: New file. 370 * backtrace.s390.exec.bz2: New file. 371 * backtrace.s390x.core.bz2: New file. 372 * backtrace.s390x.exec.bz2: New file. 373 * run-backtrace-core-s390.sh: New file. 374 * run-backtrace-core-s390x.sh: New file. 375 3762013-12-17 Jan Kratochvil <jan.kratochvil@redhat.com> 377 378 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused 379 code. 380 3812013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> 382 383 unwinder: ppc 384 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh. 385 (EXTRA_DIST): Add backtrace.ppc.core.bz2, 386 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh. 387 * backtrace.ppc.core.bz2: New file. 388 * backtrace.ppc.exec.bz2: New file. 389 * run-backtrace-core-ppc.sh: New file. 390 3912013-12-10 Mark Wielaard <mjw@redhat.com> 392 393 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c. 394 3952013-12-10 Mark Wielaard <mjw@redhat.com> 396 397 * Makefile.am (valgrind_cmd): Remove --trace-children=yes. 398 * backtrace-subr.sh (check_native_core): Disable valgrind while 399 dumping core. 400 * run-backtrace-data.sh: Disable valgrind. 401 * run-backtrace-dwarf.sh: Likewise. 402 4032013-12-09 Mark Wielaard <mjw@redhat.com> 404 405 * varlocs.c (print_expr): Update comment to explain empty location 406 associated with DW_OP_GNU_implicit_pointer. 407 4082013-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> 409 410 Fix test FAIL with -O2. 411 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub. 412 4132013-12-05 Mark Wielaard <mjw@redhat.com> 414 415 * backtrace-data.c (main): If unsupported also print to stderr. 416 * run-backtrace-dwarf.sh: Add check_unsupported and check_main. 417 4182013-12-04 Mark Wielaard <mjw@redhat.com> 419 420 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT). 421 4222013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com> 423 424 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child, 425 backtrace-data and backtrace-dwarf. 426 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New. 427 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh, 428 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh, 429 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 430 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh. 431 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH. 432 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh, 433 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh, 434 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 435 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh, 436 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2, 437 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2. 438 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS) 439 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD): 440 New. 441 * backtrace-child.c: New file. 442 * backtrace-data.c: New file. 443 * backtrace-dwarf.c: New file. 444 * backtrace-subr.sh: New file. 445 * backtrace.c: New file. 446 * cleanup-13.c: New file. 447 * backtrace.i386.core.bz2: New file. 448 * backtrace.i386.exec.bz2: New file. 449 * backtrace.x86_64.core.bz2: New file. 450 * backtrace.x86_64.exec.bz2: New file. 451 * run-backtrace-core-i386.sh: New file. 452 * run-backtrace-core-x86_64.sh: New file. 453 * run-backtrace-native-biarch.sh: New file. 454 * run-backtrace-native-core-biarch.sh: New file. 455 * run-backtrace-native-core.sh: New file. 456 * run-backtrace-native.sh: New file. 457 * run-backtrace-data.sh: New file. 458 * run-backtrace-dwarf.sh: New file. 459 4602013-11-27 Mark Wielaard <mjw@redhat.com> 461 462 * dwflsyms.c (gelf_bind_order): New function. 463 (elf_section_name): Likewise. 464 (addr_in_section): Likewise. 465 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf. 466 Refine assert using gelf_bind_order. Print elf_section_name. Check 467 bias with addr_in_section. 468 * run-dwflsyms.sh: Add section names to expected output. 469 4702013-11-26 Mark Wielaard <mjw@redhat.com> 471 472 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh. 473 4742013-11-25 Petr Machata <pmachata@redhat.com> 475 476 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files. 477 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise. 478 * Makefile.am (EXTRA_DIST): Add these. 479 (TESTS): Add run-funcretval.sh. 480 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test. 481 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test. 482 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2. 483 * run-funcretval.sh: New file. 484 4852013-11-18 Josh Stone <jistone@redhat.com> 486 487 * testfilebazdbg_plr.bz2: New testfile. 488 * testfilebazmin_plr.bz2: Likewise. 489 * Makefile.am (EXTRA_DIST): Add the above files. 490 * run-dwflsyms.sh: Add prelink -r tests. 491 4922013-11-15 Mark Wielaard <mjw@redhat.com> 493 494 * testfilebazmdb.bz2: Regenerated. 495 * testfilebazmin.bz2: Likewise. 496 * testfilebazdbg_pl.bz2: New testfile. 497 * testfilebazmin_pl.bz2: Likewise. 498 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and 499 testfilebazmin_pl.bz2. 500 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and 501 print relative address of function symbols. 502 * run-dwflsyms.sh: Add prelink tests and adjust expected output. 503 5042013-11-01 Michael Forney <mforney@mforney.org> 505 506 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM. 507 * run-arsymtest.sh: Use NM. 508 5092013-11-05 Mark Wielaard <mjw@redhat.com> 510 511 * allfcts.c (main): Correct dwarf_getfuncs return value check. 512 5132013-10-10 Mark Wielaard <mjw@redhat.com> 514 Josh Stone <jistone@redhat.com> 515 516 * run-allfcts-multi.sh: New test. 517 * test-offset-loop.bz2: New testfile. 518 * test-offset-loop.alt.bz2: New testfile. 519 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ. 520 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and 521 test-offset-loop.alt.bz2. 522 5232013-10-15 Mark Wielaard <mjw@redhat.com> 524 525 * run-unstrip-M.sh: New test. 526 * Makefile.am (TESTS): Add run-unstrip-M.sh. 527 (EXTRA_DIST): Likewise. 528 5292013-10-06 Mark Wielaard <mjw@redhat.com> 530 531 * run-addrcfi.sh: Remove nop from expected ppc and ppc64 532 location expression. 533 5342013-10-03 Josh Stone <jistone@redhat.com> 535 536 * typeiter2.c: New file, reversing typeiter.c. 537 * run-typeiter.sh: Also run typeiter2. 538 * Makefile.am (check_PROGRAMS): Add typeiter2. 539 (typeiter2_LDADD): New variable. 540 5412013-09-26 Petr Machata <pmachata@redhat.com> 542 543 * run-readelf-mixed-corenote.sh: Update output of testfile71 544 dump--readelf can newly decode the NT_FILE note. 545 5462013-09-26 Petr Machata <pmachata@redhat.com> 547 548 * Makefile.am (EXTRA_DIST): Add testfile71.bz2. 549 * run-readelf-mixed-corenote.sh: New test for this file. 550 * testfile71.bz2: New file. 551 5522013-09-20 Mark Wielaard <mjw@redhat.com> 553 554 * allfcts.c (cb): Return DWARF_CB_ABORT. 555 (main): Iterate over all offsets returned by dwarf_getfuncs. 556 * run-allfcts.sh: Add nested_funcs and class_func testcases. 557 * testfile_nested_funcs.bz2: New test file. 558 * testfile_class_func.bz2: Likewise. 559 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and 560 testfile_nested_funcs.bz2. 561 5622013-08-30 Mark Wielaard <mjw@redhat.com> 563 564 * Makefile.am (check_PROGRAMS): Add varlocs. 565 (TESTS): Add run-varlocs.sh. 566 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c, 567 testfile_const_type.bz2, testfile_implicit_pointer.c, 568 testfile_implicit_pointer.bz2, testfile_parameter_ref.c, 569 testfile_entry_value.c, testfile_entry_value.bz2, 570 testfile_implicit_value.c and testfile_implicit_value.bz2. 571 (varlocs_LDADD): New. 572 * run-varlocs: New test. 573 * testfile_const_type.c: New test source file. 574 * testfile_entry_value.c: Likewise. 575 * testfile_implicit_pointer.c: Likewise. 576 * testfile_implicit_value.c: Likewise. 577 * testfile_parameter_ref.c: Likewise. 578 * testfile_const_type.bz2: New test file. 579 * testfile_entry_value.bz2: Likewise. 580 * testfile_implicit_pointer.bz2: Likewise. 581 * testfile_implicit_value.bz2: Likewise. 582 * testfile_parameter_ref.bz2: Likewise. 583 * varlocs.c: New test source. 584 5852013-08-29 Mark Wielaard <mjw@redhat.com> 586 587 * run-addrcfi.sh: Add case for EM_ARM. 588 * testfilearm.bz2: New testfile. 589 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2. 590 5912013-08-28 Mark Wielaard <mjw@redhat.com> 592 593 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame 594 completely missing. 595 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64. 596 * testfiles390.bz2: New testfile. 597 * testfiles390x.bz2: Likewise. 598 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and 599 testfiles390x.bz2. 600 6012013-08-28 Mark Wielaard <mjw@redhat.com> 602 603 * addrcfi.c (handle_cfi): Use printf not error. 604 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64. 605 * testfileppc32.bz2: New testfile. 606 * testfileppc64.bz2: Likewise. 607 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and 608 testfileppc64.bz2. 609 6102013-08-27 Mark Wielaard <mjw@redhat.com> 611 612 * run-addrcfi.sh: New test. 613 * Makefile.am (TESTS): Add run-addrcfi.sh. 614 (EXTRA_DIST): Likewise. 615 * addrcfi.c (op_name): New function. 616 (print_detail): Call and print op_name. Check ops, not result 617 to check if this is "same value" or "undefined". 618 (handle_cfi): Make sure cfa_ops doesn't point to NULL. 619 6202013-08-13 Mark Wielaard <mjw@redhat.com> 621 622 * run-addr2line-i-test.sh: New test. 623 * testfile-inlines.bz2: New testfile. 624 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and 625 testfile-inlines.bz2. 626 (TESTS): Add run-addr2line-i-test.sh. 627 6282013-08-12 Mark Wielaard <mjw@redhat.com> 629 630 * run-addr2line-test.sh: New test. 631 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh. 632 (TESTS): Likewise. 633 6342013-07-23 Jan Kratochvil <jan.kratochvil@redhat.com> 635 636 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of 637 the entries. 638 6392013-07-02 Mark Wielaard <mjw@redhat.com> 640 641 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in 642 testfilenolines.bz2. 643 6442013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com> 645 646 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2, 647 test-core.core.bz2 and test-core.exec.bz2. 648 * run-addrname-test.sh: New test for these files. 649 * run-unstrip-n.sh: Update expected output. New test for these files. 650 * test-core-lib.so.bz2: New file. 651 * test-core.core.bz2: New file. 652 * test-core.exec.bz2: New file. 653 6542013-05-03 Mark Wielaard <mjw@redhat.com> 655 656 * testfilenolines.bz2: New test file. 657 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2. 658 * run-get-lines.sh: Run testrun_compare on testfilenolines. 659 6602013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com> 661 662 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf. 663 6642013-04-29 Mark Wielaard <mjw@redhat.com> 665 666 * test-subr.sh: Don't use pushd, just cd into test-dir. 667 (exit_cleanup): Don't use popd, just cd .. to get out. 668 6692013-04-27 Mark Wielaard <mjw@redhat.com> 670 671 * test-subr.sh (exit_cleanup): New function. 672 (trap): Use exit_cleanup as argument. 673 * run-native-test.sh (native_exit): New function. 674 (trap): For EXIT (0) use native_exit as argument. 675 6762013-04-27 Mark Wielaard <mjw@redhat.com> 677 678 * update1.c (main): Use unique tempfile name and unlink file. 679 * update2.c (main): Likewise. 680 * update3.c (main): Likewise. 681 * update4.c (main): Use unique tempfile name. 682 6832013-04-27 Mark Wielaard <mjw@redhat.com> 684 685 * run-alldts.sh: Add testfile-alldts to tempfiles. 686 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles. 687 * run-macro-test.sh: Add readelf.macros.out to tempfiles. 688 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2 689 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles. 690 6912013-04-26 Mark Wielaard <mjw@redhat.com> 692 693 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment, 694 remove wrapper. 695 (TESTS_ENVIRONMENT): Likewise. 696 (installed_LOG_COMPILER): New variable defining wrapper. 697 (LOG_COMPILER): Likewise. 698 * run-*.sh: Fixup location of input and output files. 699 * test-subr.sh: Create test_dir, pushd to execute test in. 700 (trap): Remove test_dir. 701 (testfiles): Use abs_srcdir. 702 (installed_testrun): Match on abs_builddir or abs_top_builddir. 703 (self_test_files): Adjust path. 704 7052013-04-24 Mark Wielaard <mjw@redhat.com> 706 707 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 708 7092013-03-25 Mark Wielaard <mjw@redhat.com> 710 711 * run-readelf-aranges.sh: New test. 712 * testfilefoobarbaz.bz2: New test file. 713 * Makefile.am (TESTS): Add run-readelf-aranges.sh. 714 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2. 715 7162013-03-25 Mark Wielaard <mjw@redhat.com> 717 718 * run-readelf-dwz-multi.sh: Expect high_pc also as address. 719 7202013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com> 721 722 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align. 723 (TESTS): Add run-dwfl-report-elf-align.sh. 724 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and 725 testfile-dwfl-report-elf-align-shlib.so.bz2 . 726 (dwfl_report_elf_align_LDADD): New. 727 * dwfl-report-elf-align.c: New file. 728 * run-dwfl-report-elf-align.sh: New file. 729 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file. 730 7312013-03-12 Mark Wielaard <mjw@redhat.com> 732 733 * run-dwfllines.sh: New test. 734 * dwfllines.c: New test program. 735 * Makefile.am (TESTS): Add run-dwfllines.sh. 736 (EXTRA_DIST): Likewise. 737 (dwfllines_LDADD): New variable. 738 7392013-02-22 Mark Wielaard <mjw@redhat.com> 740 741 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh. 742 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS. 743 7442013-02-15 Mark Wielaard <mjw@redhat.com> 745 746 * testfile-dwzstr.bz2: New testfile. 747 * testfile-dwzstr.multi.bz2: Likewise. 748 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test. 749 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and 750 testfile-dwzstr.multi.bz2. 751 7522013-01-30 Mark Wielaard <mjw@redhat.com> 753 754 * testfileloc.bz2: New testfile. 755 * run-readelf-loc.sh: New test. 756 * Makefile.am (TESTS): Add run-readelf-loc.sh. 757 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2. 758 7592013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> 760 761 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390 762 and s390x core notes. 763 * testfile67.bz2: New file. 764 * testfile68.bz2: New file. 765 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 . 766 7672013-01-23 Mark Wielaard <mjw@redhat.com> 768 769 * testfilebasmin.bz2: New testfile. 770 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2. 771 * run-readelf-s.sh: Test testfilebasmin. 772 * run-dwflsyms.sh: Likewise. 773 7742013-01-16 Mark Wielaard <mjw@redhat.com> 775 776 * Makefile.am (check_PROGRAMS): Add dwflsyms. 777 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh. 778 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2, 779 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2, 780 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh. 781 (dwflsyms_LDADD): New variable. 782 7832013-01-07 Roland McGrath <roland@hack.frob.com> 784 785 * run-prelink-addr-test.sh: Use ln -snf. 786 7872012-12-03 Mark Wielaard <mjw@redhat.com> 788 789 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no. 790 7912012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com> 792 793 * run-addrname-test.sh: New test for PIE relocation. 794 * testfile70.core.bz2: New file. 795 * testfile70.exec.bz2: New file. 796 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and 797 testfile70.exec.bz2 . 798 7992012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com> 800 801 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2, 802 testfile69.core.bz2 and testfile69.so.bz2 . 803 8042012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com> 805 806 * run-addrname-test.sh: New test for DSO with build-id bias. 807 * testfile69.core.bz2: New file. 808 * testfile69.so.bz2: New file. 809 8102012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> 811 812 * run-addrname-test.sh: New test for core vDSO bias. 813 * testfile65.bz2: New file. 814 8152012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> 816 817 * run-addrname-test.sh: New test for symbol preferences. 818 * testfile64.bz2: New file. 819 8202012-10-01 Mark Wielaard <mjw@redhat.com> 821 822 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND. 823 * test-wrapper.sh: Export VALGRIND_CMD if available. 824 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog. 825 (installed_testrun): Likewise. 826 8272012-09-24 Petr Machata <pmachata@redhat.com> 828 829 * testfile63.bz2: New testfile. 830 * run-readelf-mixed-corenote.sh: New test. 831 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh. 832 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh. 833 8342012-09-24 Petr Machata <pmachata@redhat.com> 835 836 * testfile62.bz2: New testfile. 837 * run-readelf-vmcoreinfo.sh: New test. 838 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh. 839 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh. 840 8412012-09-18 Petr Machata <pmachata@redhat.com> 842 843 * testfile61.bz2: New testfile. 844 * run-allregs.sh: Run reg_test testfile61. 845 * Makefile.am (EXTRA_DIST): Add testfile61.bz2. 846 8472012-08-24 Mark Wielaard <mjw@redhat.com> 848 849 * Makefile.am (EXTRA_DIST): Add testfile60.bz2. 850 8512012-08-22 Jeff Kenton <jkenton@tilera.com> 852 853 * testfile60.bz2: New testfile. 854 * run-allregs.sh: Run reg_test testfile60. 855 8562012-08-24 Mark Wielaard <mjw@redhat.com> 857 858 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if 859 ENABLE_DWZ. 860 8612012-08-16 Mark Wielaard <mjw@redhat.com> 862 863 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf 864 macros. 865 * show-die-info.c (tagnames): Removed. 866 (attrs): Removed. 867 (dwarf_tag_string): New function using known-dwarf macros. 868 (dwarf_attr_string): Likewise. 869 (handle): Call dwarf_tag_string and dwarf_attr_string instead. 870 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89. 871 8722012-06-27 Mark Wielaard <mjw@redhat.com> 873 874 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh. 875 (EXTRA_DIST): Add run-readelf-dwz-multi.sh, 876 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and 877 testfile_multi_main.bz2. 878 * run-readelf-dwz-multi.sh: New test. 879 * libtestfile_multi_shared.so.bz2: New testfile. 880 * testfile_multi.dwz.bz2: New testifle. 881 * testfile_multi_main.bz2: New testifle. 882 8832012-08-01 Petr Machata <pmachata@redhat.com> 884 885 * run-test-archive64.sh: New test. 886 * testarchive64.a.bz2: New testfile. 887 * Makefile.am (TESTS): Add run-test-archive64.sh. 888 (EXTRA_DIST): Likewise. 889 8902012-08-01 Mark Wielaard <mjw@redhat.com> 891 892 * run-nm-self.sh: New test. 893 * run-readelf-self.sh: Likewise. 894 * test-subr.sh (testrun_on_self_quiet): New function. 895 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh. 896 (EXTRA_DIST): Likewise. 897 8982012-08-01 Mark Wielaard <mjw@redhat.com> 899 900 * test-subr.sh (self_test_files): New list of files. 901 (testrun_on_self): New function. 902 * run-elflint-self.sh: Use testrun_on_self. 903 9042012-07-19 Mark Wielaard <mjw@redhat.com> 905 906 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr. 907 (TESTS): Add run-elf_cntl_gelf_getshdr.sh. 908 (EXTRA_DIST): Likewise. 909 (test_elf_cntl_gelf_getshdr_LDADD): New. 910 test-elf_cntl_gelf_getshdr.c: New test program. 911 run-elf_cntl_gelf_getshdr.sh: New test script. 912 9132012-07-19 Mark Wielaard <mjw@redhat.com> 914 915 * run-elflint-self.sh: runtests on ../backends/*so files. 916 9172012-07-19 Mark Wielaard <mjw@redhat.com> 918 919 * run-unstrip-n.sh: test_cleanup. 920 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2. 921 9222012-07-11 Mark Wielaard <mjw@redhat.com> 923 924 * run-readelf-macro.sh: New test. 925 * testfilemacro.bz2: New testfile. 926 * Makefile.am (TESTS): Add run-readelf-macro.sh. 927 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2. 928 9292012-06-27 Mark Wielaard <mjw@redhat.com> 930 931 * run-readelf-gdb-index.sh: New test. 932 * testfilegdbindex5.bz2: New testfile. 933 * testfilegdbindex7.bz2: Likewise. 934 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh. 935 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and 936 testfilegdbindex7.bz2. 937 9382012-07-17 Mark Wielaard <mjw@redhat.com> 939 940 * testcore-rtlib-ppc.bz2: New testfile. 941 * run-unstrip-n.sh: Check new ppc core testfile. 942 9432012-06-26 Mike Frysinger <vapier@gentoo.org> 944 945 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. 946 9472012-06-26 Mark Wielaard <mjw@redhat.com> 948 949 * run-macro-test.sh: New test. 950 * testfile-macinfo.bz2: New testfile. 951 * testfile-macros.bz2: Likewise. 952 9532012-05-07 Mark Wielaard <mjw@redhat.com> 954 955 * low_high_pc.c: Use proper inttypes in printf formats. 956 9572012-05-11 Mark Wielaard <mjw@redhat.com> 958 959 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C. 960 9612012-05-07 Mark Wielaard <mjw@redhat.com> 962 963 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC. 964 9652012-04-27 Mark Wielaard <mjw@redhat.com> 966 967 * Makefile.am (TESTS): Add run-low_high_pc.sh 968 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2 969 (noinst_PROGRAMS): Add low_high_pc. 970 (low_high_pc_LDADD): New variable. 971 * low_high_pc.c: New test. 972 9732012-04-26 Mark Wielaard <mjw@redhat.com> 974 975 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh. 976 * run-show-ciefde.sh: Removed old libdwarf test. 977 * show-ciefde.c: Likewise. 978 9792012-04-02 Mark Wielaard <mjw@redhat.com> 980 981 * Makefile.am (TESTS): Add run-unstrip-n.sh. 982 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh. 983 * run-unstrip-n.sh: New test. 984 * testcore-rtlib.bz2: New testfile. 985 9862012-04-02 Mark Wielaard <mjw@redhat.com> 987 988 * Makefile.am (TESTS): Add run-readelf-d.sh. 989 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh. 990 * run-readelf-d.sh: New test. 991 * run-elflint-test.sh: Check new testfile. 992 9932012-03-21 Tom Tromey <tromey@redhat.com> 994 995 * typeiter.c: New file. 996 * run-typeiter.sh: New file. 997 * testfile59.bz2: New file. 998 * Makefile.am (noinst_PROGRAMS): Add typeiter. 999 (TESTS): Add run-typeiter.sh. 1000 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2. 1001 (typeiter_LDADD): New variable. 1002 10032012-02-21 Kurt Roeckx <kurt@roeckx.be> 1004 1005 * run-alldts.sh: testrun ./alldts. 1006 10072012-02-21 Roland McGrath <roland@hack.frob.com> 1008 1009 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH. 1010 * test-subr.sh (installed_testrun): Likewise. 1011 10122012-01-18 Roland McGrath <roland@hack.frob.com> 1013 1014 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation; 1015 it will have been inherited correctly from the test harness. 1016 * asm-tst5.c (main): Likewise. 1017 * asm-tst6.c (main): Likewise. 1018 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>. 1019 10202011-07-09 Roland McGrath <roland@hack.frob.com> 1021 1022 * sha1-tst.c: File removed. 1023 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it. 1024 (sha1_tst_LDADD): Variable removed. 1025 1026 * md5-sha1-test.c: New file. 1027 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it. 1028 (md5_sha1_test_LDADD): New variable. 1029 10302011-05-30 Mark Wielaard <mjw@redhat.com> 1031 1032 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and 1033 run-rerequest_tag.sh 1034 10352011-05-24 Mark Wielaard <mjw@redhat.com> 1036 1037 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2. 1038 * run-strip-reloc.sh: Add hello_s390.ko testcase. 1039 * hello_s390.ko.bz2: New test file. 1040 10412011-05-23 Mark Wielaard <mjw@redhat.com> 1042 1043 * Makefile.am (TESTS): Add run-strip-reloc.sh. 1044 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2 1045 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2 1046 * run-strip-reloc.sh: New test. 1047 * hello_i386.ko.bz2: New test file. 1048 * hello_x86_64.ko.bz2: Likewise. 1049 * hello_ppc64.ko.bz2: Likewise. 1050 10512011-05-18 Mark Wielaard <mjw@redhat.com> 1052 1053 * run-strip-groups.sh: New test. 1054 * testfile58.bz2: New test file. 1055 * Makefile.am (EXTRA_DIST): Add testfile58.bz2. 1056 (TESTS): Add run-strip-groups.sh. 1057 (EXTRA_DIST): Likewise. 1058 10592011-03-28 Marek Polacek <mpolacek@redhat.com> 1060 1061 * alldts.c: New file. 1062 * run-alldts.sh: Use it. 1063 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 1064 (alldts_LDADD): New variable. 1065 10662011-03-02 Marek Polacek <mpolacek@redhat.com> 1067 1068 * dwarf-getstring.c: New test. 1069 * run-dwarf-getstring.sh: And its wrapper. 1070 * Makefile.am (EXTRA_DIST): Add and update all. 1071 10722011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> 1073 1074 * Makefile.am (TESTS): Add run-readelf-twofiles.sh. 1075 * run-readelf-twofiles.sh: New file. 1076 10772011-02-25 Mark Wielaard <mjw@redhat.com> 1078 1079 * Makefile.am (BUILD_RPATH): Be consistent in naming. 1080 10812011-02-02 Josh Stone <jistone@redhat.com> 1082 1083 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit. 1084 * testfile55-64.bz2, testfile55-64.debug.bz2, 1085 testfile55-64.prelink.bz2, testfile55-32.bz2, 1086 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New. 1087 * Makefile.am (EXTRA_DIST): Add and update all. 1088 10892011-01-12 Roland McGrath <roland@redhat.com> 1090 1091 * run-prelink-addr-test.sh: Make symlinks to find .debug files 1092 corresponding to .noshdrs files. 1093 10942011-01-11 Josh Stone <jistone@redhat.com> 1095 1096 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit. 1097 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2, 1098 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2, 1099 testfile54-64.so.bz2, testfile54-64.so.debug.bz2, 1100 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New. 1101 * Makefile.am (EXTRA_DIST): Add and update all. 1102 1103 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests. 1104 * testfile53.bz2, testfile53.debug.bz2, 1105 testfile53.prelink.bz2: Deleted, so... 1106 * testfile53-64.bz2, testfile53-64.debug.bz2, 1107 testfile53-64.prelink.bz2: Recreated with 64-bit names. 1108 * testfile53-32.bz2, testfile53-32.debug.bz2, 1109 testfile53-32.prelink.bz2: New in 32-bit. 1110 * Makefile.am (EXTRA_DIST): Add and update all. 1111 1112 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests. 1113 * testfile52.so.bz2, testfile52.so.debug.bz2, 1114 testfile52.prelink.so.bz2: Deleted, so... 1115 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2, 1116 testfile52-32.prelink.so.bz2: Recreated with 32-bit names. 1117 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers. 1118 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2, 1119 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files. 1120 * Makefile.am (EXTRA_DIST): Add and update all. 1121 11222011-01-10 Josh Stone <jistone@redhat.com> 1123 1124 * run-prelink-addr-test.sh: New test for prelinked addrs. 1125 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1126 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files. 1127 * testfile52.prelink.so.bz2: New data file, shows REL->RELA. 1128 * testfile53.bz2, testfile53.debug.bz2: New data files. 1129 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap. 1130 * Makefile.am (EXTRA_DIST): Add them. 1131 11322010-06-04 Roland McGrath <roland@redhat.com> 1133 1134 * run-unstrip-test.sh: Also test modifying the file in place. 1135 11362010-04-22 Roland McGrath <roland@redhat.com> 1137 1138 * addrcfi.c (handle_cfi): Fix function name in error message. 1139 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe. 1140 11412010-04-14 Roland McGrath <roland@redhat.com> 1142 1143 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too. 1144 11452010-04-10 Ulrich Drepper <drepper@redhat.com> 1146 1147 * msg_tst.c: Adjust expected error message. 1148 11492010-04-01 Petr Machata <pmachata@redhat.com> 1150 1151 * test-flag-nobits.c: New test. 1152 * run-test-flag-nobits.sh: And its wrapper. 1153 * Makefile.am (noinst_PROGRAMS, TESTS): Add them. 1154 (test_flag_nobits_LDADD): New variable. 1155 11562010-02-15 Roland McGrath <roland@redhat.com> 1157 1158 * Makefile.am: Use config/eu.am for common stuff. 1159 1160 * asm-tst9.c (main): Rename local to avoid shadowing another local. 1161 11622009-07-22 Roland McGrath <roland@redhat.com> 1163 1164 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention. 1165 11662009-07-08 Roland McGrath <roland@redhat.com> 1167 1168 * addrcfi.c: New file. 1169 * Makefile.am (noinst_PROGRAMS): Add it. 1170 (addrcfi_LDADD): New variable. 1171 11722009-05-07 Petr Machata <pmachata@redhat.com> 1173 1174 * testfile51.bz2: New data file. 1175 * dwarf-getmacros.c: New test core. 1176 * run-dwarf-getmacros.sh: New test wrapper. 1177 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 1178 (dwarf_getmacros_LDADD): New variable. 1179 11802009-04-23 Ulrich Drepper <drepper@redhat.com> 1181 1182 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). 1183 (rdwrmmap_LDADD): Add $(libmudflap). 1184 11852009-04-21 Roland McGrath <roland@redhat.com> 1186 1187 * testfile50.bz2: New data file. 1188 * Makefile.am (EXTRA_DIST): Add it. 1189 * run-dwfl-addr-sect.sh: Add a case using it. 1190 11912008-12-31 Ulrich Drepper <drepper@redhat.com> 1192 1193 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, 1194 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, 1195 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, 1196 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw, 1197 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd, 1198 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest, 1199 roundss, roundps, roundpd, and roundsd. 1200 * testfile45.S.bz2: Likewise. 1201 * testfile44.expect.bz2: Adjust accordingly. 1202 * testfile45.expect.bz2: Likewise. 1203 1204 * testfile44.S.bz2: Add tests for blendvpd and blendvps. 1205 * testfile45.S.bz2: Likewise. 1206 * testfile44.expect.bz2: Adjust accordingly. 1207 * testfile45.expect.bz2: Likewise. 1208 12092008-12-30 Ulrich Drepper <drepper@redhat.com> 1210 1211 * testfile44.S.bz2: Add tests for blendpd and blendps. 1212 * testfile45.S.bz2: Likewise. 1213 * testfile44.expect.bz2: Adjust accordingly. 1214 * testfile45.expect.bz2: Likewise. 1215 12162008-12-19 Ulrich Drepper <drepper@redhat.com> 1217 1218 * testfile44.S.bz2: Add tests for AMD 3DNOW. 1219 * testfile45.S.bz2: Likewise. 1220 * testfile44.expect.bz2: Adjust accordingly. 1221 * testfile45.expect.bz2: Likewise. 1222 12232008-11-26 Roland McGrath <roland@redhat.com> 1224 1225 * dwfl-bug-getmodules.c: New file. 1226 * Makefile.am (noinst_PROGRAMS): Add it. 1227 (dwfl_bug_getmodules_LDADD): New variable. 1228 12292008-09-10 Roland McGrath <roland@redhat.com> 1230 1231 * test-subr.sh (LC_ALL): Export it set to "C". 1232 * run-dwfl-addr-sect.sh: Don't do it here. 1233 * run-strings-test.sh: Likewise. 1234 12352008-08-21 Denys Vlasenko <dvlasenk@redhat.com> 1236 1237 * run-addrname-test.sh: Add a new case. 1238 * testfile49.bz2: New data file. 1239 * Makefile.am (EXTRA_DIST): Add it. 1240 12412008-04-10 Roland McGrath <roland@redhat.com> 1242 1243 * testfile48.bz2, testfile48.bz2.debug: New data files. 1244 * Makefile.am (EXTRA_DIST): Add them. 1245 * run-strip-test8.sh: Use them. 1246 1247 * testfile16.bz2, testfile16.debug.bz2: Replace data files. 1248 1249 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections. 1250 * run-strip-test8.sh: New file. 1251 * testfile47.bz2: New data file. 1252 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1253 12542008-03-31 Roland McGrath <roland@redhat.com> 1255 1256 * run-early-offscn.sh: New file. 1257 * early-offscn.c: New file. 1258 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them. 1259 (early_offscn_LDADD): New variable. 1260 12612008-03-19 Roland McGrath <roland@redhat.com> 1262 1263 * run-addrname-test.sh: Add a new case. 1264 12652008-02-22 Roland McGrath <roland@redhat.com> 1266 1267 * run-elflint-test.sh: Typo fix. 1268 12692008-02-21 Roland McGrath <roland@redhat.com> 1270 1271 * run-disasm-x86.sh: Use uname instead of arch, keep tools required 1272 for the build down to minimum. 1273 * run-disasm-x86-64.sh: Likewise. 1274 12752008-02-20 Roland McGrath <roland@redhat.com> 1276 1277 * testfile46.bz2: New data file. 1278 * Makefile.am (EXTRA_DIST): Add it. 1279 * run-elflint-test.sh: Test on it. 1280 12812008-02-01 Ulrich Drepper <drepper@redhat.com> 1282 1283 * Makefile.am: Hook up sha1-tst.c. 1284 * sha1-tst.c: New file. 1285 12862008-01-21 Roland McGrath <roland@redhat.com> 1287 1288 * testfile45.S.bz2: Add tests for cltq, cqto. 1289 * testfile45.expect.bz2: Adjust. 1290 12912008-01-14 Ulrich Drepper <drepper@redhat.com> 1292 1293 * testfile45.S.bz2: Add more tests. 1294 * testfile45.expect.bz2: Adjust. 1295 12962008-01-11 Ulrich Drepper <drepper@redhat.com> 1297 1298 * testfile45.expect.bz2: Adjust for adding of address for %rip based 1299 address mode. 1300 13012008-01-10 Ulrich Drepper <drepper@redhat.com> 1302 1303 * testfile45.S.bz2: Add more tests. 1304 * testfile45.expect.bz2: Adjust. 1305 13062008-01-08 Ulrich Drepper <drepper@redhat.com> 1307 1308 * Makefile.am (TESTS): Add run-disasm-x86-64.sh. 1309 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2, 1310 run-disasm-x86-64.sh. 1311 * run-disasm-x86-64.sh: New file. 1312 * testfile45.S.bz2: New file. 1313 * testfile45.expect.bz2: New file. 1314 * testfile44.S.bz2: New tests. 1315 * testfile44.expect.bz2: Adjust. 1316 13172008-01-04 Ulrich Drepper <drepper@redhat.com> 1318 1319 * testfile44.S.bz2: New tests. 1320 * testfile44.expect.bz2: Adjust. 1321 13222008-01-04 Roland McGrath <roland@redhat.com> 1323 1324 * dwfl-bug-fd-leak.c (main): Add a cast. 1325 13262008-01-03 Ulrich Drepper <drepper@redhat.com> 1327 1328 * testfile44.S.bz2: New tests. 1329 * testfile44.expect.bz2: Adjust. 1330 13312008-01-01 Ulrich Drepper <drepper@redhat.com> 1332 1333 * line2addr.c: Use %m modifier instead of %a to appease gcc. 1334 13352008-01-01 Ulrich Drepper <drepper@redhat.com> 1336 1337 * testfile44.S.bz2: New tests. 1338 * testfile44.expect.bz2: Adjust. 1339 13402007-12-31 Ulrich Drepper <drepper@redhat.com> 1341 1342 * testfile44.S.bz2: New tests. 1343 * testfile44.expect.bz2: Adjust. 1344 13452007-12-30 Ulrich Drepper <drepper@redhat.com> 1346 1347 * testfile44.S.bz2: New tests. 1348 * testfile44.expect.bz2: Adjust. 1349 13502007-12-29 Ulrich Drepper <drepper@redhat.com> 1351 1352 * testfile44.s.bz2: New tests. 1353 * testfile44.expect.bz2: Adjust. 1354 13552007-12-28 Ulrich Drepper <drepper@redhat.com> 1356 1357 * testfile44.S.bz2: New tests. 1358 * testfile44.expect.bz2: Adjust. 1359 13602007-12-27 Ulrich Drepper <drepper@redhat.com> 1361 1362 * testfile44.S.bz2: New tests. 1363 * testfile44.expect.bz2: Adjust. 1364 13652007-12-26 Ulrich Drepper <drepper@redhat.com> 1366 1367 * testfile44.S.bz2: New tests. 1368 * testfile44.expect.bz2: Adjust 1369 13702007-12-21 Ulrich Drepper <drepper@redhat.com> 1371 1372 * testfile44.S.bz2: More tests. 1373 * testfile44.expect.bz2: Adjust appropriately. 1374 13752007-12-19 Ulrich Drepper <drepper@redhat.com> 1376 1377 * Makefile.am (TESTS): Add run-disasm.sh. 1378 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and 1379 testfile44.expect.bz2. 1380 * run-disasm.sh: New file. 1381 * testfile44.S.bz2: New file. 1382 * testfile44.expect.bz2: New file. 1383 13842007-12-15 Roland McGrath <roland@redhat.com> 1385 1386 * run-allregs.sh: Change expected output for powerpc spefscr. 1387 13882007-10-20 Roland McGrath <roland@redhat.com> 1389 1390 * run-dwfl-addr-sect.sh: Change expected output, no errors. 1391 13922007-10-19 Roland McGrath <roland@redhat.com> 1393 1394 * dwfl-addr-sect.c (handle_address): Return int. 1395 Don't exit on error, just return nonzero. 1396 (main): Collect results. 1397 * run-dwfl-addr-sect.sh: New file. 1398 * testfile43.bz2: New data file. 1399 * Makefile.am (EXTRA_DIST, TESTS): Add them. 1400 14012007-10-18 Roland McGrath <roland@redhat.com> 1402 1403 * run-allregs.sh: Update expected ppc output for vrsave/vscr. 1404 14052007-10-16 Roland McGrath <roland@redhat.com> 1406 1407 * test-subr.sh (remove_files): Don't pass -Bb to diff. 1408 14092007-10-09 Roland McGrath <roland@redhat.com> 1410 1411 * dwflmodtest.c (print_module): Don't use %p in output. 1412 * run-dwfl-bug-offline-rel.sh: Updated expected output. 1413 14142007-10-08 Roland McGrath <roland@redhat.com> 1415 1416 * testfile42.bz2: New data file. 1417 * Makefile.am (EXTRA_DIST): Add it. 1418 * run-elflint-test.sh: New test on that file. 1419 14202007-10-04 Roland McGrath <roland@redhat.com> 1421 1422 * run-readelf-test4.sh: New file. 1423 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1424 14252007-10-03 Roland McGrath <roland@redhat.com> 1426 1427 * run-readelf-test3.sh: New file. 1428 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1429 14302007-10-01 Roland McGrath <roland@redhat.com> 1431 1432 * run-readelf-test2.sh: New file. 1433 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1434 14352007-09-11 Roland McGrath <roland@redhat.com> 1436 1437 * run-addrname-test.sh: Add a new case. 1438 * testfile41.bz2: New data file. 1439 * Makefile.am (EXTRA_DIST): Add it. 1440 14412007-08-23 Roland McGrath <roland@redhat.com> 1442 1443 * run-allregs.sh: Update expected x86-64 output for %rflags. 1444 14452007-08-12 Roland McGrath <roland@redhat.com> 1446 1447 * run-strip-test7.sh: New file. 1448 * testfile39.bz2: New data file. 1449 * testfile40.bz2: New data file. 1450 * testfile40.debug.bz2: New data file. 1451 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1452 14532007-08-09 Roland McGrath <roland@redhat.com> 1454 1455 * dwfl-bug-report.c: Fix header inclusion. 1456 14572007-08-08 Roland McGrath <roland@redhat.com> 1458 1459 * run-addrname-test.sh: Add a new case using addr2line -S. 1460 * testfile38.bz2: New data file. 1461 * Makefile.am (EXTRA_DIST): Add it. 1462 14632007-07-16 Roland McGrath <roland@redhat.com> 1464 1465 * dwfl-bug-report.c: New file. 1466 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 1467 (dwfl_bug_report_LDADD): New variable. 1468 14692007-06-06 Roland McGrath <roland@redhat.com> 1470 1471 * run-unstrip-test.sh: Declare testfile.unstrip for removal. 1472 14732007-06-05 Ulrich Drepper <drepper@redhat.com> 1474 1475 * Makefile.am (EXTRA_DIST): Add missing line continuation and 1476 testfile37.bz and testfile37.debug.bz2. 1477 14782007-05-23 Roland McGrath <roland@redhat.com> 1479 1480 * run-allregs.sh: Update expected Alpha results. 1481 14822007-05-18 Roland McGrath <roland@redhat.com> 1483 1484 * run-strip-test4.sh (stripped, debugfile): Use new reference files. 1485 * testfile37.bz2: New data file. 1486 * testfile37.debug.bz2: New data file. 1487 * run-unstrip-test2.sh: New file. 1488 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1489 14902007-05-10 Roland McGrath <roland@redhat.com> 1491 1492 * run-dwfl-bug-offline-rel.sh: New file. 1493 * testfile36.bz2: New data file. 1494 * testfile36.debug.bz2: New data file. 1495 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1496 14972007-04-28 Roland McGrath <roland@redhat.com> 1498 1499 * run-strip-test6.sh (stripped, debugfile): Use new reference files. 1500 * testfile35.bz2: New data file. 1501 * testfile35.debug.bz2: New data file. 1502 * run-unstrip-test.sh: New file. 1503 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1504 1505 * run-strip-test.sh: Do all elflint and cmp runs even when some fail. 1506 15072007-04-26 Roland McGrath <roland@redhat.com> 1508 1509 * run-elflint-self.sh: Run all tests even if one fails. 1510 1511 * run-allregs.sh: Add expected output for alpha. 1512 15132007-04-24 Roland McGrath <roland@redhat.com> 1514 1515 * run-strip-test.sh: When we saved the debug info, test unstrip too. 1516 15172007-04-22 Roland McGrath <roland@redhat.com> 1518 1519 * run-allregs.sh: Update expected register info. 1520 15212007-04-16 Roland McGrath <roland@redhat.com> 1522 1523 * dwfl-addr-sect.c: New file. 1524 * Makefile.am (noinst_PROGRAMS): Add it. 1525 (dwfl_addr_sect_LDADD): New variable. 1526 15272007-04-05 Roland McGrath <roland@redhat.com> 1528 1529 * get-files.c: Test dwarf_getsrcdirs. 1530 * run-get-files.sh: Update expected output. 1531 15322007-04-01 Roland McGrath <roland@redhat.com> 1533 1534 * run-allregs.sh: Updated expected output for x86_64. 1535 15362007-03-04 Roland McGrath <roland@redhat.com> 1537 1538 * dwfl-bug-fd-leak.c: New file. 1539 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 1540 (dwfl_bug_fd_leak_LDADD): New variable. 1541 1542 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf, 1543 show what files have been located. 1544 15452007-02-02 Roland McGrath <roland@redhat.com> 1546 1547 * run-addrname-test.sh: New file. 1548 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1549 * testfile34.bz2: New data file. 1550 * Makefile.am (EXTRA_DIST): Add it. 1551 15522007-01-20 Roland McGrath <roland@redhat.com> 1553 1554 * testfile33.bz2: New data file. 1555 * Makefile.am (EXTRA_DIST): Add it. 1556 * run-elflint-test.sh: Test on it too. 1557 15582007-01-18 Roland McGrath <roland@redhat.com> 1559 1560 * Makefile.am (CFLAGS): Don't molest it. 1561 15622007-01-11 Roland McGrath <roland@redhat.com> 1563 1564 * testfile32.bz2: New data file. 1565 * Makefile.am (EXTRA_DIST): Add it. 1566 * run-elflint-test.sh: Test on it too. 1567 15682007-02-04 Ulrich Drepper <drepper@redhat.com> 1569 1570 * arls.c: New file. 1571 * Makefile (noinst_PROGRAMS): Add arls. 1572 1573 * run-ranlib-test2.sh: Fix type in comment. 1574 15752007-01-10 Ulrich Drepper <drepper@redhat.com> 1576 1577 * run-elflint-self.sh (runtest): Show which file has the problem. 1578 15792007-01-10 Roland McGrath <roland@redhat.com> 1580 1581 * dwfl-bug-addr-overflow.c: New file. 1582 * Makefile.am (TESTS): Add it. 1583 (dwfl_bug_addr_overflow_LDADD): New variable. 1584 15852006-12-17 Roland McGrath <roland@redhat.com> 1586 1587 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg. 1588 15892006-09-05 Roland McGrath <roland@redhat.com> 1590 1591 * run-strings-test.sh: Export LC_ALL=C for the test. 1592 15932006-08-29 Roland McGrath <roland@redhat.com> 1594 1595 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh. 1596 * run-arsymtest.sh: Likewise. 1597 1598 * run-native-test.sh (native.c compilation): Add some braces. 1599 16002006-08-22 Roland McGrath <roland@redhat.com> 1601 1602 * allregs.c (dwarf_encoding_string): New function, swiped from readelf. 1603 (struct reginfo): New members bits, type. 1604 (one_register, match_register): Update to take new args, 1605 record and display new info. 1606 (main): Display new info. 1607 * run-allregs.sh: Update expected results. 1608 16092006-08-03 Roland McGrath <roland@redhat.com> 1610 1611 * run-allregs.sh: Add sparc cases. 1612 * testfile30.bz2: New data file. 1613 * testfile31.bz2: New data file. 1614 * Makefile.am (EXTRA_DIST): Add them. 1615 16162006-07-21 Roland McGrath <roland@redhat.com> 1617 1618 * allregs.c (struct reginfo): Increase size of name. 1619 (one_register): Assert that it's big enough. 1620 16212006-04-04 Roland McGrath <roland@redhat.com> 1622 1623 * run-bug1-test.sh: Test a second case, to cover both byte orders. 1624 * testfile29.bz2: New file. 1625 * testfile29.rdwr.bz2: New file. 1626 * Makefile.am (EXTRA_DIST): Add them. 1627 16282006-04-04 Ulrich Drepper <drepper@redhat.com> 1629 1630 * Makefile.am: Add rules to run run-bug1-test.sh. 1631 * rdwrmmap.c: New file. 1632 * run-bug1-test.sh: New file. 1633 * testfile28.bz2: New file. 1634 * testfile28.rdwr.bz2: New file. 1635 16362006-03-09 Roland McGrath <roland@redhat.com> 1637 1638 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link. 1639 16402006-03-01 Roland McGrath <roland@redhat.com> 1641 1642 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h 1643 changes matching 3.0 spec. 1644 16452006-01-13 Roland McGrath <roland@redhat.com> 1646 1647 * run-native-test.sh: Do kill -9 and reap explicitly at end, since 1648 bash 3.1 whines when it's done in the trap 0 handler. 1649 16502006-01-11 Roland McGrath <roland@redhat.com> 1651 1652 * testfile26.bz2: New data file. 1653 * testfile27.bz2: New data file. 1654 * Makefile.am (EXTRA_DIST): Add them. 1655 * run-allregs.sh: Test s390 data. 1656 16572005-12-14 Roland McGrath <roland@redhat.com> 1658 1659 * run-native-test.sh: Redirect output from native test process. 1660 16612005-12-13 Roland McGrath <roland@redhat.com> 1662 1663 * allregs.c (main): Fail if we find no registers. 1664 1665 * run-native-test.sh: New file. 1666 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1667 16682005-12-10 Ulrich Drepper <drepper@redhat.com 1669 1670 * run-readelf-test1.sh: New file. 1671 * Makefile.am (TESTS): Add run-readelf-test1.sh. 1672 (EXTRA_DIST): Likewise. 1673 16742005-12-07 Roland McGrath <roland@redhat.com> 1675 1676 * ecp.c (main): Use elf_end to clean up. 1677 16782005-11-25 Roland McGrath <roland@redhat.com> 1679 1680 * coverage.sh: Given -v argument, print names of unused files. 1681 1682 * addrscopes.c (main): Use dwfl_end before return. 1683 * allregs.c (main): Likewise. 1684 * find-prologues.c (main): Likewise. 1685 * funcretval.c (main): Likewise. 1686 * funcscopes.c (main): Likewise. 1687 * line2addr.c (main): Likewise. 1688 1689 * run-allregs.sh: New file. 1690 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1691 1692 * allregs.c: Use libdwfl wrapper instead of direct libebl calls. 1693 * Makefile.am (allregs_LDADD): Updated. 1694 1695 * allregs.c: New file. 1696 * Makefile.am (noinst_PROGRAMS): Add it. 1697 (allregs_LDADD): New variable. 1698 16992005-11-18 Roland McGrath <roland@redhat.com> 1700 1701 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib. 1702 * test-wrapper.sh: Likewise. 1703 17042005-11-17 Roland McGrath <roland@redhat.com> 1705 1706 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in 1707 environment for test-wrapper.sh. 1708 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib. 1709 * test-subr.sh (installed_testrun): Likewise. 1710 Use explicit path in ${bindir}. 1711 1712 * Makefile.am (installcheck-local): Fix typo in last change. 1713 17142005-11-16 Roland McGrath <roland@redhat.com> 1715 1716 * configure.ac: New file, for standalone build/dist of test suite. 1717 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. 1718 (asm_TESTS): New variable, broken out of ... 1719 (TESTS): ... here. Also remove msg_tst. 1720 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. 1721 (installed_TESTS_ENVIRONMENT): New variable. 1722 [STANDALONE] (TESTS_ENVIRONMENT): Use that. 1723 [!STANDALONE] (installcheck-local): Likewise. 1724 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. 1725 * addrscopes.c: Include <config.h>. 1726 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. 1727 * allfcts.c: Likewise. 1728 * asm-tst1.c: Likewise. 1729 * asm-tst2.c: Likewise. 1730 * asm-tst3.c: Likewise. 1731 * asm-tst4.c: Likewise. 1732 * asm-tst5.c: Likewise. 1733 * asm-tst6.c: Likewise. 1734 * asm-tst7.c: Likewise. 1735 * asm-tst8.c: Likewise. 1736 * asm-tst9.c: Likewise. 1737 * dwflmodtest.c: Likewise. 1738 * find-prologues.c: Likewise. 1739 * funcscopes.c: Likewise. 1740 * get-aranges.c: Likewise. 1741 * get-files.c: Likewise. 1742 * get-lines.c: Likewise. 1743 * get-pubnames.c: Likewise. 1744 * line2addr.c: Likewise. 1745 * newscn.c: Likewise. 1746 * show-abbrev.c: Likewise. 1747 * show-die-info.c: Likewise. 1748 * update3.c: Likewise. 1749 * update4.c: Likewise. 1750 * funcretval.c: Likewise. 1751 1752 * dwflmodtest.c (print_instance): Don't use INTUSE. 1753 (options): Don't use N_ macro. 1754 17552005-11-15 Roland McGrath <roland@redhat.com> 1756 1757 * coverage.sh: Look in backends. 1758 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl. 1759 (TESTS_ENVIRONMENT): Likewise. 1760 1761 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE, 1762 pass FUNCDIE direclty to dwfl_module_return_value_location. 1763 1764 * Makefile.am (BUILD_RPATH): New variable. 1765 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value. 1766 (tests_rpath): New variable. 1767 (installcheck-local): Pass it to test-wrapper.sh. 1768 * test-wrapper.sh: In "installed" format, take yes/no value 1769 for elfutils_tests_rpath, which export. When running a test 1770 binary for installcheck, exit 77. 1771 * test-subr.sh (installed_testrun): When running a test binary 1772 for installcheck, exit 77 if $elfutils_tests_rpath = yes. 1773 17742005-11-14 Roland McGrath <roland@redhat.com> 1775 1776 * test-subr.sh: New file. 1777 * test-wrapper.sh: New file. 1778 * Makefile.am (EXTRA_DIST): Add them. 1779 (AM_LDFLAGS): Variable removed. 1780 (TESTS_ENVIRONMENT): New variable. 1781 (installcheck-local): New target. 1782 * run-addrscopes.sh: Use test-subr.sh. 1783 * run-allfcts.sh: Likewise. 1784 * run-ecp-test.sh: Likewise. 1785 * run-ecp-test2.sh: Likewise. 1786 * run-elflint-self.sh: Likewise. 1787 * run-elflint-test.sh: Likewise. 1788 * run-find-prologues.sh: Likewise. 1789 * run-funcscopes.sh: Likewise. 1790 * run-get-aranges.sh: Likewise. 1791 * run-get-files.sh: Likewise. 1792 * run-get-lines.sh: Likewise. 1793 * run-get-pubnames.sh: Likewise. 1794 * run-line2addr.sh: Likewise. 1795 * run-ranlib-test.sh: Likewise. 1796 * run-ranlib-test2.sh: Likewise. 1797 * run-show-abbrev.sh: Likewise. 1798 * run-show-ciefde.sh: Likewise. 1799 * run-show-die-info.sh: Likewise. 1800 * run-strings-test.sh: Likewise. 1801 * run-strip-test.sh: Likewise. 1802 18032005-11-13 Roland McGrath <roland@redhat.com> 1804 1805 * funcretval.c: New file. 1806 * Makefile.am (noinst_PROGRAMS): Add it. 1807 (funcretval_LDADD): New variable. 1808 18092005-11-09 Ulrich Drepper <drepper@redhat.com> 1810 1811 * line2addr.c (handle_module): Add missing parameter to printf. 1812 18132005-10-27 Roland McGrath <roland@redhat.com> 1814 1815 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes. 1816 * funcscopes.c (handle_function): Likewise. 1817 * dwflmodtest.c (print_inline, print_func): Likewise. 1818 * find-prologues.c (handle_function): Likewise. 1819 18202005-10-27 Roland McGrath <roland@redhat.com> 1821 1822 * run-find-prologues.sh: New file. 1823 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1824 1825 * find-prologues.c (handle_function): Skip inlines. 1826 18272005-10-25 Roland McGrath <roland@redhat.com> 1828 1829 * find-prologues.c: New file. 1830 * Makefile.am (noinst_PROGRAMS): Add it. 1831 (find_prologues_LDADD): New variable. 1832 18332005-09-02 Ulrich Drepper <drepper@redhat.com> 1834 1835 * run-strings-test.sh: Remove strings.out in the end. 1836 18372005-08-31 Ulrich Drepper <drepper@redhat.com> 1838 1839 * run-addrscopes.sh: Use correct exit code if test cannot be performed. 1840 * run-allfcts.sh: Likewise. 1841 * run-ecp-test.sh: Likewise. 1842 * run-ecp-test2.sh: Likewise. 1843 * run-elflint-test.sh: Likewise. 1844 * run-funcscopes.sh: Likewise. 1845 * run-get-aranges.sh: Likewise. 1846 * run-get-files.sh: Likewise. 1847 * run-get-lines.sh: Likewise. 1848 * run-get-pubnames.sh: Likewise. 1849 * run-line2addr.sh: Likewise. 1850 * run-ranlib-test2.sh: Likewise. 1851 * run-show-abbrev.sh: Likewise. 1852 * run-show-ciefde.sh: Likewise. 1853 * run-show-die-info.sh: Likewise. 1854 * run-strings-test.sh: Likewise. 1855 * run-strip-test.sh: Likewise. 1856 18572005-08-30 Ulrich Drepper <drepper@redhat.com> 1858 1859 * coverage.sh: Handle case where there is no .gcno file at all. 1860 18612005-08-29 Ulrich Drepper <drepper@redhat.com> 1862 1863 * Makefile.am (EXTRA_DIST): Add coverage. 1864 [GCOV]: Generate coverage summary after the tests ran 1865 * coverage.sh: New file. 1866 18672005-08-28 Ulrich Drepper <drepper@redhat.com> 1868 1869 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl. 1870 (CLEANFILES): Add *.gcno *.gcda *.gconv. 1871 18722005-08-28 Ulrich Drepper <drepper@redhat.com> 1873 1874 * run-strings-test.sh: New file. 1875 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1876 18772005-08-27 Roland McGrath <roland@redhat.com> 1878 1879 * addrscopes.c (handle_address): Apply bias to PC addresses. 1880 1881 * run-funcscopes.sh: New file. 1882 * testfile25.bz2: New data file. 1883 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1884 18852005-08-26 Roland McGrath <roland@redhat.com> 1886 1887 * addrscopes.c (dwarf_diename_integrate): Removed. 1888 (print_vars, handle_address): Use plain dwarf_diename. 1889 18902005-08-25 Roland McGrath <roland@redhat.com> 1891 1892 * funcscopes.c: New file. 1893 * Makefile.am (noinst_PROGRAMS): Add it. 1894 (funcscopes_LDADD): New variable. 1895 1896 * run-addrscopes.sh: Add another case. 1897 * testfile24.bz2: New data file. 1898 * Makefile.am (EXTRA_DIST): Add it. 1899 1900 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES, 1901 pass it to dwarf_getscopes. 1902 (main): Pass it, true when '=' follows an address. 1903 19042005-08-24 Roland McGrath <roland@redhat.com> 1905 1906 * line2addr.c (print_address): Omit () for DSOs. 1907 19082005-08-24 Ulrich Drepper <drepper@redhat.com> 1909 1910 * run-line2addr.sh: Remove testfile23 in the end. 1911 1912 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl). 1913 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules. 1914 19152005-08-22 Roland McGrath <roland@redhat.com> 1916 1917 * run-line2addr.sh: Add a case. 1918 * testfile23.bz2: New data file. 1919 * Makefile.am (EXTRA_DIST): Add it. 1920 19212005-08-18 Roland McGrath <roland@redhat.com> 1922 1923 * run-addrscopes.sh: New file. 1924 * testfile22.bz2: New data file. 1925 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1926 1927 * addrscopes.c: New file. 1928 * Makefile.am (noinst_PROGRAMS): Add it. 1929 (addrscopes_LDADD): New variable. 1930 19312005-08-15 Ulrich Drepper <drepper@redhat.com> 1932 1933 * run-elflint-self.sh: Don't run test if the file doesn't exist. 1934 19352005-08-15 Roland McGrath <roland@redhat.com> 1936 1937 * dwflmodtest.c (print_instance, print_inline): New functions. 1938 (print_func): Call print_inline. 1939 (options, parse_opt): Grok -i/--inlines. 1940 19412005-08-07 Roland McGrath <roland@redhat.com> 1942 1943 * dwflmodtest.c: Print function details only if -f flag is given. 1944 19452005-08-06 Ulrich Drepper <drepper@redhat.com> 1946 1947 * run-elflint-self.sh: New file. 1948 * Makefile.am (TESTS): Add run-elflint-self.sh. 1949 (EXTRA_DIST): Likewise. 1950 1951 * Makefile.am: Link with statis libs if BUILD_STATIC. 1952 (dwflmodtest_LDADD): Also link with -ldl. 1953 19542005-08-02 Ulrich Drepper <drepper@redhat.com> 1955 1956 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS. 1957 * asm-tst1.c: Adjust for new asm_begin interface. Open backend 1958 library first. 1959 * asm-tst2.c: Likewise. 1960 * asm-tst3.c: Likewise. 1961 * asm-tst4.c: Likewise. 1962 * asm-tst5.c: Likewise. 1963 * asm-tst6.c: Likewise. 1964 * asm-tst7.c: Likewise. 1965 * asm-tst8.c: Likewise. 1966 * asm-tst9.c: Likewise. 1967 1968 * msg_tst.c: Add new error message. 1969 19702005-07-28 Ulrich Drepper <drepper@redhat.com> 1971 1972 * Makefile.am (dwflmodtest_LDADD): Add $(libebl). 1973 19742005-06-01 Roland McGrath <roland@redhat.com> 1975 1976 * line2addr.c: Rewritten using libdwfl. 1977 * run-line2addr.sh: Update test for changed arguments. 1978 * Makefile.am (INCLUDES): Add libdwfl source directory to path. 1979 (libdwfl): New variable. 1980 (line2addr_LDADD): Use it. 1981 19822005-07-28 Roland McGrath <roland@redhat.com> 1983 1984 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here. 1985 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest. 1986 (dwflmodtest_LDADD): New variable. 1987 (INCLUDES): Add -I$(top_srcdir)/libdwfl here. 1988 19892005-07-21 Ulrich Drepper <drepper@redhat.com> 1990 1991 * testfile18.bz2: New file. 1992 * run-elflint-test.sh: New file. 1993 * Makefile.am (TESTS): Add run-elflint-test.sh. 1994 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. 1995 19962005-05-24 Ulrich Drepper <drepper@redhat.com> 1997 1998 * get-files.c (main): Use correct format specifier. 1999 20002005-05-21 Ulrich Drepper <drepper@redhat.com> 2001 2002 * Makefile.am: Add -Wextra to CFLAGS. 2003 * get-files.c: Remove warning this produced. 2004 * get-pubnames.c: Likewise. 2005 * newfile.c: Likewise. 2006 * newscn.c: Likewise. 2007 * scnnames.c: Likewise. 2008 * showptable.c: Likewise. 2009 * test-nlist.c: Likewise. 2010 * update1.c: Likewise. 2011 * update2.c: Likewise. 2012 * update3.c: Likewise. 2013 * update4.c: Likewise. 2014 20152005-05-08 Ulrich Drepper <drepper@redhat.com> 2016 2017 * run-line2addr.sh: Remove testfile14 at the end. 2018 2019 * run-strip-test.sh: Remove debuginfo test input file as well. 2020 2021 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used 2022 .bz, not .bz2. 2023 20242005-05-03 Roland McGrath <roland@redhat.com> 2025 2026 * run-strip-test.sh: Use variables for test file names. 2027 Optionally produce separate debug file and check it. 2028 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication. 2029 * run-strip-test3.sh: Likewise. 2030 * run-strip-test4.sh: New file. 2031 * run-strip-test5.sh: New file. 2032 * run-strip-test6.sh: New file. 2033 * testfile15.bz: New file. 2034 * testfile15.debug.bz: New file. 2035 * testfile16.bz: New file. 2036 * testfile16.debug.bz: New file. 2037 * testfile17.bz: New file. 2038 * testfile17.debug.bz: New file. 2039 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2040 20412005-04-25 Ulrich Drepper <drepper@redhat.com> 2042 2043 * run-line2addr.sh: Also use testfile14. Adjust for correct 2044 return of multiple matches. 2045 * testfile14.bz2: New file. 2046 * Makefile.am (EXTRA_DIST): Add testfile14.bz2. 2047 2048 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change. 2049 20502005-04-04 Roland McGrath <roland@redhat.com> 2051 2052 * line2addr.c (main): Initialize LINES and NLINES before calling 2053 dwarf_getsrc_file, and free LINES afterwards. 2054 2055 * allfcts.c (main): Use size_t for CUHL. 2056 20572005-04-04 Ulrich Drepper <drepper@redhat.com> 2058 2059 * line2addr.c: New file. 2060 * run-line2addr.sh: New file. 2061 * Makefile.am: Add rules to build, run, and distribute new code. 2062 20632005-04-02 Ulrich Drepper <drepper@redhat.com> 2064 2065 * allfcts.c: New file. 2066 * run-allfcts.sh: New file. 2067 * Makefile.am: Add rules to build, run, and distribute new code. 2068 20692005-02-05 Ulrich Drepper <drepper@redhat.com> 2070 2071 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test 2072 programs with -lmudflap. 2073 20742004-09-25 Ulrich Drepper <drepper@redhat.com> 2075 2076 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation. 2077 * asm-tst5.c (main): Likewise. 2078 * asm-tst6.c (main): Likewise. 2079 20802004-01-17 Ulrich Drepper <drepper@redhat.com> 2081 2082 * Makefile.am: Support building with mudflap. 2083 20842004-01-12 Ulrich Drepper <drepper@redhat.com> 2085 2086 * get-aranges.c: Rewrite to use libdw. 2087 * Makefile.am: Reenable get-aranges test. 2088 20892004-01-11 Ulrich Drepper <drepper@redhat.com> 2090 2091 * get-lines.c: New file. 2092 * get-files.c: Adjust for libdw. 2093 * run-get-files.sh: Adjust expected result. 2094 * run-get-lines.sh: Likewise. 2095 * Makefile.am: Run get-lines test. Don't run get-aranges and 2096 get-ciefde test for now. 2097 2098 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface 2099 change. Print attribute offset information. 2100 * run-show-abbrev.sh: Adjust expected output. 2101 21022004-01-09 Ulrich Drepper <drepper@redhat.com> 2103 2104 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change. 2105 * show-die-info.c: Likewise. 2106 * run-show-die-info.sh: Adjust expected output. 2107 21082003-08-13 Ulrich Drepper <drepper@redhat.com> 2109 2110 * Makefile.in: Depend on libebl.a, not libebl.so. 2111 21122003-08-11 Ulrich Drepper <drepper@redhat.com> 2113 2114 * Moved to CVS archive. 2115