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