From: Jack Lange Date: Wed, 17 Nov 2010 05:58:07 +0000 (-0600) Subject: updated build process to map common symbols out of the .bss X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=3cb93a5034835ac4b3eb7831e743463b6c831e51 updated build process to map common symbols out of the .bss --- diff --git a/Makefile b/Makefile index 9d77f82..f0df92c 100644 --- a/Makefile +++ b/Makefile @@ -298,9 +298,9 @@ V3_INCLUDE := -Ipalacios/include \ CPPFLAGS := $(V3_INCLUDE) -D__V3VEE__ -CFLAGS := -fno-stack-protector -Wall -O -Werror -fPIC -mno-red-zone +CFLAGS := -fno-stack-protector -Wall -O -Werror -fPIC -mno-red-zone -fno-common -LDFLAGS := --whole-archive +LDFLAGS := --whole-archive ifeq ($(call cc-option-yn, -fgnu89-inline),y) CFLAGS += -fgnu89-inline diff --git a/Makefile.x86_64 b/Makefile.x86_64 index d070ae7..df4a343 100644 --- a/Makefile.x86_64 +++ b/Makefile.x86_64 @@ -6,4 +6,4 @@ # from aligning stack to 16 bytes. (Which is gcc's way of supporting SSE). CFLAGS += $(call cc-option,-m64,) -D__V3_64BIT__ AFLAGS += $(call cc-option,-m64,) -D__V3_64BIT__ -LDFLAGS += -melf_x86_64 +LDFLAGS += -melf_x86_64 -dp