Backport patches for aarch64 support
This commit is contained in:
parent
df2a575f4e
commit
74b8bd2bfb
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
/elfutils-0.156.tar.bz2
|
||||
/elfutils-0.157.tar.bz2
|
||||
/funcretval_test_aarch64.bz2
|
||||
/hello_aarch64.ko.bz2
|
||||
/testfile_aarch64_core.bz2
|
||||
|
@ -1,7 +1,7 @@
|
||||
Name: elfutils
|
||||
Summary: A collection of utilities and DSOs to handle compiled objects
|
||||
Version: 0.157
|
||||
%global baserelease 2
|
||||
%global baserelease 3
|
||||
URL: https://fedorahosted.org/elfutils/
|
||||
%global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/
|
||||
License: GPLv3+ and (GPLv2+ or LGPLv3+)
|
||||
@ -43,8 +43,16 @@ Group: Development/Tools
|
||||
%global depsuffix %{?_isa}%{!?_isa:-%{_arch}}
|
||||
|
||||
Source: %{?source_url}%{name}-%{version}.tar.bz2
|
||||
Source2: funcretval_test_aarch64.bz2
|
||||
Source3: hello_aarch64.ko.bz2
|
||||
Source4: testfile_aarch64_core.bz2
|
||||
|
||||
Patch1: %{?source_url}elfutils-robustify.patch
|
||||
Patch2: %{?source_url}elfutils-portability.patch
|
||||
Patch3: elfutils-0.157-aarch64-elf.h.patch
|
||||
Patch4: elfutils-0.157-aarch64-hidden_format.patch
|
||||
Patch5: elfutils-0.157-aarch64-meat.patch
|
||||
Patch6: elfutils-0.157-aarch64-configury.patch
|
||||
|
||||
%if !%{compat}
|
||||
Release: %{baserelease}%{?dist}
|
||||
@ -209,6 +217,12 @@ sed -i.scanf-m -e 's/%m/%a/g' src/addr2line.c tests/line2addr.c
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} tests/
|
||||
|
||||
find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
|
||||
|
||||
%build
|
||||
@ -323,6 +337,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/libelf.a
|
||||
|
||||
%changelog
|
||||
* Fri Dec 13 2013 Petr Machata <pmachata@redhat.com> - 0.157-3
|
||||
- Add upstream support for aarch64
|
||||
|
||||
* Wed Oct 9 2013 Mark Wielaard <mjw@redhat.com> 0.157-2
|
||||
- Show tests/test-suite.log in build.log when make check fails.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user