Hello

I would like to use -fstack-protector in mips.
But  mips stack protector seems not to be supported.

I think that the macro FRAME_GROWS_DOWNWARD should be defined for stack
protector working. And mips does'nt define this macro.

To define this macro, the addresses of local variable slots are at
negative offsets from the frame pointer. (This info is from gccint.pdf)

Although mips cpu seems to meet this requirement, just defining this
macro doesn't makes "stack-protector" work certainly on mips.
(This definition makes lots of testsuite fail on mips...)

Could you tell me why it doesn't work well around FRAME_GROWS_DOWNWARD
on mips ?

Thank you.
 ---
Yoriko Komatsuzaki (yor...@sm.sony.co.jp)

Reply via email to