Subject: Re: MIPS switched to new-toolchain
To: None <port-mips@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-mips
Date: 01/11/2002 00:08:33
In article <20020103222955.K9599@dr-evil.shagadelic.org>
thorpej@wasabisystems.com wrote:
> I have just switched the MIPS ports to the new GCC 2.95.3/Binutils 2.11.2
> toolchain.
:
> If you have any problems, please send a bug report with send-pr(1).
I've tried build.sh on my Express5800/230 (arc) and it works fine.
But then kernels linked by new ld cannot be loaded by ARC BIOS,
though kernels linked by old ld are working.
Acorrding to size(1) output, it seems new ld does not set
address of .mdebug and .indent sections. Is this a bug,
or should we change mips/conf/kern.ldscript for new-toolchain?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp
---
% size -Ax netbsd.old-ld
netbsd.old-ld :
section size addr
.text 0x1fef70 0x80200000
.rodata 0x4cfd0 0x803fef70
.reginfo 0x18 0x8044bf40
.data 0x9e80 0x8044bf60
.sdata 0x10 0x80455de0
.sbss 0x0 0x80455df0
.bss 0x29428 0x80455df0
.mdebug 0xd2ffc 0x8047f218
.ident 0x6192 0x805ce7ac
Total 0x35839e
% size -Ax netbsd.new-ld
netbsd.new-ld :
section size addr
.text 0x1fef70 0x80200000
.rodata 0x4cfd0 0x803fef70
.reginfo 0x18 0x8044bf40
.data 0x9e80 0x8044bf60
.sdata 0x10 0x80455de0
.sbss 0x0 0x80455df0
.bss 0x29428 0x80455df0
.mdebug 0xd2ffc 0x0
.ident 0x6192 0x0
Total 0x35839e
---