]> xenbits.xensource.com Git - xen.git/commitdiff
MiniOS: no-stack-protector added to the cflags if needed,
authorKeir Fraser <keir@xensource.com>
Tue, 9 Oct 2007 15:06:50 +0000 (16:06 +0100)
committerKeir Fraser <keir@xensource.com>
Tue, 9 Oct 2007 15:06:50 +0000 (16:06 +0100)
and the default domain config file fixed.

From: Grzegorz Milos <gm281@cam.ac.uk>
Signed-off-by: Keir Fraser <keir@xensource.com>
extras/mini-os/domain_config
extras/mini-os/minios.mk

index 57f909ac5dd6c72fcac740e89141b016c75f6e52..f3ec1d1c51a98d20493d90ff1e752f6f9211deb0 100644 (file)
@@ -8,7 +8,7 @@
 
 #----------------------------------------------------------------------------
 # Kernel image file.
-kernel = "mini-os.elf"
+kernel = "mini-os.gz"
 
 # Initial memory allocation (in megabytes) for the new domain.
 memory = 32
index 5f63e614273085e7379d48da7eefe25c33ffca00..5f81bb7d77d50e3e0379608520e6357c7e954f3d 100644 (file)
@@ -7,6 +7,7 @@ debug = y
 # Define some default flags.
 # NB. '-Wcast-qual' is nasty, so I omitted it.
 DEF_CFLAGS := -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format
+DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
 DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline
 DEF_CFLAGS += -D__XEN_INTERFACE_VERSION__=$(XEN_INTERFACE_VERSION)