[PATCH 0/1] aarch64: compile malloc ifuncs conditionally
Yury Khrustalev
yury.khrustalev@arm.com
Mon Jun 29 16:37:21 GMT 2026
There is an issue in GDB with resolving inferior's ifuncs. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=34330
To help provided a work-around for this issue, I'd like to add
this commit to compile malloc ifuncs conditionally. This would
make a patch to disable malloc ifuncs very simple: just change
the USE_MULTIARCH_MALLOC macro in 'malloc-ifuncs.h' from 1 to 0.
This patch does not introduce any functional chanes as normally
the USE_MULTIARCH_MALLOC macro must be always set to 1 on aarch64
unless a work-around for the GDB issue is required.
Checked on aarch64 with and without work-around and no regressions
found.
---
Yury Khrustalev (1):
aarch64: compile malloc ifuncs conditionally
sysdeps/aarch64/multiarch/malloc-ifuncs.c | 6 ++++++
1 file changed, 6 insertions(+)
--
2.47.3
More information about the Libc-alpha
mailing list