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