linux-mips
[Top] [All Lists]

Re: 32-bit ABI

To: Stanislaw Skowronek <sskowron@ET.PUT.Poznan.PL>
Subject: Re: 32-bit ABI
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sat, 24 Apr 2004 09:38:02 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <Pine.GSO.4.10.10404240927450.13336-100000@helios.et.put.poznan.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040424071751.GA561@linux-mips.org> <Pine.GSO.4.10.10404240927450.13336-100000@helios.et.put.poznan.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Sat, Apr 24, 2004 at 09:31:14AM +0200, Stanislaw Skowronek wrote:

> > So there is no relation at all to modules.  You btw. can load 64-bit ELF
> > modules into a kernel which was built using above trick as 32-bit ELF.
> > That's necessary because modules are currently allocated through vmalloc
> > which allocates space in XKSEG.
> 
> Ah, so it's like that. Great. Is the ELF64 support still not correct?

No, it's supposed to be working now.

> > > I have changed it to 64-bit abi in my Octane kernel, because it won't even
> > > compile otherwise. I've got gcc 3.3.2, gas 2.14.
> > Octane has no memory at all in CKSEG0?
> 
> Well, as far as I know, and I'm probably right, it _does_ have some memory
> there. A whopping 16 kilobytes of memory mirrored by the HEART to allow
> placing exception vectors there (what a weird idea).

That's what the processor expects.

  Ralf

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