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