ld: Fix remapping of FDEs with multiple CFIs #343

Merged
sb10q merged 1 commits from fix/ld-remap-multiple-cie into master 2024-08-17 17:37:20 +08:00

1 Commits

Author SHA1 Message Date
David Mak e49b760e34 ld: Support multiple CFIs with different encoding in .eh_frame
We now parse each CFI to read its encoding as opposed to assuming that
all CFIs within the same EH_Frame uses the same encoding. FDEs are now
iterated in a per-CFI manner.
2023-10-20 18:15:03 +08:00