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