criu/pie
Cyrill Gorcunov 41999f40b0 x86: Start using native object relocatable files in parasite code
Since at the moment we're running only x86-64 not 32 bit tasks,
and our code is not carrying any big statically defined structures
we can use relocatable files directly with all relocation applied
during building.

This gonna be changed soon once we start supporting 32 bit tasks.

IOW even currently we need (which is not yet done but it's safe)

 - check for gotpcrel relocations
 - apply relocations with generated elf_apply_relocs helper

Currently overall scheme looks this way

 - our object files are linked together into parasite.built-in.bin.o file
 - then pie/piegen/piegen tool is called which parses this file and generates
   C source code file with bytestream and all information needed to rellocate
   this bytestream into a new place (see elf_apply_relocs helper)

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-06-08 23:53:16 +03:00
..
piegen piegen: Implement tool building, v2 2015-06-08 23:53:15 +03:00
log-simple.c plugin: allow to use logging function in plugins 2013-12-18 21:52:12 +04:00
Makefile x86: Start using native object relocatable files in parasite code 2015-06-08 23:53:16 +03:00
parasite.c vdso: Reduce the amount of in-code ifdef-s 2015-06-08 23:34:33 +03:00
pie-reloc.lds.S.in x86: Start using native object relocatable files in parasite code 2015-06-08 23:53:16 +03:00
pie.lds.S.in arch/ppc64: Add PowerPC 64 LE support 2015-04-30 09:57:49 +03:00
restorer.c rst: Sanitize standard arrays remapping 2015-06-08 23:39:27 +03:00
util-fd.c util-fd: Use standard BUG_ON instead of hand-made 2015-03-04 17:50:06 +03:00
util.c criu: Drop redundant newline from pr_perror 2014-08-22 19:22:39 +04:00