Allowed range for Page21 relocation is -2^32 <= X < 2^32 in both ELF and MachO.
ELF for the ARM ® 64-bit Architecture (AArch64) Table 4-9 (ELF)
Differential D126387
[JITLink][AARCH64] Fix overflow range of Page21 sunho on May 25 2022, 8:26 AM. Authored by
Details Allowed range for Page21 relocation is -2^32 <= X < 2^32 in both ELF and MachO. ELF for the ARM ® 64-bit Architecture (AArch64) Table 4-9 (ELF)
Diff Detail
Unit Tests Event TimelineComment Actions In ELF there's "no overflow check" relocations entries. (for page21, it's R_AARCH64_ ADR_PREL_PG_HI21_NC) Something to be considered later. |