Blame view
scripts/gcc-x86_32-has-stack-protector.sh
173 Bytes
60a5317ff x86: implement x8... |
1 |
#!/bin/sh |
b24413180 License cleanup: ... |
2 |
# SPDX-License-Identifier: GPL-2.0 |
60a5317ff x86: implement x8... |
3 |
|
2a61f4747 stack-protector: ... |
4 |
echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -m32 -O0 -fstack-protector - -o - 2> /dev/null | grep -q "%gs" |