M

mold

M
mold Dev Tools v2.41.0

mold 2.41.0

mold 2.41.0 is a new release of the high-speed linker. It includes the following new features and bug fixes. New Features A new --zero-to-bss option has been added. When given, mold scans input data sections and converts all-zero sections into BSS (SHT_NOBITS), reducing output file size. This is especially useful for user-defined sections created with __attribute__((section(...))) containing unini…

M
mold Dev Tools v2.40.4

mold 2.40.4

mold 2.40.4 is a maintenance release of the high-speed linker. Bug Fixes and Compatibility Improvements We had upgraded the bundled mimalloc memory allocator library to version 3.3.3 in the mold 2.40.3 release, but it turned out that this version of mimalloc was not stable enough. We have rolled it back, so mold is now shipped with mimalloc 2.2.2. (754949f) [PPC64V1] R_PPC64_GOT16 relocation is no…

M
mold Dev Tools v2.40.3

mold 2.40.3

mold 2.40.3 is a maintenance release of the high-speed linker. Bug Fixes and Compatibility Improvements Starting from 2.40.1, mold wrote not a single but multiple concatenated zlib-compressed streams to debug sections if --compress-debug-sections=zlib was given. Although most tools can read such concatenated compressed data, some tools, such as LLVM's dwarfdump or Go's debug/elf package, couldn't…

M
mold Dev Tools v2.40.2

mold 2.40.2

mold 2.40.2 is a maintenance release of the high-speed linker. Bug Fixes and Compatibility Improvements Fixed an issue where mold failed with a "too many open files" error when linking a very large program with LTO using Clang. (1956ae6) [RISC-V] Fixed an issue in which mold failed to report a relocation overflow error. (52c698d) [ARM64] mold can now create range extension thunks with displacement…

M
mold Dev Tools v2.40.1

mold 2.40.1

mold 2.40.1 is a maintenance release of the high-speed linker. Although there are no new features in this release, it includes a few performance improvements as below. Performance improvements We've eliminated unnecessary memory zero-initialization for the --compress-debug-sections option to make debug section compression faster. With this change, mold sometimes runs faster with --compress-debug-s…

M
mold Dev Tools v2.40.0

mold 2.40.0

mold 2.40.0 is a new release of the high-speed linker. It includes the following new features and bug fixes. New Features mold now lays out DWARF32 debug info before DWARF64 in output debug sections to mitigate relocation overflow issues with DWARF32 when a debug info section exceeds 4 GiB. This should help people who are building extremely large executables in debug mode. (19a1bc6, 159ce3b) Here…

M
mold Dev Tools v2.39.1

mold 2.39.1

mold 2.39.1 is a maintenance release of the high-speed linker. It includes the following bug fix: Fixed a potential use-after-free issue that occurred when doing LTO (link-time optimization) with LLVM. (d0dffd5)

M
mold Dev Tools v2.39.0

mold 2.39.0

mold 2.39.0 is a new release of the high-speed linker. It includes the following new features and bug fixes. New Features [ARM32] Support for 32-bit big-endian ARM has been added. Although running ARM32 in big-endian mode is very rare, the processor does technically support both little- and big-endian modes, and we now support both. There are two variants of big-endian mode for ARM32: BE32 and BE8…

M
mold Dev Tools v2.38.1

mold 2.38.1

mold 2.38.1 is a maintenance release of the high-speed linker. It includes the following bug fix: Fixed a bug where mold could fail with a spurious mutually-recursive .so detected error message when building an executable. This happened if there was a circular dependency between shared libraries given to the linker (i.e., libfoo.so depends on libbar.so and vice versa). Even though libraries with c…

M
mold Dev Tools v2.38.0

mold 2.38.0

mold 2.38.0 is a new release of the high-speed linker. It includes the following new features and bug fixes. New Features The --audit and --depaudit options are now supported for compatibility with GNU ld. (af396ad) Recent versions of LLVM support an alternative, experimental relocation table format called CREL. mold can now read object files containing CREL relocation tables. (c43a859) [ARM32][AR…