Skip to content

Commit f973e34

Browse files
authored
Update port.c
1 parent a863def commit f973e34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

portable/GCC/ARM_CM4F/port.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,8 @@ static void vPortEnableVFP( void )
707707
" \n"
708708
" orr r1, r1, #( 0xf << 20 ) \n" /* Enable CP10 and CP11 coprocessors, then save back. */
709709
" str r1, [r0] \n"
710-
" bx r14 "
710+
" bx r14 \n"
711+
" .ltorg \n" /* make sure the pool is placed here, so ldr doesn't generate a too long jump */
711712
);
712713
}
713714
/*-----------------------------------------------------------*/

0 commit comments

Comments
 (0)