diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2905deb3a2c..f81893dd7bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-07-04 Andrew Stubbs + J"orn Rennecke + + * configure.ac (.eh_frame data check): Use diff -b. + 2006-07-04 Eric Botcazou PR bootstrap/18058 diff --git a/gcc/configure b/gcc/configure index b7564bcd6db..4ec18630eb7 100755 --- a/gcc/configure +++ b/gcc/configure @@ -13959,11 +13959,14 @@ cat > conftest.big </dev/null \ | tail -3 > conftest.got \ - && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ - || cmp conftest.big conftest.got > /dev/null 2>&1; } + && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ + || diff -b conftest.big conftest.got > /dev/null 2>&1; } then gcc_cv_as_eh_frame=yes elif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null' diff --git a/gcc/configure.ac b/gcc/configure.ac index a68769b4b1d..7b3a5d10e18 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2209,11 +2209,14 @@ cat > conftest.big </dev/null \ | tail -3 > conftest.got \ - && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ - || cmp conftest.big conftest.got > /dev/null 2>&1; } + && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ + || diff -b conftest.big conftest.got > /dev/null 2>&1; } then gcc_cv_as_eh_frame=yes elif AC_TRY_COMMAND($gcc_cv_as -o conftest.o --traditional-format /dev/null); then