lld 10.0.0 Release Notes

Warning

These are in-progress notes for the upcoming LLVM 10.0.0 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 10.0.0. 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

  • Glob pattern, which you can use in linker scripts or version scripts, now supports ` and `[!…]. Except character classes (e.g. [[:digit:]]), lld’s glob pattern should be fully compatible with GNU now. (r375051)
  • New elf32btsmipn32_fbsd and elf32ltsmipn32_fbsd emulations are supported.
  • Relax MIPS jalr``and ``jr instructions marked by the R_MIPS_JALR relocation.
  • Reduced size of linked MIPS binaries.

WebAssembly Improvements

  • __data_end and __heap_base are no longer exported by default, as it’s best to keep them internal when possible. They can be explicitly exported with –export=__data_end and –export=__heap_base, respectively.