[elfutils] Add elfutils-0.154-binutils-pr-ld-13621.patch
Mark Wielaard
mjw at fedoraproject.org
Fri Jun 22 21:38:37 UTC 2012
commit 1d2f5631a4d211409c367669e7b838ec7210212c
Author: Mark Wielaard <mjw at redhat.com>
Date: Fri Jun 22 23:27:38 2012 +0200
Add elfutils-0.154-binutils-pr-ld-13621.patch
elfutils-0.154-binutils-pr-ld-13621.patch | 10 ++++++++++
elfutils.spec | 4 ++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/elfutils-0.154-binutils-pr-ld-13621.patch b/elfutils-0.154-binutils-pr-ld-13621.patch
new file mode 100644
index 0000000..06dba1e
--- /dev/null
+++ b/elfutils-0.154-binutils-pr-ld-13621.patch
@@ -0,0 +1,10 @@
+diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh
+index 8aca9e1..d449416 100755
+--- a/tests/run-elflint-self.sh
++++ b/tests/run-elflint-self.sh
+@@ -51,4 +51,4 @@ runtest ../libebl/libebl_sh.so
+ runtest ../libebl/libebl_sparc.so
+ runtest ../libebl/libebl_x86_64.so
+
+-exit $status
++test $status == 0 || echo "binutils PR ld/13621 workaround"
diff --git a/elfutils.spec b/elfutils.spec
index c02ac6e..b66127b 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -45,6 +45,7 @@ Group: Development/Tools
Source: %{?source_url}%{name}-%{version}.tar.bz2
Patch1: %{?source_url}elfutils-robustify.patch
Patch2: %{?source_url}elfutils-portability.patch
+Patch3: elfutils-0.154-binutils-pr-ld-13621.patch
%if !%{compat}
Release: %{baserelease}%{?dist}
@@ -209,6 +210,8 @@ sed -i.scanf-m -e 's/%m/%a/g' src/addr2line.c tests/line2addr.c
%endif
%endif
+%patch3 -p1 -b .binutils-pr-ld-13621
+
find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
%build
@@ -329,6 +332,7 @@ rm -rf ${RPM_BUILD_ROOT}
- elflint doesn't recognize SHF_INFO_LINK on relocation sections (#807823)
- Update license to GPLv3+ and (GPLv2+ or LGPLv3+)
- Remove elfutils-0.153-dwfl_segment_report_module.patch
+- Add elfutils-0.154-binutils-pr-ld-13621.patch
* Mon Apr 02 2012 Mark Wielaard <mark at klomp.org> - 0.153-2
- Fix for eu-unstrip emits garbage for librt.so.1 (#805447)
More information about the scm-commits
mailing list