Subject: re: CVS commit: basesrc/lib/libc/arch/sparc64
To: None <eeh@netbsd.org, mrg@eterna.com.au>
From: None <eeh@netbsd.org>
List: source-changes
Date: 05/07/2002 13:47:15
|    Date:		Tue May  7 01:32:47 UTC 2002
|    
|    Modified Files:
|    	basesrc/lib/libc/arch/sparc64: SYS.h
|    
|    Log Message:
|    Go back from using %g2 (an application register) to %g7 (a system register)
|    for syscall returns.
|
|
| while i haven't compiled or testing anything with this change, i have some
| questions and issues:
|
| 	- any flag day associated with thie change?  one assumes not but
| 	i've found i can't assume you and i think the same anymore :-)

Shouldn't be.

| 	- i am fairly sure you no longer require the .register directive
| 	for %g7 that %g2 does:
|
| ! 	.register	%g2,#scratch
| --  
| ! 	.register	%g7,#scratch
|
|
| this line should just go away.

Actually you do need that to correctly follow the ELF spec.

Eduardo