<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 05/16/2014 10:33 AM, Reid Kleckner
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACs=tyLHUzdXF+gRyp_iOSHCg3VgfZw4px=U6yKng=RwzWniVA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Fri, May 16, 2014 at 5:21 AM,
            Joerg Sonnenberger <span dir="ltr"><<a
                moz-do-not-send="true"
                href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div class="">On Thu, May 15, 2014 at 11:22:46PM -0400,
                Kangkook Jee wrote:<br>
                > Hi all,<br>
                ><br>
                > I’m trying to find Clang's option equivalent to GNU
                binutil’s “-z execstack or<br>
                > -z noexecstack”  which is to toggle NX bit of
                output binary.  For instance,<br>
                > something similar to the following.<br>
                <br>
              </div>
              -Wl,-z,execstack as you should be using for GCC as well.<br>
            </blockquote>
            <div><br>
            </div>
            <div>Should Clang recognize -z as a linker flag?  I've also
              tripped on this before. <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    I'm not necessarily a fan of bug per bug compatibility with GCC
    here, but recognizing these cases and emitting a "did you mean X?"
    warning might be helpful.  I've also been bitten by this recently. 
    <br>
    <br>
    Philip<br>
  </body>
</html>