[CRIU] [PATCH] arch/ppc64: Add PowerPC 64 LE support

Laurent Dufour ldufour at linux.vnet.ibm.com
Tue May 5 01:05:50 PDT 2015


On 30/04/2015 09:40, Cyrill Gorcunov wrote:
> On Thu, Apr 30, 2015 at 09:25:03AM +0200, Laurent Dufour wrote:
>>>
>>> Yes, I've implemented trivial rellocator for sake of 32bit code
>>> (which is not published yet, neither it complete ready) but
>>> hopefully I show it soon.
>>>
>>
>> That's a very good news.
>>
>> I'm looking forward give your patch a try on ppc64le.
> 
> Actually, it's pretty trivial: the code generated (for
> x86-64) should contain only _PC32 and plain _32 types
> of rellocations so I pick up linked object file, parse
> rellocations and remember the positions to be adjusted
> in a static array (iow the tool generates .c file where
> we can pick up rellocation positions very fast and apply
> them). Hopefully I clean up code properly on the next
> week and post it. If you're interested in even draft
> raw version -- just ping me and I send you code privately.

Sounds to be on the right way, but no rush for me right now, I've many
other stuff to address on the powerpc side.

But I'm looking forward to see how I'd be able to manage PowerPc
specific relocation through your patch, once you will push it upstream.

Cheers,
Laurent.



More information about the CRIU mailing list