On Wed, 1 Jun 2022, LIU Hao wrote:
在 2022-06-01 16:18, Martin Storsjö 写道:
This matches what was done in 9718ecee1b95297b789b75a0be51bfd5905bcdcd
for crt/crtexe.c. The .seh_handlerdata directive forces writing the
.xdata entry immediately. On aarch64, the length of the function gets
fixed at that point, and if the .seh_handlerdata directive is emitted
too soon, it won't cover the function region where it's supposed to
catch unwinds.
Signed-off-by: Martin Storsjö <[email protected]>
---
mingw-w64-libraries/winpthreads/src/thread.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
LGTM. Thanks.
Pushed, thanks.
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public