1# -*- rpm-spec-*- 2Name: elfutils 3Version: @PACKAGE_VERSION@ 4Release: 1 5URL: http://elfutils.org/ 6License: GPLv3+ and (GPLv2+ or LGPLv3+) and GFDL 7Source: ftp://sourceware.org/pub/elfutils/%{version}/elfutils-%{version}.tar.bz2 8Summary: A collection of utilities and DSOs to handle ELF files and DWARF data 9 10Requires: elfutils-libelf = %{version}-%{release} 11Requires: elfutils-libs = %{version}-%{release} 12# Can be a Recommends if rpm supports that 13Requires: elfutils-debuginfod-client = %{version}-%{release} 14 15BuildRequires: gcc 16# For libstdc++ demangle support 17BuildRequires: gcc-c++ 18 19BuildRequires: gettext 20BuildRequires: bison 21BuildRequires: flex 22 23# Compression support 24BuildRequires: zlib-devel 25BuildRequires: bzip2-devel 26BuildRequires: xz-devel 27BuildRequires: libzstd-devel 28 29# For debuginfod 30BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33 31BuildRequires: pkgconfig(libcurl) >= 7.29.0 32BuildRequires: pkgconfig(sqlite3) >= 3.7.17 33BuildRequires: pkgconfig(libarchive) >= 3.1.2 34 35# For tests need to bunzip2 test files. 36BuildRequires: bzip2 37BuildRequires: zstd 38# For the run-debuginfod-find.sh test case in %check for /usr/sbin/ss 39BuildRequires: iproute 40BuildRequires: bsdtar 41BuildRequires: curl 42 43%define _gnu %{nil} 44%define _programprefix eu- 45 46%description 47Elfutils is a collection of utilities, including stack (to show 48backtraces), nm (for listing symbols from object files), size 49(for listing the section sizes of an object or archive file), 50strip (for discarding symbols), readelf (to see the raw ELF file 51structures), elflint (to check for well-formed ELF files) and 52elfcompress (to compress or decompress ELF sections). 53 54%package libs 55Summary: Libraries to handle compiled objects 56License: GPLv2+ or LGPLv3+ 57Requires: elfutils-libelf = %{version}-%{release} 58Requires: default-yama-scope 59# Can be a Recommends if rpm supports that 60Requires: elfutils-debuginfod-client = %{version}-%{release} 61 62%description libs 63The elfutils-libs package contains libraries which implement DWARF, ELF, 64and machine-specific ELF handling and process introspection. These 65libraries are used by the programs in the elfutils package. The 66elfutils-devel package enables building other programs using these 67libraries. 68 69%package devel 70Summary: Development libraries to handle compiled objects 71License: GPLv2+ or LGPLv3+ 72Requires: elfutils-libs = %{version}-%{release} 73Requires: elfutils-libelf-devel = %{version}-%{release} 74# Can be a Recommends if rpm supports that 75Requires: elfutils-debuginfod-client-devel = %{version}-%{release} 76 77%description devel 78The elfutils-devel package contains the libraries to create 79applications for handling compiled objects. libdw provides access 80to the DWARF debugging information. libasm provides a programmable 81assembler interface. 82 83%package devel-static 84Summary: Static archives to handle compiled objects 85License: GPLv2+ or LGPLv3+ 86Requires: elfutils-devel = %{version}-%{release} 87Requires: elfutils-libelf-devel-static = %{version}-%{release} 88 89%description devel-static 90The elfutils-devel-static package contains the static archives 91with the code to handle compiled objects. 92 93%package libelf 94Summary: Library to read and write ELF files 95License: GPLv2+ or LGPLv3+ 96 97%description libelf 98The elfutils-libelf package provides a DSO which allows reading and 99writing ELF files on a high level. Third party programs depend on 100this package to read internals of ELF files. The programs of the 101elfutils package use it also to generate new ELF files. 102 103%package libelf-devel 104Summary: Development support for libelf 105License: GPLv2+ or LGPLv3+ 106Requires: elfutils-libelf = %{version}-%{release} 107Conflicts: libelf-devel 108 109%description libelf-devel 110The elfutils-libelf-devel package contains the libraries to create 111applications for handling compiled objects. libelf allows you to 112access the internals of the ELF object file format, so you can see the 113different sections of an ELF file. 114 115%package libelf-devel-static 116Summary: Static archive of libelf 117License: GPLv2+ or LGPLv3+ 118Requires: elfutils-libelf-devel = %{version}-%{release} 119Conflicts: libelf-devel 120 121%description libelf-devel-static 122The elfutils-libelf-static package contains the static archive 123for libelf. 124 125%package default-yama-scope 126Summary: Default yama attach scope sysctl setting 127License: GPLv2+ or LGPLv3+ 128Provides: default-yama-scope 129BuildArch: noarch 130 131%description default-yama-scope 132Yama sysctl setting to enable default attach scope settings 133enabling programs to use ptrace attach, access to 134/proc/PID/{mem,personality,stack,syscall}, and the syscalls 135process_vm_readv and process_vm_writev which are used for 136interprocess services, communication and introspection 137(like synchronisation, signaling, debugging, tracing and 138profiling) of processes. 139 140%package debuginfod-client 141Summary: Library and command line client for build-id HTTP ELF/DWARF server 142License: GPLv3+ and (GPLv2+ or LGPLv3+) 143 144%package debuginfod-client-devel 145Summary: Libraries and headers to build debuginfod client applications 146License: GPLv2+ or LGPLv3+ 147Requires: elfutils-debuginfod-client = %{version}-%{release} 148 149%package debuginfod 150Summary: HTTP ELF/DWARF file server addressed by build-id 151License: GPLv3+ 152Requires: elfutils-libs = %{version}-%{release} 153Requires: elfutils-libelf = %{version}-%{release} 154Requires: elfutils-debuginfod-client = %{version}-%{release} 155BuildRequires: systemd 156Requires(post): systemd 157Requires(preun): systemd 158Requires(postun): systemd 159Requires(pre): shadow-utils 160# To extract .deb files with a bsdtar (= libarchive) subshell 161Requires: bsdtar 162 163%description debuginfod-client 164The elfutils-debuginfod-client package contains shared libraries 165dynamically loaded from -ldw, which use a debuginfod service 166to look up debuginfo and associated data. Also includes a 167command-line frontend. 168 169%description debuginfod-client-devel 170The elfutils-debuginfod-client-devel package contains the libraries 171to create applications to use the debuginfod service. 172 173%description debuginfod 174The elfutils-debuginfod package contains the debuginfod binary 175and control files for a service that can provide ELF/DWARF 176files to remote clients, based on build-id identification. 177The ELF/DWARF file searching functions in libdwfl can query 178such servers to download those files on demand. 179 180%prep 181%setup -q 182 183%build 184%configure --program-prefix=%{_programprefix} --enable-debuginfod --enable-debuginfod-urls 185make -s %{?_smp_mflags} 186 187%install 188rm -rf ${RPM_BUILD_ROOT} 189mkdir -p ${RPM_BUILD_ROOT}%{_prefix} 190 191%make_install 192 193chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so* 194mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod 195touch ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite 196 197# XXX Nuke unpackaged files 198( cd ${RPM_BUILD_ROOT} 199 rm -f .%{_includedir}/elfutils/libasm.h 200 rm -f .%{_libdir}/libasm.so 201 rm -f .%{_libdir}/libasm.a 202) 203 204install -Dm0644 config/10-default-yama-scope.conf ${RPM_BUILD_ROOT}%{_sysctldir}/10-default-yama-scope.conf 205 206install -Dm0644 config/debuginfod.service ${RPM_BUILD_ROOT}%{_unitdir}/debuginfod.service 207install -Dm0644 config/debuginfod.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/debuginfod 208mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod 209touch ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite 210 211%check 212make -s %{?_smp_mflags} check 213 214%post libs -p /sbin/ldconfig 215%postun libs -p /sbin/ldconfig 216%post libelf -p /sbin/ldconfig 217%postun libelf -p /sbin/ldconfig 218%post debuginfod-client -p /sbin/ldconfig 219%postun debuginfod-client -p /sbin/ldconfig 220 221%post default-yama-scope 222# Due to circular dependencies might not be installed yet, so double check. 223# (systemd -> elfutils-libs -> default-yama-scope -> systemd) 224if [ -x /usr/lib/systemd/systemd-sysctl ] ; then 225%sysctl_apply 10-default-yama-scope.conf 226fi 227 228%files 229%license COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL 230%doc README TODO CONTRIBUTING 231%{_bindir}/eu-addr2line 232%{_bindir}/eu-ar 233%{_bindir}/eu-elfclassify 234%{_bindir}/eu-elfcmp 235%{_bindir}/eu-elfcompress 236%{_bindir}/eu-elflint 237%{_bindir}/eu-findtextrel 238%{_bindir}/eu-make-debug-archive 239%{_bindir}/eu-nm 240%{_bindir}/eu-objdump 241%{_bindir}/eu-ranlib 242%{_bindir}/eu-readelf 243%{_bindir}/eu-size 244%{_bindir}/eu-stack 245%{_bindir}/eu-strings 246%{_bindir}/eu-strip 247%{_bindir}/eu-unstrip 248%{_mandir}/man1/eu-*.1* 249 250%files libs 251%license COPYING-GPLV2 COPYING-LGPLV3 252%{_libdir}/libasm-%{version}.so 253%{_libdir}/libdw-%{version}.so 254%{_libdir}/libasm.so.* 255%{_libdir}/libdw.so.* 256 257%files devel 258%{_includedir}/dwarf.h 259%dir %{_includedir}/elfutils 260%{_includedir}/elfutils/elf-knowledge.h 261%{_includedir}/elfutils/known-dwarf.h 262#%{_includedir}/elfutils/libasm.h 263%{_includedir}/elfutils/libdw.h 264%{_includedir}/elfutils/libdwfl.h 265%{_includedir}/elfutils/libdwelf.h 266%{_includedir}/elfutils/version.h 267#%{_libdir}/libasm.so 268%{_libdir}/libdw.so 269%{_libdir}/pkgconfig/libdw.pc 270 271%files devel-static 272%{_libdir}/libdw.a 273#%{_libdir}/libasm.a 274 275%files libelf 276%license COPYING-GPLV2 COPYING-LGPLV3 277%{_libdir}/libelf-%{version}.so 278%{_libdir}/libelf.so.* 279%{_datadir}/locale/*/LC_MESSAGES/elfutils.mo 280 281%files libelf-devel 282%{_includedir}/libelf.h 283%{_includedir}/gelf.h 284%{_includedir}/nlist.h 285%{_libdir}/libelf.so 286%{_libdir}/pkgconfig/libelf.pc 287%{_mandir}/man3/elf_*.3* 288 289%files libelf-devel-static 290%{_libdir}/libelf.a 291 292%files default-yama-scope 293%{_sysctldir}/10-default-yama-scope.conf 294 295%files debuginfod-client 296%defattr(-,root,root) 297%{_libdir}/libdebuginfod-%{version}.so 298%{_libdir}/libdebuginfod.so.* 299%{_bindir}/debuginfod-find 300%{_mandir}/man1/debuginfod-find.1* 301%config(noreplace) %{_sysconfdir}/profile.d/* 302 303%files debuginfod-client-devel 304%defattr(-,root,root) 305%{_libdir}/pkgconfig/libdebuginfod.pc 306%{_mandir}/man3/debuginfod_*.3* 307%{_includedir}/elfutils/debuginfod.h 308%{_libdir}/libdebuginfod.so 309 310%files debuginfod 311%defattr(-,root,root) 312%{_bindir}/debuginfod 313%config(noreplace) %{_sysconfdir}/sysconfig/debuginfod 314%{_unitdir}/debuginfod.service 315%{_sysconfdir}/sysconfig/debuginfod 316%{_mandir}/man8/debuginfod.8* 317 318%dir %attr(0700,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod 319%ghost %attr(0600,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod/debuginfod.sqlite 320 321%pre debuginfod 322getent group debuginfod >/dev/null || groupadd -r debuginfod 323getent passwd debuginfod >/dev/null || \ 324 useradd -r -g debuginfod -d /var/cache/debuginfod -s /sbin/nologin \ 325 -c "elfutils debuginfo server" debuginfod 326exit 0 327 328%post debuginfod 329%systemd_post debuginfod.service 330 331%postun debuginfod 332%systemd_postun_with_restart debuginfod.service 333 334%changelog 335* Fri Feb 5 2021 Mark Wielaard <mark@klomp.org> 0.183-1 336- debuginfod: New thread-busy metric and more detailed error metrics. 337 New --fdcache-mintmp and tracking of filesystem freespace. 338- debigonfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h can 339 be used to dlopen the libdebuginfod.so library. 340 New function debuginfod_set_verbose_fd and DEBUGINFOD_VERBOSE 341 environment variable. 342- config: profile.sh and profile.csh won't export DEBUGINFOD_URLS 343 unless configured --enable-debuginfod-urls[=URLS] 344- elflint, readelf: Recognize SHF_GNU_RETAIN. 345 Handle SHT_X86_64_UNWIND as valid relocation target type. 346 347* Sat Oct 31 2020 Mark Wielaard <mark@klomp.org> 0.182-1 348- backends: Support for tilegx has been removed. 349- config: New /etc/profile.d files to provide default $DEBUGINFOD_URLS. 350- debuginfod: More efficient package traversal, tolerate various 351 errors during scanning, grooming progress is more visible and 352 interruptible, more prometheus metrics. 353- debuginfod-client: Now supports compressed (kernel) ELF images. 354- libdwfl: Add ZSTD compression support. 355 356* Tue Sep 8 2020 Mark Wielaard <mark@klomp.org> 0.181-1 357- libelf: elf_update now compensates (fixes up) a bad sh_addralign 358 for SHF_COMPRESSED sections. 359- libdebuginfod: configure now takes --enable-libdebuginfod=dummy or 360 --disable-libdebuginfod for bootstrapping. 361 DEBUGINFOD_URLS now accepts "scheme-free" urls 362 (guessing at what the user meant, either http:// or file://) 363- readelf, elflint: Handle aarch64 bti, pac bits in dynamic table and 364 gnu property notes. 365- libdw, readelf: Recognize DW_CFA_AARCH64_negate_ra_state. Allows 366 unwinding on arm64 for code that is compiled for PAC 367 (Pointer Authentication Code) as long as it isn't enabled. 368 369* Thu Jun 11 2020 Mark Wielaard <mark@klomp.org> 0.180-1 370- elflint: Allow SHF_EXCLUDE as generic section flag when --gnu is given. 371- libdw, readelf: Handle GCC LTO .gnu.debuglto_ prefix. 372- libdw: Use correct CU to resolve file names in dwarf_decl_file. 373- libdwfl: Handle debugaltlink in dwfl_standard_find_debuginfo. 374- size: Also obey radix printing for bsd format. 375- nm: Explicitly print weak 'V' or 'T' and common 'C' symbols. 376 377* Mon Mar 30 2020 Mark Wielaard <mark@klomp.org> 0.179-1 378- debuginfod-client: When DEBUGINFOD_PROGRESS is set and the program 379 doesn't install its own debuginfod_progressfn_t show download 380 progress on stderr. 381 DEBUGINFOD_TIMEOUT is now defined as seconds to get at least 100K, 382 defaults to 90 seconds. 383 Default to $XDG_CACHE_HOME/debuginfod_client. 384 New functions debuginfod_set_user_data, debuginfod_get_user_data, 385 debuginfod_get_url and debuginfod_add_http_header. 386 Support for file:// URLs. 387- debuginfod: Uses libarchive directly for reading rpm archives. 388 Support for indexing .deb/.ddeb archives through dpkg-deb or bsdtar. 389 Generic archive support through -Z EXT[=CMD]. Which can be used for 390 example for arch-linux pacman files by using -Z '.tar.zst=zstdcat'. 391 Better logging using User-Agent and X-Forwarded-For headers. 392 More prometheus metrics. 393 Support for eliding dots or extraneous slashes in path names. 394- debuginfod-find: Accept /path/names in place of buildid hex. 395- libelf: Handle PN_XNUM in elf_getphdrnum before shdr 0 is cached. 396 Ensure zlib resource cleanup on failure. 397- libdwfl: dwfl_linux_kernel_find_elf and dwfl_linux_kernel_report_offline 398 now find and handle a compressed vmlinuz image. 399- readelf, elflint: Handle PT_GNU_PROPERTY. 400- translations: Updated Ukrainian translation. 401 402* Tue Nov 26 2019 Mark Wielaard <mark@klomp.org> 0.178-1 403- debuginfod: New server, client tool and library to index and fetch 404 ELF/DWARF files addressed by build-id through HTTP. 405- doc: There are now some manual pages for functions and tools. 406- backends: The libebl libraries are no longer dynamically loaded 407 through dlopen, but are now compiled into libdw.so directly. 408- readelf: -n, --notes now takes an optional "SECTION" argument. 409 -p and -x now also handle section numbers. 410 New option --dyn-sym to show just the dynamic symbol table. 411- libcpu: Add RISC-V disassembler. 412- libdw: Abbrevs and DIEs can now be read concurrently by multiple 413 threads through the same Dwarf handle. 414- libdwfl: Will try to use debuginfod when installed as fallback to 415 retrieve ELF and DWARF debug data files by build-id. 416 417* Tue Aug 13 2019 Mark Wielaard <mark@klomp.org> 0.177-1 418- elfclassify: New tool to analyze ELF objects. 419- readelf: Print DW_AT_data_member_location as decimal offset. 420 Decode DW_AT_discr_list block attributes. 421- libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias. 422- libdwelf: Add dwelf_elf_e_machine_string. 423 dwelf_elf_begin now only returns NULL when there is an error 424 reading or decompressing a file. If the file is not an ELF file 425 an ELF handle of type ELF_K_NONE is returned. 426- backends: Add support for C-SKY. 427 428* Thu Feb 14 2019 Mark Wielaard <mark@klomp.org> 0.176-1 429- build: Add new --enable-install-elfh option. 430 Do NOT use this for system installs (it overrides glibc elf.h). 431- backends: riscv improved core file and return value location support. 432- Fixes CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7150, 433 CVE-2019-7664, CVE-2019-7665. 434 435* Wed Nov 14 2018 Mark Wielaard <mark@klomp.org> 0.175-1 436- readelf: Handle multiple .debug_macro sections. 437 Recognize and parse GNU Property notes, NT_VERSION notes and 438 GNU Build Attribute ELF Notes. 439- strip: Handle SHT_GROUP correctly. 440 Add strip --reloc-debug-sections-only option. 441 Handle relocations against GNU compressed sections. 442- libdwelf: New function dwelf_elf_begin. 443- libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT 444 and BPF_JSLE. 445- backends: RISCV handles ADD/SUB relocations. 446 Handle SHT_X86_64_UNWIND. 447- Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521. 448 449* Fri Sep 14 2018 Mark Wielaard <mark@klomp> 0.174-1 450- libelf, libdw and all tools now handle extended shnum and shstrndx 451 correctly. 452- elfcompress: Don't rewrite input file if no section data needs 453 updating. Try harder to keep same file mode bits (suid) on rewrite. 454- strip: Handle mixed (out of order) allocated/non-allocated sections. 455- unstrip: Handle SHT_GROUP sections. 456- backends: RISCV and M68K now have backend implementations to 457 generate CFI based backtraces. 458- Fixes CVE-2018-16062, CVE-2018-16402 and CVE-2018-16403. 459 460* Fri Jun 29 2018 Mark Wielaard,,, <mark@klomp.org> 0.173-1 461- More fixes for crashes and hangs found by afl-fuzz. In particular 462 various functions now detect and break infinite loops caused by bad 463 DIE tree cycles. 464- readelf: Will now lookup the size and signedness of constant value 465 types to display them correctly (and not just how they were encoded). 466- libdw: New function dwarf_next_lines to read CU-less .debug_line data. 467 dwarf_begin_elf now accepts ELF files containing just .debug_line 468 or .debug_frame sections (which can be read without needing a DIE 469 tree from the .debug_info section). 470 Removed dwarf_getscn_info, which was never implemented. 471- backends: Handle BPF simple relocations. 472 The RISCV backends now handles ABI specific CFI and knows about 473 RISCV register types and names. 474 475* Mon Jun 11 2018 Mark Wielaard <mark@klomp.org> 0.172-1 476- No functional changes compared to 0.171. 477- Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 478 data. Thanks to running the afl fuzzer on eu-readelf and various 479 testcases. 480- eu-readelf -N is ~15% faster. 481 482* Fri Jun 01 2018 Mark Wielaard <mark@klomp.org> 0.171-1 483- DWARF5 and split dwarf, including GNU DebugFission, support. 484- readelf: Handle all new DWARF5 sections. 485 --debug-dump=info+ will show split unit DIEs when found. 486 --dwarf-skeleton can be used when inspecting a .dwo file. 487 Recognizes GNU locviews with --debug-dump=loc. 488- libdw: New functions dwarf_die_addr_die, dwarf_get_units, 489 dwarf_getabbrevattr_data and dwarf_cu_info. 490 libdw will now try to resolve the alt file on first use 491 when not set yet with dwarf_set_alt. 492 dwarf_aggregate_size() now works with multi-dimensional arrays. 493- libdwfl: Use process_vm_readv when available instead of ptrace. 494- backends: Add a RISC-V backend. 495 496* Wed Aug 2 2017 Mark Wielaard <mark@klomp.org> 0.170-1 497- libdw: Added new DWARF5 attribute, tag, character encoding, 498 language code, calling convention, defaulted member function 499 and macro constants to dwarf.h. 500 New functions dwarf_default_lower_bound and dwarf_line_file. 501 dwarf_peel_type now handles DWARF5 immutable, packed and shared tags. 502 dwarf_getmacros now handles DWARF5 .debug_macro sections. 503- strip: Add -R, --remove-section=SECTION and --keep-section=SECTION. 504- backends: The bpf disassembler is now always build on all platforms. 505 506* Fri May 5 2017 Mark Wielaard <mark@klomp.org> 0.169-1 507- backends: Add support for EM_PPC64 GNU_ATTRIBUTES. 508 Frame pointer unwinding fallback support for i386, x86_64, aarch64. 509- translations: Update Polish translation. 510 511* Tue Dec 27 2016 Mark Wielaard <mark@klomp.org> 0.168-1 512- http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/ 513- libelf: gelf_newehdr and gelf_newehdr now return void *. 514- libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1). 515- readelf: Add optional --symbols[=SECTION] argument to select section name. 516 517* Thu Aug 4 2016 Mark Wielaard <mjw@redhat.com> 0.167-1 518- libasm: Add eBPF disassembler for EM_BPF files. 519- backends: Add m68k and BPF backends. 520- ld: Removed. 521- dwelf: Add ELF/DWARF string table creation functions. 522 dwelf_strtab_init, dwelf_strtab_add, dwelf_strtab_add_len, 523 dwelf_strtab_finalize, dwelf_strent_off, dwelf_strent_str and 524 dwelf_strtab_free. 525 526* Thu Mar 31 2016 Mark Wielaard <mjw@redhat.com> 0.166-1 527- config: The default program prefix for the installed tools is now 528 eu-. Use configure --program-prefix="" to not use a program prefix. 529 530* Fri Jan 8 2016 Mark Wielaard <mjw@redhat.com> 0.165-1 531- elfcompress: New utility to compress or decompress ELF sections. 532- readelf: Add -z,--decompress option. 533- libelf: Add elf_compress, elf_compress_gnu, elf32_getchdr, 534 elf64_getchdr and gelf_getchdr. 535- libdwelf: New function dwelf_scn_gnu_compressed_size. 536- config: Add libelf and libdw pkg-config files. 537- backends: sparc support for core and live backtraces. 538- translations: Updated Polish translation. 539 540* Thu Oct 15 2015 Mark Wielaard <mjw@redhat.com> 0.164-1 541- strip, unstrip: Handle ELF files with merged strtab/shstrtab 542 tables. Handle missing SHF_INFO_LINK section flags. 543- libelf: Use int64_t for offsets in libelf.h instead of loff_t. 544- libdw: dwarf.h Add preliminary DWARF5 DW_LANG_Haskell. 545- libdwfl: dwfl_standard_find_debuginfo now searches any subdir of 546 the binary path under the debuginfo root when the separate 547 debug file couldn't be found by build-id. 548 dwfl_linux_proc_attach can now be called before any Dwfl_Modules 549 have been reported. 550- backends: Better sparc and sparc64 support. 551- translations: Updated Ukrainian translation. 552- Provide default-yama-scope subpackage. 553 554* Fri Jun 19 2015 Mark Wielaard <mjw@redhat.com> 0.163-1 555- Bug fixes only, no new features. 556 557* Wed Jun 10 2015 Mark Wielaard <mjw@redhat.com> 0.162-1 558- libdw: Install new header elfutils/known-dwarf.h. 559 dwarf.h Add preliminary DWARF5 constants DW_TAG_atomic_type, 560 DW_LANG_Fortran03, DW_LANG_Fortran08. dwarf_peel_type now also 561 handles DW_TAG_atomic_type. 562- addr2line: Input addresses are now always interpreted as 563 hexadecimal numbers, never as octal or decimal numbers. 564 New option -a, --addresses to print address before each entry. 565 New option -C, --demangle to show demangled symbols. 566 New option --pretty-print to print all information on one line. 567- ar: CVE-2014-9447 Directory traversal vulnerability in ar 568 extraction. 569- backends: x32 support. 570 571* Thu Dec 18 2014 Mark Wielaard <mjw@redhat.com> 0.161-1 572- libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses 573 dwarf_peel_type to also provide the sizes of qualified types. 574 dwarf_getmacros will now serve either of .debug_macro and 575 .debug_macinfo transparently. New interfaces dwarf_getmacros_off, 576 dwarf_macro_getsrcfiles, dwarf_macro_getparamcnt, and 577 dwarf_macro_param are available for more generalized inspection of 578 macros and their parameters. 579 dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11, 580 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14. 581 582* Mon Aug 25 2014 Mark Wielaard <mjw@redhat.com> 0.160-1 583- libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die. 584 dwarf.h remove non-existing DW_TAG_mutable_type. 585- libdwfl: Handle LZMA .ko.xz compressed kernel modules. 586- unstrip: New option -F, --force to combining files even if some ELF 587 headers don't seem to match. 588- backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi. 589 590* Sat May 17 2014 Mark Wielaard <mjw@redhat.com> 0.159-1 591- stack: New option -d, --debugname to lookup DWARF debuginfo name 592 for frame. New option -i, --inlines to show inlined frames 593 using DWARF debuginfo. 594- libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level 595 Functions. New function dwelf_elf_gnu_debuglink, 596 dwelf_dwarf_gnu_debugaltlink, and dwelf_elf_gnu_build_id. 597- libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and 598 DW_FORM_GNU_strp_alt is now enabled by default and no longer 599 experimental. Added new functions dwarf_getalt and dwarf_setalt 600 to get or set the alternative debug file used for the alt FORMs. 601 The dwfl_linux_proc_find_elf callback will now find ELF from 602 process memory for (deleted) files if the Dwfl has process state 603 attached. 604- libdwfl: The dwfl_build_id_find_debuginfo and 605 dwfl_standard_find_debuginfo functions will now try to 606 resolve and set the alternative debug file. 607- backends: Add CFI unwinding for arm. Relies on .debug_frame. 608 Add arm process initial register state compatible mode to AARCH64. 609 Add aarch64 native and core unwind support. 610- other: All separate elfutils-robustify patches have been merged. 611 CVE-2014-0172 Check overflow before calling malloc to uncompress 612 data. 613 614* Fri Jan 3 2014 Mark Wielaard <mjw@redhat.com> 0.158-1 615- libdwfl: dwfl_core_file_report has new parameter executable. 616 New functions dwfl_module_getsymtab_first_global, 617 dwfl_module_getsym_info and dwfl_module_addrinfo. 618 Added unwinder with type Dwfl_Thread_Callbacks, opaque types 619 Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state, 620 dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread, 621 dwfl_thread_state_registers, dwfl_thread_state_register_pc, 622 dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes 623 and dwfl_frame_pc. 624- addr2line: New option -x to show the section an address was found in. 625- stack: New utility that uses the new unwinder for processes and cores. 626- backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64. 627 aarch64 support. 628 629* Mon Sep 30 2013 Mark Wielaard <mjw@redhat.com> 0.157-1 630- libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr 631 and dwarf_getlocation_die. 632- readelf: Show contents of NT_SIGINFO and NT_FILE core notes. 633- addr2line: Support -i, --inlines output option. 634- backends: abi_cfi hook for arm, ppc and s390. 635 636* Thu Jul 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> 0.156-1 637- lib: New macro COMPAT_VERSION_NEWPROTO. 638- libdw: Handle GNU extension opcodes in dwarf_getlocation. 639- libdwfl: Fix STB_GLOBAL over STB_WEAK preference in 640 dwfl_module_addrsym. Add minisymtab support. Add 641 parameter add_p_vaddr to dwfl_report_elf. Use DT_DEBUG 642 library search first. 643- libebl: Handle new core note types in EBL. 644- backends: Interpret NT_ARM_VFP. Implement core file 645 registers parsing for s390/s390x. 646- readelf: Add --elf-section input option to inspect an embedded ELF 647 file. Add -U, --unresolved-address-offsets output control. 648 Add --debug-dump=decodedline support. Accept version 649 8 .gdb_index section format. Adjust output formatting width. 650 When highpc is in constant form print it also as address. 651 Display raw .debug_aranges. Use libdw only for decodedaranges. 652- elflint: Add __bss_start__ to the list of allowed symbols. 653- tests: Add configure --enable-valgrind option to run all tests 654 under valgrind. Enable automake parallel-tests for make check. 655- translations: Updated Polish translation. 656- Updates for Automake 1.13. 657 658* Fri Aug 24 2012 Mark Wielaard <mjw@redhat.com> 0.155-1 659- libelf: elf*_xlatetomd now works for cross-endian ELF note data. 660 elf_getshdr now works consistently on non-mmaped ELF files after 661 calling elf_cntl(ELF_C_FDREAD). Implement support for 662 ar archives with 64-bit symbol table. 663- libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was 664 DW_LANG_Objc). Any existing sources using the old name will 665 have to be updated. Add DW_MACRO_GNU .debug_macro type 666 encodings constants, DW_ATE_UTF and DW_OP_GNU_parameter_ref to 667 dwarf.h. Experimental support for DWZ multifile forms 668 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt. Disabled by 669 default. Use configure --enable-dwz to test it. 670- readelf: Add .debug_macro parsing support. Add .gdb_index 671 version 7 parsing support. Recognize DW_OP_GNU_parameter_ref. 672- backends: Add support for Tilera TILE-Gx processor. 673- translations: Updated Ukrainian translation. 674 675* Fri Jun 22 2012 Mark Wielaard <mjw@redhat.com> 0.154-1 676- libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at 677 OFFSET. 678- libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc 679 constant form. Fix bug using dwarf_next_unit to iterate over 680 .debug_types. 681- elflint: Now accepts gold linker produced executables. 682- The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for 683 stand-alone programs. There is now also a formal CONTRIBUTING 684 document describing how to submit patches. 685 686* Thu Feb 23 2012 Mark Wielaard <mjw@redhat.com> 0.153-1 687- libdw: Support reading .zdebug_* DWARF sections compressed via zlib. 688- libdwfl: Speed up dwfl_module_addrsym. 689- nm: Support C++ demangling. 690- ar: Support D modifier for "deterministic output" with no 691 uid/gid/mtime info. The U modifier is the inverse. elfutils 692 can be configured with the --enable-deterministic-archives option 693 to make the D behavior the default when U is not specified. 694- ranlib: Support -D and -U flags with same meaning. 695- readelf: Improve output of -wline. Add support for printing SDT elf 696 notes. Add printing of .gdb_index section. Support for 697 typed DWARF stack, call_site and entry_value. 698- strip: Add --reloc-debug-sections option. Improved SHT_GROUP 699 sections handling. 700 701* Tue Feb 15 2011 <drepper@gmail.com> 0.152-1 702- Various build and warning nits fixed for newest GCC and Autoconf. 703- libdwfl: Yet another prelink-related fix for another regression. 704 Look for Linux kernel images in files named with compression 705 suffixes. 706- elfcmp: New flag --ignore-build-id to ignore differing build ID 707 bits. New flag -l/--verbose to print all differences. 708 709* Wed Jan 12 2011 <drepper@gmail.com> 0.151-1 710- libdwfl: Fix for more prelink cases with separate debug file. 711- strip: New flag --strip-sections to remove section headers entirely. 712 713* Mon Nov 22 2010 <drepper@gmail.com> 0.150-1 714- libdw: Fix for handling huge .debug_aranges section. 715- libdwfl: Fix for handling prelinked DSO with separate debug file. 716- findtextrel: Fix diagnostics to work with usual section ordering. 717- libebl: i386 backend fix for multi-register integer return value 718 location. 719 720* Mon Sep 13 2010 <drepper@redhat.com> 0.149-1 721- libdw: Decode new DW_OP_GNU_implicit_pointer operation; new 722 function dwarf_getlocation_implicit_pointer. 723- libdwfl: New function dwfl_dwarf_line. 724- addr2line: New flag -F/--flags to print more DWARF line information 725 details. 726- strip: -g recognizes .gdb_index as a debugging section. 727 728* Mon Jun 28 2010 <drepper@redhat.com> 0.148-1 729- libdw: Accept DWARF 4 format: new functions dwarf_next_unit, 730 dwarf_offdie_types. New functions dwarf_lineisa, 731 dwarf_linediscriminator, dwarf_lineop_index. 732- libdwfl: Fixes in core-file handling, support cores from PIEs. 733 When working from build IDs, don't open a named file that 734 mismatches. 735- readelf: Handle DWARF 4 formats. 736 737* Mon May 3 2010 Ulrich Drepper <drepper@redhat.com> 0.147-1 738- libdw: Fixes in CFI handling, best possible handling of bogus CFA 739 ops. 740- libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r 741 bugs. 742 743* Wed Apr 21 2010 <drepper@redhat.com> 0.146-1 744- libdwfl: New function dwfl_core_file_report. 745 746* Tue Feb 23 2010 Ulrich Drepper <drepper@redhat.com> 0.145-1 747- Fix build with --disable-dependency-tracking. 748- Fix build with most recent glibc headers. 749- libelf: More robust to bogus section headers. 750- libdw: Fix CFI decoding. 751- libdwfl: Fix address bias returned by CFI accessors. Fix core 752 file module layout identification. 753- readelf: Fix CFI decoding. 754 755* Thu Jan 14 2010 <drepper@redhat.com> 0.144-1 756- libelf: New function elf_getphdrnum. Now support using more than 757 65536 program headers in a file. 758- libdw: New function dwarf_aggregate_size for computing (constant) 759 type sizes, including array_type cases with nontrivial 760 calculation. 761- readelf: Don't give errors for missing info under -a. 762 Handle Linux "VMCOREINFO" notes under -n. 763 764* Mon Sep 21 2009 <drepper@redhat.com> 0.143-1 765- libdw: Various convenience functions for individual attributes now 766 use dwarf_attr_integrate to look up indirect inherited 767 attributes. Location expression handling now supports 768 DW_OP_implicit_value. 769- libdwfl: Support automatic decompression of files in XZ format, 770 and of Linux kernel images made with bzip2 or LZMA (as well 771 as gzip). 772 773* Mon Jun 29 2009 <drepper@redhat.com> 0.142-1 774- libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias 775 for elf_getshstrndx and deprecate original names. Sun screwed up 776 their implementation and asked for a solution. 777- libebl: Add support for STB_GNU_UNIQUE. 778- elflint: Add support for STB_GNU_UNIQUE. 779- readelf: Add -N option, speeds up DWARF printing without address->name lookups. 780- libdw: Add support for decoding DWARF CFI into location description form. 781 Handle some new DWARF 3 expression operations previously omitted. 782 Basic handling of some new encodings slated for DWARF 783 784* Thu Apr 23 2009 Ulrich Drepper <drepper@redhat.com> 0.141-1 785- libebl: sparc backend fixes; some more arm backend support 786- libdwfl: fix dwfl_module_build_id for prelinked DSO case; 787 fixes in core file support; dwfl_module_getsym interface 788 improved for non-address symbols 789- strip: fix infinite loop on strange inputs with -f 790- addr2line: take -j/--section=NAME option for binutils compatibility 791 (same effect as '(NAME)0x123' syntax already supported) 792 793* Mon Feb 16 2009 Ulrich Drepper <drepper@redhat.com> 0.140-1 794- libelf: Fix regression in creation of section header 795- libdwfl: Less strict behavior if DWARF reader is just used to 796 display data 797 798* Thu Jan 22 2009 Ulrich Drepper <drepper@redhat.com> 0.139-1 799- libcpu: Add Intel SSE4 disassembler support 800- readelf: Implement call frame information and exception handling 801 dumping. Add -e option. Enable it implicitly for -a. 802- elflint: Check PT_GNU_EH_FRAME program header entry. 803- libdwfl: Support automatic gzip/bzip2 decompression of ELF files. 804 805* Wed Dec 31 2008 Roland McGrath <roland@redhat.com> 0.138-1 806- Install <elfutils/version.h> header file for applications to use in 807 source version compatibility checks. 808- libebl: backend fixes for i386 TLS relocs; backend support for 809 NT_386_IOPERM 810- libcpu: disassembler fixes 811- libdwfl: bug fixes 812- libelf: bug fixes 813- nm: bug fixes for handling corrupt input files 814 815* Tue Aug 26 2008 Ulrich Drepper <drepper@redhat.com> 0.137-1 816- Minor fixes for unreleased 0.136 release. 817 818* Mon Aug 25 2008 Ulrich Drepper <drepper@redhat.com> 0.136-1 819- libdwfl: bug fixes; new segment interfaces; all the libdwfl-based 820 tools now support --core=COREFILE option 821 822* Mon May 12 2008 Ulrich Drepper <drepper@redhat.com> 0.135-1 823- libdwfl: bug fixes 824- strip: changed handling of ET_REL files wrt symbol tables and relocs 825 826* Tue Apr 8 2008 Ulrich Drepper <drepper@redhat.com> 0.134-1 827- elflint: backend improvements for sparc, alpha 828- libdwfl, libelf: bug fixes 829 830* Sat Mar 1 2008 Ulrich Drepper <drepper@redhat.com> 0.133-1 831- readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A) 832- readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV 833- libdwfl: bug fixes and optimization in relocation handling 834- elfcmp: bug fix for non-allocated section handling 835- ld: implement newer features of binutils linker. 836 837* Mon Jan 21 2008 Ulrich Drepper <drepper@redhat.com> 0.132-1 838- libcpu: Implement x86 and x86-64 disassembler. 839- libasm: Add interface for disassembler. 840- all programs: add debugging of branch prediction. 841- libelf: new function elf_scnshndx. 842 843* Sun Nov 11 2007 Ulrich Drepper <drepper@redhat.com> 0.131-1 844- libdw: DW_FORM_ref_addr support; dwarf_formref entry point now depreca 845ted; bug fixes for oddly-formatted DWARF 846- libdwfl: bug fixes in offline archive support, symbol table handling; 847 apply partial relocations for dwfl_module_address_section on 848ET_REL 849- libebl: powerpc backend support for Altivec registers 850 851* Mon Oct 15 2007 Ulrich Drepper <drepper@redhat.com> 0.130-1 852- readelf: -p option can take an argument like -x for one section, 853 or no argument (as before) for all SHF_STRINGS sections; 854 new option --archive-index (or -c); improved -n output for 855core files, on many machines 856- libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk; 857 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv 858- readelf, elflint: handle SHT_NOTE sections without requiring phdrs 859- elflint: stricter checks on debug sections 860- libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debu 861ginfo, dwfl_module_build_id, dwfl_module_report_build_id; suppo 862rt dynamic symbol tables found via phdrs; dwfl_standard_find_de 863buginfo now uses build IDs when available 864- unstrip: new option --list (or -n) 865- libebl: backend improvements for sparc, alpha, powerpc 866 867* Tue Aug 14 2007 Ulrich Drepper <drepper@redhat.com> 0.129-1 868- readelf: new options --hex-dump (or -x), --strings (or -p) 869- addr2line: new option --symbols (or -S) 870 871* Wed Apr 18 2007 Ulrich Drepper <drepper@redhat.com> 0.127-1 872- libdw: new function dwarf_getsrcdirs 873- libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add, 874 dwfl_module_address_section 875 876* Mon Feb 5 2007 Ulrich Drepper <drepper@redhat.com> 0.126-1 877- new program: ar 878 879* Mon Dec 18 2006 Ulrich Drepper <drepper@redhat.com> 0.125-1 880- elflint: Compare DT_GNU_HASH tests. 881- move archives into -static RPMs 882- libelf, elflint: better support for core file handling 883 884* Tue Oct 10 2006 Ulrich Drepper <drepper@redhat.com> 0.124-1 885- libebl: sparc backend support for return value location 886- libebl, libdwfl: backend register name support extended with more info 887- libelf, libdw: bug fixes for unaligned accesses on machines that care 888- readelf, elflint: trivial bugs fixed 889 890* Mon Aug 14 2006 Roland McGrath <roland@redhat.com> 0.123-1 891- libebl: Backend build fixes, thanks to Stepan Kasal. 892- libebl: ia64 backend support for register names, return value location 893- libdwfl: Handle truncated linux kernel module section names. 894- libdwfl: Look for linux kernel vmlinux files with .debug suffix. 895- elflint: Fix checks to permit --hash-style=gnu format. 896 897* Wed Jul 12 2006 Ulrich Drepper <drepper@redhat.com> 0.122-1 898- libebl: add function to test for relative relocation 899- elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks 900- elflint, readelf: add support for DT_GNU_HASHlibelf: add elf_gnu_hash 901- elflint, readelf: add support for 64-bit SysV-style hash tables 902- libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym. 903 904* Wed Jun 14 2006 <drepper@redhat.com> 0.121-1 905- libelf: bug fixes for rewriting existing files when using mmap. 906- make all installed headers usable in C++ code. 907- readelf: better output format. 908- elflint: fix tests of dynamic section content. 909- ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patc 910hes. 911- libdw, libdwfl: handle files without aranges info. 912 913* Tue Apr 4 2006 Ulrich Drepper <drepper@redhat.com> 0.120-1 914- Bug fixes. 915- dwarf.h updated for DWARF 3.0 final specification. 916- libdwfl: New function dwfl_version. 917- The license is now GPL for most files. The libelf, libebl, libdw,and 918libdwfl libraries have additional exceptions. Add reference toOIN. 919 920* Thu Jan 12 2006 Roland McGrath <roland@redhat.com> 0.119-1 921- elflint: more tests. 922- libdwfl: New function dwfl_module_register_names. 923- libebl: New backend hook for register names. 924 925* Tue Dec 6 2005 Ulrich Drepper <drepper@redhat.com> 0.118-1 926- elflint: more tests. 927- libdwfl: New function dwfl_module_register_names. 928- libebl: New backend hook for register names. 929 930* Thu Nov 17 2005 Ulrich Drepper <drepper@redhat.com> 0.117-1 931- libdwfl: New function dwfl_module_return_value_location. 932- libebl: Backend improvements for several CPUs. 933 934* Mon Oct 31 2005 Ulrich Drepper <drepper@redhat.com> 0.116-1 935- libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu, d 936warf_entry_breakpoints. Removed Dwarf_Func type and functions d 937warf_func_name, dwarf_func_lowpc, dwarf_func_highpc, dwarf_func_ 938entrypc, dwarf_func_die; dwarf_getfuncs callback now uses Dwarf_ 939Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col replac 940ed by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column; dwarf 941_func_inline, dwarf_func_inline_instances now take Dwarf_Die. Ty 942pe Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist, dwarf_addrlo 943clists renamed dwarf_getlocation, dwarf_getlocation_addr. 944 945* Fri Sep 2 2005 Ulrich Drepper <drepper@redhat.com> 0.115-1 946- libelf: speed-ups of non-mmap reading. 947- strings: New program. 948- Implement --enable-gcov option for configure. 949- libdw: New function dwarf_getscopes_die. 950 951* Wed Aug 24 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1 952- libelf: new function elf_getaroff 953- libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_inst 954ances. 955- libdwfl: New functions dwfl_report_offline, dwfl_offline_section_addre 956ss, dwfl_linux_kernel_report_offline. 957- ranlib: new program 958 959* Mon Aug 15 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1 960- libelf: new function elf_getaroff 961- ranlib: new program 962 963* Wed Aug 10 2005 Ulrich Drepper <@redhat.com> 0.113-1 964- elflint: relax a bit. Allow version definitions for defined symbols ag 965ainstDSO versions also for symbols in nobits sections. Allow .rodata 966sectionto have STRINGS and MERGE flag set. 967- strip: add some more compatibility with binutils. 968 969* Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1 970- elflint: relax a bit. Allow version definitions for defined symbols ag 971ainstDSO versions also for symbols in nobits sections. Allow .rodata 972sectionto have STRINGS and MERGE flag set. 973 974* Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1 975- elflint: relax a bit. Allow version definitions for defined symbols ag 976ainstDSO versions also for symbols in nobits sections. 977 978* Fri Aug 5 2005 Ulrich Drepper <@redhat.com> 0.112-1 979- elfcmp: some more relaxation. 980- elflint: many more tests, especially regarding to symbol versioning. 981- libelf: Add elfXX_offscn and gelf_offscn. 982- libasm: asm_begin interface changes. 983- libebl: Add three new interfaces to directly access machine, class, an 984ddata encoding information. 985- objdump: New program. Just the beginning. 986 987* Thu Jul 28 2005 Ulrich Drepper <@redhat.com> 0.111-1 988- libdw: now contains all of libdwfl. The latter is not installed anymore. 989- elfcmp: little usability tweak, name and index of differing section is 990 printed. 991 992* Sun Jul 24 2005 Ulrich Drepper <@redhat.com> 0.110-1 993- libelf: fix a numbe rof problems with elf_update 994- elfcmp: fix a few bugs. Compare gaps. 995- Fix a few PLT problems and mudflap build issues. 996- libebl: Don't expose Ebl structure definition in libebl.h. It's now p 997rivate. 998 999* Thu Jul 21 2005 Ulrich Drepper <@redhat.com> 0.109-1 1000- libebl: Check for matching modules. 1001- elflint: Check that copy relocations only happen for OBJECT or NOTYPE 1002symbols. 1003- elfcmp: New program. 1004- libdwfl: New library. 1005 1006* Mon May 9 2005 Ulrich Drepper <@redhat.com> 0.108-1 1007- strip: fix bug introduced in last change 1008- libdw: records returned by dwarf_getsrclines are now sorted by address 1009 1010* Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.108-1 1011- strip: fix bug introduced in last change 1012 1013* Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.107-1 1014- readelf: improve DWARF output format 1015- strip: support Linux kernel modules 1016 1017* Fri Apr 29 2005 Ulrich Drepper <drepper@redhat.com> 0.107-1 1018- readelf: improve DWARF output format 1019 1020* Mon Apr 4 2005 Ulrich Drepper <drepper@redhat.com> 0.106-1 1021- libdw: Updated dwarf.h from DWARF3 speclibdw: add new functions dwarf_f 1022unc_entrypc, dwarf_func_file, dwarf_func_line,dwarf_func_col, dwarf_ge 1023tsrc_file 1024 1025* Fri Apr 1 2005 Ulrich Drepper <drepper@redhat.com> 0.105-1 1026- addr2line: New program 1027- libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs 1028,dwarf_func_*. 1029- findtextrel: use dwarf_addrdie 1030 1031* Mon Mar 28 2005 Ulrich Drepper <drepper@redhat.com> 0.104-1 1032- findtextrel: New program. 1033 1034* Mon Mar 21 2005 Ulrich Drepper <drepper@redhat.com> 0.103-1 1035- libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug. 1036 1037* Tue Feb 22 2005 Ulrich Drepper <drepper@redhat.com> 0.102-1 1038- More Makefile and spec file cleanups. 1039 1040* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.94-1 1041- upgrade to 0.94 1042 1043* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.93-1 1044- upgrade to 0.93 1045 1046* Thu Jan 8 2004 Jakub Jelinek <jakub@redhat.com> 0.92-1 1047- full version 1048- macroized spec file for GPL or OSL builds 1049- include only libelf under GPL plus wrapper scripts 1050 1051* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-2 1052- macroized spec file for GPL or OSL builds 1053 1054* Wed Jan 7 2004 Ulrich Drepper <drepper@redhat.com> 1055- split elfutils-devel into two packages. 1056 1057* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-1 1058- include only libelf under GPL plus wrapper scripts 1059 1060* Tue Dec 23 2003 Jeff Johnson <jbj@redhat.com> 0.89-3 1061- readelf, not readline, in %%description (#111214). 1062 1063* Fri Sep 26 2003 Bill Nottingham <notting@redhat.com> 0.89-1 1064- update to 0.89 (fix eu-strip) 1065 1066* Tue Sep 23 2003 Jakub Jelinek <jakub@redhat.com> 0.86-3 1067- update to 0.86 (fix eu-strip on s390x/alpha) 1068- libebl is an archive now; remove references to DSO 1069 1070* Mon Jul 14 2003 Jeff Johnson <jbj@redhat.com> 0.84-3 1071- upgrade to 0.84 (readelf/elflint improvements, rawhide bugs fixed). 1072 1073* Fri Jul 11 2003 Jeff Johnson <jbj@redhat.com> 0.83-3 1074- upgrade to 0.83 (fix invalid ELf handle on *.so strip, more). 1075 1076* Wed Jul 9 2003 Jeff Johnson <jbj@redhat.com> 0.82-3 1077- upgrade to 0.82 (strip tests fixed on big-endian). 1078 1079* Tue Jul 8 2003 Jeff Johnson <jbj@redhat.com> 0.81-3 1080- upgrade to 0.81 (strip excludes unused symtable entries, test borked). 1081 1082* Thu Jun 26 2003 Jeff Johnson <jbj@redhat.com> 0.80-3 1083- upgrade to 0.80 (debugedit changes for kernel in progress). 1084 1085* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 1086- rebuilt 1087 1088* Wed May 21 2003 Jeff Johnson <jbj@redhat.com> 0.79-2 1089- upgrade to 0.79 (correct formats for size_t, more of libdw "works"). 1090 1091* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 0.78-2 1092- upgrade to 0.78 (libdwarf bugfix, libdw additions). 1093 1094* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com> 1095- debuginfo rebuild 1096 1097* Thu Feb 20 2003 Jeff Johnson <jbj@redhat.com> 0.76-2 1098- use the correct way of identifying the section via the sh_info link. 1099 1100* Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 0.75-2 1101- update to 0.75 (eu-strip -g fix) 1102 1103* Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 0.74-2 1104- update to 0.74 (fix for writing with some non-dirty sections) 1105 1106* Thu Feb 6 2003 Jeff Johnson <jbj@redhat.com> 0.73-3 1107- another -0.73 update (with sparc fixes). 1108- do "make check" in %%check, not %%install, section. 1109 1110* Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 0.73-2 1111- update to 0.73 (with s390 fixes). 1112 1113* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1114- rebuilt 1115 1116* Wed Jan 22 2003 Jakub Jelinek <jakub@redhat.com> 0.72-4 1117- fix arguments to gelf_getsymshndx and elf_getshstrndx 1118- fix other warnings 1119- re-enable checks on s390x 1120 1121* Sat Jan 11 2003 Karsten Hopp <karsten@redhat.de> 0.72-3 1122- temporarily disable checks on s390x, until someone has 1123 time to look at it 1124 1125* Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 0.72-2 1126- update to 0.72 1127 1128* Wed Dec 11 2002 Jakub Jelinek <jakub@redhat.com> 0.71-2 1129- update to 0.71 1130 1131* Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 0.69-4 1132- update to 0.69. 1133- add "make check" and segfault avoidance patch. 1134- elfutils-libelf needs to run ldconfig. 1135 1136* Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 0.68-2 1137- update to 0.68. 1138 1139* Fri Dec 6 2002 Jeff Johnson <jbj@redhat.com> 0.67-2 1140- update to 0.67. 1141 1142* Tue Dec 3 2002 Jeff Johnson <jbj@redhat.com> 0.65-2 1143- update to 0.65. 1144 1145* Mon Dec 2 2002 Jeff Johnson <jbj@redhat.com> 0.64-2 1146- update to 0.64. 1147 1148* Sun Dec 1 2002 Ulrich Drepper <drepper@redhat.com> 0.64 1149- split packages further into elfutils-libelf 1150 1151* Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 0.63-2 1152- update to 0.63. 1153 1154* Fri Nov 29 2002 Ulrich Drepper <drepper@redhat.com> 0.62 1155- Adjust for dropping libtool 1156 1157* Sun Nov 24 2002 Jeff Johnson <jbj@redhat.com> 0.59-2 1158- update to 0.59 1159 1160* Thu Nov 14 2002 Jeff Johnson <jbj@redhat.com> 0.56-2 1161- update to 0.56 1162 1163* Thu Nov 7 2002 Jeff Johnson <jbj@redhat.com> 0.54-2 1164- update to 0.54 1165 1166* Sun Oct 27 2002 Jeff Johnson <jbj@redhat.com> 0.53-2 1167- update to 0.53 1168- drop x86_64 hack, ICE fixed in gcc-3.2-11. 1169 1170* Sat Oct 26 2002 Jeff Johnson <jbj@redhat.com> 0.52-3 1171- get beehive to punch a rhpkg generated package. 1172 1173* Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 0.52-2 1174- build in 8.0.1. 1175- x86_64: avoid gcc-3.2 ICE on x86_64 for now. 1176 1177* Tue Oct 22 2002 Ulrich Drepper <drepper@redhat.com> 0.52 1178- Add libelf-devel to conflicts for elfutils-devel 1179 1180* Mon Oct 21 2002 Ulrich Drepper <drepper@redhat.com> 0.50 1181- Split into runtime and devel package 1182 1183* Fri Oct 18 2002 Ulrich Drepper <drepper@redhat.com> 0.49 1184- integrate into official sources 1185 1186* Wed Oct 16 2002 Jeff Johnson <jbj@redhat.com> 0.46-1 1187- Swaddle. 1188