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