ia64/xen-unstable
changeset 9281:6ccf98fcd9de
[IA64] -mconstant-gp gcc/as option added.
Thus gp is not saved/restored before calls, saving memory and bundles.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
Thus gp is not saved/restored before calls, saving memory and bundles.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author | awilliam@xenbuild.aw |
---|---|
date | Fri Mar 17 14:23:43 2006 -0700 (2006-03-17) |
parents | ccde0eab2545 |
children | e04978011d2d |
files | xen/arch/ia64/Rules.mk |
line diff
1.1 --- a/xen/arch/ia64/Rules.mk Fri Mar 17 14:21:56 2006 -0700 1.2 +++ b/xen/arch/ia64/Rules.mk Fri Mar 17 14:23:43 2006 -0700 1.3 @@ -6,6 +6,7 @@ ifneq ($(COMPILE_ARCH),$(TARGET_ARCH)) 1.4 CROSS_COMPILE ?= /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux- 1.5 endif 1.6 AFLAGS += -D__ASSEMBLY__ -nostdinc $(CPPFLAGS) 1.7 +AFLAGS += -mconstant-gp 1.8 CPPFLAGS += -I$(BASEDIR)/include -I$(BASEDIR)/include/asm-ia64 \ 1.9 -I$(BASEDIR)/include/asm-ia64/linux \ 1.10 -I$(BASEDIR)/include/asm-ia64/linux-xen \ 1.11 @@ -13,6 +14,7 @@ CPPFLAGS += -I$(BASEDIR)/include -I$(BA 1.12 -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen 1.13 1.14 CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing 1.15 +CFLAGS += -mconstant-gp 1.16 #CFLAGS += -O3 # -O3 over-inlines making debugging tough! 1.17 CFLAGS += -O2 # but no optimization causes compile errors! 1.18 #CFLAGS += -iwithprefix include -Wall -DMONITOR_BASE=$(MONITOR_BASE)