[PATCH] csu: Disable zero-init on stack in libc-start.c [BZ #33112]

Wilco Dijkstra Wilco.Dijkstra@arm.com
Fri Jun 27 14:24:41 GMT 2025


Hi Adhemerval,

> We have dl-symbol-redir-ifunc.h to avoid similar issues, where the autogenerated
> calls to string routines should be routed to generic implementations.  Does
> it work on libc-start.c?

Yes that works and is even simpler - it's odd that isn't included by default in all startup
files... I've sent v2.

Also why doesn't it have memcpy and other ifuncs added in it?

Cheers,
Wilco


More information about the Libc-alpha mailing list