public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* asm-sh64/module.h defines 32 bit ELF types
@ 2007-06-15 20:10 Jeremy Fitzhardinge
  2007-06-18  0:29 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2007-06-15 20:10 UTC (permalink / raw)
  To: Paul Mundt; +Cc: Linux Kernel Mailing List

Hi,

I'm doing a little cleanup of ELF stuff around the tree, and I noticed
that asm-sh64/module.h defines 32 bit versions of the ELF types rather
than 64.  Is this right?

Seems counterintuitive to me...

    J

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: asm-sh64/module.h defines 32 bit ELF types
  2007-06-15 20:10 asm-sh64/module.h defines 32 bit ELF types Jeremy Fitzhardinge
@ 2007-06-18  0:29 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2007-06-18  0:29 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel Mailing List

On Fri, Jun 15, 2007 at 01:10:40PM -0700, Jeremy Fitzhardinge wrote:
> I'm doing a little cleanup of ELF stuff around the tree, and I noticed
> that asm-sh64/module.h defines 32 bit versions of the ELF types rather
> than 64.  Is this right?
> 
Yes, that's correct. sh64 supports both a 64-bit and a 32-bit ABI, but in
practice, only the 32-bit is used (both for kernel and user space). While
registers and loads/stores are 64-bits, the pointer size is still 32 when
using the 32-bit ABI. This was the reason for things like ARCH_SLAB_MINALIGN.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-18  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-15 20:10 asm-sh64/module.h defines 32 bit ELF types Jeremy Fitzhardinge
2007-06-18  0:29 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox