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