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