Skip to content
Commit 77c6a271 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

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: default avatarFlorian Weimer <fweimer@redhat.com>
parent dfa3394a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment