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