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 Fri, Jan 09, 2015 at 02:03:02PM -0800, Matt Thomas wrote:
> 
> I just committed a change to ofwboot which should solve the problem.

Yep that worked for me:

0 > boot enet:,ofwboot.xcf file: 10.0.0.1,ofwboot.xcfloading XCOFF              
tsize=E6C0 dsize=258 bsize=2750 entry=E00000                                    
SECTIONS:                                                                       
.eh_fram 00000074 00000074 000020C8 0000014C                                    
.text    00E00000 00E00000 0000E6C0 00002220                                    
.data    00E0F000 00E0F000 00000258 000108E0                                    
.bss     00E0F258 00E0F258 00002750 00000000                                    
.gnu.att 00000000 00000000 00000010 00010B38                                    
.ident   00000000 00000000 00000076 00010B48                                    
loading .text, done..                                                           
loading .data, done..                                                           
clearing .bss, done..                                                           
                                                                                
>> NetBSD/macppc OpenFirmware Boot, Revision 1.12 (Fri Jan  9 18:57:15 EST 2015)
file: 10.0.0.1,ofwboot.xcfUsing IP address: 10.0.0.2                            
root addr=10.0.0.1 path=/export/client/root                                     
3271396+121744 [193840+187872]=0x399e2c                                         
 start=0x100000                                                                 
mem region 0 start=0 size=10000000                                              
avail region 0 start=0x9000 size=0xdf7000                                       
avail region 1 start=0xe12000 size=0xee000                                      
avail region 2 start=0x1000000 size=0xf000000                                   
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,       
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015                  
    The NetBSD Foundation, Inc.  All rights reserved.                           
[snipped]


ofwboot.xcf objdump:
00e0087c <_rtt>:
  e0087c:	94 21 ff f0 	stwu    r1,-16(r1)
  e00880:	7c 08 02 a6 	mflr    r0
  e00884:	90 01 00 14 	stw     r0,20(r1)
  e00888:	4b ff f8 95 	bl      e0011c <OF_exit>

00e0088c <main>:
  e0088c:	94 21 fc 90 	stwu    r1,-880(r1)
  e00890:	7c 08 02 a6 	mflr    r0
  e00894:	3c 60 00 e1 	lis     r3,225
  e00898:	38 63 e0 a5 	addi    r3,r3,-8027
  e0089c:	90 01 03 74 	stw     r0,884(r1)
  e008a0:	be 81 03 40 	stmw    r20,832(r1)
  e008a4:	48 00 87 85 	bl      e09028 <printf>
[snipped]

Thanks!



Home | Main Index | Thread Index | Old Index