This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ ld ] Going to contribute


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]