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