[CRIU] [PATCH] pie: relocs -- Fix compilation on ARM
Cyrill Gorcunov
gorcunov at gmail.com
Tue Jun 9 13:47:45 PDT 2015
On Tue, Jun 09, 2015 at 11:26:06PM +0300, Pavel Emelyanov wrote:
>
> This routine is called two times with last two arguments being the same -- elf_relocs
> and sizeof(elf_relocs). Why can't we stop treating them as arguments and just reference
> in the elf_relocs_apply as (global) variables?
They are generated dynamically and not present on the systems which use old scheme
(arm and such), so I don't see a reason why to make code more messy and define them
somewhere as a global for those who don't even touch them.
More information about the CRIU
mailing list