This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: two PPC gcc issues in 2.95.3 ->
>
> REL24 means pc-relative calls and jumps must be within 2**24 bytes. This is
> due to the instruction layout. You can direct the compiler to call functions
> through a pointer with either the longcall attribute, or with the -mlongcall
> switch which affects all function calls. You might check whether newer
> releases of the linker will insert some code that is linked near the call, and
> then loads up the long address and jumps to it.
>
ppc64 will. 32 will not.
-eric
--
Eric Christopher <echristo@redhat.com>