diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2011-03-07 11:34:09 +0000 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2011-03-07 11:34:09 +0000 |
commit | e4cdd74f02eaeea96348dc51534eff8e03d87697 (patch) | |
tree | 7e6947edf542bd1c6e87205fe7e7cec3d0388fa9 /xen/Makefile | |
parent | 436323c065f0ace4f469f5854f43423702a5082a (diff) | |
download | xen-e4cdd74f02eaeea96348dc51534eff8e03d87697.tar.gz xen-e4cdd74f02eaeea96348dc51534eff8e03d87697.tar.bz2 xen-e4cdd74f02eaeea96348dc51534eff8e03d87697.zip |
xen: add "lto=y" option to build Xen with link-time optimizations.
This involves gathering object files from .asm (which will be binary)
and object files from .c (which will be in LTO format) separately
until the final link.
Only tested for x86_64 Xen builds using Clang/LLVM bitcode; it should be
possible to do the same with newer GCCs and GIMPLE.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/Makefile')
-rw-r--r-- | xen/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/Makefile b/xen/Makefile index 64f73cb64c..d38caf102c 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -159,4 +159,4 @@ FORCE: $(MAKE) -f $(BASEDIR)/Rules.mk -C $(*D) $(@F) %/: FORCE - $(MAKE) -f $(BASEDIR)/Rules.mk -C $* built_in.o + $(MAKE) -f $(BASEDIR)/Rules.mk -C $* built_in.o built_in_bin.o |