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