Hi Ian, Hi Diego,

> Diego Novillo wrote:
--help=other?

That works. :-)

Actually, there already is a qualifier which will select -fstack-protector, I had just forgotten about it:

  % gcc --help=common | grep stack
-Wstack-protector Warn when not issuing stack smashing protection
  -fdefer-pop                 Defer popping functions args from stack until
  -fomit-frame-pointer        When possible do not generate stack frames
  -fstack-check               Insert stack checking code into the program
  -fstack-limit               This switch lacks documentation
  -fstack-limit-register=<register> Trap if the stack goes past <register>
  -fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>
  -fstack-protector           Use propolice as a stack protection method
-fstack-protector-all Use a stack protection method for every function

Cheers
  Nick

Reply via email to