This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Function long calls
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Subject: Function long calls
- From: Rafael Rodríguez Velilla <rrv at tid dot es>
- Date: Mon, 09 Jul 2001 09:39:47 +0200
- Organization: Telefónica I+D
I'm using gcc 2.95.2 for ARM.
I'm trying to compile a program whose functions reside in two different
sections in two different banks of memory so a "bl" can't access the
code of the other section.
Is there an attribute to tell gcc that a function call must be done
loading the "pc" instead of through a "bl" instruction?
When I compile my program I always get an error at link time saying
that a relocation symbol R_ARM_PC24 can't be solved.
I have even tried with a pointer to the function and I get the same
error.
--
Rafael Rodríguez Velilla rrv@tid.es
Telefónica I+D http://www.tid.es
Telf: +34 - 91 337 4270