Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Cherry-pick upstream commit for noexecstack #23

Merged
merged 1 commit into from
Jul 3, 2016
Merged

Cherry-pick upstream commit for noexecstack #23

merged 1 commit into from
Jul 3, 2016

Conversation

apasel422
Copy link

These routines do not require executable stacks.  However, by default ELFish
linkers may assume an executable stack on GNUish environments (and some non-GNU
ones too!).  The GNU extension to add a note to indicate a non-executable stack
is honoured by these environments to mark the stack as non-executable (the
compiler normally emits this directive on appropriate targets whenever
possible).  This allows normal builds from getting executable stacks due to
linking to the compiler rt builtins.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@273500 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 4c71a47)
@alexcrichton alexcrichton merged commit e62450f into rust-lang:rust-2016-06-16 Jul 3, 2016
@apasel422 apasel422 deleted the rust-2016-06-16 branch July 6, 2016 01:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants