aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/001.sh2
-rw-r--r--tests/002.sh2
-rw-r--r--tests/003.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/001.sh b/tests/001.sh
index 70e00f5..a81f2c3 100644
--- a/tests/001.sh
+++ b/tests/001.sh
@@ -9,7 +9,7 @@ if [[ $? -ne 0 ]]; then
cat main.s >&2
exit 1
fi
-gcc -o a.out main.s
+gcc -Wl,-z,noexecstack -o a.out main.s
./a.out
exit_code=$?
diff --git a/tests/002.sh b/tests/002.sh
index 65d3d69..9dbbb21 100644
--- a/tests/002.sh
+++ b/tests/002.sh
@@ -9,7 +9,7 @@ if [[ $? -ne 0 ]]; then
cat main.s >&2
exit 1
fi
-gcc -o a.out main.s
+gcc -Wl,-z,noexecstack -o a.out main.s
./a.out
exit_code=$?
diff --git a/tests/003.sh b/tests/003.sh
index e99b7e1..77a3886 100644
--- a/tests/003.sh
+++ b/tests/003.sh
@@ -9,7 +9,7 @@ if [[ $? -ne 0 ]]; then
cat main.s >&2
exit 1
fi
-gcc -o a.out main.s
+gcc -Wl,-z,noexecstack -o a.out main.s
./a.out
exit_code=$?