http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56446



--- Comment #3 from Thiago Macieira <thiago at kde dot org> 2013-02-25 22:27:14 
UTC ---

This should not be done for non-PIC code. In those, it might be preferable to

make the actual call, as opposed to an indirect jump.



I also wonder what would happen for a call that resolves back into the current

module. In those cases, keeping the indirect call would be unnecessary.

However, it also seems like an edge case to me: why is the symbol weak if it's

part of the module?

Reply via email to