Greg,

I haven't thought about this in a while, but recent activity on the uClinux 
developer's list reminded me again to check into this bug.

A couple years ago I posted patches on gcc bugzilla for gcc 4.6, 4.7, and 4.8 
to implement -fstack-limit-symbol for ColdFire processors, as well as to 
correct the code generated for all m68k processors [1] [2].  I posted an 
announcement here as well back on 25 September 2012.  The recent conversations 
here about ColdFire processors made me think someone might still care about 
that work.

Merging my patches into the gcc trunk keeps getting deferred.  The last time I 
had any correspondence with anyone about a time frame, I think the delay was 
because of the lack of someone working on the m68k code in the compiler.  I've 
never written any compiler code before this, but I do know how to read assembly 
language to see what the compiler is emitting.  (That's how I determined the 
existing implementation was not right and not as efficient as it could be.)  I 
was able to generate and run my code on uClinux with the stack checking option 
using my patched gcc.

Regards,

Larry Baker
US Geological Survey
650-329-5608
ba...@usgs.gov

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53834
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28896

--- Begin Message ---
See my posting at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28896, Bug 28896 
- -fstack-limit-symbol and m68k and non 68020.

I implemented GCC stack limit checking for Freescale ColdFire processors (bug 
no. 28896) and fixed the issues I identified in the existing source code (bug 
nos. 53833 and 54584).

There are patch files and instructions to build Sourcery (Mentor Graphics) 
CodeBench Lite for ColdFire uClinux GCC 6.1-2011.09-23, and the mainline GNU 
GCC releases 4.6.3, 4.6.4 (prerelease), 4.7.1, 4.7.2 (prerelease), and 4.8.0 
(experimental).

Larry Baker
US Geological Survey
650-329-5608
ba...@usgs.gov



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

--- End Message ---
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to