Re: [PATCH 2/2] malloc: aarch64: Add ifuncs for malloc functions
Andreas Schwab <[email protected]> Fri, 31 Jul 2026 15:39:22 +0200
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Message-ID | <[email protected]> |
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, [email protected] GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."