-
goloader/mmap/mmap_darwin_arm64.go Line 50 in 9fbc78a |
Beta Was this translation helpful? Give feedback.
Answered by
eh-steve
May 17, 2023
Replies: 1 comment
-
Arm64v8 instructions don't use immediate 4 byte values next to the instructions like x86, instead the addresses/offsets are encoded as part of the 32-bit instruction so they generally have a maximum of 24 bits available for Branches (and 33-bits for ADRP+ADD relocs across 2 instructions) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
eh-steve
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Arm64v8 instructions don't use immediate 4 byte values next to the instructions like x86, instead the addresses/offsets are encoded as part of the 32-bit instruction so they generally have a maximum of 24 bits available for Branches (and 33-bits for ADRP+ADD relocs across 2 instructions)