your patch broke darwin libffi
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Fri Jan 18 16:47:00 GMT 2002
David Edelsohn wrote:
> The following patch should get rid of the Darwin link error.
>ffi_call_DARWIN is not defined for AIX either, and it does not complain.
>Given the delicacy of AIX in this area, I did not expect Darwin to have a
>problem with the missing symbol if AIX was satisfied.
>
> * src/powerpc/darwin.S (_ffi_call_AIX): New.
>
>! /* Provide a null definition of _ffi_call_AIX. */
>! .text
>! .align 2
>! .globl _ffi_call_AIX
>! .text
>! .align 2
>! _ffi_call_AIX:
>! blr
>! //END(_ffi_call_AIX)
>
>
Wouldn't it be better to give this function the same name in both aix.S
and darwin.S, since only one of them gets built?
regards
Bryce.
More information about the Libffi-discuss
mailing list