Ulrich Drepper | 637963b | 2005-08-07 05:33:07 +0000 | [diff] [blame] | 1 | Version 0.113: |
| 2 | |
| 3 | elflint: relax a bit. Allow version definitions for defined symbols against |
| 4 | DSO versions also for symbols in nobits sections. Allow .rodata section |
| 5 | to have STRINGS and MERGE flag set. |
| 6 | |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 7 | strip: add some more compatibility with binutils. |
| 8 | |
Ulrich Drepper | c911c9e | 2005-08-02 16:07:42 +0000 | [diff] [blame] | 9 | Version 0.112: |
| 10 | |
| 11 | elfcmp: some more relaxation. |
| 12 | |
Ulrich Drepper | dbace23 | 2005-08-06 01:37:23 +0000 | [diff] [blame] | 13 | elflint: many more tests, especially regarding to symbol versioning. |
Ulrich Drepper | 41de488 | 2005-08-03 00:02:56 +0000 | [diff] [blame] | 14 | |
| 15 | libelf: Add elfXX_offscn and gelf_offscn. |
| 16 | |
Ulrich Drepper | a38998e | 2005-08-03 02:05:39 +0000 | [diff] [blame] | 17 | libasm: asm_begin interface changes. |
| 18 | |
| 19 | libebl: Add three new interfaces to directly access machine, class, and |
| 20 | data encoding information. |
| 21 | |
Ulrich Drepper | 8a68774 | 2005-08-03 02:24:12 +0000 | [diff] [blame] | 22 | objdump: New program. Just the beginning. |
| 23 | |
Ulrich Drepper | 7018915 | 2005-07-28 21:31:36 +0000 | [diff] [blame] | 24 | Version 0.111: |
| 25 | |
| 26 | libdw: now contains all of libdwfl. The latter is not installed anymore. |
| 27 | |
| 28 | elfcmp: little usability tweak, name and index of differing section is printed. |
| 29 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 30 | Version 0.110: |
| 31 | |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 32 | libelf: fix a number of problems with elf_update |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 33 | |
| 34 | elfcmp: fix a few bugs. Compare gaps. |
| 35 | |
| 36 | Fix a few PLT problems and mudflap build issues. |
| 37 | |
| 38 | libebl: Don't expose Ebl structure definition in libebl.h. It's now private. |
| 39 | |
| 40 | Version 0.109: |
| 41 | |
| 42 | libebl: Check for matching modules. |
| 43 | |
| 44 | elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols. |
| 45 | |
| 46 | elfcmp: New program. |
| 47 | |
| 48 | libdwfl: New library. |
| 49 | |
| 50 | Version 0.108: |
| 51 | |
| 52 | strip: fix bug introduced in last change |
| 53 | |
| 54 | libdw: records returned by dwarf_getsrclines are now sorted by address |
| 55 | |
| 56 | Version 0.107: |
| 57 | |
| 58 | readelf: improve DWARF output format |
| 59 | |
| 60 | strip: support Linux kernel modules |
| 61 | |
| 62 | Version 0.106: |
| 63 | |
| 64 | libdw: Updated dwarf.h from DWARF3 spec |
| 65 | libdw: add new funtions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line, |
| 66 | dwarf_func_col, dwarf_getsrc_file |
| 67 | |
| 68 | Version 0.105: |
| 69 | |
| 70 | addr2line: New program |
| 71 | |
| 72 | libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs, |
| 73 | dwarf_func_*. |
| 74 | |
| 75 | findtextrel: use dwarf_addrdie |
| 76 | |
| 77 | Version 0.104: |
| 78 | |
| 79 | findtextrel: New program. |
| 80 | |
| 81 | Version 0.103: |
| 82 | |
| 83 | libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug. |
| 84 | |
| 85 | Version 0.102: |
| 86 | |
| 87 | More Makefile and spec file cleanups. |
| 88 | |
| 89 | Version 0.101: |
| 90 | |
| 91 | Remove most gettext autoconf handling. |
| 92 | |
| 93 | Add more warnings |
| 94 | |
| 95 | Fix resulting problems. One actual bug found and fixed this way |
| 96 | |
| 97 | Version 0.100: |
| 98 | |
| 99 | libebl: Fix x86-64 relocations. |
| 100 | |
| 101 | Add -Wunused -Wextra warnings. |
| 102 | |
| 103 | Some cleanups resulting from those additional warnings. |
| 104 | |
| 105 | Lots of Makefile cleanup. |
| 106 | |
| 107 | Version 0.99: |
| 108 | |
| 109 | libelf: add gelf_checksum prototype to <libelf.h> |
| 110 | |
| 111 | libelf: fix elf*_checksum handling of NOBITS sections |
| 112 | |
| 113 | Finish mudflap support. |
| 114 | |
| 115 | Fix three bugs found by mudflap. |
| 116 | |
| 117 | ld: add as_needed support |
| 118 | |
| 119 | Version 0.98: |
| 120 | |
| 121 | readelf: in section to segment mapping, indicate read-only sections. |
| 122 | |
| 123 | elflint: more relaxation for GNU ld |
| 124 | |
| 125 | Version 0.97: |
| 126 | |
| 127 | Fix compiling with gcc 4.0. |
| 128 | Some tests called elflint without appropriate LD_LIBRARY_PATH. |
| 129 | |
| 130 | Version 0.96: |
| 131 | |
| 132 | Fix support for platforms with lib64. |
| 133 | |
| 134 | Version 0.95: |
| 135 | |
| 136 | libebl: add ppc and ppc64 support |
| 137 | |
| 138 | readelf: fix minimal memory leak. |
| 139 | |
| 140 | Add support to compile with mudflap. |
| 141 | |
| 142 | Modernize configure.ac. Move scripts in config subdir. |
| 143 | |
| 144 | Modernize *-po directory infrastructure. |
| 145 | |
| 146 | libelf: Add gelf_getlib and gelf_update_lib |
| 147 | |
| 148 | readelf: print liblist sections |
| 149 | |
| 150 | Version 0.94: |
| 151 | |
| 152 | Fix some minimal build problems. |
| 153 | |
| 154 | Version 0.93: |
| 155 | |
| 156 | ibdw: tons of new functionality and bug fixes. Several interface changes. |
| 157 | |
| 158 | readelf: use libdw now. |
| 159 | |
| 160 | libdwarf: removed completely. |
| 161 | |
| 162 | Version 0.92: |
| 163 | |
| 164 | configuration changes. |
| 165 | |
| 166 | Version 0.91: |
| 167 | |
| 168 | libdw: fix memory handling. Implement source line handling. |
| 169 | nm: use libdw instead of libdwarf. |
| 170 | libelf: change to GPL from OSL1 for now. |
| 171 | |
| 172 | Version 0.90: |
| 173 | |
| 174 | libebl: Recognize a few more section types and dynamic tags and return |
| 175 | approriate strings. |
| 176 | |
| 177 | Version 0.89: |
| 178 | |
| 179 | strip: fix overwriting of symbol table in input file. |
| 180 | |
| 181 | Version 0.88: |
| 182 | |
| 183 | libebl: Add some ia64 bits. |
| 184 | |
| 185 | Version 0.87: |
| 186 | |
| 187 | Bug fixes for big endian and some 64-bit machines. |
| 188 | |
| 189 | Version 0.86: |
| 190 | |
| 191 | strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes. |
| 192 | |
| 193 | ld: tons of changes, moving towards usability. |
| 194 | |
| 195 | Version 0.85: |
| 196 | |
| 197 | strip: update section group symbol index if the associated symbol table changed |
| 198 | |
| 199 | libelf: fix two problems with generating output not via mmap |
| 200 | |
| 201 | elflint: add probably 10-15 more tests |
| 202 | libebl: add support for some of the new tests |
| 203 | |
| 204 | ld: gazillion changes |
| 205 | |
| 206 | Version 0.84: |
| 207 | |
| 208 | elflint: deal with .rel.dyn section. Fix a problem with rela platforms. |
| 209 | Handle PT_GNU_STACK. Change to write messages to stdout. |
| 210 | |
| 211 | readelf: fix a problem with version information in the symbol table output. |
| 212 | |
| 213 | strip: update all version symbol table entries |
| 214 | |
| 215 | Version 0.83: |
| 216 | |
| 217 | size: fix a warning |
| 218 | |
| 219 | strip: last changed caused problems when the symbol table is before the |
| 220 | relocation section. Fixed. This fix also improved the asymptotic |
| 221 | behavior if many symbol table sections are present. |
| 222 | |
| 223 | Version 0.82: |
| 224 | |
| 225 | Run strip tests with the correct libelf and libebl. |
| 226 | |
| 227 | libelf: fix bug in verneed byte order changing code. |
| 228 | |
| 229 | Version 0.81: |
| 230 | |
| 231 | strip: Remove unused symbol table entries. This might require updating |
| 232 | various other sections. |
| 233 | |
| 234 | Version 0.80: |
| 235 | |
| 236 | Fix some libelf problems with ET_REL files. |
| 237 | |
| 238 | Version 0.79: |
| 239 | |
| 240 | More warning changes, mainly by jbj. |
| 241 | |
| 242 | libdw: yet more new code. dwarf_child and dwarf_sibling should now actually |
| 243 | work. |
| 244 | |
| 245 | Version 0.78: |
| 246 | |
| 247 | libdw: 10+ new functions. get-pubnames2 works now fully. Almost all the |
| 248 | code needed for nm is in place. |
| 249 | |
| 250 | Version 0.77: |
| 251 | |
| 252 | cleanups to compile cleanly with gcc 3.3 and -Werror. |
| 253 | |
| 254 | libdw: some new code. |
| 255 | |
| 256 | Version 0.76: |
| 257 | |
| 258 | libebl: Fix last patch to recognize relocation sections. We must not |
| 259 | use the name. |
| 260 | |
| 261 | Version 0.75: |
| 262 | |
| 263 | libebl: .debug_ranges is a DWARF 3 debug section |
| 264 | libebl: recognize relocation sections for debug section |
| 265 | Patches by Jakub Jelinek. |
| 266 | |
| 267 | Version 0.74: |
| 268 | |
| 269 | Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>. |
| 270 | |
| 271 | Version 0.73: |
| 272 | |
| 273 | 64-bit cleanups for the programs. |
| 274 | |
| 275 | Version 0.72: |
| 276 | |
| 277 | libelf: and yet more fun with endian tranformation at output time. |
| 278 | |
| 279 | Version 0.71: |
| 280 | |
| 281 | libelf: more fun with endian tranformation at output time. Add test for it. |
| 282 | |
| 283 | Version 0.70: |
| 284 | |
| 285 | libelf: Two little bugs left from previous patch to handle section output |
| 286 | order. |
| 287 | |
| 288 | libelf: add unlikely in some more places. |
| 289 | |
| 290 | Version 0.69: |
| 291 | |
| 292 | libelf: fix output routines to handle case where section indeces and |
| 293 | ordre in the output file don't match correctly. Patch by Jakub. |
| 294 | |
| 295 | elflint: fix test of note section content for 64-bit platforms and files |
| 296 | with different byte order. |
| 297 | |
| 298 | Version 0.68: |
| 299 | |
| 300 | libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub) |
| 301 | |
| 302 | Version 0.67: |
| 303 | |
| 304 | libelf: correct mistake in error string handling. |
| 305 | |
| 306 | libelf: Implement ELF_F_PERMISSIVE. |
| 307 | strip: Implement --permissive option. |
| 308 | |
| 309 | Version 0.66: |
| 310 | |
| 311 | strip: Implement -g option. |
| 312 | |
| 313 | libelf: Handle broken hash table entry sizes. |
| 314 | |
| 315 | libebl: New function ebl_debugscn_p. Use it where appropriate. |
| 316 | |
| 317 | Version 0.65: |
| 318 | |
| 319 | libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set |
| 320 | |
| 321 | Version 0.64: |
| 322 | |
| 323 | libelf: Make error handling more robust. |
| 324 | libelf: Use TLS in error handler if configured with --enable-tls |
| 325 | |
| 326 | tests: input files are now distributed, not uuencoded in the shell scripts |
| 327 | |
| 328 | libdw: implement error handling, dwarf_get_pubnames |
| 329 | |
| 330 | Version 0.63: |
| 331 | |
| 332 | Build (incomplete) libdw. |
| 333 | |
| 334 | Version 0.62: |
| 335 | |
| 336 | Get rid of libtool. |
| 337 | |
| 338 | Version 0.61: |
| 339 | |
| 340 | Fix URL of OSL. |
| 341 | |
| 342 | Version 0.60: |
| 343 | |
| 344 | libebl: Handle .gnu.warning.* sections correctly. |
| 345 | |
| 346 | size: Implement -t option. |
| 347 | |
| 348 | libebl: Add IA-64 support. |
| 349 | libebl: Update SH relocations. |
| 350 | libebl: Add Alpha support. |
| 351 | libebl: Add Arm support. |
| 352 | libebl: Add support for all currently known architecture to the loader. |
| 353 | |
| 354 | Version 0.59: |
| 355 | |
| 356 | nm: Implement -S option. Correct portable output format. Implement -s option. |
| 357 | |
| 358 | libelf: Take offset of archive into account in elf_rand. |
| 359 | |
| 360 | Version 0.58: |
| 361 | |
| 362 | strip: fix handling of ET_REL files. |
| 363 | Add tests for strip. |
| 364 | |
| 365 | Version 0.57: |
| 366 | |
| 367 | strip: respect layout of input file |
| 368 | |
| 369 | Version 0.56: |
| 370 | |
| 371 | strip: handle files with large number of sections. |
| 372 | |
| 373 | Version 0.55: |
| 374 | |
| 375 | libelf: quite a few bug fixes by Alex Larsson. |
| 376 | |
| 377 | strip: implement -f option to place stripped sections into a separate |
| 378 | file. By Alex Larsson. |
| 379 | |
| 380 | Version 0.54: |
| 381 | |
| 382 | strip: don't let STT_SECTION symbols keeps sections from being removed |
| 383 | |
| 384 | elflint: local symbols are allowed in .dynsym |
| 385 | elflint: special case .rel.dyn a bit |
| 386 | |
| 387 | Version 0.53: |
| 388 | |
| 389 | elflint: check types and flags of special sections defined in gABI |
| 390 | |
| 391 | libebl: add x86-64 support |
| 392 | |
| 393 | Version 0.52: |
| 394 | |
| 395 | Start improvement of debug info handling in nm. |
| 396 | |
| 397 | libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them |
| 398 | |
| 399 | Version 0.51: |
| 400 | |
| 401 | Fix build on 64-bit platforms. |
| 402 | |
| 403 | Version 0.50: |
| 404 | |
| 405 | nm: print file/line number also for local symbols |
| 406 | |
| 407 | use versions scripts not libtool's useless -export-symbols option |
| 408 | |
| 409 | Version 0.49: |
| 410 | |
| 411 | Update to autoconf 2.54 and automake 1.7. |
| 412 | |
| 413 | elflint: check note sections |
| 414 | |
| 415 | libdwarf: a number of bug fixes |
| 416 | |
| 417 | readelf: print .debug_info section content |
| 418 | |
| 419 | dwarf.h: Update from draft 7 |
| 420 | |
| 421 | Version 0.48: |
| 422 | |
| 423 | libcpu: beginning |
| 424 | |
| 425 | libelf: new function to read parts of the ELF file |
| 426 | |
| 427 | libebl: support for note section handling |
| 428 | |
| 429 | readelf: dump note sections |
| 430 | |
| 431 | Version 0.47: |
| 432 | |
| 433 | libelf: fix little new section-handling related bugs in elf_getshstrndx |
| 434 | and elf_nextscn |
| 435 | |
| 436 | elflint: tests for mandatory content of dynamic section |
| 437 | |
| 438 | libasm: better handling of absolute symbols |
| 439 | |
| 440 | Version 0.46: |
| 441 | |
| 442 | libasm: rewrite to store Elf_Scn* instead of indices |
| 443 | |
| 444 | nm: finish many-section support |
| 445 | |
| 446 | nm: use debug in to print file/line info in sysv format |
| 447 | |
| 448 | libdwarf: fix a few bugs in DIE handling |
| 449 | |
| 450 | Version 0.45: |
| 451 | |
| 452 | libelf: major rewrite to keep Elf_Scn references valid until elf_end |
| 453 | |
| 454 | Version 0.44: |
| 455 | |
| 456 | libasm: Add support for bss, ABS, and COM sections. |
| 457 | |
| 458 | libebl: ebl_section_name takes now two index arguments to distinguish |
| 459 | between special sections and extended sections |
| 460 | |
| 461 | Version 0.43: |
| 462 | |
| 463 | General: fix a few problem gcc 3.1 had with the code. |
| 464 | |
| 465 | libelf: implement {gelf,elf32,elf64}_checksum |
| 466 | |
| 467 | libelf: optimze DSO: fewer relocations, fewer PLTs |
| 468 | |
| 469 | add msg_tst test |
| 470 | |
| 471 | ld: use correct section header string table index; write correct index |
| 472 | |
| 473 | add dependencies for *.sym files |
| 474 | |
| 475 | Version 0.42: |
| 476 | |
| 477 | libelf: add elf_getshnum and elf_getshstrndx |
| 478 | |
| 479 | libebl: update section type name function |
| 480 | |
| 481 | elflint: tons of fixes wrt large number of sections. New tests in this area. |
| 482 | Same amount of other bug fixes. |
| 483 | |
| 484 | size, strip, nm: better support for large number of sections. Including |
| 485 | using correct section header string table |
| 486 | |
| 487 | libasm: correctly create data structures for large number of sections |
| 488 | |
| 489 | new tests asm-tst4 and asm-tst5 to check large number of sections |
| 490 | |
| 491 | libasm: implement section group generation |
| 492 | |
| 493 | elflint: more tests on section groups. Improve performance on existing |
| 494 | section group tests |
| 495 | |
| 496 | Version 0.41: |
| 497 | |
| 498 | ld: add undefined symbols to dynamic symbol table if --export-dynamic is |
| 499 | not given |
| 500 | |
| 501 | ld: fix value of e_entry |
| 502 | |
| 503 | Version 0.40: |
| 504 | |
| 505 | elflint: print section names in error messages |
| 506 | |
| 507 | elflint: mustn't warn about multiple DT_NULL |
| 508 | |
| 509 | ld: don't emit all symbols if --export-dynamic is not given |
| 510 | |
| 511 | ld: correct compute symbol address in output file (section index was off by 1) |
| 512 | |
| 513 | ld: generate correct version info in dynsym without --export-dynamic and |
| 514 | in symtab |
| 515 | |
| 516 | Version 0.39: |
| 517 | |
| 518 | Fix check of various e_*size entries in elflint. |
| 519 | |
| 520 | Handle text output in asm_newsym. |
| 521 | |
| 522 | Finish checks in asm-tst3. |
| 523 | |
| 524 | Version 0.38: |
| 525 | |
| 526 | Update to autoconf 2.53, automake 1.6, gettext 0.11+. |
| 527 | |
| 528 | Introduce *.sym files to restrict export from DSOs. |
| 529 | |
| 530 | Use attribute_hidden and internal_function to optimize DSO code. |
| 531 | |
| 532 | Add TLS definitions in elf.h and handle them in readelf. |
| 533 | |
| 534 | Fix bug in verdef section generation in ld. |
| 535 | |
| 536 | Add initial libasm code. |
| 537 | |
| 538 | Version 0.37: |
| 539 | |
| 540 | Implement better hash size optimization heuristic in ld. It uses a formula |
| 541 | taking number of tests into account. |
| 542 | |
| 543 | Lots of small bug fixes. |
| 544 | |
| 545 | Improve readelf output format. Respect various sh_link/sh_info values. |
| 546 | Correctly print versioning information for symbol tables. |
| 547 | |
| 548 | Version 0.36: |
| 549 | |
| 550 | Implement preprocessing of linker script. Recognize -z combreloc. |
| 551 | |
| 552 | Version 0.35: |
| 553 | |
| 554 | Implement -z ignore|record for ld. |
| 555 | |
| 556 | Implement creating of .gnu.version_r and .gnu.version sections. The |
| 557 | .gnu.version does not yet contain correct info for defined and versioned |
| 558 | symbols (means .gnu.version_d is not yet implemented). |
| 559 | |
| 560 | Implement gelf_update_* functions to create versioning data. |
| 561 | |
| 562 | Version 0.34: |
| 563 | |
| 564 | Add DT_RUNPATH/DT_RPATH entries to dynamic section. Create .plt and |
| 565 | .rel.plt sections (completely). Add support for all four PLT related |
| 566 | dynamic section entries. Add callback function for PLT creation. |
| 567 | |
| 568 | More tests in elflint. Add support for very strict checking which for |
| 569 | now flags level 2 (deprecated features) usage. |
| 570 | |
| 571 | Version 0.33: |
| 572 | |
| 573 | Create dynamic symbol table, dynamic string table, and hash table to ld. |
| 574 | |
| 575 | Add hash table histogram support to readelf. |
| 576 | |
| 577 | Version 0.32: |
| 578 | |
| 579 | more work on elflint |
| 580 | |
| 581 | ld now creates the dynamic section and references it. Start adding entries |
| 582 | to dynamic section. |
| 583 | |
| 584 | Version 0.31: |
| 585 | |
| 586 | Start implementing elflint. |
| 587 | |
| 588 | Version 0.30: |
| 589 | |
| 590 | Fix handling of NOBITS sections in elf_getdata. |
| 591 | |
| 592 | Start implementing generation of executables and DSOs in ld. |
| 593 | Generation of program header mostly done. Address computation done. |
| 594 | Extension of linker script syntax. |
| 595 | |
| 596 | Various cleanups. |
| 597 | |
| 598 | Implement section group handling in readelf. |
| 599 | |
| 600 | Version 0.29: |
| 601 | |
| 602 | Implement section groups. This involved a lot of code moving. The |
| 603 | new code is entirely untested since gas/gcc are currently not able to |
| 604 | create section groups. ld works fine on files without section groups. |
| 605 | |
| 606 | Version 0.28: |
| 607 | |
| 608 | Fix problem with adding more section in elf_newscn. The section pointers |
| 609 | for the data buffers wasn't adjusted. |
| 610 | |
| 611 | Fix elf_getdata with nonzero second parameter. Correctly handle creation |
| 612 | of internal data buffer for machines without unaligned access. |
| 613 | |
| 614 | Version 0.27: |
| 615 | |
| 616 | Start adding support to selectively add sections. Includes support for |
| 617 | section groups. |
| 618 | Add --gc-sections/--no-gc-sections options. |
| 619 | Add general section merging support. |
| 620 | |
| 621 | Fix a bug in section group support in strip. |
| 622 | |
| 623 | Fix some potential problems with hash value in dynamic hash implementation. |
| 624 | |
| 625 | Version 0.26: |
| 626 | |
| 627 | section merging works in ld. |
| 628 | |
| 629 | Version 0.25: |
| 630 | |
| 631 | Actually create data structures from version map file and use it to hide |
| 632 | symbols in ld. |
| 633 | |
| 634 | Implement -s -s for ld. |
| 635 | |
| 636 | Version 0.24: |
| 637 | |
| 638 | Improve relocation table output in readelf. Avoid some crashes. |
| 639 | Finish many section handling in readelf. |
| 640 | |
| 641 | Finish: finish implementation of ld -r. At least some simple tests pass. |
| 642 | |
| 643 | Version 0.23: |
| 644 | |
| 645 | Fix a number of errors in ELF_C_WRITE handling. |
| 646 | |
| 647 | Almost finished implementation of ld -r. The data sections are all copied. |
| 648 | Handling of symbol tables is missing. |
| 649 | |
| 650 | Version 0.22: |
| 651 | |
| 652 | Handle DSO and archive input files correctly if -r option is given. |
| 653 | |
| 654 | Gracefully deal with no phdr in new file in libelf. |
| 655 | Fix various small error handling problems. |
| 656 | Don't mmap file for output unless the command says so. |
| 657 | |
| 658 | Add code to create ELF section header table to ld finalize routines. |
| 659 | |
| 660 | Version 0.21: |
| 661 | |
| 662 | Fix some problems with recursive handling of archives in libelf. |
| 663 | |
| 664 | Improve messages printed by nm. |
| 665 | |
| 666 | Add symbol binding name handling to libebl. Fix section name handling in |
| 667 | libebl. |
| 668 | |
| 669 | readelf and nm use more libebl functions. |
| 670 | |
| 671 | Handle XINDEX correctly in nm and string. |
| 672 | |
| 673 | Add first machine ld backend library (i386). |
| 674 | Use it. Recognize -r and --shared. Avoid using -lxxx parameters for -r. |
| 675 | Create ELF header in output file. Change mode of output file according to |
| 676 | output file type. Reorganize callback initialization in ld. |
| 677 | |
| 678 | Version 0.20: |
| 679 | |
| 680 | Fix some memory leaks in libelf. |
| 681 | |
| 682 | Version 0.19: |
| 683 | |
| 684 | Implement reading version script. Both inside linker scripts and via the |
| 685 | --version-script command line parameter. Uses the same code. |
| 686 | What remains to be done is to implement a data structure which allows |
| 687 | efficient matching against the version names to decide which pattern |
| 688 | matches. |
| 689 | |
| 690 | Beginning of output generation and output writing functions. |
| 691 | |
| 692 | Version 0.18: |
| 693 | |
| 694 | Finish implementation for DSO input file handling. Implement rpath, runpath, |
| 695 | and LD_LIBRARY_PATH handling. |
| 696 | |
| 697 | Version 0.17: |
| 698 | |
| 699 | make handling of e_shnum overflow in libelf standard conforming |
| 700 | |
| 701 | ld now actually can handle DSOs in linker scripts. Handling of DT_RUNPATH, |
| 702 | DT_RPATH, -rpath, -rpath-link still remains to be implemented. |
| 703 | |
| 704 | fix handling of -L parameters. Make actual use of the default_paths element. |
| 705 | |
| 706 | make re-definition of symbols in and from DSO compatible with existing linker |
| 707 | |
| 708 | Version 0.16: |
| 709 | |
| 710 | more work on assigning input sections to output sections. |
| 711 | |
| 712 | Add gelf_xlatetof and gelf_xlatetom which were accidently left out. |
| 713 | |
| 714 | Fix memory handling of section headers. |
| 715 | |
| 716 | Version 0.15: |
| 717 | |
| 718 | Add many-section support to ld. Add various new command line parameters. |
| 719 | Allow pagesize to be specified in linker script or on the command line. |
| 720 | Collect input sections in list for the output section according to the rules |
| 721 | specified in the linker script. |
| 722 | |
| 723 | Version 0.14: |
| 724 | |
| 725 | Fix some problems in the internal list handling which had the result |
| 726 | that we didn't look for some of the unresolved symbols. |
| 727 | |
| 728 | Free some memory if we know we don't need it anymore. |
| 729 | |
| 730 | Optimize the list of unresolved symbols. Throw out symbols which are |
| 731 | meanwhile resolved. |
| 732 | |
| 733 | Version 0.13: |
| 734 | |
| 735 | Got file reading correct now. The files are all read while parsing |
| 736 | the parameters. No creating of data structures to describe the linker |
| 737 | command line. The symbol table is built up while reading the files. |
| 738 | DSOs are handled now. -( -) handling is optimized. |
| 739 | |
| 740 | Version 0.12: |
| 741 | |
| 742 | Linker read linker scripts everywhere. Handles --whole-archive. Recognizes |
| 743 | --dynamic and --static. Collects defined and undefined symbols. Recognizes |
| 744 | conflicts. |
| 745 | |
| 746 | libebl now defines functions to call the callbacks. Add generic name handling |
| 747 | in these new functions. Remove the code from readelf and call the new |
| 748 | functions. |
| 749 | |
| 750 | Version 0.11: |
| 751 | |
| 752 | Start of linker. Basic argument parsing, finding of input files, |
| 753 | linker script reading. |
| 754 | |
| 755 | Version 0.10: |
| 756 | |
| 757 | Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(), |
| 758 | dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(), |
| 759 | dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it. |
| 760 | |
| 761 | Version 0.9: |
| 762 | |
| 763 | Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(), |
| 764 | dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(), |
| 765 | and tests for them. |
| 766 | |
| 767 | Version 0.8: |
| 768 | |
| 769 | Make handling of binaries in other byte order work and add tests for it. |
| 770 | |
| 771 | Version 0.7: |
| 772 | |
| 773 | Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(), |
| 774 | dwarf_get_arange_info(), and tests for them. |
| 775 | |
| 776 | Version 0.6: |
| 777 | |
| 778 | Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(), |
| 779 | dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them |
| 780 | |
| 781 | Version 0.5: |
| 782 | |
| 783 | Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(), |
| 784 | dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(), |
| 785 | dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(), |
| 786 | dwarf_lineepiloguebegin(), and tests for them. |
| 787 | |
| 788 | Version 0.4: |
| 789 | |
| 790 | Implemented dwarf_loclist(). |
| 791 | |
| 792 | Version 0.3: |
| 793 | |
| 794 | Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and |
| 795 | tests. |
| 796 | |
| 797 | Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(), |
| 798 | dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(), |
| 799 | dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(), |
| 800 | dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(), |
| 801 | dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock, |
| 802 | dwarf_formstring() and tests for them. |
| 803 | |
| 804 | Version 0.2: |
| 805 | |
| 806 | Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(), |
| 807 | dwarf_die_CU_offset(), dwarf_diename() and tests for them. |
| 808 | |
| 809 | Version 0.1: |
| 810 | |
| 811 | First libdwarf functions work. |
| 812 | |
| 813 | Version 0.0: |
| 814 | |
| 815 | libelf and parts of libebl are done. |