This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Verification that taking address of a nested function always requires executable stack


Ian Lance Taylor wrote:

> If you expect to distribute your binaries to computers which you do
> not control, and which may be configured to disallow an executable
> stack, then you should indeed avoid using nested functions, or at
> least avoid taking their address.

Well, our primary distribution is via source, but requiring people who
are going to build from source to deal with this is something we'd
rather avoid. Thanks for the rapid and detailed answer.

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]