1 2019-03-04 Mark Wielaard <mark (a] klomp.org> 2 3 * backtrace.c (tgkill): Remove define. 4 5 2019-01-24 Mark Wielaard <mark (a] klomp.org> 6 7 * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by 8 !INSTALL_ELFH. 9 10 2019-01-31 Mark Wielaard <mark (a] klomp.org> 11 12 * backtrace-child.c (stdarg): Remove assert (errno == 0). 13 (main): Likewise. 14 * backtrace-data.c (maps_lookup): Likewise. 15 (set_initial_registers): Likewise. 16 (main): Likewise. 17 * backtrace.c (prepare_thread): Likewise. 18 (exec_dump): Likewise. 19 20 2019-01-29 Yonghong Song <yhs (a] fb.com> 21 22 * backtrace-data.c (maps_lookup): Use %*u, not %*x, to parse 23 inode number. 24 25 2019-01-18 Ulf Hermann <ulf.hermann (a] qt.io> 26 27 * run-annobingroup.sh: Use different files for strip output. 28 * run-strip-test-many.sh: Use different files for strip output, 29 check results of strip, unstrip, elflint. 30 31 2019-01-24 Mark Wielaard <mark (a] klomp.org> 32 33 * addsections.c (add_sections): Change the name of the old shstrtab 34 section to ".old_shstrtab" and give the old shstrtab name to the 35 new shstrtab section. 36 37 2019-01-09 Ulf Hermann <ulf.hermann (a] qt.io> 38 39 * run-readelf-compressed.sh: Skip if USE_BZIP2 not found. 40 41 2018-12-27 Jim Wilson <jimw (a] sifive.com> 42 43 * run-readelf-mixed-corenote.sh: Update with new riscv64 output. 44 45 2018-12-02 Mark Wielaard <mark (a] klomp.org> 46 47 * testfile_gnu_props.32le.o.bz2: New testfile. 48 * testfile_gnu_props.64le.o.bz2: Likewise. 49 * testfile_gnu_props.32be.o.bz2: Likewise. 50 * testfile_gnu_props.64be.o.bz2: Likewise. 51 * Makefile (EXTRA_DIST): Add new testfiles. 52 * run-readelf-n.sh: Run tests on new testfiles. 53 54 2018-11-28 Mark Wielaard <mark (a] klomp.org> 55 56 * backtrace-data.c (main): Improve error message. 57 * run-backtrace-data.sh: Skip exit 77 return. 58 59 2018-11-21 Mark Wielaard <mark (a] klomp.org> 60 61 * backtrace-subr.sh (check_unsupported): Call test_cleanup before 62 exit. 63 64 2018-11-17 Mark Wielaard <mark (a] klomp.org> 65 66 * run-strip-version.sh: New test. 67 * testfile-version.bz2: New test file. 68 * Makefile.am (TESTS): Add run-strip-version.sh. 69 (EXTRA_DIST): Add run-strip-version.sh and testfile-version.bz2. 70 71 2018-11-09 Mark Wielaard <mark (a] klomp.org> 72 73 * run-strip-reloc.sh: Also test testfile-debug-rel-ppc64-z.o 74 testfile-debug-rel-ppc64-g.o. 75 76 2018-11-12 Mark Wielaard <mark (a] klomp.org> 77 78 * run-readelf-n.sh: Add testfile-annobingroup.o test. 79 80 2018-11-11 Mark Wielaard <mark (a] klomp.org> 81 82 * run-readelf-n.sh: Fix NT_GNU_ABI_TAG type. Add testfile11 test 83 for NT_VERSION. 84 85 2018-11-04 Mark Wielaard <mark (a] klomp.org> 86 87 * testfile-bpf-reloc.expect.bz2: Update with new expected jump 88 variants. 89 90 2018-10-20 Mark Wielaard <mark (a] klomp.org> 91 92 * run-readelf-compressed.sh: New test. 93 * Makefile.am (TESTS): Add run-readelf-compressed.sh. 94 (EXTRA_DIST): Likewise. 95 96 2018-11-09 Mark Wielaard <mark (a] klomp.org> 97 98 * testfile-debug-rel-ppc64-g.o.bz2: New test file. 99 * testfile-debug-rel-ppc64-z.o.bz2: Likewise. 100 * testfile-debug-rel-ppc64.o.bz2: Likewise. 101 * Makefile.am (EXTRA_DIST): Add testfile-debug-rel-ppc64-g.o.bz2, 102 testfile-debug-rel-ppc64-z.o.bz2 and testfile-debug-rel-ppc64.o.bz2. 103 * run-strip-reloc.sh: Also test on testfile-debug-rel-ppc64.o. 104 * run-readelf-zdebug-rel.sh: Also test on testfile-debug-rel-ppc64*.o. 105 106 2018-10-26 Mark Wielaard <mark (a] klomp.org> 107 108 * run-strip-reloc.sh: Add a test for --reloc-debug-sections-only. 109 110 2018-10-18 Mark Wielaard <mark (a] klomp.org> 111 112 * run-readelf-n.sh: New test. 113 * testfile-gnu-property-note.bz2: New testfile. 114 * testfile-gnu-property-note.o.bz2: Likewise. 115 * Makefile.am (TESTS): Add run-readelf-n.sh. 116 (EXTRA_DIST): Likewise and testfile-gnu-property-note.bz2, 117 testfile-gnu-property-note.o.bz2. 118 119 2018-10-12 Mark Wielaard <mark (a] klomp.org> 120 121 * run-readelf-zdebug.sh: Adjust flags output. 122 * run-readelf-macro.sh: Likewise. 123 * run-readelf-macros.sh: New test. 124 * testfile-macros-object.o.bz2: New test file. 125 * Makefile.am (TESTS): Add run-readelf-macros.sh. 126 (EXTRA_DIST): Add run-readelf-macros.sh and 127 testfile-macros-object.o.bz2. 128 129 2018-09-12 Mark Wielaard <mark (a] klomp.org> 130 131 * run-annobingroup.sh: Add x86_64 ET_REL testcase. 132 * testfile-annobingroup-x86_64.o.bz2: New test file. 133 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-x86_64.o.bz2. 134 135 2018-09-18 Mark Wielaard <mark (a] klomp.org> 136 137 * backtrace-dwarf.c (thread_callback): Only error when 138 dwfl_thread_getframes returns an error. 139 (main): Don't call abort or assert but print an error when 140 something unexpected happens. 141 142 2018-09-13 Mark Wielaard <mark (a] klomp.org> 143 144 * run-strip-test-many.sh: New test. 145 * Makefile.am (TESTS): Add run-strip-test-many.sh. 146 (EXTRA_DIST): Likewise. 147 148 2018-09-13 Mark Wielaard <mark (a] klomp.org> 149 150 * run-typeiter-many.sh: New test. 151 * Makefile.am (TESTS): Add run-typeiter-many.sh. 152 (EXTRA_DIST): Likewise. 153 154 2018-09-13 Mark Wielaard <mark (a] klomp.org> 155 156 * run-copymany-sections.sh: New test. 157 * Makefile.am (TESTS): Add run-copymany-sections.sh. 158 (EXTRA_DIST): Likewise. 159 160 2018-09-12 Mark Wielaard <mark (a] klomp.org> 161 162 * Makefile.am (check_PROGRAMS): Add elfcopy and addsections. 163 (TESTS): Add run-copyadd-sections.sh. 164 (EXTRA_DIST): Likewise. 165 (elfcopy_LDADD): New variable. 166 (addsections_LDADD): Likewise. 167 * addsections.c: New file. 168 * elfcopy.c: Likewise. 169 * run-copyadd-sections.sh: New test. 170 171 2018-09-11 Mark Wielaard <mark (a] klomp.org> 172 173 * backtrace-dwarf.c (main): Add section attribute. 174 175 2018-07-24 Mark Wielaard <mark (a] klomp.org> 176 177 * run-annobingroup.sh: Add testfile-annobingroup-i386.o tests. 178 * testfile-annobingroup-i386.o.bz2: New test file. 179 * Makefile.am (EXTRA_DIST): Add testfile-annobingroup-i386.o.bz2. 180 181 2018-07-21 Mark Wielaard <mark (a] klomp.org> 182 183 * run-annobingroup.sh: New test. 184 * testfile-annobingroup.o.bz2: New test file. 185 * Makefile.am (TESTS): Add run-annobingroup.sh. 186 (EXTRA_DIST): Add run-annobingroup.sh and 187 testfile-annobingroup.o.bz2. 188 189 2018-07-19 Andreas Schwab <schwab (a] suse.de> 190 191 * Makefile.am (TESTS): Add run-strip-test12.sh. 192 (EXTRA_DIST): Add run-strip-test12.sh, testfile-riscv64.bz2, 193 testfile-riscv64-s.bz2, testfile-riscv64-core.bz2. 194 (run-strip-test11.sh): New file. 195 (testfile-riscv64.bz2): New file. 196 (testfile-riscv64-s.bz2): New file. 197 (testfile-riscv64-core.bz2): New file. 198 * run-allregs.sh: Add test for testfile-riscv64-core. 199 * run-readelf-mixed-corenote.sh: Likewise. 200 201 2018-07-16 Ulf Hermann <ulf.hermann (a] qt.io> 202 203 * run-strip-reloc.sh: Remove previous testfiles before running the 204 next test. 205 206 2018-07-17 Mark Wielaard <mark (a] klomp.org> 207 208 * hello_riscv64.ko.bz2: Updated with debuginfo. 209 * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y. 210 211 2018-07-05 Mark Wielaard <mark (a] klomp.org> 212 213 * next_cfi.c (handle_section): Take a new argument name. Check 214 whether the section is compressed and uncompress if so. 215 (main): Check also for .zdebug_frame and pass the name of the 216 section to handle_section. 217 218 2018-07-04 Ross Burton <ross.burton (a] intel.com> 219 220 * addrscopes.c: Remove error.h include, add system.h include. 221 * allregs.c: Likewise. 222 * backtrace-data.c: Likewise. 223 * backtrace-dwarf.c: Likewise. 224 * backtrace.c: Likewise. 225 * buildid.c: Likewise. 226 * debugaltlink.c: Likewise. 227 * debuglink.c: Likewise. 228 * deleted.c : Likewise. 229 * dwarfcfi.c: Likewise. 230 * dwfl-addr-sect.c: Likewise. 231 * dwfl-bug-addr-overflow.c: Likewise. 232 * dwfl-bug-fd-leak.c: Likewise. 233 * dwfl-bug-getmodules.c: Likewise. 234 * dwfl-proc-attach.c: Likewise. 235 * dwfl-report-elf-align.c: Likewise. 236 * dwfllines.c: Likewise. 237 * dwflmodtest.c: Likewise. 238 * dwflsyms.c: Likewise. 239 * early-offscn.c: Likewise 240 * ecp.c: Likewise. 241 * elfstrmerge.c: Likewise. 242 * find-prologues.c: Likewise. 243 * funcretval.c: Likewise. 244 * funcscopes.c: Likewise. 245 * getsrc_die.c: Likewise. 246 * line2addr.c: Likewise. 247 * low_high_pc.c: Likewise. 248 * next_cfi.c: Likewise. 249 * rdwrmmap.c: Likewise. 250 * saridx.c: Likewise. 251 * sectiondump.c: Likewise. 252 * varlocs.c: Likewise. 253 * vdsosyms.c: Likewise. 254 255 2018-06-28 Mark Wielaard <mark (a] klomp.org> 256 257 * next_cfi.c: New file. 258 * run-next-cfi.sh: New test. 259 * run-next-cfi-self.sh: Likewise. 260 * Makefile.am (check_PROGRAMS): Add next_cfi. 261 (TESTS): Add run-next-cfi.sh and run-next-cfi-self.sh. 262 (EXTRA_DIST): Likewise. 263 (next_cfi_LDADD): New variable. 264 265 2018-06-27 Mark Wielaard <mark (a] klomp.org> 266 267 * dwarf_cfi.c: New file. 268 * run-dwarfcfi.sh: New test. 269 * testfile11-debugframe.bz2: New testfile. 270 * testfile12-debugframe.bz2: Likewise. 271 * testfileaarch64-debugframe.bz2: Likewise. 272 * testfilearm-debugframe.bz2: Likewise. 273 * testfileppc32-debugframe.bz2: Likewise. 274 * testfileppc64-debugframe.bz2: Likewise. 275 * Makefile.am (check_PROGRAMS): Add dwarfcfi. 276 (TESTS): Add run-dwarfcfi.sh. 277 (EXTRA_DIST): Add run-dwarfcfi.sh, testfile11-debugframe.bz2, 278 testfile12-debugframe.bz2, testfileaarch64-debugframe.bz2, 279 testfilearm-debugframe.bz2, testfileppc32-debugframe.bz2 and 280 testfileppc64-debugframe.bz2. 281 282 2018-06-23 Mark Wielaard <mark (a] klomp.org> 283 284 * varlocs.c (print_expr): Take a new depth argument. Check it isn't 285 greater than MAX_DEPTH (64). Pass on to print_expr_block. 286 (print_expr_block): Take a new depth argument. Pass it to print_expr. 287 (print_expr_block_addrs): Call print_expr_block with zero depth. 288 289 2018-06-25 Mark Wielaard <mark (a] klomp.org> 290 291 * next-files.c: New file. 292 * next-lines.c: Likewise. 293 * run-next-files.sh: New test. 294 * run-next-lines.sh: Likewise. 295 * testfile-only-debug-line.bz2: New test file. 296 * Makefile.am (check_PROGRAMS): Add next-files and next-lines. 297 (TESTS): Add run-next-files.sh and run-next-lines.sh. 298 (EXTRA_DIST): Add run-next-files.sh, run-next-lines.sh and 299 testfile-only-debug-line.bz2. 300 (next_lines_LDADD): New variable. 301 (next_files_LDADD): Likewise. 302 303 2018-06-16 Yonghong Song <yhs (a] fb.com> 304 305 * run-reloc-bpf.sh: New test. 306 * testfile-bpf-reloc.o.bz2: New test file. 307 * testfile-bpf-reloc.expect.bz2: New test file. 308 * Makefile.am (TESTS): Add run-reloc-bpf.sh. 309 (EXTRA_DIST): Add run-reloc-bpf.sh, testfile-bpf-reloc.o.bz2 and 310 testfile-bpf-reloc.expect.bz2. 311 312 2018-06-13 Mark Wielaard <mark (a] klomp.org> 313 314 * run-readelf-const-values.sh: New test. 315 * testfile-const-values.debug.bz2: New test file. 316 * run-readelf-zdebug-rel.sh: Adjust expected const_value. 317 * Makefile.am (TESTS): Add run-readelf-const-values.sh. 318 (EXTRA_DIST): Add run-readelf-const-values.sh and 319 testfile-const-values.debug.bz2. 320 321 2018-06-08 Mark Wielaard <mark (a] klomp.org> 322 323 * varlocs.c (print_expr): Error on bad DW_OP_GNU_parameter_ref 324 target, do not assert. 325 326 2018-06-08 Mark Wielaard <mark (a] klomp.org> 327 328 * get-units-invalid.c (main): Check invalid dwarf_getabbrev call. 329 * show-abbrev.c (main): Check illegal dwarf_getabbrev offset call. 330 331 2018-06-08 Mark Wielaard <mark (a] klomp.org> 332 333 * varlocs.c (main): Only assert when cfi_debug_bias != 0 if there 334 actually is a cfi_debug. 335 336 2018-06-07 Mark Wielaard <mark (a] klomp.org> 337 338 * run-readelf-loc.sh: Fix expected output for startx_length. 339 340 2018-06-06 Mark Wielaard <mark (a] klomp.org> 341 342 * varlocs.c (print_base_type): Use error, not assert when the DIE 343 isn't a base type. 344 345 2018-06-02 Mark Wielaard <mark (a] klomp.org> 346 347 * test-subr.sh (self_test_files_exe): Drop shared libraries. 348 Keep addr2line, elfcmp, objdump and readelf. 349 350 2018-05-31 Mark Wielaard <mark (a] klomp.org> 351 352 * run-readelf-types.sh: New test. 353 * Makefile.am (TESTS): Add run-readelf-types.sh. 354 (EXTRA_DIST): Likewise. 355 356 2018-05-31 Mark Wielaard <mark (a] klomp.org> 357 358 * splitdwarf4-not-split4.dwo.bz2: New test file. 359 * testfile-splitdwarf4-not-split4.debug.bz2: Likewise. 360 * run-readelf-loc.sh: Add test for splitdwarf4-not-split4.dwo 361 and testfile-splitdwarf4-not-split4.debug. 362 * run-varlocs.sh: Test testfile-splitdwarf4-not-split4.debug. 363 * Makefile.am (EXTRA_DIST): Add splitdwarf4-not-split4.dwo.bz2 364 and testfile-splitdwarf4-not-split4.debug.bz2. 365 366 2018-05-31 Mark Wielaard <mark (a] klomp.org> 367 368 * test-subr.sh (self_test_files): Split into self_test_files_exe, 369 self_test_files_lib and self_test_obj. 370 (testrun_on_self_exe): New function. 371 (testrun_on_self_lib): Likewise. 372 * run-get-units-split.sh: Replace testrun_on_self with 373 testrun_on_self_exe and testrun_on_self_lib. 374 * run-unit-info.sh: Likewise. 375 376 2018-05-31 Mark Wielaard <mark (a] klomp.org> 377 378 * low_high_pc.c (handle_die): Handle NULL name. Print offset and 379 name of die. 380 (main): Check if the cu DIE is a skeleton, then get and handle 381 the split subdie. 382 * run-low-high-pc.sh: Run on testfile-splitdwarf-4 and 383 testfile-splitdwarf-5. Run on all selftest files. 384 385 2018-05-31 Mark Wielaard <mark (a] klomp.org> 386 387 * get-units-invalid.c (main): Check dwarf_cuoffset and 388 dwarf_dieoffset. 389 390 2018-05-29 Mark Wielaard <mark (a] klomp.org> 391 392 * dwarf-die-addr-die.c (check_dbg): Also check subdies, split or 393 type, gotten through dwarf_get_units. 394 * run-dwarf-die-addr-die.sh: Add tests for dwarf-4, dwarf-5, 395 split-dwarf-4, split-dwarf-5 and dwo files. 396 397 2018-05-29 Mark Wielaard <mark (a] klomp.org> 398 399 * run-readelf-loc.sh: Add GNU DebugFission split-dwarf variant. 400 * run-varlocs.sh: Likewise. 401 402 2018-05-29 Mark Wielaard <mark (a] klomp.org> 403 404 * run-readelf-twofiles.sh: Add --debug-dump=loc testcase. 405 406 2018-05-28 Mark Wielaard <mark (a] klomp.org> 407 408 * run-readelf-info-plus.sh: New test. 409 * Makefile.am (TESTS): Add run-readelf-info-plus.sh. 410 (EXTRA_DIST): Likewise. 411 412 2018-04-29 Mark Wielaard <mark (a] klomp.org> 413 414 * run-readelf-addr.sh: New test. 415 * Makefile.am (TESTS): Add run-readelf-addr.sh. 416 (EXTRA_DIST): Likewise. 417 418 2018-04-27 Mark Wielaard <mark (a] klomp.org> 419 420 * run-readelf-ranges.sh: Adjust expected output for address base. 421 * run-readelf-addr.sh: New test. 422 * Makefile.am (TESTS): Add run-readelf-addr.sh. 423 (EXTRA_DIST): Likewise. 424 425 2018-04-07 Mark Wielaard <mark (a] klomp.org> 426 427 * run-varlocs.sh: Run on testfileranges5.debug and 428 testsplitfileranges5.debug. 429 * varlocs.c (is_debug): New bool. 430 (print_expr): Don't fail on missing CFI for is_debug. 431 (main): Parse --debug, set is_debug. 432 433 2018-04-12 Mark Wielaard <mark (a] klomp.org> 434 435 * run-readelf-loc.sh: Add new testcases. 436 437 2018-04-06 Mark Wielaard <mark (a] klomp.org> 438 439 * testfileranges5.debug.bz2: New testfile. 440 * testfilesplitranges5.debug.bz2: Likewise. 441 * testfile-ranges-hello5.dwo.bz2: Likewise. 442 * testfile-ranges-world5.dwo.bz2: Likewise. 443 * run-dwarf-ranges.sh: Run on testfileranges5.debug. 444 * run-all-dwarf-ranges.sh: Run on testfilesplitranges5.debug. 445 * tests/Makefile.am (EXTRA_DIST): Add testfileranges5.debug.bz2, 446 testfilesplitranges5.debug.bz2, testfile-ranges-hello5.dwo.bz2 and 447 testfile-ranges-world5.dwo.bz2. 448 449 2018-04-11 Mark Wielaard <mark (a] klomp.org> 450 451 * run-readelf-ranges.sh: New test. 452 * Makefile.am (TESTS): Add run-readelf-ranges.sh. 453 (EXTRA_DIST): Likewise. 454 455 2018-05-21 Mark Wielaard <mark (a] klomp.org> 456 457 * addrx_constx-4.dwo.bz2: New testfile. 458 * addrx_constx-5.dwo.bz2: Likewise. 459 * testfile-addrx_constx-4.bz2: Likewise. 460 * testfile-addrx_constx-5.bz2: Likewise 461 * Makefile.am (EXTRA_DIST): Add addrx_constx-5.dwo.bz2 462 testfile-addrx_constx-4\ .bz2 testfile-addrx_constx-5.bz2. 463 * run-varlocs.sh: Add addrx_constx tests for DWARF4 and DWARF5. 464 * varlocx.c (print_expr): Handle DW_OP_GNU_addr_index, 465 DW_OP_addrx, DW_OP_GNU_const_index and DW_OP_constx. 466 (main): Handle split DWARF. 467 * run-all-dwarf-ranges.sh: Add new ranges for addrx low/highpc. 468 469 2018-05-20 Mark Wielaard <mark (a] klomp.org> 470 471 * unit-info.c: New test. 472 * run-unit-info.sh: New test runner. 473 * Makefile.am (check_PROGRAMS): Add unit-info. 474 (TESTS): Add run-unit-info.sh 475 (EXTRA_INFO): Likewise. 476 (unit_info_LDADD): New variable. 477 478 2018-05-24 Mark Wielaard <mark (a] klomp.org> 479 480 * get-units-invalid.c (main): Add check for invalid dwarf_ranges. 481 * run-all-dwarf-ranges.sh: Correct expected output. 482 483 2018-05-18 Mark Wielaard <mark (a] klomp.org> 484 485 * Makefiles.am (check_PROGRAMS): Add all-dwarf-ranges. 486 (TESTS): Add run-all-dwarf-ranges.sh. 487 (EXTRA_DIST): Add run-all-dwarf-ranges.sh, 488 testfilesplitranges4.debug.bz2, testfile-ranges-hello.dwo.bz2 489 and testfile-ranges-world.dwo.bz2. 490 (all_dwarf_ranges_LDADD): New variable. 491 * all-dwarf-ranges.c: New test program. 492 * run-all-dwarf-ranges: New test runner. 493 * testfile-ranges-hello.dwo.bz2: New test file. 494 * testfile-ranges-world.dwo.bz2: Likewise. 495 * testfilesplitranges4.debug.bz2: Likewise. 496 497 2018-05-18 Mark Wielaard <mark (a] klomp.org> 498 499 * run-get-files.sh: Add testcases for testfile-splitdwarf-4, 500 testfile-hello4.dwo, testfile-world4.dwo and testfile-splitdwarf-5, 501 testfile-hello5.dwo, testfile-world5.dwo. 502 503 2018-05-17 Mark Wielaard <mark (a] klomp.org> 504 505 * Makefile.am (check_PROGRAMS): Add attr-integrate-skel. 506 (TESTS): Add run-attr-integrate-skel. 507 (EXTRA_DIST): Likewise. 508 (attr_integrate_skel_LDADD): New variable. 509 * attr-integrate-skel.c: New test. 510 * run-attr-integrate-skel.sh: New test runner. 511 512 2018-05-16 Mark Wielaard <mark (a] klomp.org> 513 514 * Makefile.am (check_PROGRAMS): Add get-units-split. 515 (TESTS): Add run-get-units-split.sh. 516 (EXTRA_DIST): Add run-get-units-split.sh, testfile-hello4.dwo.bz2, 517 testfile-hello5.dwo.bz2, testfile-splitdwarf-4.bz2, 518 testfile-splitdwarf-5.bz2, testfile-world5.dwo.bz2 and 519 testfile-world4.dwo.bz2. 520 (get_units_split_LDADD): New variable. 521 * get-units-split.c: New test. 522 * run-get-units-split.sh: New test runner. 523 * testfile-dwarf-45.source: Extend with build instructions for new 524 test files. 525 * testfile-hello4.dwo.bz2: New test file. 526 * testfile-hello5.dwo.bz2: Likewise. 527 * testfile-splitdwarf-4.bz2: Likewise. 528 * testfile-splitdwarf-5.bz2: Likewise. 529 * testfile-world5.dwo.bz2 and: Likewise. 530 * testfile-world4.dwo.bz2: Likewise. 531 532 2018-05-09 Mark Wielaard <mark (a] klomp.org> 533 534 * run-readelf-zdebug.sh: Adjust test output for new header layout. 535 * run-readelf-line.sh: Likewise. Add new tests for testfile-dwarf-4 536 and testfile-dwarf-5. 537 538 2018-05-11 Mark Wielaard <mark (a] klomp.org> 539 540 * Makefile.am (check_PROGRAMS): Add get-units-invalid. 541 (TESTS): Add run-get-units-invalid.sh. 542 (EXTRA_DIST): Likewise. 543 (get_units_invalid_LDADD): New variable. 544 * get-units-invalid.c: New test program. 545 * run-get-units-invalid.sh: New test program runner. 546 547 2018-05-05 Mark Wielaard <mark (a] klomp.org> 548 549 * testfile-dwarf-45.source: New file. 550 * testfile-dwarf-4.bz2: New test file. 551 * testfile-dwarf-5.bz2: Likewise. 552 * run-readelf-line.sh: Add testcases for testfile-dwarf-4 and 553 testfile-dwarf-5. 554 * Makefile (EXTRA_DIST): Add testfile-dwarf-45.source, 555 testfile-dwarf-4.bz2 and testfile-dwarf-5.bz2. 556 557 2018-04-19 Andreas Schwab <schwab (a] suse.de> 558 559 * hello_riscv64.ko.bz2: New file. 560 * run-strip-reloc.sh: Test it. 561 * Makefile.am (EXTRA_DIST): Add it. 562 563 2018-04-16 Mark Wielaard <mark (a] klomp.org> 564 565 * testfile-ppc64-min-instr.bz2: New testfile. 566 * run-readelf-line.sh: Run against testfile-ppc64-min-instr.bz2. 567 * Makefile.am (EXTRA_DIST): Add testfile-ppc64-min-instr.bz2. 568 569 2018-04-11 Mark Wielaard <mark (a] klomp.org> 570 571 * run-addrcfi.sh: Adjust expected rule for aarch64 sp. 572 573 2018-04-03 Mark Wielaard <mark (a] klomp.org> 574 575 * testfileranges4.debug.bz2: New testfile. 576 * run-dwarf-ranges.sh: Run on testfileranges4.debug. 577 * tests/Makefile.am (EXTRA_DIST): Add testfileranges4.debug.bz2. 578 579 2018-03-06 Mark Wielaard <mark (a] klomp.org> 580 581 * varlocs.c (print_expr): Handle DW_OP_implicit_pointer, 582 DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret, 583 DW_OP_regval_type, DW_OP_deref_type, DW_OP_xderef_type and 584 DW_OP_const_type. 585 586 2018-02-16 Mark Wielaard <mark (a] klomp.org> 587 588 * backtrace-subr.sh (check_native_core): Check if there is any core, 589 if so, use it. 590 591 2018-02-15 Mark Wielaard <mark (a] klomp.org> 592 593 * backtrace-child.c: Include signal.h after sys/ptrace.h. 594 * backtrace-dwarf.c: Include sys/wait.h and signal.h after 595 sys/ptrace.h. 596 597 2018-01-25 Mark Wielaard <mark (a] klomp.org> 598 599 * Makefile.am (check_PROGRAMS): Add dwarf-die-addr-die. 600 (TESTS): Add run-dwarf-die-addr-die.sh. 601 (EXTRA_DIST): Likewise. 602 (dwarf_die_addr_die_LDADD): New variable. 603 * dwarf-die-addr-die.c: New file. 604 * run-dwarf-die-addr-die.sh: New test. 605 606 2018-02-09 Joshua Watt <JPEWhacker (a] gmail.com> 607 608 * elfstrmerge.c (main): Use FALLTHROUGH macro instead of comment. 609 610 2018-01-22 Mark Wielaard <mark (a] klomp.org> 611 612 * allfcts.c (setup_alt): Print warning when alt file couldn't be 613 found. 614 * run-allfcts-multi.sh: Add testcase where alt file is in a subdir 615 where it cannot be found by allfcts itself (but it can by libdw). 616 617 2018-01-25 Mark Wielaard <mark (a] klomp.org> 618 619 * elfstrmerge.c (main): Initialize and check symtabshdr instead of 620 symtabndx. 621 622 2018-01-14 Petr Machata <pmachata (a] gmail.com> 623 624 * testfile-sizes4.o.bz2: New test file. 625 * testfile-sizes4.s: New test source. 626 * run-aggregate-size.sh: Check testfile-sizes4.o v size 257. 627 628 2017-12-23 Mark Wielaard <mark (a] klomp.org> 629 630 * backtrace-subr.sh (check_native_core): Use a lock file and try 631 to extract core using coredumpctl. 632 * Makefile.am (CLEANFILES): Clean core-dump-backtrace.lock. 633 634 2017-12-11 Dima Kogan <dima (a] secretsauce.net> 635 636 * run-aggregate-size.sh: Added check for multi-dimensional arrays. 637 * run-peel-type.sh: Likewise. 638 * testfile-sizes3.o.bz2: Likewise. 639 640 2017-12-07 Mark Wielaard <mark (a] klomp.org> 641 642 * run-readelf-variant.sh: New test. 643 * testfile-ada-variant.bz2: New testfile. 644 * Makefile.am (TESTS): Add run-readelf-variant.sh. 645 (EXTRA_DISTS): Add run-readelf-variant.sh and 646 testfile-ada-variant.bz2. 647 648 2017-11-29 Mark Wielaard <mark (a] klomp.org> 649 650 * run-readelf-loc.sh: Adjust expected loc list output. 651 * run-readelf-zdebug-rel.sh: Likewise. 652 * run-readelf-zdebug.sh: Likewise. 653 654 2017-11-29 Mark Wielaard <mark (a] klomp.org> 655 656 * run-readelf-loc.sh: Adjust expected range list output. 657 * run-readelf-zdebug.sh: Likewise. 658 659 2017-11-29 Mark Wielaard <mark (a] klomp.org> 660 661 * run-readelf-dwz-multi.sh: Add expected file names. 662 * run-readelf-zdebug-rel.sh: Likewise. 663 664 2017-11-29 Mark Wielaard <mark (a] klomp.org> 665 666 * run-readelf-dwz-multi.sh: Add expected abbrev codes. 667 * run-readelf-zdebug-rel.sh: Likewise. 668 669 2017-11-29 Mark Wielaard <mark (a] klomp.org> 670 671 * run-readelf-dwz-multi.sh: Adjust expected ops index spaces. 672 * run-readelf-loc.sh: Likewise. 673 * run-readelf-zdebug-rel.sh: Likewise. 674 * run-readelf-zdebug.sh: Likewise. 675 676 2017-11-16 Mark Wielaard <mark (a] klomp.org> 677 678 * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert. 679 680 2017-11-10 Mark Wielaard <mark (a] klomp.org> 681 682 * run-exprlocs-self.sh: New test. 683 * run-varlocs-self.sh: Likewise. 684 * Makefile.am (TESTS) Add run-exprlocs-self.sh and 685 run-varlocs-self.sh. 686 (EXTRA_DIST): Likewise. 687 * varlocs.c (cfi_debug_bias): New global variable. 688 (is_ET_REL): Likewise. 689 (print_expr): Don't crash and burn when CFI cannot be found for an 690 ET_REL file for DW_OP_call_frame_cfa. 691 (handle_die): If there is no entry_pc pick the lowest pc start range 692 for the DIE. 693 (main): Check at least one CU was found. Use dwfl_module_dwarf_cfi 694 and dwfl_module_eh_cfi to fix memory leak. Set is_ET_REL. 695 696 2017-11-03 Mark Wielaard <mark (a] klomp.org> 697 698 * run-exprlocs.sh: New test. 699 * testfile-stridex.bz2: New testfile. 700 * Makefile.am (TESTS): Add run-exprlocs.sh. 701 (EXTRA_DIST): Add run-exprlocs.sh and testfile-stridex.bz2. 702 * varlocs.c (dwarf_tag_string): New function. 703 (dwarf_attr_string): Likewise. 704 (dwarf_form_string): Likewise. 705 (print_expr): Fix typo in error message.r 706 Handle DW_OP_GNU_variable_value. 707 (attr_arg): New struct. 708 (handle_attr): New function. 709 (handle_die): Likewise. 710 (main): Handle --exprlocs argument. Call handle_die. 711 712 2017-10-16 Mark Wielaard <mark (a] klomp.org> 713 714 * md5-sha1-test.c: Removed. 715 * Makefile.am (check_PROGRAMS): Remove md5-sha1-test. 716 (TESTS): Likewise. 717 (md5_sha1_test_LDADD): Removed. 718 719 2017-10-04 Mark Wielaard <mark (a] klomp.org> 720 721 * msg_tst.c: Handle ELF_E_INVALID_ELF. 722 723 2017-09-10 Mark Wielaard <mark (a] klomp.org> 724 725 * run-ar.sh: New test. 726 * Makefile.am (TESTS): Add run-ar.sh. 727 (EXTRA_DIST): Likewise. 728 729 2017-08-18 Ulf Hermann <ulf.hermann (a] qt.io> 730 731 * Makefile.am: Drop -rdynamic from deleted_lib_so_LDFLAGS. 732 733 2017-04-27 Ulf Hermann <ulf.hermann (a] qt.io> 734 735 * Makefile.am: Use fpie_CFLAGS and fpic_CFLAGS. 736 737 2017-08-08 Dmitry V. Levin <ldv (a] altlinux.org> 738 739 * run-strip-nothing.sh: Add -s. 740 741 2017-07-26 Mark Wielaard <mark (a] klomp.org> 742 743 * dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU. 744 745 2016-10-27 Mark Wielaard <mjw (a] redhat.com> 746 747 * dwarf_default_lower_bound.c: New test. 748 * Makefile.am (check_PROGRAMS): Add dwarf_default_lower_bound. 749 (TESTS): Likewise. 750 (dwarf_default_lower_bound_LDADD): New variable. 751 752 2017-07-21 Mark Wielaard <mark (a] klomp.org> 753 754 * get-lines.c (main): Add dwarf_line_file test. 755 756 2017-07-19 Gustavo Romero <gromero (a] linux.vnet.ibm.com> 757 758 * run-addrcfi.sh: Update generic SPRs names to HTM SPRs names 759 * run-allregs.sh: Update generic SPRs names to HTM SPRs names 760 761 2017-07-20 Mark Wielaard <mark (a] klomp.org> 762 763 * run-strip-g.sh: New test. 764 * Makefile.am (TESTS): Add run-strip-g.sh. 765 (EXTRA_DIST): Likewise. 766 767 2017-07-18 Mark Wielaard <mark (a] klomp.org> 768 769 * Makefile.am (TESTS): Always add run-disasm-bpf.sh if HAVE_LIBASM. 770 771 2017-05-04 Ulf Hermann <ulf.hermann (a] qt.io> 772 773 * elfshphehdr.c: For writing, use /dev/null rather than /dev/zero. 774 775 2017-07-14 Mark Wielaard <mark (a] klomp.org> 776 777 * run-strip-remove-keep.sh: New test. 778 * Makefile.am (TESTS): Add run-strip-remove-keep.sh. 779 (EXTRA_DIST): Likewise. 780 781 2017-06-07 Mark Wielaard <mark (a] klomp.org> 782 783 * run-strip-nothing.sh: New test. 784 * Makefile.am (TESTS): Add run-strip-nothing.sh. 785 (EXTRA_DIST): Likewise. 786 787 2017-06-06 Mark Wielaard <mark (a] klomp.org> 788 789 * run-strip-test.sh: Test strip -g doesn't introduce extra .shstrtab. 790 791 2017-05-30 Mark Wielaard <mark (a] klomp.org> 792 793 * run-backtrace-fp-core-ppc64le.sh: New test. 794 * backtrace.ppc64le.fp.core.bz2: New test file. 795 * backtrace.ppc64le.fp.exec.bz2: New testfile. 796 * backtrace-subr.sh (check_backtracegen): Accept '(null)'. 797 * Makefile.am (TESTS): Add run-backtrace-fp-core-ppc64le.sh. 798 (EXTRA_DIST): Add run-backtrace-fp-core-ppc64le.sh, 799 backtrace.ppc64le.fp.core.bz2 and backtrace.ppc64le.fp.exec.bz2. 800 801 2017-02-13 Ulf Hermann <ulf.hermann (a] qt.io> 802 Mark Wielaard <mark (a] klomp.org> 803 804 * Makefile.am: Add test for unwinding with frame pointers on aarch64 805 * backtrace.aarch64.fp.core.bz2: New file 806 * backtrace.aarch64.fp.exec.bz2: New file 807 * run-backtrace-fp-core-aarch64.sh: New file 808 * backtrace-subr.sh (check_err): Allow Invalid register. 809 * backtrace.c (callback_verify): Allow duplicate_sigusr2 frames. 810 811 2017-04-06 Mark Wielaard <mark (a] klomp.org> 812 813 * run-backtrace-fp-core-i386.sh: New test. 814 * backtrace.i386.fp.core.bz2: New test file. 815 * backtrace.i386.fp.exec.bz2: New testfile. 816 * Makefile.am (TESTS): Add run-backtrace-fp-core-i386.sh. 817 (EXTRA_DIST): Add run-backtrace-fp-core-i386.sh, 818 backtrace.i386.fp.core.bz2 and backtrace.i386.fp.exec.bz2. 819 820 2017-02-09 Ulf Hermann <ulf.hermann (a] qt.io> 821 822 * Makefile.am: Add test for unwinding with frame pointers on x86_64 823 * backtrace.x86_64.fp.core.bz2: New file 824 * backtrace.x86_64.fp.exec.bz2: New file 825 * run-backtrace-fp-core-x86_64.sh: New file 826 827 2017-04-25 Mark Wielaard <mark (a] klomp.org> 828 829 * backtrace-subr.sh (check_backtracegen): New function. 830 (check_core): Add check_backtracegen call. 831 * backtrace.ppc.exec.bz2: Regenerated. 832 * backtrace.ppc.core.bz2: Likewise. 833 834 2017-04-24 Mark Wielaard <mark (a] klomp.org> 835 836 * backtrace.c: Remove option to allow unknown symbols in the trace. 837 * backtrace-substr.sh: Remove option to allow unknown symbols 838 to check_core() and allow failed symbol lookups in check_err(). 839 840 2017-04-20 Ulf Hermann <ulf.hermann (a] qt.io> 841 842 * run-readelf-dwz-multi.sh: Expect readelf to output "yes" for flags 843 that are set. 844 * run-readelf-zdebug-rel.sh: Likewise. 845 846 2017-04-20 Ulf Hermann <ulf.hermann (a] qt.io> 847 848 * backtrace-child.c: Include sys/ptrace.h only on linux. 849 * backtrace-dwarf.c: Likewise. 850 851 2017-04-05 Mark Wielaard <mark (a] klomp.org> 852 853 * test-subr.sh (testrun_on_self_compressed): New function. 854 * run-elflint-self.sh: Call testrun_on_self_compressed. 855 * run-elflint-test.sh: Add testfile42z and testfile-s390x-hash-bothz. 856 857 2017-03-30 Mark Wielaard <mark (a] klomp.org> 858 859 * peel_type.c: New file. 860 * run-peel-type.sh: New test. 861 * Makefile.am (check_PROGRAMS): Add peel_type.c. 862 (TESTS): Add run-peel-type.sh. 863 (EXTRA_DIST): Likewise. 864 (peel_type_LDADD): New variable. 865 866 2017-03-27 Mark Wielaard <mark (a] klomp.org> 867 868 * fillfile.c: New file. 869 * Makefile.am (check_PROGRAMS): Add fillfile. 870 (TESTS): Likewise. 871 (fillfile_LDADD): New variable. 872 873 2017-02-15 Mark Wielaard <mark (a] klomp.org> 874 875 * Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2. 876 * run-readelf-A.sh: Add testfileppc64.o test. 877 878 2017-02-15 Ulf Hermann <ulf.hermann (a] qt.io> 879 880 * elfstrmerge.c: Include system.h. 881 882 2017-02-09 Ulf Hermann <ulf.hermann (a] qt.io> 883 884 * backtrace.c: Add an option to allow unknown symbols in the trace 885 * backtrace-substr.sh: Add an option to allow unknown symbols 886 to check_core() and allow failed symbol lookups in check_err() 887 888 2017-02-09 Ulf Hermann <ulf.hermann (a] qt.io> 889 890 * backtrace-data.c: Don't assert that symbols are found. 891 The unwinder is allowed to ask for invalid addresses. We deny 892 such requests, rather than make the test fail. 893 894 2016-11-17 Mark Wielaard <mjw (a] redhat.com> 895 896 * run-readelf-s.sh: Add --symbols=.dynsym and --symbols=.symtab tests. 897 898 2016-11-02 Mark Wielaard <mjw (a] redhat.com> 899 900 * backtrace-data.c (thread_callback): Add explicit break after error. 901 * backtrace.c (callback_verify): Change PASSTHRU to FALLTHRU. 902 903 2016-10-22 Kevin Cernekee <cernekee (a] chromium.org> 904 905 * Makefile.am (TESTS): Add run-unstrip-test4.sh. 906 (EXTRA_DIST): Add run-unstrip-test4.sh, testfile-strtab.bz2, 907 testfile-strtab.stripped.bz2, testfile-strtab.debuginfo.bz2. 908 (run-unstrip-test4.sh): New file. 909 (testfile-strtab.bz2): New file. 910 (testfile-strtab.stripped.bz2): New file. 911 (testfile-strtab.debuginfo.bz2): New file. 912 913 2016-10-11 Akihiko Odaki <akihiko.odaki.4i (a] stu.hosei.ac.jp> 914 915 * arextract.c: Remove sys/param.h include, add system.h include. 916 917 2016-08-30 Mark Wielaard <mjw (a] redhat.com> 918 919 * Makefile.am (asm_tst?_LDADD): Add libdw. 920 921 2016-08-25 Mark Wielaard <mjw (a] redhat.com> 922 923 * backtrace-child.c: Disable and add documentation about why we disable 924 RAISE_JMP_PATCHING even on x86_64. 925 * backtrace.c (is_x86_64_native): Rename to... 926 (use_raise_jmp_patching): ... this. 927 (callback_verify): Use use_raise_jmp_patching instead of 928 is_x86_64_native. 929 (see_exec_module): Return DWARF_CB_ABORT after finding the correct exe 930 path. 931 (prepare_thread): Use RAISE_JMP_PATCHING instead of __x86_64__ 932 conditional. 933 (exec_dump): Only assert on data.mod != NULL. Drop ptrdiff. Use 934 RAISE_JMP_PATCHING instead of __x86_64__ conditional. Use 935 use_raise_jmp_patching instead of is_x86_64_native. 936 937 2016-08-24 Mark Wielaard <mjw (a] redhat.com> 938 939 * Makefile.am (EXTRA_DIST): Add testfilesparc64attrs.o.bz2. 940 941 2016-08-09 Jose E. Marchesi <jose.marchesi (a] oracle.com> 942 943 * testfilesparc64attrs.o.bz2: New file. 944 * run-readelf-A.sh: Check attributes in a sparc object. 945 946 2016-08-06 Mark Wielaard <mjw (a] redhat.com> 947 948 * run-strip-reloc.sh: Add explicit compressed and uncompressed 949 test cases. 950 951 2016-08-10 Richard Henderson <rth (a] redhat.com> 952 953 * file-bpf-dis1.expect.bz2: Fix expected mod and endian operations 954 output. 955 956 2016-07-08 Mark Wielaard <mjw (a] redhat.com> 957 958 * update3_LDADD: Use libdw instead of libebl. 959 * update4_LDADD: Likewise. 960 * alldts_LDADD: Likewise. 961 * elfstrmerge_LDADD: Likewise. 962 * alldts.c (main): Use dwelf_strtab instead of ebl_strtab. 963 * elfstrmerge.c (release): Likewise. 964 (main): Likewise. 965 * update3.c (main): Likewise. 966 * update4.c (main): Likewise. 967 968 2016-07-10 Andreas Schwab <schwab (a] linux-m68k.org> 969 970 * Makefile.am (TESTS): Add run-strip-test11.sh. 971 (EXTRA_DIST): Add run-strip-test11.sh, hello_m68k.ko.bz2, 972 testfile-m86k-core.bz2, testfile-m68k.bz2, testfile-m68k-s.bz2. 973 (run-strip-test11.sh): New file. 974 (hello_m68k.ko.bz2): New file. 975 (testfile-m68k-core.bz2): New file. 976 (testfile-m68k.bz2): New file. 977 (testfile-m68k-s.bz2): New file. 978 * run-allregs.sh: Add test for testfile-m68k-core. 979 * run-readelf-mixed-corenote.sh: Likewise. 980 * run-strip-reloc.sh: Add test for hello_m68k.ko. 981 982 2016-07-06 Mark Wielaard <mjw (a] redhat.com> 983 984 * Makefile.am (check_PROGRAMS): Add vendorelf. 985 (TESTS): Likewise. 986 (vendorelf_LDADD): New variable. 987 * vendorelf.c: New test. 988 * elfshphehdr.c (test): Check elf_getphdrnum succeeds. 989 990 2016-06-24 Mark Wielaard <mjw (a] redhat.com> 991 992 * Makefile.am (check_PROGRAMS): Add emptyfile. 993 (TESTS): Likewise. 994 (emptyfile_LDADD): New variable. 995 * emptyfile.c: New test. 996 997 2016-06-28 Richard Henderson <rth (a] redhat.com> 998 999 * Makefile.am (TESTS): Add run-disasm-bpf.sh, conditionally. 1000 (EXTRA_DIST): Add run-disasm-bpf.sh, testfile-bpf-dis1.expect.bz2, 1001 testfile-bpf-dis1.o.bz2 1002 (run-disasm-bpf.sh): New file. 1003 (testfile-bpf-dis1.expect.bz2): New file. 1004 (testfile-bpf-dis1.o.bz2): New file. 1005 1006 2016-02-09 Mark Wielaard <mjw (a] redhat.com> 1007 1008 * testfile-s390x-hash-both.bz2: New testfile. 1009 * Makefile.am (EXTRA_DIST): Add testfile-s390x-hash-both.bz2. 1010 * run-elflint-test.sh: Add elflint testfile-s390x-hash-both test. 1011 1012 2016-02-04 Mark Wielaard <mjw (a] redhat.com> 1013 1014 * run-strip-nobitsalign.sh: New test. 1015 * testfile-nobitsalign.bz2: New testfile. 1016 * testfile-nobitsalign.strip.bz2: Likewise. 1017 * Makefile.am (TESTS): Add run-strip-nobitsalign.sh. 1018 (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2 1019 and testfile-nobitsalign.strip.bz2. 1020 * run-strip-test.sh: Add --gnu to elflint calls. 1021 1022 2016-01-13 Mark Wielaard <mjw (a] redhat.com> 1023 1024 * dwfl-bug-fd-leak.c: Skip test unless on __linux__. 1025 1026 2016-01-13 Mark Wielaard <mjw (a] redhat.com> 1027 1028 * dwfl-proc-attach.c: Guard linux specific header. 1029 1030 2016-01-13 Mark Wielaard <mjw (a] redhat.com> 1031 1032 * system-elf-libelf-test.c: New test. 1033 * Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE. 1034 (check_PROGRAMS): Likewise. 1035 (system_elf_libelf_test_CPPFLAGS): New variable. 1036 (system_elf_libelf_test_LDADD): Likewise. 1037 1038 2016-01-08 Mark Wielaard <mjw (a] redhat.com> 1039 1040 * elfputzdata.c (main): Fix parentheses in strncmp test. 1041 1042 2016-01-08 Mark Wielaard <mjw (a] redhat.com> 1043 1044 * elfputzdata.c (main): Use PRId64 to print 64 bit value. 1045 1046 2016-01-08 Mark Wielaard <mjw (a] redhat.com> 1047 1048 * Makefile.am (TESTS): Always unconditionally add 1049 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh. 1050 1051 2015-12-16 Mark Wielaard <mjw (a] redhat.com> 1052 1053 * run-compress-test.sh: New test. 1054 * Makefile.am (TESTS): Add run-compress-test.sh. 1055 (EXTRA_DISTS): Likewise. 1056 1057 2015-11-26 Mark Wielaard <mjw (a] redhat.com> 1058 1059 * zstrptr.c: New file. 1060 * run-zstrptr.sh: New test. 1061 * elfputzdata.c (main): (re)compress .shstrtab. 1062 * run-elfputzdata.sh: Expect .shstrtab compression. 1063 * Makefile.am (check_PROGRAMS): Add zstrptr. 1064 (TESTS): Add run-zstrptr.sh. 1065 (EXTRA_DIST): Likewise. 1066 (zstrptr_LDADD): New variable. 1067 1068 2015-10-20 Mark Wielaard <mjw (a] redhat.com> 1069 1070 * run-readelf-zx.sh: New test. 1071 * run-readelf-zp.sh: Likewise. 1072 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh. 1073 (EXTRA_DIST): Likewise. 1074 1075 2015-10-21 Mark Wielaard <mjw (a] redhat.com> 1076 1077 * Makefile.am (check_PROGRAMS): Add elfgetzdata and elfputzdata. 1078 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh. 1079 (EXTRA_DIST: Likewise. 1080 (elfgetzdata_LDADD): New variable. 1081 (elfputzdata_LDADD): Likewise. 1082 * elfgetzdata.c: New file. 1083 * elfputzdata.c: Likewise. 1084 * msg_tst.c: Handle ELF_E_ALREADY_COMPRESSED, 1085 ELF_E_UNKNOWN_COMPRESSION_TYPE, ELF_E_COMPRESS_ERROR and 1086 ELF_E_DECOMPRESS_ERROR. 1087 * run-elfgetzdata.sh: New test. 1088 * run-elfputzdata.sh: Likewise. 1089 1090 2015-10-28 Mark Wielaard <mjw (a] redhat.com> 1091 1092 * run-readelf-z.sh: New test. 1093 * Makefile.am (TESTS): Add run-readelf-z.sh. 1094 (EXTRA_DIST): Likewise. 1095 1096 2015-10-28 Mark Wielaard <mjw (a] redhat.com> 1097 1098 * elfgetchdr.c: New file. 1099 * run-elfgetchdr.sh: New test. 1100 * testfile-zgabi32.bz2: New testfile. 1101 * testfile-zgabi32be.bz2: Likewise. 1102 * testfile-zgabi64.bz2: Likewise. 1103 * testfile-zgabi64be.bz2: Likewise. 1104 * Makefile.am (check_PROGRAMS): Add elfgetchdr. 1105 (TESTS): Add run-elfgetchdr.sh. 1106 (EXTRA_DIST): Add run-elfgetchdr.sh, testfile-zgabi32.bz2, 1107 testfile-zgabi32be.bz2, testfile-zgabi64.bz2, testfile-zgabi64be.bz2. 1108 (welfgetchdr_LDADD): New variable. 1109 * msg_tst.c: Add ELF_E_NOT_COMPRESSED, ELF_E_INVALID_SECTION_TYPE 1110 and ELF_E_INVALID_SECTION_FLAGS, 1111 1112 1113 2015-10-28 Mark Wielaard <mjw (a] redhat.com> 1114 1115 * dwelfgnucompressed.c: New file. 1116 * run-dwelfgnucompressed.sh: New test. 1117 * testfile-zgnu32.bz2: New testfile. 1118 * testfile-zgnu64.bz2: Likewise. 1119 * Makefile.am (check_PROGRAMS): Add dwelfgnucompressed. 1120 (TESTS): Add run-dwelfgnucompressed.sh. 1121 (EXTRA_DIST): Add run-dwelfgnucompressed.sh, testfile-zgnu32.bz2, 1122 testfile-zgnu64.bz2, testfile-zgnu32be.bz2, testfile-zgnu64be.bz2. 1123 (dwelfgnucompressed_LDADD): New variable. 1124 1125 2015-12-31 Mark Wielaard <mjw (a] redhat.com> 1126 1127 * elfstrmerge.c (main): Warn about STT_SECTION symbol for shstrhndx. 1128 * run-elfstrmerge-test.sh: New test. 1129 * Makefile.am (TESTS): Add run-elfstrmerge-test.sh 1130 (EXTRA_DIST): Likewise. 1131 1132 2015-12-08 Jose E. Marchesi <jose.marchesi (a] oracle.com> 1133 1134 * run-backtrace-core-sparc.sh: New file. 1135 * backtrace.sparc.core.bz2: New file. 1136 * backtrace.sparc.exec.bz2: New file. 1137 * Makefile.am (EXTRA_DIST): ... and added all here. 1138 (TESTS): Added run-backtrace-core-sparc.sh. 1139 1140 2015-12-02 Mark Wielaard <mjw (a] redhat.com> 1141 1142 * Makefile.am (valgrind_cmd): Use --leak-check=full. 1143 * run-backtrace-demangle.sh: Disable valgrind. 1144 * run-stack-demangled-test.sh: Likewise. 1145 * run-stack-d-test.sh: Likewise. 1146 * run-stack-i-test.sh: Likewise. 1147 1148 2015-12-01 Mark Wielaard <mjw (a] redhat.com> 1149 1150 * test-flag-nobits.c (main): Call elf_end. 1151 * rerequest_tag.c (main): Call dwarf_end. 1152 * funcscopes.c (handle_function): Free scopes. 1153 * dwarf-getstring.c (main): Call dwarf_end. 1154 * allregs.c (main): Free state.info. 1155 * alldts.c (main): Free dyn. 1156 * addrcfi.c (handle_address): Free stuff.frame between handle_cfi 1157 calls. 1158 * addrscopes.c (handle_address): Free scopes. 1159 1160 2015-10-16 Mark Wielaard <mjw (a] redhat.com> 1161 1162 * Makefile.am [BUILD_STATIC] (libdw): Add -lz. 1163 [BUILD_STATIC] (libelf): Likewise. 1164 1165 2015-10-16 Mark Wielaard <mjw (a] redhat.com> 1166 1167 * Makefile.am (dwfl_proc_attach_LDFLAGS): Add AM_LDFLAGS. 1168 1169 2015-10-09 Josh Stone <jistone (a] redhat.com> 1170 1171 * lfs-symbols: New list of LFS-related symbols from lintian. 1172 * testfile-nolfs.bz2: New test binary for sanity checking. 1173 * run-lfs-symbols.sh: New test. 1174 * Makefile.am (TESTS): Add run-lfs-symbols.sh. 1175 (EXTRA_DIST): Add lfs-symbols, testfile-nolfs.bz2, and 1176 run-lfs-symbols.sh. 1177 * alldts.c (main): Replace open64 with open. 1178 * dwarf-getstring.c (main): Likewise. 1179 * arls.c: Include config.h. 1180 * ecp.c: Likewise. 1181 * rdwrmmap.c: Likewise. 1182 * test-elf_cntl_gelf_getshdr.c: Likewise. 1183 * test-flag-nobits.c: Include config.h. 1184 (main): Replace open64 with open. 1185 1186 2015-10-09 Mark Wielaard <mjw (a] redhat.com> 1187 1188 * elfshphehdr.c (check): Rename argument from check to statement. 1189 (check_elf): Likewise. 1190 1191 2015-10-05 Josh Stone <jistone (a] redhat.com> 1192 1193 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer. 1194 1195 2015-10-02 Mark Wielaard <mjw (a] redhat.com> 1196 1197 * elfstrmerge.c: New check program. 1198 * run-strip-strmerge.sh: New test. 1199 * Makefile.am (check_PROGRAMS): Add elfstrmerge. 1200 (EXTRA_DIST): Add run-strip-strmerge.sh 1201 (elfstrmerge_LDADD): New variable. 1202 1203 2015-09-29 Mark Wielaard <mjw (a] redhat.com> 1204 1205 * elfshphehdr.c: New test. 1206 * Makefile.am (check_PROGRAMS): Add elfshphehdr. 1207 (TESTS): Likewise. 1208 (elfshphehdr_LDADD): New variable. 1209 1210 2015-09-08 Mark Wielaard <mjw (a] redhat.com> 1211 1212 * dwfl-proc-attach.c: New test. 1213 * Makefile.am (check_PROGRAMS): Add dwfl-proc-attach. 1214 (TESTS): Likewise. 1215 (dwfl_proc_attach_LDADD): New variable. 1216 (dwfl_proc_attach_LDFLAGS): Likewise. 1217 1218 2015-09-04 Chih-Hung Hsieh <chh (a] google.com> 1219 1220 * varlocs.c (print_base_type): Initialize enctype. 1221 1222 2015-09-04 Chih-Hung Hsieh <chh (a] google.com> 1223 1224 * md5-sha1-test.c (md5_expected): Removed. 1225 (sha1_expected): Likewise. 1226 1227 2015-09-04 Chih-Hung Hsieh <chh (a] google.com> 1228 1229 * asm-tst1.c (main): Replace %Z length modifier with %z. 1230 * asm-tst2.c (main): Likewise. 1231 * asm-tst3.c (main): Likewise. 1232 * asm-tst4.c (main): Likewise. 1233 * asm-tst5.c (main): Likewise. 1234 * asm-tst6.c (main): Likewise. 1235 * asm-tst7.c (main): Likewise. 1236 * asm-tst8.c (main): Likewise. 1237 * asm-tst9.c (main): Likewise. 1238 * sectiondump.c (print_bytes): Likewise. 1239 1240 2015-08-14 Mark Wielaard <mjw (a] redhat.com> 1241 1242 * run-addr2line-alt-debugpath.sh: New test. 1243 * Makefile.am (TESTS): Add run-addr2line-alt-debugpath.sh 1244 (EXTRA_DIST): Likewise. 1245 1246 2015-07-29 Mark Wielaard <mjw (a] redhat.com> 1247 1248 * run-unstrip-test3.sh: New test. 1249 * testfile-info-link.bz2: New file. 1250 * testfile-info-link.debuginfo.bz2: Likewise. 1251 * testfile-info-link.stripped.bz2: Likewise. 1252 * Makefile.am (TESTS): Add run-unstrip-test3.sh. 1253 (EXTRA_DIST): Add run-unstrip-test3.sh, testfile-info-link.bz2, 1254 testfile-info-link.debuginfo.bz2, testfile-info-link.stripped.bz2. 1255 1256 2015-06-27 Pino Toscano <toscano.pino (a] tiscali.it> 1257 1258 * tests/run-deleted.sh: Skip when detecting a not implemented 1259 dwfl_linux_proc_attach. 1260 1261 2015-06-27 Pino Toscano <toscano.pino (a] tiscali.it> 1262 1263 * tests/dwfl-bug-fd-leak.c (elfutils_open): Check for null results of 1264 dwfl_addrmodule. 1265 1266 2015-06-26 Pino Toscano <toscano.pino (a] tiscali.it> 1267 1268 * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused. 1269 1270 2015-06-26 Pino Toscano <toscano.pino (a] tiscali.it> 1271 1272 * tests/backtrace-data.c: Reduce scope of some includes to match their 1273 usage. 1274 * tests/backtrace.c: Likewise. 1275 * tests/deleted.c: Likewise. 1276 1277 2015-06-16 Mark Wielaard <mjw (a] redhat.com> 1278 1279 * run-strip-test.sh: Add strip-in-place (eu-strip without -o) test 1280 for non-ET_REL files. 1281 1282 2015-05-30 Mark Wielaard <mjw (a] redhat.com> 1283 1284 * backtrace-subr.sh (check_native_core): Notice core file couldn't be 1285 generated before skipping. 1286 * run-addr2line-i-demangle-test.sh: Notice demangler is unsupported 1287 before skipping. 1288 * run-backtrace-demangle.sh: Likewise. 1289 * run-stack-demangled-test.sh: Likewise. 1290 * run-backtrace-native-biarch.sh: Notice biarch testing is disabled 1291 before skipping. 1292 * run-backtrace-native-core-biarch.sh: Likewise. 1293 * test-subr.sh (testfiles): Notice how bunzip2 fails before skipping. 1294 1295 2015-05-20 Mark Wielaard <mjw (a] redhat.com> 1296 1297 * run-addr2line-i-test.sh: Add pretty test. 1298 * run-addr2line-test.sh: Likewise. 1299 1300 2015-05-20 Mark Wielaard <mjw (a] redhat.com> 1301 1302 * run-addr2line-i-demangle-test.sh: New test. 1303 * Makefile.am (TESTS): Add run-addr2line-i-demangle-test.sh. 1304 (EXTRA_DIST): Likewise. 1305 1306 2015-05-20 Mark Wielaard <mjw (a] redhat.com> 1307 1308 * run-addr2line-test.sh: Add -a test variants. 1309 * run-addr2line-i-test.sh: Likewise. 1310 1311 2015-05-20 Mark Wielaard <mjw (a] redhat.com> 1312 1313 * run-addrname-test.sh: Make sure all input addresses are hex. 1314 1315 2015-05-04 Max Filippov <jcmvbkbc (a] gmail.com> 1316 1317 * backtrace-child.c (stdarg, main): Replace assert_perror with assert. 1318 * backtrace-data.c (memory_read, maps_lookup, set_initial_registers) 1319 (main): Likewise. 1320 * backtrace-dwarf.c (main): Likewise. 1321 * backtrace.c (prepare_thread, exec_dump): Likewise. 1322 1323 2015-05-04 Anthony G. Basile <blueness (a] gentoo.org> 1324 1325 * Makefile.am (line2addr_LDADD, addrscopes_LDADD, funcscopes_LDADD) 1326 (funcretval_LDADD, allregs_LDADD, find_prologues_LDADD) 1327 (dwflmodtest_LDADD, dwfl_addr_sect_LDADD, addrcfi_LDADD) 1328 (low_high_pc_LDADD, dwflsyms_LDADD, dwfllines_LDADD, varlocs_LDADD) 1329 (backtrace_LDADD, aggregate_size_LDADD): Append $(argp_LDADD). 1330 1331 2015-05-01 Mark Wielaard <mjw (a] redhat.com> 1332 1333 * run-stack-d-test.sh: Use --raw and mangled output. 1334 * run-stack-i-test.sh: Likewise. 1335 * run-stack-demangled-test.sh: New test. 1336 * Makefile.am (EXTRA_DIST): Add run-stack-demangled-test.sh. 1337 (TESTS): Likewise. 1338 1339 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 1340 1341 * Makefile.am (TESTS): Add run-strip-test10.sh. 1342 (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2. 1343 Add testfile-x32-debug.bz2. 1344 * run-strip-test10.sh: New file. 1345 * testfile-x32-d.bz2: Likewise. 1346 * testfile-x32-debug.bz2: Likewise. 1347 1348 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 1349 1350 * Makefile.am (TESTS): Add run-strip-test9.sh. 1351 (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2. 1352 * run-strip-test9.sh: New file. 1353 * testfile-x32-s.bz2: Likewise. 1354 1355 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 1356 1357 * Makefile.am (TESTS): Add run-backtrace-core-x32.sh. 1358 (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2. 1359 Add backtrace.x32.exec.bz2. 1360 * backtrace.x32.core.bz2 : New file. 1361 * backtrace.x32.exec.bz2: Likewise. 1362 * run-backtrace-core-x32.sh: Likewise. 1363 1364 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 1365 1366 * run-addrcfi.sh: Add a test for testfile-x32. 1367 * testfile-x32.bz2: New file. 1368 * Makefile.am (EXTRA_DIST): Add testfile-x32.bz2. 1369 1370 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 1371 1372 * run-allregs.sh: Add a test for testfile-x32-core. 1373 1374 2015-04-01 H.J. Lu <hjl.tools (a] gmail.com> 1375 1376 * run-readelf-mixed-corenote.sh: Add a test for testfile-x32-core. 1377 * testfile-x32-core.bz2: New file. 1378 * Makefile.am (EXTRA_DIST): Add testfile-x32-core.bz2. 1379 1380 2015-03-18 Petr Machata <pmachata (a] redhat.com> 1381 1382 * addrcfi.c (op_name): Adjust uses of know-dwarf.h macros to match 1383 the API changes. 1384 * allregs.c (dwarf_encoding_string): Likewise. 1385 * show-die-info.c (dwarf_tag_string, dwarf_attr_string): Likewise. 1386 * varlocs.c (dwarf_encoding_string, dwarf_opcode_string): Likewise. 1387 1388 2015-03-18 Petr Machata <pmachata (a] redhat.com> 1389 1390 * Makefile.am (EXTRA_DIST): Add run-dwarf-ranges.sh, 1391 debug-ranges-no-lowpc.o.bz2. 1392 1393 2015-03-13 Mark Wielaard <mjw (a] redhat.com> 1394 1395 * backtrace-dwarf.c: Add explicit includes. 1396 (cleanup_13_abort): Remove unused static declaration. 1397 (thread_callback): Add explicit return. 1398 1399 2015-03-13 H.J. Lu <hjl.tools (a] gmail.com> 1400 1401 * backtrace.c (prepare_thread): Use PTRACE_GETREGS/PTRACE_SETREGS 1402 instead of PTRACE_POKEUSER. 1403 (exec_dump): Check EM_X86_64 instead of ELFCLASS64 for 1404 is_x86_64_native. 1405 1406 2015-02-18 Mark Wielaard <mjw (a] redhat.com> 1407 1408 * newdata.c (check_section_data): Use PRId64 for printing loff_t. 1409 1410 2015-02-11 Josh Stone <jistone (a] redhat.com> 1411 1412 * backtrace.c (exec_dump): Initialize jmp. 1413 1414 2015-02-11 Petr Machata <pmachata (a] redhat.com> 1415 1416 * run-dwarf-ranges.sh: New test. 1417 * dwarf-ranges.c: New file. 1418 * debug-ranges-no-lowpc.s, debug-ranges-no-lowpc.o.bz2: New test case. 1419 1420 2015-01-21 Mark Wielaard <mjw (a] redhat.com> 1421 1422 * Makefile.am (check_PROGRAMS): Add elfstrtab. 1423 (TESTS): Likewise. 1424 (elfstrtab_LDADD): New variable. 1425 * elfstrtab.c: New test. 1426 1427 2015-01-20 Mark Wielaard <mjw (a] redhat.com> 1428 1429 * Makefile.am (check_PROGRAMS): Add newdata. 1430 (TESTS): Likewise. 1431 (newdata_LDADD): new variable. 1432 * newdata.c: New test. 1433 1434 2015-01-20 Mark Wielaard <mjw (a] redhat.com> 1435 1436 * strptr.c: New file. 1437 * run-strptr.sh: New test. 1438 * Makefile.am (check_PROGRAMS): Add strptr. 1439 (TESTS): Add run-strptr.sh. 1440 (EXTRA_DIST): Likewise. 1441 (strptr_LDADD): New variable. 1442 1443 2015-01-15 Mark Wielaard <mjw (a] redhat.com> 1444 1445 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY). 1446 * vdsosyms.c (main): Use getpid () instead of getppid (). 1447 1448 2014-12-27 Mark Wielaard <mjw (a] redhat.com> 1449 1450 * addrscopes.c (handle_address): Last address in scope is highpc - 1. 1451 * funcscopes.c (handle_function): Likewise. 1452 * run-addrscopes.sh: Adjust last address in scope. 1453 * run-funcscopes.sh: Likewise. 1454 1455 2015-01-07 Mark Wielaard <mjw (a] redhat.com> 1456 1457 * run-addrcfi.sh: Add test for ppc32 eh_frame_hdr address search. 1458 1459 2015-01-14 Mark Wielaard <mjw (a] redhat.com> 1460 1461 * testfile-debug-types.bz2: New testfile. 1462 * Makefile.am (EXTRA_DIST): Add testfile-debug-types.bz2. 1463 * typeiter2.c (main): Print both name and offset of found form DIE. 1464 * run-typeiter.s: Adjust output and add testfile-debug-types. 1465 1466 2014-12-26 Mark Wielaard <mjw (a] redhat.com> 1467 1468 * run-test-archive64.sh: Add nm test. 1469 1470 2014-12-19 Mark Wielaard <mjw (a] redhat.com> 1471 1472 * run-deleted.sh: Don't check libfunc on ppc64. 1473 1474 2014-12-19 Mark Wielaard <mjw (a] redhat.com> 1475 1476 * vdsosyms.c (vdso_seen): Removed. 1477 (vdso_syms): New global. 1478 (module_callback): Set and check vdso_syms. 1479 (main): Return value depends on vdso_syms. 1480 1481 2014-12-19 Mark Wielaard <mjw (a] redhat.com> 1482 1483 * backtrace-subr.sh (check_native_unsupported): Relax special ARM 1484 grep a little. 1485 * run-deleted.sh: Call check_native_unsupported. 1486 1487 2014-12-18 Mark Wielaard <mjw (a] redhat.com> 1488 1489 * Makefile.am (EXTRA_DIST): Add testfile-macros-0xff.bz2. 1490 1491 2014-12-12 Mark Wielaard <mjw (a] redhat.com> 1492 1493 * Makefile.am (deleted_lib_so_CFLAGS): Add 1494 -fasynchronous-unwind-tables. 1495 1496 2014-12-11 Josh Stone <jistone (a] redhat.com> 1497 1498 * run-addr2line-i-lex-test.sh: New test. 1499 * testfile-lex-inlines.bz2: New testfile. 1500 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and 1501 testfile-lex-inlines.bz2. 1502 (TESTS): Add run-addr2line-i-lex-test.sh. 1503 1504 2014-12-10 Josh Stone <jistone (a] redhat.com> 1505 1506 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is 1507 preferred over the plain die name. 1508 1509 2014-12-02 Petr Machata <pmachata (a] redhat.com> 1510 1511 * dwarf-getmacros.c (mac): Skip over DW_MACINFO_undef, 1512 DW_MACRO_GNU_undef_indirect opcodes. Add a default branch. 1513 (main): Initialize off to DWARF_GETMACROS_START when an extra 1514 command line argument is passed. 1515 * testfile-macros-0xff.bz2: New test case. 1516 * testfile-macros-0xff.s: New file (source for the above). 1517 * run-dwarf-getmacros.sh: Add two tests. 1518 1519 2014-11-27 Mark Wielaard <mjw (a] redhat.com> 1520 1521 * vdsosyms.c (main): Call dwfl_linux_proc_attach. 1522 1523 2014-11-21 Mark Wielaard <mjw (a] redhat.com> 1524 1525 * run-readelf-A.sh: New test. 1526 * testfileppc32attrs.o.bz2: New test file. 1527 * Makefile.am (TESTS): Add run-readelf-A.sh. 1528 (EXTRA_DIST): Add run-readelf-A.sh and testfileppc32attrs.o.bz2. 1529 1530 2014-11-10 Mark Wielaard <mjw (a] redhat.com> 1531 1532 * vdsosyms.c: New test. 1533 * Makefile.am (check_PROGRAMS): Add vdsosyms. 1534 (TESTS): Likewise. 1535 (vdsosyms_LDADD): New variable. 1536 1537 2014-09-10 Petr Machata <pmachata (a] redhat.com> 1538 1539 * dwarf-getmacros.c: Update to use the new macro iteration 1540 interfaces. 1541 * run-dwarf-getmacros.sh: Adjust, add a test that uses 1542 testfile-macros. 1543 1544 2014-10-06 Mark Wielaard <mjw (a] redhat.com> 1545 1546 * run-aggregate-size.sh: Add testfile-sizes3.o test case. 1547 * testfile-sizes3.o.bz2: New test file. 1548 * Makefile.am (EXTRA_DIST): Add testfile-sizes3.o.bz2. 1549 1550 2014-10-02 Mark Wielaard <mjw (a] redhat.com> 1551 1552 * run-deleted.sh: Unset VALGRIND_CMD before running deleted. 1553 1554 2014-10-02 Mark Wielaard <mjw (a] redhat.com> 1555 1556 * Makefile.am (check_PROGRAMS): Add aggregate_size.c. 1557 (TESTS): Add run-aggregate-size.sh. 1558 (EXTRA_DIST): Add run-aggregate-size.sh, testfile-sizes1.o.bz2 1559 and testfile-sizes2.o.bz2. 1560 (aggregate_size_LDADD): New variable. 1561 * aggregate_size.c: New file. 1562 * run-aggregate-size.sh: New test. 1563 * testfile-sizes1.o.bz2: New test file. 1564 * testfile-sizes2.o.bz2: Likewise. 1565 1566 2014-09-26 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1567 1568 Support NT_FILE for locating files. 1569 * Makefile.am (TESTS): Add run-linkmap-cut.sh. 1570 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2, 1571 linkmap-cut.bz2 and linkmap-cut.core.bz2 . 1572 * linkmap-cut-lib.so.bz2: New file. 1573 * linkmap-cut.bz2: New file. 1574 * linkmap-cut.core.bz2: New file. 1575 * run-linkmap-cut.sh: New file. 1576 * run-unstrip-n.sh: Update its expected output. 1577 1578 2014-08-28 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1579 1580 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so. 1581 (TESTS, EXTRA_DIST): Add run-deleted.sh. 1582 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New. 1583 * deleted-lib.c: New file. 1584 * deleted.c: New file. 1585 * run-deleted.sh: New file. 1586 1587 2014-06-15 Mark Wielaard <mjw (a] redhat.com> 1588 1589 * backtrace.c (frame_callback): Error on seeing more than 16 frames. 1590 1591 2014-06-13 Mark Wielaard <mjw (a] redhat.com> 1592 1593 * backtrace.c (callback_verify): Accept "__libc_do_syscall" as first 1594 frame symname. 1595 1596 2014-06-13 Mark Wielaard <mjw (a] redhat.com> 1597 1598 * backtrace-subr.sh (check_native_unsupported): New function. 1599 (check_native): Call it. 1600 (check_native_core): Likewise. 1601 * run-backtrace-dwarf.sh: Likewise. 1602 1603 2014-06-11 Mark Wielaard <mjw (a] redhat.com> 1604 1605 * backtrace.c (main): Check that Dwfl was attached by calling 1606 dwfl_pid and printing the error when it is not. 1607 1608 2014-05-18 Mark Wielaard <mjw (a] redhat.com> 1609 1610 * testfile-backtrace-demangle.cc (cxxfunc): Make non-static. 1611 (f): Likewise. 1612 * testfile-backtrace-demangle.bz2: Regenerate. 1613 * testfile-backtrace-demangle.core.bz2: Likewise. 1614 1615 2014-05-02 Mark Wielaard <mjw (a] redhat.com> 1616 1617 * Makefile.am (TESTS): run-readelf-dwz-multi.sh and 1618 run-allfcts-multi.sh are now added unconditionally. 1619 1620 2014-05-01 Mark Wielaard <mjw (a] redhat.com> 1621 1622 * run-readelf-dwz-multi.sh: Add tests with alt debug files in .dwz 1623 subdir. 1624 1625 2014-04-30 Mark Wielaard <mjw (a] redhat.com> 1626 1627 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files. 1628 * Makefile.am (check_PROGRAMS): Add buildid. 1629 (TESTS): Add run-buildid.sh. 1630 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2. 1631 (buildid_LDADD): New variable. 1632 1633 2014-04-24 Florian Weimer <fweimer (a] redhat.com> 1634 1635 * allfcts.c (setup_alt): New function. 1636 (main): Call it. Implementation additional error checking and 1637 reporting. 1638 1639 2014-04-24 Florian Weimer <fweimer (a] redhat.com> 1640 1641 * debugaltlink.c, run-debugaltlink.sh: New files. 1642 * Makefile.am (check_PROGRAMS): Add debugaltlink. 1643 (TESTS): Add run-debugaltlink.sh. 1644 (debugaltlink_LDADD): New variable. 1645 1646 2014-04-11 Mark Wielaard <mjw (a] redhat.com> 1647 1648 * Makefile.am (AM_CPPFLAGS): Add -I libdwelf. 1649 (check_PROGRAMS): Add debuglink. 1650 (TESTS): Add run-debuglink.sh 1651 (EXTRA_DIST): Likewise. 1652 (debuglink_LDADD): New. 1653 * debuglink.c: New file. 1654 * run-debuglink.sh: Likewise. 1655 1656 2014-03-23 Mark Wielaard <mjw (a] redhat.com> 1657 1658 * run-nm-self.sh: Use test = not == for string comparisons. 1659 1660 2014-04-22 Kurt Roeckx <kurt (a] roeckx.be> 1661 1662 * backtrace.c: Make Linux only. 1663 * backtrace-child.c: Make Linux only. 1664 * backtrace-data.c: Make Linux only. 1665 * backtrace-dwarf.c: Make Linux only. 1666 * backtrace-subr.sh: Skip core file unwinding tests when not supported. 1667 1668 2014-03-14 Mark Wielaard <mjw (a] redhat.com> 1669 1670 * Makefile.am: Remove MUDFLAP conditions. Remove libmudflap from all 1671 LDADD lines. 1672 * configure.ac: Remove MUDFLAP conditional. 1673 1674 2014-04-09 Mark Wielaard <mjw (a] redhat.com> 1675 1676 * run-readelf-zdebug.sh: New test. 1677 * testfile-debug.bz2: New testfile. 1678 * testfile-zdebug.bz2: New testfile. 1679 * Makefile.am (TESTS): Add run-readelf-zdebug.sh if ZLIB. 1680 (EXTRA_DIST): Add run-readelf-zdebug.sh, testfile-debug.bz2 and 1681 testfile-zdebug.bz2. 1682 1683 2014-04-10 Mark Wielaard <mjw (a] redhat.com> 1684 1685 * testfile_i686_core.bz2: New test file. 1686 * run-readelf-mixed-corenote.sh: Add testfile_i686_core test. 1687 * Makefile.am (EXTRA_DIST): Add testfile_i686_core.bz2 1688 1689 2014-04-09 Mark Wielaard <mjw (a] redhat.com> 1690 1691 * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh. 1692 (EXTRA_DIST): Add run-backtrace-core-aarch64.sh, 1693 backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2. 1694 * run-backtrace-core-aarch64.sh: New test. 1695 1696 2014-03-11 Josh Stone <jistone (a] redhat.com> 1697 1698 * testfilebaxmin.bz2: New testfile. 1699 * Makefile.am (EXTRA_DIST): Add testfilebaxmin.bz2. 1700 * run-readelf-s.sh: Test testfilebaxmin. 1701 * run-dwflsyms.sh: Likewise. 1702 1703 2014-01-26 Mark Wielaard <mjw (a] redhat.com> 1704 1705 * backtrace-subr.sh (check_unsupported): Special case arm*. 1706 1707 2014-01-25 Mark Wielaard <mjw (a] redhat.com> 1708 1709 * run-addrcfi.sh (EM_ARM): Change reg13 (sp) from undefined to 1710 location expression: call_frame_cfa stack_value. 1711 1712 2014-01-22 Mark Wielaard <mjw (a] redhat.com> 1713 1714 * Makefile.am (line2addr_no_Wformat): Removed. 1715 1716 2014-01-21 Mark Wielaard <mjw (a] redhat.com> 1717 1718 * Makefile.am (TESTS): Add run-stack-i-test.sh. 1719 (EXTRA_DIST): Likewise. 1720 * run-stack-i-test.sh: New test. 1721 1722 2014-01-20 Mark Wielaard <mjw (a] redhat.com> 1723 1724 * Makefile.am (TESTS): Add run-stack-d-test.sh. 1725 (EXTRA_DIST): Add run-stack-d-test.sh, testfiledwarfinlines.bz2 1726 testfiledwarfinlines.core.bz2. 1727 * run-stack-d-test.sh: New test. 1728 * testfiledwarfinlines.bz2: New test file. 1729 * testfiledwarfinlines.core.bz2: Likewise. 1730 1731 2014-01-16 Mark Wielaard <mjw (a] redhat.com> 1732 1733 * run-nm-self.sh: Don't use testrun_on_self_quiet but just testrun 1734 on one ET_REL, one ET_EXEC and one ET_DYN file. 1735 * test-subr.sh (self_test_files): Add two ET_REL files, only add 1736 two libebl ET_DYN backend files. 1737 1738 2014-01-16 Mark Wielaard <mjw (a] redhat.com> 1739 1740 * run-backtrace-demangle.sh: Check exitcode and max number of frames. 1741 1742 2014-01-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1743 1744 Fix false FAILs on testsuite with ulimit -c unlimited. 1745 * backtrace-child.c (sigusr2): Call pthread_exit. 1746 (main): Return, do not call abort. 1747 1748 2014-01-15 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1749 1750 Fix corruption of non-C++ symbols by the demangler. 1751 * Makefile.am (TESTS): Add run-backtrace-demangle.sh. 1752 <!DEMANGLE>: Add ELFUTILS_DISABLE_DEMANGLE export. 1753 (EXTRA_DIST): Add run-backtrace-demangle.sh, 1754 testfile-backtrace-demangle.bz2, testfile-backtrace-demangle.cc, 1755 testfile-backtrace-demangle.core.bz2. 1756 * backtrace-demangle.cc: New file. 1757 * run-backtrace-demangle.sh: New file. 1758 * testfile-backtrace-demangle.bz2: New file. 1759 * testfile-backtrace-demangle.cc: New file. 1760 * testfile-backtrace-demangle.core.bz2: New file. 1761 1762 2014-01-07 Matthias Klose <doko (a] ubuntu.com> 1763 1764 * backtrace-subr.sh (check_native_core): Check to see if core file 1765 was created without ".PID" extension, if so mv core to core.PID. 1766 Skip test if no core file was created or could be found. 1767 1768 2014-01-04 Mark Wielaard <mjw (a] redhat.com> 1769 1770 * backtrace-data.c (main): Don't assert if raise returns. 1771 * backtrace-dwarf.c (report_pid): Call dwfl_linux_proc_attach with 1772 assume_ptrace_attached true. 1773 (ptrace_detach_stopped): Removed function. 1774 (main): Don't call ptrace_detach_stopped. 1775 * backtrace.c (ptrace_detach_stopped): Removed function. 1776 (report_pid): Call dwfl_linux_proc_attach with assume_ptrace_attached 1777 true. 1778 (exec_dump): Don't call ptrace_detach_stopped. 1779 1780 2014-01-04 Mark Wielaard <mjw (a] redhat.com> 1781 1782 * backtrace-subr.sh (check_native_core): Skip, exit 77, the test 1783 if we cannot adjust core ulimit. 1784 1785 2014-01-04 Mark Wielaard <mjw (a] redhat.com> 1786 1787 * cleanup-13.c (force_unwind_stop): Removed. 1788 (force_unwind): Just call abort. Don't setup _Unwind_Exception and 1789 don't call _Unwind_ForcedUnwind. 1790 1791 2014-01-03 Mark Wielaard <mjw (a] redhat.com> 1792 1793 * run-addrcfi.sh: Add case for EM_AARCH64. 1794 * testfileaarch64.bz2: New testfile. 1795 * Makefile.am (EXTRA_DIST): Add testfilesaarch64.bz2. 1796 1797 2013-12-30 Mark Wielaard <mjw (a] redhat.com> 1798 1799 * backtrace-dwarf.c (report_pid): Explicitly call 1800 dwfl_linux_proc_attach and check for errors. 1801 * backtrace.c (report_pid): Likewise. 1802 1803 2013-12-21 Mark Wielaard <mjw (a] redhat.com> 1804 1805 * backtrace.c (callback_verify): Only assert that case 5 is the last 1806 instruction of backtracegen on x86_64 native. 1807 1808 2013-12-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1809 Mark Wielaard <mjw (a] redhat.com> 1810 1811 * Makefile.am (EXTRA_DIST): Add testfile66.bz2, testfile66.core.bz2 1812 and testfilebaz*ppc64*.bz2 files. 1813 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print 1814 error on dwfl_module_getsymtab error. 1815 (list_syms): Use dwfl_module_getsym and dwfl_module_getsym_info. 1816 Compare values for non-ET_REL. Use dwfl_module_addrinfo. 1817 Also print section of actual value if different from sym. 1818 * run-addrname-test.sh (testfile66, testfile66.core): New tests. 1819 Test addr2line -x by showing different sections for address and 1820 found name in testfile66. 1821 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko, 1822 testfilebaz*ppc64): New tests. 1823 * testfile66.bz2, testfile66.core.bz2, testfilebazdbgppc64.bz2, 1824 testfilebazdbgppc64.debug.bz2, testfilebazdbgppc64_pl.bz2, 1825 testfilebazdbgppc64_plr.bz2, testfilebazdynppc64.bz2, 1826 testfilebazmdbppc64.bz2, testfilebazminppc64.bz2, 1827 testfilebazminppc64_pl.bz2, testfilebazminppc64_plr.bz2, 1828 testfilebaztabppc64.bz2: New test files. 1829 1830 2013-12-18 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1831 1832 unwinder: s390 and s390x 1833 * Makefile.am (TESTS): Add run-backtrace-core-s390x.sh and 1834 run-backtrace-core-s390.sh. 1835 (EXTRA_DIST): Add backtrace.s390x.core.bz2, backtrace.s390x.exec.bz2, 1836 backtrace.s390.core.bz2, backtrace.s390.exec.bz2, 1837 run-backtrace-core-s390x.sh and run-backtrace-core-s390.sh. 1838 * backtrace.s390.core.bz2: New file. 1839 * backtrace.s390.exec.bz2: New file. 1840 * backtrace.s390x.core.bz2: New file. 1841 * backtrace.s390x.exec.bz2: New file. 1842 * run-backtrace-core-s390.sh: New file. 1843 * run-backtrace-core-s390x.sh: New file. 1844 1845 2013-12-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1846 1847 * backtrace-dwarf.c (executable, find_elf, dwfl_offline): Remove unused 1848 code. 1849 1850 2013-12-15 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1851 1852 unwinder: ppc 1853 * Makefile.am (TESTS): Add run-backtrace-core-ppc.sh. 1854 (EXTRA_DIST): Add backtrace.ppc.core.bz2, 1855 backtrace.ppc.exec.bz2 and run-backtrace-core-ppc.sh. 1856 * backtrace.ppc.core.bz2: New file. 1857 * backtrace.ppc.exec.bz2: New file. 1858 * run-backtrace-core-ppc.sh: New file. 1859 1860 2013-12-10 Mark Wielaard <mjw (a] redhat.com> 1861 1862 * Makefile.am (backtrace_child_biarch_SOURCES): New backtrace-child.c. 1863 1864 2013-12-10 Mark Wielaard <mjw (a] redhat.com> 1865 1866 * Makefile.am (valgrind_cmd): Remove --trace-children=yes. 1867 * backtrace-subr.sh (check_native_core): Disable valgrind while 1868 dumping core. 1869 * run-backtrace-data.sh: Disable valgrind. 1870 * run-backtrace-dwarf.sh: Likewise. 1871 1872 2013-12-09 Mark Wielaard <mjw (a] redhat.com> 1873 1874 * varlocs.c (print_expr): Update comment to explain empty location 1875 associated with DW_OP_GNU_implicit_pointer. 1876 1877 2013-12-05 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1878 1879 Fix test FAIL with -O2. 1880 * backtrace-child.c (sigusr2): Add NOINLINE_NOCLONE and final asm stub. 1881 1882 2013-12-05 Mark Wielaard <mjw (a] redhat.com> 1883 1884 * backtrace-data.c (main): If unsupported also print to stderr. 1885 * run-backtrace-dwarf.sh: Add check_unsupported and check_main. 1886 1887 2013-12-04 Mark Wielaard <mjw (a] redhat.com> 1888 1889 * Makefile.am (backtrace-child-biarch): Add $(EXEEXT). 1890 1891 2013-12-02 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1892 1893 * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child, 1894 backtrace-data and backtrace-dwarf. 1895 (BUILT_SOURCES, clean-local, backtrace-child-biarch): New. 1896 (TESTS): Add run-backtrace-native.sh, run-backtrace-data.sh, 1897 run-backtrace-dwarf.sh, run-backtrace-native-biarch.sh, 1898 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 1899 run-backtrace-core-x86_64.sh and run-backtrace-core-i386.sh. 1900 <!BIARCH> Add export of ELFUTILS_DISABLE_BIARCH. 1901 (EXTRA_DIST): Add run-backtrace-data.sh, run-backtrace-dwarf.sh, 1902 cleanup-13.c, run-backtrace-native.sh, run-backtrace-native-biarch.sh, 1903 run-backtrace-native-core.sh, run-backtrace-native-core-biarch.sh, 1904 run-backtrace-core-x86_64.sh, run-backtrace-core-i386.sh, 1905 backtrace-subr.sh, backtrace.i386.core.bz2, backtrace.i386.exec.bz2, 1906 backtrace.x86_64.core.bz2, backtrace.x86_64.exec.bz2. 1907 (backtrace_LDADD, backtrace_child_CFLAGS, backtrace_child_LDFLAGS) 1908 (backtrace_data_LDADD, backtrace_dwarf_CFLAGS, backtrace_dwarf_LDADD): 1909 New. 1910 * backtrace-child.c: New file. 1911 * backtrace-data.c: New file. 1912 * backtrace-dwarf.c: New file. 1913 * backtrace-subr.sh: New file. 1914 * backtrace.c: New file. 1915 * cleanup-13.c: New file. 1916 * backtrace.i386.core.bz2: New file. 1917 * backtrace.i386.exec.bz2: New file. 1918 * backtrace.x86_64.core.bz2: New file. 1919 * backtrace.x86_64.exec.bz2: New file. 1920 * run-backtrace-core-i386.sh: New file. 1921 * run-backtrace-core-x86_64.sh: New file. 1922 * run-backtrace-native-biarch.sh: New file. 1923 * run-backtrace-native-core-biarch.sh: New file. 1924 * run-backtrace-native-core.sh: New file. 1925 * run-backtrace-native.sh: New file. 1926 * run-backtrace-data.sh: New file. 1927 * run-backtrace-dwarf.sh: New file. 1928 1929 2013-11-27 Mark Wielaard <mjw (a] redhat.com> 1930 1931 * dwflsyms.c (gelf_bind_order): New function. 1932 (elf_section_name): Likewise. 1933 (addr_in_section): Likewise. 1934 (list_syms): Use dwfl_module_getsym_elf and dwfl_module_addrsym_elf. 1935 Refine assert using gelf_bind_order. Print elf_section_name. Check 1936 bias with addr_in_section. 1937 * run-dwflsyms.sh: Add section names to expected output. 1938 1939 2013-11-26 Mark Wielaard <mjw (a] redhat.com> 1940 1941 * Makefile.am (EXTRA_DIST): Add run-funcretval.sh. 1942 1943 2013-11-25 Petr Machata <pmachata (a] redhat.com> 1944 1945 * testfile_aarch64_core.bz2, hello_aarch64.ko.bz2: New files. 1946 * funcretval_test.c, funcretval_test_aarch64.bz2: Likewise. 1947 * Makefile.am (EXTRA_DIST): Add these. 1948 (TESTS): Add run-funcretval.sh. 1949 * run-allregs.sh: Use testfile_aarch64_core.bz2 for a regs_test. 1950 * run-readelf-mixed-corenote.sh: ... and for a readelf -n test. 1951 * run-strip-reloc.sh: Add a test on hello_aarch64.ko.bz2. 1952 * run-funcretval.sh: New file. 1953 1954 2013-11-18 Josh Stone <jistone (a] redhat.com> 1955 1956 * testfilebazdbg_plr.bz2: New testfile. 1957 * testfilebazmin_plr.bz2: Likewise. 1958 * Makefile.am (EXTRA_DIST): Add the above files. 1959 * run-dwflsyms.sh: Add prelink -r tests. 1960 1961 2013-11-15 Mark Wielaard <mjw (a] redhat.com> 1962 1963 * testfilebazmdb.bz2: Regenerated. 1964 * testfilebazmin.bz2: Likewise. 1965 * testfilebazdbg_pl.bz2: New testfile. 1966 * testfilebazmin_pl.bz2: Likewise. 1967 * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and 1968 testfilebazmin_pl.bz2. 1969 * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and 1970 print relative address of function symbols. 1971 * run-dwflsyms.sh: Add prelink tests and adjust expected output. 1972 1973 2013-11-01 Michael Forney <mforney (a] mforney.org> 1974 1975 * Makefile.am (TESTS_ENVIRONMENT): Use and export NM. 1976 * run-arsymtest.sh: Use NM. 1977 1978 2013-11-05 Mark Wielaard <mjw (a] redhat.com> 1979 1980 * allfcts.c (main): Correct dwarf_getfuncs return value check. 1981 1982 2013-10-10 Mark Wielaard <mjw (a] redhat.com> 1983 Josh Stone <jistone (a] redhat.com> 1984 1985 * run-allfcts-multi.sh: New test. 1986 * test-offset-loop.bz2: New testfile. 1987 * test-offset-loop.alt.bz2: New testfile. 1988 * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ. 1989 (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and 1990 test-offset-loop.alt.bz2. 1991 1992 2013-10-15 Mark Wielaard <mjw (a] redhat.com> 1993 1994 * run-unstrip-M.sh: New test. 1995 * Makefile.am (TESTS): Add run-unstrip-M.sh. 1996 (EXTRA_DIST): Likewise. 1997 1998 2013-10-06 Mark Wielaard <mjw (a] redhat.com> 1999 2000 * run-addrcfi.sh: Remove nop from expected ppc and ppc64 2001 location expression. 2002 2003 2013-10-03 Josh Stone <jistone (a] redhat.com> 2004 2005 * typeiter2.c: New file, reversing typeiter.c. 2006 * run-typeiter.sh: Also run typeiter2. 2007 * Makefile.am (check_PROGRAMS): Add typeiter2. 2008 (typeiter2_LDADD): New variable. 2009 2010 2013-09-26 Petr Machata <pmachata (a] redhat.com> 2011 2012 * run-readelf-mixed-corenote.sh: Update output of testfile71 2013 dump--readelf can newly decode the NT_FILE note. 2014 2015 2013-09-26 Petr Machata <pmachata (a] redhat.com> 2016 2017 * Makefile.am (EXTRA_DIST): Add testfile71.bz2. 2018 * run-readelf-mixed-corenote.sh: New test for this file. 2019 * testfile71.bz2: New file. 2020 2021 2013-09-20 Mark Wielaard <mjw (a] redhat.com> 2022 2023 * allfcts.c (cb): Return DWARF_CB_ABORT. 2024 (main): Iterate over all offsets returned by dwarf_getfuncs. 2025 * run-allfcts.sh: Add nested_funcs and class_func testcases. 2026 * testfile_nested_funcs.bz2: New test file. 2027 * testfile_class_func.bz2: Likewise. 2028 * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and 2029 testfile_nested_funcs.bz2. 2030 2031 2013-08-30 Mark Wielaard <mjw (a] redhat.com> 2032 2033 * Makefile.am (check_PROGRAMS): Add varlocs. 2034 (TESTS): Add run-varlocs.sh. 2035 (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c, 2036 testfile_const_type.bz2, testfile_implicit_pointer.c, 2037 testfile_implicit_pointer.bz2, testfile_parameter_ref.c, 2038 testfile_entry_value.c, testfile_entry_value.bz2, 2039 testfile_implicit_value.c and testfile_implicit_value.bz2. 2040 (varlocs_LDADD): New. 2041 * run-varlocs: New test. 2042 * testfile_const_type.c: New test source file. 2043 * testfile_entry_value.c: Likewise. 2044 * testfile_implicit_pointer.c: Likewise. 2045 * testfile_implicit_value.c: Likewise. 2046 * testfile_parameter_ref.c: Likewise. 2047 * testfile_const_type.bz2: New test file. 2048 * testfile_entry_value.bz2: Likewise. 2049 * testfile_implicit_pointer.bz2: Likewise. 2050 * testfile_implicit_value.bz2: Likewise. 2051 * testfile_parameter_ref.bz2: Likewise. 2052 * varlocs.c: New test source. 2053 2054 2013-08-29 Mark Wielaard <mjw (a] redhat.com> 2055 2056 * run-addrcfi.sh: Add case for EM_ARM. 2057 * testfilearm.bz2: New testfile. 2058 * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2. 2059 2060 2013-08-28 Mark Wielaard <mjw (a] redhat.com> 2061 2062 * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame 2063 completely missing. 2064 * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64. 2065 * testfiles390.bz2: New testfile. 2066 * testfiles390x.bz2: Likewise. 2067 * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and 2068 testfiles390x.bz2. 2069 2070 2013-08-28 Mark Wielaard <mjw (a] redhat.com> 2071 2072 * addrcfi.c (handle_cfi): Use printf not error. 2073 * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64. 2074 * testfileppc32.bz2: New testfile. 2075 * testfileppc64.bz2: Likewise. 2076 * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and 2077 testfileppc64.bz2. 2078 2079 2013-08-27 Mark Wielaard <mjw (a] redhat.com> 2080 2081 * run-addrcfi.sh: New test. 2082 * Makefile.am (TESTS): Add run-addrcfi.sh. 2083 (EXTRA_DIST): Likewise. 2084 * addrcfi.c (op_name): New function. 2085 (print_detail): Call and print op_name. Check ops, not result 2086 to check if this is "same value" or "undefined". 2087 (handle_cfi): Make sure cfa_ops doesn't point to NULL. 2088 2089 2013-08-13 Mark Wielaard <mjw (a] redhat.com> 2090 2091 * run-addr2line-i-test.sh: New test. 2092 * testfile-inlines.bz2: New testfile. 2093 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and 2094 testfile-inlines.bz2. 2095 (TESTS): Add run-addr2line-i-test.sh. 2096 2097 2013-08-12 Mark Wielaard <mjw (a] redhat.com> 2098 2099 * run-addr2line-test.sh: New test. 2100 * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh. 2101 (TESTS): Likewise. 2102 2103 2013-07-23 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2104 2105 * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of 2106 the entries. 2107 2108 2013-07-02 Mark Wielaard <mjw (a] redhat.com> 2109 2110 * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in 2111 testfilenolines.bz2. 2112 2113 2013-05-30 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2114 2115 * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2, 2116 test-core.core.bz2 and test-core.exec.bz2. 2117 * run-addrname-test.sh: New test for these files. 2118 * run-unstrip-n.sh: Update expected output. New test for these files. 2119 * test-core-lib.so.bz2: New file. 2120 * test-core.core.bz2: New file. 2121 * test-core.exec.bz2: New file. 2122 2123 2013-05-03 Mark Wielaard <mjw (a] redhat.com> 2124 2125 * testfilenolines.bz2: New test file. 2126 * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2. 2127 * run-get-lines.sh: Run testrun_compare on testfilenolines. 2128 2129 2013-04-30 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2130 2131 * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf. 2132 2133 2013-04-29 Mark Wielaard <mjw (a] redhat.com> 2134 2135 * test-subr.sh: Don't use pushd, just cd into test-dir. 2136 (exit_cleanup): Don't use popd, just cd .. to get out. 2137 2138 2013-04-27 Mark Wielaard <mjw (a] redhat.com> 2139 2140 * test-subr.sh (exit_cleanup): New function. 2141 (trap): Use exit_cleanup as argument. 2142 * run-native-test.sh (native_exit): New function. 2143 (trap): For EXIT (0) use native_exit as argument. 2144 2145 2013-04-27 Mark Wielaard <mjw (a] redhat.com> 2146 2147 * update1.c (main): Use unique tempfile name and unlink file. 2148 * update2.c (main): Likewise. 2149 * update3.c (main): Likewise. 2150 * update4.c (main): Use unique tempfile name. 2151 2152 2013-04-27 Mark Wielaard <mjw (a] redhat.com> 2153 2154 * run-alldts.sh: Add testfile-alldts to tempfiles. 2155 * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles. 2156 * run-macro-test.sh: Add readelf.macros.out to tempfiles. 2157 * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2 2158 and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles. 2159 2160 2013-04-26 Mark Wielaard <mjw (a] redhat.com> 2161 2162 * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment, 2163 remove wrapper. 2164 (TESTS_ENVIRONMENT): Likewise. 2165 (installed_LOG_COMPILER): New variable defining wrapper. 2166 (LOG_COMPILER): Likewise. 2167 * run-*.sh: Fixup location of input and output files. 2168 * test-subr.sh: Create test_dir, pushd to execute test in. 2169 (trap): Remove test_dir. 2170 (testfiles): Use abs_srcdir. 2171 (installed_testrun): Match on abs_builddir or abs_top_builddir. 2172 (self_test_files): Adjust path. 2173 2174 2013-04-24 Mark Wielaard <mjw (a] redhat.com> 2175 2176 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 2177 2178 2013-03-25 Mark Wielaard <mjw (a] redhat.com> 2179 2180 * run-readelf-aranges.sh: New test. 2181 * testfilefoobarbaz.bz2: New test file. 2182 * Makefile.am (TESTS): Add run-readelf-aranges.sh. 2183 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2. 2184 2185 2013-03-25 Mark Wielaard <mjw (a] redhat.com> 2186 2187 * run-readelf-dwz-multi.sh: Expect high_pc also as address. 2188 2189 2013-03-20 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2190 2191 * Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align. 2192 (TESTS): Add run-dwfl-report-elf-align.sh. 2193 (EXTRA_DIST): Add run-dwfl-report-elf-align.sh and 2194 testfile-dwfl-report-elf-align-shlib.so.bz2 . 2195 (dwfl_report_elf_align_LDADD): New. 2196 * dwfl-report-elf-align.c: New file. 2197 * run-dwfl-report-elf-align.sh: New file. 2198 * testfile-dwfl-report-elf-align-shlib.so.bz2: New file. 2199 2200 2013-03-12 Mark Wielaard <mjw (a] redhat.com> 2201 2202 * run-dwfllines.sh: New test. 2203 * dwfllines.c: New test program. 2204 * Makefile.am (TESTS): Add run-dwfllines.sh. 2205 (EXTRA_DIST): Likewise. 2206 (dwfllines_LDADD): New variable. 2207 2208 2013-02-22 Mark Wielaard <mjw (a] redhat.com> 2209 2210 * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh. 2211 (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS. 2212 2213 2013-02-15 Mark Wielaard <mjw (a] redhat.com> 2214 2215 * testfile-dwzstr.bz2: New testfile. 2216 * testfile-dwzstr.multi.bz2: Likewise. 2217 * run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test. 2218 * Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and 2219 testfile-dwzstr.multi.bz2. 2220 2221 2013-01-30 Mark Wielaard <mjw (a] redhat.com> 2222 2223 * testfileloc.bz2: New testfile. 2224 * run-readelf-loc.sh: New test. 2225 * Makefile.am (TESTS): Add run-readelf-loc.sh. 2226 (EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2. 2227 2228 2013-01-29 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2229 2230 * run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390 2231 and s390x core notes. 2232 * testfile67.bz2: New file. 2233 * testfile68.bz2: New file. 2234 * Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 . 2235 2236 2013-01-23 Mark Wielaard <mjw (a] redhat.com> 2237 2238 * testfilebasmin.bz2: New testfile. 2239 * Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2. 2240 * run-readelf-s.sh: Test testfilebasmin. 2241 * run-dwflsyms.sh: Likewise. 2242 2243 2013-01-16 Mark Wielaard <mjw (a] redhat.com> 2244 2245 * Makefile.am (check_PROGRAMS): Add dwflsyms. 2246 (TESTS): Add run-readelf-s.sh and run-dwflsyms.sh. 2247 (EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2, 2248 testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2, 2249 testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh. 2250 (dwflsyms_LDADD): New variable. 2251 2252 2013-01-07 Roland McGrath <roland (a] hack.frob.com> 2253 2254 * run-prelink-addr-test.sh: Use ln -snf. 2255 2256 2012-12-03 Mark Wielaard <mjw (a] redhat.com> 2257 2258 * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no. 2259 2260 2012-11-29 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2261 2262 * run-addrname-test.sh: New test for PIE relocation. 2263 * testfile70.core.bz2: New file. 2264 * testfile70.exec.bz2: New file. 2265 * Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and 2266 testfile70.exec.bz2 . 2267 2268 2012-10-27 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2269 2270 * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2, 2271 testfile69.core.bz2 and testfile69.so.bz2 . 2272 2273 2012-10-17 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2274 2275 * run-addrname-test.sh: New test for DSO with build-id bias. 2276 * testfile69.core.bz2: New file. 2277 * testfile69.so.bz2: New file. 2278 2279 2012-10-10 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2280 2281 * run-addrname-test.sh: New test for core vDSO bias. 2282 * testfile65.bz2: New file. 2283 2284 2012-10-10 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2285 2286 * run-addrname-test.sh: New test for symbol preferences. 2287 * testfile64.bz2: New file. 2288 2289 2012-10-01 Mark Wielaard <mjw (a] redhat.com> 2290 2291 * Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND. 2292 * test-wrapper.sh: Export VALGRIND_CMD if available. 2293 * test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog. 2294 (installed_testrun): Likewise. 2295 2296 2012-09-24 Petr Machata <pmachata (a] redhat.com> 2297 2298 * testfile63.bz2: New testfile. 2299 * run-readelf-mixed-corenote.sh: New test. 2300 * Makefile.am (TEST): Add run-readelf-mixed-corenote.sh. 2301 (EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh. 2302 2303 2012-09-24 Petr Machata <pmachata (a] redhat.com> 2304 2305 * testfile62.bz2: New testfile. 2306 * run-readelf-vmcoreinfo.sh: New test. 2307 * Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh. 2308 (EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh. 2309 2310 2012-09-18 Petr Machata <pmachata (a] redhat.com> 2311 2312 * testfile61.bz2: New testfile. 2313 * run-allregs.sh: Run reg_test testfile61. 2314 * Makefile.am (EXTRA_DIST): Add testfile61.bz2. 2315 2316 2012-08-24 Mark Wielaard <mjw (a] redhat.com> 2317 2318 * Makefile.am (EXTRA_DIST): Add testfile60.bz2. 2319 2320 2012-08-22 Jeff Kenton <jkenton (a] tilera.com> 2321 2322 * testfile60.bz2: New testfile. 2323 * run-allregs.sh: Run reg_test testfile60. 2324 2325 2012-08-24 Mark Wielaard <mjw (a] redhat.com> 2326 2327 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if 2328 ENABLE_DWZ. 2329 2330 2012-08-16 Mark Wielaard <mjw (a] redhat.com> 2331 2332 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf 2333 macros. 2334 * show-die-info.c (tagnames): Removed. 2335 (attrs): Removed. 2336 (dwarf_tag_string): New function using known-dwarf macros. 2337 (dwarf_attr_string): Likewise. 2338 (handle): Call dwarf_tag_string and dwarf_attr_string instead. 2339 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89. 2340 2341 2012-06-27 Mark Wielaard <mjw (a] redhat.com> 2342 2343 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh. 2344 (EXTRA_DIST): Add run-readelf-dwz-multi.sh, 2345 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and 2346 testfile_multi_main.bz2. 2347 * run-readelf-dwz-multi.sh: New test. 2348 * libtestfile_multi_shared.so.bz2: New testfile. 2349 * testfile_multi.dwz.bz2: New testifle. 2350 * testfile_multi_main.bz2: New testifle. 2351 2352 2012-08-01 Petr Machata <pmachata (a] redhat.com> 2353 2354 * run-test-archive64.sh: New test. 2355 * testarchive64.a.bz2: New testfile. 2356 * Makefile.am (TESTS): Add run-test-archive64.sh. 2357 (EXTRA_DIST): Likewise. 2358 2359 2012-08-01 Mark Wielaard <mjw (a] redhat.com> 2360 2361 * run-nm-self.sh: New test. 2362 * run-readelf-self.sh: Likewise. 2363 * test-subr.sh (testrun_on_self_quiet): New function. 2364 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh. 2365 (EXTRA_DIST): Likewise. 2366 2367 2012-08-01 Mark Wielaard <mjw (a] redhat.com> 2368 2369 * test-subr.sh (self_test_files): New list of files. 2370 (testrun_on_self): New function. 2371 * run-elflint-self.sh: Use testrun_on_self. 2372 2373 2012-07-19 Mark Wielaard <mjw (a] redhat.com> 2374 2375 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr. 2376 (TESTS): Add run-elf_cntl_gelf_getshdr.sh. 2377 (EXTRA_DIST): Likewise. 2378 (test_elf_cntl_gelf_getshdr_LDADD): New. 2379 test-elf_cntl_gelf_getshdr.c: New test program. 2380 run-elf_cntl_gelf_getshdr.sh: New test script. 2381 2382 2012-07-19 Mark Wielaard <mjw (a] redhat.com> 2383 2384 * run-elflint-self.sh: runtests on ../backends/*so files. 2385 2386 2012-07-19 Mark Wielaard <mjw (a] redhat.com> 2387 2388 * run-unstrip-n.sh: test_cleanup. 2389 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2. 2390 2391 2012-07-11 Mark Wielaard <mjw (a] redhat.com> 2392 2393 * run-readelf-macro.sh: New test. 2394 * testfilemacro.bz2: New testfile. 2395 * Makefile.am (TESTS): Add run-readelf-macro.sh. 2396 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2. 2397 2398 2012-06-27 Mark Wielaard <mjw (a] redhat.com> 2399 2400 * run-readelf-gdb-index.sh: New test. 2401 * testfilegdbindex5.bz2: New testfile. 2402 * testfilegdbindex7.bz2: Likewise. 2403 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh. 2404 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and 2405 testfilegdbindex7.bz2. 2406 2407 2012-07-17 Mark Wielaard <mjw (a] redhat.com> 2408 2409 * testcore-rtlib-ppc.bz2: New testfile. 2410 * run-unstrip-n.sh: Check new ppc core testfile. 2411 2412 2012-06-26 Mike Frysinger <vapier (a] gentoo.org> 2413 2414 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. 2415 2416 2012-06-26 Mark Wielaard <mjw (a] redhat.com> 2417 2418 * run-macro-test.sh: New test. 2419 * testfile-macinfo.bz2: New testfile. 2420 * testfile-macros.bz2: Likewise. 2421 2422 2012-05-07 Mark Wielaard <mjw (a] redhat.com> 2423 2424 * low_high_pc.c: Use proper inttypes in printf formats. 2425 2426 2012-05-11 Mark Wielaard <mjw (a] redhat.com> 2427 2428 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C. 2429 2430 2012-05-07 Mark Wielaard <mjw (a] redhat.com> 2431 2432 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC. 2433 2434 2012-04-27 Mark Wielaard <mjw (a] redhat.com> 2435 2436 * Makefile.am (TESTS): Add run-low_high_pc.sh 2437 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2 2438 (noinst_PROGRAMS): Add low_high_pc. 2439 (low_high_pc_LDADD): New variable. 2440 * low_high_pc.c: New test. 2441 2442 2012-04-26 Mark Wielaard <mjw (a] redhat.com> 2443 2444 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh. 2445 * run-show-ciefde.sh: Removed old libdwarf test. 2446 * show-ciefde.c: Likewise. 2447 2448 2012-04-02 Mark Wielaard <mjw (a] redhat.com> 2449 2450 * Makefile.am (TESTS): Add run-unstrip-n.sh. 2451 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh. 2452 * run-unstrip-n.sh: New test. 2453 * testcore-rtlib.bz2: New testfile. 2454 2455 2012-04-02 Mark Wielaard <mjw (a] redhat.com> 2456 2457 * Makefile.am (TESTS): Add run-readelf-d.sh. 2458 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh. 2459 * run-readelf-d.sh: New test. 2460 * run-elflint-test.sh: Check new testfile. 2461 2462 2012-03-21 Tom Tromey <tromey (a] redhat.com> 2463 2464 * typeiter.c: New file. 2465 * run-typeiter.sh: New file. 2466 * testfile59.bz2: New file. 2467 * Makefile.am (noinst_PROGRAMS): Add typeiter. 2468 (TESTS): Add run-typeiter.sh. 2469 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2. 2470 (typeiter_LDADD): New variable. 2471 2472 2012-02-21 Kurt Roeckx <kurt (a] roeckx.be> 2473 2474 * run-alldts.sh: testrun ./alldts. 2475 2476 2012-02-21 Roland McGrath <roland (a] hack.frob.com> 2477 2478 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH. 2479 * test-subr.sh (installed_testrun): Likewise. 2480 2481 2012-01-18 Roland McGrath <roland (a] hack.frob.com> 2482 2483 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation; 2484 it will have been inherited correctly from the test harness. 2485 * asm-tst5.c (main): Likewise. 2486 * asm-tst6.c (main): Likewise. 2487 Reported by Serge Pavlov <serge.pavlov.at.gnu (a] gmail.com>. 2488 2489 2011-07-09 Roland McGrath <roland (a] hack.frob.com> 2490 2491 * sha1-tst.c: File removed. 2492 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it. 2493 (sha1_tst_LDADD): Variable removed. 2494 2495 * md5-sha1-test.c: New file. 2496 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it. 2497 (md5_sha1_test_LDADD): New variable. 2498 2499 2011-05-30 Mark Wielaard <mjw (a] redhat.com> 2500 2501 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and 2502 run-rerequest_tag.sh 2503 2504 2011-05-24 Mark Wielaard <mjw (a] redhat.com> 2505 2506 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2. 2507 * run-strip-reloc.sh: Add hello_s390.ko testcase. 2508 * hello_s390.ko.bz2: New test file. 2509 2510 2011-05-23 Mark Wielaard <mjw (a] redhat.com> 2511 2512 * Makefile.am (TESTS): Add run-strip-reloc.sh. 2513 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2 2514 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2 2515 * run-strip-reloc.sh: New test. 2516 * hello_i386.ko.bz2: New test file. 2517 * hello_x86_64.ko.bz2: Likewise. 2518 * hello_ppc64.ko.bz2: Likewise. 2519 2520 2011-05-18 Mark Wielaard <mjw (a] redhat.com> 2521 2522 * run-strip-groups.sh: New test. 2523 * testfile58.bz2: New test file. 2524 * Makefile.am (EXTRA_DIST): Add testfile58.bz2. 2525 (TESTS): Add run-strip-groups.sh. 2526 (EXTRA_DIST): Likewise. 2527 2528 2011-03-28 Marek Polacek <mpolacek (a] redhat.com> 2529 2530 * alldts.c: New file. 2531 * run-alldts.sh: Use it. 2532 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 2533 (alldts_LDADD): New variable. 2534 2535 2011-03-02 Marek Polacek <mpolacek (a] redhat.com> 2536 2537 * dwarf-getstring.c: New test. 2538 * run-dwarf-getstring.sh: And its wrapper. 2539 * Makefile.am (EXTRA_DIST): Add and update all. 2540 2541 2011-02-27 Jan Kratochvil <jan.kratochvil (a] redhat.com> 2542 2543 * Makefile.am (TESTS): Add run-readelf-twofiles.sh. 2544 * run-readelf-twofiles.sh: New file. 2545 2546 2011-02-25 Mark Wielaard <mjw (a] redhat.com> 2547 2548 * Makefile.am (BUILD_RPATH): Be consistent in naming. 2549 2550 2011-02-02 Josh Stone <jistone (a] redhat.com> 2551 2552 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit. 2553 * testfile55-64.bz2, testfile55-64.debug.bz2, 2554 testfile55-64.prelink.bz2, testfile55-32.bz2, 2555 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New. 2556 * Makefile.am (EXTRA_DIST): Add and update all. 2557 2558 2011-01-12 Roland McGrath <roland (a] redhat.com> 2559 2560 * run-prelink-addr-test.sh: Make symlinks to find .debug files 2561 corresponding to .noshdrs files. 2562 2563 2011-01-11 Josh Stone <jistone (a] redhat.com> 2564 2565 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit. 2566 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2, 2567 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2, 2568 testfile54-64.so.bz2, testfile54-64.so.debug.bz2, 2569 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New. 2570 * Makefile.am (EXTRA_DIST): Add and update all. 2571 2572 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests. 2573 * testfile53.bz2, testfile53.debug.bz2, 2574 testfile53.prelink.bz2: Deleted, so... 2575 * testfile53-64.bz2, testfile53-64.debug.bz2, 2576 testfile53-64.prelink.bz2: Recreated with 64-bit names. 2577 * testfile53-32.bz2, testfile53-32.debug.bz2, 2578 testfile53-32.prelink.bz2: New in 32-bit. 2579 * Makefile.am (EXTRA_DIST): Add and update all. 2580 2581 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests. 2582 * testfile52.so.bz2, testfile52.so.debug.bz2, 2583 testfile52.prelink.so.bz2: Deleted, so... 2584 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2, 2585 testfile52-32.prelink.so.bz2: Recreated with 32-bit names. 2586 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers. 2587 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2, 2588 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files. 2589 * Makefile.am (EXTRA_DIST): Add and update all. 2590 2591 2011-01-10 Josh Stone <jistone (a] redhat.com> 2592 2593 * run-prelink-addr-test.sh: New test for prelinked addrs. 2594 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2595 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files. 2596 * testfile52.prelink.so.bz2: New data file, shows REL->RELA. 2597 * testfile53.bz2, testfile53.debug.bz2: New data files. 2598 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap. 2599 * Makefile.am (EXTRA_DIST): Add them. 2600 2601 2010-06-04 Roland McGrath <roland (a] redhat.com> 2602 2603 * run-unstrip-test.sh: Also test modifying the file in place. 2604 2605 2010-04-22 Roland McGrath <roland (a] redhat.com> 2606 2607 * addrcfi.c (handle_cfi): Fix function name in error message. 2608 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe. 2609 2610 2010-04-14 Roland McGrath <roland (a] redhat.com> 2611 2612 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too. 2613 2614 2010-04-10 Ulrich Drepper <drepper (a] redhat.com> 2615 2616 * msg_tst.c: Adjust expected error message. 2617 2618 2010-04-01 Petr Machata <pmachata (a] redhat.com> 2619 2620 * test-flag-nobits.c: New test. 2621 * run-test-flag-nobits.sh: And its wrapper. 2622 * Makefile.am (noinst_PROGRAMS, TESTS): Add them. 2623 (test_flag_nobits_LDADD): New variable. 2624 2625 2010-02-15 Roland McGrath <roland (a] redhat.com> 2626 2627 * Makefile.am: Use config/eu.am for common stuff. 2628 2629 * asm-tst9.c (main): Rename local to avoid shadowing another local. 2630 2631 2009-07-22 Roland McGrath <roland (a] redhat.com> 2632 2633 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention. 2634 2635 2009-07-08 Roland McGrath <roland (a] redhat.com> 2636 2637 * addrcfi.c: New file. 2638 * Makefile.am (noinst_PROGRAMS): Add it. 2639 (addrcfi_LDADD): New variable. 2640 2641 2009-05-07 Petr Machata <pmachata (a] redhat.com> 2642 2643 * testfile51.bz2: New data file. 2644 * dwarf-getmacros.c: New test core. 2645 * run-dwarf-getmacros.sh: New test wrapper. 2646 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them. 2647 (dwarf_getmacros_LDADD): New variable. 2648 2649 2009-04-23 Ulrich Drepper <drepper (a] redhat.com> 2650 2651 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). 2652 (rdwrmmap_LDADD): Add $(libmudflap). 2653 2654 2009-04-21 Roland McGrath <roland (a] redhat.com> 2655 2656 * testfile50.bz2: New data file. 2657 * Makefile.am (EXTRA_DIST): Add it. 2658 * run-dwfl-addr-sect.sh: Add a case using it. 2659 2660 2008-12-31 Ulrich Drepper <drepper (a] redhat.com> 2661 2662 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, 2663 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, 2664 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, 2665 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw, 2666 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd, 2667 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest, 2668 roundss, roundps, roundpd, and roundsd. 2669 * testfile45.S.bz2: Likewise. 2670 * testfile44.expect.bz2: Adjust accordingly. 2671 * testfile45.expect.bz2: Likewise. 2672 2673 * testfile44.S.bz2: Add tests for blendvpd and blendvps. 2674 * testfile45.S.bz2: Likewise. 2675 * testfile44.expect.bz2: Adjust accordingly. 2676 * testfile45.expect.bz2: Likewise. 2677 2678 2008-12-30 Ulrich Drepper <drepper (a] redhat.com> 2679 2680 * testfile44.S.bz2: Add tests for blendpd and blendps. 2681 * testfile45.S.bz2: Likewise. 2682 * testfile44.expect.bz2: Adjust accordingly. 2683 * testfile45.expect.bz2: Likewise. 2684 2685 2008-12-19 Ulrich Drepper <drepper (a] redhat.com> 2686 2687 * testfile44.S.bz2: Add tests for AMD 3DNOW. 2688 * testfile45.S.bz2: Likewise. 2689 * testfile44.expect.bz2: Adjust accordingly. 2690 * testfile45.expect.bz2: Likewise. 2691 2692 2008-11-26 Roland McGrath <roland (a] redhat.com> 2693 2694 * dwfl-bug-getmodules.c: New file. 2695 * Makefile.am (noinst_PROGRAMS): Add it. 2696 (dwfl_bug_getmodules_LDADD): New variable. 2697 2698 2008-09-10 Roland McGrath <roland (a] redhat.com> 2699 2700 * test-subr.sh (LC_ALL): Export it set to "C". 2701 * run-dwfl-addr-sect.sh: Don't do it here. 2702 * run-strings-test.sh: Likewise. 2703 2704 2008-08-21 Denys Vlasenko <dvlasenk (a] redhat.com> 2705 2706 * run-addrname-test.sh: Add a new case. 2707 * testfile49.bz2: New data file. 2708 * Makefile.am (EXTRA_DIST): Add it. 2709 2710 2008-04-10 Roland McGrath <roland (a] redhat.com> 2711 2712 * testfile48.bz2, testfile48.bz2.debug: New data files. 2713 * Makefile.am (EXTRA_DIST): Add them. 2714 * run-strip-test8.sh: Use them. 2715 2716 * testfile16.bz2, testfile16.debug.bz2: Replace data files. 2717 2718 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections. 2719 * run-strip-test8.sh: New file. 2720 * testfile47.bz2: New data file. 2721 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2722 2723 2008-03-31 Roland McGrath <roland (a] redhat.com> 2724 2725 * run-early-offscn.sh: New file. 2726 * early-offscn.c: New file. 2727 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them. 2728 (early_offscn_LDADD): New variable. 2729 2730 2008-03-19 Roland McGrath <roland (a] redhat.com> 2731 2732 * run-addrname-test.sh: Add a new case. 2733 2734 2008-02-22 Roland McGrath <roland (a] redhat.com> 2735 2736 * run-elflint-test.sh: Typo fix. 2737 2738 2008-02-21 Roland McGrath <roland (a] redhat.com> 2739 2740 * run-disasm-x86.sh: Use uname instead of arch, keep tools required 2741 for the build down to minimum. 2742 * run-disasm-x86-64.sh: Likewise. 2743 2744 2008-02-20 Roland McGrath <roland (a] redhat.com> 2745 2746 * testfile46.bz2: New data file. 2747 * Makefile.am (EXTRA_DIST): Add it. 2748 * run-elflint-test.sh: Test on it. 2749 2750 2008-02-01 Ulrich Drepper <drepper (a] redhat.com> 2751 2752 * Makefile.am: Hook up sha1-tst.c. 2753 * sha1-tst.c: New file. 2754 2755 2008-01-21 Roland McGrath <roland (a] redhat.com> 2756 2757 * testfile45.S.bz2: Add tests for cltq, cqto. 2758 * testfile45.expect.bz2: Adjust. 2759 2760 2008-01-14 Ulrich Drepper <drepper (a] redhat.com> 2761 2762 * testfile45.S.bz2: Add more tests. 2763 * testfile45.expect.bz2: Adjust. 2764 2765 2008-01-11 Ulrich Drepper <drepper (a] redhat.com> 2766 2767 * testfile45.expect.bz2: Adjust for adding of address for %rip based 2768 address mode. 2769 2770 2008-01-10 Ulrich Drepper <drepper (a] redhat.com> 2771 2772 * testfile45.S.bz2: Add more tests. 2773 * testfile45.expect.bz2: Adjust. 2774 2775 2008-01-08 Ulrich Drepper <drepper (a] redhat.com> 2776 2777 * Makefile.am (TESTS): Add run-disasm-x86-64.sh. 2778 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2, 2779 run-disasm-x86-64.sh. 2780 * run-disasm-x86-64.sh: New file. 2781 * testfile45.S.bz2: New file. 2782 * testfile45.expect.bz2: New file. 2783 * testfile44.S.bz2: New tests. 2784 * testfile44.expect.bz2: Adjust. 2785 2786 2008-01-04 Ulrich Drepper <drepper (a] redhat.com> 2787 2788 * testfile44.S.bz2: New tests. 2789 * testfile44.expect.bz2: Adjust. 2790 2791 2008-01-04 Roland McGrath <roland (a] redhat.com> 2792 2793 * dwfl-bug-fd-leak.c (main): Add a cast. 2794 2795 2008-01-03 Ulrich Drepper <drepper (a] redhat.com> 2796 2797 * testfile44.S.bz2: New tests. 2798 * testfile44.expect.bz2: Adjust. 2799 2800 2008-01-01 Ulrich Drepper <drepper (a] redhat.com> 2801 2802 * line2addr.c: Use %m modifier instead of %a to appease gcc. 2803 2804 2008-01-01 Ulrich Drepper <drepper (a] redhat.com> 2805 2806 * testfile44.S.bz2: New tests. 2807 * testfile44.expect.bz2: Adjust. 2808 2809 2007-12-31 Ulrich Drepper <drepper (a] redhat.com> 2810 2811 * testfile44.S.bz2: New tests. 2812 * testfile44.expect.bz2: Adjust. 2813 2814 2007-12-30 Ulrich Drepper <drepper (a] redhat.com> 2815 2816 * testfile44.S.bz2: New tests. 2817 * testfile44.expect.bz2: Adjust. 2818 2819 2007-12-29 Ulrich Drepper <drepper (a] redhat.com> 2820 2821 * testfile44.s.bz2: New tests. 2822 * testfile44.expect.bz2: Adjust. 2823 2824 2007-12-28 Ulrich Drepper <drepper (a] redhat.com> 2825 2826 * testfile44.S.bz2: New tests. 2827 * testfile44.expect.bz2: Adjust. 2828 2829 2007-12-27 Ulrich Drepper <drepper (a] redhat.com> 2830 2831 * testfile44.S.bz2: New tests. 2832 * testfile44.expect.bz2: Adjust. 2833 2834 2007-12-26 Ulrich Drepper <drepper (a] redhat.com> 2835 2836 * testfile44.S.bz2: New tests. 2837 * testfile44.expect.bz2: Adjust 2838 2839 2007-12-21 Ulrich Drepper <drepper (a] redhat.com> 2840 2841 * testfile44.S.bz2: More tests. 2842 * testfile44.expect.bz2: Adjust appropriately. 2843 2844 2007-12-19 Ulrich Drepper <drepper (a] redhat.com> 2845 2846 * Makefile.am (TESTS): Add run-disasm.sh. 2847 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and 2848 testfile44.expect.bz2. 2849 * run-disasm.sh: New file. 2850 * testfile44.S.bz2: New file. 2851 * testfile44.expect.bz2: New file. 2852 2853 2007-12-15 Roland McGrath <roland (a] redhat.com> 2854 2855 * run-allregs.sh: Change expected output for powerpc spefscr. 2856 2857 2007-10-20 Roland McGrath <roland (a] redhat.com> 2858 2859 * run-dwfl-addr-sect.sh: Change expected output, no errors. 2860 2861 2007-10-19 Roland McGrath <roland (a] redhat.com> 2862 2863 * dwfl-addr-sect.c (handle_address): Return int. 2864 Don't exit on error, just return nonzero. 2865 (main): Collect results. 2866 * run-dwfl-addr-sect.sh: New file. 2867 * testfile43.bz2: New data file. 2868 * Makefile.am (EXTRA_DIST, TESTS): Add them. 2869 2870 2007-10-18 Roland McGrath <roland (a] redhat.com> 2871 2872 * run-allregs.sh: Update expected ppc output for vrsave/vscr. 2873 2874 2007-10-16 Roland McGrath <roland (a] redhat.com> 2875 2876 * test-subr.sh (remove_files): Don't pass -Bb to diff. 2877 2878 2007-10-09 Roland McGrath <roland (a] redhat.com> 2879 2880 * dwflmodtest.c (print_module): Don't use %p in output. 2881 * run-dwfl-bug-offline-rel.sh: Updated expected output. 2882 2883 2007-10-08 Roland McGrath <roland (a] redhat.com> 2884 2885 * testfile42.bz2: New data file. 2886 * Makefile.am (EXTRA_DIST): Add it. 2887 * run-elflint-test.sh: New test on that file. 2888 2889 2007-10-04 Roland McGrath <roland (a] redhat.com> 2890 2891 * run-readelf-test4.sh: New file. 2892 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2893 2894 2007-10-03 Roland McGrath <roland (a] redhat.com> 2895 2896 * run-readelf-test3.sh: New file. 2897 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2898 2899 2007-10-01 Roland McGrath <roland (a] redhat.com> 2900 2901 * run-readelf-test2.sh: New file. 2902 * Makefile.am (TESTS, EXTRA_DIST): Add it. 2903 2904 2007-09-11 Roland McGrath <roland (a] redhat.com> 2905 2906 * run-addrname-test.sh: Add a new case. 2907 * testfile41.bz2: New data file. 2908 * Makefile.am (EXTRA_DIST): Add it. 2909 2910 2007-08-23 Roland McGrath <roland (a] redhat.com> 2911 2912 * run-allregs.sh: Update expected x86-64 output for %rflags. 2913 2914 2007-08-12 Roland McGrath <roland (a] redhat.com> 2915 2916 * run-strip-test7.sh: New file. 2917 * testfile39.bz2: New data file. 2918 * testfile40.bz2: New data file. 2919 * testfile40.debug.bz2: New data file. 2920 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2921 2922 2007-08-09 Roland McGrath <roland (a] redhat.com> 2923 2924 * dwfl-bug-report.c: Fix header inclusion. 2925 2926 2007-08-08 Roland McGrath <roland (a] redhat.com> 2927 2928 * run-addrname-test.sh: Add a new case using addr2line -S. 2929 * testfile38.bz2: New data file. 2930 * Makefile.am (EXTRA_DIST): Add it. 2931 2932 2007-07-16 Roland McGrath <roland (a] redhat.com> 2933 2934 * dwfl-bug-report.c: New file. 2935 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 2936 (dwfl_bug_report_LDADD): New variable. 2937 2938 2007-06-06 Roland McGrath <roland (a] redhat.com> 2939 2940 * run-unstrip-test.sh: Declare testfile.unstrip for removal. 2941 2942 2007-06-05 Ulrich Drepper <drepper (a] redhat.com> 2943 2944 * Makefile.am (EXTRA_DIST): Add missing line continuation and 2945 testfile37.bz and testfile37.debug.bz2. 2946 2947 2007-05-23 Roland McGrath <roland (a] redhat.com> 2948 2949 * run-allregs.sh: Update expected Alpha results. 2950 2951 2007-05-18 Roland McGrath <roland (a] redhat.com> 2952 2953 * run-strip-test4.sh (stripped, debugfile): Use new reference files. 2954 * testfile37.bz2: New data file. 2955 * testfile37.debug.bz2: New data file. 2956 * run-unstrip-test2.sh: New file. 2957 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2958 2959 2007-05-10 Roland McGrath <roland (a] redhat.com> 2960 2961 * run-dwfl-bug-offline-rel.sh: New file. 2962 * testfile36.bz2: New data file. 2963 * testfile36.debug.bz2: New data file. 2964 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2965 2966 2007-04-28 Roland McGrath <roland (a] redhat.com> 2967 2968 * run-strip-test6.sh (stripped, debugfile): Use new reference files. 2969 * testfile35.bz2: New data file. 2970 * testfile35.debug.bz2: New data file. 2971 * run-unstrip-test.sh: New file. 2972 * Makefile.am (TESTS, EXTRA_DIST): Add them. 2973 2974 * run-strip-test.sh: Do all elflint and cmp runs even when some fail. 2975 2976 2007-04-26 Roland McGrath <roland (a] redhat.com> 2977 2978 * run-elflint-self.sh: Run all tests even if one fails. 2979 2980 * run-allregs.sh: Add expected output for alpha. 2981 2982 2007-04-24 Roland McGrath <roland (a] redhat.com> 2983 2984 * run-strip-test.sh: When we saved the debug info, test unstrip too. 2985 2986 2007-04-22 Roland McGrath <roland (a] redhat.com> 2987 2988 * run-allregs.sh: Update expected register info. 2989 2990 2007-04-16 Roland McGrath <roland (a] redhat.com> 2991 2992 * dwfl-addr-sect.c: New file. 2993 * Makefile.am (noinst_PROGRAMS): Add it. 2994 (dwfl_addr_sect_LDADD): New variable. 2995 2996 2007-04-05 Roland McGrath <roland (a] redhat.com> 2997 2998 * get-files.c: Test dwarf_getsrcdirs. 2999 * run-get-files.sh: Update expected output. 3000 3001 2007-04-01 Roland McGrath <roland (a] redhat.com> 3002 3003 * run-allregs.sh: Updated expected output for x86_64. 3004 3005 2007-03-04 Roland McGrath <roland (a] redhat.com> 3006 3007 * dwfl-bug-fd-leak.c: New file. 3008 * Makefile.am (noinst_PROGRAMS, TESTS): Add it. 3009 (dwfl_bug_fd_leak_LDADD): New variable. 3010 3011 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf, 3012 show what files have been located. 3013 3014 2007-02-02 Roland McGrath <roland (a] redhat.com> 3015 3016 * run-addrname-test.sh: New file. 3017 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3018 * testfile34.bz2: New data file. 3019 * Makefile.am (EXTRA_DIST): Add it. 3020 3021 2007-01-20 Roland McGrath <roland (a] redhat.com> 3022 3023 * testfile33.bz2: New data file. 3024 * Makefile.am (EXTRA_DIST): Add it. 3025 * run-elflint-test.sh: Test on it too. 3026 3027 2007-01-18 Roland McGrath <roland (a] redhat.com> 3028 3029 * Makefile.am (CFLAGS): Don't molest it. 3030 3031 2007-01-11 Roland McGrath <roland (a] redhat.com> 3032 3033 * testfile32.bz2: New data file. 3034 * Makefile.am (EXTRA_DIST): Add it. 3035 * run-elflint-test.sh: Test on it too. 3036 3037 2007-02-04 Ulrich Drepper <drepper (a] redhat.com> 3038 3039 * arls.c: New file. 3040 * Makefile (noinst_PROGRAMS): Add arls. 3041 3042 * run-ranlib-test2.sh: Fix type in comment. 3043 3044 2007-01-10 Ulrich Drepper <drepper (a] redhat.com> 3045 3046 * run-elflint-self.sh (runtest): Show which file has the problem. 3047 3048 2007-01-10 Roland McGrath <roland (a] redhat.com> 3049 3050 * dwfl-bug-addr-overflow.c: New file. 3051 * Makefile.am (TESTS): Add it. 3052 (dwfl_bug_addr_overflow_LDADD): New variable. 3053 3054 2006-12-17 Roland McGrath <roland (a] redhat.com> 3055 3056 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg. 3057 3058 2006-09-05 Roland McGrath <roland (a] redhat.com> 3059 3060 * run-strings-test.sh: Export LC_ALL=C for the test. 3061 3062 2006-08-29 Roland McGrath <roland (a] redhat.com> 3063 3064 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh. 3065 * run-arsymtest.sh: Likewise. 3066 3067 * run-native-test.sh (native.c compilation): Add some braces. 3068 3069 2006-08-22 Roland McGrath <roland (a] redhat.com> 3070 3071 * allregs.c (dwarf_encoding_string): New function, swiped from readelf. 3072 (struct reginfo): New members bits, type. 3073 (one_register, match_register): Update to take new args, 3074 record and display new info. 3075 (main): Display new info. 3076 * run-allregs.sh: Update expected results. 3077 3078 2006-08-03 Roland McGrath <roland (a] redhat.com> 3079 3080 * run-allregs.sh: Add sparc cases. 3081 * testfile30.bz2: New data file. 3082 * testfile31.bz2: New data file. 3083 * Makefile.am (EXTRA_DIST): Add them. 3084 3085 2006-07-21 Roland McGrath <roland (a] redhat.com> 3086 3087 * allregs.c (struct reginfo): Increase size of name. 3088 (one_register): Assert that it's big enough. 3089 3090 2006-04-04 Roland McGrath <roland (a] redhat.com> 3091 3092 * run-bug1-test.sh: Test a second case, to cover both byte orders. 3093 * testfile29.bz2: New file. 3094 * testfile29.rdwr.bz2: New file. 3095 * Makefile.am (EXTRA_DIST): Add them. 3096 3097 2006-04-04 Ulrich Drepper <drepper (a] redhat.com> 3098 3099 * Makefile.am: Add rules to run run-bug1-test.sh. 3100 * rdwrmmap.c: New file. 3101 * run-bug1-test.sh: New file. 3102 * testfile28.bz2: New file. 3103 * testfile28.rdwr.bz2: New file. 3104 3105 2006-03-09 Roland McGrath <roland (a] redhat.com> 3106 3107 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link. 3108 3109 2006-03-01 Roland McGrath <roland (a] redhat.com> 3110 3111 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h 3112 changes matching 3.0 spec. 3113 3114 2006-01-13 Roland McGrath <roland (a] redhat.com> 3115 3116 * run-native-test.sh: Do kill -9 and reap explicitly at end, since 3117 bash 3.1 whines when it's done in the trap 0 handler. 3118 3119 2006-01-11 Roland McGrath <roland (a] redhat.com> 3120 3121 * testfile26.bz2: New data file. 3122 * testfile27.bz2: New data file. 3123 * Makefile.am (EXTRA_DIST): Add them. 3124 * run-allregs.sh: Test s390 data. 3125 3126 2005-12-14 Roland McGrath <roland (a] redhat.com> 3127 3128 * run-native-test.sh: Redirect output from native test process. 3129 3130 2005-12-13 Roland McGrath <roland (a] redhat.com> 3131 3132 * allregs.c (main): Fail if we find no registers. 3133 3134 * run-native-test.sh: New file. 3135 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3136 3137 2005-12-10 Ulrich Drepper <drepper (a] redhat.com 3138 3139 * run-readelf-test1.sh: New file. 3140 * Makefile.am (TESTS): Add run-readelf-test1.sh. 3141 (EXTRA_DIST): Likewise. 3142 3143 2005-12-07 Roland McGrath <roland (a] redhat.com> 3144 3145 * ecp.c (main): Use elf_end to clean up. 3146 3147 2005-11-25 Roland McGrath <roland (a] redhat.com> 3148 3149 * coverage.sh: Given -v argument, print names of unused files. 3150 3151 * addrscopes.c (main): Use dwfl_end before return. 3152 * allregs.c (main): Likewise. 3153 * find-prologues.c (main): Likewise. 3154 * funcretval.c (main): Likewise. 3155 * funcscopes.c (main): Likewise. 3156 * line2addr.c (main): Likewise. 3157 3158 * run-allregs.sh: New file. 3159 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3160 3161 * allregs.c: Use libdwfl wrapper instead of direct libebl calls. 3162 * Makefile.am (allregs_LDADD): Updated. 3163 3164 * allregs.c: New file. 3165 * Makefile.am (noinst_PROGRAMS): Add it. 3166 (allregs_LDADD): New variable. 3167 3168 2005-11-18 Roland McGrath <roland (a] redhat.com> 3169 3170 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib. 3171 * test-wrapper.sh: Likewise. 3172 3173 2005-11-17 Roland McGrath <roland (a] redhat.com> 3174 3175 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in 3176 environment for test-wrapper.sh. 3177 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib. 3178 * test-subr.sh (installed_testrun): Likewise. 3179 Use explicit path in ${bindir}. 3180 3181 * Makefile.am (installcheck-local): Fix typo in last change. 3182 3183 2005-11-16 Roland McGrath <roland (a] redhat.com> 3184 3185 * configure.ac: New file, for standalone build/dist of test suite. 3186 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. 3187 (asm_TESTS): New variable, broken out of ... 3188 (TESTS): ... here. Also remove msg_tst. 3189 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. 3190 (installed_TESTS_ENVIRONMENT): New variable. 3191 [STANDALONE] (TESTS_ENVIRONMENT): Use that. 3192 [!STANDALONE] (installcheck-local): Likewise. 3193 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. 3194 * addrscopes.c: Include <config.h>. 3195 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. 3196 * allfcts.c: Likewise. 3197 * asm-tst1.c: Likewise. 3198 * asm-tst2.c: Likewise. 3199 * asm-tst3.c: Likewise. 3200 * asm-tst4.c: Likewise. 3201 * asm-tst5.c: Likewise. 3202 * asm-tst6.c: Likewise. 3203 * asm-tst7.c: Likewise. 3204 * asm-tst8.c: Likewise. 3205 * asm-tst9.c: Likewise. 3206 * dwflmodtest.c: Likewise. 3207 * find-prologues.c: Likewise. 3208 * funcscopes.c: Likewise. 3209 * get-aranges.c: Likewise. 3210 * get-files.c: Likewise. 3211 * get-lines.c: Likewise. 3212 * get-pubnames.c: Likewise. 3213 * line2addr.c: Likewise. 3214 * newscn.c: Likewise. 3215 * show-abbrev.c: Likewise. 3216 * show-die-info.c: Likewise. 3217 * update3.c: Likewise. 3218 * update4.c: Likewise. 3219 * funcretval.c: Likewise. 3220 3221 * dwflmodtest.c (print_instance): Don't use INTUSE. 3222 (options): Don't use N_ macro. 3223 3224 2005-11-15 Roland McGrath <roland (a] redhat.com> 3225 3226 * coverage.sh: Look in backends. 3227 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl. 3228 (TESTS_ENVIRONMENT): Likewise. 3229 3230 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE, 3231 pass FUNCDIE direclty to dwfl_module_return_value_location. 3232 3233 * Makefile.am (BUILD_RPATH): New variable. 3234 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value. 3235 (tests_rpath): New variable. 3236 (installcheck-local): Pass it to test-wrapper.sh. 3237 * test-wrapper.sh: In "installed" format, take yes/no value 3238 for elfutils_tests_rpath, which export. When running a test 3239 binary for installcheck, exit 77. 3240 * test-subr.sh (installed_testrun): When running a test binary 3241 for installcheck, exit 77 if $elfutils_tests_rpath = yes. 3242 3243 2005-11-14 Roland McGrath <roland (a] redhat.com> 3244 3245 * test-subr.sh: New file. 3246 * test-wrapper.sh: New file. 3247 * Makefile.am (EXTRA_DIST): Add them. 3248 (AM_LDFLAGS): Variable removed. 3249 (TESTS_ENVIRONMENT): New variable. 3250 (installcheck-local): New target. 3251 * run-addrscopes.sh: Use test-subr.sh. 3252 * run-allfcts.sh: Likewise. 3253 * run-ecp-test.sh: Likewise. 3254 * run-ecp-test2.sh: Likewise. 3255 * run-elflint-self.sh: Likewise. 3256 * run-elflint-test.sh: Likewise. 3257 * run-find-prologues.sh: Likewise. 3258 * run-funcscopes.sh: Likewise. 3259 * run-get-aranges.sh: Likewise. 3260 * run-get-files.sh: Likewise. 3261 * run-get-lines.sh: Likewise. 3262 * run-get-pubnames.sh: Likewise. 3263 * run-line2addr.sh: Likewise. 3264 * run-ranlib-test.sh: Likewise. 3265 * run-ranlib-test2.sh: Likewise. 3266 * run-show-abbrev.sh: Likewise. 3267 * run-show-ciefde.sh: Likewise. 3268 * run-show-die-info.sh: Likewise. 3269 * run-strings-test.sh: Likewise. 3270 * run-strip-test.sh: Likewise. 3271 3272 2005-11-13 Roland McGrath <roland (a] redhat.com> 3273 3274 * funcretval.c: New file. 3275 * Makefile.am (noinst_PROGRAMS): Add it. 3276 (funcretval_LDADD): New variable. 3277 3278 2005-11-09 Ulrich Drepper <drepper (a] redhat.com> 3279 3280 * line2addr.c (handle_module): Add missing parameter to printf. 3281 3282 2005-10-27 Roland McGrath <roland (a] redhat.com> 3283 3284 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes. 3285 * funcscopes.c (handle_function): Likewise. 3286 * dwflmodtest.c (print_inline, print_func): Likewise. 3287 * find-prologues.c (handle_function): Likewise. 3288 3289 2005-10-27 Roland McGrath <roland (a] redhat.com> 3290 3291 * run-find-prologues.sh: New file. 3292 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3293 3294 * find-prologues.c (handle_function): Skip inlines. 3295 3296 2005-10-25 Roland McGrath <roland (a] redhat.com> 3297 3298 * find-prologues.c: New file. 3299 * Makefile.am (noinst_PROGRAMS): Add it. 3300 (find_prologues_LDADD): New variable. 3301 3302 2005-09-02 Ulrich Drepper <drepper (a] redhat.com> 3303 3304 * run-strings-test.sh: Remove strings.out in the end. 3305 3306 2005-08-31 Ulrich Drepper <drepper (a] redhat.com> 3307 3308 * run-addrscopes.sh: Use correct exit code if test cannot be performed. 3309 * run-allfcts.sh: Likewise. 3310 * run-ecp-test.sh: Likewise. 3311 * run-ecp-test2.sh: Likewise. 3312 * run-elflint-test.sh: Likewise. 3313 * run-funcscopes.sh: Likewise. 3314 * run-get-aranges.sh: Likewise. 3315 * run-get-files.sh: Likewise. 3316 * run-get-lines.sh: Likewise. 3317 * run-get-pubnames.sh: Likewise. 3318 * run-line2addr.sh: Likewise. 3319 * run-ranlib-test2.sh: Likewise. 3320 * run-show-abbrev.sh: Likewise. 3321 * run-show-ciefde.sh: Likewise. 3322 * run-show-die-info.sh: Likewise. 3323 * run-strings-test.sh: Likewise. 3324 * run-strip-test.sh: Likewise. 3325 3326 2005-08-30 Ulrich Drepper <drepper (a] redhat.com> 3327 3328 * coverage.sh: Handle case where there is no .gcno file at all. 3329 3330 2005-08-29 Ulrich Drepper <drepper (a] redhat.com> 3331 3332 * Makefile.am (EXTRA_DIST): Add coverage. 3333 [GCOV]: Generate coverage summary after the tests ran 3334 * coverage.sh: New file. 3335 3336 2005-08-28 Ulrich Drepper <drepper (a] redhat.com> 3337 3338 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl. 3339 (CLEANFILES): Add *.gcno *.gcda *.gconv. 3340 3341 2005-08-28 Ulrich Drepper <drepper (a] redhat.com> 3342 3343 * run-strings-test.sh: New file. 3344 * Makefile.am (TESTS, EXTRA_DIST): Add it. 3345 3346 2005-08-27 Roland McGrath <roland (a] redhat.com> 3347 3348 * addrscopes.c (handle_address): Apply bias to PC addresses. 3349 3350 * run-funcscopes.sh: New file. 3351 * testfile25.bz2: New data file. 3352 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3353 3354 2005-08-26 Roland McGrath <roland (a] redhat.com> 3355 3356 * addrscopes.c (dwarf_diename_integrate): Removed. 3357 (print_vars, handle_address): Use plain dwarf_diename. 3358 3359 2005-08-25 Roland McGrath <roland (a] redhat.com> 3360 3361 * funcscopes.c: New file. 3362 * Makefile.am (noinst_PROGRAMS): Add it. 3363 (funcscopes_LDADD): New variable. 3364 3365 * run-addrscopes.sh: Add another case. 3366 * testfile24.bz2: New data file. 3367 * Makefile.am (EXTRA_DIST): Add it. 3368 3369 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES, 3370 pass it to dwarf_getscopes. 3371 (main): Pass it, true when '=' follows an address. 3372 3373 2005-08-24 Roland McGrath <roland (a] redhat.com> 3374 3375 * line2addr.c (print_address): Omit () for DSOs. 3376 3377 2005-08-24 Ulrich Drepper <drepper (a] redhat.com> 3378 3379 * run-line2addr.sh: Remove testfile23 in the end. 3380 3381 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl). 3382 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules. 3383 3384 2005-08-22 Roland McGrath <roland (a] redhat.com> 3385 3386 * run-line2addr.sh: Add a case. 3387 * testfile23.bz2: New data file. 3388 * Makefile.am (EXTRA_DIST): Add it. 3389 3390 2005-08-18 Roland McGrath <roland (a] redhat.com> 3391 3392 * run-addrscopes.sh: New file. 3393 * testfile22.bz2: New data file. 3394 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3395 3396 * addrscopes.c: New file. 3397 * Makefile.am (noinst_PROGRAMS): Add it. 3398 (addrscopes_LDADD): New variable. 3399 3400 2005-08-15 Ulrich Drepper <drepper (a] redhat.com> 3401 3402 * run-elflint-self.sh: Don't run test if the file doesn't exist. 3403 3404 2005-08-15 Roland McGrath <roland (a] redhat.com> 3405 3406 * dwflmodtest.c (print_instance, print_inline): New functions. 3407 (print_func): Call print_inline. 3408 (options, parse_opt): Grok -i/--inlines. 3409 3410 2005-08-07 Roland McGrath <roland (a] redhat.com> 3411 3412 * dwflmodtest.c: Print function details only if -f flag is given. 3413 3414 2005-08-06 Ulrich Drepper <drepper (a] redhat.com> 3415 3416 * run-elflint-self.sh: New file. 3417 * Makefile.am (TESTS): Add run-elflint-self.sh. 3418 (EXTRA_DIST): Likewise. 3419 3420 * Makefile.am: Link with statis libs if BUILD_STATIC. 3421 (dwflmodtest_LDADD): Also link with -ldl. 3422 3423 2005-08-02 Ulrich Drepper <drepper (a] redhat.com> 3424 3425 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS. 3426 * asm-tst1.c: Adjust for new asm_begin interface. Open backend 3427 library first. 3428 * asm-tst2.c: Likewise. 3429 * asm-tst3.c: Likewise. 3430 * asm-tst4.c: Likewise. 3431 * asm-tst5.c: Likewise. 3432 * asm-tst6.c: Likewise. 3433 * asm-tst7.c: Likewise. 3434 * asm-tst8.c: Likewise. 3435 * asm-tst9.c: Likewise. 3436 3437 * msg_tst.c: Add new error message. 3438 3439 2005-07-28 Ulrich Drepper <drepper (a] redhat.com> 3440 3441 * Makefile.am (dwflmodtest_LDADD): Add $(libebl). 3442 3443 2005-06-01 Roland McGrath <roland (a] redhat.com> 3444 3445 * line2addr.c: Rewritten using libdwfl. 3446 * run-line2addr.sh: Update test for changed arguments. 3447 * Makefile.am (INCLUDES): Add libdwfl source directory to path. 3448 (libdwfl): New variable. 3449 (line2addr_LDADD): Use it. 3450 3451 2005-07-28 Roland McGrath <roland (a] redhat.com> 3452 3453 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here. 3454 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest. 3455 (dwflmodtest_LDADD): New variable. 3456 (INCLUDES): Add -I$(top_srcdir)/libdwfl here. 3457 3458 2005-07-21 Ulrich Drepper <drepper (a] redhat.com> 3459 3460 * testfile18.bz2: New file. 3461 * run-elflint-test.sh: New file. 3462 * Makefile.am (TESTS): Add run-elflint-test.sh. 3463 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. 3464 3465 2005-05-24 Ulrich Drepper <drepper (a] redhat.com> 3466 3467 * get-files.c (main): Use correct format specifier. 3468 3469 2005-05-21 Ulrich Drepper <drepper (a] redhat.com> 3470 3471 * Makefile.am: Add -Wextra to CFLAGS. 3472 * get-files.c: Remove warning this produced. 3473 * get-pubnames.c: Likewise. 3474 * newfile.c: Likewise. 3475 * newscn.c: Likewise. 3476 * scnnames.c: Likewise. 3477 * showptable.c: Likewise. 3478 * test-nlist.c: Likewise. 3479 * update1.c: Likewise. 3480 * update2.c: Likewise. 3481 * update3.c: Likewise. 3482 * update4.c: Likewise. 3483 3484 2005-05-08 Ulrich Drepper <drepper (a] redhat.com> 3485 3486 * run-line2addr.sh: Remove testfile14 at the end. 3487 3488 * run-strip-test.sh: Remove debuginfo test input file as well. 3489 3490 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used 3491 .bz, not .bz2. 3492 3493 2005-05-03 Roland McGrath <roland (a] redhat.com> 3494 3495 * run-strip-test.sh: Use variables for test file names. 3496 Optionally produce separate debug file and check it. 3497 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication. 3498 * run-strip-test3.sh: Likewise. 3499 * run-strip-test4.sh: New file. 3500 * run-strip-test5.sh: New file. 3501 * run-strip-test6.sh: New file. 3502 * testfile15.bz: New file. 3503 * testfile15.debug.bz: New file. 3504 * testfile16.bz: New file. 3505 * testfile16.debug.bz: New file. 3506 * testfile17.bz: New file. 3507 * testfile17.debug.bz: New file. 3508 * Makefile.am (TESTS, EXTRA_DIST): Add them. 3509 3510 2005-04-25 Ulrich Drepper <drepper (a] redhat.com> 3511 3512 * run-line2addr.sh: Also use testfile14. Adjust for correct 3513 return of multiple matches. 3514 * testfile14.bz2: New file. 3515 * Makefile.am (EXTRA_DIST): Add testfile14.bz2. 3516 3517 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change. 3518 3519 2005-04-04 Roland McGrath <roland (a] redhat.com> 3520 3521 * line2addr.c (main): Initialize LINES and NLINES before calling 3522 dwarf_getsrc_file, and free LINES afterwards. 3523 3524 * allfcts.c (main): Use size_t for CUHL. 3525 3526 2005-04-04 Ulrich Drepper <drepper (a] redhat.com> 3527 3528 * line2addr.c: New file. 3529 * run-line2addr.sh: New file. 3530 * Makefile.am: Add rules to build, run, and distribute new code. 3531 3532 2005-04-02 Ulrich Drepper <drepper (a] redhat.com> 3533 3534 * allfcts.c: New file. 3535 * run-allfcts.sh: New file. 3536 * Makefile.am: Add rules to build, run, and distribute new code. 3537 3538 2005-02-05 Ulrich Drepper <drepper (a] redhat.com> 3539 3540 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test 3541 programs with -lmudflap. 3542 3543 2004-09-25 Ulrich Drepper <drepper (a] redhat.com> 3544 3545 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation. 3546 * asm-tst5.c (main): Likewise. 3547 * asm-tst6.c (main): Likewise. 3548 3549 2004-01-17 Ulrich Drepper <drepper (a] redhat.com> 3550 3551 * Makefile.am: Support building with mudflap. 3552 3553 2004-01-12 Ulrich Drepper <drepper (a] redhat.com> 3554 3555 * get-aranges.c: Rewrite to use libdw. 3556 * Makefile.am: Reenable get-aranges test. 3557 3558 2004-01-11 Ulrich Drepper <drepper (a] redhat.com> 3559 3560 * get-lines.c: New file. 3561 * get-files.c: Adjust for libdw. 3562 * run-get-files.sh: Adjust expected result. 3563 * run-get-lines.sh: Likewise. 3564 * Makefile.am: Run get-lines test. Don't run get-aranges and 3565 get-ciefde test for now. 3566 3567 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface 3568 change. Print attribute offset information. 3569 * run-show-abbrev.sh: Adjust expected output. 3570 3571 2004-01-09 Ulrich Drepper <drepper (a] redhat.com> 3572 3573 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change. 3574 * show-die-info.c: Likewise. 3575 * run-show-die-info.sh: Adjust expected output. 3576 3577 2003-08-13 Ulrich Drepper <drepper (a] redhat.com> 3578 3579 * Makefile.in: Depend on libebl.a, not libebl.so. 3580 3581 2003-08-11 Ulrich Drepper <drepper (a] redhat.com> 3582 3583 * Moved to CVS archive. 3584