swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: d72e90f33aa4709ebecc5005562f52335e106a60 authored by Linus Torvalds on 22 July 2018, 21:12:20 UTC
Linux 4.18-rc6
Tip revision: d72e90f
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