------- Comment #5 from hjl dot tools at gmail dot com 2010-01-06 23:27 ------- Function pointer != function address in shared library. "f2" is protected and the one defined in shared library will be called. But its function pointer can be out side of shared library. That is why R_X86_64_PC32 can't be used.
This bug can be fixed if PR 35513 is resolved. -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |35513 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37611