https://github.com/Il-Capitano updated 
https://github.com/llvm/llvm-project/pull/134802

From f41bcb085ac07ed5a05c1246a13048896e63d54c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Csan=C3=A1d=20Hajd=C3=BA?= <csanad.ha...@arm.com>
Date: Tue, 8 Apr 2025 09:47:46 +0200
Subject: [PATCH 1/2] [Clang][Docs] Add release note for execute-only support
 on AArch64

---
 clang/docs/ReleaseNotes.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 0ea8498351c24..c99033fae4d39 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -219,6 +219,9 @@ Modified Compiler Flags
 
 - `-Wpadded` option implemented for the `x86_64-windows-msvc` target. Fixes 
#61702
 
+- The ``-mexecute-only`` and ``-mpure-code`` flags are now accepted for 
AArch64 targets,
+  allowing the generation of binaries with executable-only code sections. 
(#GH125688)
+
 Removed Compiler Flags
 -------------------------
 

From 87fec09c9fbff9637979465c0286ba2a56866995 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Csan=C3=A1d=20Hajd=C3=BA?= <csanad.ha...@arm.com>
Date: Tue, 8 Apr 2025 11:54:30 +0200
Subject: [PATCH 2/2] Add note in "Arm and AArch64 support" section too

---
 clang/docs/ReleaseNotes.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index c99033fae4d39..0a46bbea96f6c 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -219,8 +219,7 @@ Modified Compiler Flags
 
 - `-Wpadded` option implemented for the `x86_64-windows-msvc` target. Fixes 
#61702
 
-- The ``-mexecute-only`` and ``-mpure-code`` flags are now accepted for 
AArch64 targets,
-  allowing the generation of binaries with executable-only code sections. 
(#GH125688)
+- The ``-mexecute-only`` and ``-mpure-code`` flags are now accepted for 
AArch64 targets. (#GH125688)
 
 Removed Compiler Flags
 -------------------------
@@ -572,6 +571,9 @@ Arm and AArch64 Support
 
 -  Support for __ptrauth type qualifier has been added.
 
+- For AArch64, added support for generating executable-only code sections by 
using the
+  ``-mexecute-only`` or ``-mpure-code`` compiler flags. (#GH125688)
+
 Android Support
 ^^^^^^^^^^^^^^^
 

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to