Skip to content

mold 1.11.0

Compare
Choose a tag to compare
@rui314 rui314 released this 16 Mar 08:58
· 1077 commits to main since this release

mold 1.11.0 is a new release of the high-speed linker. This is not a big release but includes general improvements and bug fixes.

New features

  • IBM Power10 has been supported. Previously, mold created broken executables for that target. (5065547)
  • --hash-style=none has been added to cancel --hash-style=sysv, --hash-style=gnu or --hash-style=both. (ec75633)
  • [ARM32] R_ARM_PLT32 relocation type has been supported. (e505900)
  • [RISC-V] R_RISCV_PLT32 relocation type has been supported. (51845ac)

Bug fixes and compatibility improvements

  • Previous versions of mold failed to link some programs in rare corner cases if Link-Time Optimization (LTO) is enabled. These bugs have been fixed. (e1a7590, 62d6537)
  • mold used to ignore dependencies between DSOs. Since this version, if a required DSO depends on other as-needed DSO, mold keeps the latter DSO as a required one. This improves compatibility with GNU linkers. (1adde7a)
  • [x86-64] mold can now link object files generated by old buggy versions of GCC. (d2970e0)
  • [x86-64] Previously, a program with a very large .bss section may fail to link due to R_X86_64_REX_GOTPCRELX relocation overflow (#975). This bug has been fixed. (627bf7c)

Acknowledgements

mold is an open-source project, and we accept donations via GitHub Sponsors and OpenCollective. We thank you to everybody who sponsors our project. In particular, we'd like to acknowledge the following organizations and people who have sponsored $32/mo or more during this release cycle: