Paulo César Pereira de Andrade wrote:
>   When testing on gcc110.fsffrance.org I got confused as there were no
> function descriptors, and the float abi to call varargs functions did
> not match.

Indeed, function descriptors are a difference between the ABIs as well:

On powerpc-aix and powerpc64-aix, a function pointer is actually a pointer to a
struct {
  void* code_address;
  void* toc_pointer;  /* gets loaded into register r2 */
  void* static_chain; /* gets loaded into register r11 */
}.

Likewise on powerpc64-linux (but not on powerpc-linux and
not on powerpc64-elfv2-linux!).

Bruno

_______________________________________________
cfarm-users mailing list
[email protected]
https://lists.tetaneutral.net/listinfo/cfarm-users

Reply via email to