[CRIU] [PATCH 7/8] make: pie -- Switch to a new scheme
Cyrill Gorcunov
gorcunov at openvz.org
Thu Feb 14 08:17:09 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 | 89 ++++++++++++-------------------
pie/gen-offsets.sh | 7 +--
pie/util-net.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++
util-net.c | 151 -----------------------------------------------------
6 files changed, 196 insertions(+), 214 deletions(-)
create mode 100644 pie/util-net.c
delete mode 100644 util-net.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-make-pie-Switch-to-a-new-scheme.patch
Type: text/x-patch
Size: 13278 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130214/c0357d2a/attachment-0001.bin>
More information about the CRIU
mailing list