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 withDT_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:
- GlareDB
- Cybozu, Inc.
- Signal Slot Inc.
- Mercury
- Jinkyu Yi
- G-Research-OSS
- Sanjeev
- a_p_u_r_o
- Emerge Tools
- Brett Slatkin
- Dougall Johnson
- Santiago Pastorino
- daquexian
- CubeSoft, Inc.
- Bryant Biggs
- Luke Kasz
- Marko Mikulicic
- Iain H
- nasa
- Robey Pointer
- Junho Choi
- Markus Schirp
- Sebastian Dröge
- Martin Liška
- Masahiro Aoki
- Brian Gesiak
- Jonatan Klemets
- Ernesto Cambuston
- vadorovsky
- Takaki Ueno
- Yusuke Ito
- Adam Gutglick
- Florian Plattner
- Christoph Gross
- yossyX
- Dario Nieuwenhuis
- Guillaume Racicot
- Josh Triplett
- Tetsuo Kiso
- Shane Sveller
- Michael McLoughlin
- DragonflyDB
- Michael Sproul
- Brian Gianforcaro
- Kentaro Tanaka
- Shinichiro Hamaji
- strager
- JoJo
- Zhihao Yuan
- Yutaro Ohno
- Jonathan Goodman
- Wataru Sekiguchi
- José M Rico
- Vladimir Miloserdov
- kazu-42
- Foxie Solutions