[ppc] Save all the registers in the context
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 31 Jan 2017 22:09:41 +0000 (00:09 +0200)
committerVlad Brezae <brezaevlad@gmail.com>
Thu, 2 Feb 2017 19:09:18 +0000 (21:09 +0200)
commit7a8be4d2d0441ebe2897fcb12c250315ecc80079
tree745c0668177e1ad8e2d3ee14b017aca37f365f6b
parent6a2a23dcebbf5bd19560b3bdeec54e13e26901f8
[ppc] Save all the registers in the context

When suspending a thread, we were only saving the callee save registers in the context. Therefore SGen was failing to pin some objects. In order to store the registers in order, a code refactoring was necessary.
mono/mini/exceptions-ppc.c
mono/mini/mini-ppc.c
mono/mini/mini-ppc.h
mono/utils/mono-context.c
mono/utils/mono-context.h