rts/linker: Only mprotect GOT after it is filled
This fixes a regression, introduced by 67c422ca, where we mprotect'd the global offset table (GOT) region to PROT_READ before we had finished filling it, resulting in a linker crash. Fixes #16779.
Name | Stage | Failure | ||
---|---|---|---|---|
failed
|
validate-aarch64-linux-deb9 | Full Build | ||
|
||||
failed
|
validate-x86_64-windows | Full Build | ||
|
||||
failed
|
release-x86_64-linux-deb9-dwarf | Build | ||
|