aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \