Skip to content

Commit 16a5dd4

Browse files
committed
ReleaseNotes: add lld/ELF notes
1 parent 124f90b commit 16a5dd4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

lld/docs/ReleaseNotes.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Non-comprehensive list of changes in this release
2626
ELF Improvements
2727
----------------
2828

29+
* Link speed improved greatly compared with lld 15.0. Notably input section
30+
initialization and relocation scanning are now parallel.
31+
(`D130810 <https://reviews.llvm.org/D130810>`_)
32+
(`D133003 <https://reviews.llvm.org/D133003>`_)
2933
* ``ELFCOMPRESS_ZSTD`` compressed input sections are now supported.
3034
(`D129406 <https://reviews.llvm.org/D129406>`_)
3135
* ``--compress-debug-sections=zstd`` is now available to compress debug
@@ -36,12 +40,25 @@ ELF Improvements
3640
* ``DT_RISCV_VARIANT_CC`` is now produced if at least one ``R_RISCV_JUMP_SLOT``
3741
relocation references a symbol with the ``STO_RISCV_VARIANT_CC`` bit.
3842
(`D107951 <https://reviews.llvm.org/D107951>`_)
43+
* ``DT_STATIC_TLS`` is now set for AArch64/PPC32/PPC64 initial-exec TLS models
44+
when producing a shared object.
3945
* ``--no-undefined-version`` is now the default; symbols named in version
4046
scripts that have no matching symbol in the output will be reported. Use
4147
``--undefined-version`` to revert to the old behavior.
48+
(`D135402 <https://reviews.llvm.org/D135402>`_)
49+
* ``-V`` is now an alias for ``-v`` to support ``gcc -fuse-ld=lld -v`` on many targets.
50+
* ``-r`` no longer defines ``__global_pointer$`` or ``_TLS_MODULE_BASE_``.
51+
* A corner case of mixed GCC and Clang object files (``STB_WEAK`` and
52+
``STB_GNU_UNIQUE`` in different COMDATs) is now supported.
53+
(`D136381 <https://reviews.llvm.org/D136381>`_)
4254
* The output ``SHT_RISCV_ATTRIBUTES`` section now merges all input components
4355
instead of picking the first input component.
4456
(`D138550 <https://reviews.llvm.org/D138550>`_)
57+
* For x86-32, ``-fno-plt`` GD/LD TLS models ``call *___tls_get_addr@GOT(%reg)``
58+
are now supported. Previous output might have runtime crash.
59+
* Armv4(T) thunks are now supported.
60+
(`D139888 <https://reviews.llvm.org/D139888>`_)
61+
(`D141272 <https://reviews.llvm.org/D141272>`_)
4562

4663
Breaking changes
4764
----------------

0 commit comments

Comments
 (0)