This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/37611] invalid relocation R_386_GOTOFF when using protected function pointers
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2010 23:27:07 -0000
- Subject: [Bug target/37611] invalid relocation R_386_GOTOFF when using protected function pointers
- References: <bug-37611-7245@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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