[Bug target/19520] protected function pointer doesn't work right
hjl at lucon dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 20 19:28:00 GMT 2005
------- Additional Comments From hjl at lucon dot org 2005-01-20 19:28 -------
Depending on the psABI, because of copy relocation on data symbols and
function pointer on function symbols, a protected symbol has to be
treated very carefully. We have to check 2 things:
1. If the psABI uses copy relocation, protected data symbol is the same
as normal symbol.
2. If the psABI doesn't support the "official function address", that is
the psABI guarantee there is one and one only function address, only
branch to functions can be treated as local.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19520
More information about the Gcc-bugs
mailing list