https://github.com/Il-Capitano updated https://github.com/llvm/llvm-project/pull/134802
From c48168df95781b8fe5d6f72c9bdcbe1ad6a94fe5 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 e671183522565..2ca9b0e4b0ae1 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -190,6 +190,9 @@ Modified Compiler Flags - The compiler flag `-fbracket-depth` default value is increased from 256 to 2048. (#GH94728) +- 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 e3a97bca7622846ad1b55829c8242dc91fa55ee7 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 2ca9b0e4b0ae1..17e18eae9e36b 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -190,8 +190,7 @@ Modified Compiler Flags - The compiler flag `-fbracket-depth` default value is increased from 256 to 2048. (#GH94728) -- 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 ------------------------- @@ -474,6 +473,9 @@ X86 Support Arm and AArch64 Support ^^^^^^^^^^^^^^^^^^^^^^^ +- 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