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