Add elfutils-0.154-binutils-pr-ld-13621.patch

This commit is contained in:
Mark Wielaard 2012-06-22 23:27:38 +02:00
parent 32394fbd05
commit 1d2f5631a4
2 changed files with 14 additions and 0 deletions

View File

@ -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"

View File

@ -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@klomp.org> - 0.153-2
- Fix for eu-unstrip emits garbage for librt.so.1 (#805447)