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

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 1 22:13:56 PDT 2019


MaskRay added a comment.

This patch makes sense to me. It can benefit other OS/environment as well.



================
Comment at: lld/ELF/Driver.cpp:357
+
+  // default
+  return GnuStackKind::NoExec;
----------------
This is obvious. The comment can be removed.


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

https://reviews.llvm.org/D56554





More information about the cfe-commits mailing list