* configure.ac (machdep): Use sparc_mach_dep.lo on
sparc64-sun-solaris2.* too.
(Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
* configure: Regenerate.
From-SVN: r91047
+2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * configure.ac (machdep): Use sparc_mach_dep.lo on
+ sparc64-sun-solaris2.* too.
+ (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
+ * configure: Regenerate.
+
2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/18444
2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/18444
machdep="sparc_mach_dep.lo"
;;
ia64-*-*)
machdep="sparc_mach_dep.lo"
;;
ia64-*-*)
echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
case "$host" in
echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
case "$host" in
- sparc-sun-solaris2*|*aix*)
if test "$GCC" = yes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
if test "$GCC" = yes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
machdep="sparc_mach_dep.lo"
AC_DEFINE(SUNOS53_SHARED_LIB,1,[Avoid Solaris 5.3 dynamic library bug])
;;
machdep="sparc_mach_dep.lo"
AC_DEFINE(SUNOS53_SHARED_LIB,1,[Avoid Solaris 5.3 dynamic library bug])
;;
machdep="sparc_mach_dep.lo"
;;
ia64-*-*)
machdep="sparc_mach_dep.lo"
;;
ia64-*-*)
dnl As of 4.13a2, the collector will not properly work on Solaris when
dnl built with gcc and -O. So we remove -O in the appropriate case.
dnl As of 4.13a2, the collector will not properly work on Solaris when
dnl built with gcc and -O. So we remove -O in the appropriate case.
+dnl Not needed anymore on Solaris.
AC_MSG_CHECKING(whether Solaris gcc optimization fix is necessary)
case "$host" in
AC_MSG_CHECKING(whether Solaris gcc optimization fix is necessary)
case "$host" in
- sparc-sun-solaris2*|*aix*)
if test "$GCC" = yes; then
AC_MSG_RESULT(yes)
new_CFLAGS=
if test "$GCC" = yes; then
AC_MSG_RESULT(yes)
new_CFLAGS=