[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [IA64] -mconstant-gp gcc/as option added.
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID 6ccf98fcd9de99fc42401b02cf1bf4f4a4d2cbac # Parent ccde0eab25458c9a15f660c87d36ae0cc1637da2 [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@xxxxxxxx> diff -r ccde0eab2545 -r 6ccf98fcd9de xen/arch/ia64/Rules.mk --- a/xen/arch/ia64/Rules.mk Fri Mar 17 21:21:56 2006 +++ b/xen/arch/ia64/Rules.mk Fri Mar 17 21:23:43 2006 @@ -6,6 +6,7 @@ CROSS_COMPILE ?= /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux- endif AFLAGS += -D__ASSEMBLY__ -nostdinc $(CPPFLAGS) +AFLAGS += -mconstant-gp CPPFLAGS += -I$(BASEDIR)/include -I$(BASEDIR)/include/asm-ia64 \ -I$(BASEDIR)/include/asm-ia64/linux \ -I$(BASEDIR)/include/asm-ia64/linux-xen \ @@ -13,6 +14,7 @@ -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing +CFLAGS += -mconstant-gp #CFLAGS += -O3 # -O3 over-inlines making debugging tough! CFLAGS += -O2 # but no optimization causes compile errors! #CFLAGS += -iwithprefix include -Wall -DMONITOR_BASE=$(MONITOR_BASE) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |