[Bug target/37611] invalid relocation R_386_GOTOFF when using protected function pointers

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 6 23:27:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list