diff options
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/configure | 2 | ||||
-rwxr-xr-x | sysdeps/i386/tst-ld-sse-use.sh | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index af50c5bfab..cbb66097bd 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -28,7 +28,7 @@ int _start (void) { int a, b, c; __sync_val_compare_and_swap (&a, b, c); return EOF if ! { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -O0 -nostdlib -nostartfiles - -S conftest.c -o - | fgrep "__sync_val_compare_and_swap" + -S conftest.c -o - | grep -F "__sync_val_compare_and_swap" 1>&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 diff --git a/sysdeps/i386/tst-ld-sse-use.sh b/sysdeps/i386/tst-ld-sse-use.sh index 90000b7fac..1d2c87f4e7 100755 --- a/sysdeps/i386/tst-ld-sse-use.sh +++ b/sysdeps/i386/tst-ld-sse-use.sh @@ -35,7 +35,7 @@ rtldobjs="$rtldobjs $(ar t ${objpfx}rtld-libc.a)" # OBJECT symbols can be ignored. $READELF -sW ${objpfx}dl-allobjs.os ${objpfx}rtld-libc.a | -egrep " OBJECT *GLOBAL " | +grep -E " OBJECT *GLOBAL " | awk '{if ($7 != "ABS") print $8 }' | sort -u > "$tmp" declare -a objects @@ -59,8 +59,8 @@ while test -n "$objs"; do done for o in $rtldobjs; do ro=$(echo "$objpfx"../*/"$o") - if $NM -g --defined-only "$ro" | egrep -qs " $s\$"; then - if ! (echo "$tocheck $objs" | fgrep -qs "$o"); then + if $NM -g --defined-only "$ro" | grep -E -qs " $s\$"; then + if ! (echo "$tocheck $objs" | grep -F -qs "$o"); then echo "$o needed for $s" objs="$objs $o" fi |