summaryrefslogtreecommitdiffstats
path: root/gold/testsuite/gc_comdat_test.sh
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2009-05-22 20:27:52 +0000
committerSriraman Tallam <tmsriram@google.com>2009-05-22 20:27:52 +0000
commit4daadc0d02d6b55962e561882f4768c0c9699010 (patch)
tree80a223f79a1ad01da46081cf1933fa53c406f9d2 /gold/testsuite/gc_comdat_test.sh
parent531813adfc6b4fd3d27183f8be16e755e8fc003d (diff)
downloadppe42-binutils-4daadc0d02d6b55962e561882f4768c0c9699010.tar.gz
ppe42-binutils-4daadc0d02d6b55962e561882f4768c0c9699010.zip
* testsuite/Makefile.am: Add -ffunction-sections to compile
gc_comdat_test files. Add -Wl,--gc-sections to build gc_comdat_test. * testsuite/Makefile.in: Regenerate. * testsuite/gc_comdat_test.sh: Fix the condition around grep.
Diffstat (limited to 'gold/testsuite/gc_comdat_test.sh')
-rwxr-xr-xgold/testsuite/gc_comdat_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/testsuite/gc_comdat_test.sh b/gold/testsuite/gc_comdat_test.sh
index 875d6d7387..baff98d020 100755
--- a/gold/testsuite/gc_comdat_test.sh
+++ b/gold/testsuite/gc_comdat_test.sh
@@ -29,7 +29,7 @@
check()
{
- if ! grep -q "$2" "$1"
+ if grep -q "$2" "$1"
then
echo "Garbage collection failed to collect :"
echo " $2"
OpenPOWER on IntegriCloud