[PATCH 2/2] malloc: aarch64: Add ifuncs for malloc functions
Andreas Schwab
schwab@linux-m68k.org
Fri Jul 31 13:39:22 GMT 2026
On Jul 31 2026, Wilco Dijkstra wrote:
> Hi Andreas,
>
>>> state. One could autoinsert the strdup around strings if a particular setting is enabled.
>>
>> How is strdup different from malloc?
>
> In that it is both optional and explicit user choice, unlike the malloc
Nothing of that makes it is really different.
> call which can't even be switched off (if it could, the issue with ifuncs
> wouldn't be that serious).
The static allocation is required for proper semantics.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list