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