Skip to content

mold 0.9.6

Compare
Choose a tag to compare
@rui314 rui314 released this 27 Sep 11:37

mold 0.9.6 is a maintenance release of the mold linker. This release contains only a single change to fix the following issue:

  • mold used to create dynamic relocations for imported symbols when creating a position-dependent executable. That worked fine in an environment in which position-independent code (PIC) is enabled by default such as recent versions of most Linux distros. However, it failed with the "recompile with -fPIC" error if PIC was disabled and a dynamic relocation was created in a read-only section. mold 0.9.6 fixed the issue by creating copy relocations and PLTs for such symbols. (#116)