[patch] fix bootstrap on ppclinux 32-bit (and 64-bit?)

Andreas Tobler toa@pop.agri.ch
Tue Aug 17 12:47:00 GMT 2004


Hi all,

the introduction of 64-bit support for darwin broke bootstrap on ppc32 
linux. The reason is this clause from darwin.md.

#if TARGET_MACHO
   return output_call(insn, operands, 1, 3);
#endif

Now since darwin.md is included in rs6000.md it has to be safe for the 
other targets too.

The two places places we have these #if's are darwin only calls, so we 
can safely abort on other targets.

The appended patch fixes this.
Bootstrapped on darwin-7.5.0 and ppclinux 32-bit.

Ok for main?

Andreas

2004-08-17  Andreas Tobler  <a.tobler@schweiz.ch>

	* config/rs6000/darwin.md (*call_nonlocal_darwin64): Add #else clause
	for non Darwin targets.
	(*call_value_nonlocal_darwin64): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darwin-md.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040817/70e830e4/attachment.ksh>


More information about the Gcc-patches mailing list