[PATCH v4 0/1] Add bigobj support to AArch64 COFF

Evgeny Karpov evgeny@kmaps.co
Fri Nov 7 12:25:34 GMT 2025


Hello,

Thank you for reviewing v3.
v4 contains the minimal changes.

Changes in v4 2025-11-07:
- Add Signed-off-by.
- Replace aarch64_pe_big_le_vec with aarch64_pe_bigobj_le_vec and
similar naming.
- Resolve line wrapping caused by the mailer.

Changes in v3 2025-10-27:
- Fix rebase ussue after adding merge_sections
https://sourceware.org/pipermail/binutils/2025-October/145162.html

Changes in v2 2025-10-02:
- Replace aarch64_pe_big_vec with aarch64_pe_big_le_vec.
- Replace pe-aarch64-bigobj with pe-bigobj-aarch64-little.
- Change use_big_obj to a bool.
- Add -mbig-obj to the documentation.
- Revert change in big-obj.d. The file format change is no longer needed.
https://sourceware.org/pipermail/binutils/2025-October/144605.html

v1 2025-09-24:
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.
https://sourceware.org/pipermail/binutils/2025-September/144459.html

Regards,
Evgeny

Evgeny Karpov (1):
  Add bigobj support to AArch64 COFF

 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(-)

-- 
2.39.5 (Apple Git-154)


More information about the Binutils mailing list