[llvm-branch-commits] [lld] release/22.x: Add release notes for lld (PR #177088)
Peter Smith via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jan 21 07:21:29 PST 2026
================
@@ -29,42 +29,189 @@ Non-comprehensive list of changes in this release
ELF Improvements
----------------
-* ``--print-gc-sections=<file>`` prints garbage collection section listing to a file.
+* Added ``--print-gc-sections=<file>`` to redirect garbage collection section
+ listing to a file, avoiding contamination of stdout with other linker output.
(`#159706 <https://github.com/llvm/llvm-project/pull/159706>`_)
+* Added ``VersionNode`` lexer state for better version script parsing.
+ This brings the lexer behavior closer to GNU ld.
+ (`#174530 <https://github.com/llvm/llvm-project/pull/174530>`_)
+* ``-r``/``--emit-relocs``: Fixed a crash when processing relocation sections
+ that are placed before their relocated sections.
+ (`#156354 <https://github.com/llvm/llvm-project/pull/156354>`_)
+* Unversioned undefined symbols now use version index 0, aligning with
+ GNU ld 2.46 behavior.
+ (`#168189 <https://github.com/llvm/llvm-project/pull/168189>`_)
+* ``.data.rel.ro.hot`` and ``.data.rel.ro.unlikely`` are now recognized as
+ RELRO sections, allowing profile-guided static data partitioning.
+ (`#148920 <https://github.com/llvm/llvm-project/pull/148920>`_)
+* DTLTO now supports archive members and bitcode members of thin archives.
----------------
smithp35 wrote:
Looking through the commit log [DTLTO][Clang][LLD] Fix DTLTO for multi-call LLVM driver toolchain (#162456) introduces `--thinlto-remote-compiler-prepend-arg` which may be worth mentioning.
https://github.com/llvm/llvm-project/pull/177088
More information about the llvm-branch-commits
mailing list