Author: Fangrui Song Date: 2023-01-30T14:08:59-08:00 New Revision: 16a5dd495d0252f4c23c798dce4f75229da3d9d7
URL: https://github.com/llvm/llvm-project/commit/16a5dd495d0252f4c23c798dce4f75229da3d9d7 DIFF: https://github.com/llvm/llvm-project/commit/16a5dd495d0252f4c23c798dce4f75229da3d9d7.diff LOG: ReleaseNotes: add lld/ELF notes Added: Modified: lld/docs/ReleaseNotes.rst Removed: ################################################################################ diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst index 00aaeff96d78e..a450923cded97 100644 --- a/lld/docs/ReleaseNotes.rst +++ b/lld/docs/ReleaseNotes.rst @@ -26,6 +26,10 @@ Non-comprehensive list of changes in this release ELF Improvements ---------------- +* Link speed improved greatly compared with lld 15.0. Notably input section + initialization and relocation scanning are now parallel. + (`D130810 <https://reviews.llvm.org/D130810>`_) + (`D133003 <https://reviews.llvm.org/D133003>`_) * ``ELFCOMPRESS_ZSTD`` compressed input sections are now supported. (`D129406 <https://reviews.llvm.org/D129406>`_) * ``--compress-debug-sections=zstd`` is now available to compress debug @@ -36,12 +40,25 @@ ELF Improvements * ``DT_RISCV_VARIANT_CC`` is now produced if at least one ``R_RISCV_JUMP_SLOT`` relocation references a symbol with the ``STO_RISCV_VARIANT_CC`` bit. (`D107951 <https://reviews.llvm.org/D107951>`_) +* ``DT_STATIC_TLS`` is now set for AArch64/PPC32/PPC64 initial-exec TLS models + when producing a shared object. * ``--no-undefined-version`` is now the default; symbols named in version scripts that have no matching symbol in the output will be reported. Use ``--undefined-version`` to revert to the old behavior. + (`D135402 <https://reviews.llvm.org/D135402>`_) +* ``-V`` is now an alias for ``-v`` to support ``gcc -fuse-ld=lld -v`` on many targets. +* ``-r`` no longer defines ``__global_pointer$`` or ``_TLS_MODULE_BASE_``. +* A corner case of mixed GCC and Clang object files (``STB_WEAK`` and + ``STB_GNU_UNIQUE`` in diff erent COMDATs) is now supported. + (`D136381 <https://reviews.llvm.org/D136381>`_) * The output ``SHT_RISCV_ATTRIBUTES`` section now merges all input components instead of picking the first input component. (`D138550 <https://reviews.llvm.org/D138550>`_) +* For x86-32, ``-fno-plt`` GD/LD TLS models ``call *___tls_get_addr@GOT(%reg)`` + are now supported. Previous output might have runtime crash. +* Armv4(T) thunks are now supported. + (`D139888 <https://reviews.llvm.org/D139888>`_) + (`D141272 <https://reviews.llvm.org/D141272>`_) Breaking changes ---------------- _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits