This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add LTO binutils wrappers
- From: Andi Kleen <andi at firstfloor dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 29 Oct 2010 13:46:55 +0200
- Subject: Add LTO binutils wrappers
This came out of the discussion last time I submitted -print-lto-plugin.
For a slim LTO build tools like ar or ranlib need to be LTO
aware. This patch first readds the -print-lto-plugin option
and then adds three wrapper scripts for ar, ranlib that use.
I also added a ld wrapper that calls the gcc driver.
Passes bootstrap, full test on x86-64. Ok to commit?
-andi