Blame view

scripts/gcc-x86_32-has-stack-protector.sh 173 Bytes
60a5317ff   Tejun Heo   x86: implement x8...
1
  #!/bin/sh
b24413180   Greg Kroah-Hartman   License cleanup: ...
2
  # SPDX-License-Identifier: GPL-2.0
60a5317ff   Tejun Heo   x86: implement x8...
3

2a61f4747   Masahiro Yamada   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"