[PATCH 9/9] make: pie -- Switch to a new scheme

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 8 15:52:38 EST 2013


Because we need util-net.c for both PIE code and
a regular code, just move it to pie/ directory
and build with -fpie option, this way we can reuse
compiled file in main program without additional
compilation pass.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 .gitignore                   |  1 +
 Makefile                     | 11 +++---
 pie/Makefile                 | 94 +++++++++++++++++++-------------------------
 pie/gen-offsets.sh           |  7 ++--
 util-net.c => pie/util-net.c |  0
 5 files changed, 52 insertions(+), 61 deletions(-)
 rename util-net.c => pie/util-net.c (100%)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-make-pie-Switch-to-a-new-scheme.patch
Type: text/x-patch
Size: 5517 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130209/f112eaa3/attachment.bin>


More information about the CRIU mailing list