Port-powerpc archive

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

Re: binutils & kernel compile



On Thu, 11 Dec 1997 14:35:15 +0900 (JST) 
 sakamoto%cec.co.jp@localhost (Kazuki Sakamoto) wrote:

 > The NetBSD/bebox kernel made by binutils-2.8.1 can't boot.
 > Of course, it made by binutils-2.7 can boot.

I noticed this, too... Interesting to note, I _could_ boot some of the
2.8.1 kernels in PSIM if I linked them w/ certain flags (please don't
ask me to remember them :-)

I send mail to Ian Taylor about the problem at the time I noticed it,
but I didn't get an answer.

I'd be delighted if you could fix this, because then I could start hacking
on my FirePower again (I don't have time to find toolchain bugs :-)

 > 
 > I examined where there is a difference.
 > The address where it was linked deviated to 4bytes,
 > and "_GLOBAL_OFFSET_TABLE_" was added.
 > 
 > made by binutils-2.7
 >  000dd814 D dumpdev
 >  000dd818 D mountroot
 >  000dd82c A _edata
 >  000dd82c S callout
 >  000dd830 S bufpages
 > 
 > made by binutils-2.8.1
 >  000dd810 D dumpdev
 >  000dd814 D mountroot
 >  000dd81c ? _GLOBAL_OFFSET_TABLE_
 >  000dd828 A _edata
 >  000dd828 S callout
 >  000dd82c S bufpages
 > 
 > 
 > Is there a problem in source code?
 > Is there a problem in binutils-2.8.1/gas?
 > 
 > Kazuki Sakamoto
 > sakamoto%cec.co.jp@localhost

Jason R. Thorpe                                       
thorpej%nas.nasa.gov@localhost
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939



Home | Main Index | Thread Index | Old Index