Would it be possible to add this patch to the gcc 4.9 branch as is? It
provides most of the basic support for reflection on ppc64 and ppc64le,
which does not work at all currently. Once I get the
libgo/go/reflect/all_test.go working I can add the patch for the fixes
and enable the testcase for these goarch values in a later submission.
Thanks.
On 01/06/2015 12:38 PM, Lynn A. Boger wrote:
Sorry, hold off on this one for now. I missed the update to
libgo/go/reflect/all_test.go for ppc64 and ppc64le in this patch and
when changed to actually test these goarch values it is failing.
On 01/06/2015 09:37 AM, Lynn A. Boger wrote:
Add support for reflection for gccgo in gcc 4.9. This is not a
backport because reflection support in gcc trunk is done using FFI.
Bootstrap built and tested on ppc64, ppc64le.
2015-01-06 Lynn Boger <labo...@linux.vnet.ibm.com>
* libgo/Makefile.am: Build the new files for libgo reflection
support on ppc64, ppc64le
* libgo/Makefile.in: same
* libgo/go/reflect/makefunc.go: Invoke reflection functions for
ppc64, ppc64le
* libgo/go/reflect/makefunc_ppc.c: makeFuncStub for ppc64, ppc64le
* libgo/go/reflect/makefuncgo_ppc.go: MakeFuncStubGo and
argument handling for ppc64, ppc64le