Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stack size passed from Makefile


  • To: Martin Voss <Martin.Voss@xxxxxx>
  • Subject: Re: Stack size passed from Makefile
  • From: Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
  • Date: Mon, 12 May 2008 12:20:08 -0400

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