Revision 39486ba0899bef856e2dc7d2c728e9f410083017 authored by Alexander Potapenko on 02 February 2018, 17:45:06 UTC, committed by Alexander Potapenko on 28 August 2018, 10:29:14 UTC
1 parent 0746cad
Raw File
gcc-x86_32-has-stack-protector.sh
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -m32 -O0 -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
back to top