Port-powerpc archive

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

Re: Bad powerpc code with GCC 4.5.3?



On Aug 11, 2011, at 8:36 PM, Frank Wille wrote:
> I doubt that it happens during loading, but it must be very early.
> 
> With macppc (PowerBook3,1) OFW immediately prints:
> 
> DEFAULT CATCH!, code=300 at    %SRR0: ff83c6c8   %SRR1: 00003030

I've just tested with PowerMac1,1 and here's what I got:

DEFAULT CATCH!, code=700 at    %SRR0: ff831434   %SRR1: 00083030

So probably you are right...

I've noticed that there's a big size difference between the old working (ofppc) 
ofwboot, and the new:
57252 ofwboot.good
53984 ofwboot.new
Is this due to better optimization done by the new gcc?

Also, now ofwboot has one new section added:
  [ 8] .gnu.attributes   LOOS+ffffff5    00000000 00cfb8 000014 00      0   0  1
That's probably unrelated, though.

--
Best regards,
Radoslaw Kujawa



Home | Main Index | Thread Index | Old Index