diff options
-rw-r--r-- | arch/x86/Makefile_32.cpu | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/Makefile_32.cpu b/arch/x86/Makefile_32.cpu index df7fdf811997..1937226fd502 100644 --- a/arch/x86/Makefile_32.cpu +++ b/arch/x86/Makefile_32.cpu | |||
@@ -49,8 +49,9 @@ cflags-$(CONFIG_X86_GENERIC) += $(call tune,generic,$(call tune,i686)) | |||
49 | # Work around the pentium-mmx code generator madness of gcc4.4.x which | 49 | # Work around the pentium-mmx code generator madness of gcc4.4.x which |
50 | # does stack alignment by generating horrible code _before_ the mcount | 50 | # does stack alignment by generating horrible code _before_ the mcount |
51 | # prologue (push %ebp, mov %esp, %ebp) which breaks the function graph | 51 | # prologue (push %ebp, mov %esp, %ebp) which breaks the function graph |
52 | # tracer assumptions | 52 | # tracer assumptions. For i686, generic, core2 this is set by the |
53 | cflags-$(CONFIG_FUNCTION_GRAPH_TRACER) += $(call cc-option,-mtune=generic) | 53 | # compiler anyway |
54 | cflags-$(CONFIG_FUNCTION_GRAPH_TRACER) += $(call cc-option,-maccumulate-outgoing-args) | ||
54 | 55 | ||
55 | # Bug fix for binutils: this option is required in order to keep | 56 | # Bug fix for binutils: this option is required in order to keep |
56 | # binutils from generating NOPL instructions against our will. | 57 | # binutils from generating NOPL instructions against our will. |