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)
commitbf6cbd0c87f30d0e4401be91a8161ce11079027a
treee9ba04ec273be490a51313b44c828909c04161a8
parent50530f5eac0c023cfc313d7ed342d4f1731becdb
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