File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1313 * http://www.boost.org/LICENSE_1_0.txt)
1414 * /
1515
16- #if (__linux__ || __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__) && __ELF__
16+ #if __ELF__
1717/ *
1818 * Mark the resulting object file as not requiring execution permissions on
1919 * stack memory. The absence of this section would mark the whole resulting
Original file line number Diff line number Diff line change 66 * Authors: Denis Feklushkin
77 */
88
9- #if (__linux__ || __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__) && __ELF__
9+ #if __ELF__
1010/*
1111 * Mark the resulting object file as not requiring execution permissions on
1212 * stack memory. The absence of this section would mark the whole resulting
Original file line number Diff line number Diff line change 66 * License: <a href= "http://www.boost.org/LICENSE_1_0.txt" >Boost License 1 . 0 </a>.
77 * /
88
9+ #if __ELF__
910/ *
1011 * Mark the resulting object file as not requiring execution
1112 * permissions on stack memory. The absence of this section would mark
1213 * the whole resulting library as requiring an executable stack ,
1314 * making it impossible to dynamically load druntime on several
1415 * platforms where this is forbidden due to security policies.
1516 * /
16-
17- #if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
1817. section .note.GNU - stack , "" , %progbits
1918.previous
2019#endif
You can’t perform that action at this time.
0 commit comments