Re: [PATCH] x86: Add a -mstack-protector-guard=global test

2025-02-01 Thread Uros Bizjak
On Sat, Feb 1, 2025 at 11:14 AM H.J. Lu wrote: > > Verify that -mstack-protector-guard=global works on x86. Default stack > protector uses TLS. -mstack-protector-guard=global uses a global variable, > __stack_chk_guard, instead of TLS. > > * gcc.target/i386/ssp-global.c: New file. OK. Thanks,

[PATCH] x86: Add a -mstack-protector-guard=global test

2025-02-01 Thread H.J. Lu
:00:00 2001 From: "H.J. Lu" Date: Sat, 1 Feb 2025 18:06:33 +0800 Subject: [PATCH] x86: Add a -mstack-protector-guard=global test Verify that -mstack-protector-guard=global works on x86. Default stack protector uses TLS. -mstack-protector-guard=global uses a global variable, __stack