[lld] [LLD][Docs] Add release notes for execute-only support on AArch64 (PR #134804)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 01:09:55 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lld

Author: Csanád Hajdú (Il-Capitano)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/134804.diff


1 Files Affected:

- (modified) lld/docs/ReleaseNotes.rst (+11) 


``````````diff
diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst
index 36028514cba27..87466e49cb8d5 100644
--- a/lld/docs/ReleaseNotes.rst
+++ b/lld/docs/ReleaseNotes.rst
@@ -47,6 +47,17 @@ ELF Improvements
   default value is ``--no-xosegment``.
   (`#132412 <https://github.com/llvm/llvm-project/pull/132412>`_)
 
+* For AArch64, added support for the ``SHF_AARCH64_PURECODE`` section flag,
+  which indicates that the section only contains program code and no data.
+  An output section will only have this flag set if all input sections also
+  have it set. (`#125689 <https://github.com/llvm/llvm-project/pull/125689>`_,
+  `#134798 <https://github.com/llvm/llvm-project/pull/134798>`_)
+
+* For AArch64 and ARM, added ``-zexecute-only-report``, which checks for
+  missing ``SHF_AARCH64_PURECODE`` and ``SHF_ARM_PURECODE`` section flags
+  on executable sections.
+  (`#128883 <https://github.com/llvm/llvm-project/pull/128883>`_)
+
 Breaking changes
 ----------------
 * Executable-only and readable-executable sections are now allowed to be placed

``````````

</details>


https://github.com/llvm/llvm-project/pull/134804


More information about the llvm-commits mailing list