[PATCH v4 2/2] x86: Update _dl_tlsdesc_dynamic to preserve caller-saved registers
Florian Weimer
fweimer@redhat.com
Fri Feb 16 13:06:37 GMT 2024
* H. J. Lu:
>> > I thought that unversioned symbols interpose all versioned symbols. Has
>> > this changed in the dynamic linker?
>>
>> Only for this case.
>>
>
> I was wrong. Version isn't needed. Will fix it.
Ahh. You don't need malloc-for-test.so, either. I think you could use
-Wl,-E (--export-dynamic) to trigger interposition from the main
program.
It would make sense to check using a counter that the interposed malloc
is in fact called.
Thanks,
Florian
More information about the Libc-alpha
mailing list