RE: ARM: CONFIG_FRAME_POINTER

Hunter, Jon
2009-05-13T15:48:15Z

Hi Richard,

> If you follow the link and look at attached png you clearly see compiler
> issue. I also provided a hack which allowed it to work. Probably FRAME
> pointer changes code generation to get rid of issue.

Right, with CONFIG_FRAME_POINTER defined the following compiler flags are defined in the top-level Makefile.

ifdef CONFIG_FRAME_POINTER
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
else
KBUILD_CFLAGS += -fomit-frame-pointer
Endif

I believe that this was the difference.

Cheers
Jon