From 1d2f5631a4d211409c367669e7b838ec7210212c Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 22 Jun 2012 23:27:38 +0200 Subject: [PATCH] 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(+) create mode 100644 elfutils-0.154-binutils-pr-ld-13621.patch 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 - 0.153-2 - Fix for eu-unstrip emits garbage for librt.so.1 (#805447)