------- Comment #23 from hubicka at gcc dot gnu dot org 2008-02-26 09:31 ------- I guess we need 1) Get the patch to check overwritability of body to mainline and branch, since it is quite wrong to optimize based on knowledge of body that might be replaced 2) Figure out how to get Apple's linker in sync with Darwin backend in GCC. If the symbols are locally bound I guess the backend should just output the direct call, not via PLT table. If the objects are not locally bound we need to change the predicate. I am not terribly familiar with MACHOPIC, what is the case? (ie does MACHOPIC allow overwritting -fpic symbols like ELF?)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35271