From 9d4971226fe98b43e2e26dbb13f3a46d6f4d2c52 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 8 Sep 2010 18:10:36 +0000 Subject: [PATCH] - add compiler options "-fno-zero-initialized-in-bss" to put all 0-initialized elements into the .data section git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@154 315a16e6-25f9-4109-90ae-ca3045a26c18 --- Makefile.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.example b/Makefile.example index 5c9f63b0..ee2a9629 100644 --- a/Makefile.example +++ b/Makefile.example @@ -10,7 +10,7 @@ export ASM = nasm export ASMFLAGS = -felf32 export INCLUDE = -I$(TOPDIR)/include -I$(TOPDIR)/arch/$(ARCH)/include -I$(TOPDIR)/lwip/src/include -I$(TOPDIR)/lwip/src/include/ipv4 export CC = gcc -export CFLAGS = -m32 -Wall -O2 -fno-builtin-function -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc $(INCLUDE) -fno-stack-protector +export CFLAGS = -m32 -Wall -O2 -fno-zero-initialized-in-bss -fno-builtin-function -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc $(INCLUDE) -fno-stack-protector export AR = ar export ARFLAGS = rsv export RM = rm -rf