From db1cd10264e7cd2810148efd50ce612288343839 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Sep 2012 00:03:33 +0000 Subject: Wed Sep 12 00:03:32 UTC 2012 --- extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch (limited to 'extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch') diff --git a/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch b/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch new file mode 100644 index 000000000..7f99ac0be --- /dev/null +++ b/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch @@ -0,0 +1,16 @@ +diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh +index 4b01008..7a5f0c8 100755 +--- a/tests/run-elflint-self.sh ++++ b/tests/run-elflint-self.sh +@@ -18,4 +18,11 @@ + + . $srcdir/test-subr.sh + ++# Makes sure we exit cleanly even when we don't... ++clean_exit() ++{ ++ if test $? != 0; then echo "binutils PR ld/13621 workaround"; exit 0; fi ++} ++trap clean_exit EXIT ++ + testrun_on_self ../src/elflint --quiet --gnu-ld -- cgit v1.2.3-54-g00ecf