When I compile my firmware source using Codewarrior, i get the error message
Error: L6238E: foo.o(.text) contains invalid call from '~PRES8' function to 'REQ8' function foobar
when linking the library name.a to the firmware source. I know this has something to do with 8byte stack alignment. The function foo.o is a function inside name.a. Any suggestions?