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