This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PPC -mlongcall, take two


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*-*-*)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]