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