Port-macppc archive

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

Re: ofwboot.xcf and gcc 4.8 and ppc 601



> On Dec 23, 2014, at 8:12 AM, scole_mail <scole_mail%gmx.com@localhost> wrote:
> 
> Hi,
> 
> ofwboot.xcf stopped working with my powermac 7200/ppc 601 after the
> upgrade to gcc 4.8.  Everything else seems to work as before as far as
> I can tell.  I'm still able boot with the same ofwboot.xcf compiled
> with gcc 4.5.
> 
> I believe I'm getting a program exception at line 148 in
> /src/sys/arch/macppc/stand/ofwboot/Locore.c
> 
> "6:	b	startup		\n"
> 
> which is just a branch call.  I also had to change line 144
> from
> 	"	stw	%r0,0(%r8)	\n"
> to
> 	"	stb	%r0,0(%r8)	\n"
> 	"	stb	%r0,1(%r8)	\n"
> 	"	stb	%r0,2(%r8)	\n"
> 	"	stb	%r0,3(%r8)	\n"
> 
> otherwise I got alignment exceptions.

I fixed the alignment exception.  

Can you rebuild and if it still dies, put the ofwboot.mrg
someplace I can get it?  along with the output of .registers?


Home | Main Index | Thread Index | Old Index