commit | 9d0be730dd3a23b241701966cbdb04a3cf851821 | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@csgroup.eu> | Wed Nov 15 19:36:36 2023 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Nov 29 09:32:15 2023 -0500 |
tree | c01a59061bf744dbd5667023b4fe8a1fac4f1c7b | |
parent | 782ad64470ef5e810da5a46b45d6354bf928d32d [diff] |
Fix stack-protector for powerpc On powerpc, stack protector expects a function called __stack_chk_fail_local() instead of __stack_chk_fail() And some versions of GCC for powerpc default to TLS canary instead of global canary, so always force GCC to use global canary with -mstack-protector-guard=global Cc: Joel Peshkin <joel.peshkin@broadcom.com> Fixes: 4e9bce12432 ("Add support for stack-protector") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>