[CRIU] [PATCH 13/16] make: Generate offsets from linked files only

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 30 18:46:31 EDT 2012


Instead of generating offsets from early compiled
object files (one day the offsets obtained from
there might be changed during linkage stage) better
to get them from a final stage where all object
files involved are linked into complete binary blob.

That happened that at early stage we indeed were using
only single file per parasite and restorer but at present
there a couple of file involved (and will be more in
future) so we need a safe approach.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile       |    6 ++++--
 gen-offsets.sh |    2 +-
 pie.lds.S      |    1 -
 3 files changed, 5 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-make-Generate-offsets-from-linked-files-only.patch
Type: text/x-patch
Size: 1399 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120331/9117de0b/0013-make-Generate-offsets-from-linked-files-only.bin


More information about the CRIU mailing list