string: Disable stack protector for memset in early static initialization
commit77c6a2717de1b6a78e79538b2074579ed77839ed
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 22 Jan 2024 13:42:19 +0000 (22 10:42 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 23 Jan 2024 13:22:59 +0000 (23 10:22 -0300)
treea5b9ef5c1494f6d347d79b158ef5e78305c8bbe5
parentdfa3394a605c8f6f25e4f827789bc89eca1d206c
string: Disable stack protector for memset in early static initialization

For ports that use the default memset, the compiler might generate early
calls before the stack protector is initialized (for instance, riscv
with -fstack-protector-all on _dl_aux_init).

Checked on riscv64-linux-gnu-rv64imafdc-lp64d.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
string/Makefile