diff options
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure index 9fce3a901e2..33ac30edc7f 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 |