Christophe Leroy 4072572b0f 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>
2023-11-29 09:32:15 -05:00
..
2023-11-20 09:19:50 -05:00
2023-10-06 14:38:13 -04:00
2023-11-14 20:04:01 -07:00
2023-03-30 15:09:59 -04:00
2022-11-02 08:42:03 +01:00
2013-04-01 16:33:52 -04:00
2022-01-19 18:11:34 +01:00
2023-10-23 17:07:06 +03:00
2022-08-04 16:18:47 -04:00
2023-07-17 17:12:07 +08:00
2023-03-14 16:08:51 -06:00
2023-06-23 14:38:16 -04:00
2023-11-29 09:32:15 -05:00
2023-10-09 15:24:31 -04:00
2023-02-07 14:33:50 -05:00
2023-05-13 09:52:32 -04:00