http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28896
--- Comment #43 from Larry Baker <baker at usgs dot gov> 2012-10-04 19:14:44
UTC ---
Those of you that use the uClinux elf2flt toolchain will find that
__stack_start is not correctly defined. This is due to a bug in the elf2flt.ld
linker script. Edit either/both elf2flt.ld (from a binary distribution) or
elf2flt.ld.in (from the source distribution) to output the .stack section to
the flatmem memory image:
From
.stack : {
. = ALIGN(0x4);
__stack_start = .;
}
To
.stack : {
. = ALIGN(0x4);
__stack_start = .;
} > flatmem
See http://mailman.uclinux.org/pipermail/uclinux-dev/2012-October/052176.html.