[PATCH] D56554: [ELF] Add '-z nognustack' opt to suppress emitting PT_GNU_STACK

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 26 13:29:03 PST 2019


mgorny added a comment.

In D56554#1369606 <https://reviews.llvm.org/D56554#1369606>, @mgorny wrote:

> In D56554#1369592 <https://reviews.llvm.org/D56554#1369592>, @ruiu wrote:
>
> > No, I'm suggesting you add execstack, noexecstack and nognustack as a tri-state -z flag. Does this sound good?
>
>
> Do you mean that of those three options, the last one specified should take precedence?


(and, if yes, could you suggest how to implement it? `getZOption()` doesn't seem suitable.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56554/new/

https://reviews.llvm.org/D56554





More information about the cfe-commits mailing list