This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] ppc64: move crt3.o makefile fragments, 64-bit call patterns
- From: Stuart Hastings <stuart at apple dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Geoffrey Keating <gkeating at apple dot com>
- Date: Thu, 13 Apr 2006 12:03:38 -0700
- Subject: [patch] ppc64: move crt3.o makefile fragments, 64-bit call patterns
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.
Attachment:
gcc.fsf.crt3.diffs.txt
Description: Text document
O.K. for trunk?
stuart hastings
Apple Computer