We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mkimport
1 parent 581a8b9 commit 1cf2644Copy full SHA for 1cf2644
1 file changed
winsup/cygwin/scripts/mkimport
@@ -68,14 +68,13 @@ $glob_sym:
68
jmp *$imp_sym(%rip)
69
EOF
70
} elsif ($is_aarch64) {
71
- # TODO
72
print $as_fd <<EOF;
73
.text
74
.extern $imp_sym
75
.global $glob_sym
76
$glob_sym:
77
- adr x16, $imp_sym
78
- ldr x16, [x16]
+ adrp x16, :got:$imp_sym
+ ldr x16, [x16, :got_lo12:$imp_sym]
79
br x16
80
81
} else {
0 commit comments