1=========================== 2lld |release| Release Notes 3=========================== 4 5.. contents:: 6 :local: 7 8.. only:: PreRelease 9 10 .. warning:: 11 These are in-progress notes for the upcoming LLVM |release| release. 12 Release notes for previous releases can be found on 13 `the Download Page <https://releases.llvm.org/download.html>`_. 14 15Introduction 16============ 17 18This document contains the release notes for the lld linker, release |release|. 19Here we describe the status of lld, including major improvements 20from the previous release. All lld releases may be downloaded 21from the `LLVM releases web site <https://llvm.org/releases/>`_. 22 23Non-comprehensive list of changes in this release 24================================================= 25 26ELF Improvements 27---------------- 28 29* ``-z pack-relative-relocs`` is now available to support ``DT_RELR`` for glibc 2.36+. 30 (`D120701 <https://reviews.llvm.org/D120701>`_) 31 32Breaking changes 33---------------- 34 35* The GNU ld incompatible ``--no-define-common`` has been removed. 36* The obscure ``-dc``/``-dp`` options have been removed. 37* ``-d`` is now ignored. 38* If a prevailing COMDAT group defines STB_WEAK symbol, having a STB_GLOBAL symbol in a non-prevailing group is now rejected with a diagnostic. 39 (`D120626 <https://reviews.llvm.org/D120626>`_) 40 41COFF Improvements 42----------------- 43 44* Added autodetection of MSVC toolchain, a la clang-cl. Also added /winsysroot 45 support for explicit specification of MSVC toolchain location. 46 (`D118070 <https://reviews.llvm.org/D118070>`_) 47* ... 48 49MinGW Improvements 50------------------ 51 52* ... 53 54MachO Improvements 55------------------ 56 57* Item 1. 58 59WebAssembly Improvements 60------------------------ 61 62