path: root/rbutil/mktccboot/main.c
diff options
authorAidan MacDonald <>2023-03-23 18:16:15 +0000
committerAidan MacDonald <>2023-03-23 18:16:33 +0000
commit58b2e457824dc93916233627b98614409e5f258d (patch)
tree67c485a7881745574d66ae10889c2da331ba68c0 /rbutil/mktccboot/main.c
parent86429dbf1eca8ee0e08176997f508647c3abf6bd (diff)
Fix unified syntax in ARM inline assemblyHEADmaster
GCC 4.9 always emits assembly with divided syntax. Setting unified syntax in inline assembly causes the assembler to complain about GCC's generated code, because the directive extends past the scope of the inline asm. Fix this by setting divided mode at the end of the inline assembly block. The assembler directives are hidden behind macros because later versions of GCC won't need this workaround: they can be told to use the unified syntax with -masm-syntax-unified. Change-Id: Ic09e729e5bbb6fd44d08dac348daf6f55c75d7d8
Diffstat (limited to 'rbutil/mktccboot/main.c')
0 files changed, 0 insertions, 0 deletions