[PATCH v2 0/7] Structured Exception Handling (SEH) implementation for aarch64-w64-mingw32

Evgeny Karpov Evgeny.Karpov@microsoft.com
Fri May 9 10:43:44 GMT 2025


Hello,

Thank you for reviewing v1!
v2 addresses all comments made on v1.

Changes in v2:
- Add guards for different architectures
- Fix code style issues and typos
- Move Arm64-specific code to pdata/xdata functions
- Prefer unsigned int over uint32_t in some places
- Revert memory release to the original implementation
- Refactor long function fragmentation
- Fix the function size calculation issue related to code alignment

Regards,
Evgeny


Evgeny Karpov (7):
  Adjust pdata function table entries sorting for AArch64
  Define unwinding and SEH data structures for aarch64
  Adjust x64 SEH implementation for AArch64
  Add aarch64-specific SEH commands
  Write SEH records to pdata/xdata
  Apply SEH to AArch64
  Fix the calculation of the function length

 bfd/peXXigen.c            |  11 +-
 gas/config/obj-coff-seh.c | 706 ++++++++++++++++++++++++++++++++++++--
 gas/config/obj-coff-seh.h | 197 ++++++++++-
 gas/config/tc-aarch64.h   |   8 +-
 4 files changed, 889 insertions(+), 33 deletions(-)

-- 
2.25.1



More information about the Binutils mailing list