Skip to content

[Clang][Docs] Add release note for execute-only support on AArch64 #134802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

Il-Capitano
Copy link
Contributor

No description provided.

@llvmbot llvmbot added the clang Clang issues not falling into any other category label Apr 8, 2025
@llvmbot
Copy link
Member

llvmbot commented Apr 8, 2025

@llvm/pr-subscribers-backend-aarch64

@llvm/pr-subscribers-clang

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

Changes

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

1 Files Affected:

  • (modified) clang/docs/ReleaseNotes.rst (+3)
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
 -------------------------
 

Copy link
Collaborator

@davemgreen davemgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a Arm and AArch64 Support section too, is it worth adding a note there either instead or as well? It could maybe just be a note that points back to the Modified Compiler Flags section.

@Il-Capitano
Copy link
Contributor Author

There is a Arm and AArch64 Support section too, is it worth adding a note there either instead or as well? It could maybe just be a note that points back to the Modified Compiler Flags section.

Thanks, I didn't notice that section.

I simplified the note in "Modified Compiler Flags" and added one in "Arm and AArch64 Support".

Copy link
Collaborator

@davemgreen davemgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@Il-Capitano Il-Capitano force-pushed the execute-only-release-notes-clang branch from e3a97bc to 87fec09 Compare April 17, 2025 14:34
@Il-Capitano Il-Capitano merged commit 1467b3b into llvm:main Apr 17, 2025
10 checks passed
@Il-Capitano Il-Capitano deleted the execute-only-release-notes-clang branch April 22, 2025 10:58
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:AArch64 clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants