Cortex-M/Thumb2 ASM: fix label#7753
Conversation
0211646 to
a18ea90
Compare
|
@SparkiDev I'm using wolfSSL with IAR v9.50.2 and haven't seen issues with |
a18ea90 to
19c6b28
Compare
|
Hi @josepho0918, I've modified the code to check the version of IAR. Thanks, |
|
Hi @josepho0918 Could you please tell me what value you have for: IAR_SYSTEMS_ICC' Thanks, |
Hi @SparkiDev The value I have for |
|
Hi @josepho0918, Thanks for the help! Sean |
19c6b28 to
a3a0247
Compare
|
Hi @SparkiDev, I have tested the latest changes, and IAR is complaining |
IAR doesn't like %=. Fix code to be consistent in use of labels and branch instructions.
a3a0247 to
3284f53
Compare
|
Hi @josepho0918, I've modified the code to use B*.W/N for IAR. Thanks, |
Hi @SparkiDev, Excellent work! There're no compilation errors now, and the tests have passed. |
|
@SparkiDev seeing consistent failures with GCC after this PR. Thanks @night1rider for spotting it. Can reproduce easily. |
Description
IAR doesn't like %=.
Fix code to be consistent in use of labels and branch instructions.
Fixes zd#18315
Testing
./configure '--disable-shared' '--enable-all' '--enable-sp-asm' '--enable-armasm' 'LDFLAGS=--static' '--host=armv7m' 'CC=arm-linux-gnueabi-gcc' '--disable-crl-monitor'
./configure '--disable-shared' '--enable-all' '--enable-sp-asm' '--enable-armasm=inline' 'LDFLAGS=--static' '--host=armv7m' 'CC=arm-linux-gnueabi-gcc' '--disable-crl-monitor'
Checklist