[Top] [All Lists]

Re: loadaddr

To: Ralf Baechle <>
Subject: Re: loadaddr
From: Scott A McConnell <>
Date: Tue, 10 Apr 2001 15:49:40 -0700
References: <> <>
Ralf Baechle wrote:

> On Tue, Apr 10, 2001 at 09:42:02AM -0700, Scott A McConnell wrote:
> > What am I doing that is causing the  leading ffffffff in the addresses?
> Everything right :-)
> 32-bit addresses on MIPS get sign extended into 64-bit addresses.  Binutils
> had related bugs; I assume you switched binutils versions between the
> two builds?

OK, I wasn't sure so I asked. Yes, I changed the tools.

I have been able to build a 2.4.2 kernel but I can't make it run.

I have also steped up to the latest kernel in cvs. Having a bit more trouble
with that:

mipsel-linux-gcc -I /opt/mips/linux-2.4.3/include/asm/gcc -D__KERNEL__
-I/opt/mips/linux-2.4.3/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer  -G 0 -mno-abicalls -fno-pic -mcpu=r5000 -mips2
-Wa,--trap -pipe    -c -o vgacon.o vgacon.c
{standard input}: Assembler messages:
{standard input}:1978: Error: expression too complex
{standard input}:1978: Fatal error: internal Error, line 1823,
make[3]: *** [vgacon.o] Error 1
make[3]: Leaving directory `/opt/mips/linux-2.4.3/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/opt/mips/linux-2.4.3/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/opt/mips/linux-2.4.3/drivers'
make: *** [_dir_drivers] Error 2

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