Fix IAR assembler errors on except.S
Fixes two errors produced on except.S by the IAR assembler (as seen in
issue #13200).

The first: "'ALIGN' is illegal. Use directive ALIGNROM or ALIGNRAM (the
first parameter is raised to the power of 2, the second is a 32-bit fill
value)."
Fixed by changing ALIGN to ALIGNROM 2 to align to a 4-byte boundary
(mirroring what ALIGN does in the ARM except.S).

The second (on THUMB): "Must be placed inside a section"
Fixed by moving THUMB after the SECTION directive so that it affects
that section.
ls
1 parent aa882d3 commit b7c0e89eb99f2b35999390c4ffdd326abcd9b0da
@Matthew Macovsky Matthew Macovsky authored on 28 Jul 2020
Showing 1 changed file
View
platform/source/TARGET_CORTEX_M/TOOLCHAIN_IAR/except.S