More info: EGCS-971016 on Solaris2.5/UltraSparc

John Carr jfc@tiac.net
Mon Oct 20 18:57:00 GMT 1997


>      -fns         Turn on the SPARC nonstandard floating-point mode (SPARC)
> 
> Does anyone know what this is?  I don't know if this is a trivial
> thing or a tricky one.

The crt1.o that comes with the Sun compiler checks a global symbol
__fsr_init_value and uses it to set %fsr.  The compiler sets the
symbol (in the .o file defining main?) when -fns is used.  It would be
easy to change gcc and its crt*.o to do the same.




More information about the Gcc mailing list