[Top] [All Lists]

Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely

Subject: Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely
From: Atsushi Nemoto <>
Date: Mon, 26 Mar 2007 23:43:16 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
On Mon, 26 Mar 2007 09:48:13 -0400, Kumba <> 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

> 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>