1 2016-01-13 Mark Wielaard <mjw (a] redhat.com> 2 3 * dwfl-bug-fd-leak.c: Skip test unless on __linux__. 4 5 2016-01-13 Mark Wielaard <mjw (a] redhat.com> 6 7 * dwfl-proc-attach.c: Guard linux specific header. 8 9 2016-01-13 Mark Wielaard <mjw (a] redhat.com> 10 11 * system-elf-libelf-test.c: New test. 12 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE. 13 (check_PROGRAMS): Likewise. 14 (system_elf_libelf_test_CPPFLAGS): New variable. 15 (system_elf_libelf_test_LDADD): Likewise. 16 17 2016-01-08 Mark Wielaard <mjw (a] redhat.com> 18 19 * elfputzdata.c (main): Fix parentheses in strncmp test. 20 21 2016-01-08 Mark Wielaard <mjw (a] redhat.com> 22 23 * elfputzdata.c (main): Use PRId64 to print 64 bit value. 24 25 2016-01-08 Mark Wielaard <mjw (a] redhat.com> 26 27 * Makefile.am (TESTS): Always unconditionally add 28 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh. 29 30 2015-12-16 Mark Wielaard <mjw (a] redhat.com> 31 32 * run-compress-test.sh: New test. 33 * Makefile.am (TESTS): Add run-compress-test.sh. 34 (EXTRA_DISTS): Likewise. 35 36 2015-11-26 Mark Wielaard <mjw (a] redhat.com> 37 38 * zstrptr.c: New file. 39 * run-zstrptr.sh: New test. 40 * elfputzdata.c (main): (re)compress .shstrtab. 41 * run-elfputzdata.sh: Expect .shstrtab compression. 42 * Makefile.am (check_PROGRAMS): Add zstrptr. 43 (TESTS): Add run-zstrptr.sh. 44 (EXTRA_DIST): Likewise. 45 (zstrptr_LDADD): New variable. 46 47 2015-10-20 Mark Wielaard <mjw (a] redhat.com> 48 49 * run-readelf-zx.sh: New test. 50 * run-readelf-zp.sh: Likewise. 51 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh. 52 (EXTRA_DIST): Likewise. 53 54 2015-10-21 Mark Wielaard <mjw (a] redhat.com> 55 56 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata. 57 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh. 58 (EXTRA_DIST: Likewise. 59 (elfgetzdata_LDADD): New variable. 60 (elfputzdata_LDADD): Likewise. 61 * elfgetzdata.c: New file. 62 * elfputzdata.c: Likewise. 63 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED, 64 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and 65 ELF_E_DECOMPRESS_ERROR. 66 * run-elfgetzdata.sh: New test. 67 * run-elfputzdata.sh: Likewise. 68 69 2015-10-28 Mark Wielaard <mjw (a] redhat.com> 70 71 * run-readelf-z.sh: New test. 72 * Makefile.am (TESTS): Add run-readelf-z.sh. 73 (EXTRA_DIST): Likewise. 74 75 2015-10-28 Mark Wielaard <mjw (a] redhat.com> 76 77 * elfgetchdr.c: New file. 78 * run-elfgetchdr.sh: New test. 79 * testfile-zgabi32.bz2: New testfile. 80 * testfile-zgabi32be.bz2: Likewise. 81 * testfile-zgabi64.bz2: Likewise. 82 * testfile-zgabi64be.bz2: Likewise. 83 * Makefile.am (check_PROGRAMS): Add elfgetchdr. 84 (TESTS): Add run-elfgetchdr.sh. 85 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2, 86 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2. 87 (welfgetchdr_LDADD): New variable. 88 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE 89 and ELF_E_INVALID_SECTION_FLAGS, 90 91 92 2015-10-28 Mark Wielaard <mjw (a] redhat.com> 93 94 * dwelfgnucompressed.c: New file. 95 * run-dwelfgnucompressed.sh: New test. 96 * testfile-zgnu32.bz2: New testfile. 97 * testfile-zgnu64.bz2: Likewise. 98 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed. 99 (TESTS): Add run-dwelfgnucompressed.sh. 100 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2, 101 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2. 102 (dwelfgnucompressed_LDADD): New variable. 103 104 2015-12-31 Mark Wielaard <mjw (a] redhat.com> 105 106 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx. 107 * run-elfstrmerge-test.sh: New test. 108 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh 109 (EXTRA_DIST): Likewise. 110 111 2015-12-08 Jose E. Marchesi <jose.marchesi (a] oracle.com> 112 113 * run-backtrace-core-sparc.sh: New file. 114 * backtrace.sparc.core.bz2: New file. 115 * backtrace.sparc.exec.bz2: New file. 116 * Makefile.am (EXTRA_DIST): ... and added all here. 117 (TESTS): Added run-backtrace-core-sparc.sh. 118 119 2015-12-02 Mark Wielaard <mjw (a] redhat.com> 120 121 * Makefile.am (valgrind_cmd): Use --leak-check=full. 122 * run-backtrace-demangle.sh: Disable valgrind. 123 * run-stack-demangled-test.sh: Likewise. 124 * run-stack-d-test.sh: Likewise. 125 * run-stack-i-test.sh: Likewise. 126 127 2015-12-01 Mark Wielaard <mjw (a] redhat.com> 128 129 * test-flag-nobits.c (main): Call elf_end. 130 * rerequest_tag.c (main): Call dwarf_end. 131 * funcscopes.c (handle_function): Free scopes. 132 * dwarf-getstring.c (main): Call dwarf_end. 133 * allregs.c (main): Free state.info. 134 * alldts.c (main): Free dyn. 135 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi 136 calls. 137 * addrscopes.c (handle_address): Free scopes. 138 139 2015-10-16 Mark Wielaard <mjw (a] redhat.com> 140 141 * Makefile.am [BUILD_STATIC] (libdw): Add -lz. 142 [BUILD_STATIC] (libelf): Likewise. 143 144 2015-10-16 Mark Wielaard <mjw (a] redhat.com> 145 146 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS. 147 148 2015-10-09 Josh Stone <jistone (a] redhat.com> 149 150 * lfs-symbols: New list of LFS-related symbols from lintian. 151 * testfile-nolfs.bz2: New test binary for sanity checking. 152 * run-lfs-symbols.sh: New test. 153 * Makefile.am (TESTS): Add run-lfs-symbols.sh. 154 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and 155 run-lfs-symbols.sh. 156 * alldts.c (main): Replace open64 with open. 157 * dwarf-getstring.c (main): Likewise. 158 * arls.c: Include config.h. 159 * ecp.c: Likewise. 160 * rdwrmmap.c: Likewise. 161 * test-elf_cntl_gelf_getshdr.c: Likewise. 162 * test-flag-nobits.c: Include config.h. 163 (main): Replace open64 with open. 164 165 2015-10-09 Mark Wielaard <mjw (a] redhat.com> 166 167 * elfshphehdr.c (check): Rename argument from check to statement. 168 (check_elf): Likewise. 169 170 2015-10-05 Josh Stone <jistone (a] redhat.com> 171 172 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer. 173 174 2015-10-02 Mark Wielaard <mjw (a] redhat.com> 175 176 * elfstrmerge.c: New check program. 177 * run-strip-strmerge.sh: New test. 178 * Makefile.am (check_PROGRAMS): Add elfstrmerge. 179 (EXTRA_DIST): Add run-strip-strmerge.sh 180 (elfstrmerge_LDADD): New variable. 181 182 2015-09-29 Mark Wielaard <mjw (a] redhat.com> 183 184 * elfshphehdr.c: New test. 185 * Makefile.am (check_PROGRAMS): Add elfshphehdr. 186 (TESTS): Likewise. 187 (elfshphehdr_LDADD): New variable. 188 189 2015-09-08 Mark Wielaard <mjw (a] redhat.com> 190 191 * dwfl-proc-attach.c: New test. 192 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach. 193 (TESTS): Likewise. 194 (dwfl_proc_attach_LDADD): New variable. 195 (dwfl_proc_attach_LDFLAGS): Likewise. 196 197 2015-09-04 Chih-Hung Hsieh <chh (a] google.com> 198 199 * varlocs.c (print_base_type): Initialize enctype. 200 201 2015-09-04 Chih-Hung Hsieh <chh (a] google.com> 202 203 * md5-sha1-test.c (md5_expected): Removed. 204 (sha1_expected): Likewise. 205 206 2015-09-04 Chih-Hung Hsieh <chh (a] google.com> 207 208 * asm-tst1.c (main): Replace %Z length modifier with %z. 209 * asm-tst2.c (main): Likewise. 210 * asm-tst3.c (main): Likewise. 211 * asm-tst4.c (main): Likewise. 212 * asm-tst5.c (main): Likewise. 213 * asm-tst6.c (main): Likewise. 214 * asm-tst7.c (main): Likewise. 215 * asm-tst8.c (main): Likewise. 216 * asm-tst9.c (main): Likewise. 217 * sectiondump.c (print_bytes): Likewise. 218 219 2015-08-14 Mark Wielaard <mjw (a] redhat.com> 220 221 * run-addr2line-alt-debugpath.sh: New test. 222 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh 223 (EXTRA_DIST): Likewise. 224 225 2015-07-29 Mark Wielaard <mjw (a] redhat.com> 226 227 * run-unstrip-test3.sh: New test. 228 * testfile-info-link.bz2: New file. 229 * testfile-info-link.debuginfo.bz2: Likewise. 230 * testfile-info-link.stripped.bz2: Likewise. 231 * Makefile.am (TESTS): Add run-unstrip-test3.sh. 232 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2, 233 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2. 234 235 2015-06-27 Pino Toscano <toscano.pino (a] tiscali.it> 236 237 * tests/run-deleted.sh: Skip when detecting a not implemented 238 dwfl_linux_proc_attach. 239 240 2015-06-27 Pino Toscano <toscano.pino (a] tiscali.it> 241 242 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of 243 dwfl_addrmodule. 244 245 2015-06-26 Pino Toscano <toscano.pino (a] tiscali.it> 246 247 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused. 248 249 2015-06-26 Pino Toscano <toscano.pino (a] tiscali.it> 250 251 * tests/backtrace-data.c: Reduce scope of some includes to match their 252 usage. 253 * tests/backtrace.c: Likewise. 254 * tests/deleted.c: Likewise. 255 256 2015-06-16 Mark Wielaard <mjw (a] redhat.com> 257 258 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test 259 for non-ET_REL files. 260 261 2015-05-30 Mark Wielaard <mjw (a] redhat.com> 262 263 * backtrace-subr.sh (check_native_core): Notice core file couldn't be 264 generated before skipping. 265 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported 266 before skipping. 267 * run-backtrace-demangle.sh: Likewise. 268 * run-stack-demangled-test.sh: Likewise. 269 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled 270 before skipping. 271 * run-backtrace-native-core-biarch.sh: Likewise. 272 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping. 273 274 2015-05-20 Mark Wielaard <mjw (a] redhat.com> 275 276 * run-addr2line-i-test.sh: Add pretty test. 277 * run-addr2line-test.sh: Likewise. 278 279 2015-05-20 Mark Wielaard <mjw (a] redhat.com> 280 281 * run-addr2line-i-demangle-test.sh: New test. 282 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh. 283 (EXTRA_DIST): Likewise. 284 285 2015-05-20 Mark Wielaard <mjw (a] redhat.com> 286 287 * run-addr2line-test.sh: Add -a test variants. 288 * run-addr2line-i-test.sh: Likewise. 289 290 2015-05-20 Mark Wielaard <mjw (a] redhat.com> 291 292 * run-addrname-test.sh: Make sure all input addresses are hex. 293 294 2015-05-04 Max Filippov <jcmvbkbc (a] gmail.com> 295 296 * backtrace-child.c (stdarg, main): Replace assert_perror with assert. 297 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers) 298 (main): Likewise. 299 * backtrace-dwarf.c (main): Likewise. 300 * backtrace.c (prepare_thread, exec_dump): Likewise. 301 302 2015-05-04 Anthony G. Basile <blueness (a] gentoo.org> 303 304 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD) 305 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD) 306 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD) 307 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD) 308 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD). 309 310 2015-05-01 Mark Wielaard <mjw (a] redhat.com> 311 312 * run-stack-d-test.sh: Use --raw and mangled output. 313 * run-stack-i-test.sh: Likewise. 314 * run-stack-demangled-test.sh: New test. 315 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh. 316 (TESTS): Likewise. 317 318 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 319 320 * Makefile.am (TESTS): Add run-strip-test10.sh. 321 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2. 322 Add testfile-x32-debug.bz2. 323 * run-strip-test10.sh: New file. 324 * testfile-x32-d.bz2: Likewise. 325 * testfile-x32-debug.bz2: Likewise. 326 327 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 328 329 * Makefile.am (TESTS): Add run-strip-test9.sh. 330 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2. 331 * run-strip-test9.sh: New file. 332 * testfile-x32-s.bz2: Likewise. 333 334 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 335 336 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh. 337 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2. 338 Add backtrace.x32.exec.bz2. 339 * backtrace.x32.core.bz2 : New file. 340 * backtrace.x32.exec.bz2: Likewise. 341 * run-backtrace-core-x32.sh: Likewise. 342 343 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 344 345 * run-addrcfi.sh: Add a test for testfile-x32. 346 * testfile-x32.bz2: New file. 347 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2. 348 349 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 350 351 * run-allregs.sh: Add a test for testfile-x32-core. 352 353 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 354 355 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core. 356 * testfile-x32-core.bz2: New file. 357 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2. 358 359 2015-03-18 Petr Machata <pmachata (a] redhat.com> 360 361 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match 362 the API changes. 363 * allregs.c (dwarf_encoding_string): Likewise. 364 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise. 365 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise. 366 367 2015-03-18 Petr Machata <pmachata (a] redhat.com> 368 369 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh, 370 debug-ranges-no-lowpc.o.bz2. 371 372 2015-03-13 Mark Wielaard <mjw (a] redhat.com> 373 374 * backtrace-dwarf.c: Add explicit includes. 375 (cleanup_13_abort): Remove unused static declaration. 376 (thread_callback): Add explicit return. 377 378 2015-03-13 H.J. Lu <hjl.tools (a] gmail.com> 379 380 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS 381 instead of PTRACE_POKEUSER. 382 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for 383 is_x86_64_native. 384 385 2015-02-18 Mark Wielaard <mjw (a] redhat.com> 386 387 * newdata.c (check_section_data): Use PRId64 for printing loff_t. 388 389 2015-02-11 Josh Stone <jistone (a] redhat.com> 390 391 * backtrace.c (exec_dump): Initialize jmp. 392 393 2015-02-11 Petr Machata <pmachata (a] redhat.com> 394 395 * run-dwarf-ranges.sh: New test. 396 * dwarf-ranges.c: New file. 397 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case. 398 399 2015-01-21 Mark Wielaard <mjw (a] redhat.com> 400 401 * Makefile.am (check_PROGRAMS): Add elfstrtab. 402 (TESTS): Likewise. 403 (elfstrtab_LDADD): New variable. 404 * elfstrtab.c: New test. 405 406 2015-01-20 Mark Wielaard <mjw (a] redhat.com> 407 408 * Makefile.am (check_PROGRAMS): Add newdata. 409 (TESTS): Likewise. 410 (newdata_LDADD): new variable. 411 * newdata.c: New test. 412 413 2015-01-20 Mark Wielaard <mjw (a] redhat.com> 414 415 * strptr.c: New file. 416 * run-strptr.sh: New test. 417 * Makefile.am (check_PROGRAMS): Add strptr. 418 (TESTS): Add run-strptr.sh. 419 (EXTRA_DIST): Likewise. 420 (strptr_LDADD): New variable. 421 422 2015-01-15 Mark Wielaard <mjw (a] redhat.com> 423 424 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY). 425 * vdsosyms.c (main): Use getpid () instead of getppid (). 426 427 2014-12-27 Mark Wielaard <mjw (a] redhat.com> 428 429 * addrscopes.c (handle_address): Last address in scope is highpc - 1. 430 * funcscopes.c (handle_function): Likewise. 431 * run-addrscopes.sh: Adjust last address in scope. 432 * run-funcscopes.sh: Likewise. 433 434 2015-01-07 Mark Wielaard <mjw (a] redhat.com> 435 436 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search. 437 438 2015-01-14 Mark Wielaard <mjw (a] redhat.com> 439 440 * testfile-debug-types.bz2: New testfile. 441 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2. 442 * typeiter2.c (main): Print both name and offset of found form DIE. 443 * run-typeiter.s: Adjust output and add testfile-debug-types. 444 445 2014-12-26 Mark Wielaard <mjw (a] redhat.com> 446 447 * run-test-archive64.sh: Add nm test. 448 449 2014-12-19 Mark Wielaard <mjw (a] redhat.com> 450 451 * run-deleted.sh: Don't check libfunc on ppc64. 452 453 2014-12-19 Mark Wielaard <mjw (a] redhat.com> 454 455 * vdsosyms.c (vdso_seen): Removed. 456 (vdso_syms): New global. 457 (module_callback): Set and check vdso_syms. 458 (main): Return value depends on vdso_syms. 459 460 2014-12-19 Mark Wielaard <mjw (a] redhat.com> 461 462 * backtrace-subr.sh (check_native_unsupported): Relax special ARM 463 grep a little. 464 * run-deleted.sh: Call check_native_unsupported. 465 466 2014-12-18 Mark Wielaard <mjw (a] redhat.com> 467 468 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2. 469 470 2014-12-12 Mark Wielaard <mjw (a] redhat.com> 471 472 * Makefile.am (deleted_lib_so_CFLAGS): Add 473 -fasynchronous-unwind-tables. 474 475 2014-12-11 Josh Stone <jistone (a] redhat.com> 476 477 * run-addr2line-i-lex-test.sh: New test. 478 * testfile-lex-inlines.bz2: New testfile. 479 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and 480 testfile-lex-inlines.bz2. 481 (TESTS): Add run-addr2line-i-lex-test.sh. 482 483 2014-12-10 Josh Stone <jistone (a] redhat.com> 484 485 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is 486 preferred over the plain die name. 487 488 2014-12-02 Petr Machata <pmachata (a] redhat.com> 489 490 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef, 491 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch. 492 (main): Initialize off to DWARF_GETMACROS_START when an extra 493 command line argument is passed. 494 * testfile-macros-0xff.bz2: New test case. 495 * testfile-macros-0xff.s: New file (source for the above). 496 * run-dwarf-getmacros.sh: Add two tests. 497 498 2014-11-27 Mark Wielaard <mjw (a] redhat.com> 499 500 * vdsosyms.c (main): Call dwfl_linux_proc_attach. 501 502 2014-11-21 Mark Wielaard <mjw (a] redhat.com> 503 504 * run-readelf-A.sh: New test. 505 * testfileppc32attrs.o.bz2: New test file. 506 * Makefile.am (TESTS): Add run-readelf-A.sh. 507 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2. 508 509 2014-11-10 Mark Wielaard <mjw (a] redhat.com> 510 511 * vdsosyms.c: New test. 512 * Makefile.am (check_PROGRAMS): Add vdsosyms. 513 (TESTS): Likewise. 514 (vdsosyms_LDADD): New variable. 515 516 2014-09-10 Petr Machata <pmachata (a] redhat.com> 517 518 * dwarf-getmacros.c: Update to use the new macro iteration 519 interfaces. 520 * run-dwarf-getmacros.sh: Adjust, add a test that uses 521 testfile-macros. 522 523 2014-10-06 Mark Wielaard <mjw (a] redhat.com> 524 525 * run-aggregate-size.sh: Add testfile-sizes3.o test case. 526 * testfile-sizes3.o.bz2: New test file. 527 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2. 528 529 2014-10-02 Mark Wielaard <mjw (a] redhat.com> 530 531 * run-deleted.sh: Unset VALGRIND_CMD before running deleted. 532 533 2014-10-02 Mark Wielaard <mjw (a] redhat.com> 534 535 * Makefile.am (check_PROGRAMS): Add aggregate_size.c. 536 (TESTS): Add run-aggregate-size.sh. 537 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2 538 and testfile-sizes2.o.bz2. 539 (aggregate_size_LDADD): New variable. 540 * aggregate_size.c: New file. 541 * run-aggregate-size.sh: New test. 542 * testfile-sizes1.o.bz2: New test file. 543 * testfile-sizes2.o.bz2: Likewise. 544 545 2014-09-26 Jan Kratochvil <jan.kratochvil (a] redhat.com> 546 547 Support NT_FILE for locating files. 548 * Makefile.am (TESTS): Add run-linkmap-cut.sh. 549 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2, 550 linkmap-cut.bz2 and linkmap-cut.core.bz2 . 551 * linkmap-cut-lib.so.bz2: New file. 552 * linkmap-cut.bz2: New file. 553 * linkmap-cut.core.bz2: New file. 554 * run-linkmap-cut.sh: New file. 555 * run-unstrip-n.sh: Update its expected output. 556 557 2014-08-28 Jan Kratochvil <jan.kratochvil (a] redhat.com> 558 559 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so. 560 (TESTS, EXTRA_DIST): Add run-deleted.sh. 561 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New. 562 * deleted-lib.c: New file. 563 * deleted.c: New file. 564 * run-deleted.sh: New file. 565 566 2014-06-15 Mark Wielaard <mjw (a] redhat.com> 567 568 * backtrace.c (frame_callback): Error on seeing more than 16 frames. 569 570 2014-06-13 Mark Wielaard <mjw (a] redhat.com> 571 572 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first 573 frame symname. 574 575 2014-06-13 Mark Wielaard <mjw (a] redhat.com> 576 577 * backtrace-subr.sh (check_native_unsupported): New function. 578 (check_native): Call it. 579 (check_native_core): Likewise. 580 * run-backtrace-dwarf.sh: Likewise. 581 582 2014-06-11 Mark Wielaard <mjw (a] redhat.com> 583 584 * backtrace.c (main): Check that Dwfl was attached by calling 585 dwfl_pid and printing the error when it is not. 586 587 2014-05-18 Mark Wielaard <mjw (a] redhat.com> 588 589 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static. 590 (f): Likewise. 591 * testfile-backtrace-demangle.bz2: Regenerate. 592 * testfile-backtrace-demangle.core.bz2: Likewise. 593 594 2014-05-02 Mark Wielaard <mjw (a] redhat.com> 595 596 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and 597 run-allfcts-multi.sh are now added unconditionally. 598 599 2014-05-01 Mark Wielaard <mjw (a] redhat.com> 600 601 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz 602 subdir. 603 604 2014-04-30 Mark Wielaard <mjw (a] redhat.com> 605 606 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files. 607 * Makefile.am (check_PROGRAMS): Add buildid. 608 (TESTS): Add run-buildid.sh. 609 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2. 610 (buildid_LDADD): New variable. 611 612 2014-04-24 Florian Weimer <fweimer (a] redhat.com> 613 614 * allfcts.c (setup_alt): New function. 615 (main): Call it. Implementation additional error checking and 616 reporting. 617 618 2014-04-24 Florian Weimer <fweimer (a] redhat.com> 619 620 * debugaltlink.c, run-debugaltlink.sh: New files. 621 * Makefile.am (check_PROGRAMS): Add debugaltlink. 622 (TESTS): Add run-debugaltlink.sh. 623 (debugaltlink_LDADD): New variable. 624 625 2014-04-11 Mark Wielaard <mjw (a] redhat.com> 626 627 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf. 628 (check_PROGRAMS): Add debuglink. 629 (TESTS): Add run-debuglink.sh 630 (EXTRA_DIST): Likewise. 631 (debuglink_LDADD): New. 632 * debuglink.c: New file. 633 * run-debuglink.sh: Likewise. 634 635 2014-03-23 Mark Wielaard <mjw (a] redhat.com> 636 637 * run-nm-self.sh: Use test = not == for string comparisons. 638 639 2014-04-22 Kurt Roeckx <kurt (a] roeckx.be> 640 641 * backtrace.c: Make Linux only. 642 * backtrace-child.c: Make Linux only. 643 * backtrace-data.c: Make Linux only. 644 * backtrace-dwarf.c: Make Linux only. 645 * backtrace-subr.sh: Skip core file unwinding tests when not supported. 646 647 2014-03-14 Mark Wielaard <mjw (a] redhat.com> 648 649 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all 650 LDADD lines. 651 * configure.ac: Remove MUDFLAP conditional. 652 653 2014-04-09 Mark Wielaard <mjw (a] redhat.com> 654 655 * run-readelf-zdebug.sh: New test. 656 * testfile-debug.bz2: New testfile. 657 * testfile-zdebug.bz2: New testfile. 658 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB. 659 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and 660 testfile-zdebug.bz2. 661 662 2014-04-10 Mark Wielaard <mjw (a] redhat.com> 663 664 * testfile_i686_core.bz2: New test file. 665 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test. 666 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2 667 668 2014-04-09 Mark Wielaard <mjw (a] redhat.com> 669 670 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh. 671 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh, 672 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2. 673 * run-backtrace-core-aarch64.sh: New test. 674 675 2014-03-11 Josh Stone <jistone (a] redhat.com> 676 677 * testfilebaxmin.bz2: New testfile. 678 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2. 679 * run-readelf-s.sh: Test testfilebaxmin. 680 * run-dwflsyms.sh: Likewise. 681 682 2014-01-26 Mark Wielaard <mjw (a] redhat.com> 683 684 * backtrace-subr.sh (check_unsupported): Special case arm*. 685 686 2014-01-25 Mark Wielaard <mjw (a] redhat.com> 687 688 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to 689 location expression: call_frame_cfa stack_value. 690 691 2014-01-22 Mark Wielaard <mjw (a] redhat.com> 692 693 * Makefile.am (line2addr_no_Wformat): Removed. 694 695 2014-01-21 Mark Wielaard <mjw (a] redhat.com> 696 697 * Makefile.am (TESTS): Add run-stack-i-test.sh. 698 (EXTRA_DIST): Likewise. 699 * run-stack-i-test.sh: New test. 700 701 2014-01-20 Mark Wielaard <mjw (a] redhat.com> 702 703 * Makefile.am (TESTS): Add run-stack-d-test.sh. 704 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2 705 testfiledwarfinlines.core.bz2. 706 * run-stack-d-test.sh: New test. 707 * testfiledwarfinlines.bz2: New test file. 708 * testfiledwarfinlines.core.bz2: Likewise. 709 710 2014-01-16 Mark Wielaard <mjw (a] redhat.com> 711 712 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun 713 on one ET_REL, one ET_EXEC and one ET_DYN file. 714 * test-subr.sh (self_test_files): Add two ET_REL files, only add 715 two libebl ET_DYN backend files. 716 717 2014-01-16 Mark Wielaard <mjw (a] redhat.com> 718 719 * run-backtrace-demangle.sh: Check exitcode and max number of frames. 720 721 2014-01-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 722 723 Fix false FAILs on testsuite with ulimit -c unlimited. 724 * backtrace-child.c (sigusr2): Call pthread_exit. 725 (main): Return, do not call abort. 726 727 2014-01-15 Jan Kratochvil <jan.kratochvil (a] redhat.com> 728 729 Fix corruption of non-C++ symbols by the demangler. 730 * Makefile.am (TESTS): Add run-backtrace-demangle.sh. 731 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export. 732 (EXTRA_DIST): Add run-backtrace-demangle.sh, 733 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc, 734 testfile-backtrace-demangle.core.bz2. 735 * backtrace-demangle.cc: New file. 736 * run-backtrace-demangle.sh: New file. 737 * testfile-backtrace-demangle.bz2: New file. 738 * testfile-backtrace-demangle.cc: New file. 739 * testfile-backtrace-demangle.core.bz2: New file. 740 741 2014-01-07 Matthias Klose <doko (a] ubuntu.com> 742 743 * backtrace-subr.sh (check_native_core): Check to see if core file 744 was created without ".PID" extension, if so mv core to core.PID. 745 Skip test if no core file was created or could be found. 746 747 2014-01-04 Mark Wielaard <mjw (a] redhat.com> 748 749 * backtrace-data.c (main): Don't assert if raise returns. 750 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with 751 assume_ptrace_attached true. 752 (ptrace_detach_stopped): Removed function. 753 (main): Don't call ptrace_detach_stopped. 754 * backtrace.c (ptrace_detach_stopped): Removed function. 755 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached 756 true. 757 (exec_dump): Don't call ptrace_detach_stopped. 758 759 2014-01-04 Mark Wielaard <mjw (a] redhat.com> 760 761 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test 762 if we cannot adjust core ulimit. 763 764 2014-01-04 Mark Wielaard <mjw (a] redhat.com> 765 766 * cleanup-13.c (force_unwind_stop): Removed. 767 (force_unwind): Just call abort. Don't setup _Unwind_Exception and 768 don't call _Unwind_ForcedUnwind. 769 770 2014-01-03 Mark Wielaard <mjw (a] redhat.com> 771 772 * run-addrcfi.sh: Add case for EM_AARCH64. 773 * testfileaarch64.bz2: New testfile. 774 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2. 775 776 2013-12-30 Mark Wielaard <mjw (a] redhat.com> 777 778 * backtrace-dwarf.c (report_pid): Explicitly call 779 dwfl_linux_proc_attach and check for errors. 780 * backtrace.c (report_pid): Likewise. 781 782 2013-12-21 Mark Wielaard <mjw (a] redhat.com> 783 784 * backtrace.c (callback_verify): Only assert that case 5 is the last 785 instruction of backtracegen on x86_64 native. 786 787 2013-12-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 788 Mark Wielaard <mjw (a] redhat.com> 789 790 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2 791 and testfilebaz*ppc64*.bz2 files. 792 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print 793 error on dwfl_module_getsymtab error. 794 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info. 795 Compare values for non-ET_REL. Use dwfl_module_addrinfo. 796 Also print section of actual value if different from sym. 797 * run-addrname-test.sh (testfile66, testfile66.core): New tests. 798 Test addr2line -x by showing different sections for address and 799 found name in testfile66. 800 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko, 801 testfilebaz*ppc64): New tests. 802 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2, 803 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2, 804 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2, 805 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2, 806 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2, 807 testfilebaztabppc64.bz2: New test files. 808 809 2013-12-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 810 811 unwinder: s390 and s390x 812 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and 813 run-backtrace-core-s390.sh. 814 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2, 815 backtrace.s390.core.bz2, backtrace.s390.exec.bz2, 816 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh. 817 * backtrace.s390.core.bz2: New file. 818 * backtrace.s390.exec.bz2: New file. 819 * backtrace.s390x.core.bz2: New file. 820 * backtrace.s390x.exec.bz2: New file. 821 * run-backtrace-core-s390.sh: New file. 822 * run-backtrace-core-s390x.sh: New file. 823 824 2013-12-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 825 826 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused 827 code. 828 829 2013-12-15 Jan Kratochvil <jan.kratochvil (a] redhat.com> 830 831 unwinder: ppc 832 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh. 833 (EXTRA_DIST): Add backtrace.ppc.core.bz2, 834 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh. 835 * backtrace.ppc.core.bz2: New file. 836 * backtrace.ppc.exec.bz2: New file. 837 * run-backtrace-core-ppc.sh: New file. 838 839 2013-12-10 Mark Wielaard <mjw (a] redhat.com> 840 841 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c. 842 843 2013-12-10 Mark Wielaard <mjw (a] redhat.com> 844 845 * Makefile.am (valgrind_cmd): Remove --trace-children=yes. 846 * backtrace-subr.sh (check_native_core): Disable valgrind while 847 dumping core. 848 * run-backtrace-data.sh: Disable valgrind. 849 * run-backtrace-dwarf.sh: Likewise. 850 851 2013-12-09 Mark Wielaard <mjw (a] redhat.com> 852 853 * varlocs.c (print_expr): Update comment to explain empty location 854 associated with DW_OP_GNU_implicit_pointer. 855 856 2013-12-05 Jan Kratochvil <jan.kratochvil (a] redhat.com> 857 858 Fix test FAIL with -O2. 859 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub. 860 861 2013-12-05 Mark Wielaard <mjw (a] redhat.com> 862 863 * backtrace-data.c (main): If unsupported also print to stderr. 864 * run-backtrace-dwarf.sh: Add check_unsupported and check_main. 865 866 2013-12-04 Mark Wielaard <mjw (a] redhat.com> 867 868 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT). 869 870 2013-12-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 871 872 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child, 873 backtrace-data and backtrace-dwarf. 874 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New. 875 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh, 876 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh, 877 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 878 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh. 879 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH. 880 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh, 881 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh, 882 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 883 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh, 884 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2, 885 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2. 886 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS) 887 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD): 888 New. 889 * backtrace-child.c: New file. 890 * backtrace-data.c: New file. 891 * backtrace-dwarf.c: New file. 892 * backtrace-subr.sh: New file. 893 * backtrace.c: New file. 894 * cleanup-13.c: New file. 895 * backtrace.i386.core.bz2: New file. 896 * backtrace.i386.exec.bz2: New file. 897 * backtrace.x86_64.core.bz2: New file. 898 * backtrace.x86_64.exec.bz2: New file. 899 * run-backtrace-core-i386.sh: New file. 900 * run-backtrace-core-x86_64.sh: New file. 901 * run-backtrace-native-biarch.sh: New file. 902 * run-backtrace-native-core-biarch.sh: New file. 903 * run-backtrace-native-core.sh: New file. 904 * run-backtrace-native.sh: New file. 905 * run-backtrace-data.sh: New file. 906 * run-backtrace-dwarf.sh: New file. 907 908 2013-11-27 Mark Wielaard <mjw (a] redhat.com> 909 910 * dwflsyms.c (gelf_bind_order): New function. 911 (elf_section_name): Likewise. 912 (addr_in_section): Likewise. 913 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf. 914 Refine assert using gelf_bind_order. Print elf_section_name. Check 915 bias with addr_in_section. 916 * run-dwflsyms.sh: Add section names to expected output. 917 918 2013-11-26 Mark Wielaard <mjw (a] redhat.com> 919 920 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh. 921 922 2013-11-25 Petr Machata <pmachata (a] redhat.com> 923 924 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files. 925 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise. 926 * Makefile.am (EXTRA_DIST): Add these. 927 (TESTS): Add run-funcretval.sh. 928 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test. 929 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test. 930 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2. 931 * run-funcretval.sh: New file. 932 933 2013-11-18 Josh Stone <jistone (a] redhat.com> 934 935 * testfilebazdbg_plr.bz2: New testfile. 936 * testfilebazmin_plr.bz2: Likewise. 937 * Makefile.am (EXTRA_DIST): Add the above files. 938 * run-dwflsyms.sh: Add prelink -r tests. 939 940 2013-11-15 Mark Wielaard <mjw (a] redhat.com> 941 942 * testfilebazmdb.bz2: Regenerated. 943 * testfilebazmin.bz2: Likewise. 944 * testfilebazdbg_pl.bz2: New testfile. 945 * testfilebazmin_pl.bz2: Likewise. 946 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and 947 testfilebazmin_pl.bz2. 948 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and 949 print relative address of function symbols. 950 * run-dwflsyms.sh: Add prelink tests and adjust expected output. 951 952 2013-11-01 Michael Forney <mforney (a] mforney.org> 953 954 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM. 955 * run-arsymtest.sh: Use NM. 956 957 2013-11-05 Mark Wielaard <mjw (a] redhat.com> 958 959 * allfcts.c (main): Correct dwarf_getfuncs return value check. 960 961 2013-10-10 Mark Wielaard <mjw (a] redhat.com> 962 Josh Stone <jistone (a] redhat.com> 963 964 * run-allfcts-multi.sh: New test. 965 * test-offset-loop.bz2: New testfile. 966 * test-offset-loop.alt.bz2: New testfile. 967 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ. 968 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and 969 test-offset-loop.alt.bz2. 970 971 2013-10-15 Mark Wielaard <mjw (a] redhat.com> 972 973 * run-unstrip-M.sh: New test. 974 * Makefile.am (TESTS): Add run-unstrip-M.sh. 975 (EXTRA_DIST): Likewise. 976 977 2013-10-06 Mark Wielaard <mjw (a] redhat.com> 978 979 * run-addrcfi.sh: Remove nop from expected ppc and ppc64 980 location expression. 981 982 2013-10-03 Josh Stone <jistone (a] redhat.com> 983 984 * typeiter2.c: New file, reversing typeiter.c. 985 * run-typeiter.sh: Also run typeiter2. 986 * Makefile.am (check_PROGRAMS): Add typeiter2. 987 (typeiter2_LDADD): New variable. 988 989 2013-09-26 Petr Machata <pmachata (a] redhat.com> 990 991 * run-readelf-mixed-corenote.sh: Update output of testfile71 992 dump--readelf can newly decode the NT_FILE note. 993 994 2013-09-26 Petr Machata <pmachata (a] redhat.com> 995 996 * Makefile.am (EXTRA_DIST): Add testfile71.bz2. 997 * run-readelf-mixed-corenote.sh: New test for this file. 998 * testfile71.bz2: New file. 999 1000 2013-09-20 Mark Wielaard <mjw (a] redhat.com> 1001 1002 * allfcts.c (cb): Return DWARF_CB_ABORT. 1003 (main): Iterate over all offsets returned by dwarf_getfuncs. 1004 * run-allfcts.sh: Add nested_funcs and class_func testcases. 1005 * testfile_nested_funcs.bz2: New test file. 1006 * testfile_class_func.bz2: Likewise. 1007 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and 1008 testfile_nested_funcs.bz2. 1009 1010 2013-08-30 Mark Wielaard <mjw (a] redhat.com> 1011 1012 * Makefile.am (check_PROGRAMS): Add varlocs. 1013 (TESTS): Add run-varlocs.sh. 1014 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c, 1015 testfile_const_type.bz2, testfile_implicit_pointer.c, 1016 testfile_implicit_pointer.bz2, testfile_parameter_ref.c, 1017 testfile_entry_value.c, testfile_entry_value.bz2, 1018 testfile_implicit_value.c and testfile_implicit_value.bz2. 1019 (varlocs_LDADD): New. 1020 * run-varlocs: New test. 1021 * testfile_const_type.c: New test source file. 1022 * testfile_entry_value.c: Likewise. 1023 * testfile_implicit_pointer.c: Likewise. 1024 * testfile_implicit_value.c: Likewise. 1025 * testfile_parameter_ref.c: Likewise. 1026 * testfile_const_type.bz2: New test file. 1027 * testfile_entry_value.bz2: Likewise. 1028 * testfile_implicit_pointer.bz2: Likewise. 1029 * testfile_implicit_value.bz2: Likewise. 1030 * testfile_parameter_ref.bz2: Likewise. 1031 * varlocs.c: New test source. 1032 1033 2013-08-29 Mark Wielaard <mjw (a] redhat.com> 1034 1035 * run-addrcfi.sh: Add case for EM_ARM. 1036 * testfilearm.bz2: New testfile. 1037 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2. 1038 1039 2013-08-28 Mark Wielaard <mjw (a] redhat.com> 1040 1041 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame 1042 completely missing. 1043 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64. 1044 * testfiles390.bz2: New testfile. 1045 * testfiles390x.bz2: Likewise. 1046 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and 1047 testfiles390x.bz2. 1048 1049 2013-08-28 Mark Wielaard <mjw (a] redhat.com> 1050 1051 * addrcfi.c (handle_cfi): Use printf not error. 1052 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64. 1053 * testfileppc32.bz2: New testfile. 1054 * testfileppc64.bz2: Likewise. 1055 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and 1056 testfileppc64.bz2. 1057 1058 2013-08-27 Mark Wielaard <mjw (a] redhat.com> 1059 1060 * run-addrcfi.sh: New test. 1061 * Makefile.am (TESTS): Add run-addrcfi.sh. 1062 (EXTRA_DIST): Likewise. 1063 * addrcfi.c (op_name): New function. 1064 (print_detail): Call and print op_name. Check ops, not result 1065 to check if this is "same value" or "undefined". 1066 (handle_cfi): Make sure cfa_ops doesn't point to NULL. 1067 1068 2013-08-13 Mark Wielaard <mjw (a] redhat.com> 1069 1070 * run-addr2line-i-test.sh: New test. 1071 * testfile-inlines.bz2: New testfile. 1072 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and 1073 testfile-inlines.bz2. 1074 (TESTS): Add run-addr2line-i-test.sh. 1075 1076 2013-08-12 Mark Wielaard <mjw (a] redhat.com> 1077 1078 * run-addr2line-test.sh: New test. 1079 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh. 1080 (TESTS): Likewise. 1081 1082 2013-07-23 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1083 1084 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of 1085 the entries. 1086 1087 2013-07-02 Mark Wielaard <mjw (a] redhat.com> 1088 1089 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in 1090 testfilenolines.bz2. 1091 1092 2013-05-30 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1093 1094 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2, 1095 test-core.core.bz2 and test-core.exec.bz2. 1096 * run-addrname-test.sh: New test for these files. 1097 * run-unstrip-n.sh: Update expected output. New test for these files. 1098 * test-core-lib.so.bz2: New file. 1099 * test-core.core.bz2: New file. 1100 * test-core.exec.bz2: New file. 1101 1102 2013-05-03 Mark Wielaard <mjw (a] redhat.com> 1103 1104 * testfilenolines.bz2: New test file. 1105 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2. 1106 * run-get-lines.sh: Run testrun_compare on testfilenolines. 1107 1108 2013-04-30 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1109 1110 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf. 1111 1112 2013-04-29 Mark Wielaard <mjw (a] redhat.com> 1113 1114 * test-subr.sh: Don't use pushd, just cd into test-dir. 1115 (exit_cleanup): Don't use popd, just cd .. to get out. 1116 1117 2013-04-27 Mark Wielaard <mjw (a] redhat.com> 1118 1119 * test-subr.sh (exit_cleanup): New function. 1120 (trap): Use exit_cleanup as argument. 1121 * run-native-test.sh (native_exit): New function. 1122 (trap): For EXIT (0) use native_exit as argument. 1123 1124 2013-04-27 Mark Wielaard <mjw (a] redhat.com> 1125 1126 * update1.c (main): Use unique tempfile name and unlink file. 1127 * update2.c (main): Likewise. 1128 * update3.c (main): Likewise. 1129 * update4.c (main): Use unique tempfile name. 1130 1131 2013-04-27 Mark Wielaard <mjw (a] redhat.com> 1132 1133 * run-alldts.sh: Add testfile-alldts to tempfiles. 1134 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles. 1135 * run-macro-test.sh: Add readelf.macros.out to tempfiles. 1136 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2 1137 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles. 1138 1139 2013-04-26 Mark Wielaard <mjw (a] redhat.com> 1140 1141 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment, 1142 remove wrapper. 1143 (TESTS_ENVIRONMENT): Likewise. 1144 (installed_LOG_COMPILER): New variable defining wrapper. 1145 (LOG_COMPILER): Likewise. 1146 * run-*.sh: Fixup location of input and output files. 1147 * test-subr.sh: Create test_dir, pushd to execute test in. 1148 (trap): Remove test_dir. 1149 (testfiles): Use abs_srcdir. 1150 (installed_testrun): Match on abs_builddir or abs_top_builddir. 1151 (self_test_files): Adjust path. 1152 1153 2013-04-24 Mark Wielaard <mjw (a] redhat.com> 1154 1155 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 1156 1157 2013-03-25 Mark Wielaard <mjw (a] redhat.com> 1158 1159 * run-readelf-aranges.sh: New test. 1160 * testfilefoobarbaz.bz2: New test file. 1161 * Makefile.am (TESTS): Add run-readelf-aranges.sh. 1162 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2. 1163 1164 2013-03-25 Mark Wielaard <mjw (a] redhat.com> 1165 1166 * run-readelf-dwz-multi.sh: Expect high_pc also as address. 1167 1168 2013-03-20 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1169 1170 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align. 1171 (TESTS): Add run-dwfl-report-elf-align.sh. 1172 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and 1173 testfile-dwfl-report-elf-align-shlib.so.bz2 . 1174 (dwfl_report_elf_align_LDADD): New. 1175 * dwfl-report-elf-align.c: New file. 1176 * run-dwfl-report-elf-align.sh: New file. 1177 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file. 1178 1179 2013-03-12 Mark Wielaard <mjw (a] redhat.com> 1180 1181 * run-dwfllines.sh: New test. 1182 * dwfllines.c: New test program. 1183 * Makefile.am (TESTS): Add run-dwfllines.sh. 1184 (EXTRA_DIST): Likewise. 1185 (dwfllines_LDADD): New variable. 1186 1187 2013-02-22 Mark Wielaard <mjw (a] redhat.com> 1188 1189 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh. 1190 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS. 1191 1192 2013-02-15 Mark Wielaard <mjw (a] redhat.com> 1193 1194 * testfile-dwzstr.bz2: New testfile. 1195 * testfile-dwzstr.multi.bz2: Likewise. 1196 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test. 1197 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and 1198 testfile-dwzstr.multi.bz2. 1199 1200 2013-01-30 Mark Wielaard <mjw (a] redhat.com> 1201 1202 * testfileloc.bz2: New testfile. 1203 * run-readelf-loc.sh: New test. 1204 * Makefile.am (TESTS): Add run-readelf-loc.sh. 1205 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2. 1206 1207 2013-01-29 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1208 1209 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390 1210 and s390x core notes. 1211 * testfile67.bz2: New file. 1212 * testfile68.bz2: New file. 1213 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 . 1214 1215 2013-01-23 Mark Wielaard <mjw (a] redhat.com> 1216 1217 * testfilebasmin.bz2: New testfile. 1218 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2. 1219 * run-readelf-s.sh: Test testfilebasmin. 1220 * run-dwflsyms.sh: Likewise. 1221 1222 2013-01-16 Mark Wielaard <mjw (a] redhat.com> 1223 1224 * Makefile.am (check_PROGRAMS): Add dwflsyms. 1225 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh. 1226 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2, 1227 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2, 1228 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh. 1229 (dwflsyms_LDADD): New variable. 1230 1231 2013-01-07 Roland McGrath <roland (a] hack.frob.com> 1232 1233 * run-prelink-addr-test.sh: Use ln -snf. 1234 1235 2012-12-03 Mark Wielaard <mjw (a] redhat.com> 1236 1237 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no. 1238 1239 2012-11-29 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1240 1241 * run-addrname-test.sh: New test for PIE relocation. 1242 * testfile70.core.bz2: New file. 1243 * testfile70.exec.bz2: New file. 1244 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and 1245 testfile70.exec.bz2 . 1246 1247 2012-10-27 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1248 1249 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2, 1250 testfile69.core.bz2 and testfile69.so.bz2 . 1251 1252 2012-10-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1253 1254 * run-addrname-test.sh: New test for DSO with build-id bias. 1255 * testfile69.core.bz2: New file. 1256 * testfile69.so.bz2: New file. 1257 1258 2012-10-10 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1259 1260 * run-addrname-test.sh: New test for core vDSO bias. 1261 * testfile65.bz2: New file. 1262 1263 2012-10-10 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1264 1265 * run-addrname-test.sh: New test for symbol preferences. 1266 * testfile64.bz2: New file. 1267 1268 2012-10-01 Mark Wielaard <mjw (a] redhat.com> 1269 1270 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND. 1271 * test-wrapper.sh: Export VALGRIND_CMD if available. 1272 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog. 1273 (installed_testrun): Likewise. 1274 1275 2012-09-24 Petr Machata <pmachata (a] redhat.com> 1276 1277 * testfile63.bz2: New testfile. 1278 * run-readelf-mixed-corenote.sh: New test. 1279 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh. 1280 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh. 1281 1282 2012-09-24 Petr Machata <pmachata (a] redhat.com> 1283 1284 * testfile62.bz2: New testfile. 1285 * run-readelf-vmcoreinfo.sh: New test. 1286 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh. 1287 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh. 1288 1289 2012-09-18 Petr Machata <pmachata (a] redhat.com> 1290 1291 * testfile61.bz2: New testfile. 1292 * run-allregs.sh: Run reg_test testfile61. 1293 * Makefile.am (EXTRA_DIST): Add testfile61.bz2. 1294 1295 2012-08-24 Mark Wielaard <mjw (a] redhat.com> 1296 1297 * Makefile.am (EXTRA_DIST): Add testfile60.bz2. 1298 1299 2012-08-22 Jeff Kenton <jkenton (a] tilera.com> 1300 1301 * testfile60.bz2: New testfile. 1302 * run-allregs.sh: Run reg_test testfile60. 1303 1304 2012-08-24 Mark Wielaard <mjw (a] redhat.com> 1305 1306 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if 1307 ENABLE_DWZ. 1308 1309 2012-08-16 Mark Wielaard <mjw (a] redhat.com> 1310 1311 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf 1312 macros. 1313 * show-die-info.c (tagnames): Removed. 1314 (attrs): Removed. 1315 (dwarf_tag_string): New function using known-dwarf macros. 1316 (dwarf_attr_string): Likewise. 1317 (handle): Call dwarf_tag_string and dwarf_attr_string instead. 1318 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89. 1319 1320 2012-06-27 Mark Wielaard <mjw (a] redhat.com> 1321 1322 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh. 1323 (EXTRA_DIST): Add run-readelf-dwz-multi.sh, 1324 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and 1325 testfile_multi_main.bz2. 1326 * run-readelf-dwz-multi.sh: New test. 1327 * libtestfile_multi_shared.so.bz2: New testfile. 1328 * testfile_multi.dwz.bz2: New testifle. 1329 * testfile_multi_main.bz2: New testifle. 1330 1331 2012-08-01 Petr Machata <pmachata (a] redhat.com> 1332 1333 * run-test-archive64.sh: New test. 1334 * testarchive64.a.bz2: New testfile. 1335 * Makefile.am (TESTS): Add run-test-archive64.sh. 1336 (EXTRA_DIST): Likewise. 1337 1338 2012-08-01 Mark Wielaard <mjw (a] redhat.com> 1339 1340 * run-nm-self.sh: New test. 1341 * run-readelf-self.sh: Likewise. 1342 * test-subr.sh (testrun_on_self_quiet): New function. 1343 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh. 1344 (EXTRA_DIST): Likewise. 1345 1346 2012-08-01 Mark Wielaard <mjw (a] redhat.com> 1347 1348 * test-subr.sh (self_test_files): New list of files. 1349 (testrun_on_self): New function. 1350 * run-elflint-self.sh: Use testrun_on_self. 1351 1352 2012-07-19 Mark Wielaard <mjw (a] redhat.com> 1353 1354 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr. 1355 (TESTS): Add run-elf_cntl_gelf_getshdr.sh. 1356 (EXTRA_DIST): Likewise. 1357 (test_elf_cntl_gelf_getshdr_LDADD): New. 1358 test-elf_cntl_gelf_getshdr.c: New test program. 1359 run-elf_cntl_gelf_getshdr.sh: New test script. 1360 1361 2012-07-19 Mark Wielaard <mjw (a] redhat.com> 1362 1363 * run-elflint-self.sh: runtests on ../backends/*so files. 1364 1365 2012-07-19 Mark Wielaard <mjw (a] redhat.com> 1366 1367 * run-unstrip-n.sh: test_cleanup. 1368 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2. 1369 1370 2012-07-11 Mark Wielaard <mjw (a] redhat.com> 1371 1372 * run-readelf-macro.sh: New test. 1373 * testfilemacro.bz2: New testfile. 1374 * Makefile.am (TESTS): Add run-readelf-macro.sh. 1375 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2. 1376 1377 2012-06-27 Mark Wielaard <mjw (a] redhat.com> 1378 1379 * run-readelf-gdb-index.sh: New test. 1380 * testfilegdbindex5.bz2: New testfile. 1381 * testfilegdbindex7.bz2: Likewise. 1382 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh. 1383 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and 1384 testfilegdbindex7.bz2. 1385 1386 2012-07-17 Mark Wielaard <mjw (a] redhat.com> 1387 1388 * testcore-rtlib-ppc.bz2: New testfile. 1389 * run-unstrip-n.sh: Check new ppc core testfile. 1390 1391 2012-06-26 Mike Frysinger <vapier (a] gentoo.org> 1392 1393 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. 1394 1395 2012-06-26 Mark Wielaard <mjw (a] redhat.com> 1396 1397 * run-macro-test.sh: New test. 1398 * testfile-macinfo.bz2: New testfile. 1399 * testfile-macros.bz2: Likewise. 1400 1401 2012-05-07 Mark Wielaard <mjw (a] redhat.com> 1402 1403 * low_high_pc.c: Use proper inttypes in printf formats. 1404 1405 2012-05-11 Mark Wielaard <mjw (a] redhat.com> 1406 1407 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C. 1408 1409 2012-05-07 Mark Wielaard <mjw (a] redhat.com> 1410 1411 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC. 1412 1413 2012-04-27 Mark Wielaard <mjw (a] redhat.com> 1414 1415 * Makefile.am (TESTS): Add run-low_high_pc.sh 1416 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2 1417 (noinst_PROGRAMS): Add low_high_pc. 1418 (low_high_pc_LDADD): New variable. 1419 * low_high_pc.c: New test. 1420 1421 2012-04-26 Mark Wielaard <mjw (a] redhat.com> 1422 1423 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh. 1424 * run-show-ciefde.sh: Removed old libdwarf test. 1425 * show-ciefde.c: Likewise. 1426 1427 2012-04-02 Mark Wielaard <mjw (a] redhat.com> 1428 1429 * Makefile.am (TESTS): Add run-unstrip-n.sh. 1430 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh. 1431 * run-unstrip-n.sh: New test. 1432 * testcore-rtlib.bz2: New testfile. 1433 1434 2012-04-02 Mark Wielaard <mjw (a] redhat.com> 1435 1436 * Makefile.am (TESTS): Add run-readelf-d.sh. 1437 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh. 1438 * run-readelf-d.sh: New test. 1439 * run-elflint-test.sh: Check new testfile. 1440 1441 2012-03-21 Tom Tromey <tromey (a] redhat.com> 1442 1443 * typeiter.c: New file. 1444 * run-typeiter.sh: New file. 1445 * testfile59.bz2: New file. 1446 * Makefile.am (noinst_PROGRAMS): Add typeiter. 1447 (TESTS): Add run-typeiter.sh. 1448 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2. 1449 (typeiter_LDADD): New variable. 1450 1451 2012-02-21 Kurt Roeckx <kurt (a] roeckx.be> 1452 1453 * run-alldts.sh: testrun ./alldts. 1454 1455 2012-02-21 Roland McGrath <roland (a] hack.frob.com> 1456 1457 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH. 1458 * test-subr.sh (installed_testrun): Likewise. 1459 1460 2012-01-18 Roland McGrath <roland (a] hack.frob.com> 1461 1462 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation; 1463 it will have been inherited correctly from the test harness. 1464 * asm-tst5.c (main): Likewise. 1465 * asm-tst6.c (main): Likewise. 1466 Reported by Serge Pavlov <serge.pavlov.at.gnu (a] gmail.com>. 1467 1468 2011-07-09 Roland McGrath <roland (a] hack.frob.com> 1469 1470 * sha1-tst.c: File removed. 1471 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it. 1472 (sha1_tst_LDADD): Variable removed. 1473 1474 * md5-sha1-test.c: New file. 1475 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it. 1476 (md5_sha1_test_LDADD): New variable. 1477 1478 2011-05-30 Mark Wielaard <mjw (a] redhat.com> 1479 1480 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and 1481 run-rerequest_tag.sh 1482 1483 2011-05-24 Mark Wielaard <mjw (a] redhat.com> 1484 1485 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2. 1486 * run-strip-reloc.sh: Add hello_s390.ko testcase. 1487 * hello_s390.ko.bz2: New test file. 1488 1489 2011-05-23 Mark Wielaard <mjw (a] redhat.com> 1490 1491 * Makefile.am (TESTS): Add run-strip-reloc.sh. 1492 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2 1493 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2 1494 * run-strip-reloc.sh: New test. 1495 * hello_i386.ko.bz2: New test file. 1496 * hello_x86_64.ko.bz2: Likewise. 1497 * hello_ppc64.ko.bz2: Likewise. 1498 1499 2011-05-18 Mark Wielaard <mjw (a] redhat.com> 1500 1501 * run-strip-groups.sh: New test. 1502 * testfile58.bz2: New test file. 1503 * Makefile.am (EXTRA_DIST): Add testfile58.bz2. 1504 (TESTS): Add run-strip-groups.sh. 1505 (EXTRA_DIST): Likewise. 1506 1507 2011-03-28 Marek Polacek <mpolacek (a] redhat.com> 1508 1509 * alldts.c: New file. 1510 * run-alldts.sh: Use it. 1511 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 1512 (alldts_LDADD): New variable. 1513 1514 2011-03-02 Marek Polacek <mpolacek (a] redhat.com> 1515 1516 * dwarf-getstring.c: New test. 1517 * run-dwarf-getstring.sh: And its wrapper. 1518 * Makefile.am (EXTRA_DIST): Add and update all. 1519 1520 2011-02-27 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1521 1522 * Makefile.am (TESTS): Add run-readelf-twofiles.sh. 1523 * run-readelf-twofiles.sh: New file. 1524 1525 2011-02-25 Mark Wielaard <mjw (a] redhat.com> 1526 1527 * Makefile.am (BUILD_RPATH): Be consistent in naming. 1528 1529 2011-02-02 Josh Stone <jistone (a] redhat.com> 1530 1531 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit. 1532 * testfile55-64.bz2, testfile55-64.debug.bz2, 1533 testfile55-64.prelink.bz2, testfile55-32.bz2, 1534 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New. 1535 * Makefile.am (EXTRA_DIST): Add and update all. 1536 1537 2011-01-12 Roland McGrath <roland (a] redhat.com> 1538 1539 * run-prelink-addr-test.sh: Make symlinks to find .debug files 1540 corresponding to .noshdrs files. 1541 1542 2011-01-11 Josh Stone <jistone (a] redhat.com> 1543 1544 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit. 1545 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2, 1546 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2, 1547 testfile54-64.so.bz2, testfile54-64.so.debug.bz2, 1548 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New. 1549 * Makefile.am (EXTRA_DIST): Add and update all. 1550 1551 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests. 1552 * testfile53.bz2, testfile53.debug.bz2, 1553 testfile53.prelink.bz2: Deleted, so... 1554 * testfile53-64.bz2, testfile53-64.debug.bz2, 1555 testfile53-64.prelink.bz2: Recreated with 64-bit names. 1556 * testfile53-32.bz2, testfile53-32.debug.bz2, 1557 testfile53-32.prelink.bz2: New in 32-bit. 1558 * Makefile.am (EXTRA_DIST): Add and update all. 1559 1560 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests. 1561 * testfile52.so.bz2, testfile52.so.debug.bz2, 1562 testfile52.prelink.so.bz2: Deleted, so... 1563 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2, 1564 testfile52-32.prelink.so.bz2: Recreated with 32-bit names. 1565 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers. 1566 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2, 1567 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files. 1568 * Makefile.am (EXTRA_DIST): Add and update all. 1569 1570 2011-01-10 Josh Stone <jistone (a] redhat.com> 1571 1572 * run-prelink-addr-test.sh: New test for prelinked addrs. 1573 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1574 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files. 1575 * testfile52.prelink.so.bz2: New data file, shows REL->RELA. 1576 * testfile53.bz2, testfile53.debug.bz2: New data files. 1577 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap. 1578 * Makefile.am (EXTRA_DIST): Add them. 1579 1580 2010-06-04 Roland McGrath <roland (a] redhat.com> 1581 1582 * run-unstrip-test.sh: Also test modifying the file in place. 1583 1584 2010-04-22 Roland McGrath <roland (a] redhat.com> 1585 1586 * addrcfi.c (handle_cfi): Fix function name in error message. 1587 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe. 1588 1589 2010-04-14 Roland McGrath <roland (a] redhat.com> 1590 1591 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too. 1592 1593 2010-04-10 Ulrich Drepper <drepper (a] redhat.com> 1594 1595 * msg_tst.c: Adjust expected error message. 1596 1597 2010-04-01 Petr Machata <pmachata (a] redhat.com> 1598 1599 * test-flag-nobits.c: New test. 1600 * run-test-flag-nobits.sh: And its wrapper. 1601 * Makefile.am (noinst_PROGRAMS, TESTS): Add them. 1602 (test_flag_nobits_LDADD): New variable. 1603 1604 2010-02-15 Roland McGrath <roland (a] redhat.com> 1605 1606 * Makefile.am: Use config/eu.am for common stuff. 1607 1608 * asm-tst9.c (main): Rename local to avoid shadowing another local. 1609 1610 2009-07-22 Roland McGrath <roland (a] redhat.com> 1611 1612 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention. 1613 1614 2009-07-08 Roland McGrath <roland (a] redhat.com> 1615 1616 * addrcfi.c: New file. 1617 * Makefile.am (noinst_PROGRAMS): Add it. 1618 (addrcfi_LDADD): New variable. 1619 1620 2009-05-07 Petr Machata <pmachata (a] redhat.com> 1621 1622 * testfile51.bz2: New data file. 1623 * dwarf-getmacros.c: New test core. 1624 * run-dwarf-getmacros.sh: New test wrapper. 1625 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 1626 (dwarf_getmacros_LDADD): New variable. 1627 1628 2009-04-23 Ulrich Drepper <drepper (a] redhat.com> 1629 1630 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). 1631 (rdwrmmap_LDADD): Add $(libmudflap). 1632 1633 2009-04-21 Roland McGrath <roland (a] redhat.com> 1634 1635 * testfile50.bz2: New data file. 1636 * Makefile.am (EXTRA_DIST): Add it. 1637 * run-dwfl-addr-sect.sh: Add a case using it. 1638 1639 2008-12-31 Ulrich Drepper <drepper (a] redhat.com> 1640 1641 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, 1642 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, 1643 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, 1644 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw, 1645 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd, 1646 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest, 1647 roundss, roundps, roundpd, and roundsd. 1648 * testfile45.S.bz2: Likewise. 1649 * testfile44.expect.bz2: Adjust accordingly. 1650 * testfile45.expect.bz2: Likewise. 1651 1652 * testfile44.S.bz2: Add tests for blendvpd and blendvps. 1653 * testfile45.S.bz2: Likewise. 1654 * testfile44.expect.bz2: Adjust accordingly. 1655 * testfile45.expect.bz2: Likewise. 1656 1657 2008-12-30 Ulrich Drepper <drepper (a] redhat.com> 1658 1659 * testfile44.S.bz2: Add tests for blendpd and blendps. 1660 * testfile45.S.bz2: Likewise. 1661 * testfile44.expect.bz2: Adjust accordingly. 1662 * testfile45.expect.bz2: Likewise. 1663 1664 2008-12-19 Ulrich Drepper <drepper (a] redhat.com> 1665 1666 * testfile44.S.bz2: Add tests for AMD 3DNOW. 1667 * testfile45.S.bz2: Likewise. 1668 * testfile44.expect.bz2: Adjust accordingly. 1669 * testfile45.expect.bz2: Likewise. 1670 1671 2008-11-26 Roland McGrath <roland (a] redhat.com> 1672 1673 * dwfl-bug-getmodules.c: New file. 1674 * Makefile.am (noinst_PROGRAMS): Add it. 1675 (dwfl_bug_getmodules_LDADD): New variable. 1676 1677 2008-09-10 Roland McGrath <roland (a] redhat.com> 1678 1679 * test-subr.sh (LC_ALL): Export it set to "C". 1680 * run-dwfl-addr-sect.sh: Don't do it here. 1681 * run-strings-test.sh: Likewise. 1682 1683 2008-08-21 Denys Vlasenko <dvlasenk (a] redhat.com> 1684 1685 * run-addrname-test.sh: Add a new case. 1686 * testfile49.bz2: New data file. 1687 * Makefile.am (EXTRA_DIST): Add it. 1688 1689 2008-04-10 Roland McGrath <roland (a] redhat.com> 1690 1691 * testfile48.bz2, testfile48.bz2.debug: New data files. 1692 * Makefile.am (EXTRA_DIST): Add them. 1693 * run-strip-test8.sh: Use them. 1694 1695 * testfile16.bz2, testfile16.debug.bz2: Replace data files. 1696 1697 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections. 1698 * run-strip-test8.sh: New file. 1699 * testfile47.bz2: New data file. 1700 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1701 1702 2008-03-31 Roland McGrath <roland (a] redhat.com> 1703 1704 * run-early-offscn.sh: New file. 1705 * early-offscn.c: New file. 1706 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them. 1707 (early_offscn_LDADD): New variable. 1708 1709 2008-03-19 Roland McGrath <roland (a] redhat.com> 1710 1711 * run-addrname-test.sh: Add a new case. 1712 1713 2008-02-22 Roland McGrath <roland (a] redhat.com> 1714 1715 * run-elflint-test.sh: Typo fix. 1716 1717 2008-02-21 Roland McGrath <roland (a] redhat.com> 1718 1719 * run-disasm-x86.sh: Use uname instead of arch, keep tools required 1720 for the build down to minimum. 1721 * run-disasm-x86-64.sh: Likewise. 1722 1723 2008-02-20 Roland McGrath <roland (a] redhat.com> 1724 1725 * testfile46.bz2: New data file. 1726 * Makefile.am (EXTRA_DIST): Add it. 1727 * run-elflint-test.sh: Test on it. 1728 1729 2008-02-01 Ulrich Drepper <drepper (a] redhat.com> 1730 1731 * Makefile.am: Hook up sha1-tst.c. 1732 * sha1-tst.c: New file. 1733 1734 2008-01-21 Roland McGrath <roland (a] redhat.com> 1735 1736 * testfile45.S.bz2: Add tests for cltq, cqto. 1737 * testfile45.expect.bz2: Adjust. 1738 1739 2008-01-14 Ulrich Drepper <drepper (a] redhat.com> 1740 1741 * testfile45.S.bz2: Add more tests. 1742 * testfile45.expect.bz2: Adjust. 1743 1744 2008-01-11 Ulrich Drepper <drepper (a] redhat.com> 1745 1746 * testfile45.expect.bz2: Adjust for adding of address for %rip based 1747 address mode. 1748 1749 2008-01-10 Ulrich Drepper <drepper (a] redhat.com> 1750 1751 * testfile45.S.bz2: Add more tests. 1752 * testfile45.expect.bz2: Adjust. 1753 1754 2008-01-08 Ulrich Drepper <drepper (a] redhat.com> 1755 1756 * Makefile.am (TESTS): Add run-disasm-x86-64.sh. 1757 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2, 1758 run-disasm-x86-64.sh. 1759 * run-disasm-x86-64.sh: New file. 1760 * testfile45.S.bz2: New file. 1761 * testfile45.expect.bz2: New file. 1762 * testfile44.S.bz2: New tests. 1763 * testfile44.expect.bz2: Adjust. 1764 1765 2008-01-04 Ulrich Drepper <drepper (a] redhat.com> 1766 1767 * testfile44.S.bz2: New tests. 1768 * testfile44.expect.bz2: Adjust. 1769 1770 2008-01-04 Roland McGrath <roland (a] redhat.com> 1771 1772 * dwfl-bug-fd-leak.c (main): Add a cast. 1773 1774 2008-01-03 Ulrich Drepper <drepper (a] redhat.com> 1775 1776 * testfile44.S.bz2: New tests. 1777 * testfile44.expect.bz2: Adjust. 1778 1779 2008-01-01 Ulrich Drepper <drepper (a] redhat.com> 1780 1781 * line2addr.c: Use %m modifier instead of %a to appease gcc. 1782 1783 2008-01-01 Ulrich Drepper <drepper (a] redhat.com> 1784 1785 * testfile44.S.bz2: New tests. 1786 * testfile44.expect.bz2: Adjust. 1787 1788 2007-12-31 Ulrich Drepper <drepper (a] redhat.com> 1789 1790 * testfile44.S.bz2: New tests. 1791 * testfile44.expect.bz2: Adjust. 1792 1793 2007-12-30 Ulrich Drepper <drepper (a] redhat.com> 1794 1795 * testfile44.S.bz2: New tests. 1796 * testfile44.expect.bz2: Adjust. 1797 1798 2007-12-29 Ulrich Drepper <drepper (a] redhat.com> 1799 1800 * testfile44.s.bz2: New tests. 1801 * testfile44.expect.bz2: Adjust. 1802 1803 2007-12-28 Ulrich Drepper <drepper (a] redhat.com> 1804 1805 * testfile44.S.bz2: New tests. 1806 * testfile44.expect.bz2: Adjust. 1807 1808 2007-12-27 Ulrich Drepper <drepper (a] redhat.com> 1809 1810 * testfile44.S.bz2: New tests. 1811 * testfile44.expect.bz2: Adjust. 1812 1813 2007-12-26 Ulrich Drepper <drepper (a] redhat.com> 1814 1815 * testfile44.S.bz2: New tests. 1816 * testfile44.expect.bz2: Adjust 1817 1818 2007-12-21 Ulrich Drepper <drepper (a] redhat.com> 1819 1820 * testfile44.S.bz2: More tests. 1821 * testfile44.expect.bz2: Adjust appropriately. 1822 1823 2007-12-19 Ulrich Drepper <drepper (a] redhat.com> 1824 1825 * Makefile.am (TESTS): Add run-disasm.sh. 1826 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and 1827 testfile44.expect.bz2. 1828 * run-disasm.sh: New file. 1829 * testfile44.S.bz2: New file. 1830 * testfile44.expect.bz2: New file. 1831 1832 2007-12-15 Roland McGrath <roland (a] redhat.com> 1833 1834 * run-allregs.sh: Change expected output for powerpc spefscr. 1835 1836 2007-10-20 Roland McGrath <roland (a] redhat.com> 1837 1838 * run-dwfl-addr-sect.sh: Change expected output, no errors. 1839 1840 2007-10-19 Roland McGrath <roland (a] redhat.com> 1841 1842 * dwfl-addr-sect.c (handle_address): Return int. 1843 Don't exit on error, just return nonzero. 1844 (main): Collect results. 1845 * run-dwfl-addr-sect.sh: New file. 1846 * testfile43.bz2: New data file. 1847 * Makefile.am (EXTRA_DIST, TESTS): Add them. 1848 1849 2007-10-18 Roland McGrath <roland (a] redhat.com> 1850 1851 * run-allregs.sh: Update expected ppc output for vrsave/vscr. 1852 1853 2007-10-16 Roland McGrath <roland (a] redhat.com> 1854 1855 * test-subr.sh (remove_files): Don't pass -Bb to diff. 1856 1857 2007-10-09 Roland McGrath <roland (a] redhat.com> 1858 1859 * dwflmodtest.c (print_module): Don't use %p in output. 1860 * run-dwfl-bug-offline-rel.sh: Updated expected output. 1861 1862 2007-10-08 Roland McGrath <roland (a] redhat.com> 1863 1864 * testfile42.bz2: New data file. 1865 * Makefile.am (EXTRA_DIST): Add it. 1866 * run-elflint-test.sh: New test on that file. 1867 1868 2007-10-04 Roland McGrath <roland (a] redhat.com> 1869 1870 * run-readelf-test4.sh: New file. 1871 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1872 1873 2007-10-03 Roland McGrath <roland (a] redhat.com> 1874 1875 * run-readelf-test3.sh: New file. 1876 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1877 1878 2007-10-01 Roland McGrath <roland (a] redhat.com> 1879 1880 * run-readelf-test2.sh: New file. 1881 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1882 1883 2007-09-11 Roland McGrath <roland (a] redhat.com> 1884 1885 * run-addrname-test.sh: Add a new case. 1886 * testfile41.bz2: New data file. 1887 * Makefile.am (EXTRA_DIST): Add it. 1888 1889 2007-08-23 Roland McGrath <roland (a] redhat.com> 1890 1891 * run-allregs.sh: Update expected x86-64 output for %rflags. 1892 1893 2007-08-12 Roland McGrath <roland (a] redhat.com> 1894 1895 * run-strip-test7.sh: New file. 1896 * testfile39.bz2: New data file. 1897 * testfile40.bz2: New data file. 1898 * testfile40.debug.bz2: New data file. 1899 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1900 1901 2007-08-09 Roland McGrath <roland (a] redhat.com> 1902 1903 * dwfl-bug-report.c: Fix header inclusion. 1904 1905 2007-08-08 Roland McGrath <roland (a] redhat.com> 1906 1907 * run-addrname-test.sh: Add a new case using addr2line -S. 1908 * testfile38.bz2: New data file. 1909 * Makefile.am (EXTRA_DIST): Add it. 1910 1911 2007-07-16 Roland McGrath <roland (a] redhat.com> 1912 1913 * dwfl-bug-report.c: New file. 1914 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 1915 (dwfl_bug_report_LDADD): New variable. 1916 1917 2007-06-06 Roland McGrath <roland (a] redhat.com> 1918 1919 * run-unstrip-test.sh: Declare testfile.unstrip for removal. 1920 1921 2007-06-05 Ulrich Drepper <drepper (a] redhat.com> 1922 1923 * Makefile.am (EXTRA_DIST): Add missing line continuation and 1924 testfile37.bz and testfile37.debug.bz2. 1925 1926 2007-05-23 Roland McGrath <roland (a] redhat.com> 1927 1928 * run-allregs.sh: Update expected Alpha results. 1929 1930 2007-05-18 Roland McGrath <roland (a] redhat.com> 1931 1932 * run-strip-test4.sh (stripped, debugfile): Use new reference files. 1933 * testfile37.bz2: New data file. 1934 * testfile37.debug.bz2: New data file. 1935 * run-unstrip-test2.sh: New file. 1936 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1937 1938 2007-05-10 Roland McGrath <roland (a] redhat.com> 1939 1940 * run-dwfl-bug-offline-rel.sh: New file. 1941 * testfile36.bz2: New data file. 1942 * testfile36.debug.bz2: New data file. 1943 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1944 1945 2007-04-28 Roland McGrath <roland (a] redhat.com> 1946 1947 * run-strip-test6.sh (stripped, debugfile): Use new reference files. 1948 * testfile35.bz2: New data file. 1949 * testfile35.debug.bz2: New data file. 1950 * run-unstrip-test.sh: New file. 1951 * Makefile.am (TESTS, EXTRA_DIST): Add them. 1952 1953 * run-strip-test.sh: Do all elflint and cmp runs even when some fail. 1954 1955 2007-04-26 Roland McGrath <roland (a] redhat.com> 1956 1957 * run-elflint-self.sh: Run all tests even if one fails. 1958 1959 * run-allregs.sh: Add expected output for alpha. 1960 1961 2007-04-24 Roland McGrath <roland (a] redhat.com> 1962 1963 * run-strip-test.sh: When we saved the debug info, test unstrip too. 1964 1965 2007-04-22 Roland McGrath <roland (a] redhat.com> 1966 1967 * run-allregs.sh: Update expected register info. 1968 1969 2007-04-16 Roland McGrath <roland (a] redhat.com> 1970 1971 * dwfl-addr-sect.c: New file. 1972 * Makefile.am (noinst_PROGRAMS): Add it. 1973 (dwfl_addr_sect_LDADD): New variable. 1974 1975 2007-04-05 Roland McGrath <roland (a] redhat.com> 1976 1977 * get-files.c: Test dwarf_getsrcdirs. 1978 * run-get-files.sh: Update expected output. 1979 1980 2007-04-01 Roland McGrath <roland (a] redhat.com> 1981 1982 * run-allregs.sh: Updated expected output for x86_64. 1983 1984 2007-03-04 Roland McGrath <roland (a] redhat.com> 1985 1986 * dwfl-bug-fd-leak.c: New file. 1987 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 1988 (dwfl_bug_fd_leak_LDADD): New variable. 1989 1990 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf, 1991 show what files have been located. 1992 1993 2007-02-02 Roland McGrath <roland (a] redhat.com> 1994 1995 * run-addrname-test.sh: New file. 1996 * Makefile.am (TESTS, EXTRA_DIST): Add it. 1997 * testfile34.bz2: New data file. 1998 * Makefile.am (EXTRA_DIST): Add it. 1999 2000 2007-01-20 Roland McGrath <roland (a] redhat.com> 2001 2002 * testfile33.bz2: New data file. 2003 * Makefile.am (EXTRA_DIST): Add it. 2004 * run-elflint-test.sh: Test on it too. 2005 2006 2007-01-18 Roland McGrath <roland (a] redhat.com> 2007 2008 * Makefile.am (CFLAGS): Don't molest it. 2009 2010 2007-01-11 Roland McGrath <roland (a] redhat.com> 2011 2012 * testfile32.bz2: New data file. 2013 * Makefile.am (EXTRA_DIST): Add it. 2014 * run-elflint-test.sh: Test on it too. 2015 2016 2007-02-04 Ulrich Drepper <drepper (a] redhat.com> 2017 2018 * arls.c: New file. 2019 * Makefile (noinst_PROGRAMS): Add arls. 2020 2021 * run-ranlib-test2.sh: Fix type in comment. 2022 2023 2007-01-10 Ulrich Drepper <drepper (a] redhat.com> 2024 2025 * run-elflint-self.sh (runtest): Show which file has the problem. 2026 2027 2007-01-10 Roland McGrath <roland (a] redhat.com> 2028 2029 * dwfl-bug-addr-overflow.c: New file. 2030 * Makefile.am (TESTS): Add it. 2031 (dwfl_bug_addr_overflow_LDADD): New variable. 2032 2033 2006-12-17 Roland McGrath <roland (a] redhat.com> 2034 2035 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg. 2036 2037 2006-09-05 Roland McGrath <roland (a] redhat.com> 2038 2039 * run-strings-test.sh: Export LC_ALL=C for the test. 2040 2041 2006-08-29 Roland McGrath <roland (a] redhat.com> 2042 2043 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh. 2044 * run-arsymtest.sh: Likewise. 2045 2046 * run-native-test.sh (native.c compilation): Add some braces. 2047 2048 2006-08-22 Roland McGrath <roland (a] redhat.com> 2049 2050 * allregs.c (dwarf_encoding_string): New function, swiped from readelf. 2051 (struct reginfo): New members bits, type. 2052 (one_register, match_register): Update to take new args, 2053 record and display new info. 2054 (main): Display new info. 2055 * run-allregs.sh: Update expected results. 2056 2057 2006-08-03 Roland McGrath <roland (a] redhat.com> 2058 2059 * run-allregs.sh: Add sparc cases. 2060 * testfile30.bz2: New data file. 2061 * testfile31.bz2: New data file. 2062 * Makefile.am (EXTRA_DIST): Add them. 2063 2064 2006-07-21 Roland McGrath <roland (a] redhat.com> 2065 2066 * allregs.c (struct reginfo): Increase size of name. 2067 (one_register): Assert that it's big enough. 2068 2069 2006-04-04 Roland McGrath <roland (a] redhat.com> 2070 2071 * run-bug1-test.sh: Test a second case, to cover both byte orders. 2072 * testfile29.bz2: New file. 2073 * testfile29.rdwr.bz2: New file. 2074 * Makefile.am (EXTRA_DIST): Add them. 2075 2076 2006-04-04 Ulrich Drepper <drepper (a] redhat.com> 2077 2078 * Makefile.am: Add rules to run run-bug1-test.sh. 2079 * rdwrmmap.c: New file. 2080 * run-bug1-test.sh: New file. 2081 * testfile28.bz2: New file. 2082 * testfile28.rdwr.bz2: New file. 2083 2084 2006-03-09 Roland McGrath <roland (a] redhat.com> 2085 2086 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link. 2087 2088 2006-03-01 Roland McGrath <roland (a] redhat.com> 2089 2090 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h 2091 changes matching 3.0 spec. 2092 2093 2006-01-13 Roland McGrath <roland (a] redhat.com> 2094 2095 * run-native-test.sh: Do kill -9 and reap explicitly at end, since 2096 bash 3.1 whines when it's done in the trap 0 handler. 2097 2098 2006-01-11 Roland McGrath <roland (a] redhat.com> 2099 2100 * testfile26.bz2: New data file. 2101 * testfile27.bz2: New data file. 2102 * Makefile.am (EXTRA_DIST): Add them. 2103 * run-allregs.sh: Test s390 data. 2104 2105 2005-12-14 Roland McGrath <roland (a] redhat.com> 2106 2107 * run-native-test.sh: Redirect output from native test process. 2108 2109 2005-12-13 Roland McGrath <roland (a] redhat.com> 2110 2111 * allregs.c (main): Fail if we find no registers. 2112 2113 * run-native-test.sh: New file. 2114 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2115 2116 2005-12-10 Ulrich Drepper <drepper (a] redhat.com 2117 2118 * run-readelf-test1.sh: New file. 2119 * Makefile.am (TESTS): Add run-readelf-test1.sh. 2120 (EXTRA_DIST): Likewise. 2121 2122 2005-12-07 Roland McGrath <roland (a] redhat.com> 2123 2124 * ecp.c (main): Use elf_end to clean up. 2125 2126 2005-11-25 Roland McGrath <roland (a] redhat.com> 2127 2128 * coverage.sh: Given -v argument, print names of unused files. 2129 2130 * addrscopes.c (main): Use dwfl_end before return. 2131 * allregs.c (main): Likewise. 2132 * find-prologues.c (main): Likewise. 2133 * funcretval.c (main): Likewise. 2134 * funcscopes.c (main): Likewise. 2135 * line2addr.c (main): Likewise. 2136 2137 * run-allregs.sh: New file. 2138 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2139 2140 * allregs.c: Use libdwfl wrapper instead of direct libebl calls. 2141 * Makefile.am (allregs_LDADD): Updated. 2142 2143 * allregs.c: New file. 2144 * Makefile.am (noinst_PROGRAMS): Add it. 2145 (allregs_LDADD): New variable. 2146 2147 2005-11-18 Roland McGrath <roland (a] redhat.com> 2148 2149 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib. 2150 * test-wrapper.sh: Likewise. 2151 2152 2005-11-17 Roland McGrath <roland (a] redhat.com> 2153 2154 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in 2155 environment for test-wrapper.sh. 2156 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib. 2157 * test-subr.sh (installed_testrun): Likewise. 2158 Use explicit path in ${bindir}. 2159 2160 * Makefile.am (installcheck-local): Fix typo in last change. 2161 2162 2005-11-16 Roland McGrath <roland (a] redhat.com> 2163 2164 * configure.ac: New file, for standalone build/dist of test suite. 2165 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. 2166 (asm_TESTS): New variable, broken out of ... 2167 (TESTS): ... here. Also remove msg_tst. 2168 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. 2169 (installed_TESTS_ENVIRONMENT): New variable. 2170 [STANDALONE] (TESTS_ENVIRONMENT): Use that. 2171 [!STANDALONE] (installcheck-local): Likewise. 2172 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. 2173 * addrscopes.c: Include <config.h>. 2174 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. 2175 * allfcts.c: Likewise. 2176 * asm-tst1.c: Likewise. 2177 * asm-tst2.c: Likewise. 2178 * asm-tst3.c: Likewise. 2179 * asm-tst4.c: Likewise. 2180 * asm-tst5.c: Likewise. 2181 * asm-tst6.c: Likewise. 2182 * asm-tst7.c: Likewise. 2183 * asm-tst8.c: Likewise. 2184 * asm-tst9.c: Likewise. 2185 * dwflmodtest.c: Likewise. 2186 * find-prologues.c: Likewise. 2187 * funcscopes.c: Likewise. 2188 * get-aranges.c: Likewise. 2189 * get-files.c: Likewise. 2190 * get-lines.c: Likewise. 2191 * get-pubnames.c: Likewise. 2192 * line2addr.c: Likewise. 2193 * newscn.c: Likewise. 2194 * show-abbrev.c: Likewise. 2195 * show-die-info.c: Likewise. 2196 * update3.c: Likewise. 2197 * update4.c: Likewise. 2198 * funcretval.c: Likewise. 2199 2200 * dwflmodtest.c (print_instance): Don't use INTUSE. 2201 (options): Don't use N_ macro. 2202 2203 2005-11-15 Roland McGrath <roland (a] redhat.com> 2204 2205 * coverage.sh: Look in backends. 2206 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl. 2207 (TESTS_ENVIRONMENT): Likewise. 2208 2209 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE, 2210 pass FUNCDIE direclty to dwfl_module_return_value_location. 2211 2212 * Makefile.am (BUILD_RPATH): New variable. 2213 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value. 2214 (tests_rpath): New variable. 2215 (installcheck-local): Pass it to test-wrapper.sh. 2216 * test-wrapper.sh: In "installed" format, take yes/no value 2217 for elfutils_tests_rpath, which export. When running a test 2218 binary for installcheck, exit 77. 2219 * test-subr.sh (installed_testrun): When running a test binary 2220 for installcheck, exit 77 if $elfutils_tests_rpath = yes. 2221 2222 2005-11-14 Roland McGrath <roland (a] redhat.com> 2223 2224 * test-subr.sh: New file. 2225 * test-wrapper.sh: New file. 2226 * Makefile.am (EXTRA_DIST): Add them. 2227 (AM_LDFLAGS): Variable removed. 2228 (TESTS_ENVIRONMENT): New variable. 2229 (installcheck-local): New target. 2230 * run-addrscopes.sh: Use test-subr.sh. 2231 * run-allfcts.sh: Likewise. 2232 * run-ecp-test.sh: Likewise. 2233 * run-ecp-test2.sh: Likewise. 2234 * run-elflint-self.sh: Likewise. 2235 * run-elflint-test.sh: Likewise. 2236 * run-find-prologues.sh: Likewise. 2237 * run-funcscopes.sh: Likewise. 2238 * run-get-aranges.sh: Likewise. 2239 * run-get-files.sh: Likewise. 2240 * run-get-lines.sh: Likewise. 2241 * run-get-pubnames.sh: Likewise. 2242 * run-line2addr.sh: Likewise. 2243 * run-ranlib-test.sh: Likewise. 2244 * run-ranlib-test2.sh: Likewise. 2245 * run-show-abbrev.sh: Likewise. 2246 * run-show-ciefde.sh: Likewise. 2247 * run-show-die-info.sh: Likewise. 2248 * run-strings-test.sh: Likewise. 2249 * run-strip-test.sh: Likewise. 2250 2251 2005-11-13 Roland McGrath <roland (a] redhat.com> 2252 2253 * funcretval.c: New file. 2254 * Makefile.am (noinst_PROGRAMS): Add it. 2255 (funcretval_LDADD): New variable. 2256 2257 2005-11-09 Ulrich Drepper <drepper (a] redhat.com> 2258 2259 * line2addr.c (handle_module): Add missing parameter to printf. 2260 2261 2005-10-27 Roland McGrath <roland (a] redhat.com> 2262 2263 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes. 2264 * funcscopes.c (handle_function): Likewise. 2265 * dwflmodtest.c (print_inline, print_func): Likewise. 2266 * find-prologues.c (handle_function): Likewise. 2267 2268 2005-10-27 Roland McGrath <roland (a] redhat.com> 2269 2270 * run-find-prologues.sh: New file. 2271 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2272 2273 * find-prologues.c (handle_function): Skip inlines. 2274 2275 2005-10-25 Roland McGrath <roland (a] redhat.com> 2276 2277 * find-prologues.c: New file. 2278 * Makefile.am (noinst_PROGRAMS): Add it. 2279 (find_prologues_LDADD): New variable. 2280 2281 2005-09-02 Ulrich Drepper <drepper (a] redhat.com> 2282 2283 * run-strings-test.sh: Remove strings.out in the end. 2284 2285 2005-08-31 Ulrich Drepper <drepper (a] redhat.com> 2286 2287 * run-addrscopes.sh: Use correct exit code if test cannot be performed. 2288 * run-allfcts.sh: Likewise. 2289 * run-ecp-test.sh: Likewise. 2290 * run-ecp-test2.sh: Likewise. 2291 * run-elflint-test.sh: Likewise. 2292 * run-funcscopes.sh: Likewise. 2293 * run-get-aranges.sh: Likewise. 2294 * run-get-files.sh: Likewise. 2295 * run-get-lines.sh: Likewise. 2296 * run-get-pubnames.sh: Likewise. 2297 * run-line2addr.sh: Likewise. 2298 * run-ranlib-test2.sh: Likewise. 2299 * run-show-abbrev.sh: Likewise. 2300 * run-show-ciefde.sh: Likewise. 2301 * run-show-die-info.sh: Likewise. 2302 * run-strings-test.sh: Likewise. 2303 * run-strip-test.sh: Likewise. 2304 2305 2005-08-30 Ulrich Drepper <drepper (a] redhat.com> 2306 2307 * coverage.sh: Handle case where there is no .gcno file at all. 2308 2309 2005-08-29 Ulrich Drepper <drepper (a] redhat.com> 2310 2311 * Makefile.am (EXTRA_DIST): Add coverage. 2312 [GCOV]: Generate coverage summary after the tests ran 2313 * coverage.sh: New file. 2314 2315 2005-08-28 Ulrich Drepper <drepper (a] redhat.com> 2316 2317 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl. 2318 (CLEANFILES): Add *.gcno *.gcda *.gconv. 2319 2320 2005-08-28 Ulrich Drepper <drepper (a] redhat.com> 2321 2322 * run-strings-test.sh: New file. 2323 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2324 2325 2005-08-27 Roland McGrath <roland (a] redhat.com> 2326 2327 * addrscopes.c (handle_address): Apply bias to PC addresses. 2328 2329 * run-funcscopes.sh: New file. 2330 * testfile25.bz2: New data file. 2331 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2332 2333 2005-08-26 Roland McGrath <roland (a] redhat.com> 2334 2335 * addrscopes.c (dwarf_diename_integrate): Removed. 2336 (print_vars, handle_address): Use plain dwarf_diename. 2337 2338 2005-08-25 Roland McGrath <roland (a] redhat.com> 2339 2340 * funcscopes.c: New file. 2341 * Makefile.am (noinst_PROGRAMS): Add it. 2342 (funcscopes_LDADD): New variable. 2343 2344 * run-addrscopes.sh: Add another case. 2345 * testfile24.bz2: New data file. 2346 * Makefile.am (EXTRA_DIST): Add it. 2347 2348 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES, 2349 pass it to dwarf_getscopes. 2350 (main): Pass it, true when '=' follows an address. 2351 2352 2005-08-24 Roland McGrath <roland (a] redhat.com> 2353 2354 * line2addr.c (print_address): Omit () for DSOs. 2355 2356 2005-08-24 Ulrich Drepper <drepper (a] redhat.com> 2357 2358 * run-line2addr.sh: Remove testfile23 in the end. 2359 2360 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl). 2361 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules. 2362 2363 2005-08-22 Roland McGrath <roland (a] redhat.com> 2364 2365 * run-line2addr.sh: Add a case. 2366 * testfile23.bz2: New data file. 2367 * Makefile.am (EXTRA_DIST): Add it. 2368 2369 2005-08-18 Roland McGrath <roland (a] redhat.com> 2370 2371 * run-addrscopes.sh: New file. 2372 * testfile22.bz2: New data file. 2373 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2374 2375 * addrscopes.c: New file. 2376 * Makefile.am (noinst_PROGRAMS): Add it. 2377 (addrscopes_LDADD): New variable. 2378 2379 2005-08-15 Ulrich Drepper <drepper (a] redhat.com> 2380 2381 * run-elflint-self.sh: Don't run test if the file doesn't exist. 2382 2383 2005-08-15 Roland McGrath <roland (a] redhat.com> 2384 2385 * dwflmodtest.c (print_instance, print_inline): New functions. 2386 (print_func): Call print_inline. 2387 (options, parse_opt): Grok -i/--inlines. 2388 2389 2005-08-07 Roland McGrath <roland (a] redhat.com> 2390 2391 * dwflmodtest.c: Print function details only if -f flag is given. 2392 2393 2005-08-06 Ulrich Drepper <drepper (a] redhat.com> 2394 2395 * run-elflint-self.sh: New file. 2396 * Makefile.am (TESTS): Add run-elflint-self.sh. 2397 (EXTRA_DIST): Likewise. 2398 2399 * Makefile.am: Link with statis libs if BUILD_STATIC. 2400 (dwflmodtest_LDADD): Also link with -ldl. 2401 2402 2005-08-02 Ulrich Drepper <drepper (a] redhat.com> 2403 2404 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS. 2405 * asm-tst1.c: Adjust for new asm_begin interface. Open backend 2406 library first. 2407 * asm-tst2.c: Likewise. 2408 * asm-tst3.c: Likewise. 2409 * asm-tst4.c: Likewise. 2410 * asm-tst5.c: Likewise. 2411 * asm-tst6.c: Likewise. 2412 * asm-tst7.c: Likewise. 2413 * asm-tst8.c: Likewise. 2414 * asm-tst9.c: Likewise. 2415 2416 * msg_tst.c: Add new error message. 2417 2418 2005-07-28 Ulrich Drepper <drepper (a] redhat.com> 2419 2420 * Makefile.am (dwflmodtest_LDADD): Add $(libebl). 2421 2422 2005-06-01 Roland McGrath <roland (a] redhat.com> 2423 2424 * line2addr.c: Rewritten using libdwfl. 2425 * run-line2addr.sh: Update test for changed arguments. 2426 * Makefile.am (INCLUDES): Add libdwfl source directory to path. 2427 (libdwfl): New variable. 2428 (line2addr_LDADD): Use it. 2429 2430 2005-07-28 Roland McGrath <roland (a] redhat.com> 2431 2432 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here. 2433 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest. 2434 (dwflmodtest_LDADD): New variable. 2435 (INCLUDES): Add -I$(top_srcdir)/libdwfl here. 2436 2437 2005-07-21 Ulrich Drepper <drepper (a] redhat.com> 2438 2439 * testfile18.bz2: New file. 2440 * run-elflint-test.sh: New file. 2441 * Makefile.am (TESTS): Add run-elflint-test.sh. 2442 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. 2443 2444 2005-05-24 Ulrich Drepper <drepper (a] redhat.com> 2445 2446 * get-files.c (main): Use correct format specifier. 2447 2448 2005-05-21 Ulrich Drepper <drepper (a] redhat.com> 2449 2450 * Makefile.am: Add -Wextra to CFLAGS. 2451 * get-files.c: Remove warning this produced. 2452 * get-pubnames.c: Likewise. 2453 * newfile.c: Likewise. 2454 * newscn.c: Likewise. 2455 * scnnames.c: Likewise. 2456 * showptable.c: Likewise. 2457 * test-nlist.c: Likewise. 2458 * update1.c: Likewise. 2459 * update2.c: Likewise. 2460 * update3.c: Likewise. 2461 * update4.c: Likewise. 2462 2463 2005-05-08 Ulrich Drepper <drepper (a] redhat.com> 2464 2465 * run-line2addr.sh: Remove testfile14 at the end. 2466 2467 * run-strip-test.sh: Remove debuginfo test input file as well. 2468 2469 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used 2470 .bz, not .bz2. 2471 2472 2005-05-03 Roland McGrath <roland (a] redhat.com> 2473 2474 * run-strip-test.sh: Use variables for test file names. 2475 Optionally produce separate debug file and check it. 2476 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication. 2477 * run-strip-test3.sh: Likewise. 2478 * run-strip-test4.sh: New file. 2479 * run-strip-test5.sh: New file. 2480 * run-strip-test6.sh: New file. 2481 * testfile15.bz: New file. 2482 * testfile15.debug.bz: New file. 2483 * testfile16.bz: New file. 2484 * testfile16.debug.bz: New file. 2485 * testfile17.bz: New file. 2486 * testfile17.debug.bz: New file. 2487 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2488 2489 2005-04-25 Ulrich Drepper <drepper (a] redhat.com> 2490 2491 * run-line2addr.sh: Also use testfile14. Adjust for correct 2492 return of multiple matches. 2493 * testfile14.bz2: New file. 2494 * Makefile.am (EXTRA_DIST): Add testfile14.bz2. 2495 2496 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change. 2497 2498 2005-04-04 Roland McGrath <roland (a] redhat.com> 2499 2500 * line2addr.c (main): Initialize LINES and NLINES before calling 2501 dwarf_getsrc_file, and free LINES afterwards. 2502 2503 * allfcts.c (main): Use size_t for CUHL. 2504 2505 2005-04-04 Ulrich Drepper <drepper (a] redhat.com> 2506 2507 * line2addr.c: New file. 2508 * run-line2addr.sh: New file. 2509 * Makefile.am: Add rules to build, run, and distribute new code. 2510 2511 2005-04-02 Ulrich Drepper <drepper (a] redhat.com> 2512 2513 * allfcts.c: New file. 2514 * run-allfcts.sh: New file. 2515 * Makefile.am: Add rules to build, run, and distribute new code. 2516 2517 2005-02-05 Ulrich Drepper <drepper (a] redhat.com> 2518 2519 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test 2520 programs with -lmudflap. 2521 2522 2004-09-25 Ulrich Drepper <drepper (a] redhat.com> 2523 2524 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation. 2525 * asm-tst5.c (main): Likewise. 2526 * asm-tst6.c (main): Likewise. 2527 2528 2004-01-17 Ulrich Drepper <drepper (a] redhat.com> 2529 2530 * Makefile.am: Support building with mudflap. 2531 2532 2004-01-12 Ulrich Drepper <drepper (a] redhat.com> 2533 2534 * get-aranges.c: Rewrite to use libdw. 2535 * Makefile.am: Reenable get-aranges test. 2536 2537 2004-01-11 Ulrich Drepper <drepper (a] redhat.com> 2538 2539 * get-lines.c: New file. 2540 * get-files.c: Adjust for libdw. 2541 * run-get-files.sh: Adjust expected result. 2542 * run-get-lines.sh: Likewise. 2543 * Makefile.am: Run get-lines test. Don't run get-aranges and 2544 get-ciefde test for now. 2545 2546 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface 2547 change. Print attribute offset information. 2548 * run-show-abbrev.sh: Adjust expected output. 2549 2550 2004-01-09 Ulrich Drepper <drepper (a] redhat.com> 2551 2552 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change. 2553 * show-die-info.c: Likewise. 2554 * run-show-die-info.sh: Adjust expected output. 2555 2556 2003-08-13 Ulrich Drepper <drepper (a] redhat.com> 2557 2558 * Makefile.in: Depend on libebl.a, not libebl.so. 2559 2560 2003-08-11 Ulrich Drepper <drepper (a] redhat.com> 2561 2562 * Moved to CVS archive. 2563