Skip to content

Commit a86fc76

Browse files
committed
Fix wrong movem register list
Regression introduced in commit 38ded95. Spotted by Miro Kropáček.
1 parent 2e1fa5a commit a86fc76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mintlib/libc_exit.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ C_SYMBOL_NAME(__libc_exit):
2222
link %a6,#0
2323
#ifdef __mcoldfire__
2424
lea %sp@(-12),%sp
25-
moveml %d5/%a4/%a5,%sp@
25+
moveml %d2-%d3/%a2,%sp@
2626
#else
27-
moveml %d5/%a4/%a5,%sp@-
27+
moveml %d2-%d3/%a2,%sp@-
2828
#endif
2929
#ifndef __MSHORT__
3030
movel %a6@(8),%d3

0 commit comments

Comments
 (0)