This is the mail archive of the libffi-discuss@sources.redhat.com mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: your patch broke darwin libffi


	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.

	If Darwin does not use shared libraries for libffi, that may be
the reason it cannot handle the missing symbol.

David

	* src/powerpc/darwin.S (_ffi_call_AIX): New.

Index: darwin.S
===================================================================
RCS file: /cvs/gcc/egcs/libffi/src/powerpc/darwin.S,v
retrieving revision 1.1
diff -c -p -r1.1 darwin.S
*** darwin.S	2001/10/09 05:32:15	1.1
--- darwin.S	2002/01/18 16:19:48
*************** L(float_return_value):
*** 147,153 ****
  	b	L(done_return_value)
  //END(_ffi_call_DARWIN)
  
! 
! 
! 
  
--- 147,159 ----
  	b	L(done_return_value)
  //END(_ffi_call_DARWIN)
  
! /* 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)
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]