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