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