Skip to content

Commit 2834433

Browse files
MaskRaytru
authored andcommitted
ReleaseNotes: lld/ELF: mention CREL
1 parent 2193e4f commit 2834433

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lld/docs/ReleaseNotes.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ Non-comprehensive list of changes in this release
2626
ELF Improvements
2727
----------------
2828

29+
* Experimental CREL relocations with explicit addends are now supported using the
30+
temporary section type code 0x40000020 (``clang -c -Wa,--crel,--allow-experimental-crel``).
31+
LLVM will change the code and break compatibility (Clang and lld of different
32+
versions are not guaranteed to cooperate, unlike other features). CREL with
33+
implicit addends are not supported.
34+
(`#98115 <https://github.com/llvm/llvm-project/pull/98115>`_)
2935
* ``EI_OSABI`` in the output is now inferred from input object files.
3036
(`#97144 <https://github.com/llvm/llvm-project/pull/97144>`_)
3137
* ``--compress-sections <section-glib>={none,zlib,zstd}[:level]`` is added to compress
@@ -88,7 +94,7 @@ ELF Improvements
8894
(`#94099 <https://github.com/llvm/llvm-project/pull/94099>`_)
8995
Non-alloc orphan sections are now placed at the end.
9096
(`#94519 <https://github.com/llvm/llvm-project/pull/94519>`_)
91-
* R_X86_64_REX_GOTPCRELX of the addq form is no longer incorrectly optimized when the address is larger than 0x80000000.
97+
* ``R_X86_64_REX_GOTPCRELX`` of the addq form is no longer incorrectly optimized when the address is larger than 0x80000000.
9298

9399
Breaking changes
94100
----------------

0 commit comments

Comments
 (0)