projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-5.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[linux-2.6-microblaze.git]
/
scripts
/
dummy-tools
/
gcc
diff --git
a/scripts/dummy-tools/gcc
b/scripts/dummy-tools/gcc
index
f6d5437
..
b248314
100755
(executable)
--- a/
scripts/dummy-tools/gcc
+++ b/
scripts/dummy-tools/gcc
@@
-76,7
+76,11
@@
fi
if arg_contain -S "$@"; then
# For scripts/gcc-x86-*-has-stack-protector.sh
if arg_contain -fstack-protector "$@"; then
- echo "%gs"
+ if arg_contain -mstack-protector-guard-reg=fs "$@"; then
+ echo "%fs"
+ else
+ echo "%gs"
+ fi
exit 0
fi