From 752c69ae225432599eaa4b71a43a4be7bc547fad Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 19 Nov 2006 18:04:09 +0000 Subject: [PATCH] Add the -fomit-frame-pointer option to GCC ARM7 builds. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@55 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/ARM7_AT91FR40008_GCC/Makefile | 2 +- Demo/ARM7_LPC2106_GCC/Makefile | 2 +- Demo/ARM7_LPC2138_Rowley/RTOSDemo.hzp | 5 +++-- Demo/ARM7_LPC2138_Rowley/RTOSDemo.hzs | 14 ++------------ Demo/CORTEX_LM3S811_KEIL/main.c | 2 +- Demo/Common/Minimal/PollQ.c | 2 +- Demo/Common/Minimal/blocktim.c | 4 ++-- Demo/WizNET_DEMO_GCC_ARM7/Makefile | 2 +- Demo/lwIP_Demo_Rowley_ARM7/rtosdemo.hzp | 2 +- Demo/uIP_Demo_Rowley_ARM7/rtosdemo.hzp | 2 +- 10 files changed, 14 insertions(+), 23 deletions(-) diff --git a/Demo/ARM7_AT91FR40008_GCC/Makefile b/Demo/ARM7_AT91FR40008_GCC/Makefile index e85f8a0b3..b7f687afc 100644 --- a/Demo/ARM7_AT91FR40008_GCC/Makefile +++ b/Demo/ARM7_AT91FR40008_GCC/Makefile @@ -38,7 +38,7 @@ CRT0=boot.s # CFLAGS=-Wall -D $(RUN_MODE) -D GCC_AT91FR40008 -I. -I../../Source/include \ -I../Common/include $(DEBUG) -mcpu=arm7tdmi -T$(LDSCRIPT) \ - -Wcast-align $(OPTIM) + -Wcast-align $(OPTIM) -fomit-frame-pointer ifeq ($(USE_THUMB_MODE),YES) CFLAGS += -mthumb-interwork -D THUMB_INTERWORK diff --git a/Demo/ARM7_LPC2106_GCC/Makefile b/Demo/ARM7_LPC2106_GCC/Makefile index b5311f6ff..a7b0072ff 100644 --- a/Demo/ARM7_LPC2106_GCC/Makefile +++ b/Demo/ARM7_LPC2106_GCC/Makefile @@ -44,7 +44,7 @@ WARNINGS=-Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align # CFLAGS=$(WARNINGS) -D $(RUN_MODE) -D GCC_ARM7 -I. -I../../Source/include \ -I../Common/include $(DEBUG) -mcpu=arm7tdmi -T$(LDSCRIPT) \ - $(OPTIM) + $(OPTIM) -fomit-frame-pointer ifeq ($(USE_THUMB_MODE),YES) CFLAGS += -mthumb-interwork -D THUMB_INTERWORK diff --git a/Demo/ARM7_LPC2138_Rowley/RTOSDemo.hzp b/Demo/ARM7_LPC2138_Rowley/RTOSDemo.hzp index 347ec08de..92c2bdc0f 100644 --- a/Demo/ARM7_LPC2138_Rowley/RTOSDemo.hzp +++ b/Demo/ARM7_LPC2138_Rowley/RTOSDemo.hzp @@ -40,15 +40,16 @@ +