Re: stack allocation and gcc

From: Ihar 'Philips' Filipau
Date: Wed Mar 10 2004 - 09:08:44 EST

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@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at