[Bug c/12069] function pointers to assembler code not working on AIX 4.3
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 26 15:59:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12069
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-26 15:59 -------
Your problem is that the function pointers on PPC on AIX are do not point directly to the function,
you need something like this:
f:
.long .f, TOC[tc0], 0
.csect .text[PR]
in the asm file.
More information about the Gcc-bugs
mailing list