[PATCH v6 1/4] Adjust pdata function table entries sorting for AArch64

Jan Beulich jbeulich@suse.com
Fri Mar 13 14:59:49 GMT 2026


On 11.03.2026 15:11, Evgeny Karpov wrote:
> The .pdata section contains an array of function table entries that
> are used for exception handling. The entries should be sorted by
> begin address, which is usually the first 4 bytes RVA in the entry.
> Entry sizes are different for x64 and AArch64.
> This difference is addressed in this patch.
> 
> This is the first patch in the patch series implementing
> Structured Exception Handling (SEH) for aarch64-w64-mingw32.
> 
> Co-authored-by: Zac Walker <zacwalker@microsoft.com>
> Co-authored-by: Ron Riddle <ron.riddle@microsoft.com>
> Signed-off-by: Evgeny Karpov <evgeny@kmaps.co>
> 
> bfd/ChangeLog:
> 
> 	* peXXigen.c (defined): Use function_table_entry_size.
> ---
>  bfd/peXXigen.c | 16 ++++++++++++++--
>  1 file changed, 14 insertions(+), 2 deletions(-)

This was given an okay before. If it needs committing on your behalf,
because of you not having write access, please indicate so.

Jan


More information about the Binutils mailing list