Skip to content

Commit f68fa5f

Browse files
authored
builtin.closure: improve ppc64le closure if PIE (#26172)
1 parent 7c6dba3 commit f68fa5f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎vlib/builtin/closure/closure.c.v‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ pub const closure_thunk = $if amd64 {
8282
0xf8, 0xbf, 0xce, 0x39, // addi %r14, %r14, -16392
8383
0x00, 0x00, 0xce, 0xc9, // lfd %f14, 0(%r14)
8484
0x08, 0x00, 0xce, 0xe9, // ld %r14, 8(%r14)
85+
0x78, 0x73, 0xcc, 0x7d, // mr %r12, %r14
8586
0xa6, 0x03, 0x08, 0x7c, // mtlr %r0
8687
0xa6, 0x03, 0xc9, 0x7d, // mtctr %r14
8788
0x20, 0x04, 0x80, 0x4e, // bctr

0 commit comments

Comments
 (0)