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