aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2010-05-25 18:50:01 +0000
committerRainer Orth <ro@gcc.gnu.org>2010-05-25 18:50:01 +0000
commitbc492e47c89a4f5c21bcbab7adcc2c897d48a761 (patch)
treeb8d7cc9605d25f186e34f2a124bc0c2f11130694 /gcc
parent245763e30a7125036bd41001f8612c48f10a2635 (diff)
downloadgcc-bc492e47c89a4f5c21bcbab7adcc2c897d48a761.zip
gcc-bc492e47c89a4f5c21bcbab7adcc2c897d48a761.tar.gz
gcc-bc492e47c89a4f5c21bcbab7adcc2c897d48a761.tar.bz2
configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q.
libjava: * configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. Use -- instead of grep -e. * configure: Regenerate. gcc: * configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout, stderr to /dev/null instead of grep -q. * configure: Regenerate. contrib: * dg-extract-results.sh: Redirect grep output to /dev/null instead of grep -q. From-SVN: r159840
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure4
-rw-r--r--gcc/configure.ac4
3 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b511f5..f336b11 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout,
+ stderr to /dev/null instead of grep -q.
+ * configure: Regenerate.
+
2010-05-25 Steven Bosscher <steven@gcc.gnu.org>
* Makefile.in (EXCEPT_H): Fix typo.
diff --git a/gcc/configure b/gcc/configure
index 9fce3a9..33ac30e 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -24206,8 +24206,8 @@ $as_echo_n "checking assembler and linker for explicit JALR relocation... " >&6;
echo ' .end x' >> conftest.s
if $gcc_cv_as -o conftest.o conftest.s >/dev/null 2>&5 \
&& $gcc_cv_ld -shared -o conftest.so conftest.o >/dev/null 2>&5; then
- if $gcc_cv_objdump -d conftest.so | grep -q jalr \
- && $gcc_cv_objdump -d conftest.so | grep -q "bal.*<x>"; then
+ if $gcc_cv_objdump -d conftest.so | grep jalr >/dev/null 2>&1 \
+ && $gcc_cv_objdump -d conftest.so | grep "bal.*<x>" >/dev/null 2>&1; then
gcc_cv_as_ld_jalr_reloc=yes
fi
fi
diff --git a/gcc/configure.ac b/gcc/configure.ac
index fdb0d30..0677033 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -3601,8 +3601,8 @@ x:
echo ' .end x' >> conftest.s
if $gcc_cv_as -o conftest.o conftest.s >/dev/null 2>&AS_MESSAGE_LOG_FD \
&& $gcc_cv_ld -shared -o conftest.so conftest.o >/dev/null 2>&AS_MESSAGE_LOG_FD; then
- if $gcc_cv_objdump -d conftest.so | grep -q jalr \
- && $gcc_cv_objdump -d conftest.so | grep -q "bal.*<x>"; then
+ if $gcc_cv_objdump -d conftest.so | grep jalr >/dev/null 2>&1 \
+ && $gcc_cv_objdump -d conftest.so | grep "bal.*<x>" >/dev/null 2>&1; then
gcc_cv_as_ld_jalr_reloc=yes
fi
fi