[patch] ppc64: move crt3.o makefile fragments, 64-bit call patterns

Dale Johannesen dalej@apple.com
Thu Apr 13 19:12:00 GMT 2006


On Apr 13, 2006, at 12:03 PM, Stuart Hastings wrote:

> A mechanical patch to build the Darwin-specific "crt3.o" with - 
> mlongcall ("far" calls for Darwin/ppc).
>
> Alas, that broke the bootstrap. This necessitated some 64-bit CALL  
> patterns for Darwin/ppc.  Inside rs6000.md, renamed the existing  
> "call_*_nonlocal_sysv" to "call_*_nonlocal_sysv32" and added  
> "call_*_nonlocal_sysv64" in the obvious way; the "64" versions have  
> DI operands under their memrefs.
>
> Bootstrapped and DejaGnu-ed on Darwin/ppc, no regressions.
>
> 2006-04-13  Stuart Hastings  <stuart@apple.com>
>
>         * config/t-darwin (crt3.o): Moved from here...
>         * config/i386/t-darwin (crt3.o): ...to here...
>         * config/rs6000/t-darwin (crt3.o): ...and here, adding - 
> mlongcall.
>         * config/rs6000/rs6000.md (call_indirect_nonlocal_sysv,
>         call_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
>         call_value_nonlocal_sysv): Appended "32" to names.
>         (call_indirect_nonlocal_sysv64, call_nonlocal_sysv64,
>         call_value_indirect_nonlocal_sysv64,  
> call_value_nonlocal_sysv64):
>         New.

I don't think you need new patterns.  Looks like a good spot for  
mode_macro P.




More information about the Gcc-patches mailing list