Stack size passed from Makefile
Daniel Jacobowitz
dan at codesourcery.com
Mon May 12 16:20:08 UTC 2008
On Mon, May 12, 2008 at 05:30:43PM +0200, Martin Voss wrote:
> Hi Daniel,
>
> Hmm, we have been performing some user space stack profiling using the 4.2 version of Codesourcerys m68k-uclinux-gcc on the latest 2.4.x uClinux kernel.
>
> In some makefiles in userland they have changed the default stack size by using
>
> FLTFLAGS += -s 8192
>
> The above example is from the Makefile in the ftpd directory.
>
> But when we use flthdr to check the actual stack after the complete build has completed, it still reports 0x1000 as the stack size.
>
> We tried the m68k-uclinux-20061214, and this version seems to properly pass the -s to flthdr and change stack according to the Makefile.
>
> Is this something you could shed some light on?
I can't, but maybe someone else on the coldfire-gnu-discuss list can.
Is PLTFLAGS passed to GCC, ld, or elf2flt?
--
Daniel Jacobowitz
CodeSourcery
More information about the coldfire-gnu-discuss
mailing list