diff options
Diffstat (limited to 'docs/ReleaseNotes.rst')
-rw-r--r-- | docs/ReleaseNotes.rst | 63 |
1 files changed, 28 insertions, 35 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index dc5df6795d993..76207fec11acb 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -1,19 +1,19 @@ ======================= -lld 8.0.0 Release Notes +lld 9.0.0 Release Notes ======================= .. contents:: :local: .. warning:: - These are in-progress notes for the upcoming LLVM 8.0.0 release. + These are in-progress notes for the upcoming LLVM 9.0.0 release. Release notes for previous releases can be found on `the Download Page <https://releases.llvm.org/download.html>`_. Introduction ============ -This document contains the release notes for the lld linker, release 8.0.0. +This document contains the release notes for the lld linker, release 9.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 <https://llvm.org/releases/>`_. @@ -24,47 +24,43 @@ Non-comprehensive list of changes in this release ELF Improvements ---------------- -* lld now supports RISC-V. (`r339364 - <https://reviews.llvm.org/rL339364>`_) +* ld.lld now has typo suggestions for flags: + ``$ ld.lld --call-shared`` now prints + ``unknown argument '--call-shared', did you mean '--call_shared'``. -* Default image base address has changed from 65536 to 2 MiB for i386 - and 4 MiB for AArch64 to make lld-generated executables work better - with automatic superpage promotion. FreeBSD can promote contiguous - non-superpages to a superpage if they are aligned to the superpage - size. (`r342746 <https://reviews.llvm.org/rL342746>`_) +* ... -* lld/Hexagon can now link Linux kernel and musl libc for Qualcomm - Hexagon ISA. +COFF Improvements +----------------- -* Initial MSP430 ISA support has landed. +* Like the ELF driver, lld-link now has typo suggestions for flags. -* The following flags have been added: ``-z interpose``, ``-z global`` +* lld-link now correctly reports duplicate symbol errors for obj files + that were compiled with /Gy. -COFF Improvements ------------------ +* lld-link now correctly reports duplicate symbol errors when several res + input files define resources with the same type, name, and language. + This can be demoted to a warning using ``/force:multipleres``. + +* Having more than two ``/natvis:`` now works correctly; it used to not + work for larger binaries before. -* PDB GUID is set to hash of PDB contents instead to a random byte - sequence for build reproducibility. +* Undefined symbols are now printed only in demangled form. Pass + ``/demangle:no`` to see raw symbol names instead. -* The following flags have been added: ``/force:multiple`` +* The following flags have been added: ``/functionpadmin``, ``/swaprun:``, + ``/threads:no`` -* lld now can link against import libraries produced by GNU tools. +* Several speed and memory usage improvements. -* lld can create thunks for ARM, to allow linking images over 16 MB. +* ... MinGW Improvements ------------------ -* lld can now automatically import data variables from DLLs without the - use of the dllimport attribute. - -* lld can now use existing normal MinGW sysroots with import libraries and - CRT startup object files for GNU binutils. lld can handle most object - files produced by GCC, and thus works as a drop-in replacement for - ld.bfd in such environments. (There are known issues with linking crtend.o - from GCC in setups with DWARF exceptions though, where object files are - linked in a different order than with GNU ld, inserting a DWARF exception - table terminator too early.) +* lld now correctly links crtend.o as the last object file, handling + terminators for the sections such as .eh_frame properly, fixing + DWARF exception handling with libgcc and gcc's crtend.o. MachO Improvements ------------------ @@ -74,7 +70,4 @@ MachO Improvements WebAssembly Improvements ------------------------ -* Add initial support for creating shared libraries (-shared). - Note: The shared library format is still under active development and may - undergo significant changes in future versions. - See: https://github.com/WebAssembly/tool-conventions/blob/master/DynamicLinking.md +* ... |