Subject: binutils & kernel compile
To: None <port-powerpc@NetBSD.ORG>
From: Kazuki Sakamoto <sakamoto@cec.co.jp>
List: port-powerpc
Date: 12/11/1997 14:35:15
Hi,
The NetBSD/bebox kernel made by binutils-2.8.1 can't boot.
Of course, it made by binutils-2.7 can boot.
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