whole-program optimisation the hard way
Posted Mar 2, 2006 6:12 UTC (Thu) by
xoddam (subscriber, #2322)
Parent article:
Some patches of interest
> This patch uses an obscure gcc option which causes the compiler to put
> every function into its own ELF section. Then, the linker is instructed
> to arrange those functions into a specific order in the final
> executable.
This looks like doing whole-program optimisation the hard way (by hand).
The narrow interface (ELF only) between the compiler and the linker
prevents all sorts of potential clever tricks. Is anyone working on
them?
(
Log in to post comments)