Skip to content

rts/linker: Only mprotect GOT after it is filled

Ben Gamari requested to merge wip/T16779 into master

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 (closed).

Merge request reports