[PATCH][ARM] Change arm_return_in_memory() to static hook
Chung-Lin Tang
ctang@marvell.com
Mon Jun 16 09:58:00 GMT 2008
Hi there,
This patch changes arm_return_in_memory() to a static
TARGET_RETURN_IN_MEMORY hook.
The current definition of TARGET_RETURN_IN_MEMORY in arm.h gets
overwritten by the default hook definition.
In other words, the struct returning part of the ARM ABI should be
broken for a while by now.
This was probably missed when upgrading from the original
RETURN_IN_MEMORY macro.
Chung-Lin
--
2008-06-16 Chung-Lin Tang <ctang@marvell.com>
* arm-protos.h (arm_return_in_memory): Remove public
arm_return_in_memory() prototype.
* arm.c (arm_return_in_memory): Add static prototype, add target
hook
macro, change definition and comments.
* arm.h (TARGET_RETURN_IN_MEMORY): Remove.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm.retmem.patch
Type: application/octet-stream
Size: 2293 bytes
Desc: arm.retmem.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080616/725d345a/attachment.obj>
More information about the Gcc-patches
mailing list