Closed douzzer closed 1 week ago
The thumb2 code won't work with thumb only processors. Thumb2 instructions aren't really supported until ARMv7-M. For example the Cortex-M0/M0+/M1 which are ARMv6-M have some Thumb2 instructions. ARMv6 doesn't have Thumb2 instructions while ARMv6T2 does.
closing in favor of #7681 and, as discussed, because this PR isn't quite the right idea.
src/include.am
andconfigure.ac
: build ARM thumb sources only on thumb builds, to avoid "ISO C forbids an empty translation unit".motivated by this defect report:
tested with
wolfssl-multi-test.sh ... check-source-text cross-armv7a-all-armasm-testsuite-sanitizer cross-armv7a-armasm-fips-140-3-ready-sp-all-testsuite-sanitizer cross-aarch64-armasm-fips-140-3-dev-all-unittest-sanitizer
note, I added an optional thumb-armasm scenario to multi-test but couldn't get it to build -- oodles of assembler errors like this: