This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/28896] -fstack-limit-symbol and m68k and non 68020


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]