ping x2: use longcall to abort from !pic trampoline setup on ppc-vxworks

Olivier Hainque hainque@adacore.com
Thu May 24 21:59:00 GMT 2012


Hello,

Ping #2 for http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00808.html

Thanks in advance,

Olivier

(sorry for a duplicate or empty version of this
 message a few minutes ago)

On Apr 13, 2012, at 10:08 , Olivier Hainque wrote:

> Relocation troubles (24bit reloc overflows) might show up when module
> instructions contain short references to kernel symbols and the module
> happens to be loaded very far away from the kernel in memory.
> 
> As of today, the powerpc "__trampoline_setup" function embeds such a
> potentially problematic reference, in the short call the "abort" at the
> end.
...
> 	libgcc/
> 	* config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
> 	sequence in the non pic case on VxWorks.
> 
> <vxtramp.dif>



More information about the Gcc-patches mailing list