[CRIU] [PATCH 03/22] compel: arch, x86 -- Add missing exit section into pack script

Cyrill Gorcunov gorcunov at openvz.org
Wed Oct 19 12:21:18 PDT 2016


And fill with zero bytes for unification sake.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 compel/arch/x86/scripts/pack.lds.S | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/compel/arch/x86/scripts/pack.lds.S b/compel/arch/x86/scripts/pack.lds.S
index 3b94b3ecd2f2..e8726a304da3 100644
--- a/compel/arch/x86/scripts/pack.lds.S
+++ b/compel/arch/x86/scripts/pack.lds.S
@@ -10,7 +10,12 @@ SECTIONS
 	. = ALIGN(64);
 	.compel.init : {
 		*(.compel.init)
-	} =0xff
+	} =0x00
+
+	. = ALIGN(64);
+	.compel.exit : {
+		*(.compel.exit)
+	} =0x00
 
 	. = ALIGN(64);
 	.data : {
-- 
2.7.4



More information about the CRIU mailing list