On Wed, Dec 2, 2015 at 12:07 AM, Barry Song <21cn...@gmail.com> wrote: > i am wondering whether ld.so will check the capbility of ARM to decide > which version should be used.
I believe the way this works is that the kernel uses the auxiliary vector to pass an AT_HWCAP entry to programs. AT_HWCAP has hardware capability info. ld.so then checks the AT_HWCAP info, and only searches in matching dirs. See for instance https://wiki.linaro.org/Resources/HowTo/DeterminingCPUFeatures Jim _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain