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