On Tue, Feb 03, 2015 at 02:03:14PM -0800, H.J. Lu wrote: > So we aren't SYMBOL_REF_EXTERNAL_P nor > SYMBOL_REF_LOCAL_P. What do we reference?
That is reasonable. There is no guarantee the extern weak symbol is local, it could very well be non-local. All that you know about the symbols is that its address is non-NULL in that case. Jakub