PATCH: Fix x86 Darwin

Ye, Joey joey.ye@intel.com
Fri Aug 1 05:04:00 GMT 2008


H.J. Lu wrote:
> is to make sure that we don't align stack unnecessarily. However,
> STACK_BOUNDARY isn't the minimum stack boundary on Darwin.
> This patch renames ABI_STACK_BOUNDARY to
> MIN_STACK_BOUNDARY and assert  MIN_STACK_BOUNDARY
> instead of STACK_BOUNDARY.

HJ, your fixes should work. Since -mstackrealign on Darwin increases
alignment from 4 bytes to 16 bytes (STACK_BOUNDARY), we need change our
original presumption that STACK_BOUNDARY is the minimal alignment unit. 

Thanks - Joey



More information about the Gcc-patches mailing list