]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix stackprotector detection for non-glibc toolchains
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 12 Oct 2018 11:09:09 +0000 (22:09 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 13 Oct 2018 11:21:25 +0000 (22:21 +1100)
commit952faf17eed22439d5be02cf23daea1beccbc058
treee9ba04ec273be490a51313b44c828909c04161a8
parent34a8a3fac443415ea05127c8024c84ba92764da9
powerpc: Fix stackprotector detection for non-glibc toolchains

If GCC is not built with glibc support then we must explicitly tell it
which register to use for TLS mode stack protector, otherwise it will
error out and the cc-option check will fail.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig