aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/alpha/elf
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/elf')
-rw-r--r--sysdeps/alpha/elf/start.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/alpha/elf/start.S b/sysdeps/alpha/elf/start.S
index c6d7587..3c2bc59 100644
--- a/sysdeps/alpha/elf/start.S
+++ b/sysdeps/alpha/elf/start.S
@@ -44,10 +44,11 @@
.ent _start, 0
.type _start,@function
_start:
- .frame $31, 0, $31
+ .frame $15, 0, $15
br gp, 1f
1: ldgp gp, 0(gp)
subq sp, 16, sp
+ mov 0, $15
.prologue 0
/* Load address of the user's main function. */