diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-06-27 14:10:55 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-08-11 15:01:58 +0000 |
commit | 95c9b7351cc9e5dc8dafffd8ad9ffb968782410a (patch) | |
tree | 7804778f6c33be807c7c85e6ab184624c7a0dbb6 /elf/dblload.c | |
parent | 2eb180377b96771b8368b0915669c8c7b267e739 (diff) | |
download | glibc-95c9b7351cc9e5dc8dafffd8ad9ffb968782410a.zip glibc-95c9b7351cc9e5dc8dafffd8ad9ffb968782410a.tar.gz glibc-95c9b7351cc9e5dc8dafffd8ad9ffb968782410a.tar.bz2 |
AArch64: Avoid memset ifunc in cpu-features.c [BZ #33112]
During early startup memcpy or memset must not be called since many targets
use ifuncs for them which won't be initialized yet. Security hardening may
use -ftrivial-auto-var-init=zero which inserts calls to memset. Redirect
memset to memset_generic by including dl-symbol-redir-ifunc.h in cpu-features.c.
This fixes BZ #33112.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 681a24ae4d0cb8ed92de98b4da660308840b09ba)
Diffstat (limited to 'elf/dblload.c')
0 files changed, 0 insertions, 0 deletions