This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch Darwin 3/2] fix PPC64 ABI.
On 27 Jul 2010, at 22:21, Mike Stump wrote:
On Jul 27, 2010, at 1:10 PM, IainS wrote:
+ For the Darwin 64 Bit ABI, a function result can be returned in
registers
+ or in memory, depending on the data type of the
functionâÃÃâÃâÂs return value.
Reflow this please. M-q in emacs will do it automatically. Also,
there are non-ascii characters in the above, please use ascii.
sorry, pasto from a PDF. Revised to:
+ For the Darwin 64 Bit ABI, a function result can be returned in
+ registers or in memory, depending on the size of the return data
+ type. If it is returned in registers, the value occupies the same
+ registers as it would if it were the first and only function
+ argument. Otherwise, the function places its result in memory at
+ the location pointed to by GPR3.
OK for trunk (and 4.5 when re-open) assuming that the m32 bootstrap/
check passes?
Ok. Thanks.
one minor mod revealed by cross-target testing
moved the override of darwin_one_byte_bool from
rs6000_override_options to darwin_rs6000_override_options
(not sure why it was ever in rs6000_override_options).
r162635,
cheers,
Iain