How can I know if an ARM library is using hardfp?

前端 未结 3 2058
-上瘾入骨i
-上瘾入骨i 2021-02-02 11:29

I don\'t have access to the build command, I just have the library in my system.

I guess I could build an hardfp executable that links against it and test, but I\'m wond

3条回答
  •  抹茶落季
    2021-02-02 12:18

    Use objdump -d to disassemble, then grep for some floating point commands. I'm not sure whether objdump will produce UAL-compliant assembly, so try old syntax too. It might be even easier to watch for register names rather than command mnemonics, but there could be false positives.

提交回复
热议问题