@@ -637,16 +637,17 @@ extern enum cmodel sparc_cmodel;
On non-v9 systems:
g1 is free to use as temporary.
- g2-g4 are reserved for applications. Gcc normally uses them as
+ g2-g4 are reserved for applications. GCC normally uses them as
temporaries, but this can be disabled via the -mno-app-regs option.
- g5 through g7 are reserved for the operating system.
+ g5 and g6 are reserved for the operating system.
+ g7 is used for thread-local storage (TLS) in the initial exec TLS model.
On v9 systems:
g1,g5 are free to use as temporaries, and are free to use between calls
if the call is to an external function via the PLT.
g4 is free to use as a temporary in the non-embedded case.
g4 is reserved in the embedded case.
- g2-g3 are reserved for applications. Gcc normally uses them as
+ g2-g3 are reserved for applications. GCC normally uses them as
temporaries, but this can be disabled via the -mno-app-regs option.
g6-g7 are reserved for the operating system (or application in
embedded case).