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