From 128f36c8423592343d36190102b037c4527bf53a Mon Sep 17 00:00:00 2001
From: Anh <zenpoems@gmail.com>
Date: Fri, 14 Sep 2018 15:50:04 +0000
Subject: [PATCH] Add move_globals --elftables-only config

Former-commit-id: 26538c31688466a997dbba0286606f3fb57bff29
---
 tests/test_cmds.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/test_cmds.sh b/tests/test_cmds.sh
index 4f234ed55..7d93a01f3 100755
--- a/tests/test_cmds.sh
+++ b/tests/test_cmds.sh
@@ -109,7 +109,10 @@ do
 			$PSZ $progpath $protected --step p1transform=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
 		;;
 		mg)
-			$PSZ $progpath $protected --step move_globals=on --step-option move_globals:--aggressive --tempdir $temp_dir > test_${prog}.ps.log 2>&1
+			$PSZ $progpath $protected --step move_globals=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
+		;;
+		mg_elfonly)
+			$PSZ $progpath $protected --step move_globals=on -o move_globals:--elftables-only --tempdir $temp_dir > test_${prog}.ps.log 2>&1
 		;;
 		mgx)
 			$PSZ $progpath $protected --step move_globals=on --step-option move_globals:--aggressive --step xor_globals=on  --tempdir $temp_dir > test_${prog}.ps.log 2>&1
-- 
GitLab