vf6: use c99 compatible asm syntax.

using __asm__ instead of asm allows compilation under both gnu89 (old
gcc defaults pre 5.x) and also c99 (gcc 5.x+ defaults)
This commit is contained in:
Karl Palsson 2017-04-24 21:43:38 +00:00
parent b860319785
commit f3df01f14e
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ static inline void pre_main(void)
* For Vybrid we need to set the stack pointer manually
* since the boot ROM has its own stack
*/
asm ( \
__asm__ ( \
"ldr sp,=_stack;" \
);