aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Cook <kelleycook@comcast.net>2003-01-10 18:52:40 +0000
committerDJ Delorie <dj@gcc.gnu.org>2003-01-10 13:52:40 -0500
commit6cd656d0f5cd899f103f33a16f0db374a21c5144 (patch)
treeb61e4bec07fd98f3d018b3754e8504b5d0e9f7b2
parent45225759ed5892a2846f15af36d9b6f32e44801a (diff)
downloadgcc-6cd656d0f5cd899f103f33a16f0db374a21c5144.zip
gcc-6cd656d0f5cd899f103f33a16f0db374a21c5144.tar.gz
gcc-6cd656d0f5cd899f103f33a16f0db374a21c5144.tar.bz2
configure.in (linker read-only and read-write section mixing): Squelch some assembler warnings.
* configure.in (linker read-only and read-write section mixing): Squelch some assembler warnings. * configure: Likewise. From-SVN: r61163
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure6
-rw-r--r--gcc/configure.in6
3 files changed, 12 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d4a19fe..1a63339f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/configure b/gcc/configure
index 4e87641..833cd79 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -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 \
diff --git a/gcc/configure.in b/gcc/configure.in
index a5ae006..e7ca3df 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -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 \