This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12069] function pointers to assembler code not working on AIX 4.3
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2003 15:59:14 -0000
- Subject: [Bug c/12069] function pointers to assembler code not working on AIX 4.3
- References: <20030826155321.12069.mweiser@fachschaft.imn.htwk-leipzig.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.