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