I noticed that libgcc/configure.ac uses the gcc copy of i386/t-crtstuff
on Solaris/x86, while the identical libgcc copy is perfectly fine. This
patch corrects this.
Bootstrapped without regressions on i386-pc-solaris2.11, installed on
mainline.
Rainer
2011-07-10 Rainer Orth <[email protected]>
* configure.ac (i?86-*-solaris2*): Use libgcc copy of
i386/t-crtstuff.
* configure: Regenerate.
diff --git a/libgcc/configure.ac b/libgcc/configure.ac
--- a/libgcc/configure.ac
+++ b/libgcc/configure.ac
@@ -215,9 +215,7 @@ i?86-*-solaris2* | x86_64-*-solaris2.1[[
.zero 8
EOF
if AC_TRY_COMMAND(${CC-cc} -shared -nostartfiles -nodefaultlibs -o
conftest.so conftest.s 1>&AS_MESSAGE_LOG_FD); then
- # configure expects config files in libgcc/config, so need a relative
- # path here.
- tmake_file="${tmake_file} ../../gcc/config/i386/t-crtstuff"
+ tmake_file="${tmake_file} i386/t-crtstuff"
fi
;;
esac
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University