[llvm-branch-commits] [lld] ReleaseNotes: lld/ELF: mention CREL (PR #101905)
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Aug 5 01:26:19 PDT 2024
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/101905
>From 283443371b8c2e40750e56d86c05f711a89d786c Mon Sep 17 00:00:00 2001
From: Fangrui Song <i at maskray.me>
Date: Sun, 4 Aug 2024 13:48:22 -0700
Subject: [PATCH] ReleaseNotes: lld/ELF: mention CREL
---
lld/docs/ReleaseNotes.rst | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst
index 09081e421e905..98fddcd7bf7f2 100644
--- a/lld/docs/ReleaseNotes.rst
+++ b/lld/docs/ReleaseNotes.rst
@@ -26,6 +26,12 @@ Non-comprehensive list of changes in this release
ELF Improvements
----------------
+* Experimental CREL relocations with explicit addends are now supported using the
+ temporary section type code 0x40000020 (``clang -c -Wa,--crel,--allow-experimental-crel``).
+ LLVM will change the code and break compatibility (Clang and lld of different
+ versions are not guaranteed to cooperate, unlike other features). CREL with
+ implicit addends are not supported.
+ (`#98115 <https://github.com/llvm/llvm-project/pull/98115>`_)
* ``EI_OSABI`` in the output is now inferred from input object files.
(`#97144 <https://github.com/llvm/llvm-project/pull/97144>`_)
* ``--compress-sections <section-glib>={none,zlib,zstd}[:level]`` is added to compress
@@ -88,7 +94,7 @@ ELF Improvements
(`#94099 <https://github.com/llvm/llvm-project/pull/94099>`_)
Non-alloc orphan sections are now placed at the end.
(`#94519 <https://github.com/llvm/llvm-project/pull/94519>`_)
-* R_X86_64_REX_GOTPCRELX of the addq form is no longer incorrectly optimized when the address is larger than 0x80000000.
+* ``R_X86_64_REX_GOTPCRELX`` of the addq form is no longer incorrectly optimized when the address is larger than 0x80000000.
Breaking changes
----------------
More information about the llvm-branch-commits
mailing list