This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PPC -mlongcall, take two
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 12 May 2002 11:08:22 +0200
- Subject: Re: PPC -mlongcall, take two
- References: <20020510035830.GA5248@codesourcery.com>
Zack Weinberg wrote:
> Index: config.gcc
> --- config.gcc 5 May 2002 22:23:40 -0000 1.192
> +++ config.gcc 10 May 2002 03:45:59 -0000
> @@ -3650,6 +3650,9 @@ powerpc*-*-* | rs6000-*-*)
> fi
> ;;
> esac
> + c_target_objs="rs6000-c.o"
> + cxx_target_objs="rs6000-c.o"
> + tmake_file="${tmake_file} rs6000/t-rs6000-c-rule"
> ;;
> sparc*-*-*)
> case ".$with_cpu" in
This one above makes darwin fail when I bootstrap. The c_target_objs &
cxx_target_objs get overwritten by this rs6000 stuff and the darwin-c
will not be built and the result are undefined references to a few
symbols. The patchlet below makes it at least to compile. Bootstrap
ongoing. Though I don't know if correct since I'm not at home and I only
have my powerbook handy.
Comments?
Regards,
Andreas.
--- config.gcc.orig Sun May 12 10:44:32 2002
+++ config.gcc Sun May 12 10:45:47 2002
@@ -3650,8 +3650,8 @@
fi
;;
esac
- c_target_objs="rs6000-c.o"
- cxx_target_objs="rs6000-c.o"
+ c_target_objs="${c_target_objs} rs6000-c.o"
+ cxx_target_objs="${cxx_target_objs} rs6000-c.o"
tmake_file="${tmake_file} rs6000/t-rs6000-c-rule"
;;
sparc*-*-*)