[CRIU] [PATCH 12/38] compel: x86 -- Update linking script to include missed exit section

Cyrill Gorcunov gorcunov at openvz.org
Tue Oct 11 09:04:02 PDT 2016


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