[PATCH v4 1/1] Add bigobj support to AArch64 COFF
Jan Beulich
jbeulich@suse.com
Fri Nov 7 13:24:30 GMT 2025
On 07.11.2025 13:48, Evgeny Karpov wrote:
> During Boost library testing on aarch64-w64-mingw32, it appeared that 2^16
> sections are not enough. It can be handled by using the bigobj format to extend
> the total amount of sections to 2^32. This patch adds bigobj support to
> AArch64 COFF in a similar way to how it is done for x86_64.
>
> Co-authored-by: Martin Vejbora <mvejbora@microsoft.com>
> Signed-off-by: Evgeny Karpov <evgeny@kmaps.co>
> ---
> bfd/coff-aarch64.c | 76 +++++++++++++++++++++++++++++++++++++++++
> bfd/config.bfd | 2 +-
> bfd/configure | 1 +
> bfd/configure.ac | 1 +
> bfd/cpu-aarch64.c | 2 +-
> bfd/pe-aarch64.c | 3 ++
> bfd/targets.c | 2 ++
> gas/config/tc-aarch64.c | 22 +++++++++++-
> gas/doc/c-aarch64.texi | 5 +++
> ld/pe-dll.c | 12 +++++++
> 10 files changed, 123 insertions(+), 3 deletions(-)
Okay for the generic code touched, but as said for v3 - will want an Arm64 approval
as well.
Jan
More information about the Binutils
mailing list