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