Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThe altera startup code allocates data for 'stdout' so that your code can call printf().
If you don't need it, it it worth trying to get rid of it from the image. The 'small' libc/bsp build might do that, I use my own initialisation code (sets %sp and %gp) and none of the altera library code at all.