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