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: SSP support for gcc on mips?


basile <basile@opensource.dyc.edu> writes:

> I'm working with gcc-4.3.4  uclibc-0.9.30.1-r1 on a mips system. 
> (32-bit big endian abi=o32).
>
> I'd like to get ssp, but -fstack-protector leads to
>
> foo.c:1: warning: -fstack-protector not supported for this target
>
> I traced it back and there simply isn't any ssp support in gcc for
> mips.  Ironically uclibc does have __stack_chk_fail.
>
> Can anyone shed light on this?  What's the status of ssp on mips?

-fstack-protector should work for MIPS targets in the upcoming gcc 4.5
release.  In current releases it does not work.  Sorry.

Ian


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