SSP support for gcc on mips?
Ian Lance Taylor
iant@google.com
Fri Jan 29 15:17:00 GMT 2010
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
More information about the Gcc-help
mailing list