Skip to content

Commit 2b65a6f

Browse files
authored
fix:Fixed compilation error for libcpu/cortex-m4. (#10756)
1 parent 11156de commit 2b65a6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libcpu/arm/cortex-m4/context_iar.S

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@ _get_sp_done
239239

240240
#if defined ( __ARMVFP__ )
241241
TST lr, #0x10 ; if(!EXC_RETURN[4])
242-
BNE skip_push_fpu
242+
BNE skip_push_fpu_hd
243243
VSTMDB r0!, {d8 - d15} ; push FPU register s16~s31
244-
skip_push_fpu
244+
skip_push_fpu_hd
245245
#endif
246246

247247
STMFD r0!, {r4 - r11} ; push r4 - r11 register
@@ -250,9 +250,9 @@ skip_push_fpu
250250
MOV r4, #0x00 ; flag = 0
251251

252252
TST lr, #0x10 ; if(!EXC_RETURN[4])
253-
BNE push_flag
253+
BNE push_flag_hd
254254
MOV r4, #0x01 ; flag = 1
255-
push_flag
255+
push_flag_hd
256256
SUB r0, r0, #0x04
257257
STR r4, [r0] ; push flag
258258
#endif

0 commit comments

Comments
 (0)