|
|
Subscribe / Log in / New account

Mold (linker) 1.0 released

Mold (linker) 1.0 released

Posted Dec 16, 2021 12:47 UTC (Thu) by cesarb (subscriber, #6266)
In reply to: Mold (linker) 1.0 released by rillian
Parent article: Mold (linker) 1.0 released

> Linux has the advantage of being in C, and more modular.

Linux also heavily uses partial linking (ld -r), which allows a large part of the linking step to run incrementally and/or in parallel. That does not seem to be usual for other large C or C++ projects I've seen.


to post comments

Mold (linker) 1.0 released

Posted Dec 16, 2021 14:28 UTC (Thu) by Vipketsh (guest, #134480) [Link]

In my 5.12 kernel tree that seems to have been changed to use the more conventional method of archives.

Even with 'ld -r' the symbol lookup does not get eliminated during the final link which is, according to the documentation here, one of the slowest part of linking, so I doubt that using 'ld -r' has a meaningful impact on linking speed.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds