summaryrefslogtreecommitdiff
path: root/rt/start-openbsd.s
diff options
context:
space:
mode:
Diffstat (limited to 'rt/start-openbsd.s')
-rw-r--r--rt/start-openbsd.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/rt/start-openbsd.s b/rt/start-openbsd.s
index c1d3667..c278ab0 100644
--- a/rt/start-openbsd.s
+++ b/rt/start-openbsd.s
@@ -75,6 +75,7 @@ _start:
pushq %rsi
pushq %rdx
+ xorq %rbp,%rbp
/* call pre-main initializers */
call __init__
/* enter the main program */