linux-mips-fnet
[Top] [All Lists]

Re: Globals not getting initialized

To: "Bradley D. LaRonde" <brad@ltc.com>
Subject: Re: Globals not getting initialized
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Thu, 22 Jul 1999 02:49:37 +0200
Cc: linuxce-devel@linuxce.org, linux-mips@fnet.fr
In-reply-to: <023001bed3d5$48dd25a0$b1119526@tecra.ltc.com>; from Bradley D. LaRonde on Wed, Jul 21, 1999 at 08:01:01PM -0400
References: <023001bed3d5$48dd25a0$b1119526@tecra.ltc.com>
On Wed, Jul 21, 1999 at 08:01:01PM -0400, Bradley D. LaRonde wrote:

> It's funny, because they do get initialized properly when I link with the
> NetBSD (stand.ldscript) linker script, but not when I link with the
> Linux-MIPS linker script (ld.script.little).  It appears that something in
> ld.script.llittle is throwing the bootloader (pbsdboot) off.

Maybe you're accidently loading only the first ELF segment or so?

(I'm not shure if an ELF kernel binary usually has multiple segments but
it's a theory worth to be verified.)

  Ralf

<Prev in Thread] Current Thread [Next in Thread>