[PATCH] Go closures for s390[x]

Dominik Vogt vogt@linux.vnet.ibm.com
Tue Dec 16 15:05:00 GMT 2014


The attached patch adds Go closure support for s390[x] atop
Richard's go-closure branch in the Gcc repository (it requires on
other patches discussed in the general Go closure topic).

ChangeLog:
--
2014-12-16  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* src/s390/sysv.S (ffi_call_SYSV): Adapt for Go closure support.
	Rewrite cfi information.
	(ffi_closure_SYSV): Adapt for Go closure support.  Rewrite cfi
	information.
	(ffi_go_closure_SYSV): New function.
	* src/s390/ffi.c (ffi_call_int): Renamed from ffi_call, add closure
	argument.
	(ffi_call): New interface function.
	(ffi_call_go): New interface function for go calls.
	(ffi_closure_helper_SYSV): Pass closure internals as arguments.
	(ffi_prep_go_closure): New function for Go closure support.
	* src/s390/ffitarget.h (FFI_GO_CLOSURES): Activate Go closure support.
--

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libffi-S-390-Go-closure-support.patch
Type: text/x-diff
Size: 21229 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libffi-discuss/attachments/20141216/31312872/attachment.bin>


More information about the Libffi-discuss mailing list