3 ms·
> Symbol versioning I know that glibc uses symbol versioning to remain ABI-compatible within versions. What I meant was ABI compatibility between 32-bit and 64
by leni536 5y ago
> Symbol versioning
I know that glibc uses symbol versioning to remain ABI-compatible within versions. What I meant was ABI compatibility between 32-bit and 64-bit time_t with the same glibc library. Looks like it uses something like aliases for that (but self-implemented using asm):
https://sourceware.org/git/?p=glibc.git;a=blob;f=misc/sys/select.h;h=e9c0e8fc201a75807327c6b0c786c132666b4004;hb=HEAD#l134 https://sourceware.org/git/?p=glibc.git;a=blob;f=misc/sys/se...
https://sourceware.org/git/?p=glibc.git;a=blob;f=misc/sys/cdefs.h;h=a05b538579b8801b7a30407fe8770e46d0261234;hb=HEAD#l246 https://sourceware.org/git/?p=glibc.git;a=blob;f=misc/sys/cd...