This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28896] -fstack-limit-symbol and m68k and non 68020
- From: "baker at usgs dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Oct 2012 19:14:44 +0000
- Subject: [Bug target/28896] -fstack-limit-symbol and m68k and non 68020
- Auto-submitted: auto-generated
- References: <bug-28896-4@http.gcc.gnu.org/bugzilla/>
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.