blob: 803b6058e277720831dcd5e15399d86b814f5793 [file] [log] [blame]
Ulrich Drepper637963b2005-08-07 05:33:07 +00001Version 0.113:
2
3elflint: relax a bit. Allow version definitions for defined symbols against
4DSO versions also for symbols in nobits sections. Allow .rodata section
5to have STRINGS and MERGE flag set.
6
Roland McGrath1c83bf12005-08-11 07:03:55 +00007strip: add some more compatibility with binutils.
8
Ulrich Drepperc911c9e2005-08-02 16:07:42 +00009Version 0.112:
10
11elfcmp: some more relaxation.
12
Ulrich Drepperdbace232005-08-06 01:37:23 +000013elflint: many more tests, especially regarding to symbol versioning.
Ulrich Drepper41de4882005-08-03 00:02:56 +000014
15libelf: Add elfXX_offscn and gelf_offscn.
16
Ulrich Dreppera38998e2005-08-03 02:05:39 +000017libasm: asm_begin interface changes.
18
19libebl: Add three new interfaces to directly access machine, class, and
20data encoding information.
21
Ulrich Drepper8a687742005-08-03 02:24:12 +000022objdump: New program. Just the beginning.
23
Ulrich Drepper70189152005-07-28 21:31:36 +000024Version 0.111:
25
26libdw: now contains all of libdwfl. The latter is not installed anymore.
27
28elfcmp: little usability tweak, name and index of differing section is printed.
29
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000030Version 0.110:
31
Roland McGrath1c83bf12005-08-11 07:03:55 +000032libelf: fix a number of problems with elf_update
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000033
34elfcmp: fix a few bugs. Compare gaps.
35
36Fix a few PLT problems and mudflap build issues.
37
38libebl: Don't expose Ebl structure definition in libebl.h. It's now private.
39
40Version 0.109:
41
42libebl: Check for matching modules.
43
44elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols.
45
46elfcmp: New program.
47
48libdwfl: New library.
49
50Version 0.108:
51
52strip: fix bug introduced in last change
53
54libdw: records returned by dwarf_getsrclines are now sorted by address
55
56Version 0.107:
57
58readelf: improve DWARF output format
59
60strip: support Linux kernel modules
61
62Version 0.106:
63
64libdw: Updated dwarf.h from DWARF3 spec
65libdw: add new funtions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line,
66dwarf_func_col, dwarf_getsrc_file
67
68Version 0.105:
69
70addr2line: New program
71
72libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs,
73dwarf_func_*.
74
75findtextrel: use dwarf_addrdie
76
77Version 0.104:
78
79findtextrel: New program.
80
81Version 0.103:
82
83libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug.
84
85Version 0.102:
86
87More Makefile and spec file cleanups.
88
89Version 0.101:
90
91Remove most gettext autoconf handling.
92
93Add more warnings
94
95Fix resulting problems. One actual bug found and fixed this way
96
97Version 0.100:
98
99libebl: Fix x86-64 relocations.
100
101Add -Wunused -Wextra warnings.
102
103Some cleanups resulting from those additional warnings.
104
105Lots of Makefile cleanup.
106
107Version 0.99:
108
109libelf: add gelf_checksum prototype to <libelf.h>
110
111libelf: fix elf*_checksum handling of NOBITS sections
112
113Finish mudflap support.
114
115Fix three bugs found by mudflap.
116
117ld: add as_needed support
118
119Version 0.98:
120
121readelf: in section to segment mapping, indicate read-only sections.
122
123elflint: more relaxation for GNU ld
124
125Version 0.97:
126
127Fix compiling with gcc 4.0.
128Some tests called elflint without appropriate LD_LIBRARY_PATH.
129
130Version 0.96:
131
132Fix support for platforms with lib64.
133
134Version 0.95:
135
136libebl: add ppc and ppc64 support
137
138readelf: fix minimal memory leak.
139
140Add support to compile with mudflap.
141
142Modernize configure.ac. Move scripts in config subdir.
143
144Modernize *-po directory infrastructure.
145
146libelf: Add gelf_getlib and gelf_update_lib
147
148readelf: print liblist sections
149
150Version 0.94:
151
152Fix some minimal build problems.
153
154Version 0.93:
155
156ibdw: tons of new functionality and bug fixes. Several interface changes.
157
158readelf: use libdw now.
159
160libdwarf: removed completely.
161
162Version 0.92:
163
164configuration changes.
165
166Version 0.91:
167
168libdw: fix memory handling. Implement source line handling.
169nm: use libdw instead of libdwarf.
170libelf: change to GPL from OSL1 for now.
171
172Version 0.90:
173
174libebl: Recognize a few more section types and dynamic tags and return
175approriate strings.
176
177Version 0.89:
178
179strip: fix overwriting of symbol table in input file.
180
181Version 0.88:
182
183libebl: Add some ia64 bits.
184
185Version 0.87:
186
187Bug fixes for big endian and some 64-bit machines.
188
189Version 0.86:
190
191strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes.
192
193ld: tons of changes, moving towards usability.
194
195Version 0.85:
196
197strip: update section group symbol index if the associated symbol table changed
198
199libelf: fix two problems with generating output not via mmap
200
201elflint: add probably 10-15 more tests
202libebl: add support for some of the new tests
203
204ld: gazillion changes
205
206Version 0.84:
207
208elflint: deal with .rel.dyn section. Fix a problem with rela platforms.
209Handle PT_GNU_STACK. Change to write messages to stdout.
210
211readelf: fix a problem with version information in the symbol table output.
212
213strip: update all version symbol table entries
214
215Version 0.83:
216
217size: fix a warning
218
219strip: last changed caused problems when the symbol table is before the
220relocation section. Fixed. This fix also improved the asymptotic
221behavior if many symbol table sections are present.
222
223Version 0.82:
224
225Run strip tests with the correct libelf and libebl.
226
227libelf: fix bug in verneed byte order changing code.
228
229Version 0.81:
230
231strip: Remove unused symbol table entries. This might require updating
232various other sections.
233
234Version 0.80:
235
236Fix some libelf problems with ET_REL files.
237
238Version 0.79:
239
240More warning changes, mainly by jbj.
241
242libdw: yet more new code. dwarf_child and dwarf_sibling should now actually
243work.
244
245Version 0.78:
246
247libdw: 10+ new functions. get-pubnames2 works now fully. Almost all the
248code needed for nm is in place.
249
250Version 0.77:
251
252cleanups to compile cleanly with gcc 3.3 and -Werror.
253
254libdw: some new code.
255
256Version 0.76:
257
258libebl: Fix last patch to recognize relocation sections. We must not
259use the name.
260
261Version 0.75:
262
263libebl: .debug_ranges is a DWARF 3 debug section
264libebl: recognize relocation sections for debug section
265Patches by Jakub Jelinek.
266
267Version 0.74:
268
269Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>.
270
271Version 0.73:
272
27364-bit cleanups for the programs.
274
275Version 0.72:
276
277libelf: and yet more fun with endian tranformation at output time.
278
279Version 0.71:
280
281libelf: more fun with endian tranformation at output time. Add test for it.
282
283Version 0.70:
284
285libelf: Two little bugs left from previous patch to handle section output
286order.
287
288libelf: add unlikely in some more places.
289
290Version 0.69:
291
292libelf: fix output routines to handle case where section indeces and
293ordre in the output file don't match correctly. Patch by Jakub.
294
295elflint: fix test of note section content for 64-bit platforms and files
296with different byte order.
297
298Version 0.68:
299
300libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub)
301
302Version 0.67:
303
304libelf: correct mistake in error string handling.
305
306libelf: Implement ELF_F_PERMISSIVE.
307strip: Implement --permissive option.
308
309Version 0.66:
310
311strip: Implement -g option.
312
313libelf: Handle broken hash table entry sizes.
314
315libebl: New function ebl_debugscn_p. Use it where appropriate.
316
317Version 0.65:
318
319libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set
320
321Version 0.64:
322
323libelf: Make error handling more robust.
324libelf: Use TLS in error handler if configured with --enable-tls
325
326tests: input files are now distributed, not uuencoded in the shell scripts
327
328libdw: implement error handling, dwarf_get_pubnames
329
330Version 0.63:
331
332Build (incomplete) libdw.
333
334Version 0.62:
335
336Get rid of libtool.
337
338Version 0.61:
339
340Fix URL of OSL.
341
342Version 0.60:
343
344libebl: Handle .gnu.warning.* sections correctly.
345
346size: Implement -t option.
347
348libebl: Add IA-64 support.
349libebl: Update SH relocations.
350libebl: Add Alpha support.
351libebl: Add Arm support.
352libebl: Add support for all currently known architecture to the loader.
353
354Version 0.59:
355
356nm: Implement -S option. Correct portable output format. Implement -s option.
357
358libelf: Take offset of archive into account in elf_rand.
359
360Version 0.58:
361
362strip: fix handling of ET_REL files.
363Add tests for strip.
364
365Version 0.57:
366
367strip: respect layout of input file
368
369Version 0.56:
370
371strip: handle files with large number of sections.
372
373Version 0.55:
374
375libelf: quite a few bug fixes by Alex Larsson.
376
377strip: implement -f option to place stripped sections into a separate
378file. By Alex Larsson.
379
380Version 0.54:
381
382strip: don't let STT_SECTION symbols keeps sections from being removed
383
384elflint: local symbols are allowed in .dynsym
385elflint: special case .rel.dyn a bit
386
387Version 0.53:
388
389elflint: check types and flags of special sections defined in gABI
390
391libebl: add x86-64 support
392
393Version 0.52:
394
395Start improvement of debug info handling in nm.
396
397libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them
398
399Version 0.51:
400
401Fix build on 64-bit platforms.
402
403Version 0.50:
404
405nm: print file/line number also for local symbols
406
407use versions scripts not libtool's useless -export-symbols option
408
409Version 0.49:
410
411Update to autoconf 2.54 and automake 1.7.
412
413elflint: check note sections
414
415libdwarf: a number of bug fixes
416
417readelf: print .debug_info section content
418
419dwarf.h: Update from draft 7
420
421Version 0.48:
422
423libcpu: beginning
424
425libelf: new function to read parts of the ELF file
426
427libebl: support for note section handling
428
429readelf: dump note sections
430
431Version 0.47:
432
433libelf: fix little new section-handling related bugs in elf_getshstrndx
434and elf_nextscn
435
436elflint: tests for mandatory content of dynamic section
437
438libasm: better handling of absolute symbols
439
440Version 0.46:
441
442libasm: rewrite to store Elf_Scn* instead of indices
443
444nm: finish many-section support
445
446nm: use debug in to print file/line info in sysv format
447
448libdwarf: fix a few bugs in DIE handling
449
450Version 0.45:
451
452libelf: major rewrite to keep Elf_Scn references valid until elf_end
453
454Version 0.44:
455
456libasm: Add support for bss, ABS, and COM sections.
457
458libebl: ebl_section_name takes now two index arguments to distinguish
459between special sections and extended sections
460
461Version 0.43:
462
463General: fix a few problem gcc 3.1 had with the code.
464
465libelf: implement {gelf,elf32,elf64}_checksum
466
467libelf: optimze DSO: fewer relocations, fewer PLTs
468
469add msg_tst test
470
471ld: use correct section header string table index; write correct index
472
473add dependencies for *.sym files
474
475Version 0.42:
476
477libelf: add elf_getshnum and elf_getshstrndx
478
479libebl: update section type name function
480
481elflint: tons of fixes wrt large number of sections. New tests in this area.
482Same amount of other bug fixes.
483
484size, strip, nm: better support for large number of sections. Including
485using correct section header string table
486
487libasm: correctly create data structures for large number of sections
488
489new tests asm-tst4 and asm-tst5 to check large number of sections
490
491libasm: implement section group generation
492
493elflint: more tests on section groups. Improve performance on existing
494section group tests
495
496Version 0.41:
497
498ld: add undefined symbols to dynamic symbol table if --export-dynamic is
499not given
500
501ld: fix value of e_entry
502
503Version 0.40:
504
505elflint: print section names in error messages
506
507elflint: mustn't warn about multiple DT_NULL
508
509ld: don't emit all symbols if --export-dynamic is not given
510
511ld: correct compute symbol address in output file (section index was off by 1)
512
513ld: generate correct version info in dynsym without --export-dynamic and
514in symtab
515
516Version 0.39:
517
518Fix check of various e_*size entries in elflint.
519
520Handle text output in asm_newsym.
521
522Finish checks in asm-tst3.
523
524Version 0.38:
525
526Update to autoconf 2.53, automake 1.6, gettext 0.11+.
527
528Introduce *.sym files to restrict export from DSOs.
529
530Use attribute_hidden and internal_function to optimize DSO code.
531
532Add TLS definitions in elf.h and handle them in readelf.
533
534Fix bug in verdef section generation in ld.
535
536Add initial libasm code.
537
538Version 0.37:
539
540Implement better hash size optimization heuristic in ld. It uses a formula
541taking number of tests into account.
542
543Lots of small bug fixes.
544
545Improve readelf output format. Respect various sh_link/sh_info values.
546Correctly print versioning information for symbol tables.
547
548Version 0.36:
549
550Implement preprocessing of linker script. Recognize -z combreloc.
551
552Version 0.35:
553
554Implement -z ignore|record for ld.
555
556Implement creating of .gnu.version_r and .gnu.version sections. The
557.gnu.version does not yet contain correct info for defined and versioned
558symbols (means .gnu.version_d is not yet implemented).
559
560Implement gelf_update_* functions to create versioning data.
561
562Version 0.34:
563
564Add DT_RUNPATH/DT_RPATH entries to dynamic section. Create .plt and
565.rel.plt sections (completely). Add support for all four PLT related
566dynamic section entries. Add callback function for PLT creation.
567
568More tests in elflint. Add support for very strict checking which for
569now flags level 2 (deprecated features) usage.
570
571Version 0.33:
572
573Create dynamic symbol table, dynamic string table, and hash table to ld.
574
575Add hash table histogram support to readelf.
576
577Version 0.32:
578
579more work on elflint
580
581ld now creates the dynamic section and references it. Start adding entries
582to dynamic section.
583
584Version 0.31:
585
586Start implementing elflint.
587
588Version 0.30:
589
590Fix handling of NOBITS sections in elf_getdata.
591
592Start implementing generation of executables and DSOs in ld.
593Generation of program header mostly done. Address computation done.
594Extension of linker script syntax.
595
596Various cleanups.
597
598Implement section group handling in readelf.
599
600Version 0.29:
601
602Implement section groups. This involved a lot of code moving. The
603new code is entirely untested since gas/gcc are currently not able to
604create section groups. ld works fine on files without section groups.
605
606Version 0.28:
607
608Fix problem with adding more section in elf_newscn. The section pointers
609for the data buffers wasn't adjusted.
610
611Fix elf_getdata with nonzero second parameter. Correctly handle creation
612of internal data buffer for machines without unaligned access.
613
614Version 0.27:
615
616Start adding support to selectively add sections. Includes support for
617section groups.
618Add --gc-sections/--no-gc-sections options.
619Add general section merging support.
620
621Fix a bug in section group support in strip.
622
623Fix some potential problems with hash value in dynamic hash implementation.
624
625Version 0.26:
626
627section merging works in ld.
628
629Version 0.25:
630
631Actually create data structures from version map file and use it to hide
632symbols in ld.
633
634Implement -s -s for ld.
635
636Version 0.24:
637
638Improve relocation table output in readelf. Avoid some crashes.
639Finish many section handling in readelf.
640
641Finish: finish implementation of ld -r. At least some simple tests pass.
642
643Version 0.23:
644
645Fix a number of errors in ELF_C_WRITE handling.
646
647Almost finished implementation of ld -r. The data sections are all copied.
648Handling of symbol tables is missing.
649
650Version 0.22:
651
652Handle DSO and archive input files correctly if -r option is given.
653
654Gracefully deal with no phdr in new file in libelf.
655Fix various small error handling problems.
656Don't mmap file for output unless the command says so.
657
658Add code to create ELF section header table to ld finalize routines.
659
660Version 0.21:
661
662Fix some problems with recursive handling of archives in libelf.
663
664Improve messages printed by nm.
665
666Add symbol binding name handling to libebl. Fix section name handling in
667libebl.
668
669readelf and nm use more libebl functions.
670
671Handle XINDEX correctly in nm and string.
672
673Add first machine ld backend library (i386).
674Use it. Recognize -r and --shared. Avoid using -lxxx parameters for -r.
675Create ELF header in output file. Change mode of output file according to
676output file type. Reorganize callback initialization in ld.
677
678Version 0.20:
679
680Fix some memory leaks in libelf.
681
682Version 0.19:
683
684Implement reading version script. Both inside linker scripts and via the
685--version-script command line parameter. Uses the same code.
686What remains to be done is to implement a data structure which allows
687efficient matching against the version names to decide which pattern
688matches.
689
690Beginning of output generation and output writing functions.
691
692Version 0.18:
693
694Finish implementation for DSO input file handling. Implement rpath, runpath,
695and LD_LIBRARY_PATH handling.
696
697Version 0.17:
698
699make handling of e_shnum overflow in libelf standard conforming
700
701ld now actually can handle DSOs in linker scripts. Handling of DT_RUNPATH,
702DT_RPATH, -rpath, -rpath-link still remains to be implemented.
703
704fix handling of -L parameters. Make actual use of the default_paths element.
705
706make re-definition of symbols in and from DSO compatible with existing linker
707
708Version 0.16:
709
710more work on assigning input sections to output sections.
711
712Add gelf_xlatetof and gelf_xlatetom which were accidently left out.
713
714Fix memory handling of section headers.
715
716Version 0.15:
717
718Add many-section support to ld. Add various new command line parameters.
719Allow pagesize to be specified in linker script or on the command line.
720Collect input sections in list for the output section according to the rules
721specified in the linker script.
722
723Version 0.14:
724
725Fix some problems in the internal list handling which had the result
726that we didn't look for some of the unresolved symbols.
727
728Free some memory if we know we don't need it anymore.
729
730Optimize the list of unresolved symbols. Throw out symbols which are
731meanwhile resolved.
732
733Version 0.13:
734
735Got file reading correct now. The files are all read while parsing
736the parameters. No creating of data structures to describe the linker
737command line. The symbol table is built up while reading the files.
738DSOs are handled now. -( -) handling is optimized.
739
740Version 0.12:
741
742Linker read linker scripts everywhere. Handles --whole-archive. Recognizes
743--dynamic and --static. Collects defined and undefined symbols. Recognizes
744conflicts.
745
746libebl now defines functions to call the callbacks. Add generic name handling
747in these new functions. Remove the code from readelf and call the new
748functions.
749
750Version 0.11:
751
752Start of linker. Basic argument parsing, finding of input files,
753linker script reading.
754
755Version 0.10:
756
757Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(),
758dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(),
759dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it.
760
761Version 0.9:
762
763Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(),
764dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(),
765and tests for them.
766
767Version 0.8:
768
769Make handling of binaries in other byte order work and add tests for it.
770
771Version 0.7:
772
773Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(),
774dwarf_get_arange_info(), and tests for them.
775
776Version 0.6:
777
778Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(),
779dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them
780
781Version 0.5:
782
783Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(),
784dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(),
785dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(),
786dwarf_lineepiloguebegin(), and tests for them.
787
788Version 0.4:
789
790Implemented dwarf_loclist().
791
792Version 0.3:
793
794Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and
795tests.
796
797Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(),
798dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(),
799dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(),
800dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(),
801dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock,
802dwarf_formstring() and tests for them.
803
804Version 0.2:
805
806Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(),
807dwarf_die_CU_offset(), dwarf_diename() and tests for them.
808
809Version 0.1:
810
811First libdwarf functions work.
812
813Version 0.0:
814
815libelf and parts of libebl are done.