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