Fix executable stack directive on Linux.
authorManoj Gupta <manojgupta@google.com>
Mon, 15 May 2017 23:13:54 +0000 (23:13 +0000)
committerManoj Gupta <manojgupta@google.com>
Mon, 15 May 2017 23:13:54 +0000 (23:13 +0000)
commit2361a394b690d3e69a1bcdafcd850d2f8d2e04a1
treeb8854e47da1dc042162b2de2b13f938de2be4987
parentebbc7159e9b2bee125e819b8da3452fb6b3d5b53
Fix executable stack directive on Linux.

Summary: Use __linux__  to check for Linux and bring back the check for __GNU__.

Reviewers: echristo, krytarowski, compnerd, rengolin

Reviewed By: krytarowski

Subscribers: phosek, llvm-commits, srhines

Differential Revision: https://reviews.llvm.org/D33219

llvm-svn: 303131
compiler-rt/lib/builtins/assembly.h