I am trying to migrate my project to ARM compiler 6.19 from an older version (5.xx).
In Compiler 5.xx, I know that the asm instruction "PRESERVE8" is used to specify that the current file preserves the eight-byte alignment of the stack.
This instruction is causing a linker error and I couldn't find any translation in the document "Migrate ARM Compiler 5 to ARM Compiler 6" or any other online forum.
How do I rewrite this instruction compatible with ARM Compiler 6? Is there any documentation available that describes how to resolve this issue?
Any help is much appreciated. Thank you
The equivalent directive is:
.eabi_attribute Tag_ABI_align_preserved, 1
See the end of the table here, and the notes on its use:https://developer.arm.com/documentation/100068/0620/Migrating-from-armasm-to-the-armclang-Integrated-Assembler/Miscellaneous-directives