[ ld ] Going to contribute

Ian Lance Taylor ian@airs.com
Thu Jul 21 06:25:00 GMT 2005


"Yuri Rassokhin" <yrassokhin@hotmail.com> writes:

> I have a plan for realizing at least 2 link-time optimizations in GNU
> toolchain, that is, 2 ld optimizations:
> - Function inling,

I'm not sure how the linker can do function inlining.  Can you explain
this further?

> - Non-called function removing (iff the final executable is being
> linked, or the entry point is given explicitly).

This one is already implemented, via the compiler option
-ffunction-sections and the linker option --gc-sections.

Ian



More information about the Binutils mailing list