Well, as I said, I was mistaken and the .symver directive does actually work for this, but the point of forcing the version is to provide a backwards compatible binary. If I compile with GCC on a modern system, it might generate a call to memcpy@GLIBC_2.14, so then that binary won't run on a system with glibc 2.13 installed. If I force it to an earlier version however, then it'll work just fine.
On Jan 29, 2018 9:05 PM, "Andi Kleen" <[email protected]> wrote: > Tom Mason <[email protected]> writes: > > > Is there any way for me to force the version for these symbols aswell? > > It seems pointless because the ABI for these symbols will never change. > > -Andi >
