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