On 08/23/2010 10:30 AM, Gleb Natapov wrote:
That's what overlay is, it used to be a hot method way back. Why do you think it's complicated? There's some support for it in ld.
It is not hot method any more for a reason though :) It is complicated because you need to decide at build time what can overlay with what.
I agree relocation is simpler.