[llvm] [MC] Explicitly request executable stacks (PR #93478)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 23:43:01 PDT 2024


MaskRay wrote:

If flang's feature requires an executable stack.
I strongly encourage that you revisit the design.
A can of security mechanisms would frown upon execstack.
musl intentionally does not support executable stacks (thread stacks).

> We currently disable explicit stacks by default. But when we do need them, we instead rely on the default of them being enabled. This is not true for all the architectures. In special for RISC-V where executable stacks are disabled by default.

execstack would become more and more difficult to enable... https://www.redhat.com/en/blog/linkers-warnings-about-executable-stacks-and-segments


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


More information about the llvm-commits mailing list