VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Sven Joachim <svenjoac@gmx.de> 2018-06-18 19:45:25 +0200 committer: Masahiro Yamada <yamada.masahiro@socionext.com> 2018-06-25 23:21:13 +0900 commit: 5391e536dbf702de6581369e47c9c4cea3a87170 parent: ac8517440344dbe598f7c1c23e686c800b563061
Commit Summary:
stack-protector: Fix test with 32-bit userland and CONFIG_64BIT=y
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/scripts/gcc-x86_64-has-stack-protector.sh b/scripts/gcc-x86_64-has-stack-protector.sh
index 3755af0cd9f7..75e4e22b986a 100755
--- a/scripts/gcc-x86_64-has-stack-protector.sh
+++ b/scripts/gcc-x86_64-has-stack-protector.sh
@@ -1,4 +1,4 @@
 #!/bin/sh
 # SPDX-License-Identifier: GPL-2.0
 
-echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
+echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -m64 -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs"