Browse Source

* fixed bug, due to a typo in the previous commit

git-svn-id: trunk@41654 -
nickysn 6 years ago
parent
commit
692a3fe3e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/openbsd/x86_64/prt0.as

+ 1 - 1
rtl/openbsd/x86_64/prt0.as

@@ -92,7 +92,7 @@ ___start:
 	movzbl	(%rax), %eax
 	testb	%al, %al
 	je	.L9
-	leaq	__progname_storage+255(%rbp), %rax
+	leaq	__progname_storage+255(%rip), %rax
 	cmpq	%rax, -16(%rbp)
 	jb	.L8
 .L9: