Commit b5395344 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Control -fomit-frame-pointer using CONFIG_FRAME_POINTER.

parent c4fb41cb
...@@ -700,6 +700,11 @@ config MCOUNT ...@@ -700,6 +700,11 @@ config MCOUNT
depends on STACK_DEBUG depends on STACK_DEBUG
default y default y
config FRAME_POINTER
bool
depends on MCOUNT
default y
endmenu endmenu
source "security/Kconfig" source "security/Kconfig"
......
...@@ -52,7 +52,6 @@ ifeq ($(INLINE_LIMIT),y) ...@@ -52,7 +52,6 @@ ifeq ($(INLINE_LIMIT),y)
endif endif
ifeq ($(CONFIG_MCOUNT),y) ifeq ($(CONFIG_MCOUNT),y)
CFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS))
CFLAGS := $(CFLAGS) -pg CFLAGS := $(CFLAGS) -pg
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment