Fix executable_for_core for non-dwfl_standard_argp
[platform/upstream/elfutils.git] / NEWS
1 Version 0.158
2
3 libdwfl: dwfl_core_file_report has new parameter executable.
4
5 Version 0.157
6
7 libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr
8        and dwarf_getlocation_die.
9
10 readelf: Show contents of NT_SIGINFO and NT_FILE core notes.
11
12 addr2line: Support -i, --inlines output option.
13
14 backends: abi_cfi hook for arm, ppc and s390.
15
16 Version 0.156
17
18 lib: New macro COMPAT_VERSION_NEWPROTO.
19
20 libdw: Handle GNU extension opcodes in dwarf_getlocation.
21
22 libdwfl: Fix STB_GLOBAL over STB_WEAK preference in dwfl_module_addrsym.
23          Add minisymtab support.
24          Add parameter add_p_vaddr to dwfl_report_elf.
25          Use DT_DEBUG library search first.
26
27 libebl: Handle new core note types in EBL.
28
29 backends: Interpret NT_ARM_VFP.
30           Implement core file registers parsing for s390/s390x.
31
32 readelf: Add --elf-section input option to inspect an embedded ELF file.
33          Add -U, --unresolved-address-offsets output control.
34          Add --debug-dump=decodedline support.
35          Accept version 8 .gdb_index section format.
36          Adjust output formatting width.
37          When highpc is in constant form print it also as address.
38          Display raw .debug_aranges. Use libdw only for decodedaranges.
39
40 elflint: Add __bss_start__ to the list of allowed symbols.
41
42 tests: Add configure --enable-valgrind option to run all tests under valgrind.
43        Enable automake parallel-tests for make check.
44
45 translations: Updated Polish translation.
46
47 Updates for Automake 1.13.
48
49 Version 0.155
50
51 libelf: elf*_xlatetomd now works for cross-endian ELF note data.
52         elf_getshdr now works consistently on non-mmaped ELF files after
53         calling elf_cntl(ELF_C_FDREAD).
54         Implement support for ar archives with 64-bit symbol table.
55
56 libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
57        Any existing sources using the old name will have to be updated.
58        Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
59        and DW_OP_GNU_parameter_ref to dwarf.h.
60        Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt
61        and DW_FORM_GNU_strp_alt.  Disabled by default.  Use configure
62        --enable-dwz to test it.
63
64 readelf: Add .debug_macro parsing support.
65          Add .gdb_index version 7 parsing support.
66          Recognize DW_OP_GNU_parameter_ref.
67
68 backends: Add support for Tilera TILE-Gx processor.
69
70 translations: Updated Ukrainian translation.
71
72 Version 0.154
73
74 libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
75
76 libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
77        Fix bug using dwarf_next_unit to iterate over .debug_types.
78
79 elflint: Now accepts gold linker produced executables.
80
81 The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
82 programs. There is now also a formal CONTRIBUTING document describing how to
83 submit patches.
84
85 Version 0.153
86
87 libdw: Support reading .zdebug_* DWARF sections compressed via zlib.
88
89 libdwfl: Speed up dwfl_module_addrsym.
90
91 nm: Support C++ demangling.
92
93 ar: Support D modifier for "deterministic output" with no uid/gid/mtime info.
94     The U modifier is the inverse.
95     elfutils can be configured with the --enable-deterministic-archives
96     option to make the D behavior the default when U is not specified.
97
98 ranlib: Support -D and -U flags with same meaning.
99
100 readelf: Improve output of -wline. Add support for printing SDT elf notes.
101          Add printing of .gdb_index section.
102          Support for typed DWARF stack, call_site and entry_value.
103
104 strip: Add --reloc-debug-sections option.
105        Improved SHT_GROUP sections handling.
106
107 Version 0.152
108
109 Various build and warning nits fixed for newest GCC and Autoconf.
110
111 libdwfl: Yet another prelink-related fix for another regression.
112          Look for Linux kernel images in files named with compression suffixes.
113
114 elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
115         New flag -l/--verbose to print all differences.
116
117 Version 0.151
118
119 libdwfl: Fix for more prelink cases with separate debug file.
120
121 strip: New flag --strip-sections to remove section headers entirely.
122
123 Version 0.150
124
125 libdw: Fix for handling huge .debug_aranges section.
126
127 libdwfl: Fix for handling prelinked DSO with separate debug file.
128
129 findtextrel: Fix diagnostics to work with usual section ordering.
130
131 libebl: i386 backend fix for multi-register integer return value location.
132
133 Version 0.149:
134
135 libdw: Decode new DW_OP_GNU_implicit_pointer operation;
136        new function dwarf_getlocation_implicit_pointer.
137
138 libdwfl: New function dwfl_dwarf_line.
139
140 addr2line: New flag -F/--flags to print more DWARF line information details.
141
142 strip: -g recognizes .gdb_index as a debugging section.
143
144 Version 0.148:
145
146 libdw: Accept DWARF 4 format: new functions dwarf_next_unit, dwarf_offdie_types.
147        New functions dwarf_lineisa, dwarf_linediscriminator, dwarf_lineop_index.
148
149 libdwfl: Fixes in core-file handling, support cores from PIEs.
150          When working from build IDs, don't open a named file that mismatches.
151
152 readelf: Handle DWARF 4 formats.
153
154 Version 0.147:
155
156 libdw: Fixes in CFI handling, best possible handling of bogus CFA ops.
157
158 libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r bugs.
159
160 Version 0.146:
161
162 libdwfl: New function dwfl_core_file_report.
163
164 Version 0.145:
165
166 Fix build with --disable-dependency-tracking.
167
168 Fix build with most recent glibc headers.
169
170 libelf: More robust to bogus section headers.
171
172 libdw: Fix CFI decoding.
173
174 libdwfl: Fix address bias returned by CFI accessors.
175          Fix core file module layout identification.
176
177 readelf: Fix CFI decoding.
178
179 Version 0.144:
180
181 libelf: New function elf_getphdrnum.
182         Now support using more than 65536 program headers in a file.
183
184 libdw: New function dwarf_aggregate_size for computing (constant) type
185        sizes, including array_type cases with nontrivial calculation.
186
187 readelf: Don't give errors for missing info under -a.
188          Handle Linux "VMCOREINFO" notes under -n.
189
190 Version 0.143:
191
192 libdw: Various convenience functions for individual attributes now use
193        dwarf_attr_integrate to look up indirect inherited attributes.
194        Location expression handling now supports DW_OP_implicit_value.
195
196 libdwfl: Support automatic decompression of files in XZ format,
197          and of Linux kernel images made with bzip2 or LZMA (as well as gzip).
198
199 Version 0.142:
200
201 libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias
202         for elf_getshstrndx and deprecate original names.  Sun screwed up
203         their implementation and asked for a solution.
204
205 libebl: Add support for STB_GNU_UNIQUE.
206
207 elflint: Add support for STB_GNU_UNIQUE.
208
209 readelf: Add -N option, speeds up DWARF printing without address->name lookups.
210
211 libdw: Add support for decoding DWARF CFI into location description form.
212        Handle some new DWARF 3 expression operations previously omitted.
213        Basic handling of some new encodings slated for DWARF 4.
214
215 Version 0.141:
216
217 libebl: sparc backend fixes;
218         some more arm backend support
219
220 libdwfl: fix dwfl_module_build_id for prelinked DSO case;
221          fixes in core file support;
222          dwfl_module_getsym interface improved for non-address symbols
223
224 strip: fix infinite loop on strange inputs with -f
225
226 addr2line: take -j/--section=NAME option for binutils compatibility
227            (same effect as '(NAME)0x123' syntax already supported)
228
229 Version 0.140:
230
231 libelf: Fix regression in creation of section header
232
233 libdwfl: Less strict behavior if DWARF reader ist just used to display data
234
235 Version 0.139:
236
237 libcpu: Add Intel SSE4 disassembler support
238
239 readelf: Implement call frame information and exception handling dumping.
240          Add -e option.  Enable it implicitly for -a.
241
242 elflint: Check PT_GNU_EH_FRAME program header entry.
243
244 libdwfl: Support automatic gzip/bzip2 decompression of ELF files.
245
246 Version 0.138:
247
248 Install <elfutils/version.h> header file for applications to use in source
249 version compatibility checks.
250
251 libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM
252
253 libcpu: disassembler fixes
254
255 libdwfl: bug fixes
256
257 libelf: bug fixes
258
259 nm: bug fixes for handling corrupt input files
260
261 Version 0.137:
262
263 Minor fixes for unreleased 0.136 release.
264
265 Version 0.136:
266
267 libdwfl: bug fixes; new "segment" interfaces;
268          all the libdwfl-based tools now support --core=COREFILE option
269
270 Version 0.135:
271
272 libdwfl: bug fixes
273
274 strip: changed handling of ET_REL files wrt symbol tables and relocs
275
276 Version 0.134:
277
278 elflint: backend improvements for sparc, alpha
279
280 libdwfl, libelf: bug fixes
281
282 Version 0.133:
283
284 readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
285
286 readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
287
288 libdwfl: bug fixes and optimization in relocation handling
289
290 elfcmp: bug fix for non-allocated section handling
291
292 ld: implement newer features of binutils linker.
293
294 Version 0.132:
295
296 libcpu: Implement x86 and x86-64 disassembler.
297 libasm: Add interface for disassembler.
298
299 all programs: add debugging of branch prediction.
300
301 libelf: new function elf_scnshndx.
302
303 Version 0.131:
304
305 libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated;
306        bug fixes for oddly-formatted DWARF
307
308 libdwfl: bug fixes in offline archive support, symbol table handling;
309          apply partial relocations for dwfl_module_address_section on ET_REL
310
311 libebl: powerpc backend support for Altivec registers
312
313 Version 0.130:
314
315 readelf: -p option can take an argument like -x for one section,
316          or no argument (as before) for all SHF_STRINGS sections;
317          new option --archive-index (or -c);
318          improved -n output for core files, on many machines
319
320 libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
321         new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
322
323 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
324
325 elflint: stricter checks on debug sections
326
327 libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo,
328          dwfl_module_build_id, dwfl_module_report_build_id;
329          support dynamic symbol tables found via phdrs;
330          dwfl_standard_find_debuginfo now uses build IDs when available
331
332 unstrip: new option --list (or -n)
333
334 libebl: backend improvements for sparc, alpha, powerpc
335
336 Version 0.129:
337
338 readelf: new options --hex-dump (or -x), --strings (or -p)
339
340 addr2line: new option --symbols (or -S)
341
342 Version 0.128:
343
344 new program: unstrip
345
346 elfcmp: new option --hash-inexact
347
348 Version 0.127:
349
350 libdw: new function dwarf_getsrcdirs
351
352 libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
353          dwfl_module_address_section
354
355 Version 0.126:
356
357 new program: ar
358
359 Version 0.125:
360
361 elflint: Compare DT_GNU_HASH tests.
362
363 move archives into -static RPMs
364
365 libelf, elflint: better support for core file handling
366
367 Version 0.124:
368
369 libebl: sparc backend support for return value location
370
371 libebl, libdwfl: backend register name support extended with more info
372
373 libelf, libdw: bug fixes for unaligned accesses on machines that care
374
375 readelf, elflint: trivial bugs fixed
376
377 Version 0.123:
378
379 libebl: Backend build fixes, thanks to Stepan Kasal.
380
381 libebl: ia64 backend support for register names, return value location
382
383 libdwfl: Handle truncated linux kernel module section names.
384
385 libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix.
386
387 elflint: Fix checks to permit --hash-style=gnu format.
388
389 Version 0.122:
390
391 libebl: add function to test for relative relocation
392
393 elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
394
395 elflint, readelf: add support for DT_GNU_HASH
396 libelf: add elf_gnu_hash
397
398 elflint, readelf: add support for 64-bit SysV-style hash tables
399
400 libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
401
402 Version 0.121:
403
404 libelf: bug fixes for rewriting existing files when using mmap.
405
406 make all installed headers usable in C++ code.
407
408 readelf: better output format.
409
410 elflint: fix tests of dynamic section content.
411
412 ld: Implement --as-needed, --execstack, PT_GNU_STACK.  Many small patches.
413
414 libdw, libdwfl: handle files without aranges info.
415
416 Version 0.120:
417
418 Bug fixes.
419
420 dwarf.h updated for DWARF 3.0 final specification.
421
422 libdwfl: New function dwfl_version.
423
424 The license is now GPL for most files.  The libelf, libebl, libdw,
425 and libdwfl libraries have additional exceptions.  Add reference to
426 OIN.
427
428 Version 0.119:
429
430 bug fixes
431
432 Version 0.118:
433
434 elflint: more tests.
435
436 libdwfl: New function dwfl_module_register_names.
437
438 libebl: New backend hook for register names.
439
440 Version 0.117:
441
442 libdwfl: New function dwfl_module_return_value_location.
443
444 libebl: Backend improvements for several CPUs.
445
446 Version 0.116:
447
448 libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu,
449        dwarf_entry_breakpoints.  Removed Dwarf_Func type and functions
450        dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc,
451        dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses
452        Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col
453        replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column;
454        dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die.
455        Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist,
456        dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr.
457
458 Version 0.115:
459
460 libelf: speed-ups of non-mmap reading.
461
462 strings: New program.
463
464 Implement --enable-gcov option for configure.
465
466 libdw: New function dwarf_getscopes_die.
467
468 Version 0.114:
469
470 libelf: new function elf_getaroff
471
472 libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances.
473
474 libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address,
475          dwfl_linux_kernel_report_offline.
476
477 ranlib: new program
478
479 Version 0.113:
480
481 elflint: relax a bit. Allow version definitions for defined symbols against
482 DSO versions also for symbols in nobits sections.  Allow .rodata section
483 to have STRINGS and MERGE flag set.
484
485 strip: add some more compatibility with binutils.
486
487 Version 0.112:
488
489 elfcmp: some more relaxation.
490
491 elflint: many more tests, especially regarding to symbol versioning.
492
493 libelf: Add elfXX_offscn and gelf_offscn.
494
495 libasm: asm_begin interface changes.
496
497 libebl: Add three new interfaces to directly access machine, class, and
498 data encoding information.
499
500 objdump: New program.  Just the beginning.
501
502 Version 0.111:
503
504 libdw: now contains all of libdwfl.  The latter is not installed anymore.
505
506 elfcmp: little usability tweak, name and index of differing section is printed.
507
508 Version 0.110:
509
510 libelf: fix a number of problems with elf_update
511
512 elfcmp: fix a few bugs.  Compare gaps.
513
514 Fix a few PLT problems and mudflap build issues.
515
516 libebl: Don't expose Ebl structure definition in libebl.h.  It's now private.
517
518 Version 0.109:
519
520 libebl: Check for matching modules.
521
522 elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols.
523
524 elfcmp: New program.
525
526 libdwfl: New library.
527
528 Version 0.108:
529
530 strip: fix bug introduced in last change
531
532 libdw: records returned by dwarf_getsrclines are now sorted by address
533
534 Version 0.107:
535
536 readelf: improve DWARF output format
537
538 strip: support Linux kernel modules
539
540 Version 0.106:
541
542 libdw: Updated dwarf.h from DWARF3 spec
543 libdw: add new funtions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line,
544 dwarf_func_col, dwarf_getsrc_file
545
546 Version 0.105:
547
548 addr2line: New program
549
550 libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs,
551 dwarf_func_*.
552
553 findtextrel: use dwarf_addrdie
554
555 Version 0.104:
556
557 findtextrel: New program.
558
559 Version 0.103:
560
561 libdw: Fix using libdw.h with gcc < 4 and C++ code.  Compiler bug.
562
563 Version 0.102:
564
565 More Makefile and spec file cleanups.
566
567 Version 0.101:
568
569 Remove most gettext autoconf handling.
570
571 Add more warnings
572
573 Fix resulting problems.  One actual bug found and fixed this way
574
575 Version 0.100:
576
577 libebl: Fix x86-64 relocations.
578
579 Add -Wunused -Wextra warnings.
580
581 Some cleanups resulting from those additional warnings.
582
583 Lots of Makefile cleanup.
584
585 Version 0.99:
586
587 libelf: add gelf_checksum prototype to <libelf.h>
588
589 libelf: fix elf*_checksum handling of NOBITS sections
590
591 Finish mudflap support.
592
593 Fix three bugs found by mudflap.
594
595 ld: add as_needed support
596
597 Version 0.98:
598
599 readelf: in section to segment mapping, indicate read-only sections.
600
601 elflint: more relaxation for GNU ld
602
603 Version 0.97:
604
605 Fix compiling with gcc 4.0.
606 Some tests called elflint without appropriate LD_LIBRARY_PATH.
607
608 Version 0.96:
609
610 Fix support for platforms with lib64.
611
612 Version 0.95:
613
614 libebl: add ppc and ppc64 support
615
616 readelf: fix minimal memory leak.
617
618 Add support to compile with mudflap.
619
620 Modernize configure.ac.  Move scripts in config subdir.
621
622 Modernize *-po directory infrastructure.
623
624 libelf: Add gelf_getlib and gelf_update_lib
625
626 readelf: print liblist sections
627
628 Version 0.94:
629
630 Fix some minimal build problems.
631
632 Version 0.93:
633
634 ibdw: tons of new functionality and bug fixes.  Several interface changes.
635
636 readelf: use libdw now.
637
638 libdwarf: removed completely.
639
640 Version 0.92:
641
642 configuration changes.
643
644 Version 0.91:
645
646 libdw: fix memory handling.  Implement source line handling.
647 nm: use libdw instead of libdwarf.
648 libelf: change to GPL from OSL1 for now.
649
650 Version 0.90:
651
652 libebl: Recognize a few more section types and dynamic tags and return
653 approriate strings.
654
655 Version 0.89:
656
657 strip: fix overwriting of symbol table in input file.
658
659 Version 0.88:
660
661 libebl: Add some ia64 bits.
662
663 Version 0.87:
664
665 Bug fixes for big endian and some 64-bit machines.
666
667 Version 0.86:
668
669 strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes.
670
671 ld: tons of changes, moving towards usability.
672
673 Version 0.85:
674
675 strip: update section group symbol index if the associated symbol table changed
676
677 libelf: fix two problems with generating output not via mmap
678
679 elflint: add probably 10-15 more tests
680 libebl: add support for some of the new tests
681
682 ld: gazillion changes
683
684 Version 0.84:
685
686 elflint: deal with .rel.dyn section.  Fix a problem with rela platforms.
687 Handle PT_GNU_STACK.  Change to write messages to stdout.
688
689 readelf: fix a problem with version information in the symbol table output.
690
691 strip: update all version symbol table entries
692
693 Version 0.83:
694
695 size: fix a warning
696
697 strip: last changed caused problems when the symbol table is before the
698 relocation section.  Fixed.  This fix also improved the asymptotic
699 behavior if many symbol table sections are present.
700
701 Version 0.82:
702
703 Run strip tests with the correct libelf and libebl.
704
705 libelf: fix bug in verneed byte order changing code.
706
707 Version 0.81:
708
709 strip: Remove unused symbol table entries.  This might require updating
710 various other sections.
711
712 Version 0.80:
713
714 Fix some libelf problems with ET_REL files.
715
716 Version 0.79:
717
718 More warning changes, mainly by jbj.
719
720 libdw: yet more new code.  dwarf_child and dwarf_sibling should now actually
721 work.
722
723 Version 0.78:
724
725 libdw: 10+ new functions.  get-pubnames2 works now fully.  Almost all the
726 code needed for nm is in place.
727
728 Version 0.77:
729
730 cleanups to compile cleanly with gcc 3.3 and -Werror.
731
732 libdw: some new code.
733
734 Version 0.76:
735
736 libebl: Fix last patch to recognize relocation sections.   We must not
737 use the name.
738
739 Version 0.75:
740
741 libebl: .debug_ranges is a DWARF 3 debug section
742 libebl: recognize relocation sections for debug section
743 Patches by Jakub Jelinek.
744
745 Version 0.74:
746
747 Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>.
748
749 Version 0.73:
750
751 64-bit cleanups for the programs.
752
753 Version 0.72:
754
755 libelf: and yet more fun with endian tranformation at output time.
756
757 Version 0.71:
758
759 libelf: more fun with endian tranformation at output time.  Add test for it.
760
761 Version 0.70:
762
763 libelf: Two little bugs left from previous patch to handle section output
764 order.
765
766 libelf: add unlikely in some more places.
767
768 Version 0.69:
769
770 libelf: fix output routines to handle case where section indeces and
771 ordre in the output file don't match correctly.  Patch by Jakub.
772
773 elflint: fix test of note section content for 64-bit platforms and files
774 with different byte order.
775
776 Version 0.68:
777
778 libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub)
779
780 Version 0.67:
781
782 libelf: correct mistake in error string handling.
783
784 libelf: Implement ELF_F_PERMISSIVE.
785 strip: Implement --permissive option.
786
787 Version 0.66:
788
789 strip: Implement -g option.
790
791 libelf: Handle broken hash table entry sizes.
792
793 libebl: New function ebl_debugscn_p.  Use it where appropriate.
794
795 Version 0.65:
796
797 libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set
798
799 Version 0.64:
800
801 libelf: Make error handling more robust.
802 libelf: Use TLS in error handler if configured with --enable-tls
803
804 tests: input files are now distributed, not uuencoded in the shell scripts
805
806 libdw: implement error handling, dwarf_get_pubnames
807
808 Version 0.63:
809
810 Build (incomplete) libdw.
811
812 Version 0.62:
813
814 Get rid of libtool.
815
816 Version 0.61:
817
818 Fix URL of OSL.
819
820 Version 0.60:
821
822 libebl: Handle .gnu.warning.* sections correctly.
823
824 size: Implement -t option.
825
826 libebl: Add IA-64 support.
827 libebl: Update SH relocations.
828 libebl: Add Alpha support.
829 libebl: Add Arm support.
830 libebl: Add support for all currently known architecture to the loader.
831
832 Version 0.59:
833
834 nm: Implement -S option.  Correct portable output format.  Implement -s option.
835
836 libelf: Take offset of archive into account in elf_rand.
837
838 Version 0.58:
839
840 strip: fix handling of ET_REL files.
841 Add tests for strip.
842
843 Version 0.57:
844
845 strip: respect layout of input file
846
847 Version 0.56:
848
849 strip: handle files with large number of sections.
850
851 Version 0.55:
852
853 libelf: quite a few bug fixes by Alex Larsson.
854
855 strip: implement -f option to place stripped sections into a separate
856 file.  By Alex Larsson.
857
858 Version 0.54:
859
860 strip: don't let STT_SECTION symbols keeps sections from being removed
861
862 elflint: local symbols are allowed in .dynsym
863 elflint: special case .rel.dyn a bit
864
865 Version 0.53:
866
867 elflint: check types and flags of special sections defined in gABI
868
869 libebl: add x86-64 support
870
871 Version 0.52:
872
873 Start improvement of debug info handling in nm.
874
875 libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them
876
877 Version 0.51:
878
879 Fix build on 64-bit platforms.
880
881 Version 0.50:
882
883 nm: print file/line number also for local symbols
884
885 use versions scripts not libtool's useless -export-symbols option
886
887 Version 0.49:
888
889 Update to autoconf 2.54 and automake 1.7.
890
891 elflint: check note sections
892
893 libdwarf: a number of bug fixes
894
895 readelf: print .debug_info section content
896
897 dwarf.h: Update from draft 7
898
899 Version 0.48:
900
901 libcpu: beginning
902
903 libelf: new function to read parts of the ELF file
904
905 libebl: support for note section handling
906
907 readelf: dump note sections
908
909 Version 0.47:
910
911 libelf: fix little new section-handling related bugs in elf_getshstrndx
912 and elf_nextscn
913
914 elflint: tests for mandatory content of dynamic section
915
916 libasm: better handling of absolute symbols
917
918 Version 0.46:
919
920 libasm: rewrite to store Elf_Scn* instead of indices
921
922 nm: finish many-section support
923
924 nm: use debug in to print file/line info in sysv format
925
926 libdwarf: fix a few bugs in DIE handling
927
928 Version 0.45:
929
930 libelf: major rewrite to keep Elf_Scn references valid until elf_end
931
932 Version 0.44:
933
934 libasm: Add support for bss, ABS, and COM sections.
935
936 libebl: ebl_section_name takes now two index arguments to distinguish
937 between special sections and extended sections
938
939 Version 0.43:
940
941 General: fix a few problem gcc 3.1 had with the code.
942
943 libelf: implement {gelf,elf32,elf64}_checksum
944
945 libelf: optimze DSO: fewer relocations, fewer PLTs
946
947 add msg_tst test
948
949 ld: use correct section header string table index; write correct index
950
951 add dependencies for *.sym files
952
953 Version 0.42:
954
955 libelf: add elf_getshnum and elf_getshstrndx
956
957 libebl: update section type name function
958
959 elflint: tons of fixes wrt large number of sections.  New tests in this area.
960 Same amount of other bug fixes.
961
962 size, strip, nm: better support for large number of sections.  Including
963 using correct section header string table
964
965 libasm: correctly create data structures for large number of sections
966
967 new tests asm-tst4 and asm-tst5 to check large number of sections
968
969 libasm: implement section group generation
970
971 elflint: more tests on section groups.  Improve performance on existing
972 section group tests
973
974 Version 0.41:
975
976 ld: add undefined symbols to dynamic symbol table if --export-dynamic is
977 not given
978
979 ld: fix value of e_entry
980
981 Version 0.40:
982
983 elflint: print section names in error messages
984
985 elflint: mustn't warn about multiple DT_NULL
986
987 ld: don't emit all symbols if --export-dynamic is not given
988
989 ld: correct compute symbol address in output file (section index was off by 1)
990
991 ld: generate correct version info in dynsym without --export-dynamic and
992 in symtab
993
994 Version 0.39:
995
996 Fix check of various e_*size entries in elflint.
997
998 Handle text output in asm_newsym.
999
1000 Finish checks in asm-tst3.
1001
1002 Version 0.38:
1003
1004 Update to autoconf 2.53, automake 1.6, gettext 0.11+.
1005
1006 Introduce *.sym files to restrict export from DSOs.
1007
1008 Use attribute_hidden and internal_function to optimize DSO code.
1009
1010 Add TLS definitions in elf.h and handle them in readelf.
1011
1012 Fix bug in verdef section generation in ld.
1013
1014 Add initial libasm code.
1015
1016 Version 0.37:
1017
1018 Implement better hash size optimization heuristic in ld.  It uses a formula
1019 taking number of tests into account.
1020
1021 Lots of small bug fixes.
1022
1023 Improve readelf output format.  Respect various sh_link/sh_info values.
1024 Correctly print versioning information for symbol tables.
1025
1026 Version 0.36:
1027
1028 Implement preprocessing of linker script.  Recognize -z combreloc.
1029
1030 Version 0.35:
1031
1032 Implement -z ignore|record for ld.
1033
1034 Implement creating of .gnu.version_r and .gnu.version sections.  The
1035 .gnu.version does not yet contain correct info for defined and versioned
1036 symbols (means .gnu.version_d is not yet implemented).
1037
1038 Implement gelf_update_* functions to create versioning data.
1039
1040 Version 0.34:
1041
1042 Add DT_RUNPATH/DT_RPATH entries to dynamic section.  Create .plt and
1043 .rel.plt sections (completely).  Add support for all four PLT related
1044 dynamic section entries.  Add callback function for PLT creation.
1045
1046 More tests in elflint.  Add support for very strict checking which for
1047 now flags level 2 (deprecated features) usage.
1048
1049 Version 0.33:
1050
1051 Create dynamic symbol table, dynamic string table, and hash table to ld.
1052
1053 Add hash table histogram support to readelf.
1054
1055 Version 0.32:
1056
1057 more work on elflint
1058
1059 ld now creates the dynamic section and references it.  Start adding entries
1060 to dynamic section.
1061
1062 Version 0.31:
1063
1064 Start implementing elflint.
1065
1066 Version 0.30:
1067
1068 Fix handling of NOBITS sections in elf_getdata.
1069
1070 Start implementing generation of executables and DSOs in ld.
1071 Generation of program header mostly done.  Address computation done.
1072 Extension of linker script syntax.
1073
1074 Various cleanups.
1075
1076 Implement section group handling in readelf.
1077
1078 Version 0.29:
1079
1080 Implement section groups.  This involved a lot of code moving.  The
1081 new code is entirely untested since gas/gcc are currently not able to
1082 create section groups.  ld works fine on files without section groups.
1083
1084 Version 0.28:
1085
1086 Fix problem with adding more section in elf_newscn.  The section pointers
1087 for the data buffers wasn't adjusted.
1088
1089 Fix elf_getdata with nonzero second parameter.  Correctly handle creation
1090 of internal data buffer for machines without unaligned access.
1091
1092 Version 0.27:
1093
1094 Start adding support to selectively add sections.  Includes support for
1095 section groups.
1096 Add --gc-sections/--no-gc-sections options.
1097 Add general section merging support.
1098
1099 Fix a bug in section group support in strip.
1100
1101 Fix some potential problems with hash value in dynamic hash implementation.
1102
1103 Version 0.26:
1104
1105 section merging works in ld.
1106
1107 Version 0.25:
1108
1109 Actually create data structures from version map file and use it to hide
1110 symbols in ld.
1111
1112 Implement -s -s for ld.
1113
1114 Version 0.24:
1115
1116 Improve relocation table output in readelf.  Avoid some crashes.
1117 Finish many section handling in readelf.
1118
1119 Finish: finish implementation of ld -r.  At least some simple tests pass.
1120
1121 Version 0.23:
1122
1123 Fix a number of errors in ELF_C_WRITE handling.
1124
1125 Almost finished implementation of ld -r.  The data sections are all copied.
1126 Handling of symbol tables is missing.
1127
1128 Version 0.22:
1129
1130 Handle DSO and archive input files correctly if -r option is given.
1131
1132 Gracefully deal with no phdr in new file in libelf.
1133 Fix various small error handling problems.
1134 Don't mmap file for output unless the command says so.
1135
1136 Add code to create ELF section header table to ld finalize routines.
1137
1138 Version 0.21:
1139
1140 Fix some problems with recursive handling of archives in libelf.
1141
1142 Improve messages printed by nm.
1143
1144 Add symbol binding name handling to libebl.  Fix section name handling in
1145 libebl.
1146
1147 readelf and nm use more libebl functions.
1148
1149 Handle XINDEX correctly in nm and string.
1150
1151 Add first machine ld backend library (i386).
1152 Use it.  Recognize -r and --shared.  Avoid using -lxxx parameters for -r.
1153 Create ELF header in output file.  Change mode of output file according to
1154 output file type.  Reorganize callback initialization in ld.
1155
1156 Version 0.20:
1157
1158 Fix some memory leaks in libelf.
1159
1160 Version 0.19:
1161
1162 Implement reading version script.  Both inside linker scripts and via the
1163 --version-script command line parameter.  Uses the same code.
1164 What remains to be done is to implement a data structure which allows
1165 efficient matching against the version names to decide which pattern
1166 matches.
1167
1168 Beginning of output generation and output writing functions.
1169
1170 Version 0.18:
1171
1172 Finish implementation for DSO input file handling.  Implement rpath, runpath,
1173 and LD_LIBRARY_PATH handling.
1174
1175 Version 0.17:
1176
1177 make handling of e_shnum overflow in libelf standard conforming
1178
1179 ld now actually can handle DSOs in linker scripts.  Handling of DT_RUNPATH,
1180 DT_RPATH, -rpath, -rpath-link still remains to be implemented.
1181
1182 fix handling of -L parameters.  Make actual use of the default_paths element.
1183
1184 make re-definition of symbols in and from DSO compatible with existing linker
1185
1186 Version 0.16:
1187
1188 more work on assigning input sections to output sections.
1189
1190 Add gelf_xlatetof and gelf_xlatetom which were accidently left out.
1191
1192 Fix memory handling of section headers.
1193
1194 Version 0.15:
1195
1196 Add many-section support to ld.  Add various new command line parameters.
1197 Allow pagesize to be specified in linker script or on the command line.
1198 Collect input sections in list for the output section according to the rules
1199 specified in the linker script.
1200
1201 Version 0.14:
1202
1203 Fix some problems in the internal list handling which had the result
1204 that we didn't look for some of the unresolved symbols.
1205
1206 Free some memory if we know we don't need it anymore.
1207
1208 Optimize the list of unresolved symbols.  Throw out symbols which are
1209 meanwhile resolved.
1210
1211 Version 0.13:
1212
1213 Got file reading correct now.  The files are all read while parsing
1214 the parameters.  No creating of data structures to describe the linker
1215 command line.  The symbol table is built up while reading the files.
1216 DSOs are handled now.  -( -) handling is optimized.
1217
1218 Version 0.12:
1219
1220 Linker read linker scripts everywhere.  Handles --whole-archive.  Recognizes
1221 --dynamic and --static.  Collects defined and undefined symbols.  Recognizes
1222 conflicts.
1223
1224 libebl now defines functions to call the callbacks.  Add generic name handling
1225 in these new functions.  Remove the code from readelf and call the new
1226 functions.
1227
1228 Version 0.11:
1229
1230 Start of linker.  Basic argument parsing, finding of input files,
1231 linker script reading.
1232
1233 Version 0.10:
1234
1235 Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(),
1236 dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(),
1237 dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it.
1238
1239 Version 0.9:
1240
1241 Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(),
1242 dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(),
1243 and tests for them.
1244
1245 Version 0.8:
1246
1247 Make handling of binaries in other byte order work and add tests for it.
1248
1249 Version 0.7:
1250
1251 Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(),
1252 dwarf_get_arange_info(), and tests for them.
1253
1254 Version 0.6:
1255
1256 Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(),
1257 dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them
1258
1259 Version 0.5:
1260
1261 Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(),
1262 dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(),
1263 dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(),
1264 dwarf_lineepiloguebegin(), and tests for them.
1265
1266 Version 0.4:
1267
1268 Implemented dwarf_loclist().
1269
1270 Version 0.3:
1271
1272 Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and
1273 tests.
1274
1275 Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(),
1276 dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(),
1277 dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(),
1278 dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(),
1279 dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock,
1280 dwarf_formstring() and tests for them.
1281
1282 Version 0.2:
1283
1284 Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(),
1285 dwarf_die_CU_offset(), dwarf_diename() and tests for them.
1286
1287 Version 0.1:
1288
1289 First libdwarf functions work.
1290
1291 Version 0.0:
1292
1293 libelf and parts of libebl are done.