dashboard
repositories
activity
search
login
luoshi
/
RK3588_XEN
forked from
~ljy/RK3588_XEN
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
set hp_det gpio
hc
2024-08-12
233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
[~luoshi/RK3588_XEN.git]
/
kernel
/
scripts
/
gcc-x86_64-has-stack-protector.sh
1
2
3
4
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
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"