linux-mips
[Top] [All Lists]

Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely

To: kumba@gentoo.org
Subject: Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Mon, 26 Mar 2007 23:43:16 +0900 (JST)
Cc: linux-mips@linux-mips.org, ths@networkno.de, ralf@linux-mips.org
In-reply-to: <4607CF1D.50904@gentoo.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4606C063.1030802@gentoo.org> <20070326.193641.15269037.nemoto@toshiba-tops.co.jp> <4607CF1D.50904@gentoo.org>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 26 Mar 2007 09:48:13 -0400, Kumba <kumba@gentoo.org> wrote:
> # mips64-unknown-linux-gnu-ld --version
> GNU ld version 2.16.1
> 
> # mips64-unknown-linux-gnu-gcc --version
> mips64-unknown-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)
> 
> And the disassembly of vmlinux.32 for the handle_int function is attached.

Thanks.  Is this a disassembly of _failed_ kernel?

If so, it looks KBUILD_64BIT_SYM32 is not defined.  So strange...

And even if %highest, etc. were used, it should work for CKSEG0
kernel, while using only %hi should be just an optimization.  Another
strangeness.

> 80006ad0:     3c1b0000        lui     k1,0x0
> 80006ad4:     677b0000        daddiu  k1,k1,0
> 80006ad8:     001bdc38        dsll    k1,k1,0x10
> 80006adc:     677b8047        daddiu  k1,k1,-32697
> 80006ae0:     001bdc38        dsll    k1,k1,0x10
> 80006ae4:     df7b5008        ld      k1,20488(k1)

The address of kernelsp should be 0xffffffff80475008.  It seems
a regular value.

---
Atsushi Nemoto

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