From: Tim Deegan Subject: [PATCH 0 of 2] [RFC] Allow link-time optimization of Xen Date: Mon, 7 Mar 2011 11:37:00 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.