Tim Deegan
2011-Mar-07 11:37 UTC
[Xen-devel] [PATCH 0 of 2] [RFC] Allow link-time optimization of Xen
This patch series applies on top of the clang/llvm one I just posted. It rearranges the Xen makefiles so that Xen can be built using bitcode intermediate files and link-time optimization. Since gold can''t link binary and bitcode files together to produce a bitcode file, we need to gather binary objects and bitcode objects separately until the final link. The first patch does that and is a candidate for checking in, although maybe not immediately. The second is just a hack to work around a bug in the LLVM linker, and is just here for anyone who wants to try it out. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Deegan
2011-Mar-07 11:37 UTC
[Xen-devel] [PATCH 1 of 2] 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> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Deegan
2011-Mar-07 11:37 UTC
[Xen-devel] [PATCH 2 of 2] LLVM''s linker currently can''t handle two C files with the same name
http://llvm.org/bugs/show_bug.cgi?id=8759 Work around that by renaming a lot of files (using symlinks). This patch is definitely not to be considered for checking in to xen-unstable; it''s just a hack to work around LLVM until it''s fixed. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel