Skip to content

Commit

Permalink
xpar-aarch64: try leading underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
kspalaiologos committed Oct 15, 2024
1 parent 6ca197b commit eb62d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpar-aarch64.S
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#if defined(__APPLE__)
; aarch64 MacOS
.extern sysctlbyname
.extern _sysctlbyname
.globl _crc32c_aarch64_cpuflags
_crc32c_aarch64_cpuflags:
sub sp, sp, #32
Expand All @@ -32,7 +32,7 @@ _crc32c_aarch64_cpuflags:
mov x4, xzr
stur wzr, [x29, #-4]
str x8, [sp]
bl sysctlbyname
bl _sysctlbyname
ldur w8, [x29, #-4]
cmp w0, #0
ccmp w8, #0, #4, eq
Expand Down

0 comments on commit eb62d95

Please sign in to comment.