Mail Archives: djgpp/1997/08/23/03:36:19
> will you please summarise the *current* situation
> (RE: Using an "empty" function to determine function end)
>
> Do any current optimisations break this method?
>
> What about PGCC releases (Andrew?)
None that I know of. The most likely thing to cause problems here would be
feeding profile data to the
linker and asking that it use the profile data to reorder function
locations to maximize instruction cache hits.
AFAIK the gnu linker doesn't support this, but Robert H would know far
better than I.
I'd agree with Eli though that it should really be avoided. Relying on a
(mis)feature will always get you into trouble in the
long run.
Andrew
- Raw text -