[PATCH] Nuke another 21 .plt slots
Roland McGrath
roland@frob.com
Tue Aug 6 00:08:00 GMT 2002
> The problem is not loss of optimization. The semantics f code gets
> changed. And incorrectly so. gcc cannot inline a non-static function
> unless its visibility != default. It might be possible to add a gcc
> option to signal that all functions can be assumed to be non-preemptible.
I don't think it is so unreasonable. Anything that is written so that it
would work with static linking would work will come out right (i.e. you can
only inline in the same module and it would be a multiple definition if
there were a competing definition elsewhere), except for special cases
defining weak functions.
More information about the Libc-hacker
mailing list