Compare commits
8 Commits
rawhide
...
elfutils-0
Author | SHA1 | Date |
---|---|---|
roland | d3e6c03fdb | |
roland | 59762e6476 | |
roland | 2b8bc25f29 | |
Bill Nottingham | d5215f7f03 | |
roland | d0b89ea605 | |
roland | c835648d96 | |
roland | c77c6f861c | |
Jesse Keating | 124c75b6e3 |
|
@ -1 +1 @@
|
|||
elfutils-0.140.tar.bz2
|
||||
elfutils-0.146.tar.bz2
|
||||
|
|
13
Makefile
13
Makefile
|
@ -10,7 +10,7 @@ UPSTREAM_FILES = $(NAME)-$(VERSION).tar.bz2
|
|||
upstream:;
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
@ -34,15 +34,18 @@ patches := $(patsubst %,elfutils-%.patch,robustify portability)
|
|||
all: $(patches)
|
||||
|
||||
branch-portability = portable
|
||||
branch-master = elfutils-$(VERSION)
|
||||
|
||||
elfutils-%/configure: .git/refs/heads/* Makefile
|
||||
git-%/configure: .git/refs/heads/* Makefile
|
||||
@rm -rf $(@D)
|
||||
git archive --prefix=$(@D)/ $(firstword $(branch-$*) $*) | tar xf -
|
||||
cd $(@D) && autoreconf -i && rm -rf autom4te.cache
|
||||
|
||||
elfutils-%.patch: elfutils-master/configure elfutils-%/configure
|
||||
diff --exclude='.gitignore' -Nrpu $(^D) | \
|
||||
elfutils-%.patch: git-%/configure
|
||||
branch=$(firstword $(branch-$*) $*); \
|
||||
master=`git merge-base origin/master $$branch` && \
|
||||
master=`git describe --tags --always $$master` && \
|
||||
(set -x; $(MAKE) git-$$master/configure) && \
|
||||
(set -x; diff --exclude='.gitignore' -Nrpu git-$$master $(<D)) | \
|
||||
filterdiff --remove-timestamps --strip=1 --addprefix=elfutils/ > $@.new
|
||||
mv $@.new $@
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
115
elfutils.spec
115
elfutils.spec
|
@ -1,24 +1,24 @@
|
|||
%define eu_version 0.140
|
||||
%define eu_release 2
|
||||
%global eu_version 0.146
|
||||
%global eu_release 1
|
||||
|
||||
%if %{?_with_compat:1}%{!?_with_compat:0}
|
||||
%define compat 1
|
||||
%global compat 1
|
||||
%else
|
||||
%define compat 0
|
||||
%global compat 0
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 8
|
||||
%define scanf_has_m 1
|
||||
%global scanf_has_m 1
|
||||
%endif
|
||||
%if 0%{?rhel} >= 6
|
||||
%define scanf_has_m 1
|
||||
%global scanf_has_m 1
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 7
|
||||
%define separate_devel_static 1
|
||||
%global separate_devel_static 1
|
||||
%endif
|
||||
%if 0%{?rhel} >= 6
|
||||
%define separate_devel_static 1
|
||||
%global separate_devel_static 1
|
||||
%endif
|
||||
|
||||
Summary: A collection of utilities and DSOs to handle compiled objects
|
||||
|
@ -27,7 +27,7 @@ Version: %{eu_version}
|
|||
%if !%{compat}
|
||||
Release: %{eu_release}%{?dist}
|
||||
%else
|
||||
Release: 0.%{eu_release}.1
|
||||
Release: 0.%{eu_release}
|
||||
%endif
|
||||
License: GPLv2 with exceptions
|
||||
Group: Development/Tools
|
||||
|
@ -38,7 +38,7 @@ Patch2: elfutils-portability.patch
|
|||
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
|
||||
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: gettext
|
||||
BuildRequires: bison >= 1.875
|
||||
BuildRequires: flex >= 2.5.4a
|
||||
BuildRequires: bzip2
|
||||
|
@ -50,12 +50,20 @@ BuildRequires: glibc-headers >= 2.3.4-11
|
|||
BuildRequires: gcc >= 3.2
|
||||
%endif
|
||||
|
||||
%define use_zlib 0
|
||||
%global use_zlib 0
|
||||
%if 0%{?fedora} >= 5
|
||||
%define use_zlib 1
|
||||
%global use_zlib 1
|
||||
%endif
|
||||
%if 0%{?rhel} >= 5
|
||||
%define use_zlib 1
|
||||
%global use_zlib 1
|
||||
%endif
|
||||
|
||||
%global use_xz 0
|
||||
%if 0%{?fedora} >= 10
|
||||
%global use_xz 1
|
||||
%endif
|
||||
%if 0%{?rhel} >= 6
|
||||
%global use_xz 1
|
||||
%endif
|
||||
|
||||
%if %{use_zlib}
|
||||
|
@ -63,8 +71,12 @@ BuildRequires: zlib-devel >= 1.2.2.3
|
|||
BuildRequires: bzip2-devel
|
||||
%endif
|
||||
|
||||
%define _gnu %{nil}
|
||||
%define _program_prefix eu-
|
||||
%if %{use_xz}
|
||||
BuildRequires: xz-devel
|
||||
%endif
|
||||
|
||||
%global _gnu %{nil}
|
||||
%global _program_prefix eu-
|
||||
|
||||
%description
|
||||
Elfutils is a collection of utilities, including ld (a linker),
|
||||
|
@ -183,7 +195,10 @@ RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
|
|||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D__NO_INLINE__"
|
||||
%endif
|
||||
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions" || {
|
||||
cat config.log
|
||||
exit 2
|
||||
}
|
||||
make -s %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
@ -198,6 +213,8 @@ chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
|
|||
rm -f .%{_bindir}/eu-ld
|
||||
)
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
make -s check
|
||||
|
||||
|
@ -214,7 +231,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README TODO
|
||||
%doc COPYING README TODO
|
||||
%{_bindir}/eu-addr2line
|
||||
%{_bindir}/eu-ar
|
||||
%{_bindir}/eu-elfcmp
|
||||
|
@ -259,7 +276,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%{_libdir}/libasm.a
|
||||
%{_libdir}/libdw.a
|
||||
|
||||
%files libelf
|
||||
%files -f %{name}.lang libelf
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libelf-%{version}.so
|
||||
%{_libdir}/libelf.so.*
|
||||
|
@ -276,6 +293,66 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%{_libdir}/libelf.a
|
||||
|
||||
%changelog
|
||||
* Wed Apr 21 2010 Roland McGrath <roland@redhat.com> - 0.146-1
|
||||
- Update to 0.146
|
||||
- libdwfl: New function dwfl_core_file_report.
|
||||
- libelf: Fix handling of phdrs in truncated file. (#577310)
|
||||
- libdwfl: Fix infinite loop handling clobbered link_map. (#576379)
|
||||
- Package translations.
|
||||
|
||||
* Tue Feb 23 2010 Roland McGrath <roland@redhat.com> - 0.145-1
|
||||
- Update to 0.145
|
||||
- Fix build with --disable-dependency-tracking. (#564646)
|
||||
- Fix build with most recent glibc headers.
|
||||
- libdw: Fix CFI decoding. (#563528)
|
||||
- libdwfl: Fix address bias returned by CFI accessors. (#563528)
|
||||
Fix core file module layout identification. (#559836)
|
||||
- readelf: Fix CFI decoding.
|
||||
|
||||
* Fri Jan 15 2010 Roland McGrath <roland@redhat.com> - 0.144-2
|
||||
- Fix sloppy #include's breaking build with F-13 glibc.
|
||||
|
||||
* Thu Jan 14 2010 Roland McGrath <roland@redhat.com> - 0.144-1
|
||||
- Update to 0.144
|
||||
- libdw: New function dwarf_aggregate_size for computing (constant) type
|
||||
sizes, including array_type cases with nontrivial calculation.
|
||||
- readelf: Don't give errors for missing info under -a.
|
||||
Handle Linux "VMCOREINFO" notes under -n.
|
||||
- Resolves: RHBZ #527004, RHBZ #530704, RHBZ #550858
|
||||
|
||||
* Mon Sep 21 2009 Roland McGrath <roland@redhat.com> - 0.143-1
|
||||
- Update to 0.143
|
||||
- libdw: Various convenience functions for individual attributes now use
|
||||
dwarf_attr_integrate to look up indirect inherited attributes.
|
||||
Location expression handling now supports DW_OP_implicit_value.
|
||||
- libdwfl: Support automatic decompression of files in XZ format,
|
||||
and of Linux kernel images made with bzip2 or LZMA
|
||||
(as well as gzip).
|
||||
|
||||
* Tue Jul 28 2009 Roland McGrath <roland@redhat.com> - 0.142-1
|
||||
- Update to 0.142
|
||||
- libelf: Bug fix in filling gaps between sections. (#512840)
|
||||
- libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx
|
||||
alias for elf_getshstrndx and deprecate original names.
|
||||
- libebl, elflint: Add support for STB_GNU_UNIQUE. (#511436)
|
||||
- readelf: Add -N option, speeds up DWARF printing
|
||||
without address->name lookups. (#505347)
|
||||
- libdw: Add support for decoding DWARF CFI into location description form.
|
||||
Handle some new DWARF 3 expression operations previously omitted.
|
||||
Basic handling of some new encodings slated for DWARF 4.
|
||||
|
||||
* Thu Apr 23 2009 Roland McGrath <roland@redhat.com> - 0.141-1
|
||||
- Update to 0.141
|
||||
- libebl: sparc backend fixes (#490585)
|
||||
some more arm backend support
|
||||
- libdwfl: fix dwfl_module_build_id for prelinked DSO case (#489439)
|
||||
fixes in core file support (#494858)
|
||||
dwfl_module_getsym interface improved for non-address symbols
|
||||
- eu-strip: fix infinite loop on strange inputs with -f
|
||||
- eu-addr2line: take -j/--section=NAME option for binutils compatibility
|
||||
(same effect as '(NAME)0x123' syntax already supported)
|
||||
- Resolves: RHBZ #495213, RHBZ #465872, RHBZ #470055, RHBZ #484623
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.140-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
@ -287,7 +364,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
- Update to 0.139
|
||||
- libcpu: Add Intel SSE4 disassembler support
|
||||
- readelf: Implement call frame information and exception handling dumping.
|
||||
Add -e option. Enable it implicitly for -a.
|
||||
Add -e option. Enable it implicitly for -a.
|
||||
- elflint: Check PT_GNU_EH_FRAME program header entry.
|
||||
- libdwfl: Support automatic gzip/bzip2 decompression of ELF files. (#472136)
|
||||
|
||||
|
|
Loading…
Reference in New Issue