Skip to content

Commit 24e3c76

Browse files
committed
ppc64: use bl instruction for branching to exit
when I originally wrote this, we used `b exit@GOT`, but this is unnecessary because we can simply do `bl exit` instead. fixes #71
1 parent b7be8ca commit 24e3c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/ppc64/startcontext.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ FUNC(libucontext_trampoline)
2828
li 3,-1
2929

3030
no_linked_context:
31-
b exit@GOT
31+
bl exit
3232
nop
3333
END(libucontext_trampoline)

0 commit comments

Comments
 (0)