configure.in (linker read-only and read-write section mixing): Squelch some assembler...
authorKelley Cook <kelleycook@comcast.net>
Fri, 10 Jan 2003 18:52:40 +0000 (18:52 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 10 Jan 2003 18:52:40 +0000 (13:52 -0500)
* configure.in (linker read-only and read-write section mixing):
Squelch some assembler warnings.
* configure: Likewise.

From-SVN: r61163

gcc/ChangeLog
gcc/configure
gcc/configure.in

index d4a19fef7cbab41f1003fbf2ccf70a8070547f17..1a63339f9aa8ffd2907fb14c38855b3a063680cd 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-10 Kelley Cook <kelleycook@comcast.net>
+
+       * configure.in (linker read-only and read-write section mixing):
+       Squelch some assembler warnings.
+       * configure: Likewise.
+
 2003-01-10  Hartmut Penner  <hpenner@de.ibm.com>
 
                * doc/invoke.texi: Document -mtune, delete -mcpu 
index 4e876410515e824e6b058c39629f6e583f71d19d..833cd79245c1e10cb297dd192c1ce996c6a59134 100755 (executable)
@@ -8251,9 +8251,9 @@ elif test x$gcc_cv_as != x -a x$gcc_cv_ld != x -a x$gcc_cv_objdump != x ; then
   echo '.byte 1' >> conftest2.s
   echo '.section "myfoosect", "a"' > conftest3.s
   echo '.byte 0' >> conftest3.s
-  if $gcc_cv_as -o conftest1.o conftest1.s \
-     && $gcc_cv_as -o conftest2.o conftest2.s \
-     && $gcc_cv_as -o conftest3.o conftest3.s \
+  if $gcc_cv_as -o conftest1.o conftest1.s > /dev/null 2>&1 \
+     && $gcc_cv_as -o conftest2.o conftest2.s > /dev/null 2>&1 \
+     && $gcc_cv_as -o conftest3.o conftest3.s > /dev/null 2>&1 \
      && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
        conftest2.o conftest3.o; then
     gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
index a5ae0063e4bfbc70706ec36bfda5bddab7d5a6ab..e7ca3df4c8c07eb3027beee8e3c864a8f79f0d18 100644 (file)
@@ -2263,9 +2263,9 @@ elif test x$gcc_cv_as != x -a x$gcc_cv_ld != x -a x$gcc_cv_objdump != x ; then
   echo '.byte 1' >> conftest2.s
   echo '.section "myfoosect", "a"' > conftest3.s
   echo '.byte 0' >> conftest3.s
-  if $gcc_cv_as -o conftest1.o conftest1.s \
-     && $gcc_cv_as -o conftest2.o conftest2.s \
-     && $gcc_cv_as -o conftest3.o conftest3.s \
+  if $gcc_cv_as -o conftest1.o conftest1.s > /dev/null 2>&1 \
+     && $gcc_cv_as -o conftest2.o conftest2.s > /dev/null 2>&1 \
+     && $gcc_cv_as -o conftest3.o conftest3.s > /dev/null 2>&1 \
      && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
        conftest2.o conftest3.o; then
     gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \