Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/m32r')
-rw-r--r--libgloss/m32r/crt0.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgloss/m32r/crt0.S b/libgloss/m32r/crt0.S
index f60a1a603..7c22f5afd 100644
--- a/libgloss/m32r/crt0.S
+++ b/libgloss/m32r/crt0.S
@@ -3,7 +3,8 @@
.global _start
_start:
- ld24 sp, _stack
+ seth sp, #shigh(_stack)
+ add3 sp, sp, #low(_stack)
ldi fp, #0
# Clear the BSS. Do it in two parts for efficiency: longwords first