소스 검색

xtensa: Fix spill routine.

The spill routine to flush all windowed registers was missing a 'mov' 
instruction. 

Signed-off-by: Chris Zankel <chris@zankel.net>
Chris Zankel 16 년 전
부모
커밋
0a22640581
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      libc/sysdeps/linux/xtensa/windowspill.S

+ 1 - 0
libc/sysdeps/linux/xtensa/windowspill.S

@@ -42,6 +42,7 @@ __window_spill:
 	mov	a8, a0
 	retw
 #else
+	mov	a12, a0
 	_entry	a1, 48			// touch NUM_REGS-36 (x/x/28)
 	mov	a12, a0
 	_entry	a1, 48			// touch NUM_REGS-48 (x/x/16)