about summary refs log tree commit diff
path: root/sysdeps/m68k/elf/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k/elf/start.S')
-rw-r--r--sysdeps/m68k/elf/start.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/m68k/elf/start.S b/sysdeps/m68k/elf/start.S
index c1a5c2e48f..eefe75286e 100644
--- a/sysdeps/m68k/elf/start.S
+++ b/sysdeps/m68k/elf/start.S
@@ -50,6 +50,10 @@ _start:
 	move.l %sp, %a0		/* The argument vector starts just at the
 				   current stack top.  */
 
+	/* Provide the highest stack address to the user code (for stacks
+	   which grow downward).  */
+	pea (%sp)
+
 	pea (%a1)		/* Push address of the shared library
 				   termination function.  */