[libunwind] Fix executable stack directive on Linux.
authorManoj Gupta <manojgupta@google.com>
Tue, 16 May 2017 20:18:57 +0000 (20:18 +0000)
committerManoj Gupta <manojgupta@google.com>
Tue, 16 May 2017 20:18:57 +0000 (20:18 +0000)
commit2cbfd2506ab8aa8574324dbfac50e5bfcc31484c
tree07980fd0dadffe38eba73fbef8c636da043d84f7
parent3bef27cc6f42c01f56cf0b6876b7cf0d3c10ba6d
[libunwind] Fix executable stack directive on Linux.

Summary:
Disable executable stack on Linux. Also remove redundant Android check
as it is covered by Android.

Reviewers: phosek, compnerd, rs, rmaprath, EricWF, krytarowski

Reviewed By: krytarowski

Subscribers: srhines, llvm-commits, krytarowski

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

llvm-svn: 303206
libunwind/src/assembly.h