libdwfl: Update docs and nonnull attributes for dwfl_module_addrinfo
[platform/upstream/elfutils.git] / NEWS
1 Version 0.187
2
3 debuginfod: Support -C option for connection thread pooling.
4
5 debuginfod-client: Negative cache file are now zero sized instead of
6                    no-permission files.
7
8 addr2line: The -A, --absolute option, which shows file names including
9            the full compilation directory is now the default.  To get the
10            old behavior use the new option --relative.
11
12 readelf, elflint: Recognize FDO Packaging Metadata ELF notes
13
14 libdw, debuginfo-client: Load libcurl lazily only when files need to
15                          be fetched remotely. libcurl is now never
16                          loaded when DEBUGINFOD_URLS is unset. And when
17                          DEBUGINFOD_URLS is set, libcurl is only loaded
18                          when the debuginfod_begin function is called.
19
20 Version 0.186
21
22 debuginfod-client: Default $DEBUGINFOD_URLS is computed from drop-in files
23                    /etc/debuginfod/*.urls rather than hardcoded into the
24                    /etc/profile.d/debuginfod* scripts.
25                    Add $DEBUGINFOD_MAXSIZE and $DEBUGINFOD_MAXTIME settings
26                    for skipping large/slow transfers.
27                    Add $DEBUGINFOD_RETRY for retrying aborted lookups.
28
29 debuginfod: Supply extra HTTP response headers, describing archive/file
30             names that satisfy the requested buildid content.
31             Support -d :memory: option for in-memory databases.
32             Protect against loops in federated server configurations.
33             Add -r option to use -I/-X regexes for grooming stale files.
34             Protect against wasted CPU from duplicate concurrent requests.
35             Limit the duration of groom ops roughly to rescan (-t) times.
36             Add --passive mode for serving from read-only database.
37             Several other performance improvements & prometheus metrics.
38
39 libdw: Support for the NVIDIA Cuda line map extensions.
40        DW_LNE_NVIDIA_inlined_call and DW_LNE_NVIDIA_set_function_name
41        are defined in dwarf.h. New functions dwarf_linecontext and
42        dwarf_linefunctionname
43
44 translations: Update Japanese translation.
45
46 Version 0.185
47
48 debuginfod-client: Simplify curl handle reuse so downloads which
49                    return an error are retried.
50
51 elfcompress: Always exit with code 0 when the operation succeeds (even
52              when nothing was done). On error the exit code is now always 1.
53
54 Version 0.184
55
56 debuginfod: Use libarchive's bsdtar as the .deb-family file unpacker.
57
58 debuginfod-client: Client caches negative results. If a query for a
59                    file failed with 404, an empty 000 permission
60                    file is created in the cache. This will prevent
61                    requesting the same file for the next 10 minutes.
62
63                    Client objects now carry long-lived curl handles
64                    for outgoing connections.  This makes it more
65                    efficient for multiple sequential queries, because
66                    the TCP connections and/or TLS state info are kept
67                    around awhile, avoiding O(100ms) setup latencies.
68
69 libdw: handle DW_FORM_indirect when reading attributes
70
71 translations: Update Polish translation.
72
73 Version 0.183
74
75 debuginfod: New thread-busy metric and more detailed error metrics.
76             New --fdcache-mintmp and tracking of filesystem freespace.
77             New increased webapi concurrency while grooming.
78
79 debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which
80                    can be used to dlopen the libdebuginfod.so library.
81                    New function debuginfod_set_verbose_fd and
82                    DEBUGINFOD_VERBOSE environment variable.
83
84 config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless
85         configured --enable-debuginfod-urls[=URLS]
86
87 elflint, readelf: Recognize SHF_GNU_RETAIN.
88                   Handle SHT_X86_64_UNWIND as valid relocation target.
89
90 Version 0.182
91
92 backends: Support for tilegx has been removed.
93
94 config: New /etc/profile.d files to provide default $DEBUGINFOD_URLS.
95
96 debuginfod: More efficient package traversal, tolerate various errors
97             during scanning, grooming progress is more visible and
98             interruptible, more prometheus metrics.
99
100 debuginfod-client: Now supports compressed (kernel) ELF images.
101
102 libdwfl: Add ZSTD compression support.
103
104 Version 0.181
105
106 libelf: elf_update now compensates (fixes up) a bad sh_addralign for
107         SHF_COMPRESSED sections.
108
109 libdebuginfod: configure now takes --enable-libdebuginfod=dummy or
110                --disable-libdebuginfod for bootstrapping.
111                DEBUGINFOD_URLS now accepts "scheme-free" urls
112                (guessing at what the user meant, either http:// or file://)
113
114 readelf, elflint: Handle aarch64 bti, pac bits in dynamic table and gnu
115                   property notes.
116
117 libdw, readelf: Recognize DW_CFA_AARCH64_negate_ra_state. Allows unwinding
118                 on arm64 for code that is compiled for PAC (Pointer
119                 Authentication Code) as long as it isn't enabled.
120
121 Version 0.180
122
123 elflint: Allow SHF_EXCLUDE as generic section flag when --gnu is given.
124
125 libdw, readelf: Handle GCC LTO .gnu.debuglto_ prefix.
126
127 libdw: Use correct CU to resolve file names in dwarf_decl_file.
128
129 libdwfl: Handle debugaltlink in dwfl_standard_find_debuginfo.
130
131 size: Also obey radix printing for bsd format.
132
133 nm: Explicitly print weak 'V' or 'T' and common 'C' symbols.
134
135 Version 0.179
136
137 debuginfod-client: When DEBUGINFOD_PROGRESS is set and the program doesn't
138                    install its own debuginfod_progressfn_t show download
139                    progress on stderr.
140                    DEBUGINFOD_TIMEOUT is now defined as seconds to get at
141                    least 100K, defaults to 90 seconds.
142                    Default to $XDG_CACHE_HOME/debuginfod_client.
143                    New functions debuginfod_set_user_data,
144                    debuginfod_get_user_data, debuginfod_get_url and
145                    debuginfod_add_http_header.
146                    Support for file:// URLs.
147
148 debuginfod: Uses libarchive directly for reading rpm archives.
149             Support for indexing .deb/.ddeb archives through dpkg-deb
150             or bsdtar.
151             Generic archive support through -Z EXT[=CMD]. Which can be
152             used for example for arch-linux pacman files by using
153             -Z '.tar.zst=zstdcat'.
154             Better logging using User-Agent and X-Forwarded-For headers.
155             More prometheus metrics.
156             Support for eliding dots or extraneous slashes in path names.
157
158 debuginfod-find: Accept /path/names in place of buildid hex.
159
160 libelf: Handle PN_XNUM in elf_getphdrnum before shdr 0 is cached
161         Ensure zlib resource cleanup on failure.
162
163 libdwfl: dwfl_linux_kernel_find_elf and dwfl_linux_kernel_report_offline
164          now find and handle a compressed vmlinuz image.
165
166 readelf, elflint: Handle PT_GNU_PROPERTY.
167
168 translations: Updated Ukrainian translation.
169
170 Version 0.178
171
172 debuginfod: New server, client tool and library to index and fetch
173             ELF/DWARF files addressed by build-id through HTTP.
174
175 doc: There are now some manual pages for functions and tools.
176
177 backends: The libebl libraries are no longer dynamically loaded through
178           dlopen, but are now compiled into libdw.so directly.
179
180 readelf: -n, --notes now takes an optional "SECTION" argument.
181          -p and -x now also handle section numbers.
182          New option --dyn-sym to show just the dynamic symbol table.
183
184 libcpu: Add RISC-V disassembler.
185
186 libdw: Abbrevs and DIEs can now be read concurrently by multiple
187        threads through the same Dwarf handle.
188
189 libdwfl: Will try to use debuginfod when installed as fallback to
190          retrieve ELF and DWARF debug data files by build-id.
191
192 Version 0.177
193
194 elfclassify: New tool to analyze ELF objects.
195
196 readelf: Print DW_AT_data_member_location as decimal offset.
197          Decode DW_AT_discr_list block attributes.
198
199 libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias.
200
201 libdwelf: Add dwelf_elf_e_machine_string.
202           dwelf_elf_begin now only returns NULL when there is an error
203           reading or decompressing a file. If the file is not an ELF file
204           an ELF handle of type ELF_K_NONE is returned.
205
206 backends: Add support for C-SKY.
207
208 Version 0.176
209
210 build: Add new --enable-install-elfh option.
211        Do NOT use this for system installs (it overrides glibc elf.h).
212
213 backends: riscv improved core file and return value location support.
214
215 Fixes CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7150,
216       CVE-2019-7664, CVE-2019-7665
217
218 Version 0.175
219
220 readelf: Handle multiple .debug_macro sections.
221          Recognize and parse GNU Property notes, NT_VERSION notes
222          and GNU Build Attribute ELF Notes.
223
224 strip: Handle SHT_GROUP correctly.
225        Add strip --reloc-debug-sections-only option.
226        Handle relocations against GNU compressed sections.
227
228 libdwelf: New function dwelf_elf_begin.
229
230 libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE.
231
232 backends: RISCV handles ADD/SUB relocations. Handle SHT_X86_64_UNWIND.
233
234 Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521.
235
236 Version 0.174
237
238 libelf, libdw and all tools now handle extended shnum and shstrndx correctly.
239
240 elfcompress: Don't rewrite input file if no section data needs updating.
241              Try harder to keep same file mode bits (suid) on rewrite.
242
243 strip: Handle mixed (out of order) allocated/non-allocated sections.
244
245 unstrip: Handle SHT_GROUP sections.
246
247 backends: RISCV and M68K now have backend implementations to generate CFI based
248           backtraces.
249
250 Fixes CVE-2018-16062, CVE-2018-16402 and CVE-2018-16403.
251
252 Version 0.173
253
254 More fixes for crashes and hangs found by afl-fuzz. In particular various
255 functions now detect and break infinite loops caused by bad DIE tree cycles.
256
257 readelf: Will now lookup the size and signedness of constant value types
258          to display them correctly (and not just how they were encoded).
259
260 libdw: New function dwarf_next_lines to read CU-less .debug_line data.
261        dwarf_begin_elf now accepts ELF files containing just .debug_line
262        or .debug_frame sections (which can be read without needing a DIE
263        tree from the .debug_info section).
264        Removed dwarf_getscn_info, which was never implemented.
265
266 backends: Handle BPF simple relocations.
267           The RISCV backends now handles ABI specific CFI and knows about
268           RISCV register types and names.
269
270 Version 0.172
271
272 No functional changes compared to 0.171.
273
274 Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 data.
275 Thanks to running the afl fuzzer on eu-readelf and various testcases.
276
277 eu-readelf -N is ~15% faster.
278
279 Version 0.171
280
281 DWARF5 and split dwarf, including GNU DebugFission, are supported now.
282 Data can be read from the new DWARF sections .debug_addr, .debug_line_str,
283 .debug_loclists, .debug_str_offsets and .debug_rnglists.  Plus the new
284 DWARF5 and GNU DebugFission encodings of the existing .debug sections.
285 Also in split DWARF .dwo (DWARF object) files.  This support is mostly
286 handled by existing functions (dwarf_getlocation*, dwarf_getsrclines,
287 dwarf_ranges, dwarf_form*, etc.) now returning the data from the new
288 sections and data formats.  But some new functions have been added
289 to more easily get information about skeleton and split compile units
290 (dwarf_get_units and dwarf_cu_info), handle new attribute data
291 (dwarf_getabbrevattr_data) and to keep references to Dwarf_Dies
292 that might come from different sections or files (dwarf_die_addr_die).
293
294 Not yet supported are .dwp (Dwarf Package) and .sup (Dwarf Supplementary)
295 files, the .debug_names index, the .debug_cu_index and .debug_tu_index
296 sections. Only a single .debug_info (and .debug_types) section are
297 currently handled.
298
299 readelf: Handle all new DWARF5 sections.
300          --debug-dump=info+ will show split unit DIEs when found.
301          --dwarf-skeleton can be used when inspecting a .dwo file.
302          Recognizes GNU locviews with --debug-dump=loc.
303
304 libdw: New functions dwarf_die_addr_die, dwarf_get_units,
305        dwarf_getabbrevattr_data and dwarf_cu_info.
306        libdw will now try to resolve the alt file on first use of
307        an alt attribute FORM when not set yet with dwarf_set_alt.
308        dwarf_aggregate_size() now works with multi-dimensional arrays.
309
310 libdwfl: Use process_vm_readv when available instead of ptrace.
311
312 backends: Add a RISC-V backend.
313
314 There were various improvements to build on Windows.
315 The sha1 and md5 implementations have been removed, they weren't used.
316
317 Version 0.170
318
319 libdw: Added new DWARF5 attribute, tag, character encoding, language code,
320        calling convention, defaulted member function and macro constants
321        to dwarf.h.
322        New functions dwarf_default_lower_bound and dwarf_line_file.
323        dwarf_peel_type now handles DWARF5 immutable, packed and shared tags.
324        dwarf_getmacros now handles DWARF5 .debug_macro sections.
325
326 strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
327
328 backends: The bpf disassembler is now always build on all platforms.
329
330 Version 0.169
331
332 backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
333           Frame pointer unwinding fallback support for i386, x86_64, aarch64.
334
335 translations: Update Polish translation.
336
337 Version 0.168
338
339 http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
340
341 libelf: gelf_newehdr and gelf_newehdr now return void *.
342
343 libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1).
344
345 readelf: Add optional --symbols[=SECTION] argument to select section name.
346
347 Version 0.167
348
349 libasm: Add eBPF disassembler for EM_BPF files.
350
351 backends: Add m68k and BPF backends.
352
353 ld: Removed.
354
355 dwelf: Add ELF/DWARF string table creation functions. dwelf_strtab_init,
356        dwelf_strtab_add, dwelf_strtab_add_len, dwelf_strtab_finalize,
357        dwelf_strent_off, dwelf_strent_str and dwelf_strtab_free.
358
359 Version 0.166
360
361 config: The default program prefix for the installed tools is now eu-.
362         Use configure --program-prefix="" to not use a program prefix.
363
364 Version 0.165
365
366 elfcompress: New utility to compress or decompress ELF sections.
367
368 readelf: Add -z,--decompress option.
369
370 libelf: Add elf_compress, elf_compress_gnu, elf32_getchdr, elf64_getchdr
371         and gelf_getchdr.
372
373 libdwelf: New function dwelf_scn_gnu_compressed_size.
374
375 config: Add libelf and libdw pkg-config files.
376
377 backends: sparc support for core and live backtraces.
378
379 translations: Updated Polish translation.
380
381 Version 0.164
382
383 strip, unstrip: Handle ELF files with merged strtab/shstrtab tables.
384                 Handle missing SHF_INFO_LINK section flags.
385
386 libelf: Use int64_t for offsets in libelf.h instead of loff_t.
387
388 libdw: dwarf.h Add preliminary DWARF5 DW_LANG_Haskell.
389
390 libdwfl: dwfl_standard_find_debuginfo now searches any subdir of the binary
391          path under the debuginfo root when the separate debug file couldn't
392          be found by build-id.
393          dwfl_linux_proc_attach can now be called before any Dwfl_Modules
394          have been reported.
395
396 backends: Better sparc and sparc64 support.
397
398 translations: Updated Ukrainian translation.
399
400 Provide default-yama-scope subpackage.
401
402 Version 0.163
403
404 Bug fixes only, no new features.
405
406 Version 0.162
407
408 libdw: Install new header elfutils/known-dwarf.h.
409        dwarf.h Add preliminary DWARF5 constants DW_TAG_atomic_type,
410        DW_LANG_Fortran03, DW_LANG_Fortran08. dwarf_peel_type now also
411        handles DW_TAG_atomic_type.
412
413 addr2line: Input addresses are now always interpreted as hexadecimal
414            numbers, never as octal or decimal numbers.
415            New option -a, --addresses to print address before each entry.
416            New option -C, --demangle to show demangled symbols.
417            New option --pretty-print to print all information on one line.
418
419 ar: CVE-2014-9447 Directory traversal vulnerability in ar extraction.
420
421 backends: x32 support.
422
423 Version 0.161
424
425 libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses
426        dwarf_peel_type to also provide the sizes of qualified types.
427        dwarf_getmacros will now serve either of .debug_macro and
428        .debug_macinfo transparently.  New interfaces
429        dwarf_getmacros_off, dwarf_macro_getsrcfiles,
430        dwarf_macro_getparamcnt, and dwarf_macro_param are available
431        for more generalized inspection of macros and their parameters.
432        dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11,
433        DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
434
435 Version 0.160
436
437 libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die.
438        dwarf.h remove non-existing DW_TAG_mutable_type.
439
440 libdwfl: Handle LZMA .ko.xz compressed kernel modules.
441
442 unstrip: New option -F, --force to combining files even if some ELF headers
443          don't seem to match.
444
445 backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi.
446
447 Version 0.159
448
449 stack: New option -d, --debugname to lookup DWARF debuginfo name for frame.
450        New option -i, --inlines to show inlined frames using DWARF debuginfo.
451
452 libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level Functions.
453           New function dwelf_elf_gnu_debuglink, dwelf_dwarf_gnu_debugaltlink,
454           and dwelf_elf_gnu_build_id.
455
456 libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and
457        DW_FORM_GNU_strp_alt is now enabled by default and no longer
458        experimental. Added new functions dwarf_getalt and dwarf_setalt
459        to get or set the alternative debug file used for the alt FORMs.
460        The dwfl_linux_proc_find_elf callback will now find ELF from
461        process memory for (deleted) files if the Dwfl has process state
462        attached.
463
464 libdwfl: The dwfl_build_id_find_debuginfo and dwfl_standard_find_debuginfo
465          functions will now try to resolve and set the alternative debug file.
466
467 backends: Add CFI unwinding for arm. Relies on .debug_frame.
468           Add arm process initial register state compatible mode to AARCH64.
469           Add aarch64 native and core unwind support.
470
471 other: All separate elfutils-robustify patches have been merged.
472        CVE-2014-0172 Check overflow before calling malloc to uncompress data.
473
474 Version 0.158
475
476 libdwfl: dwfl_core_file_report has new parameter executable.
477          New functions dwfl_module_getsymtab_first_global,
478          dwfl_module_getsym_info and dwfl_module_addrinfo.
479          Added unwinder with type Dwfl_Thread_Callbacks, opaque types
480          Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state,
481          dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread,
482          dwfl_thread_state_registers, dwfl_thread_state_register_pc,
483          dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes
484          and dwfl_frame_pc.
485
486 addr2line: New option -x to show the section an address was found in.
487
488 stack: New utility that uses the new unwinder for processes and cores.
489
490 backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64.
491           aarch64 support.
492
493 Version 0.157
494
495 libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr
496        and dwarf_getlocation_die.
497
498 readelf: Show contents of NT_SIGINFO and NT_FILE core notes.
499
500 addr2line: Support -i, --inlines output option.
501
502 backends: abi_cfi hook for arm, ppc and s390.
503
504 Version 0.156
505
506 lib: New macro COMPAT_VERSION_NEWPROTO.
507
508 libdw: Handle GNU extension opcodes in dwarf_getlocation.
509
510 libdwfl: Fix STB_GLOBAL over STB_WEAK preference in dwfl_module_addrsym.
511          Add minisymtab support.
512          Add parameter add_p_vaddr to dwfl_report_elf.
513          Use DT_DEBUG library search first.
514
515 libebl: Handle new core note types in EBL.
516
517 backends: Interpret NT_ARM_VFP.
518           Implement core file registers parsing for s390/s390x.
519
520 readelf: Add --elf-section input option to inspect an embedded ELF file.
521          Add -U, --unresolved-address-offsets output control.
522          Add --debug-dump=decodedline support.
523          Accept version 8 .gdb_index section format.
524          Adjust output formatting width.
525          When highpc is in constant form print it also as address.
526          Display raw .debug_aranges. Use libdw only for decodedaranges.
527
528 elflint: Add __bss_start__ to the list of allowed symbols.
529
530 tests: Add configure --enable-valgrind option to run all tests under valgrind.
531        Enable automake parallel-tests for make check.
532
533 translations: Updated Polish translation.
534
535 Updates for Automake 1.13.
536
537 Version 0.155
538
539 libelf: elf*_xlatetomd now works for cross-endian ELF note data.
540         elf_getshdr now works consistently on non-mmaped ELF files after
541         calling elf_cntl(ELF_C_FDREAD).
542         Implement support for ar archives with 64-bit symbol table.
543
544 libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
545        Any existing sources using the old name will have to be updated.
546        Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
547        and DW_OP_GNU_parameter_ref to dwarf.h.
548        Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt
549        and DW_FORM_GNU_strp_alt.  Disabled by default.  Use configure
550        --enable-dwz to test it.
551
552 readelf: Add .debug_macro parsing support.
553          Add .gdb_index version 7 parsing support.
554          Recognize DW_OP_GNU_parameter_ref.
555
556 backends: Add support for Tilera TILE-Gx processor.
557
558 translations: Updated Ukrainian translation.
559
560 Version 0.154
561
562 libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
563
564 libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
565        Fix bug using dwarf_next_unit to iterate over .debug_types.
566
567 elflint: Now accepts gold linker produced executables.
568
569 The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
570 programs. There is now also a formal CONTRIBUTING document describing how to
571 submit patches.
572
573 Version 0.153
574
575 libdw: Support reading .zdebug_* DWARF sections compressed via zlib.
576
577 libdwfl: Speed up dwfl_module_addrsym.
578
579 nm: Support C++ demangling.
580
581 ar: Support D modifier for "deterministic output" with no uid/gid/mtime info.
582     The U modifier is the inverse.
583     elfutils can be configured with the --enable-deterministic-archives
584     option to make the D behavior the default when U is not specified.
585
586 ranlib: Support -D and -U flags with same meaning.
587
588 readelf: Improve output of -wline. Add support for printing SDT elf notes.
589          Add printing of .gdb_index section.
590          Support for typed DWARF stack, call_site and entry_value.
591
592 strip: Add --reloc-debug-sections option.
593        Improved SHT_GROUP sections handling.
594
595 Version 0.152
596
597 Various build and warning nits fixed for newest GCC and Autoconf.
598
599 libdwfl: Yet another prelink-related fix for another regression.
600          Look for Linux kernel images in files named with compression suffixes.
601
602 elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
603         New flag -l/--verbose to print all differences.
604
605 Version 0.151
606
607 libdwfl: Fix for more prelink cases with separate debug file.
608
609 strip: New flag --strip-sections to remove section headers entirely.
610
611 Version 0.150
612
613 libdw: Fix for handling huge .debug_aranges section.
614
615 libdwfl: Fix for handling prelinked DSO with separate debug file.
616
617 findtextrel: Fix diagnostics to work with usual section ordering.
618
619 libebl: i386 backend fix for multi-register integer return value location.
620
621 Version 0.149:
622
623 libdw: Decode new DW_OP_GNU_implicit_pointer operation;
624        new function dwarf_getlocation_implicit_pointer.
625
626 libdwfl: New function dwfl_dwarf_line.
627
628 addr2line: New flag -F/--flags to print more DWARF line information details.
629
630 strip: -g recognizes .gdb_index as a debugging section.
631
632 Version 0.148:
633
634 libdw: Accept DWARF 4 format: new functions dwarf_next_unit, dwarf_offdie_types.
635        New functions dwarf_lineisa, dwarf_linediscriminator, dwarf_lineop_index.
636
637 libdwfl: Fixes in core-file handling, support cores from PIEs.
638          When working from build IDs, don't open a named file that mismatches.
639
640 readelf: Handle DWARF 4 formats.
641
642 Version 0.147:
643
644 libdw: Fixes in CFI handling, best possible handling of bogus CFA ops.
645
646 libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r bugs.
647
648 Version 0.146:
649
650 libdwfl: New function dwfl_core_file_report.
651
652 Version 0.145:
653
654 Fix build with --disable-dependency-tracking.
655
656 Fix build with most recent glibc headers.
657
658 libelf: More robust to bogus section headers.
659
660 libdw: Fix CFI decoding.
661
662 libdwfl: Fix address bias returned by CFI accessors.
663          Fix core file module layout identification.
664
665 readelf: Fix CFI decoding.
666
667 Version 0.144:
668
669 libelf: New function elf_getphdrnum.
670         Now support using more than 65536 program headers in a file.
671
672 libdw: New function dwarf_aggregate_size for computing (constant) type
673        sizes, including array_type cases with nontrivial calculation.
674
675 readelf: Don't give errors for missing info under -a.
676          Handle Linux "VMCOREINFO" notes under -n.
677
678 Version 0.143:
679
680 libdw: Various convenience functions for individual attributes now use
681        dwarf_attr_integrate to look up indirect inherited attributes.
682        Location expression handling now supports DW_OP_implicit_value.
683
684 libdwfl: Support automatic decompression of files in XZ format,
685          and of Linux kernel images made with bzip2 or LZMA (as well as gzip).
686
687 Version 0.142:
688
689 libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias
690         for elf_getshstrndx and deprecate original names.  Sun screwed up
691         their implementation and asked for a solution.
692
693 libebl: Add support for STB_GNU_UNIQUE.
694
695 elflint: Add support for STB_GNU_UNIQUE.
696
697 readelf: Add -N option, speeds up DWARF printing without address->name lookups.
698
699 libdw: Add support for decoding DWARF CFI into location description form.
700        Handle some new DWARF 3 expression operations previously omitted.
701        Basic handling of some new encodings slated for DWARF 4.
702
703 Version 0.141:
704
705 libebl: sparc backend fixes;
706         some more arm backend support
707
708 libdwfl: fix dwfl_module_build_id for prelinked DSO case;
709          fixes in core file support;
710          dwfl_module_getsym interface improved for non-address symbols
711
712 strip: fix infinite loop on strange inputs with -f
713
714 addr2line: take -j/--section=NAME option for binutils compatibility
715            (same effect as '(NAME)0x123' syntax already supported)
716
717 Version 0.140:
718
719 libelf: Fix regression in creation of section header
720
721 libdwfl: Less strict behavior if DWARF reader is just used to display data
722
723 Version 0.139:
724
725 libcpu: Add Intel SSE4 disassembler support
726
727 readelf: Implement call frame information and exception handling dumping.
728          Add -e option.  Enable it implicitly for -a.
729
730 elflint: Check PT_GNU_EH_FRAME program header entry.
731
732 libdwfl: Support automatic gzip/bzip2 decompression of ELF files.
733
734 Version 0.138:
735
736 Install <elfutils/version.h> header file for applications to use in source
737 version compatibility checks.
738
739 libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM
740
741 libcpu: disassembler fixes
742
743 libdwfl: bug fixes
744
745 libelf: bug fixes
746
747 nm: bug fixes for handling corrupt input files
748
749 Version 0.137:
750
751 Minor fixes for unreleased 0.136 release.
752
753 Version 0.136:
754
755 libdwfl: bug fixes; new "segment" interfaces;
756          all the libdwfl-based tools now support --core=COREFILE option
757
758 Version 0.135:
759
760 libdwfl: bug fixes
761
762 strip: changed handling of ET_REL files wrt symbol tables and relocs
763
764 Version 0.134:
765
766 elflint: backend improvements for sparc, alpha
767
768 libdwfl, libelf: bug fixes
769
770 Version 0.133:
771
772 readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
773
774 readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
775
776 libdwfl: bug fixes and optimization in relocation handling
777
778 elfcmp: bug fix for non-allocated section handling
779
780 ld: implement newer features of binutils linker.
781
782 Version 0.132:
783
784 libcpu: Implement x86 and x86-64 disassembler.
785 libasm: Add interface for disassembler.
786
787 all programs: add debugging of branch prediction.
788
789 libelf: new function elf_scnshndx.
790
791 Version 0.131:
792
793 libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated;
794        bug fixes for oddly-formatted DWARF
795
796 libdwfl: bug fixes in offline archive support, symbol table handling;
797          apply partial relocations for dwfl_module_address_section on ET_REL
798
799 libebl: powerpc backend support for Altivec registers
800
801 Version 0.130:
802
803 readelf: -p option can take an argument like -x for one section,
804          or no argument (as before) for all SHF_STRINGS sections;
805          new option --archive-index (or -c);
806          improved -n output for core files, on many machines
807
808 libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
809         new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
810
811 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
812
813 elflint: stricter checks on debug sections
814
815 libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo,
816          dwfl_module_build_id, dwfl_module_report_build_id;
817          support dynamic symbol tables found via phdrs;
818          dwfl_standard_find_debuginfo now uses build IDs when available
819
820 unstrip: new option --list (or -n)
821
822 libebl: backend improvements for sparc, alpha, powerpc
823
824 Version 0.129:
825
826 readelf: new options --hex-dump (or -x), --strings (or -p)
827
828 addr2line: new option --symbols (or -S)
829
830 Version 0.128:
831
832 new program: unstrip
833
834 elfcmp: new option --hash-inexact
835
836 Version 0.127:
837
838 libdw: new function dwarf_getsrcdirs
839
840 libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
841          dwfl_module_address_section
842
843 Version 0.126:
844
845 new program: ar
846
847 Version 0.125:
848
849 elflint: Compare DT_GNU_HASH tests.
850
851 move archives into -static RPMs
852
853 libelf, elflint: better support for core file handling
854
855 Version 0.124:
856
857 libebl: sparc backend support for return value location
858
859 libebl, libdwfl: backend register name support extended with more info
860
861 libelf, libdw: bug fixes for unaligned accesses on machines that care
862
863 readelf, elflint: trivial bugs fixed
864
865 Version 0.123:
866
867 libebl: Backend build fixes, thanks to Stepan Kasal.
868
869 libebl: ia64 backend support for register names, return value location
870
871 libdwfl: Handle truncated linux kernel module section names.
872
873 libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix.
874
875 elflint: Fix checks to permit --hash-style=gnu format.
876
877 Version 0.122:
878
879 libebl: add function to test for relative relocation
880
881 elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
882
883 elflint, readelf: add support for DT_GNU_HASH
884 libelf: add elf_gnu_hash
885
886 elflint, readelf: add support for 64-bit SysV-style hash tables
887
888 libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
889
890 Version 0.121:
891
892 libelf: bug fixes for rewriting existing files when using mmap.
893
894 make all installed headers usable in C++ code.
895
896 readelf: better output format.
897
898 elflint: fix tests of dynamic section content.
899
900 ld: Implement --as-needed, --execstack, PT_GNU_STACK.  Many small patches.
901
902 libdw, libdwfl: handle files without aranges info.
903
904 Version 0.120:
905
906 Bug fixes.
907
908 dwarf.h updated for DWARF 3.0 final specification.
909
910 libdwfl: New function dwfl_version.
911
912 The license is now GPL for most files.  The libelf, libebl, libdw,
913 and libdwfl libraries have additional exceptions.  Add reference to
914 OIN.
915
916 Version 0.119:
917
918 bug fixes
919
920 Version 0.118:
921
922 elflint: more tests.
923
924 libdwfl: New function dwfl_module_register_names.
925
926 libebl: New backend hook for register names.
927
928 Version 0.117:
929
930 libdwfl: New function dwfl_module_return_value_location.
931
932 libebl: Backend improvements for several CPUs.
933
934 Version 0.116:
935
936 libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu,
937        dwarf_entry_breakpoints.  Removed Dwarf_Func type and functions
938        dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc,
939        dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses
940        Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col
941        replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column;
942        dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die.
943        Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist,
944        dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr.
945
946 Version 0.115:
947
948 libelf: speed-ups of non-mmap reading.
949
950 strings: New program.
951
952 Implement --enable-gcov option for configure.
953
954 libdw: New function dwarf_getscopes_die.
955
956 Version 0.114:
957
958 libelf: new function elf_getaroff
959
960 libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances.
961
962 libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address,
963          dwfl_linux_kernel_report_offline.
964
965 ranlib: new program
966
967 Version 0.113:
968
969 elflint: relax a bit. Allow version definitions for defined symbols against
970 DSO versions also for symbols in nobits sections.  Allow .rodata section
971 to have STRINGS and MERGE flag set.
972
973 strip: add some more compatibility with binutils.
974
975 Version 0.112:
976
977 elfcmp: some more relaxation.
978
979 elflint: many more tests, especially regarding to symbol versioning.
980
981 libelf: Add elfXX_offscn and gelf_offscn.
982
983 libasm: asm_begin interface changes.
984
985 libebl: Add three new interfaces to directly access machine, class, and
986 data encoding information.
987
988 objdump: New program.  Just the beginning.
989
990 Version 0.111:
991
992 libdw: now contains all of libdwfl.  The latter is not installed anymore.
993
994 elfcmp: little usability tweak, name and index of differing section is printed.
995
996 Version 0.110:
997
998 libelf: fix a number of problems with elf_update
999
1000 elfcmp: fix a few bugs.  Compare gaps.
1001
1002 Fix a few PLT problems and mudflap build issues.
1003
1004 libebl: Don't expose Ebl structure definition in libebl.h.  It's now private.
1005
1006 Version 0.109:
1007
1008 libebl: Check for matching modules.
1009
1010 elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols.
1011
1012 elfcmp: New program.
1013
1014 libdwfl: New library.
1015
1016 Version 0.108:
1017
1018 strip: fix bug introduced in last change
1019
1020 libdw: records returned by dwarf_getsrclines are now sorted by address
1021
1022 Version 0.107:
1023
1024 readelf: improve DWARF output format
1025
1026 strip: support Linux kernel modules
1027
1028 Version 0.106:
1029
1030 libdw: Updated dwarf.h from DWARF3 spec
1031 libdw: add new functions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line,
1032 dwarf_func_col, dwarf_getsrc_file
1033
1034 Version 0.105:
1035
1036 addr2line: New program
1037
1038 libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs,
1039 dwarf_func_*.
1040
1041 findtextrel: use dwarf_addrdie
1042
1043 Version 0.104:
1044
1045 findtextrel: New program.
1046
1047 Version 0.103:
1048
1049 libdw: Fix using libdw.h with gcc < 4 and C++ code.  Compiler bug.
1050
1051 Version 0.102:
1052
1053 More Makefile and spec file cleanups.
1054
1055 Version 0.101:
1056
1057 Remove most gettext autoconf handling.
1058
1059 Add more warnings
1060
1061 Fix resulting problems.  One actual bug found and fixed this way
1062
1063 Version 0.100:
1064
1065 libebl: Fix x86-64 relocations.
1066
1067 Add -Wunused -Wextra warnings.
1068
1069 Some cleanups resulting from those additional warnings.
1070
1071 Lots of Makefile cleanup.
1072
1073 Version 0.99:
1074
1075 libelf: add gelf_checksum prototype to <libelf.h>
1076
1077 libelf: fix elf*_checksum handling of NOBITS sections
1078
1079 Finish mudflap support.
1080
1081 Fix three bugs found by mudflap.
1082
1083 ld: add as_needed support
1084
1085 Version 0.98:
1086
1087 readelf: in section to segment mapping, indicate read-only sections.
1088
1089 elflint: more relaxation for GNU ld
1090
1091 Version 0.97:
1092
1093 Fix compiling with gcc 4.0.
1094 Some tests called elflint without appropriate LD_LIBRARY_PATH.
1095
1096 Version 0.96:
1097
1098 Fix support for platforms with lib64.
1099
1100 Version 0.95:
1101
1102 libebl: add ppc and ppc64 support
1103
1104 readelf: fix minimal memory leak.
1105
1106 Add support to compile with mudflap.
1107
1108 Modernize configure.ac.  Move scripts in config subdir.
1109
1110 Modernize *-po directory infrastructure.
1111
1112 libelf: Add gelf_getlib and gelf_update_lib
1113
1114 readelf: print liblist sections
1115
1116 Version 0.94:
1117
1118 Fix some minimal build problems.
1119
1120 Version 0.93:
1121
1122 ibdw: tons of new functionality and bug fixes.  Several interface changes.
1123
1124 readelf: use libdw now.
1125
1126 libdwarf: removed completely.
1127
1128 Version 0.92:
1129
1130 configuration changes.
1131
1132 Version 0.91:
1133
1134 libdw: fix memory handling.  Implement source line handling.
1135 nm: use libdw instead of libdwarf.
1136 libelf: change to GPL from OSL1 for now.
1137
1138 Version 0.90:
1139
1140 libebl: Recognize a few more section types and dynamic tags and return
1141 appropriate strings.
1142
1143 Version 0.89:
1144
1145 strip: fix overwriting of symbol table in input file.
1146
1147 Version 0.88:
1148
1149 libebl: Add some ia64 bits.
1150
1151 Version 0.87:
1152
1153 Bug fixes for big endian and some 64-bit machines.
1154
1155 Version 0.86:
1156
1157 strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes.
1158
1159 ld: tons of changes, moving towards usability.
1160
1161 Version 0.85:
1162
1163 strip: update section group symbol index if the associated symbol table changed
1164
1165 libelf: fix two problems with generating output not via mmap
1166
1167 elflint: add probably 10-15 more tests
1168 libebl: add support for some of the new tests
1169
1170 ld: gazillion changes
1171
1172 Version 0.84:
1173
1174 elflint: deal with .rel.dyn section.  Fix a problem with rela platforms.
1175 Handle PT_GNU_STACK.  Change to write messages to stdout.
1176
1177 readelf: fix a problem with version information in the symbol table output.
1178
1179 strip: update all version symbol table entries
1180
1181 Version 0.83:
1182
1183 size: fix a warning
1184
1185 strip: last changed caused problems when the symbol table is before the
1186 relocation section.  Fixed.  This fix also improved the asymptotic
1187 behavior if many symbol table sections are present.
1188
1189 Version 0.82:
1190
1191 Run strip tests with the correct libelf and libebl.
1192
1193 libelf: fix bug in verneed byte order changing code.
1194
1195 Version 0.81:
1196
1197 strip: Remove unused symbol table entries.  This might require updating
1198 various other sections.
1199
1200 Version 0.80:
1201
1202 Fix some libelf problems with ET_REL files.
1203
1204 Version 0.79:
1205
1206 More warning changes, mainly by jbj.
1207
1208 libdw: yet more new code.  dwarf_child and dwarf_sibling should now actually
1209 work.
1210
1211 Version 0.78:
1212
1213 libdw: 10+ new functions.  get-pubnames2 works now fully.  Almost all the
1214 code needed for nm is in place.
1215
1216 Version 0.77:
1217
1218 cleanups to compile cleanly with gcc 3.3 and -Werror.
1219
1220 libdw: some new code.
1221
1222 Version 0.76:
1223
1224 libebl: Fix last patch to recognize relocation sections.   We must not
1225 use the name.
1226
1227 Version 0.75:
1228
1229 libebl: .debug_ranges is a DWARF 3 debug section
1230 libebl: recognize relocation sections for debug section
1231 Patches by Jakub Jelinek.
1232
1233 Version 0.74:
1234
1235 Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>.
1236
1237 Version 0.73:
1238
1239 64-bit cleanups for the programs.
1240
1241 Version 0.72:
1242
1243 libelf: and yet more fun with endian transformation at output time.
1244
1245 Version 0.71:
1246
1247 libelf: more fun with endian transformation at output time.  Add test for it.
1248
1249 Version 0.70:
1250
1251 libelf: Two little bugs left from previous patch to handle section output
1252 order.
1253
1254 libelf: add unlikely in some more places.
1255
1256 Version 0.69:
1257
1258 libelf: fix output routines to handle case where section indices and
1259 ordre in the output file don't match correctly.  Patch by Jakub.
1260
1261 elflint: fix test of note section content for 64-bit platforms and files
1262 with different byte order.
1263
1264 Version 0.68:
1265
1266 libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub)
1267
1268 Version 0.67:
1269
1270 libelf: correct mistake in error string handling.
1271
1272 libelf: Implement ELF_F_PERMISSIVE.
1273 strip: Implement --permissive option.
1274
1275 Version 0.66:
1276
1277 strip: Implement -g option.
1278
1279 libelf: Handle broken hash table entry sizes.
1280
1281 libebl: New function ebl_debugscn_p.  Use it where appropriate.
1282
1283 Version 0.65:
1284
1285 libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set
1286
1287 Version 0.64:
1288
1289 libelf: Make error handling more robust.
1290 libelf: Use TLS in error handler if configured with --enable-tls
1291
1292 tests: input files are now distributed, not uuencoded in the shell scripts
1293
1294 libdw: implement error handling, dwarf_get_pubnames
1295
1296 Version 0.63:
1297
1298 Build (incomplete) libdw.
1299
1300 Version 0.62:
1301
1302 Get rid of libtool.
1303
1304 Version 0.61:
1305
1306 Fix URL of OSL.
1307
1308 Version 0.60:
1309
1310 libebl: Handle .gnu.warning.* sections correctly.
1311
1312 size: Implement -t option.
1313
1314 libebl: Add IA-64 support.
1315 libebl: Update SH relocations.
1316 libebl: Add Alpha support.
1317 libebl: Add Arm support.
1318 libebl: Add support for all currently known architecture to the loader.
1319
1320 Version 0.59:
1321
1322 nm: Implement -S option.  Correct portable output format.  Implement -s option.
1323
1324 libelf: Take offset of archive into account in elf_rand.
1325
1326 Version 0.58:
1327
1328 strip: fix handling of ET_REL files.
1329 Add tests for strip.
1330
1331 Version 0.57:
1332
1333 strip: respect layout of input file
1334
1335 Version 0.56:
1336
1337 strip: handle files with large number of sections.
1338
1339 Version 0.55:
1340
1341 libelf: quite a few bug fixes by Alex Larsson.
1342
1343 strip: implement -f option to place stripped sections into a separate
1344 file.  By Alex Larsson.
1345
1346 Version 0.54:
1347
1348 strip: don't let STT_SECTION symbols keeps sections from being removed
1349
1350 elflint: local symbols are allowed in .dynsym
1351 elflint: special case .rel.dyn a bit
1352
1353 Version 0.53:
1354
1355 elflint: check types and flags of special sections defined in gABI
1356
1357 libebl: add x86-64 support
1358
1359 Version 0.52:
1360
1361 Start improvement of debug info handling in nm.
1362
1363 libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them
1364
1365 Version 0.51:
1366
1367 Fix build on 64-bit platforms.
1368
1369 Version 0.50:
1370
1371 nm: print file/line number also for local symbols
1372
1373 use versions scripts not libtool's useless -export-symbols option
1374
1375 Version 0.49:
1376
1377 Update to autoconf 2.54 and automake 1.7.
1378
1379 elflint: check note sections
1380
1381 libdwarf: a number of bug fixes
1382
1383 readelf: print .debug_info section content
1384
1385 dwarf.h: Update from draft 7
1386
1387 Version 0.48:
1388
1389 libcpu: beginning
1390
1391 libelf: new function to read parts of the ELF file
1392
1393 libebl: support for note section handling
1394
1395 readelf: dump note sections
1396
1397 Version 0.47:
1398
1399 libelf: fix little new section-handling related bugs in elf_getshstrndx
1400 and elf_nextscn
1401
1402 elflint: tests for mandatory content of dynamic section
1403
1404 libasm: better handling of absolute symbols
1405
1406 Version 0.46:
1407
1408 libasm: rewrite to store Elf_Scn* instead of indices
1409
1410 nm: finish many-section support
1411
1412 nm: use debug in to print file/line info in sysv format
1413
1414 libdwarf: fix a few bugs in DIE handling
1415
1416 Version 0.45:
1417
1418 libelf: major rewrite to keep Elf_Scn references valid until elf_end
1419
1420 Version 0.44:
1421
1422 libasm: Add support for bss, ABS, and COM sections.
1423
1424 libebl: ebl_section_name takes now two index arguments to distinguish
1425 between special sections and extended sections
1426
1427 Version 0.43:
1428
1429 General: fix a few problem gcc 3.1 had with the code.
1430
1431 libelf: implement {gelf,elf32,elf64}_checksum
1432
1433 libelf: optimize DSO: fewer relocations, fewer PLTs
1434
1435 add msg_tst test
1436
1437 ld: use correct section header string table index; write correct index
1438
1439 add dependencies for *.sym files
1440
1441 Version 0.42:
1442
1443 libelf: add elf_getshnum and elf_getshstrndx
1444
1445 libebl: update section type name function
1446
1447 elflint: tons of fixes wrt large number of sections.  New tests in this area.
1448 Same amount of other bug fixes.
1449
1450 size, strip, nm: better support for large number of sections.  Including
1451 using correct section header string table
1452
1453 libasm: correctly create data structures for large number of sections
1454
1455 new tests asm-tst4 and asm-tst5 to check large number of sections
1456
1457 libasm: implement section group generation
1458
1459 elflint: more tests on section groups.  Improve performance on existing
1460 section group tests
1461
1462 Version 0.41:
1463
1464 ld: add undefined symbols to dynamic symbol table if --export-dynamic is
1465 not given
1466
1467 ld: fix value of e_entry
1468
1469 Version 0.40:
1470
1471 elflint: print section names in error messages
1472
1473 elflint: mustn't warn about multiple DT_NULL
1474
1475 ld: don't emit all symbols if --export-dynamic is not given
1476
1477 ld: correct compute symbol address in output file (section index was off by 1)
1478
1479 ld: generate correct version info in dynsym without --export-dynamic and
1480 in symtab
1481
1482 Version 0.39:
1483
1484 Fix check of various e_*size entries in elflint.
1485
1486 Handle text output in asm_newsym.
1487
1488 Finish checks in asm-tst3.
1489
1490 Version 0.38:
1491
1492 Update to autoconf 2.53, automake 1.6, gettext 0.11+.
1493
1494 Introduce *.sym files to restrict export from DSOs.
1495
1496 Use attribute_hidden and internal_function to optimize DSO code.
1497
1498 Add TLS definitions in elf.h and handle them in readelf.
1499
1500 Fix bug in verdef section generation in ld.
1501
1502 Add initial libasm code.
1503
1504 Version 0.37:
1505
1506 Implement better hash size optimization heuristic in ld.  It uses a formula
1507 taking number of tests into account.
1508
1509 Lots of small bug fixes.
1510
1511 Improve readelf output format.  Respect various sh_link/sh_info values.
1512 Correctly print versioning information for symbol tables.
1513
1514 Version 0.36:
1515
1516 Implement preprocessing of linker script.  Recognize -z combreloc.
1517
1518 Version 0.35:
1519
1520 Implement -z ignore|record for ld.
1521
1522 Implement creating of .gnu.version_r and .gnu.version sections.  The
1523 .gnu.version does not yet contain correct info for defined and versioned
1524 symbols (means .gnu.version_d is not yet implemented).
1525
1526 Implement gelf_update_* functions to create versioning data.
1527
1528 Version 0.34:
1529
1530 Add DT_RUNPATH/DT_RPATH entries to dynamic section.  Create .plt and
1531 .rel.plt sections (completely).  Add support for all four PLT related
1532 dynamic section entries.  Add callback function for PLT creation.
1533
1534 More tests in elflint.  Add support for very strict checking which for
1535 now flags level 2 (deprecated features) usage.
1536
1537 Version 0.33:
1538
1539 Create dynamic symbol table, dynamic string table, and hash table to ld.
1540
1541 Add hash table histogram support to readelf.
1542
1543 Version 0.32:
1544
1545 more work on elflint
1546
1547 ld now creates the dynamic section and references it.  Start adding entries
1548 to dynamic section.
1549
1550 Version 0.31:
1551
1552 Start implementing elflint.
1553
1554 Version 0.30:
1555
1556 Fix handling of NOBITS sections in elf_getdata.
1557
1558 Start implementing generation of executables and DSOs in ld.
1559 Generation of program header mostly done.  Address computation done.
1560 Extension of linker script syntax.
1561
1562 Various cleanups.
1563
1564 Implement section group handling in readelf.
1565
1566 Version 0.29:
1567
1568 Implement section groups.  This involved a lot of code moving.  The
1569 new code is entirely untested since gas/gcc are currently not able to
1570 create section groups.  ld works fine on files without section groups.
1571
1572 Version 0.28:
1573
1574 Fix problem with adding more section in elf_newscn.  The section pointers
1575 for the data buffers wasn't adjusted.
1576
1577 Fix elf_getdata with nonzero second parameter.  Correctly handle creation
1578 of internal data buffer for machines without unaligned access.
1579
1580 Version 0.27:
1581
1582 Start adding support to selectively add sections.  Includes support for
1583 section groups.
1584 Add --gc-sections/--no-gc-sections options.
1585 Add general section merging support.
1586
1587 Fix a bug in section group support in strip.
1588
1589 Fix some potential problems with hash value in dynamic hash implementation.
1590
1591 Version 0.26:
1592
1593 section merging works in ld.
1594
1595 Version 0.25:
1596
1597 Actually create data structures from version map file and use it to hide
1598 symbols in ld.
1599
1600 Implement -s -s for ld.
1601
1602 Version 0.24:
1603
1604 Improve relocation table output in readelf.  Avoid some crashes.
1605 Finish many section handling in readelf.
1606
1607 Finish: finish implementation of ld -r.  At least some simple tests pass.
1608
1609 Version 0.23:
1610
1611 Fix a number of errors in ELF_C_WRITE handling.
1612
1613 Almost finished implementation of ld -r.  The data sections are all copied.
1614 Handling of symbol tables is missing.
1615
1616 Version 0.22:
1617
1618 Handle DSO and archive input files correctly if -r option is given.
1619
1620 Gracefully deal with no phdr in new file in libelf.
1621 Fix various small error handling problems.
1622 Don't mmap file for output unless the command says so.
1623
1624 Add code to create ELF section header table to ld finalize routines.
1625
1626 Version 0.21:
1627
1628 Fix some problems with recursive handling of archives in libelf.
1629
1630 Improve messages printed by nm.
1631
1632 Add symbol binding name handling to libebl.  Fix section name handling in
1633 libebl.
1634
1635 readelf and nm use more libebl functions.
1636
1637 Handle XINDEX correctly in nm and string.
1638
1639 Add first machine ld backend library (i386).
1640 Use it.  Recognize -r and --shared.  Avoid using -lxxx parameters for -r.
1641 Create ELF header in output file.  Change mode of output file according to
1642 output file type.  Reorganize callback initialization in ld.
1643
1644 Version 0.20:
1645
1646 Fix some memory leaks in libelf.
1647
1648 Version 0.19:
1649
1650 Implement reading version script.  Both inside linker scripts and via the
1651 --version-script command line parameter.  Uses the same code.
1652 What remains to be done is to implement a data structure which allows
1653 efficient matching against the version names to decide which pattern
1654 matches.
1655
1656 Beginning of output generation and output writing functions.
1657
1658 Version 0.18:
1659
1660 Finish implementation for DSO input file handling.  Implement rpath, runpath,
1661 and LD_LIBRARY_PATH handling.
1662
1663 Version 0.17:
1664
1665 make handling of e_shnum overflow in libelf standard conforming
1666
1667 ld now actually can handle DSOs in linker scripts.  Handling of DT_RUNPATH,
1668 DT_RPATH, -rpath, -rpath-link still remains to be implemented.
1669
1670 fix handling of -L parameters.  Make actual use of the default_paths element.
1671
1672 make re-definition of symbols in and from DSO compatible with existing linker
1673
1674 Version 0.16:
1675
1676 more work on assigning input sections to output sections.
1677
1678 Add gelf_xlatetof and gelf_xlatetom which were accidentally left out.
1679
1680 Fix memory handling of section headers.
1681
1682 Version 0.15:
1683
1684 Add many-section support to ld.  Add various new command line parameters.
1685 Allow pagesize to be specified in linker script or on the command line.
1686 Collect input sections in list for the output section according to the rules
1687 specified in the linker script.
1688
1689 Version 0.14:
1690
1691 Fix some problems in the internal list handling which had the result
1692 that we didn't look for some of the unresolved symbols.
1693
1694 Free some memory if we know we don't need it anymore.
1695
1696 Optimize the list of unresolved symbols.  Throw out symbols which are
1697 meanwhile resolved.
1698
1699 Version 0.13:
1700
1701 Got file reading correct now.  The files are all read while parsing
1702 the parameters.  No creating of data structures to describe the linker
1703 command line.  The symbol table is built up while reading the files.
1704 DSOs are handled now.  -( -) handling is optimized.
1705
1706 Version 0.12:
1707
1708 Linker read linker scripts everywhere.  Handles --whole-archive.  Recognizes
1709 --dynamic and --static.  Collects defined and undefined symbols.  Recognizes
1710 conflicts.
1711
1712 libebl now defines functions to call the callbacks.  Add generic name handling
1713 in these new functions.  Remove the code from readelf and call the new
1714 functions.
1715
1716 Version 0.11:
1717
1718 Start of linker.  Basic argument parsing, finding of input files,
1719 linker script reading.
1720
1721 Version 0.10:
1722
1723 Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(),
1724 dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(),
1725 dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it.
1726
1727 Version 0.9:
1728
1729 Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(),
1730 dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(),
1731 and tests for them.
1732
1733 Version 0.8:
1734
1735 Make handling of binaries in other byte order work and add tests for it.
1736
1737 Version 0.7:
1738
1739 Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(),
1740 dwarf_get_arange_info(), and tests for them.
1741
1742 Version 0.6:
1743
1744 Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(),
1745 dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them
1746
1747 Version 0.5:
1748
1749 Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(),
1750 dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(),
1751 dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(),
1752 dwarf_lineepiloguebegin(), and tests for them.
1753
1754 Version 0.4:
1755
1756 Implemented dwarf_loclist().
1757
1758 Version 0.3:
1759
1760 Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and
1761 tests.
1762
1763 Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(),
1764 dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(),
1765 dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(),
1766 dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(),
1767 dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock,
1768 dwarf_formstring() and tests for them.
1769
1770 Version 0.2:
1771
1772 Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(),
1773 dwarf_die_CU_offset(), dwarf_diename() and tests for them.
1774
1775 Version 0.1:
1776
1777 First libdwarf functions work.
1778
1779 Version 0.0:
1780
1781 libelf and parts of libebl are done.