Messages in this thread | | | Date | Wed, 10 Mar 2004 15:06:45 +0100 | From | "Ihar 'Philips' Filipau" <> | Subject | Re: stack allocation and gcc |
| |
Duncan Sands wrote: > It sounds like "stack alignment", which makes sure that > every stack frame is aligned on a multiple of (for example) > 32 bytes. Check out -falign-functions. >
-falign-function=1 -> No difference.
And as 'info gcc' states it affects alignment of function entry points.
'-mpreffered-stack-boundary=2' sort'a kind'a helped - I have reduced stack size of 108 bytes to 106 :-)
-- Ihar 'Philips' Filipau / with best regards from Saarbruecken. -- _ _ _ "... and for $64000 question, could you get yourself |_|*|_| vaguely familiar with the notion of on-topic posting?" |_|_|*| -- Al Viro @ LKML |*|*|*| - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |