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