------- Comment #2 from hjl dot tools at gmail dot com 2010-01-06 23:33 ------- Function pointer != function address in shared library. When a function is protected, the one defined in shared library will be called. But its function pointer can be outside of shared library. So protected function pointer should be treated as global.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35513