mirror of https://gitee.com/openkylin/linux.git
ff58155ca4
The purgatory Makefile removes -fstack-protector options if they were
configured in, but does not currently add -fno-stack-protector.
If gcc was configured with the --enable-default-ssp configure option,
this results in the stack protector still being enabled for the
purgatory (absent distro-specific specs files that might disable it
again for freestanding compilations), if the main kernel is being
compiled with stack protection enabled (if it's disabled for the main
kernel, the top-level Makefile will add -fno-stack-protector).
This will break the build since commit
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
entry64.S | ||
purgatory.c | ||
setup-x86_64.S | ||
stack.S |