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