------- Additional Comments From opensource at artnaseef dot com 2004-12-10 18:19 ------- Created an attachment (id=7720) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7720&action=view) recommended fix
This patch fixes the problem by forcing functions to keep their frame pointers when compiled with profiling. It maintains portability by using a macro, and only defining it for the ARM architecture, that indicates when mcount requires the frame pointer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18929