summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/elf/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc32/elf/start.S')
-rw-r--r--sysdeps/sparc/sparc32/elf/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/sparc/sparc32/elf/start.S b/sysdeps/sparc/sparc32/elf/start.S
index 8e01b30fc7..24715e68be 100644
--- a/sysdeps/sparc/sparc32/elf/start.S
+++ b/sysdeps/sparc/sparc32/elf/start.S
@@ -54,7 +54,7 @@ _start:
      argument info starts after one register window (16 words) past the SP.  */
 	ld	[%sp+22*4], %o0
 	add	%sp, 23*4, %o1
-	sll	%o0, 4, %o2
+	sll	%o0, 2, %o2
 	add	%o2, %o1, %o2
 	sethi	%hi(__environ), %g2
 	add	%o2, 4, %o2