[llvm-commits] [llvm] r50634 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/AsmPrinter.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86Subtarget.cpp lib/Target/X86/X86Subtarget.h lib/Target/X86/X86TargetAsmInfo.cpp test/CodeGen/X86/xor_not.ll

Duncan Sands baldrick at free.fr
Mon May 5 09:06:35 PDT 2008


> >> Add AsmPrinter support for emitting a directive to declare that
> >> the code being generated does not require an executable stack.
> >
> > presumably you found a linux distribution that needs this.
> > I'm curious to know which one (ubuntu doesn't).
> 
> Those using Exec-Shield or similar security measures do. Under
> some, executables or libraries without this still run, but
> without the benefit of a non-executable stack.

Thanks for doing this - it was always clear that the
executability of the stack was going to be an issue
for someone someday (gcc has some hooks for dealing
with this), but since none of the machines I have access
to have problems with it I didn't try to tackle this when
I added trampoline support.

Ciao,

Duncan.



More information about the llvm-commits mailing list