Re: [Redhat-private-dev] Executable stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 05, 2005 at 12:14:52PM +0000, Mike Hearn wrote:
> On Fri, 04 Mar 2005 17:10:50 -0800, Roland McGrath wrote:
> > Once you've located the object files in question and found their sources,
> > there are two common cases that are producing this.  One is assembly code
> > (usually .s or .S files); bare assembly files get no marker, and no marker
> > defaults to meaning marked executable.  In the assembly code, just add:
> > 
> > 	.section .note.GNU-stack
> > 	.previous
> 
> This is what you have to do for inline assembly as well, yes?

No.  For inline assembly, the compiler assumes they don't need executable
stack, unless told otherwise.

	Jakub


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux