On 5/30/22 06:57, Thomas Stüfe wrote:
For my specific problem, I can and probably should use .function. But my question was more general, should we leave the decision whether to use thumb or arm up to the toolchain. For two reasons, one is executable size - I assume using thumb has certain advantages, executables are smaller and you can fit more into the instruction cache, and second, because errors like mine are probably not that uncommon and it makes me nervous that we only caught it because someone happened to build on his Raspi.
Indeed! I'm surprised the problem doesn't come up in other places too. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. <https://www.redhat.com> https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671