1=======================
2lld 8.0.0 Release Notes
3=======================
4
5.. contents::
6    :local:
7
8.. warning::
9   These are in-progress notes for the upcoming LLVM 8.0.0 release.
10   Release notes for previous releases can be found on
11   `the Download Page <https://releases.llvm.org/download.html>`_.
12
13Introduction
14============
15
16This document contains the release notes for the lld linker, release 8.0.0.
17Here we describe the status of lld, including major improvements
18from the previous release. All lld releases may be downloaded
19from the `LLVM releases web site <https://llvm.org/releases/>`_.
20
21Non-comprehensive list of changes in this release
22=================================================
23
24ELF Improvements
25----------------
26
27* lld now supports RISC-V. (`r339364
28  <https://reviews.llvm.org/rL339364>`_)
29
30* Default image base address has changed from 65536 to 2 MiB for i386
31  and 4 MiB for AArch64 to make lld-generated executables work better
32  with automatic superpage promotion. FreeBSD can promote contiguous
33  non-superpages to a superpage if they are aligned to the superpage
34  size. (`r342746 <https://reviews.llvm.org/rL342746>`_)
35
36* lld/Hexagon can now link Linux kernel and musl libc for Qualcomm
37  Hexagon ISA.
38
39* The following flags have been added: ``-z interpose``, ``-z global``
40
41COFF Improvements
42-----------------
43
44* PDB GUID is set to hash of PDB contents instead to a random byte
45  sequence for build reproducibility.
46
47* The following flags have been added: ``/force:multiple``
48
49* lld now can link against import libraries produced by GNU tools.
50
51* lld can create thunks for ARM, to allow linking images over 16 MB.
52
53MinGW Improvements
54------------------
55
56* lld can now automatically import data variables from DLLs without the
57  use of the dllimport attribute.
58
59* lld can now use existing normal MinGW sysroots with import libraries and
60  CRT startup object files for GNU binutils. lld can handle most object
61  files produced by GCC, and thus works as a drop-in replacement for
62  ld.bfd in such environments.
63
64MachO Improvements
65------------------
66
67* Item 1.
68