-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISC-V] Add g_GCShadowEnd to JIT_WriteBarrier_Table
lla pseudo instruction which used for access to g_GCShadowEnd in JIT_WriteBarrier implemented via PC-relative addressing. But when W^X enabled, copy of JIT_WriteBarrier is being created and this PC-related addressing is not valid, which cause crash. This change moves address of g_GCShadowEnd to JIT_WriteBarrier_Table like others variables used in Write Barrier.
- Loading branch information
Alexander Soldatov
committed
Aug 4, 2023
1 parent
e07d1ee
commit 649b3f6
Showing
1 changed file
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters