aboutsummaryrefslogtreecommitdiff
path: root/elf/dblload.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2025-06-27 14:10:55 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2025-08-11 15:01:58 +0000
commit95c9b7351cc9e5dc8dafffd8ad9ffb968782410a (patch)
tree7804778f6c33be807c7c85e6ab184624c7a0dbb6 /elf/dblload.c
parent2eb180377b96771b8368b0915669c8c7b267e739 (diff)
downloadglibc-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