blob: 6437f201876cedcf3b4b8f378b595804e03124e2 [file] [log] [blame]
Mark Wielaardae057382021-02-05 22:55:10 +01001Version 0.183
2
3debuginfod: New thread-busy metric and more detailed error metrics.
4 New --fdcache-mintmp and tracking of filesystem freespace.
Frank Ch. Eiglerbda19c42021-02-05 20:18:39 -05005 New increased webapi concurrency while grooming.
Mark Wielaardae057382021-02-05 22:55:10 +01006
7debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which
8 can be used to dlopen the libdebuginfod.so library.
9 New function debuginfod_set_verbose_fd and
10 DEBUGINFOD_VERBOSE environment variable.
11
12config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless
13 configured --enable-debuginfod-urls[=URLS]
14
15elflint, readelf: Recognize SHF_GNU_RETAIN.
16 Handle SHT_X86_64_UNWIND as valid relocation target.
17
Mark Wielaardd4fd0802020-10-31 17:57:47 +010018Version 0.182
19
20backends: Support for tilegx has been removed.
21
22config: New /etc/profile.d files to provide default $DEBUGINFOD_URLS.
23
24debuginfod: More efficient package traversal, tolerate various errors
25 during scanning, grooming progress is more visible and
26 interruptible, more prometheus metrics.
27
28debuginfod-client: Now supports compressed (kernel) ELF images.
29
30libdwfl: Add ZSTD compression support.
31
Mark Wielaard41a17382020-09-08 12:27:54 +020032Version 0.181
33
34libelf: elf_update now compensates (fixes up) a bad sh_addralign for
35 SHF_COMPRESSED sections.
36
37libdebuginfod: configure now takes --enable-libdebuginfod=dummy or
38 --disable-libdebuginfod for bootstrapping.
39 DEBUGINFOD_URLS now accepts "scheme-free" urls
40 (guessing at what the user meant, either http:// or file://)
41
42readelf, elflint: Handle aarch64 bti, pac bits in dynamic table and gnu
43 property notes.
44
45libdw, readelf: Recognize DW_CFA_AARCH64_negate_ra_state. Allows unwinding
46 on arm64 for code that is compiled for PAC (Pointer
47 Authentication Code) as long as it isn't enabled.
48
Mark Wielaarda2bc0212020-06-11 16:09:03 +020049Version 0.180
50
51elflint: Allow SHF_EXCLUDE as generic section flag when --gnu is given.
52
53libdw, readelf: Handle GCC LTO .gnu.debuglto_ prefix.
54
55libdw: Use correct CU to resolve file names in dwarf_decl_file.
56
57libdwfl: Handle debugaltlink in dwfl_standard_find_debuginfo.
58
59size: Also obey radix printing for bsd format.
60
61nm: Explicitly print weak 'V' or 'T' and common 'C' symbols.
62
Mark Wielaard3a772882020-03-30 13:04:00 +020063Version 0.179
64
65debuginfod-client: When DEBUGINFOD_PROGRESS is set and the program doesn't
66 install its own debuginfod_progressfn_t show download
67 progress on stderr.
68 DEBUGINFOD_TIMEOUT is now defined as seconds to get at
69 least 100K, defaults to 90 seconds.
70 Default to $XDG_CACHE_HOME/debuginfod_client.
71 New functions debuginfod_set_user_data,
72 debuginfod_get_user_data, debuginfod_get_url and
73 debuginfod_add_http_header.
74 Support for file:// URLs.
75
76debuginfod: Uses libarchive directly for reading rpm archives.
77 Support for indexing .deb/.ddeb archives through dpkg-deb
78 or bsdtar.
79 Generic archive support through -Z EXT[=CMD]. Which can be
80 used for example for arch-linux pacman files by using
81 -Z '.tar.zst=zstdcat'.
82 Better logging using User-Agent and X-Forwarded-For headers.
83 More prometheus metrics.
84 Support for eliding dots or extraneous slashes in path names.
85
86debuginfod-find: Accept /path/names in place of buildid hex.
87
88libelf: Handle PN_XNUM in elf_getphdrnum before shdr 0 is cached
89 Ensure zlib resource cleanup on failure.
90
91libdwfl: dwfl_linux_kernel_find_elf and dwfl_linux_kernel_report_offline
92 now find and handle a compressed vmlinuz image.
93
94readelf, elflint: Handle PT_GNU_PROPERTY.
95
96translations: Updated Ukrainian translation.
97
Mark Wielaard6b13cb02019-11-26 09:52:24 +010098Version 0.178
99
100debuginfod: New server, client tool and library to index and fetch
101 ELF/DWARF files addressed by build-id through HTTP.
102
103doc: There are now some manual pages for functions and tools.
104
105backends: The libebl libraries are no longer dynamically loaded through
106 dlopen, but are now compiled into libdw.so directly.
107
108readelf: -n, --notes now takes an optional "SECTION" argument.
109 -p and -x now also handle section numbers.
110 New option --dyn-sym to show just the dynamic symbol table.
111
112libcpu: Add RISC-V disassembler.
113
114libdw: Abbrevs and DIEs can now be read concurrently by multiple
115 threads through the same Dwarf handle.
116
117libdwfl: Will try to use debuginfod when installed as fallback to
118 retrieve ELF and DWARF debug data files by build-id.
119
Mark Wielaard5643e032019-08-13 23:53:56 +0200120Version 0.177
121
122elfclassify: New tool to analyze ELF objects.
123
124readelf: Print DW_AT_data_member_location as decimal offset.
125 Decode DW_AT_discr_list block attributes.
126
127libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias.
128
129libdwelf: Add dwelf_elf_e_machine_string.
130 dwelf_elf_begin now only returns NULL when there is an error
131 reading or decompressing a file. If the file is not an ELF file
132 an ELF handle of type ELF_K_NONE is returned.
133
134backends: Add support for C-SKY.
135
Mark Wielaard89f5c7b2019-02-14 13:29:39 +0100136Version 0.176
137
138build: Add new --enable-install-elfh option.
139 Do NOT use this for system installs (it overrides glibc elf.h).
140
141backends: riscv improved core file and return value location support.
142
143Fixes CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7150,
144 CVE-2019-7664, CVE-2019-7665
145
Mark Wielaard422b5492018-11-14 13:12:24 +0100146Version 0.175
147
Dmitry V. Levin98b69a92020-12-12 19:52:49 +0300148readelf: Handle multiple .debug_macro sections.
Mark Wielaard422b5492018-11-14 13:12:24 +0100149 Recognize and parse GNU Property notes, NT_VERSION notes
150 and GNU Build Attribute ELF Notes.
151
152strip: Handle SHT_GROUP correctly.
153 Add strip --reloc-debug-sections-only option.
154 Handle relocations against GNU compressed sections.
155
156libdwelf: New function dwelf_elf_begin.
157
158libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE.
159
160backends: RISCV handles ADD/SUB relocations. Handle SHT_X86_64_UNWIND.
161
162Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521.
163
Mark Wielaard52b6b2f2018-09-14 12:08:15 +0200164Version 0.174
165
166libelf, libdw and all tools now handle extended shnum and shstrndx correctly.
167
168elfcompress: Don't rewrite input file if no section data needs updating.
169 Try harder to keep same file mode bits (suid) on rewrite.
170
171strip: Handle mixed (out of order) allocated/non-allocated sections.
172
173unstrip: Handle SHT_GROUP sections.
174
175backends: RISCV and M68K now have backend implementations to generate CFI based
176 backtraces.
177
178Fixes CVE-2018-16062, CVE-2018-16402 and CVE-2018-16403.
179
Mark Wielaardaa36de02018-06-29 21:02:18 +0200180Version 0.173
181
182More fixes for crashes and hangs found by afl-fuzz. In particular various
183functions now detect and break infinite loops caused by bad DIE tree cycles.
184
185readelf: Will now lookup the size and signedness of constant value types
186 to display them correctly (and not just how they were encoded).
187
188libdw: New function dwarf_next_lines to read CU-less .debug_line data.
189 dwarf_begin_elf now accepts ELF files containing just .debug_line
190 or .debug_frame sections (which can be read without needing a DIE
191 tree from the .debug_info section).
192 Removed dwarf_getscn_info, which was never implemented.
193
194backends: Handle BPF simple relocations.
195 The RISCV backends now handles ABI specific CFI and knows about
196 RISCV register types and names.
197
Mark Wielaard7a1fd632018-06-11 17:14:39 +0200198Version 0.172
199
200No functional changes compared to 0.171.
201
202Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 data.
203Thanks to running the afl fuzzer on eu-readelf and various testcases.
204
205eu-readelf -N is ~15% faster.
206
Mark Wielaardcf65ca12018-06-01 21:16:56 +0200207Version 0.171
208
209DWARF5 and split dwarf, including GNU DebugFission, are supported now.
210Data can be read from the new DWARF sections .debug_addr, .debug_line_str,
211.debug_loclists, .debug_str_offsets and .debug_rnglists. Plus the new
212DWARF5 and GNU DebugFission encodings of the existing .debug sections.
213Also in split DWARF .dwo (DWARF object) files. This support is mostly
214handled by existing functions (dwarf_getlocation*, dwarf_getsrclines,
215dwarf_ranges, dwarf_form*, etc.) now returning the data from the new
216sections and data formats. But some new functions have been added
217to more easily get information about skeleton and split compile units
218(dwarf_get_units and dwarf_cu_info), handle new attribute data
219(dwarf_getabbrevattr_data) and to keep references to Dwarf_Dies
220that might come from different sections or files (dwarf_die_addr_die).
221
222Not yet supported are .dwp (Dwarf Package) and .sup (Dwarf Supplementary)
223files, the .debug_names index, the .debug_cu_index and .debug_tu_index
224sections. Only a single .debug_info (and .debug_types) section are
225currently handled.
226
227readelf: Handle all new DWARF5 sections.
228 --debug-dump=info+ will show split unit DIEs when found.
229 --dwarf-skeleton can be used when inspecting a .dwo file.
230 Recognizes GNU locviews with --debug-dump=loc.
231
232libdw: New functions dwarf_die_addr_die, dwarf_get_units,
233 dwarf_getabbrevattr_data and dwarf_cu_info.
234 libdw will now try to resolve the alt file on first use of
235 an alt attribute FORM when not set yet with dwarf_set_alt.
236 dwarf_aggregate_size() now works with multi-dimensional arrays.
237
238libdwfl: Use process_vm_readv when available instead of ptrace.
239
240backends: Add a RISC-V backend.
241
242There were various improvements to build on Windows.
243The sha1 and md5 implementations have been removed, they weren't used.
244
Mark Wielaardd03be4f2017-07-14 17:09:40 +0200245Version 0.170
246
Mark Wielaard02e30932017-07-26 18:32:27 +0200247libdw: Added new DWARF5 attribute, tag, character encoding, language code,
Mark Wielaardf9d791a2017-07-26 23:02:18 +0200248 calling convention, defaulted member function and macro constants
249 to dwarf.h.
Mark Wielaard54ba4ce2017-08-02 18:30:07 +0200250 New functions dwarf_default_lower_bound and dwarf_line_file.
Mark Wielaard274f28c2017-07-26 22:54:59 +0200251 dwarf_peel_type now handles DWARF5 immutable, packed and shared tags.
Mark Wielaardf9d791a2017-07-26 23:02:18 +0200252 dwarf_getmacros now handles DWARF5 .debug_macro sections.
Mark Wielaard8e9c76b2017-07-25 15:29:10 +0200253
Mark Wielaardd03be4f2017-07-14 17:09:40 +0200254strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
255
Mark Wielaard16096792017-07-18 14:12:36 +0200256backends: The bpf disassembler is now always build on all platforms.
257
Mark Wielaard63588582017-05-05 09:47:29 +0200258Version 0.169
259
260backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
261 Frame pointer unwinding fallback support for i386, x86_64, aarch64.
262
263translations: Update Polish translation.
264
Mark Wielaardee38b262016-10-22 19:18:51 +0200265Version 0.168
266
Mark Wielaard515dd0a2016-12-27 15:23:53 +0100267http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
268
269libelf: gelf_newehdr and gelf_newehdr now return void *.
270
Mark Wielaardee38b262016-10-22 19:18:51 +0200271libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1).
272
Mark Wielaard515dd0a2016-12-27 15:23:53 +0100273readelf: Add optional --symbols[=SECTION] argument to select section name.
274
Mark Wielaardaee56062016-08-04 13:36:34 +0200275Version 0.167
276
277libasm: Add eBPF disassembler for EM_BPF files.
278
279backends: Add m68k and BPF backends.
280
281ld: Removed.
282
283dwelf: Add ELF/DWARF string table creation functions. dwelf_strtab_init,
284 dwelf_strtab_add, dwelf_strtab_add_len, dwelf_strtab_finalize,
285 dwelf_strent_off, dwelf_strent_str and dwelf_strtab_free.
286
Mark Wielaard9ba24582016-03-02 15:04:43 +0100287Version 0.166
288
289config: The default program prefix for the installed tools is now eu-.
290 Use configure --program-prefix="" to not use a program prefix.
291
Mark Wielaard79300542016-01-08 14:44:49 +0100292Version 0.165
293
294elfcompress: New utility to compress or decompress ELF sections.
295
296readelf: Add -z,--decompress option.
297
298libelf: Add elf_compress, elf_compress_gnu, elf32_getchdr, elf64_getchdr
299 and gelf_getchdr.
300
301libdwelf: New function dwelf_scn_gnu_compressed_size.
302
303config: Add libelf and libdw pkg-config files.
304
305backends: sparc support for core and live backtraces.
306
307translations: Updated Polish translation.
308
Mark Wielaardd11eea42015-10-15 18:28:34 +0200309Version 0.164
310
311strip, unstrip: Handle ELF files with merged strtab/shstrtab tables.
312 Handle missing SHF_INFO_LINK section flags.
313
314libelf: Use int64_t for offsets in libelf.h instead of loff_t.
315
316libdw: dwarf.h Add preliminary DWARF5 DW_LANG_Haskell.
317
318libdwfl: dwfl_standard_find_debuginfo now searches any subdir of the binary
319 path under the debuginfo root when the separate debug file couldn't
320 be found by build-id.
321 dwfl_linux_proc_attach can now be called before any Dwfl_Modules
322 have been reported.
323
324backends: Better sparc and sparc64 support.
325
326translations: Updated Ukrainian translation.
327
328Provide default-yama-scope subpackage.
329
Mark Wielaardfaf0d3d2015-06-19 13:43:58 +0200330Version 0.163
331
332Bug fixes only, no new features.
333
Petr Machata7f617342015-03-18 19:42:02 +0100334Version 0.162
335
336libdw: Install new header elfutils/known-dwarf.h.
Mark Wielaard027d9112015-06-10 17:44:42 +0200337 dwarf.h Add preliminary DWARF5 constants DW_TAG_atomic_type,
338 DW_LANG_Fortran03, DW_LANG_Fortran08. dwarf_peel_type now also
339 handles DW_TAG_atomic_type.
Petr Machata7f617342015-03-18 19:42:02 +0100340
Mark Wielaardd76d73f2015-05-19 23:08:00 +0200341addr2line: Input addresses are now always interpreted as hexadecimal
342 numbers, never as octal or decimal numbers.
Mark Wielaard70a504d2015-05-19 16:21:27 +0200343 New option -a, --addresses to print address before each entry.
Mark Wielaardcd2da6c2015-05-20 11:52:27 +0200344 New option -C, --demangle to show demangled symbols.
Mark Wielaardb23a5b22015-05-20 14:09:46 +0200345 New option --pretty-print to print all information on one line.
Mark Wielaardd76d73f2015-05-19 23:08:00 +0200346
Mark Wielaard027d9112015-06-10 17:44:42 +0200347ar: CVE-2014-9447 Directory traversal vulnerability in ar extraction.
348
349backends: x32 support.
350
Mark Wielaard3a36e8a2014-10-06 22:00:16 +0200351Version 0.161
352
353libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses
354 dwarf_peel_type to also provide the sizes of qualified types.
Petr Machatafb90bf32014-10-17 02:47:03 +0200355 dwarf_getmacros will now serve either of .debug_macro and
356 .debug_macinfo transparently. New interfaces
357 dwarf_getmacros_off, dwarf_macro_getsrcfiles,
358 dwarf_macro_getparamcnt, and dwarf_macro_param are available
359 for more generalized inspection of macros and their parameters.
Mark Wielaard09dc83d2014-12-18 23:41:41 +0100360 dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11,
361 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
Petr Machatafb90bf32014-10-17 02:47:03 +0200362
Mark Wielaard22497092014-05-26 21:28:05 +0200363Version 0.160
364
Mark Wielaardf18f2332014-08-15 16:03:21 +0200365libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die.
Mark Wielaard5efda262014-08-25 22:13:57 +0200366 dwarf.h remove non-existing DW_TAG_mutable_type.
367
368libdwfl: Handle LZMA .ko.xz compressed kernel modules.
Mark Wielaard209f1492014-08-15 13:08:24 +0200369
Mark Wielaard22497092014-05-26 21:28:05 +0200370unstrip: New option -F, --force to combining files even if some ELF headers
371 don't seem to match.
372
Mark Wielaard5efda262014-08-25 22:13:57 +0200373backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi.
374
Mark Wielaard531a30a2014-01-20 23:09:26 +0100375Version 0.159
376
377stack: New option -d, --debugname to lookup DWARF debuginfo name for frame.
Mark Wielaard13968d92014-01-21 16:13:49 +0100378 New option -i, --inlines to show inlined frames using DWARF debuginfo.
Mark Wielaard531a30a2014-01-20 23:09:26 +0100379
Mark Wielaard93802972014-04-11 23:52:47 +0200380libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level Functions.
Mark Wielaardbb096d02014-05-03 00:23:06 +0200381 New function dwelf_elf_gnu_debuglink, dwelf_dwarf_gnu_debugaltlink,
382 and dwelf_elf_gnu_build_id.
383
384libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and
385 DW_FORM_GNU_strp_alt is now enabled by default and no longer
386 experimental. Added new functions dwarf_getalt and dwarf_setalt
387 to get or set the alternative debug file used for the alt FORMs.
Mark Wielaardf05dff92014-05-18 00:28:26 +0200388 The dwfl_linux_proc_find_elf callback will now find ELF from
389 process memory for (deleted) files if the Dwfl has process state
390 attached.
Mark Wielaardbb096d02014-05-03 00:23:06 +0200391
392libdwfl: The dwfl_build_id_find_debuginfo and dwfl_standard_find_debuginfo
393 functions will now try to resolve and set the alternative debug file.
Mark Wielaard93802972014-04-11 23:52:47 +0200394
Mark Wielaardf05dff92014-05-18 00:28:26 +0200395backends: Add CFI unwinding for arm. Relies on .debug_frame.
396 Add arm process initial register state compatible mode to AARCH64.
397 Add aarch64 native and core unwind support.
398
399other: All separate elfutils-robustify patches have been merged.
400 CVE-2014-0172 Check overflow before calling malloc to uncompress data.
401
Jan Kratochvil3cf491e2013-10-30 10:48:20 +0100402Version 0.158
403
404libdwfl: dwfl_core_file_report has new parameter executable.
Mark Wielaard159ac522013-12-18 11:05:54 +0100405 New functions dwfl_module_getsymtab_first_global,
406 dwfl_module_getsym_info and dwfl_module_addrinfo.
Jan Kratochvil8aa7fbb2013-12-18 14:37:49 +0100407 Added unwinder with type Dwfl_Thread_Callbacks, opaque types
408 Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state,
409 dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread,
410 dwfl_thread_state_registers, dwfl_thread_state_register_pc,
Mark Wielaarde962ec32013-12-20 10:09:12 +0100411 dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes
412 and dwfl_frame_pc.
Jan Kratochvil3cf491e2013-10-30 10:48:20 +0100413
Mark Wielaard159ac522013-12-18 11:05:54 +0100414addr2line: New option -x to show the section an address was found in.
415
Mark Wielaarde962ec32013-12-20 10:09:12 +0100416stack: New utility that uses the new unwinder for processes and cores.
417
Mark Wielaard70db4cc2014-01-03 22:16:34 +0100418backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64.
419 aarch64 support.
420
Mark Wielaardf36d7272013-09-27 14:02:26 +0200421Version 0.157
422
423libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr
424 and dwarf_getlocation_die.
425
Mark Wielaardfb927572013-09-30 13:50:26 +0200426readelf: Show contents of NT_SIGINFO and NT_FILE core notes.
427
Mark Wielaardf36d7272013-09-27 14:02:26 +0200428addr2line: Support -i, --inlines output option.
429
430backends: abi_cfi hook for arm, ppc and s390.
431
Jan Kratochvil904aec22013-04-30 14:27:16 +0200432Version 0.156
433
Jan Kratochvila55b1182013-07-19 00:24:06 +0200434lib: New macro COMPAT_VERSION_NEWPROTO.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200435
Jan Kratochvil934d36c2013-07-19 23:26:28 +0200436libdw: Handle GNU extension opcodes in dwarf_getlocation.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200437
Jan Kratochvil934d36c2013-07-19 23:26:28 +0200438libdwfl: Fix STB_GLOBAL over STB_WEAK preference in dwfl_module_addrsym.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200439 Add minisymtab support.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200440 Add parameter add_p_vaddr to dwfl_report_elf.
441 Use DT_DEBUG library search first.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200442
443libebl: Handle new core note types in EBL.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200444
Jan Kratochvil934d36c2013-07-19 23:26:28 +0200445backends: Interpret NT_ARM_VFP.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200446 Implement core file registers parsing for s390/s390x.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200447
448readelf: Add --elf-section input option to inspect an embedded ELF file.
449 Add -U, --unresolved-address-offsets output control.
450 Add --debug-dump=decodedline support.
451 Accept version 8 .gdb_index section format.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200452 Adjust output formatting width.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200453 When highpc is in constant form print it also as address.
454 Display raw .debug_aranges. Use libdw only for decodedaranges.
Jan Kratochvila55b1182013-07-19 00:24:06 +0200455
456elflint: Add __bss_start__ to the list of allowed symbols.
457
458tests: Add configure --enable-valgrind option to run all tests under valgrind.
459 Enable automake parallel-tests for make check.
460
461translations: Updated Polish translation.
462
463Updates for Automake 1.13.
Jan Kratochvil904aec22013-04-30 14:27:16 +0200464
Mark Wielaardc4010b82012-07-24 13:20:41 +0200465Version 0.155
466
Mark Wielaard27751ed2012-08-22 09:57:36 +0200467libelf: elf*_xlatetomd now works for cross-endian ELF note data.
Mark Wielaarda2210f82012-08-21 12:22:08 +0200468 elf_getshdr now works consistently on non-mmaped ELF files after
469 calling elf_cntl(ELF_C_FDREAD).
470 Implement support for ar archives with 64-bit symbol table.
471
Mark Wielaardc4010b82012-07-24 13:20:41 +0200472libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
473 Any existing sources using the old name will have to be updated.
Mark Wielaarda2210f82012-08-21 12:22:08 +0200474 Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
475 and DW_OP_GNU_parameter_ref to dwarf.h.
Mark Wielaardf5519fc2012-08-24 13:54:52 +0200476 Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt
477 and DW_FORM_GNU_strp_alt. Disabled by default. Use configure
478 --enable-dwz to test it.
Mark Wielaarda2210f82012-08-21 12:22:08 +0200479
480readelf: Add .debug_macro parsing support.
481 Add .gdb_index version 7 parsing support.
482 Recognize DW_OP_GNU_parameter_ref.
Mark Wielaardc4010b82012-07-24 13:20:41 +0200483
Mark Wielaard3cb9e8c2012-08-27 15:31:31 +0200484backends: Add support for Tilera TILE-Gx processor.
485
486translations: Updated Ukrainian translation.
487
Mark Wielaard54797252012-04-27 13:00:50 +0200488Version 0.154
489
Mark Wielaardd7bde9b2012-06-22 14:14:08 +0200490libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
491
Mark Wielaard54797252012-04-27 13:00:50 +0200492libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
Mark Wielaardd7bde9b2012-06-22 14:14:08 +0200493 Fix bug using dwarf_next_unit to iterate over .debug_types.
494
495elflint: Now accepts gold linker produced executables.
Mark Wielaard54797252012-04-27 13:00:50 +0200496
Mark Wielaardde2ed972012-06-05 17:15:16 +0200497The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
498programs. There is now also a formal CONTRIBUTING document describing how to
499submit patches.
500
Roland McGrath725aad52011-02-23 19:52:46 -0800501Version 0.153
502
503libdw: Support reading .zdebug_* DWARF sections compressed via zlib.
504
Mark Wielaard52d1f922012-01-22 19:28:20 +0100505libdwfl: Speed up dwfl_module_addrsym.
506
Ulrich Drepperb4a16cf2011-10-02 08:33:19 -0400507nm: Support C++ demangling.
508
Roland McGrathe5ba2a12011-11-05 21:08:07 -0700509ar: Support D modifier for "deterministic output" with no uid/gid/mtime info.
Roland McGrath6e063d92012-01-20 11:43:36 -0800510 The U modifier is the inverse.
Roland McGrath3284b792012-01-20 12:51:46 -0800511 elfutils can be configured with the --enable-deterministic-archives
512 option to make the D behavior the default when U is not specified.
Mark Wielaard52d1f922012-01-22 19:28:20 +0100513
Roland McGrath6e063d92012-01-20 11:43:36 -0800514ranlib: Support -D and -U flags with same meaning.
Roland McGrathe5ba2a12011-11-05 21:08:07 -0700515
Mark Wielaard52d1f922012-01-22 19:28:20 +0100516readelf: Improve output of -wline. Add support for printing SDT elf notes.
Roland McGratha77881a2012-01-23 10:34:17 -0800517 Add printing of .gdb_index section.
518 Support for typed DWARF stack, call_site and entry_value.
Mark Wielaard52d1f922012-01-22 19:28:20 +0100519
520strip: Add --reloc-debug-sections option.
521 Improved SHT_GROUP sections handling.
522
Roland McGrathf339cd62011-02-02 17:24:53 -0800523Version 0.152
524
Roland McGrath8a7b6232011-02-08 19:40:19 -0800525Various build and warning nits fixed for newest GCC and Autoconf.
526
Roland McGrathf339cd62011-02-02 17:24:53 -0800527libdwfl: Yet another prelink-related fix for another regression.
Roland McGrath788cc882011-02-11 12:38:36 -0800528 Look for Linux kernel images in files named with compression suffixes.
Roland McGrathf339cd62011-02-02 17:24:53 -0800529
Roland McGrath1fb9c912011-02-11 10:32:30 -0800530elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
Roland McGrath4a14ef72011-02-11 10:42:45 -0800531 New flag -l/--verbose to print all differences.
Roland McGrath1fb9c912011-02-11 10:32:30 -0800532
Roland McGrathf6315952011-01-11 10:33:32 -0800533Version 0.151
534
535libdwfl: Fix for more prelink cases with separate debug file.
536
537strip: New flag --strip-sections to remove section headers entirely.
538
Roland McGrath65d8e4e2010-11-22 17:35:56 -0800539Version 0.150
540
541libdw: Fix for handling huge .debug_aranges section.
542
543libdwfl: Fix for handling prelinked DSO with separate debug file.
544
545findtextrel: Fix diagnostics to work with usual section ordering.
546
547libebl: i386 backend fix for multi-register integer return value location.
548
Roland McGrathde44f132010-08-24 15:38:42 -0700549Version 0.149:
550
Roland McGrath932585d2010-05-08 04:01:14 -0700551libdw: Decode new DW_OP_GNU_implicit_pointer operation;
552 new function dwarf_getlocation_implicit_pointer.
553
Roland McGrathde44f132010-08-24 15:38:42 -0700554libdwfl: New function dwfl_dwarf_line.
555
Roland McGrath5c45def2010-09-09 23:55:32 -0700556addr2line: New flag -F/--flags to print more DWARF line information details.
Roland McGrathde44f132010-08-24 15:38:42 -0700557
Roland McGrath6849dbb2010-09-09 23:26:12 -0700558strip: -g recognizes .gdb_index as a debugging section.
559
Roland McGrath1fa6bf42010-05-06 01:14:32 -0700560Version 0.148:
561
Roland McGrath2b1f0952010-06-20 17:55:50 -0700562libdw: Accept DWARF 4 format: new functions dwarf_next_unit, dwarf_offdie_types.
Roland McGrathc70cf4e2010-06-18 17:01:05 -0700563 New functions dwarf_lineisa, dwarf_linediscriminator, dwarf_lineop_index.
Roland McGrath3e4b5bb2010-06-16 03:40:56 -0700564
Roland McGrath1fa6bf42010-05-06 01:14:32 -0700565libdwfl: Fixes in core-file handling, support cores from PIEs.
566 When working from build IDs, don't open a named file that mismatches.
567
Roland McGrath2b1f0952010-06-20 17:55:50 -0700568readelf: Handle DWARF 4 formats.
Roland McGrath7fac1ce2010-06-01 15:56:58 -0700569
Roland McGrathfba8ec82010-05-03 11:42:53 -0700570Version 0.147:
571
572libdw: Fixes in CFI handling, best possible handling of bogus CFA ops.
573
574libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r bugs.
575
Ulrich Drepperad64d8e2010-03-04 21:51:19 -0800576Version 0.146:
577
Roland McGrath8068e062010-03-10 23:49:13 -0800578libdwfl: New function dwfl_core_file_report.
579
Roland McGrath056d6932010-02-15 16:05:58 -0800580Version 0.145:
581
582Fix build with --disable-dependency-tracking.
583
584Fix build with most recent glibc headers.
585
Roland McGrath4b0ee3b2010-02-18 14:04:45 -0800586libelf: More robust to bogus section headers.
587
Roland McGrath056d6932010-02-15 16:05:58 -0800588libdw: Fix CFI decoding.
589
590libdwfl: Fix address bias returned by CFI accessors.
Roland McGrath4b0ee3b2010-02-18 14:04:45 -0800591 Fix core file module layout identification.
Roland McGrath056d6932010-02-15 16:05:58 -0800592
593readelf: Fix CFI decoding.
594
Roland McGrathec9746f2010-01-04 22:08:45 -0800595Version 0.144:
596
Roland McGrath6fd3cd12010-01-07 19:41:04 -0800597libelf: New function elf_getphdrnum.
598 Now support using more than 65536 program headers in a file.
599
Roland McGrathebc5c882010-01-05 22:53:31 -0800600libdw: New function dwarf_aggregate_size for computing (constant) type
601 sizes, including array_type cases with nontrivial calculation.
602
Roland McGrathec9746f2010-01-04 22:08:45 -0800603readelf: Don't give errors for missing info under -a.
604 Handle Linux "VMCOREINFO" notes under -n.
605
Roland McGrathde69d522009-08-07 18:26:19 -0700606Version 0.143:
607
608libdw: Various convenience functions for individual attributes now use
609 dwarf_attr_integrate to look up indirect inherited attributes.
Roland McGrath7e0aecd2009-09-17 15:02:34 -0700610 Location expression handling now supports DW_OP_implicit_value.
Roland McGrathde69d522009-08-07 18:26:19 -0700611
Roland McGrathe5a1a812009-08-26 03:05:50 -0700612libdwfl: Support automatic decompression of files in XZ format,
613 and of Linux kernel images made with bzip2 or LZMA (as well as gzip).
Roland McGrathd6ccdc12009-08-26 00:23:01 -0700614
Ulrich Drepperf1894932009-06-13 15:55:42 -0700615Version 0.142:
616
617libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias
Ulrich Drepperb4a16cf2011-10-02 08:33:19 -0400618 for elf_getshstrndx and deprecate original names. Sun screwed up
619 their implementation and asked for a solution.
Ulrich Drepperf1894932009-06-13 15:55:42 -0700620
Ulrich Drepper70c442c2009-07-08 00:53:24 -0700621libebl: Add support for STB_GNU_UNIQUE.
622
Ulrich Drepper96d950e2009-07-14 10:42:01 -0700623elflint: Add support for STB_GNU_UNIQUE.
624
Roland McGrath5dbccdb2009-06-28 14:48:02 -0700625readelf: Add -N option, speeds up DWARF printing without address->name lookups.
626
Roland McGrath409fe102009-07-23 11:32:47 -0700627libdw: Add support for decoding DWARF CFI into location description form.
628 Handle some new DWARF 3 expression operations previously omitted.
629 Basic handling of some new encodings slated for DWARF 4.
630
Roland McGrath54eb8902009-04-14 03:18:10 -0700631Version 0.141:
632
Roland McGratheb9ba472009-04-14 18:44:45 -0700633libebl: sparc backend fixes;
634 some more arm backend support
Roland McGrathd86e1832009-04-20 00:49:33 -0700635
Roland McGrath54eb8902009-04-14 03:18:10 -0700636libdwfl: fix dwfl_module_build_id for prelinked DSO case;
637 fixes in core file support;
638 dwfl_module_getsym interface improved for non-address symbols
Roland McGrathd86e1832009-04-20 00:49:33 -0700639
Roland McGrath54eb8902009-04-14 03:18:10 -0700640strip: fix infinite loop on strange inputs with -f
641
Roland McGrathd86e1832009-04-20 00:49:33 -0700642addr2line: take -j/--section=NAME option for binutils compatibility
643 (same effect as '(NAME)0x123' syntax already supported)
644
Ulrich Drepper8a3b0fa2009-02-16 11:02:37 -0800645Version 0.140:
646
647libelf: Fix regression in creation of section header
648
Dmitry V. Levin98b69a92020-12-12 19:52:49 +0300649libdwfl: Less strict behavior if DWARF reader is just used to display data
Ulrich Drepper8a3b0fa2009-02-16 11:02:37 -0800650
Ulrich Drepper3bf57592009-01-01 18:52:05 -0800651Version 0.139:
652
653libcpu: Add Intel SSE4 disassembler support
654
Ulrich Drepper05d2b202009-01-16 17:58:54 -0800655readelf: Implement call frame information and exception handling dumping.
Ulrich Drepperb4a16cf2011-10-02 08:33:19 -0400656 Add -e option. Enable it implicitly for -a.
Ulrich Drepperac194d02009-01-06 00:30:01 -0800657
Ulrich Drepper3a52c7a2009-01-16 21:11:49 -0800658elflint: Check PT_GNU_EH_FRAME program header entry.
659
Roland McGrathd666b002009-01-06 02:14:26 -0800660libdwfl: Support automatic gzip/bzip2 decompression of ELF files.
661
Roland McGrathd8ca9bd2008-12-24 01:09:18 -0800662Version 0.138:
663
664Install <elfutils/version.h> header file for applications to use in source
665version compatibility checks.
666
667libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM
668
669libcpu: disassembler fixes
670
671libdwfl: bug fixes
672
673libelf: bug fixes
674
675nm: bug fixes for handling corrupt input files
676
Ulrich Drepperbb48a272008-08-27 03:01:47 +0000677Version 0.137:
678
679Minor fixes for unreleased 0.136 release.
680
Roland McGrathb4d6f0f2008-08-25 22:55:17 +0000681Version 0.136:
682
683libdwfl: bug fixes; new "segment" interfaces;
684 all the libdwfl-based tools now support --core=COREFILE option
685
Roland McGrathb37d2532008-05-07 18:38:35 +0000686Version 0.135:
687
688libdwfl: bug fixes
689
690strip: changed handling of ET_REL files wrt symbol tables and relocs
691
Roland McGrath60982e62008-04-05 00:40:51 +0000692Version 0.134:
693
694elflint: backend improvements for sparc, alpha
695
696libdwfl, libelf: bug fixes
697
Roland McGrath47c5c352008-02-29 10:17:16 +0000698Version 0.133:
699
700readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
701
702readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
703
704libdwfl: bug fixes and optimization in relocation handling
705
706elfcmp: bug fix for non-allocated section handling
707
Ulrich Drepper1c5928d2008-03-01 18:34:56 +0000708ld: implement newer features of binutils linker.
709
Ulrich Drepper28a0c612008-01-21 18:57:48 +0000710Version 0.132:
711
712libcpu: Implement x86 and x86-64 disassembler.
713libasm: Add interface for disassembler.
714
715all programs: add debugging of branch prediction.
716
717libelf: new function elf_scnshndx.
718
Roland McGrath478a9602007-11-08 00:59:30 +0000719Version 0.131:
720
721libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated;
722 bug fixes for oddly-formatted DWARF
723
724libdwfl: bug fixes in offline archive support, symbol table handling;
725 apply partial relocations for dwfl_module_address_section on ET_REL
726
727libebl: powerpc backend support for Altivec registers
728
Roland McGrathc76f0b02007-09-27 07:31:33 +0000729Version 0.130:
730
731readelf: -p option can take an argument like -x for one section,
Roland McGrath59ea7f32007-10-04 08:50:09 +0000732 or no argument (as before) for all SHF_STRINGS sections;
Ulrich Drepperb597dfa2007-10-16 05:21:27 +0000733 new option --archive-index (or -c);
734 improved -n output for core files, on many machines
Roland McGrath59ea7f32007-10-04 08:50:09 +0000735
736libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
737 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
738
739readelf, elflint: handle SHT_NOTE sections without requiring phdrs
740
Ulrich Drepperb597dfa2007-10-16 05:21:27 +0000741elflint: stricter checks on debug sections
742
Roland McGrath59ea7f32007-10-04 08:50:09 +0000743libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo,
744 dwfl_module_build_id, dwfl_module_report_build_id;
745 support dynamic symbol tables found via phdrs;
746 dwfl_standard_find_debuginfo now uses build IDs when available
747
748unstrip: new option --list (or -n)
Roland McGrathc76f0b02007-09-27 07:31:33 +0000749
Ulrich Drepperb597dfa2007-10-16 05:21:27 +0000750libebl: backend improvements for sparc, alpha, powerpc
751
Roland McGrath60fc84c2007-08-03 21:59:15 +0000752Version 0.129:
753
754readelf: new options --hex-dump (or -x), --strings (or -p)
755
756addr2line: new option --symbols (or -S)
757
Roland McGrath4be15242007-04-25 03:09:33 +0000758Version 0.128:
759
760new program: unstrip
761
762elfcmp: new option --hash-inexact
763
Ulrich Dreppera1090f82007-03-30 19:16:14 +0000764Version 0.127:
Ulrich Drepper6258e742007-03-13 06:22:40 +0000765
Roland McGrath43da9892007-04-16 23:13:37 +0000766libdw: new function dwarf_getsrcdirs
767
Ulrich Drepperf527aa82007-04-19 04:15:00 +0000768libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
769 dwfl_module_address_section
Ulrich Drepper6258e742007-03-13 06:22:40 +0000770
Ulrich Drepperce0bdb62007-02-05 07:13:52 +0000771Version 0.126:
772
773new program: ar
774
Ulrich Drepper56bc0b82006-12-18 22:38:08 +0000775Version 0.125:
776
777elflint: Compare DT_GNU_HASH tests.
778
779move archives into -static RPMs
780
781libelf, elflint: better support for core file handling
782
Roland McGrathc373d852006-10-10 00:25:21 +0000783Version 0.124:
784
785libebl: sparc backend support for return value location
786
787libebl, libdwfl: backend register name support extended with more info
788
789libelf, libdw: bug fixes for unaligned accesses on machines that care
790
791readelf, elflint: trivial bugs fixed
792
Roland McGrath1dee3602006-08-15 01:57:03 +0000793Version 0.123:
794
795libebl: Backend build fixes, thanks to Stepan Kasal.
796
797libebl: ia64 backend support for register names, return value location
798
799libdwfl: Handle truncated linux kernel module section names.
800
801libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix.
802
803elflint: Fix checks to permit --hash-style=gnu format.
804
Ulrich Drepper28ed8952006-07-07 03:43:47 +0000805Version 0.122:
806
Ulrich Dreppercc415622006-07-12 19:42:23 +0000807libebl: add function to test for relative relocation
Ulrich Drepper28ed8952006-07-07 03:43:47 +0000808
809elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
810
811elflint, readelf: add support for DT_GNU_HASH
812libelf: add elf_gnu_hash
813
814elflint, readelf: add support for 64-bit SysV-style hash tables
815
Ulrich Dreppercc415622006-07-12 19:42:23 +0000816libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
817
Ulrich Drepperd9a87122006-05-28 08:00:33 +0000818Version 0.121:
819
820libelf: bug fixes for rewriting existing files when using mmap.
821
822make all installed headers usable in C++ code.
823
824readelf: better output format.
825
Ulrich Drepper6ca46002006-06-12 22:40:23 +0000826elflint: fix tests of dynamic section content.
827
828ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patches.
829
Ulrich Drepperd9a87122006-05-28 08:00:33 +0000830libdw, libdwfl: handle files without aranges info.
831
Ulrich Drepper361df7d2006-04-04 21:38:57 +0000832Version 0.120:
833
834Bug fixes.
835
836dwarf.h updated for DWARF 3.0 final specification.
837
838libdwfl: New function dwfl_version.
839
Ulrich Drepper82c345d2006-04-04 22:07:54 +0000840The license is now GPL for most files. The libelf, libebl, libdw,
841and libdwfl libraries have additional exceptions. Add reference to
842OIN.
843
tailor808b4122006-01-13 18:50:48 +0000844Version 0.119:
845
846bug fixes
847
Ulrich Drepper607e0542005-12-04 15:51:06 +0000848Version 0.118:
849
850elflint: more tests.
851
Roland McGrath994b4892005-12-05 22:46:21 +0000852libdwfl: New function dwfl_module_register_names.
853
854libebl: New backend hook for register names.
855
Roland McGrath37ecca72005-11-18 01:42:03 +0000856Version 0.117:
857
858libdwfl: New function dwfl_module_return_value_location.
859
860libebl: Backend improvements for several CPUs.
861
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000862Version 0.116:
863
864libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu,
Roland McGrath6724c902005-10-28 07:07:19 +0000865 dwarf_entry_breakpoints. Removed Dwarf_Func type and functions
866 dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc,
867 dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses
868 Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col
869 replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column;
870 dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die.
871 Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist,
872 dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr.
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000873
Roland McGrathc94e47d2005-08-27 10:37:20 +0000874Version 0.115:
875
Ulrich Drepperfbe998a2005-08-29 16:27:10 +0000876libelf: speed-ups of non-mmap reading.
877
878strings: New program.
879
880Implement --enable-gcov option for configure.
881
Roland McGrathc94e47d2005-08-27 10:37:20 +0000882libdw: New function dwarf_getscopes_die.
883
Ulrich Drepper5d832292005-08-15 21:36:27 +0000884Version 0.114:
885
886libelf: new function elf_getaroff
887
Roland McGratha5c26432005-08-18 23:41:56 +0000888libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances.
889
Roland McGrath7c777292005-08-24 18:53:53 +0000890libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address,
891 dwfl_linux_kernel_report_offline.
892
Ulrich Drepper5d832292005-08-15 21:36:27 +0000893ranlib: new program
894
Ulrich Drepper637963b2005-08-07 05:33:07 +0000895Version 0.113:
896
897elflint: relax a bit. Allow version definitions for defined symbols against
898DSO versions also for symbols in nobits sections. Allow .rodata section
899to have STRINGS and MERGE flag set.
900
Roland McGrath1c83bf12005-08-11 07:03:55 +0000901strip: add some more compatibility with binutils.
902
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000903Version 0.112:
904
905elfcmp: some more relaxation.
906
Ulrich Drepperdbace232005-08-06 01:37:23 +0000907elflint: many more tests, especially regarding to symbol versioning.
Ulrich Drepper41de4882005-08-03 00:02:56 +0000908
909libelf: Add elfXX_offscn and gelf_offscn.
910
Ulrich Dreppera38998e2005-08-03 02:05:39 +0000911libasm: asm_begin interface changes.
912
913libebl: Add three new interfaces to directly access machine, class, and
914data encoding information.
915
Ulrich Drepper8a687742005-08-03 02:24:12 +0000916objdump: New program. Just the beginning.
917
Ulrich Drepper70189152005-07-28 21:31:36 +0000918Version 0.111:
919
920libdw: now contains all of libdwfl. The latter is not installed anymore.
921
922elfcmp: little usability tweak, name and index of differing section is printed.
923
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000924Version 0.110:
925
Roland McGrath1c83bf12005-08-11 07:03:55 +0000926libelf: fix a number of problems with elf_update
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000927
928elfcmp: fix a few bugs. Compare gaps.
929
930Fix a few PLT problems and mudflap build issues.
931
932libebl: Don't expose Ebl structure definition in libebl.h. It's now private.
933
934Version 0.109:
935
936libebl: Check for matching modules.
937
938elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols.
939
940elfcmp: New program.
941
942libdwfl: New library.
943
944Version 0.108:
945
946strip: fix bug introduced in last change
947
948libdw: records returned by dwarf_getsrclines are now sorted by address
949
950Version 0.107:
951
952readelf: improve DWARF output format
953
954strip: support Linux kernel modules
955
956Version 0.106:
957
958libdw: Updated dwarf.h from DWARF3 spec
Dmitry V. Levin98b69a92020-12-12 19:52:49 +0300959libdw: add new functions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line,
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000960dwarf_func_col, dwarf_getsrc_file
961
962Version 0.105:
963
964addr2line: New program
965
966libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs,
967dwarf_func_*.
968
969findtextrel: use dwarf_addrdie
970
971Version 0.104:
972
973findtextrel: New program.
974
975Version 0.103:
976
977libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug.
978
979Version 0.102:
980
981More Makefile and spec file cleanups.
982
983Version 0.101:
984
985Remove most gettext autoconf handling.
986
987Add more warnings
988
989Fix resulting problems. One actual bug found and fixed this way
990
991Version 0.100:
992
993libebl: Fix x86-64 relocations.
994
995Add -Wunused -Wextra warnings.
996
997Some cleanups resulting from those additional warnings.
998
999Lots of Makefile cleanup.
1000
1001Version 0.99:
1002
1003libelf: add gelf_checksum prototype to <libelf.h>
1004
1005libelf: fix elf*_checksum handling of NOBITS sections
1006
1007Finish mudflap support.
1008
1009Fix three bugs found by mudflap.
1010
1011ld: add as_needed support
1012
1013Version 0.98:
1014
1015readelf: in section to segment mapping, indicate read-only sections.
1016
1017elflint: more relaxation for GNU ld
1018
1019Version 0.97:
1020
1021Fix compiling with gcc 4.0.
1022Some tests called elflint without appropriate LD_LIBRARY_PATH.
1023
1024Version 0.96:
1025
1026Fix support for platforms with lib64.
1027
1028Version 0.95:
1029
1030libebl: add ppc and ppc64 support
1031
1032readelf: fix minimal memory leak.
1033
1034Add support to compile with mudflap.
1035
1036Modernize configure.ac. Move scripts in config subdir.
1037
1038Modernize *-po directory infrastructure.
1039
1040libelf: Add gelf_getlib and gelf_update_lib
1041
1042readelf: print liblist sections
1043
1044Version 0.94:
1045
1046Fix some minimal build problems.
1047
1048Version 0.93:
1049
1050ibdw: tons of new functionality and bug fixes. Several interface changes.
1051
1052readelf: use libdw now.
1053
1054libdwarf: removed completely.
1055
1056Version 0.92:
1057
1058configuration changes.
1059
1060Version 0.91:
1061
1062libdw: fix memory handling. Implement source line handling.
1063nm: use libdw instead of libdwarf.
1064libelf: change to GPL from OSL1 for now.
1065
1066Version 0.90:
1067
1068libebl: Recognize a few more section types and dynamic tags and return
Dmitry V. Levin98b69a92020-12-12 19:52:49 +03001069appropriate strings.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001070
1071Version 0.89:
1072
1073strip: fix overwriting of symbol table in input file.
1074
1075Version 0.88:
1076
1077libebl: Add some ia64 bits.
1078
1079Version 0.87:
1080
1081Bug fixes for big endian and some 64-bit machines.
1082
1083Version 0.86:
1084
1085strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes.
1086
1087ld: tons of changes, moving towards usability.
1088
1089Version 0.85:
1090
1091strip: update section group symbol index if the associated symbol table changed
1092
1093libelf: fix two problems with generating output not via mmap
1094
1095elflint: add probably 10-15 more tests
1096libebl: add support for some of the new tests
1097
1098ld: gazillion changes
1099
1100Version 0.84:
1101
1102elflint: deal with .rel.dyn section. Fix a problem with rela platforms.
1103Handle PT_GNU_STACK. Change to write messages to stdout.
1104
1105readelf: fix a problem with version information in the symbol table output.
1106
1107strip: update all version symbol table entries
1108
1109Version 0.83:
1110
1111size: fix a warning
1112
1113strip: last changed caused problems when the symbol table is before the
1114relocation section. Fixed. This fix also improved the asymptotic
1115behavior if many symbol table sections are present.
1116
1117Version 0.82:
1118
1119Run strip tests with the correct libelf and libebl.
1120
1121libelf: fix bug in verneed byte order changing code.
1122
1123Version 0.81:
1124
1125strip: Remove unused symbol table entries. This might require updating
1126various other sections.
1127
1128Version 0.80:
1129
1130Fix some libelf problems with ET_REL files.
1131
1132Version 0.79:
1133
1134More warning changes, mainly by jbj.
1135
1136libdw: yet more new code. dwarf_child and dwarf_sibling should now actually
1137work.
1138
1139Version 0.78:
1140
1141libdw: 10+ new functions. get-pubnames2 works now fully. Almost all the
1142code needed for nm is in place.
1143
1144Version 0.77:
1145
1146cleanups to compile cleanly with gcc 3.3 and -Werror.
1147
1148libdw: some new code.
1149
1150Version 0.76:
1151
1152libebl: Fix last patch to recognize relocation sections. We must not
1153use the name.
1154
1155Version 0.75:
1156
1157libebl: .debug_ranges is a DWARF 3 debug section
1158libebl: recognize relocation sections for debug section
1159Patches by Jakub Jelinek.
1160
1161Version 0.74:
1162
1163Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>.
1164
1165Version 0.73:
1166
116764-bit cleanups for the programs.
1168
1169Version 0.72:
1170
Dmitry V. Levin98b69a92020-12-12 19:52:49 +03001171libelf: and yet more fun with endian transformation at output time.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001172
1173Version 0.71:
1174
Dmitry V. Levin98b69a92020-12-12 19:52:49 +03001175libelf: more fun with endian transformation at output time. Add test for it.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001176
1177Version 0.70:
1178
1179libelf: Two little bugs left from previous patch to handle section output
1180order.
1181
1182libelf: add unlikely in some more places.
1183
1184Version 0.69:
1185
Dmitry V. Levin98b69a92020-12-12 19:52:49 +03001186libelf: fix output routines to handle case where section indices and
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001187ordre in the output file don't match correctly. Patch by Jakub.
1188
1189elflint: fix test of note section content for 64-bit platforms and files
1190with different byte order.
1191
1192Version 0.68:
1193
1194libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub)
1195
1196Version 0.67:
1197
1198libelf: correct mistake in error string handling.
1199
1200libelf: Implement ELF_F_PERMISSIVE.
1201strip: Implement --permissive option.
1202
1203Version 0.66:
1204
1205strip: Implement -g option.
1206
1207libelf: Handle broken hash table entry sizes.
1208
1209libebl: New function ebl_debugscn_p. Use it where appropriate.
1210
1211Version 0.65:
1212
1213libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set
1214
1215Version 0.64:
1216
1217libelf: Make error handling more robust.
1218libelf: Use TLS in error handler if configured with --enable-tls
1219
1220tests: input files are now distributed, not uuencoded in the shell scripts
1221
1222libdw: implement error handling, dwarf_get_pubnames
1223
1224Version 0.63:
1225
1226Build (incomplete) libdw.
1227
1228Version 0.62:
1229
1230Get rid of libtool.
1231
1232Version 0.61:
1233
1234Fix URL of OSL.
1235
1236Version 0.60:
1237
1238libebl: Handle .gnu.warning.* sections correctly.
1239
1240size: Implement -t option.
1241
1242libebl: Add IA-64 support.
1243libebl: Update SH relocations.
1244libebl: Add Alpha support.
1245libebl: Add Arm support.
1246libebl: Add support for all currently known architecture to the loader.
1247
1248Version 0.59:
1249
1250nm: Implement -S option. Correct portable output format. Implement -s option.
1251
1252libelf: Take offset of archive into account in elf_rand.
1253
1254Version 0.58:
1255
1256strip: fix handling of ET_REL files.
1257Add tests for strip.
1258
1259Version 0.57:
1260
1261strip: respect layout of input file
1262
1263Version 0.56:
1264
1265strip: handle files with large number of sections.
1266
1267Version 0.55:
1268
1269libelf: quite a few bug fixes by Alex Larsson.
1270
1271strip: implement -f option to place stripped sections into a separate
1272file. By Alex Larsson.
1273
1274Version 0.54:
1275
1276strip: don't let STT_SECTION symbols keeps sections from being removed
1277
1278elflint: local symbols are allowed in .dynsym
1279elflint: special case .rel.dyn a bit
1280
1281Version 0.53:
1282
1283elflint: check types and flags of special sections defined in gABI
1284
1285libebl: add x86-64 support
1286
1287Version 0.52:
1288
1289Start improvement of debug info handling in nm.
1290
1291libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them
1292
1293Version 0.51:
1294
1295Fix build on 64-bit platforms.
1296
1297Version 0.50:
1298
1299nm: print file/line number also for local symbols
1300
1301use versions scripts not libtool's useless -export-symbols option
1302
1303Version 0.49:
1304
1305Update to autoconf 2.54 and automake 1.7.
1306
1307elflint: check note sections
1308
1309libdwarf: a number of bug fixes
1310
1311readelf: print .debug_info section content
1312
1313dwarf.h: Update from draft 7
1314
1315Version 0.48:
1316
1317libcpu: beginning
1318
1319libelf: new function to read parts of the ELF file
1320
1321libebl: support for note section handling
1322
1323readelf: dump note sections
1324
1325Version 0.47:
1326
1327libelf: fix little new section-handling related bugs in elf_getshstrndx
1328and elf_nextscn
1329
1330elflint: tests for mandatory content of dynamic section
1331
1332libasm: better handling of absolute symbols
1333
1334Version 0.46:
1335
1336libasm: rewrite to store Elf_Scn* instead of indices
1337
1338nm: finish many-section support
1339
1340nm: use debug in to print file/line info in sysv format
1341
1342libdwarf: fix a few bugs in DIE handling
1343
1344Version 0.45:
1345
1346libelf: major rewrite to keep Elf_Scn references valid until elf_end
1347
1348Version 0.44:
1349
1350libasm: Add support for bss, ABS, and COM sections.
1351
1352libebl: ebl_section_name takes now two index arguments to distinguish
1353between special sections and extended sections
1354
1355Version 0.43:
1356
1357General: fix a few problem gcc 3.1 had with the code.
1358
1359libelf: implement {gelf,elf32,elf64}_checksum
1360
Dmitry V. Levin98b69a92020-12-12 19:52:49 +03001361libelf: optimize DSO: fewer relocations, fewer PLTs
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001362
1363add msg_tst test
1364
1365ld: use correct section header string table index; write correct index
1366
1367add dependencies for *.sym files
1368
1369Version 0.42:
1370
1371libelf: add elf_getshnum and elf_getshstrndx
1372
1373libebl: update section type name function
1374
1375elflint: tons of fixes wrt large number of sections. New tests in this area.
1376Same amount of other bug fixes.
1377
1378size, strip, nm: better support for large number of sections. Including
1379using correct section header string table
1380
1381libasm: correctly create data structures for large number of sections
1382
1383new tests asm-tst4 and asm-tst5 to check large number of sections
1384
1385libasm: implement section group generation
1386
1387elflint: more tests on section groups. Improve performance on existing
1388section group tests
1389
1390Version 0.41:
1391
1392ld: add undefined symbols to dynamic symbol table if --export-dynamic is
1393not given
1394
1395ld: fix value of e_entry
1396
1397Version 0.40:
1398
1399elflint: print section names in error messages
1400
1401elflint: mustn't warn about multiple DT_NULL
1402
1403ld: don't emit all symbols if --export-dynamic is not given
1404
1405ld: correct compute symbol address in output file (section index was off by 1)
1406
1407ld: generate correct version info in dynsym without --export-dynamic and
1408in symtab
1409
1410Version 0.39:
1411
1412Fix check of various e_*size entries in elflint.
1413
1414Handle text output in asm_newsym.
1415
1416Finish checks in asm-tst3.
1417
1418Version 0.38:
1419
1420Update to autoconf 2.53, automake 1.6, gettext 0.11+.
1421
1422Introduce *.sym files to restrict export from DSOs.
1423
1424Use attribute_hidden and internal_function to optimize DSO code.
1425
1426Add TLS definitions in elf.h and handle them in readelf.
1427
1428Fix bug in verdef section generation in ld.
1429
1430Add initial libasm code.
1431
1432Version 0.37:
1433
1434Implement better hash size optimization heuristic in ld. It uses a formula
1435taking number of tests into account.
1436
1437Lots of small bug fixes.
1438
1439Improve readelf output format. Respect various sh_link/sh_info values.
1440Correctly print versioning information for symbol tables.
1441
1442Version 0.36:
1443
1444Implement preprocessing of linker script. Recognize -z combreloc.
1445
1446Version 0.35:
1447
1448Implement -z ignore|record for ld.
1449
1450Implement creating of .gnu.version_r and .gnu.version sections. The
1451.gnu.version does not yet contain correct info for defined and versioned
1452symbols (means .gnu.version_d is not yet implemented).
1453
1454Implement gelf_update_* functions to create versioning data.
1455
1456Version 0.34:
1457
1458Add DT_RUNPATH/DT_RPATH entries to dynamic section. Create .plt and
1459.rel.plt sections (completely). Add support for all four PLT related
1460dynamic section entries. Add callback function for PLT creation.
1461
1462More tests in elflint. Add support for very strict checking which for
1463now flags level 2 (deprecated features) usage.
1464
1465Version 0.33:
1466
1467Create dynamic symbol table, dynamic string table, and hash table to ld.
1468
1469Add hash table histogram support to readelf.
1470
1471Version 0.32:
1472
1473more work on elflint
1474
1475ld now creates the dynamic section and references it. Start adding entries
1476to dynamic section.
1477
1478Version 0.31:
1479
1480Start implementing elflint.
1481
1482Version 0.30:
1483
1484Fix handling of NOBITS sections in elf_getdata.
1485
1486Start implementing generation of executables and DSOs in ld.
1487Generation of program header mostly done. Address computation done.
1488Extension of linker script syntax.
1489
1490Various cleanups.
1491
1492Implement section group handling in readelf.
1493
1494Version 0.29:
1495
1496Implement section groups. This involved a lot of code moving. The
1497new code is entirely untested since gas/gcc are currently not able to
1498create section groups. ld works fine on files without section groups.
1499
1500Version 0.28:
1501
1502Fix problem with adding more section in elf_newscn. The section pointers
1503for the data buffers wasn't adjusted.
1504
1505Fix elf_getdata with nonzero second parameter. Correctly handle creation
1506of internal data buffer for machines without unaligned access.
1507
1508Version 0.27:
1509
1510Start adding support to selectively add sections. Includes support for
1511section groups.
1512Add --gc-sections/--no-gc-sections options.
1513Add general section merging support.
1514
1515Fix a bug in section group support in strip.
1516
1517Fix some potential problems with hash value in dynamic hash implementation.
1518
1519Version 0.26:
1520
1521section merging works in ld.
1522
1523Version 0.25:
1524
1525Actually create data structures from version map file and use it to hide
1526symbols in ld.
1527
1528Implement -s -s for ld.
1529
1530Version 0.24:
1531
1532Improve relocation table output in readelf. Avoid some crashes.
1533Finish many section handling in readelf.
1534
1535Finish: finish implementation of ld -r. At least some simple tests pass.
1536
1537Version 0.23:
1538
1539Fix a number of errors in ELF_C_WRITE handling.
1540
1541Almost finished implementation of ld -r. The data sections are all copied.
1542Handling of symbol tables is missing.
1543
1544Version 0.22:
1545
1546Handle DSO and archive input files correctly if -r option is given.
1547
1548Gracefully deal with no phdr in new file in libelf.
1549Fix various small error handling problems.
1550Don't mmap file for output unless the command says so.
1551
1552Add code to create ELF section header table to ld finalize routines.
1553
1554Version 0.21:
1555
1556Fix some problems with recursive handling of archives in libelf.
1557
1558Improve messages printed by nm.
1559
1560Add symbol binding name handling to libebl. Fix section name handling in
1561libebl.
1562
1563readelf and nm use more libebl functions.
1564
1565Handle XINDEX correctly in nm and string.
1566
1567Add first machine ld backend library (i386).
1568Use it. Recognize -r and --shared. Avoid using -lxxx parameters for -r.
1569Create ELF header in output file. Change mode of output file according to
1570output file type. Reorganize callback initialization in ld.
1571
1572Version 0.20:
1573
1574Fix some memory leaks in libelf.
1575
1576Version 0.19:
1577
1578Implement reading version script. Both inside linker scripts and via the
1579--version-script command line parameter. Uses the same code.
1580What remains to be done is to implement a data structure which allows
1581efficient matching against the version names to decide which pattern
1582matches.
1583
1584Beginning of output generation and output writing functions.
1585
1586Version 0.18:
1587
1588Finish implementation for DSO input file handling. Implement rpath, runpath,
1589and LD_LIBRARY_PATH handling.
1590
1591Version 0.17:
1592
1593make handling of e_shnum overflow in libelf standard conforming
1594
1595ld now actually can handle DSOs in linker scripts. Handling of DT_RUNPATH,
1596DT_RPATH, -rpath, -rpath-link still remains to be implemented.
1597
1598fix handling of -L parameters. Make actual use of the default_paths element.
1599
1600make re-definition of symbols in and from DSO compatible with existing linker
1601
1602Version 0.16:
1603
1604more work on assigning input sections to output sections.
1605
Dmitry V. Levin98b69a92020-12-12 19:52:49 +03001606Add gelf_xlatetof and gelf_xlatetom which were accidentally left out.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001607
1608Fix memory handling of section headers.
1609
1610Version 0.15:
1611
1612Add many-section support to ld. Add various new command line parameters.
1613Allow pagesize to be specified in linker script or on the command line.
1614Collect input sections in list for the output section according to the rules
1615specified in the linker script.
1616
1617Version 0.14:
1618
1619Fix some problems in the internal list handling which had the result
1620that we didn't look for some of the unresolved symbols.
1621
1622Free some memory if we know we don't need it anymore.
1623
1624Optimize the list of unresolved symbols. Throw out symbols which are
1625meanwhile resolved.
1626
1627Version 0.13:
1628
1629Got file reading correct now. The files are all read while parsing
1630the parameters. No creating of data structures to describe the linker
1631command line. The symbol table is built up while reading the files.
1632DSOs are handled now. -( -) handling is optimized.
1633
1634Version 0.12:
1635
1636Linker read linker scripts everywhere. Handles --whole-archive. Recognizes
1637--dynamic and --static. Collects defined and undefined symbols. Recognizes
1638conflicts.
1639
1640libebl now defines functions to call the callbacks. Add generic name handling
1641in these new functions. Remove the code from readelf and call the new
1642functions.
1643
1644Version 0.11:
1645
1646Start of linker. Basic argument parsing, finding of input files,
1647linker script reading.
1648
1649Version 0.10:
1650
1651Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(),
1652dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(),
1653dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it.
1654
1655Version 0.9:
1656
1657Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(),
1658dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(),
1659and tests for them.
1660
1661Version 0.8:
1662
1663Make handling of binaries in other byte order work and add tests for it.
1664
1665Version 0.7:
1666
1667Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(),
1668dwarf_get_arange_info(), and tests for them.
1669
1670Version 0.6:
1671
1672Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(),
1673dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them
1674
1675Version 0.5:
1676
1677Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(),
1678dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(),
1679dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(),
1680dwarf_lineepiloguebegin(), and tests for them.
1681
1682Version 0.4:
1683
1684Implemented dwarf_loclist().
1685
1686Version 0.3:
1687
1688Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and
1689tests.
1690
1691Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(),
1692dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(),
1693dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(),
1694dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(),
1695dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock,
1696dwarf_formstring() and tests for them.
1697
1698Version 0.2:
1699
1700Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(),
1701dwarf_die_CU_offset(), dwarf_diename() and tests for them.
1702
1703Version 0.1:
1704
1705First libdwarf functions work.
1706
1707Version 0.0:
1708
1709libelf and parts of libebl are done.