Skip to content

mold 2.1.0

Compare
Choose a tag to compare
@rui314 rui314 released this 13 Aug 05:10
· 521 commits to main since this release

mold 2.1.0 is a new release of the high-speed linker.

New features

  • Loongson's LoongArch CPU has been supported. (03b1a1c)
  • -z nosectionheader has been added to eliminate section headers from the output file. (084ca55)

Bug fixes and compatibility improvements

  • Previously, linking with the -z pack-relative-relocs option produces an executable that glibc 2.38 refuses to run with DT_RELR without GLIBC_ABI_DT_RELR dependency error. Now, mold produces binaries compatible with glibc 2.38. (f467ad1)
  • [ARM64] R_AARCH64_ADR_PREL_PG_HI21_NC relocation type has been supported. (17a5c3e)
  • [ARM64] R_AARCH64_MOVW_UABS_G3 relocation type has now been handled as a PLT-generating relocation to fix an issue when main is not defined in the main executable but rather in a .so file. (e764557)
  • [RISC-V] We now merge input .riscv.attributes contents. Previously, we just concatenated them. (aa64491)

Acknowledgements

mold is an open-source project, and we accept donations via GitHub Sponsors and OpenCollective. We thank everyone 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: