Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



Hello,

On Mon, 10 Nov 2014 08:00:03 -0800
Chuck Silvers <chuq%chuq.com@localhost> wrote:

> On Sun, Nov 09, 2014 at 08:34:38AM -0500, Michael wrote:
> > On Sun, 9 Nov 2014 00:05:06 +0000
> > "Chuck Silvers" <chs%netbsd.org@localhost> wrote:
> > 
> > > Module Name:	src
> > > Committed By:	chs
> > > Date:		Sun Nov  9 00:05:06 UTC 2014
> > > 
> > > Modified Files:
> > > 	src/sys/arch/macppc/macppc: locore.S
> > > 	src/sys/arch/ofppc/ofppc: locore.S
> > > 
> > > Log Message:
> > > in the initial asm code, save the interesting caller-saved registers
> > > (containing "arg" and "len") across function calls to C code.
> > > fixes kernels built with gcc 4.8.
> > 
> > I wonder if that helps with clang builds as well.
> 
> it very well could, clang might be using some of the same registers as the newer gcc.
> I haven't tried it though.

And a clang-built kernel boots just fine now, at least on my beige G3. Going to torture it for a bit now.

have fun
Michael


Home | Main Index | Thread Index | Old Index