SPARC Options Contents|Index|Previous|Next
 

SPARC options  

The following -m switches are supported on the SPARC. The following -m switches are supported in addition to the previous switches on SPARCLET processor.
    -mlittle-endian
      Generate code for a processor running in little-endian mode.
       
    -mlive-g0
      Treat register %g0 as a normal register. GCC will continue to clobber it as necessary but will not assume it always reads as 0.
       
    -mbroken-saverestore
      Generate code that does not use non-trivial forms of the save and restore instructions. Early versions of the SPARCLET processor do not correctly handle save and restore instructions used with arguments. They correctly handle them used without arguments. A save instruction used without arguments increments the current window pointer but does not allocate a new stack frame. It is assumed that the window overflow trap handler will properly handle this case as will interrupt handlers.
     
The following -m switches are supported in addition to the previous switches on SPARC V9 processors in 64-bit environments.
 
© 2004 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Contact Red Hat