1# -*- rpm-spec-*- 2Summary: A collection of utilities and DSOs to handle compiled objects 3Name: elfutils 4Version: 0.161 5Release: 1 6License: GPLv3+ and (GPLv2+ or LGPLv3+) 7Group: Development/Tools 8Source: elfutils-%{version}.tar.bz2 9Obsoletes: libelf libelf-devel 10Requires: elfutils-libelf = %{version}-%{release} 11Requires: glibc >= 2.7 12Requires: libstdc++ 13 14# ExcludeArch: xxx 15 16BuildRoot: %{_tmppath}/%{name}-root 17BuildRequires: gcc >= 4.1.2-33 18BuildRequires: glibc >= 2.7 19BuildRequires: bison >= 1.875 20BuildRequires: flex >= 2.5.4a 21BuildRequires: bzip2 22BuildRequires: m4 23BuildRequires: gettext 24BuildRequires: zlib-devel 25BuildRequires: bzip2-devel 26BuildRequires: xz-devel 27BuildRequires: gcc-c++ 28 29%define _gnu %{nil} 30%define _programprefix eu- 31 32%description 33Elfutils is a collection of utilities, including ld (a linker), 34nm (for listing symbols from object files), size (for listing the 35section sizes of an object or archive file), strip (for discarding 36symbols), readelf (to see the raw ELF file structures), and elflint 37(to check for well-formed ELF files). Also included are numerous 38helper libraries which implement DWARF, ELF, and machine-specific ELF 39handling. 40 41%package devel 42Summary: Development libraries to handle compiled objects. 43Group: Development/Tools 44License: GPLv2+ or LGPLv3+ 45Requires: elfutils = %{version}-%{release} 46Requires: elfutils-libelf-devel = %{version}-%{release} 47 48%description devel 49The elfutils-devel package contains the libraries to create 50applications for handling compiled objects. libebl provides some 51higher-level ELF access functionality. libdw provides access to 52the DWARF debugging information. libasm provides a programmable 53assembler interface. 54 55%package devel-static 56Summary: Static archives to handle compiled objects. 57Group: Development/Tools 58License: GPLv2+ or LGPLv3+ 59Requires: elfutils-devel = %{version}-%{release} 60 61%description devel-static 62The elfutils-devel-static archive contains the static archives 63with the code the handle compiled objects. 64 65%package libelf 66Summary: Library to read and write ELF files. 67Group: Development/Tools 68License: GPLv2+ or LGPLv3+ 69 70%description libelf 71The elfutils-libelf package provides a DSO which allows reading and 72writing ELF files on a high level. Third party programs depend on 73this package to read internals of ELF files. The programs of the 74elfutils package use it also to generate new ELF files. 75 76%package libelf-devel 77Summary: Development support for libelf 78Group: Development/Tools 79License: GPLv2+ or LGPLv3+ 80Requires: elfutils-libelf = %{version}-%{release} 81Conflicts: libelf-devel 82 83%description libelf-devel 84The elfutils-libelf-devel package contains the libraries to create 85applications for handling compiled objects. libelf allows you to 86access the internals of the ELF object file format, so you can see the 87different sections of an ELF file. 88 89%package libelf-devel-static 90Summary: Static archive of libelf 91Group: Development/Tools 92License: GPLv2+ or LGPLv3+ 93Requires: elfutils-libelf-devel = %{version}-%{release} 94Conflicts: libelf-devel 95 96%description libelf-devel-static 97The elfutils-libelf-static package contains the static archive 98for libelf. 99 100%prep 101%setup -q 102 103%build 104%configure --program-prefix=%{_programprefix} 105make 106 107%install 108rm -rf ${RPM_BUILD_ROOT} 109mkdir -p ${RPM_BUILD_ROOT}%{_prefix} 110 111%makeinstall 112 113chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so* 114chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so* 115 116# XXX Nuke unpackaged files 117{ cd ${RPM_BUILD_ROOT} 118 rm -f .%{_bindir}/eu-ld 119 rm -f .%{_includedir}/elfutils/libasm.h 120 rm -f .%{_libdir}/libasm.so 121 rm -f .%{_libdir}/libasm.a 122} 123 124%check 125make check 126 127%clean 128rm -rf ${RPM_BUILD_ROOT} 129 130%post -p /sbin/ldconfig 131 132%postun -p /sbin/ldconfig 133 134%post libelf -p /sbin/ldconfig 135 136%postun libelf -p /sbin/ldconfig 137 138%files 139%defattr(-,root,root) 140%doc COPYING COPYING-GPLV2 COPYING-LGPLV3 README TODO CONTRIBUTING 141%{_bindir}/eu-elflint 142%{_bindir}/eu-nm 143%{_bindir}/eu-readelf 144%{_bindir}/eu-size 145%{_bindir}/eu-strip 146%{_bindir}/eu-findtextrel 147%{_bindir}/eu-addr2line 148%{_bindir}/eu-elfcmp 149%{_bindir}/eu-ranlib 150%{_bindir}/eu-strings 151%{_bindir}/eu-objdump 152%{_bindir}/eu-ar 153%{_bindir}/eu-unstrip 154%{_bindir}/eu-make-debug-archive 155#%{_bindir}/eu-ld 156%{_libdir}/libasm-%{version}.so 157%{_libdir}/libdw-%{version}.so 158%{_libdir}/libasm.so.* 159%{_libdir}/libdw.so.* 160%dir %{_libdir}/elfutils 161%{_libdir}/elfutils/lib*.so 162 163%files devel 164%defattr(-,root,root) 165%{_includedir}/dwarf.h 166%dir %{_includedir}/elfutils 167%{_includedir}/elfutils/elf-knowledge.h 168#%{_includedir}/elfutils/libasm.h 169%{_includedir}/elfutils/libebl.h 170%{_includedir}/elfutils/libdw.h 171%{_includedir}/elfutils/libdwfl.h 172%{_includedir}/elfutils/libdwelf.h 173%{_libdir}/libebl.a 174#%{_libdir}/libasm.so 175%{_libdir}/libdw.so 176 177%files devel-static 178%{_libdir}/libdw.a 179#%{_libdir}/libasm.a 180 181%files libelf 182%defattr(-,root,root) 183%{_libdir}/libelf-%{version}.so 184%{_libdir}/libelf.so.* 185%{_datadir}/locale/*/LC_MESSAGES/elfutils.mo 186 187%files libelf-devel 188%defattr(-,root,root) 189%{_includedir}/libelf.h 190%{_includedir}/gelf.h 191%{_includedir}/nlist.h 192%{_includedir}/elfutils/version.h 193%{_libdir}/libelf.so 194 195%files libelf-devel-static 196%{_libdir}/libelf.a 197 198%changelog 199* Thu Dec 18 2014 Mark Wielaard <mjw@redhat.com> 0.161-1 200- libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses 201 dwarf_peel_type to also provide the sizes of qualified types. 202 dwarf_getmacros will now serve either of .debug_macro and 203 .debug_macinfo transparently. New interfaces dwarf_getmacros_off, 204 dwarf_macro_getsrcfiles, dwarf_macro_getparamcnt, and 205 dwarf_macro_param are available for more generalized inspection of 206 macros and their parameters. 207 dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11, 208 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14. 209 210* Mon Aug 25 2014 Mark Wielaard <mjw@redhat.com> 0.160-1 211- libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die. 212 dwarf.h remove non-existing DW_TAG_mutable_type. 213- libdwfl: Handle LZMA .ko.xz compressed kernel modules. 214- unstrip: New option -F, --force to combining files even if some ELF 215 headers don't seem to match. 216- backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi. 217 218* Sat May 17 2014 Mark Wielaard <mjw@redhat.com> 0.159-1 219- stack: New option -d, --debugname to lookup DWARF debuginfo name 220 for frame. New option -i, --inlines to show inlined frames 221 using DWARF debuginfo. 222- libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level 223 Functions. New function dwelf_elf_gnu_debuglink, 224 dwelf_dwarf_gnu_debugaltlink, and dwelf_elf_gnu_build_id. 225- libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and 226 DW_FORM_GNU_strp_alt is now enabled by default and no longer 227 experimental. Added new functions dwarf_getalt and dwarf_setalt 228 to get or set the alternative debug file used for the alt FORMs. 229 The dwfl_linux_proc_find_elf callback will now find ELF from 230 process memory for (deleted) files if the Dwfl has process state 231 attached. 232- libdwfl: The dwfl_build_id_find_debuginfo and 233 dwfl_standard_find_debuginfo functions will now try to 234 resolve and set the alternative debug file. 235- backends: Add CFI unwinding for arm. Relies on .debug_frame. 236 Add arm process initial register state compatible mode to AARCH64. 237 Add aarch64 native and core unwind support. 238- other: All separate elfutils-robustify patches have been merged. 239 CVE-2014-0172 Check overflow before calling malloc to uncompress 240 data. 241 242* Fri Jan 3 2014 Mark Wielaard <mjw@redhat.com> 0.158-1 243- libdwfl: dwfl_core_file_report has new parameter executable. 244 New functions dwfl_module_getsymtab_first_global, 245 dwfl_module_getsym_info and dwfl_module_addrinfo. 246 Added unwinder with type Dwfl_Thread_Callbacks, opaque types 247 Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state, 248 dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread, 249 dwfl_thread_state_registers, dwfl_thread_state_register_pc, 250 dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes 251 and dwfl_frame_pc. 252- addr2line: New option -x to show the section an address was found in. 253- stack: New utility that uses the new unwinder for processes and cores. 254- backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64. 255 aarch64 support. 256 257* Mon Sep 30 2013 Mark Wielaard <mjw@redhat.com> 0.157-1 258- libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr 259 and dwarf_getlocation_die. 260- readelf: Show contents of NT_SIGINFO and NT_FILE core notes. 261- addr2line: Support -i, --inlines output option. 262- backends: abi_cfi hook for arm, ppc and s390. 263 264* Thu Jul 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> 0.156-1 265- lib: New macro COMPAT_VERSION_NEWPROTO. 266- libdw: Handle GNU extension opcodes in dwarf_getlocation. 267- libdwfl: Fix STB_GLOBAL over STB_WEAK preference in 268 dwfl_module_addrsym. Add minisymtab support. Add 269 parameter add_p_vaddr to dwfl_report_elf. Use DT_DEBUG 270 library search first. 271- libebl: Handle new core note types in EBL. 272- backends: Interpret NT_ARM_VFP. Implement core file 273 registers parsing for s390/s390x. 274- readelf: Add --elf-section input option to inspect an embedded ELF 275 file. Add -U, --unresolved-address-offsets output control. 276 Add --debug-dump=decodedline support. Accept version 277 8 .gdb_index section format. Adjust output formatting width. 278 When highpc is in constant form print it also as address. 279 Display raw .debug_aranges. Use libdw only for decodedaranges. 280- elflint: Add __bss_start__ to the list of allowed symbols. 281- tests: Add configure --enable-valgrind option to run all tests 282 under valgrind. Enable automake parallel-tests for make check. 283- translations: Updated Polish translation. 284- Updates for Automake 1.13. 285 286* Fri Aug 24 2012 Mark Wielaard <mjw@redhat.com> 0.155-1 287- libelf: elf*_xlatetomd now works for cross-endian ELF note data. 288 elf_getshdr now works consistently on non-mmaped ELF files after 289 calling elf_cntl(ELF_C_FDREAD). Implement support for 290 ar archives with 64-bit symbol table. 291- libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was 292 DW_LANG_Objc). Any existing sources using the old name will 293 have to be updated. Add DW_MACRO_GNU .debug_macro type 294 encodings constants, DW_ATE_UTF and DW_OP_GNU_parameter_ref to 295 dwarf.h. Experimental support for DWZ multifile forms 296 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt. Disabled by 297 default. Use configure --enable-dwz to test it. 298- readelf: Add .debug_macro parsing support. Add .gdb_index 299 version 7 parsing support. Recognize DW_OP_GNU_parameter_ref. 300- backends: Add support for Tilera TILE-Gx processor. 301- translations: Updated Ukrainian translation. 302 303* Fri Jun 22 2012 Mark Wielaard <mjw@redhat.com> 0.154-1 304- libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at 305 OFFSET. 306- libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc 307 constant form. Fix bug using dwarf_next_unit to iterate over 308 .debug_types. 309- elflint: Now accepts gold linker produced executables. 310- The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for 311 stand-alone programs. There is now also a formal CONTRIBUTING 312 document describing how to submit patches. 313 314* Thu Feb 23 2012 Mark Wielaard <mjw@redhat.com> 0.153-1 315- libdw: Support reading .zdebug_* DWARF sections compressed via zlib. 316- libdwfl: Speed up dwfl_module_addrsym. 317- nm: Support C++ demangling. 318- ar: Support D modifier for "deterministic output" with no 319 uid/gid/mtime info. The U modifier is the inverse. elfutils 320 can be configured with the --enable-deterministic-archives option 321 to make the D behavior the default when U is not specified. 322- ranlib: Support -D and -U flags with same meaning. 323- readelf: Improve output of -wline. Add support for printing SDT elf 324 notes. Add printing of .gdb_index section. Support for 325 typed DWARF stack, call_site and entry_value. 326- strip: Add --reloc-debug-sections option. Improved SHT_GROUP 327 sections handling. 328 329* Tue Feb 15 2011 <drepper@gmail.com> 0.152-1 330- Various build and warning nits fixed for newest GCC and Autoconf. 331- libdwfl: Yet another prelink-related fix for another regression. 332 Look for Linux kernel images in files named with compression 333 suffixes. 334- elfcmp: New flag --ignore-build-id to ignore differing build ID 335 bits. New flag -l/--verbose to print all differences. 336 337* Wed Jan 12 2011 <drepper@gmail.com> 0.151-1 338- libdwfl: Fix for more prelink cases with separate debug file. 339- strip: New flag --strip-sections to remove section headers entirely. 340 341* Mon Nov 22 2010 <drepper@gmail.com> 0.150-1 342- libdw: Fix for handling huge .debug_aranges section. 343- libdwfl: Fix for handling prelinked DSO with separate debug file. 344- findtextrel: Fix diagnostics to work with usual section ordering. 345- libebl: i386 backend fix for multi-register integer return value 346 location. 347 348* Mon Sep 13 2010 <drepper@redhat.com> 0.149-1 349- libdw: Decode new DW_OP_GNU_implicit_pointer operation; new 350 function dwarf_getlocation_implicit_pointer. 351- libdwfl: New function dwfl_dwarf_line. 352- addr2line: New flag -F/--flags to print more DWARF line information 353 details. 354- strip: -g recognizes .gdb_index as a debugging section. 355 356* Mon Jun 28 2010 <drepper@redhat.com> 0.148-1 357- libdw: Accept DWARF 4 format: new functions dwarf_next_unit, 358 dwarf_offdie_types. New functions dwarf_lineisa, 359 dwarf_linediscriminator, dwarf_lineop_index. 360- libdwfl: Fixes in core-file handling, support cores from PIEs. 361 When working from build IDs, don't open a named file that 362 mismatches. 363- readelf: Handle DWARF 4 formats. 364 365* Mon May 3 2010 Ulrich Drepper <drepper@redhat.com> 0.147-1 366- libdw: Fixes in CFI handling, best possible handling of bogus CFA 367 ops. 368- libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r 369 bugs. 370 371* Wed Apr 21 2010 <drepper@redhat.com> 0.146-1 372- libdwfl: New function dwfl_core_file_report. 373 374* Tue Feb 23 2010 Ulrich Drepper <drepper@redhat.com> 0.145-1 375- Fix build with --disable-dependency-tracking. 376- Fix build with most recent glibc headers. 377- libelf: More robust to bogus section headers. 378- libdw: Fix CFI decoding. 379- libdwfl: Fix address bias returned by CFI accessors. Fix core 380 file module layout identification. 381- readelf: Fix CFI decoding. 382 383* Thu Jan 14 2010 <drepper@redhat.com> 0.144-1 384- libelf: New function elf_getphdrnum. Now support using more than 385 65536 program headers in a file. 386- libdw: New function dwarf_aggregate_size for computing (constant) 387 type sizes, including array_type cases with nontrivial 388 calculation. 389- readelf: Don't give errors for missing info under -a. 390 Handle Linux "VMCOREINFO" notes under -n. 391 392* Mon Sep 21 2009 <drepper@redhat.com> 0.143-1 393- libdw: Various convenience functions for individual attributes now 394 use dwarf_attr_integrate to look up indirect inherited 395 attributes. Location expression handling now supports 396 DW_OP_implicit_value. 397- libdwfl: Support automatic decompression of files in XZ format, 398 and of Linux kernel images made with bzip2 or LZMA (as well 399 as gzip). 400 401* Mon Jun 29 2009 <drepper@redhat.com> 0.142-1 402- libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias 403 for elf_getshstrndx and deprecate original names. Sun screwed up 404 their implementation and asked for a solution. 405- libebl: Add support for STB_GNU_UNIQUE. 406- elflint: Add support for STB_GNU_UNIQUE. 407- readelf: Add -N option, speeds up DWARF printing without address->name lookups. 408- libdw: Add support for decoding DWARF CFI into location description form. 409 Handle some new DWARF 3 expression operations previously omitted. 410 Basic handling of some new encodings slated for DWARF 411 412* Thu Apr 23 2009 Ulrich Drepper <drepper@redhat.com> 0.141-1 413- libebl: sparc backend fixes; some more arm backend support 414- libdwfl: fix dwfl_module_build_id for prelinked DSO case; 415 fixes in core file support; dwfl_module_getsym interface 416 improved for non-address symbols 417- strip: fix infinite loop on strange inputs with -f 418- addr2line: take -j/--section=NAME option for binutils compatibility 419 (same effect as '(NAME)0x123' syntax already supported) 420 421* Mon Feb 16 2009 Ulrich Drepper <drepper@redhat.com> 0.140-1 422- libelf: Fix regression in creation of section header 423- libdwfl: Less strict behavior if DWARF reader ist just used to 424 display data 425 426* Thu Jan 22 2009 Ulrich Drepper <drepper@redhat.com> 0.139-1 427- libcpu: Add Intel SSE4 disassembler support 428- readelf: Implement call frame information and exception handling 429 dumping. Add -e option. Enable it implicitly for -a. 430- elflint: Check PT_GNU_EH_FRAME program header entry. 431- libdwfl: Support automatic gzip/bzip2 decompression of ELF files. 432 433* Wed Dec 31 2008 Roland McGrath <roland@redhat.com> 0.138-1 434- Install <elfutils/version.h> header file for applications to use in 435 source version compatibility checks. 436- libebl: backend fixes for i386 TLS relocs; backend support for 437 NT_386_IOPERM 438- libcpu: disassembler fixes 439- libdwfl: bug fixes 440- libelf: bug fixes 441- nm: bug fixes for handling corrupt input files 442 443* Tue Aug 26 2008 Ulrich Drepper <drepper@redhat.com> 0.137-1 444- Minor fixes for unreleased 0.136 release. 445 446* Mon Aug 25 2008 Ulrich Drepper <drepper@redhat.com> 0.136-1 447- libdwfl: bug fixes; new segment interfaces; all the libdwfl-based 448 tools now support --core=COREFILE option 449 450* Mon May 12 2008 Ulrich Drepper <drepper@redhat.com> 0.135-1 451- libdwfl: bug fixes 452- strip: changed handling of ET_REL files wrt symbol tables and relocs 453 454* Tue Apr 8 2008 Ulrich Drepper <drepper@redhat.com> 0.134-1 455- elflint: backend improvements for sparc, alpha 456- libdwfl, libelf: bug fixes 457 458* Sat Mar 1 2008 Ulrich Drepper <drepper@redhat.com> 0.133-1 459- readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A) 460- readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV 461- libdwfl: bug fixes and optimization in relocation handling 462- elfcmp: bug fix for non-allocated section handling 463- ld: implement newer features of binutils linker. 464 465* Mon Jan 21 2008 Ulrich Drepper <drepper@redhat.com> 0.132-1 466- libcpu: Implement x86 and x86-64 disassembler. 467- libasm: Add interface for disassembler. 468- all programs: add debugging of branch prediction. 469- libelf: new function elf_scnshndx. 470 471* Sun Nov 11 2007 Ulrich Drepper <drepper@redhat.com> 0.131-1 472- libdw: DW_FORM_ref_addr support; dwarf_formref entry point now depreca 473ted; bug fixes for oddly-formatted DWARF 474- libdwfl: bug fixes in offline archive support, symbol table handling; 475 apply partial relocations for dwfl_module_address_section on 476ET_REL 477- libebl: powerpc backend support for Altivec registers 478 479* Mon Oct 15 2007 Ulrich Drepper <drepper@redhat.com> 0.130-1 480- readelf: -p option can take an argument like -x for one section, 481 or no argument (as before) for all SHF_STRINGS sections; 482 new option --archive-index (or -c); improved -n output fo 483r core files, on many machines 484- libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk; 485 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv 486- readelf, elflint: handle SHT_NOTE sections without requiring phdrs 487- elflint: stricter checks on debug sections 488- libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debu 489ginfo, dwfl_module_build_id, dwfl_module_report_build_id; suppo 490rt dynamic symbol tables found via phdrs; dwfl_standard_find_de 491buginfo now uses build IDs when available 492- unstrip: new option --list (or -n) 493- libebl: backend improvements for sparc, alpha, powerpc 494 495* Tue Aug 14 2007 Ulrich Drepper <drepper@redhat.com> 0.129-1 496- readelf: new options --hex-dump (or -x), --strings (or -p) 497- addr2line: new option --symbols (or -S) 498 499* Wed Apr 18 2007 Ulrich Drepper <drepper@redhat.com> 0.127-1 500- libdw: new function dwarf_getsrcdirs 501- libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add, 502 dwfl_module_address_section 503 504* Mon Feb 5 2007 Ulrich Drepper <drepper@redhat.com> 0.126-1 505- new program: ar 506 507* Mon Dec 18 2006 Ulrich Drepper <drepper@redhat.com> 0.125-1 508- elflint: Compare DT_GNU_HASH tests. 509- move archives into -static RPMs 510- libelf, elflint: better support for core file handling 511 512* Tue Oct 10 2006 Ulrich Drepper <drepper@redhat.com> 0.124-1 513- libebl: sparc backend support for return value location 514- libebl, libdwfl: backend register name support extended with more info 515- libelf, libdw: bug fixes for unaligned accesses on machines that care 516- readelf, elflint: trivial bugs fixed 517 518* Mon Aug 14 2006 Roland McGrath <roland@redhat.com> 0.123-1 519- libebl: Backend build fixes, thanks to Stepan Kasal. 520- libebl: ia64 backend support for register names, return value location 521- libdwfl: Handle truncated linux kernel module section names. 522- libdwfl: Look for linux kernel vmlinux files with .debug suffix. 523- elflint: Fix checks to permit --hash-style=gnu format. 524 525* Wed Jul 12 2006 Ulrich Drepper <drepper@redhat.com> 0.122-1 526- libebl: add function to test for relative relocation 527- elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks 528- elflint, readelf: add support for DT_GNU_HASHlibelf: add elf_gnu_hash 529- elflint, readelf: add support for 64-bit SysV-style hash tables 530- libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym. 531 532* Wed Jun 14 2006 <drepper@redhat.com> 0.121-1 533- libelf: bug fixes for rewriting existing files when using mmap. 534- make all installed headers usable in C++ code. 535- readelf: better output format. 536- elflint: fix tests of dynamic section content. 537- ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patc 538hes. 539- libdw, libdwfl: handle files without aranges info. 540 541* Tue Apr 4 2006 Ulrich Drepper <drepper@redhat.com> 0.120-1 542- Bug fixes. 543- dwarf.h updated for DWARF 3.0 final specification. 544- libdwfl: New function dwfl_version. 545- The license is now GPL for most files. The libelf, libebl, libdw,and 546libdwfl libraries have additional exceptions. Add reference toOIN. 547 548* Thu Jan 12 2006 Roland McGrath <roland@redhat.com> 0.119-1 549- elflint: more tests. 550- libdwfl: New function dwfl_module_register_names. 551- libebl: New backend hook for register names. 552 553* Tue Dec 6 2005 Ulrich Drepper <drepper@redhat.com> 0.118-1 554- elflint: more tests. 555- libdwfl: New function dwfl_module_register_names. 556- libebl: New backend hook for register names. 557 558* Thu Nov 17 2005 Ulrich Drepper <drepper@redhat.com> 0.117-1 559- libdwfl: New function dwfl_module_return_value_location. 560- libebl: Backend improvements for several CPUs. 561 562* Mon Oct 31 2005 Ulrich Drepper <drepper@redhat.com> 0.116-1 563- libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu, d 564warf_entry_breakpoints. Removed Dwarf_Func type and functions d 565warf_func_name, dwarf_func_lowpc, dwarf_func_highpc, dwarf_func_ 566entrypc, dwarf_func_die; dwarf_getfuncs callback now uses Dwarf_ 567Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col replac 568ed by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column; dwarf 569_func_inline, dwarf_func_inline_instances now take Dwarf_Die. Ty 570pe Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist, dwarf_addrlo 571clists renamed dwarf_getlocation, dwarf_getlocation_addr. 572 573* Fri Sep 2 2005 Ulrich Drepper <drepper@redhat.com> 0.115-1 574- libelf: speed-ups of non-mmap reading. 575- strings: New program. 576- Implement --enable-gcov option for configure. 577- libdw: New function dwarf_getscopes_die. 578 579* Wed Aug 24 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1 580- libelf: new function elf_getaroff 581- libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_inst 582ances. 583- libdwfl: New functions dwfl_report_offline, dwfl_offline_section_addre 584ss, dwfl_linux_kernel_report_offline. 585- ranlib: new program 586 587* Mon Aug 15 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1 588- libelf: new function elf_getaroff 589- ranlib: new program 590 591* Wed Aug 10 2005 Ulrich Drepper <@redhat.com> 0.113-1 592- elflint: relax a bit. Allow version definitions for defined symbols ag 593ainstDSO versions also for symbols in nobits sections. Allow .rodata 594sectionto have STRINGS and MERGE flag set. 595- strip: add some more compatibility with binutils. 596 597* Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1 598- elflint: relax a bit. Allow version definitions for defined symbols ag 599ainstDSO versions also for symbols in nobits sections. Allow .rodata 600sectionto have STRINGS and MERGE flag set. 601 602* Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1 603- elflint: relax a bit. Allow version definitions for defined symbols ag 604ainstDSO versions also for symbols in nobits sections. 605 606* Fri Aug 5 2005 Ulrich Drepper <@redhat.com> 0.112-1 607- elfcmp: some more relaxation. 608- elflint: many more tests, especially regarding to symbol versioning. 609- libelf: Add elfXX_offscn and gelf_offscn. 610- libasm: asm_begin interface changes. 611- libebl: Add three new interfaces to directly access machine, class, an 612ddata encoding information. 613- objdump: New program. Just the beginning. 614 615* Thu Jul 28 2005 Ulrich Drepper <@redhat.com> 0.111-1 616- libdw: now contains all of libdwfl. The latter is not installed anymore. 617- elfcmp: little usability tweak, name and index of differing section is 618 printed. 619 620* Sun Jul 24 2005 Ulrich Drepper <@redhat.com> 0.110-1 621- libelf: fix a numbe rof problems with elf_update 622- elfcmp: fix a few bugs. Compare gaps. 623- Fix a few PLT problems and mudflap build issues. 624- libebl: Don't expose Ebl structure definition in libebl.h. It's now p 625rivate. 626 627* Thu Jul 21 2005 Ulrich Drepper <@redhat.com> 0.109-1 628- libebl: Check for matching modules. 629- elflint: Check that copy relocations only happen for OBJECT or NOTYPE 630symbols. 631- elfcmp: New program. 632- libdwfl: New library. 633 634* Mon May 9 2005 Ulrich Drepper <@redhat.com> 0.108-1 635- strip: fix bug introduced in last change 636- libdw: records returned by dwarf_getsrclines are now sorted by address 637 638* Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.108-1 639- strip: fix bug introduced in last change 640 641* Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.107-1 642- readelf: improve DWARF output format 643- strip: support Linux kernel modules 644 645* Fri Apr 29 2005 Ulrich Drepper <drepper@redhat.com> 0.107-1 646- readelf: improve DWARF output format 647 648* Mon Apr 4 2005 Ulrich Drepper <drepper@redhat.com> 0.106-1 649- libdw: Updated dwarf.h from DWARF3 speclibdw: add new funtions dwarf_f 650unc_entrypc, dwarf_func_file, dwarf_func_line,dwarf_func_col, dwarf_ge 651tsrc_file 652 653* Fri Apr 1 2005 Ulrich Drepper <drepper@redhat.com> 0.105-1 654- addr2line: New program 655- libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs 656,dwarf_func_*. 657- findtextrel: use dwarf_addrdie 658 659* Mon Mar 28 2005 Ulrich Drepper <drepper@redhat.com> 0.104-1 660- findtextrel: New program. 661 662* Mon Mar 21 2005 Ulrich Drepper <drepper@redhat.com> 0.103-1 663- libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug. 664 665* Tue Feb 22 2005 Ulrich Drepper <drepper@redhat.com> 0.102-1 666- More Makefile and spec file cleanups. 667 668* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.94-1 669- upgrade to 0.94 670 671* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.93-1 672- upgrade to 0.93 673 674* Thu Jan 8 2004 Jakub Jelinek <jakub@redhat.com> 0.92-1 675- full version 676- macroized spec file for GPL or OSL builds 677- include only libelf under GPL plus wrapper scripts 678 679* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-2 680- macroized spec file for GPL or OSL builds 681 682* Wed Jan 7 2004 Ulrich Drepper <drepper@redhat.com> 683- split elfutils-devel into two packages. 684 685* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-1 686- include only libelf under GPL plus wrapper scripts 687 688* Tue Dec 23 2003 Jeff Johnson <jbj@redhat.com> 0.89-3 689- readelf, not readline, in %%description (#111214). 690 691* Fri Sep 26 2003 Bill Nottingham <notting@redhat.com> 0.89-1 692- update to 0.89 (fix eu-strip) 693 694* Tue Sep 23 2003 Jakub Jelinek <jakub@redhat.com> 0.86-3 695- update to 0.86 (fix eu-strip on s390x/alpha) 696- libebl is an archive now; remove references to DSO 697 698* Mon Jul 14 2003 Jeff Johnson <jbj@redhat.com> 0.84-3 699- upgrade to 0.84 (readelf/elflint improvements, rawhide bugs fixed). 700 701* Fri Jul 11 2003 Jeff Johnson <jbj@redhat.com> 0.83-3 702- upgrade to 0.83 (fix invalid ELf handle on *.so strip, more). 703 704* Wed Jul 9 2003 Jeff Johnson <jbj@redhat.com> 0.82-3 705- upgrade to 0.82 (strip tests fixed on big-endian). 706 707* Tue Jul 8 2003 Jeff Johnson <jbj@redhat.com> 0.81-3 708- upgrade to 0.81 (strip excludes unused symtable entries, test borked). 709 710* Thu Jun 26 2003 Jeff Johnson <jbj@redhat.com> 0.80-3 711- upgrade to 0.80 (debugedit changes for kernel in progress). 712 713* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 714- rebuilt 715 716* Wed May 21 2003 Jeff Johnson <jbj@redhat.com> 0.79-2 717- upgrade to 0.79 (correct formats for size_t, more of libdw "works"). 718 719* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 0.78-2 720- upgrade to 0.78 (libdwarf bugfix, libdw additions). 721 722* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com> 723- debuginfo rebuild 724 725* Thu Feb 20 2003 Jeff Johnson <jbj@redhat.com> 0.76-2 726- use the correct way of identifying the section via the sh_info link. 727 728* Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 0.75-2 729- update to 0.75 (eu-strip -g fix) 730 731* Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 0.74-2 732- update to 0.74 (fix for writing with some non-dirty sections) 733 734* Thu Feb 6 2003 Jeff Johnson <jbj@redhat.com> 0.73-3 735- another -0.73 update (with sparc fixes). 736- do "make check" in %%check, not %%install, section. 737 738* Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 0.73-2 739- update to 0.73 (with s390 fixes). 740 741* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 742- rebuilt 743 744* Wed Jan 22 2003 Jakub Jelinek <jakub@redhat.com> 0.72-4 745- fix arguments to gelf_getsymshndx and elf_getshstrndx 746- fix other warnings 747- reenable checks on s390x 748 749* Sat Jan 11 2003 Karsten Hopp <karsten@redhat.de> 0.72-3 750- temporarily disable checks on s390x, until someone has 751 time to look at it 752 753* Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 0.72-2 754- update to 0.72 755 756* Wed Dec 11 2002 Jakub Jelinek <jakub@redhat.com> 0.71-2 757- update to 0.71 758 759* Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 0.69-4 760- update to 0.69. 761- add "make check" and segfault avoidance patch. 762- elfutils-libelf needs to run ldconfig. 763 764* Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 0.68-2 765- update to 0.68. 766 767* Fri Dec 6 2002 Jeff Johnson <jbj@redhat.com> 0.67-2 768- update to 0.67. 769 770* Tue Dec 3 2002 Jeff Johnson <jbj@redhat.com> 0.65-2 771- update to 0.65. 772 773* Mon Dec 2 2002 Jeff Johnson <jbj@redhat.com> 0.64-2 774- update to 0.64. 775 776* Sun Dec 1 2002 Ulrich Drepper <drepper@redhat.com> 0.64 777- split packages further into elfutils-libelf 778 779* Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 0.63-2 780- update to 0.63. 781 782* Fri Nov 29 2002 Ulrich Drepper <drepper@redhat.com> 0.62 783- Adjust for dropping libtool 784 785* Sun Nov 24 2002 Jeff Johnson <jbj@redhat.com> 0.59-2 786- update to 0.59 787 788* Thu Nov 14 2002 Jeff Johnson <jbj@redhat.com> 0.56-2 789- update to 0.56 790 791* Thu Nov 7 2002 Jeff Johnson <jbj@redhat.com> 0.54-2 792- update to 0.54 793 794* Sun Oct 27 2002 Jeff Johnson <jbj@redhat.com> 0.53-2 795- update to 0.53 796- drop x86_64 hack, ICE fixed in gcc-3.2-11. 797 798* Sat Oct 26 2002 Jeff Johnson <jbj@redhat.com> 0.52-3 799- get beehive to punch a rhpkg generated package. 800 801* Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 0.52-2 802- build in 8.0.1. 803- x86_64: avoid gcc-3.2 ICE on x86_64 for now. 804 805* Tue Oct 22 2002 Ulrich Drepper <drepper@redhat.com> 0.52 806- Add libelf-devel to conflicts for elfutils-devel 807 808* Mon Oct 21 2002 Ulrich Drepper <drepper@redhat.com> 0.50 809- Split into runtime and devel package 810 811* Fri Oct 18 2002 Ulrich Drepper <drepper@redhat.com> 0.49 812- integrate into official sources 813 814* Wed Oct 16 2002 Jeff Johnson <jbj@redhat.com> 0.46-1 815- Swaddle. 816