[PATCH v2 1/1] [PATCH] Add bigobj support to AArch64 COFF

Jan Beulich jbeulich@suse.com
Fri Oct 10 06:06:08 GMT 2025


On 02.10.2025 11:14, 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>
> ---
>  bfd/coff-aarch64.c      | 75 +++++++++++++++++++++++++++++++++++++++++
>  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, 122 insertions(+), 3 deletions(-)

Okay from my side, but also wants an Arm64 maintainer's okay.

Jan


More information about the Binutils mailing list