Skip to content

linker: only keep rtl exception tables if they have been relocated

Tamar Christina requested to merge Phyx/ghc:wip/fix-linker-unload-gh21354 into master

Move where we save the exception sections so that when we get to free we know it must have been valid.

Also decided on rw or rx mapping based on the oc's attribute rather than kind. previously we'd make the exception tables RW accidentally.

Fixes #21354 (closed)

Merge request reports