lld 20.0.0git Release Notes¶
Warning
These are in-progress notes for the upcoming LLVM 20.0.0git release. Release notes for previous releases can be found on the Download Page.
Introduction¶
This document contains the release notes for the lld linker, release 20.0.0git. Here we describe the status of lld, including major improvements from the previous release. All lld releases may be downloaded from the LLVM releases web site.
Non-comprehensive list of changes in this release¶
ELF Improvements¶
-z nosectionheader
has been implemented to omit the section header table. The operation is similar tollvm-objcopy --strip-sections
. (#101286)Section
CLASS
linker script syntax binds input sections to named classes, which are referenced later one or more times. This provides access to the automatic spilling mechanism of –enable-non-contiguous-regions without globally changing the semantics of section matching. It also independently increases the expressive power of linker scripts. (#95323)
Breaking changes¶
COFF Improvements¶
/includeglob
has been implemented to match the behavior of--undefined-glob
available for ELF.
MinGW Improvements¶
--undefined-glob
is now supported by translating into the/includeglob
flag.