commit | 9718ecee1b95297b789b75a0be51bfd5905bcdcd | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Thu Aug 20 11:36:13 2020 +0300 |
committer | Martin Storsjö <martin@martin.st> | Mon Sep 14 11:20:36 2020 +0300 |
tree | 2d53514be1abd87876b6143528894405d2b57142 | |
parent | aac28d62cbbcc8d0056e2c77b4459e9c55a5f276 [diff] |
crt: Move .seh_handlerdata to the end of functions On aarch64, the length of the enclosing function is part of the .xdata entry (contrary to x86_64, where there's an EndAddress pointer in the .pdata), and the .seh_handlerdata directive forces the assembler to output the main .xdata entry right there. This means that if this is done early in the function, the .xdata entry ends up with a too short function length. Signed-off-by: Martin Storsjö <martin@martin.st>