blob: c147ad3cfd3bf0140348a2756c9b0190baef7732 [file] [log] [blame]
Mark Wielaard6b13cb02019-11-26 09:52:24 +01001Version 0.178
2
3debuginfod: New server, client tool and library to index and fetch
4 ELF/DWARF files addressed by build-id through HTTP.
5
6doc: There are now some manual pages for functions and tools.
7
8backends: The libebl libraries are no longer dynamically loaded through
9 dlopen, but are now compiled into libdw.so directly.
10
11readelf: -n, --notes now takes an optional "SECTION" argument.
12 -p and -x now also handle section numbers.
13 New option --dyn-sym to show just the dynamic symbol table.
14
15libcpu: Add RISC-V disassembler.
16
17libdw: Abbrevs and DIEs can now be read concurrently by multiple
18 threads through the same Dwarf handle.
19
20libdwfl: Will try to use debuginfod when installed as fallback to
21 retrieve ELF and DWARF debug data files by build-id.
22
Mark Wielaard5643e032019-08-13 23:53:56 +020023Version 0.177
24
25elfclassify: New tool to analyze ELF objects.
26
27readelf: Print DW_AT_data_member_location as decimal offset.
28 Decode DW_AT_discr_list block attributes.
29
30libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias.
31
32libdwelf: Add dwelf_elf_e_machine_string.
33 dwelf_elf_begin now only returns NULL when there is an error
34 reading or decompressing a file. If the file is not an ELF file
35 an ELF handle of type ELF_K_NONE is returned.
36
37backends: Add support for C-SKY.
38
Mark Wielaard89f5c7b2019-02-14 13:29:39 +010039Version 0.176
40
41build: Add new --enable-install-elfh option.
42 Do NOT use this for system installs (it overrides glibc elf.h).
43
44backends: riscv improved core file and return value location support.
45
46Fixes CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7150,
47 CVE-2019-7664, CVE-2019-7665
48
Mark Wielaard422b5492018-11-14 13:12:24 +010049Version 0.175
50
51readelf: Handle mutliple .debug_macro sections.
52 Recognize and parse GNU Property notes, NT_VERSION notes
53 and GNU Build Attribute ELF Notes.
54
55strip: Handle SHT_GROUP correctly.
56 Add strip --reloc-debug-sections-only option.
57 Handle relocations against GNU compressed sections.
58
59libdwelf: New function dwelf_elf_begin.
60
61libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE.
62
63backends: RISCV handles ADD/SUB relocations. Handle SHT_X86_64_UNWIND.
64
65Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521.
66
Mark Wielaard52b6b2f2018-09-14 12:08:15 +020067Version 0.174
68
69libelf, libdw and all tools now handle extended shnum and shstrndx correctly.
70
71elfcompress: Don't rewrite input file if no section data needs updating.
72 Try harder to keep same file mode bits (suid) on rewrite.
73
74strip: Handle mixed (out of order) allocated/non-allocated sections.
75
76unstrip: Handle SHT_GROUP sections.
77
78backends: RISCV and M68K now have backend implementations to generate CFI based
79 backtraces.
80
81Fixes CVE-2018-16062, CVE-2018-16402 and CVE-2018-16403.
82
Mark Wielaardaa36de02018-06-29 21:02:18 +020083Version 0.173
84
85More fixes for crashes and hangs found by afl-fuzz. In particular various
86functions now detect and break infinite loops caused by bad DIE tree cycles.
87
88readelf: Will now lookup the size and signedness of constant value types
89 to display them correctly (and not just how they were encoded).
90
91libdw: New function dwarf_next_lines to read CU-less .debug_line data.
92 dwarf_begin_elf now accepts ELF files containing just .debug_line
93 or .debug_frame sections (which can be read without needing a DIE
94 tree from the .debug_info section).
95 Removed dwarf_getscn_info, which was never implemented.
96
97backends: Handle BPF simple relocations.
98 The RISCV backends now handles ABI specific CFI and knows about
99 RISCV register types and names.
100
Mark Wielaard7a1fd632018-06-11 17:14:39 +0200101Version 0.172
102
103No functional changes compared to 0.171.
104
105Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 data.
106Thanks to running the afl fuzzer on eu-readelf and various testcases.
107
108eu-readelf -N is ~15% faster.
109
Mark Wielaardcf65ca12018-06-01 21:16:56 +0200110Version 0.171
111
112DWARF5 and split dwarf, including GNU DebugFission, are supported now.
113Data can be read from the new DWARF sections .debug_addr, .debug_line_str,
114.debug_loclists, .debug_str_offsets and .debug_rnglists. Plus the new
115DWARF5 and GNU DebugFission encodings of the existing .debug sections.
116Also in split DWARF .dwo (DWARF object) files. This support is mostly
117handled by existing functions (dwarf_getlocation*, dwarf_getsrclines,
118dwarf_ranges, dwarf_form*, etc.) now returning the data from the new
119sections and data formats. But some new functions have been added
120to more easily get information about skeleton and split compile units
121(dwarf_get_units and dwarf_cu_info), handle new attribute data
122(dwarf_getabbrevattr_data) and to keep references to Dwarf_Dies
123that might come from different sections or files (dwarf_die_addr_die).
124
125Not yet supported are .dwp (Dwarf Package) and .sup (Dwarf Supplementary)
126files, the .debug_names index, the .debug_cu_index and .debug_tu_index
127sections. Only a single .debug_info (and .debug_types) section are
128currently handled.
129
130readelf: Handle all new DWARF5 sections.
131 --debug-dump=info+ will show split unit DIEs when found.
132 --dwarf-skeleton can be used when inspecting a .dwo file.
133 Recognizes GNU locviews with --debug-dump=loc.
134
135libdw: New functions dwarf_die_addr_die, dwarf_get_units,
136 dwarf_getabbrevattr_data and dwarf_cu_info.
137 libdw will now try to resolve the alt file on first use of
138 an alt attribute FORM when not set yet with dwarf_set_alt.
139 dwarf_aggregate_size() now works with multi-dimensional arrays.
140
141libdwfl: Use process_vm_readv when available instead of ptrace.
142
143backends: Add a RISC-V backend.
144
145There were various improvements to build on Windows.
146The sha1 and md5 implementations have been removed, they weren't used.
147
Mark Wielaardd03be4f2017-07-14 17:09:40 +0200148Version 0.170
149
Mark Wielaard02e30932017-07-26 18:32:27 +0200150libdw: Added new DWARF5 attribute, tag, character encoding, language code,
Mark Wielaardf9d791a2017-07-26 23:02:18 +0200151 calling convention, defaulted member function and macro constants
152 to dwarf.h.
Mark Wielaard54ba4ce2017-08-02 18:30:07 +0200153 New functions dwarf_default_lower_bound and dwarf_line_file.
Mark Wielaard274f28c2017-07-26 22:54:59 +0200154 dwarf_peel_type now handles DWARF5 immutable, packed and shared tags.
Mark Wielaardf9d791a2017-07-26 23:02:18 +0200155 dwarf_getmacros now handles DWARF5 .debug_macro sections.
Mark Wielaard8e9c76b2017-07-25 15:29:10 +0200156
Mark Wielaardd03be4f2017-07-14 17:09:40 +0200157strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
158
Mark Wielaard16096792017-07-18 14:12:36 +0200159backends: The bpf disassembler is now always build on all platforms.
160
Mark Wielaard63588582017-05-05 09:47:29 +0200161Version 0.169
162
163backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
164 Frame pointer unwinding fallback support for i386, x86_64, aarch64.
165
166translations: Update Polish translation.
167
Mark Wielaardee38b262016-10-22 19:18:51 +0200168Version 0.168
169
Mark Wielaard515dd0a2016-12-27 15:23:53 +0100170http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
171
172libelf: gelf_newehdr and gelf_newehdr now return void *.
173
Mark Wielaardee38b262016-10-22 19:18:51 +0200174libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1).
175
Mark Wielaard515dd0a2016-12-27 15:23:53 +0100176readelf: Add optional --symbols[=SECTION] argument to select section name.
177
Mark Wielaardaee56062016-08-04 13:36:34 +0200178Version 0.167
179
180libasm: Add eBPF disassembler for EM_BPF files.
181
182backends: Add m68k and BPF backends.
183
184ld: Removed.
185
186dwelf: Add ELF/DWARF string table creation functions. dwelf_strtab_init,
187 dwelf_strtab_add, dwelf_strtab_add_len, dwelf_strtab_finalize,
188 dwelf_strent_off, dwelf_strent_str and dwelf_strtab_free.
189
Mark Wielaard9ba24582016-03-02 15:04:43 +0100190Version 0.166
191
192config: The default program prefix for the installed tools is now eu-.
193 Use configure --program-prefix="" to not use a program prefix.
194
Mark Wielaard79300542016-01-08 14:44:49 +0100195Version 0.165
196
197elfcompress: New utility to compress or decompress ELF sections.
198
199readelf: Add -z,--decompress option.
200
201libelf: Add elf_compress, elf_compress_gnu, elf32_getchdr, elf64_getchdr
202 and gelf_getchdr.
203
204libdwelf: New function dwelf_scn_gnu_compressed_size.
205
206config: Add libelf and libdw pkg-config files.
207
208backends: sparc support for core and live backtraces.
209
210translations: Updated Polish translation.
211
Mark Wielaardd11eea42015-10-15 18:28:34 +0200212Version 0.164
213
214strip, unstrip: Handle ELF files with merged strtab/shstrtab tables.
215 Handle missing SHF_INFO_LINK section flags.
216
217libelf: Use int64_t for offsets in libelf.h instead of loff_t.
218
219libdw: dwarf.h Add preliminary DWARF5 DW_LANG_Haskell.
220
221libdwfl: dwfl_standard_find_debuginfo now searches any subdir of the binary
222 path under the debuginfo root when the separate debug file couldn't
223 be found by build-id.
224 dwfl_linux_proc_attach can now be called before any Dwfl_Modules
225 have been reported.
226
227backends: Better sparc and sparc64 support.
228
229translations: Updated Ukrainian translation.
230
231Provide default-yama-scope subpackage.
232
Mark Wielaardfaf0d3d2015-06-19 13:43:58 +0200233Version 0.163
234
235Bug fixes only, no new features.
236
Petr Machata7f617342015-03-18 19:42:02 +0100237Version 0.162
238
239libdw: Install new header elfutils/known-dwarf.h.
Mark Wielaard027d9112015-06-10 17:44:42 +0200240 dwarf.h Add preliminary DWARF5 constants DW_TAG_atomic_type,
241 DW_LANG_Fortran03, DW_LANG_Fortran08. dwarf_peel_type now also
242 handles DW_TAG_atomic_type.
Petr Machata7f617342015-03-18 19:42:02 +0100243
Mark Wielaardd76d73f2015-05-19 23:08:00 +0200244addr2line: Input addresses are now always interpreted as hexadecimal
245 numbers, never as octal or decimal numbers.
Mark Wielaard70a504d2015-05-19 16:21:27 +0200246 New option -a, --addresses to print address before each entry.
Mark Wielaardcd2da6c2015-05-20 11:52:27 +0200247 New option -C, --demangle to show demangled symbols.
Mark Wielaardb23a5b22015-05-20 14:09:46 +0200248 New option --pretty-print to print all information on one line.
Mark Wielaardd76d73f2015-05-19 23:08:00 +0200249
Mark Wielaard027d9112015-06-10 17:44:42 +0200250ar: CVE-2014-9447 Directory traversal vulnerability in ar extraction.
251
252backends: x32 support.
253
Mark Wielaard3a36e8a2014-10-06 22:00:16 +0200254Version 0.161
255
256libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses
257 dwarf_peel_type to also provide the sizes of qualified types.
Petr Machatafb90bf32014-10-17 02:47:03 +0200258 dwarf_getmacros will now serve either of .debug_macro and
259 .debug_macinfo transparently. New interfaces
260 dwarf_getmacros_off, dwarf_macro_getsrcfiles,
261 dwarf_macro_getparamcnt, and dwarf_macro_param are available
262 for more generalized inspection of macros and their parameters.
Mark Wielaard09dc83d2014-12-18 23:41:41 +0100263 dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11,
264 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
Petr Machatafb90bf32014-10-17 02:47:03 +0200265
Mark Wielaard22497092014-05-26 21:28:05 +0200266Version 0.160
267
Mark Wielaardf18f2332014-08-15 16:03:21 +0200268libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die.
Mark Wielaard5efda262014-08-25 22:13:57 +0200269 dwarf.h remove non-existing DW_TAG_mutable_type.
270
271libdwfl: Handle LZMA .ko.xz compressed kernel modules.
Mark Wielaard209f1492014-08-15 13:08:24 +0200272
Mark Wielaard22497092014-05-26 21:28:05 +0200273unstrip: New option -F, --force to combining files even if some ELF headers
274 don't seem to match.
275
Mark Wielaard5efda262014-08-25 22:13:57 +0200276backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi.
277
Mark Wielaard531a30a2014-01-20 23:09:26 +0100278Version 0.159
279
280stack: New option -d, --debugname to lookup DWARF debuginfo name for frame.
Mark Wielaard13968d92014-01-21 16:13:49 +0100281 New option -i, --inlines to show inlined frames using DWARF debuginfo.
Mark Wielaard531a30a2014-01-20 23:09:26 +0100282
Mark Wielaard93802972014-04-11 23:52:47 +0200283libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level Functions.
Mark Wielaardbb096d02014-05-03 00:23:06 +0200284 New function dwelf_elf_gnu_debuglink, dwelf_dwarf_gnu_debugaltlink,
285 and dwelf_elf_gnu_build_id.
286
287libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and
288 DW_FORM_GNU_strp_alt is now enabled by default and no longer
289 experimental. Added new functions dwarf_getalt and dwarf_setalt
290 to get or set the alternative debug file used for the alt FORMs.
Mark Wielaardf05dff92014-05-18 00:28:26 +0200291 The dwfl_linux_proc_find_elf callback will now find ELF from
292 process memory for (deleted) files if the Dwfl has process state
293 attached.
Mark Wielaardbb096d02014-05-03 00:23:06 +0200294
295libdwfl: The dwfl_build_id_find_debuginfo and dwfl_standard_find_debuginfo
296 functions will now try to resolve and set the alternative debug file.
Mark Wielaard93802972014-04-11 23:52:47 +0200297
Mark Wielaardf05dff92014-05-18 00:28:26 +0200298backends: Add CFI unwinding for arm. Relies on .debug_frame.
299 Add arm process initial register state compatible mode to AARCH64.
300 Add aarch64 native and core unwind support.
301
302other: All separate elfutils-robustify patches have been merged.
303 CVE-2014-0172 Check overflow before calling malloc to uncompress data.
304
Jan Kratochvil3cf491e2013-10-30 10:48:20 +0100305Version 0.158
306
307libdwfl: dwfl_core_file_report has new parameter executable.
Mark Wielaard159ac522013-12-18 11:05:54 +0100308 New functions dwfl_module_getsymtab_first_global,
309 dwfl_module_getsym_info and dwfl_module_addrinfo.
Jan Kratochvil8aa7fbb2013-12-18 14:37:49 +0100310 Added unwinder with type Dwfl_Thread_Callbacks, opaque types
311 Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state,
312 dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread,
313 dwfl_thread_state_registers, dwfl_thread_state_register_pc,
Mark Wielaarde962ec32013-12-20 10:09:12 +0100314 dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes
315 and dwfl_frame_pc.
Jan Kratochvil3cf491e2013-10-30 10:48:20 +0100316
Mark Wielaard159ac522013-12-18 11:05:54 +0100317addr2line: New option -x to show the section an address was found in.
318
Mark Wielaarde962ec32013-12-20 10:09:12 +0100319stack: New utility that uses the new unwinder for processes and cores.
320
Mark Wielaard70db4cc2014-01-03 22:16:34 +0100321backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64.
322 aarch64 support.
323
Mark Wielaardf36d7272013-09-27 14:02:26 +0200324Version 0.157
325
326libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr
327 and dwarf_getlocation_die.
328
Mark Wielaardfb927572013-09-30 13:50:26 +0200329readelf: Show contents of NT_SIGINFO and NT_FILE core notes.
330
Mark Wielaardf36d7272013-09-27 14:02:26 +0200331addr2line: Support -i, --inlines output option.
332
333backends: abi_cfi hook for arm, ppc and s390.
334
Jan Kratochvil904aec22013-04-30 14:27:16 +0200335Version 0.156
336
Jan Kratochvila55b1182013-07-19 00:24:06 +0200337lib: New macro COMPAT_VERSION_NEWPROTO.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200338
Jan Kratochvil934d36c2013-07-19 23:26:28 +0200339libdw: Handle GNU extension opcodes in dwarf_getlocation.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200340
Jan Kratochvil934d36c2013-07-19 23:26:28 +0200341libdwfl: Fix STB_GLOBAL over STB_WEAK preference in dwfl_module_addrsym.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200342 Add minisymtab support.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200343 Add parameter add_p_vaddr to dwfl_report_elf.
344 Use DT_DEBUG library search first.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200345
346libebl: Handle new core note types in EBL.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200347
Jan Kratochvil934d36c2013-07-19 23:26:28 +0200348backends: Interpret NT_ARM_VFP.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200349 Implement core file registers parsing for s390/s390x.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200350
351readelf: Add --elf-section input option to inspect an embedded ELF file.
352 Add -U, --unresolved-address-offsets output control.
353 Add --debug-dump=decodedline support.
354 Accept version 8 .gdb_index section format.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200355 Adjust output formatting width.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200356 When highpc is in constant form print it also as address.
357 Display raw .debug_aranges. Use libdw only for decodedaranges.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200358
359elflint: Add __bss_start__ to the list of allowed symbols.
360
361tests: Add configure --enable-valgrind option to run all tests under valgrind.
362 Enable automake parallel-tests for make check.
363
364translations: Updated Polish translation.
365
366Updates for Automake 1.13.
Jan Kratochvil904aec22013-04-30 14:27:16 +0200367
Mark Wielaardc4010b82012-07-24 13:20:41 +0200368Version 0.155
369
Mark Wielaard27751ed2012-08-22 09:57:36 +0200370libelf: elf*_xlatetomd now works for cross-endian ELF note data.
Mark Wielaarda2210f82012-08-21 12:22:08 +0200371 elf_getshdr now works consistently on non-mmaped ELF files after
372 calling elf_cntl(ELF_C_FDREAD).
373 Implement support for ar archives with 64-bit symbol table.
374
Mark Wielaardc4010b82012-07-24 13:20:41 +0200375libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
376 Any existing sources using the old name will have to be updated.
Mark Wielaarda2210f82012-08-21 12:22:08 +0200377 Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
378 and DW_OP_GNU_parameter_ref to dwarf.h.
Mark Wielaardf5519fc2012-08-24 13:54:52 +0200379 Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt
380 and DW_FORM_GNU_strp_alt. Disabled by default. Use configure
381 --enable-dwz to test it.
Mark Wielaarda2210f82012-08-21 12:22:08 +0200382
383readelf: Add .debug_macro parsing support.
384 Add .gdb_index version 7 parsing support.
385 Recognize DW_OP_GNU_parameter_ref.
Mark Wielaardc4010b82012-07-24 13:20:41 +0200386
Mark Wielaard3cb9e8c2012-08-27 15:31:31 +0200387backends: Add support for Tilera TILE-Gx processor.
388
389translations: Updated Ukrainian translation.
390
Mark Wielaard54797252012-04-27 13:00:50 +0200391Version 0.154
392
Mark Wielaardd7bde9b2012-06-22 14:14:08 +0200393libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
394
Mark Wielaard54797252012-04-27 13:00:50 +0200395libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
Mark Wielaardd7bde9b2012-06-22 14:14:08 +0200396 Fix bug using dwarf_next_unit to iterate over .debug_types.
397
398elflint: Now accepts gold linker produced executables.
Mark Wielaard54797252012-04-27 13:00:50 +0200399
Mark Wielaardde2ed972012-06-05 17:15:16 +0200400The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
401programs. There is now also a formal CONTRIBUTING document describing how to
402submit patches.
403
Roland McGrath725aad52011-02-23 19:52:46 -0800404Version 0.153
405
406libdw: Support reading .zdebug_* DWARF sections compressed via zlib.
407
Mark Wielaard52d1f922012-01-22 19:28:20 +0100408libdwfl: Speed up dwfl_module_addrsym.
409
Ulrich Drepperb4a16cf2011-10-02 08:33:19 -0400410nm: Support C++ demangling.
411
Roland McGrathe5ba2a12011-11-05 21:08:07 -0700412ar: Support D modifier for "deterministic output" with no uid/gid/mtime info.
Roland McGrath6e063d92012-01-20 11:43:36 -0800413 The U modifier is the inverse.
Roland McGrath3284b792012-01-20 12:51:46 -0800414 elfutils can be configured with the --enable-deterministic-archives
415 option to make the D behavior the default when U is not specified.
Mark Wielaard52d1f922012-01-22 19:28:20 +0100416
Roland McGrath6e063d92012-01-20 11:43:36 -0800417ranlib: Support -D and -U flags with same meaning.
Roland McGrathe5ba2a12011-11-05 21:08:07 -0700418
Mark Wielaard52d1f922012-01-22 19:28:20 +0100419readelf: Improve output of -wline. Add support for printing SDT elf notes.
Roland McGratha77881a2012-01-23 10:34:17 -0800420 Add printing of .gdb_index section.
421 Support for typed DWARF stack, call_site and entry_value.
Mark Wielaard52d1f922012-01-22 19:28:20 +0100422
423strip: Add --reloc-debug-sections option.
424 Improved SHT_GROUP sections handling.
425
Roland McGrathf339cd62011-02-02 17:24:53 -0800426Version 0.152
427
Roland McGrath8a7b6232011-02-08 19:40:19 -0800428Various build and warning nits fixed for newest GCC and Autoconf.
429
Roland McGrathf339cd62011-02-02 17:24:53 -0800430libdwfl: Yet another prelink-related fix for another regression.
Roland McGrath788cc882011-02-11 12:38:36 -0800431 Look for Linux kernel images in files named with compression suffixes.
Roland McGrathf339cd62011-02-02 17:24:53 -0800432
Roland McGrath1fb9c912011-02-11 10:32:30 -0800433elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
Roland McGrath4a14ef72011-02-11 10:42:45 -0800434 New flag -l/--verbose to print all differences.
Roland McGrath1fb9c912011-02-11 10:32:30 -0800435
Roland McGrathf6315952011-01-11 10:33:32 -0800436Version 0.151
437
438libdwfl: Fix for more prelink cases with separate debug file.
439
440strip: New flag --strip-sections to remove section headers entirely.
441
Roland McGrath65d8e4e2010-11-22 17:35:56 -0800442Version 0.150
443
444libdw: Fix for handling huge .debug_aranges section.
445
446libdwfl: Fix for handling prelinked DSO with separate debug file.
447
448findtextrel: Fix diagnostics to work with usual section ordering.
449
450libebl: i386 backend fix for multi-register integer return value location.
451
Roland McGrathde44f132010-08-24 15:38:42 -0700452Version 0.149:
453
Roland McGrath932585d2010-05-08 04:01:14 -0700454libdw: Decode new DW_OP_GNU_implicit_pointer operation;
455 new function dwarf_getlocation_implicit_pointer.
456
Roland McGrathde44f132010-08-24 15:38:42 -0700457libdwfl: New function dwfl_dwarf_line.
458
Roland McGrath5c45def2010-09-09 23:55:32 -0700459addr2line: New flag -F/--flags to print more DWARF line information details.
Roland McGrathde44f132010-08-24 15:38:42 -0700460
Roland McGrath6849dbb2010-09-09 23:26:12 -0700461strip: -g recognizes .gdb_index as a debugging section.
462
Roland McGrath1fa6bf42010-05-06 01:14:32 -0700463Version 0.148:
464
Roland McGrath2b1f0952010-06-20 17:55:50 -0700465libdw: Accept DWARF 4 format: new functions dwarf_next_unit, dwarf_offdie_types.
Roland McGrathc70cf4e2010-06-18 17:01:05 -0700466 New functions dwarf_lineisa, dwarf_linediscriminator, dwarf_lineop_index.
Roland McGrath3e4b5bb2010-06-16 03:40:56 -0700467
Roland McGrath1fa6bf42010-05-06 01:14:32 -0700468libdwfl: Fixes in core-file handling, support cores from PIEs.
469 When working from build IDs, don't open a named file that mismatches.
470
Roland McGrath2b1f0952010-06-20 17:55:50 -0700471readelf: Handle DWARF 4 formats.
Roland McGrath7fac1ce2010-06-01 15:56:58 -0700472
Roland McGrathfba8ec82010-05-03 11:42:53 -0700473Version 0.147:
474
475libdw: Fixes in CFI handling, best possible handling of bogus CFA ops.
476
477libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r bugs.
478
Ulrich Drepperad64d8e2010-03-04 21:51:19 -0800479Version 0.146:
480
Roland McGrath8068e062010-03-10 23:49:13 -0800481libdwfl: New function dwfl_core_file_report.
482
Roland McGrath056d6932010-02-15 16:05:58 -0800483Version 0.145:
484
485Fix build with --disable-dependency-tracking.
486
487Fix build with most recent glibc headers.
488
Roland McGrath4b0ee3b2010-02-18 14:04:45 -0800489libelf: More robust to bogus section headers.
490
Roland McGrath056d6932010-02-15 16:05:58 -0800491libdw: Fix CFI decoding.
492
493libdwfl: Fix address bias returned by CFI accessors.
Roland McGrath4b0ee3b2010-02-18 14:04:45 -0800494 Fix core file module layout identification.
Roland McGrath056d6932010-02-15 16:05:58 -0800495
496readelf: Fix CFI decoding.
497
Roland McGrathec9746f2010-01-04 22:08:45 -0800498Version 0.144:
499
Roland McGrath6fd3cd12010-01-07 19:41:04 -0800500libelf: New function elf_getphdrnum.
501 Now support using more than 65536 program headers in a file.
502
Roland McGrathebc5c882010-01-05 22:53:31 -0800503libdw: New function dwarf_aggregate_size for computing (constant) type
504 sizes, including array_type cases with nontrivial calculation.
505
Roland McGrathec9746f2010-01-04 22:08:45 -0800506readelf: Don't give errors for missing info under -a.
507 Handle Linux "VMCOREINFO" notes under -n.
508
Roland McGrathde69d522009-08-07 18:26:19 -0700509Version 0.143:
510
511libdw: Various convenience functions for individual attributes now use
512 dwarf_attr_integrate to look up indirect inherited attributes.
Roland McGrath7e0aecd2009-09-17 15:02:34 -0700513 Location expression handling now supports DW_OP_implicit_value.
Roland McGrathde69d522009-08-07 18:26:19 -0700514
Roland McGrathe5a1a812009-08-26 03:05:50 -0700515libdwfl: Support automatic decompression of files in XZ format,
516 and of Linux kernel images made with bzip2 or LZMA (as well as gzip).
Roland McGrathd6ccdc12009-08-26 00:23:01 -0700517
Ulrich Drepperf1894932009-06-13 15:55:42 -0700518Version 0.142:
519
520libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias
Ulrich Drepperb4a16cf2011-10-02 08:33:19 -0400521 for elf_getshstrndx and deprecate original names. Sun screwed up
522 their implementation and asked for a solution.
Ulrich Drepperf1894932009-06-13 15:55:42 -0700523
Ulrich Drepper70c442c2009-07-08 00:53:24 -0700524libebl: Add support for STB_GNU_UNIQUE.
525
Ulrich Drepper96d950e2009-07-14 10:42:01 -0700526elflint: Add support for STB_GNU_UNIQUE.
527
Roland McGrath5dbccdb2009-06-28 14:48:02 -0700528readelf: Add -N option, speeds up DWARF printing without address->name lookups.
529
Roland McGrath409fe102009-07-23 11:32:47 -0700530libdw: Add support for decoding DWARF CFI into location description form.
531 Handle some new DWARF 3 expression operations previously omitted.
532 Basic handling of some new encodings slated for DWARF 4.
533
Roland McGrath54eb8902009-04-14 03:18:10 -0700534Version 0.141:
535
Roland McGratheb9ba472009-04-14 18:44:45 -0700536libebl: sparc backend fixes;
537 some more arm backend support
Roland McGrathd86e1832009-04-20 00:49:33 -0700538
Roland McGrath54eb8902009-04-14 03:18:10 -0700539libdwfl: fix dwfl_module_build_id for prelinked DSO case;
540 fixes in core file support;
541 dwfl_module_getsym interface improved for non-address symbols
Roland McGrathd86e1832009-04-20 00:49:33 -0700542
Roland McGrath54eb8902009-04-14 03:18:10 -0700543strip: fix infinite loop on strange inputs with -f
544
Roland McGrathd86e1832009-04-20 00:49:33 -0700545addr2line: take -j/--section=NAME option for binutils compatibility
546 (same effect as '(NAME)0x123' syntax already supported)
547
Ulrich Drepper8a3b0fa2009-02-16 11:02:37 -0800548Version 0.140:
549
550libelf: Fix regression in creation of section header
551
552libdwfl: Less strict behavior if DWARF reader ist just used to display data
553
Ulrich Drepper3bf57592009-01-01 18:52:05 -0800554Version 0.139:
555
556libcpu: Add Intel SSE4 disassembler support
557
Ulrich Drepper05d2b202009-01-16 17:58:54 -0800558readelf: Implement call frame information and exception handling dumping.
Ulrich Drepperb4a16cf2011-10-02 08:33:19 -0400559 Add -e option. Enable it implicitly for -a.
Ulrich Drepperac194d02009-01-06 00:30:01 -0800560
Ulrich Drepper3a52c7a2009-01-16 21:11:49 -0800561elflint: Check PT_GNU_EH_FRAME program header entry.
562
Roland McGrathd666b002009-01-06 02:14:26 -0800563libdwfl: Support automatic gzip/bzip2 decompression of ELF files.
564
Roland McGrathd8ca9bd2008-12-24 01:09:18 -0800565Version 0.138:
566
567Install <elfutils/version.h> header file for applications to use in source
568version compatibility checks.
569
570libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM
571
572libcpu: disassembler fixes
573
574libdwfl: bug fixes
575
576libelf: bug fixes
577
578nm: bug fixes for handling corrupt input files
579
Ulrich Drepperbb48a272008-08-27 03:01:47 +0000580Version 0.137:
581
582Minor fixes for unreleased 0.136 release.
583
Roland McGrathb4d6f0f2008-08-25 22:55:17 +0000584Version 0.136:
585
586libdwfl: bug fixes; new "segment" interfaces;
587 all the libdwfl-based tools now support --core=COREFILE option
588
Roland McGrathb37d2532008-05-07 18:38:35 +0000589Version 0.135:
590
591libdwfl: bug fixes
592
593strip: changed handling of ET_REL files wrt symbol tables and relocs
594
Roland McGrath60982e62008-04-05 00:40:51 +0000595Version 0.134:
596
597elflint: backend improvements for sparc, alpha
598
599libdwfl, libelf: bug fixes
600
Roland McGrath47c5c352008-02-29 10:17:16 +0000601Version 0.133:
602
603readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
604
605readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
606
607libdwfl: bug fixes and optimization in relocation handling
608
609elfcmp: bug fix for non-allocated section handling
610
Ulrich Drepper1c5928d2008-03-01 18:34:56 +0000611ld: implement newer features of binutils linker.
612
Ulrich Drepper28a0c612008-01-21 18:57:48 +0000613Version 0.132:
614
615libcpu: Implement x86 and x86-64 disassembler.
616libasm: Add interface for disassembler.
617
618all programs: add debugging of branch prediction.
619
620libelf: new function elf_scnshndx.
621
Roland McGrath478a9602007-11-08 00:59:30 +0000622Version 0.131:
623
624libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated;
625 bug fixes for oddly-formatted DWARF
626
627libdwfl: bug fixes in offline archive support, symbol table handling;
628 apply partial relocations for dwfl_module_address_section on ET_REL
629
630libebl: powerpc backend support for Altivec registers
631
Roland McGrathc76f0b02007-09-27 07:31:33 +0000632Version 0.130:
633
634readelf: -p option can take an argument like -x for one section,
Roland McGrath59ea7f32007-10-04 08:50:09 +0000635 or no argument (as before) for all SHF_STRINGS sections;
Ulrich Drepperb597dfa2007-10-16 05:21:27 +0000636 new option --archive-index (or -c);
637 improved -n output for core files, on many machines
Roland McGrath59ea7f32007-10-04 08:50:09 +0000638
639libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
640 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
641
642readelf, elflint: handle SHT_NOTE sections without requiring phdrs
643
Ulrich Drepperb597dfa2007-10-16 05:21:27 +0000644elflint: stricter checks on debug sections
645
Roland McGrath59ea7f32007-10-04 08:50:09 +0000646libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo,
647 dwfl_module_build_id, dwfl_module_report_build_id;
648 support dynamic symbol tables found via phdrs;
649 dwfl_standard_find_debuginfo now uses build IDs when available
650
651unstrip: new option --list (or -n)
Roland McGrathc76f0b02007-09-27 07:31:33 +0000652
Ulrich Drepperb597dfa2007-10-16 05:21:27 +0000653libebl: backend improvements for sparc, alpha, powerpc
654
Roland McGrath60fc84c2007-08-03 21:59:15 +0000655Version 0.129:
656
657readelf: new options --hex-dump (or -x), --strings (or -p)
658
659addr2line: new option --symbols (or -S)
660
Roland McGrath4be15242007-04-25 03:09:33 +0000661Version 0.128:
662
663new program: unstrip
664
665elfcmp: new option --hash-inexact
666
Ulrich Dreppera1090f82007-03-30 19:16:14 +0000667Version 0.127:
Ulrich Drepper6258e742007-03-13 06:22:40 +0000668
Roland McGrath43da9892007-04-16 23:13:37 +0000669libdw: new function dwarf_getsrcdirs
670
Ulrich Drepperf527aa82007-04-19 04:15:00 +0000671libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
672 dwfl_module_address_section
Ulrich Drepper6258e742007-03-13 06:22:40 +0000673
Ulrich Drepperce0bdb62007-02-05 07:13:52 +0000674Version 0.126:
675
676new program: ar
677
Ulrich Drepper56bc0b82006-12-18 22:38:08 +0000678Version 0.125:
679
680elflint: Compare DT_GNU_HASH tests.
681
682move archives into -static RPMs
683
684libelf, elflint: better support for core file handling
685
Roland McGrathc373d852006-10-10 00:25:21 +0000686Version 0.124:
687
688libebl: sparc backend support for return value location
689
690libebl, libdwfl: backend register name support extended with more info
691
692libelf, libdw: bug fixes for unaligned accesses on machines that care
693
694readelf, elflint: trivial bugs fixed
695
Roland McGrath1dee3602006-08-15 01:57:03 +0000696Version 0.123:
697
698libebl: Backend build fixes, thanks to Stepan Kasal.
699
700libebl: ia64 backend support for register names, return value location
701
702libdwfl: Handle truncated linux kernel module section names.
703
704libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix.
705
706elflint: Fix checks to permit --hash-style=gnu format.
707
Ulrich Drepper28ed8952006-07-07 03:43:47 +0000708Version 0.122:
709
Ulrich Dreppercc415622006-07-12 19:42:23 +0000710libebl: add function to test for relative relocation
Ulrich Drepper28ed8952006-07-07 03:43:47 +0000711
712elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
713
714elflint, readelf: add support for DT_GNU_HASH
715libelf: add elf_gnu_hash
716
717elflint, readelf: add support for 64-bit SysV-style hash tables
718
Ulrich Dreppercc415622006-07-12 19:42:23 +0000719libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
720
Ulrich Drepperd9a87122006-05-28 08:00:33 +0000721Version 0.121:
722
723libelf: bug fixes for rewriting existing files when using mmap.
724
725make all installed headers usable in C++ code.
726
727readelf: better output format.
728
Ulrich Drepper6ca46002006-06-12 22:40:23 +0000729elflint: fix tests of dynamic section content.
730
731ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patches.
732
Ulrich Drepperd9a87122006-05-28 08:00:33 +0000733libdw, libdwfl: handle files without aranges info.
734
Ulrich Drepper361df7d2006-04-04 21:38:57 +0000735Version 0.120:
736
737Bug fixes.
738
739dwarf.h updated for DWARF 3.0 final specification.
740
741libdwfl: New function dwfl_version.
742
Ulrich Drepper82c345d2006-04-04 22:07:54 +0000743The license is now GPL for most files. The libelf, libebl, libdw,
744and libdwfl libraries have additional exceptions. Add reference to
745OIN.
746
tailor808b4122006-01-13 18:50:48 +0000747Version 0.119:
748
749bug fixes
750
Ulrich Drepper607e0542005-12-04 15:51:06 +0000751Version 0.118:
752
753elflint: more tests.
754
Roland McGrath994b4892005-12-05 22:46:21 +0000755libdwfl: New function dwfl_module_register_names.
756
757libebl: New backend hook for register names.
758
Roland McGrath37ecca72005-11-18 01:42:03 +0000759Version 0.117:
760
761libdwfl: New function dwfl_module_return_value_location.
762
763libebl: Backend improvements for several CPUs.
764
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000765Version 0.116:
766
767libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu,
Roland McGrath6724c902005-10-28 07:07:19 +0000768 dwarf_entry_breakpoints. Removed Dwarf_Func type and functions
769 dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc,
770 dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses
771 Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col
772 replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column;
773 dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die.
774 Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist,
775 dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr.
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000776
Roland McGrathc94e47d2005-08-27 10:37:20 +0000777Version 0.115:
778
Ulrich Drepperfbe998a2005-08-29 16:27:10 +0000779libelf: speed-ups of non-mmap reading.
780
781strings: New program.
782
783Implement --enable-gcov option for configure.
784
Roland McGrathc94e47d2005-08-27 10:37:20 +0000785libdw: New function dwarf_getscopes_die.
786
Ulrich Drepper5d832292005-08-15 21:36:27 +0000787Version 0.114:
788
789libelf: new function elf_getaroff
790
Roland McGratha5c26432005-08-18 23:41:56 +0000791libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances.
792
Roland McGrath7c777292005-08-24 18:53:53 +0000793libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address,
794 dwfl_linux_kernel_report_offline.
795
Ulrich Drepper5d832292005-08-15 21:36:27 +0000796ranlib: new program
797
Ulrich Drepper637963b2005-08-07 05:33:07 +0000798Version 0.113:
799
800elflint: relax a bit. Allow version definitions for defined symbols against
801DSO versions also for symbols in nobits sections. Allow .rodata section
802to have STRINGS and MERGE flag set.
803
Roland McGrath1c83bf12005-08-11 07:03:55 +0000804strip: add some more compatibility with binutils.
805
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000806Version 0.112:
807
808elfcmp: some more relaxation.
809
Ulrich Drepperdbace232005-08-06 01:37:23 +0000810elflint: many more tests, especially regarding to symbol versioning.
Ulrich Drepper41de4882005-08-03 00:02:56 +0000811
812libelf: Add elfXX_offscn and gelf_offscn.
813
Ulrich Dreppera38998e2005-08-03 02:05:39 +0000814libasm: asm_begin interface changes.
815
816libebl: Add three new interfaces to directly access machine, class, and
817data encoding information.
818
Ulrich Drepper8a687742005-08-03 02:24:12 +0000819objdump: New program. Just the beginning.
820
Ulrich Drepper70189152005-07-28 21:31:36 +0000821Version 0.111:
822
823libdw: now contains all of libdwfl. The latter is not installed anymore.
824
825elfcmp: little usability tweak, name and index of differing section is printed.
826
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000827Version 0.110:
828
Roland McGrath1c83bf12005-08-11 07:03:55 +0000829libelf: fix a number of problems with elf_update
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000830
831elfcmp: fix a few bugs. Compare gaps.
832
833Fix a few PLT problems and mudflap build issues.
834
835libebl: Don't expose Ebl structure definition in libebl.h. It's now private.
836
837Version 0.109:
838
839libebl: Check for matching modules.
840
841elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols.
842
843elfcmp: New program.
844
845libdwfl: New library.
846
847Version 0.108:
848
849strip: fix bug introduced in last change
850
851libdw: records returned by dwarf_getsrclines are now sorted by address
852
853Version 0.107:
854
855readelf: improve DWARF output format
856
857strip: support Linux kernel modules
858
859Version 0.106:
860
861libdw: Updated dwarf.h from DWARF3 spec
862libdw: add new funtions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line,
863dwarf_func_col, dwarf_getsrc_file
864
865Version 0.105:
866
867addr2line: New program
868
869libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs,
870dwarf_func_*.
871
872findtextrel: use dwarf_addrdie
873
874Version 0.104:
875
876findtextrel: New program.
877
878Version 0.103:
879
880libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug.
881
882Version 0.102:
883
884More Makefile and spec file cleanups.
885
886Version 0.101:
887
888Remove most gettext autoconf handling.
889
890Add more warnings
891
892Fix resulting problems. One actual bug found and fixed this way
893
894Version 0.100:
895
896libebl: Fix x86-64 relocations.
897
898Add -Wunused -Wextra warnings.
899
900Some cleanups resulting from those additional warnings.
901
902Lots of Makefile cleanup.
903
904Version 0.99:
905
906libelf: add gelf_checksum prototype to <libelf.h>
907
908libelf: fix elf*_checksum handling of NOBITS sections
909
910Finish mudflap support.
911
912Fix three bugs found by mudflap.
913
914ld: add as_needed support
915
916Version 0.98:
917
918readelf: in section to segment mapping, indicate read-only sections.
919
920elflint: more relaxation for GNU ld
921
922Version 0.97:
923
924Fix compiling with gcc 4.0.
925Some tests called elflint without appropriate LD_LIBRARY_PATH.
926
927Version 0.96:
928
929Fix support for platforms with lib64.
930
931Version 0.95:
932
933libebl: add ppc and ppc64 support
934
935readelf: fix minimal memory leak.
936
937Add support to compile with mudflap.
938
939Modernize configure.ac. Move scripts in config subdir.
940
941Modernize *-po directory infrastructure.
942
943libelf: Add gelf_getlib and gelf_update_lib
944
945readelf: print liblist sections
946
947Version 0.94:
948
949Fix some minimal build problems.
950
951Version 0.93:
952
953ibdw: tons of new functionality and bug fixes. Several interface changes.
954
955readelf: use libdw now.
956
957libdwarf: removed completely.
958
959Version 0.92:
960
961configuration changes.
962
963Version 0.91:
964
965libdw: fix memory handling. Implement source line handling.
966nm: use libdw instead of libdwarf.
967libelf: change to GPL from OSL1 for now.
968
969Version 0.90:
970
971libebl: Recognize a few more section types and dynamic tags and return
972approriate strings.
973
974Version 0.89:
975
976strip: fix overwriting of symbol table in input file.
977
978Version 0.88:
979
980libebl: Add some ia64 bits.
981
982Version 0.87:
983
984Bug fixes for big endian and some 64-bit machines.
985
986Version 0.86:
987
988strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes.
989
990ld: tons of changes, moving towards usability.
991
992Version 0.85:
993
994strip: update section group symbol index if the associated symbol table changed
995
996libelf: fix two problems with generating output not via mmap
997
998elflint: add probably 10-15 more tests
999libebl: add support for some of the new tests
1000
1001ld: gazillion changes
1002
1003Version 0.84:
1004
1005elflint: deal with .rel.dyn section. Fix a problem with rela platforms.
1006Handle PT_GNU_STACK. Change to write messages to stdout.
1007
1008readelf: fix a problem with version information in the symbol table output.
1009
1010strip: update all version symbol table entries
1011
1012Version 0.83:
1013
1014size: fix a warning
1015
1016strip: last changed caused problems when the symbol table is before the
1017relocation section. Fixed. This fix also improved the asymptotic
1018behavior if many symbol table sections are present.
1019
1020Version 0.82:
1021
1022Run strip tests with the correct libelf and libebl.
1023
1024libelf: fix bug in verneed byte order changing code.
1025
1026Version 0.81:
1027
1028strip: Remove unused symbol table entries. This might require updating
1029various other sections.
1030
1031Version 0.80:
1032
1033Fix some libelf problems with ET_REL files.
1034
1035Version 0.79:
1036
1037More warning changes, mainly by jbj.
1038
1039libdw: yet more new code. dwarf_child and dwarf_sibling should now actually
1040work.
1041
1042Version 0.78:
1043
1044libdw: 10+ new functions. get-pubnames2 works now fully. Almost all the
1045code needed for nm is in place.
1046
1047Version 0.77:
1048
1049cleanups to compile cleanly with gcc 3.3 and -Werror.
1050
1051libdw: some new code.
1052
1053Version 0.76:
1054
1055libebl: Fix last patch to recognize relocation sections. We must not
1056use the name.
1057
1058Version 0.75:
1059
1060libebl: .debug_ranges is a DWARF 3 debug section
1061libebl: recognize relocation sections for debug section
1062Patches by Jakub Jelinek.
1063
1064Version 0.74:
1065
1066Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>.
1067
1068Version 0.73:
1069
107064-bit cleanups for the programs.
1071
1072Version 0.72:
1073
1074libelf: and yet more fun with endian tranformation at output time.
1075
1076Version 0.71:
1077
1078libelf: more fun with endian tranformation at output time. Add test for it.
1079
1080Version 0.70:
1081
1082libelf: Two little bugs left from previous patch to handle section output
1083order.
1084
1085libelf: add unlikely in some more places.
1086
1087Version 0.69:
1088
1089libelf: fix output routines to handle case where section indeces and
1090ordre in the output file don't match correctly. Patch by Jakub.
1091
1092elflint: fix test of note section content for 64-bit platforms and files
1093with different byte order.
1094
1095Version 0.68:
1096
1097libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub)
1098
1099Version 0.67:
1100
1101libelf: correct mistake in error string handling.
1102
1103libelf: Implement ELF_F_PERMISSIVE.
1104strip: Implement --permissive option.
1105
1106Version 0.66:
1107
1108strip: Implement -g option.
1109
1110libelf: Handle broken hash table entry sizes.
1111
1112libebl: New function ebl_debugscn_p. Use it where appropriate.
1113
1114Version 0.65:
1115
1116libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set
1117
1118Version 0.64:
1119
1120libelf: Make error handling more robust.
1121libelf: Use TLS in error handler if configured with --enable-tls
1122
1123tests: input files are now distributed, not uuencoded in the shell scripts
1124
1125libdw: implement error handling, dwarf_get_pubnames
1126
1127Version 0.63:
1128
1129Build (incomplete) libdw.
1130
1131Version 0.62:
1132
1133Get rid of libtool.
1134
1135Version 0.61:
1136
1137Fix URL of OSL.
1138
1139Version 0.60:
1140
1141libebl: Handle .gnu.warning.* sections correctly.
1142
1143size: Implement -t option.
1144
1145libebl: Add IA-64 support.
1146libebl: Update SH relocations.
1147libebl: Add Alpha support.
1148libebl: Add Arm support.
1149libebl: Add support for all currently known architecture to the loader.
1150
1151Version 0.59:
1152
1153nm: Implement -S option. Correct portable output format. Implement -s option.
1154
1155libelf: Take offset of archive into account in elf_rand.
1156
1157Version 0.58:
1158
1159strip: fix handling of ET_REL files.
1160Add tests for strip.
1161
1162Version 0.57:
1163
1164strip: respect layout of input file
1165
1166Version 0.56:
1167
1168strip: handle files with large number of sections.
1169
1170Version 0.55:
1171
1172libelf: quite a few bug fixes by Alex Larsson.
1173
1174strip: implement -f option to place stripped sections into a separate
1175file. By Alex Larsson.
1176
1177Version 0.54:
1178
1179strip: don't let STT_SECTION symbols keeps sections from being removed
1180
1181elflint: local symbols are allowed in .dynsym
1182elflint: special case .rel.dyn a bit
1183
1184Version 0.53:
1185
1186elflint: check types and flags of special sections defined in gABI
1187
1188libebl: add x86-64 support
1189
1190Version 0.52:
1191
1192Start improvement of debug info handling in nm.
1193
1194libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them
1195
1196Version 0.51:
1197
1198Fix build on 64-bit platforms.
1199
1200Version 0.50:
1201
1202nm: print file/line number also for local symbols
1203
1204use versions scripts not libtool's useless -export-symbols option
1205
1206Version 0.49:
1207
1208Update to autoconf 2.54 and automake 1.7.
1209
1210elflint: check note sections
1211
1212libdwarf: a number of bug fixes
1213
1214readelf: print .debug_info section content
1215
1216dwarf.h: Update from draft 7
1217
1218Version 0.48:
1219
1220libcpu: beginning
1221
1222libelf: new function to read parts of the ELF file
1223
1224libebl: support for note section handling
1225
1226readelf: dump note sections
1227
1228Version 0.47:
1229
1230libelf: fix little new section-handling related bugs in elf_getshstrndx
1231and elf_nextscn
1232
1233elflint: tests for mandatory content of dynamic section
1234
1235libasm: better handling of absolute symbols
1236
1237Version 0.46:
1238
1239libasm: rewrite to store Elf_Scn* instead of indices
1240
1241nm: finish many-section support
1242
1243nm: use debug in to print file/line info in sysv format
1244
1245libdwarf: fix a few bugs in DIE handling
1246
1247Version 0.45:
1248
1249libelf: major rewrite to keep Elf_Scn references valid until elf_end
1250
1251Version 0.44:
1252
1253libasm: Add support for bss, ABS, and COM sections.
1254
1255libebl: ebl_section_name takes now two index arguments to distinguish
1256between special sections and extended sections
1257
1258Version 0.43:
1259
1260General: fix a few problem gcc 3.1 had with the code.
1261
1262libelf: implement {gelf,elf32,elf64}_checksum
1263
1264libelf: optimze DSO: fewer relocations, fewer PLTs
1265
1266add msg_tst test
1267
1268ld: use correct section header string table index; write correct index
1269
1270add dependencies for *.sym files
1271
1272Version 0.42:
1273
1274libelf: add elf_getshnum and elf_getshstrndx
1275
1276libebl: update section type name function
1277
1278elflint: tons of fixes wrt large number of sections. New tests in this area.
1279Same amount of other bug fixes.
1280
1281size, strip, nm: better support for large number of sections. Including
1282using correct section header string table
1283
1284libasm: correctly create data structures for large number of sections
1285
1286new tests asm-tst4 and asm-tst5 to check large number of sections
1287
1288libasm: implement section group generation
1289
1290elflint: more tests on section groups. Improve performance on existing
1291section group tests
1292
1293Version 0.41:
1294
1295ld: add undefined symbols to dynamic symbol table if --export-dynamic is
1296not given
1297
1298ld: fix value of e_entry
1299
1300Version 0.40:
1301
1302elflint: print section names in error messages
1303
1304elflint: mustn't warn about multiple DT_NULL
1305
1306ld: don't emit all symbols if --export-dynamic is not given
1307
1308ld: correct compute symbol address in output file (section index was off by 1)
1309
1310ld: generate correct version info in dynsym without --export-dynamic and
1311in symtab
1312
1313Version 0.39:
1314
1315Fix check of various e_*size entries in elflint.
1316
1317Handle text output in asm_newsym.
1318
1319Finish checks in asm-tst3.
1320
1321Version 0.38:
1322
1323Update to autoconf 2.53, automake 1.6, gettext 0.11+.
1324
1325Introduce *.sym files to restrict export from DSOs.
1326
1327Use attribute_hidden and internal_function to optimize DSO code.
1328
1329Add TLS definitions in elf.h and handle them in readelf.
1330
1331Fix bug in verdef section generation in ld.
1332
1333Add initial libasm code.
1334
1335Version 0.37:
1336
1337Implement better hash size optimization heuristic in ld. It uses a formula
1338taking number of tests into account.
1339
1340Lots of small bug fixes.
1341
1342Improve readelf output format. Respect various sh_link/sh_info values.
1343Correctly print versioning information for symbol tables.
1344
1345Version 0.36:
1346
1347Implement preprocessing of linker script. Recognize -z combreloc.
1348
1349Version 0.35:
1350
1351Implement -z ignore|record for ld.
1352
1353Implement creating of .gnu.version_r and .gnu.version sections. The
1354.gnu.version does not yet contain correct info for defined and versioned
1355symbols (means .gnu.version_d is not yet implemented).
1356
1357Implement gelf_update_* functions to create versioning data.
1358
1359Version 0.34:
1360
1361Add DT_RUNPATH/DT_RPATH entries to dynamic section. Create .plt and
1362.rel.plt sections (completely). Add support for all four PLT related
1363dynamic section entries. Add callback function for PLT creation.
1364
1365More tests in elflint. Add support for very strict checking which for
1366now flags level 2 (deprecated features) usage.
1367
1368Version 0.33:
1369
1370Create dynamic symbol table, dynamic string table, and hash table to ld.
1371
1372Add hash table histogram support to readelf.
1373
1374Version 0.32:
1375
1376more work on elflint
1377
1378ld now creates the dynamic section and references it. Start adding entries
1379to dynamic section.
1380
1381Version 0.31:
1382
1383Start implementing elflint.
1384
1385Version 0.30:
1386
1387Fix handling of NOBITS sections in elf_getdata.
1388
1389Start implementing generation of executables and DSOs in ld.
1390Generation of program header mostly done. Address computation done.
1391Extension of linker script syntax.
1392
1393Various cleanups.
1394
1395Implement section group handling in readelf.
1396
1397Version 0.29:
1398
1399Implement section groups. This involved a lot of code moving. The
1400new code is entirely untested since gas/gcc are currently not able to
1401create section groups. ld works fine on files without section groups.
1402
1403Version 0.28:
1404
1405Fix problem with adding more section in elf_newscn. The section pointers
1406for the data buffers wasn't adjusted.
1407
1408Fix elf_getdata with nonzero second parameter. Correctly handle creation
1409of internal data buffer for machines without unaligned access.
1410
1411Version 0.27:
1412
1413Start adding support to selectively add sections. Includes support for
1414section groups.
1415Add --gc-sections/--no-gc-sections options.
1416Add general section merging support.
1417
1418Fix a bug in section group support in strip.
1419
1420Fix some potential problems with hash value in dynamic hash implementation.
1421
1422Version 0.26:
1423
1424section merging works in ld.
1425
1426Version 0.25:
1427
1428Actually create data structures from version map file and use it to hide
1429symbols in ld.
1430
1431Implement -s -s for ld.
1432
1433Version 0.24:
1434
1435Improve relocation table output in readelf. Avoid some crashes.
1436Finish many section handling in readelf.
1437
1438Finish: finish implementation of ld -r. At least some simple tests pass.
1439
1440Version 0.23:
1441
1442Fix a number of errors in ELF_C_WRITE handling.
1443
1444Almost finished implementation of ld -r. The data sections are all copied.
1445Handling of symbol tables is missing.
1446
1447Version 0.22:
1448
1449Handle DSO and archive input files correctly if -r option is given.
1450
1451Gracefully deal with no phdr in new file in libelf.
1452Fix various small error handling problems.
1453Don't mmap file for output unless the command says so.
1454
1455Add code to create ELF section header table to ld finalize routines.
1456
1457Version 0.21:
1458
1459Fix some problems with recursive handling of archives in libelf.
1460
1461Improve messages printed by nm.
1462
1463Add symbol binding name handling to libebl. Fix section name handling in
1464libebl.
1465
1466readelf and nm use more libebl functions.
1467
1468Handle XINDEX correctly in nm and string.
1469
1470Add first machine ld backend library (i386).
1471Use it. Recognize -r and --shared. Avoid using -lxxx parameters for -r.
1472Create ELF header in output file. Change mode of output file according to
1473output file type. Reorganize callback initialization in ld.
1474
1475Version 0.20:
1476
1477Fix some memory leaks in libelf.
1478
1479Version 0.19:
1480
1481Implement reading version script. Both inside linker scripts and via the
1482--version-script command line parameter. Uses the same code.
1483What remains to be done is to implement a data structure which allows
1484efficient matching against the version names to decide which pattern
1485matches.
1486
1487Beginning of output generation and output writing functions.
1488
1489Version 0.18:
1490
1491Finish implementation for DSO input file handling. Implement rpath, runpath,
1492and LD_LIBRARY_PATH handling.
1493
1494Version 0.17:
1495
1496make handling of e_shnum overflow in libelf standard conforming
1497
1498ld now actually can handle DSOs in linker scripts. Handling of DT_RUNPATH,
1499DT_RPATH, -rpath, -rpath-link still remains to be implemented.
1500
1501fix handling of -L parameters. Make actual use of the default_paths element.
1502
1503make re-definition of symbols in and from DSO compatible with existing linker
1504
1505Version 0.16:
1506
1507more work on assigning input sections to output sections.
1508
1509Add gelf_xlatetof and gelf_xlatetom which were accidently left out.
1510
1511Fix memory handling of section headers.
1512
1513Version 0.15:
1514
1515Add many-section support to ld. Add various new command line parameters.
1516Allow pagesize to be specified in linker script or on the command line.
1517Collect input sections in list for the output section according to the rules
1518specified in the linker script.
1519
1520Version 0.14:
1521
1522Fix some problems in the internal list handling which had the result
1523that we didn't look for some of the unresolved symbols.
1524
1525Free some memory if we know we don't need it anymore.
1526
1527Optimize the list of unresolved symbols. Throw out symbols which are
1528meanwhile resolved.
1529
1530Version 0.13:
1531
1532Got file reading correct now. The files are all read while parsing
1533the parameters. No creating of data structures to describe the linker
1534command line. The symbol table is built up while reading the files.
1535DSOs are handled now. -( -) handling is optimized.
1536
1537Version 0.12:
1538
1539Linker read linker scripts everywhere. Handles --whole-archive. Recognizes
1540--dynamic and --static. Collects defined and undefined symbols. Recognizes
1541conflicts.
1542
1543libebl now defines functions to call the callbacks. Add generic name handling
1544in these new functions. Remove the code from readelf and call the new
1545functions.
1546
1547Version 0.11:
1548
1549Start of linker. Basic argument parsing, finding of input files,
1550linker script reading.
1551
1552Version 0.10:
1553
1554Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(),
1555dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(),
1556dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it.
1557
1558Version 0.9:
1559
1560Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(),
1561dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(),
1562and tests for them.
1563
1564Version 0.8:
1565
1566Make handling of binaries in other byte order work and add tests for it.
1567
1568Version 0.7:
1569
1570Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(),
1571dwarf_get_arange_info(), and tests for them.
1572
1573Version 0.6:
1574
1575Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(),
1576dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them
1577
1578Version 0.5:
1579
1580Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(),
1581dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(),
1582dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(),
1583dwarf_lineepiloguebegin(), and tests for them.
1584
1585Version 0.4:
1586
1587Implemented dwarf_loclist().
1588
1589Version 0.3:
1590
1591Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and
1592tests.
1593
1594Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(),
1595dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(),
1596dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(),
1597dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(),
1598dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock,
1599dwarf_formstring() and tests for them.
1600
1601Version 0.2:
1602
1603Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(),
1604dwarf_die_CU_offset(), dwarf_diename() and tests for them.
1605
1606Version 0.1:
1607
1608First libdwarf functions work.
1609
1610Version 0.0:
1611
1612libelf and parts of libebl are done.