lkml.org 
[lkml]   [2005]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 13/20] inflate: (arch) kill silly zlib typedefs
On Tue, 1 Nov 2005, Willy Tarreau wrote:
> On Tue, Nov 01, 2005 at 08:50:43AM +0100, Geert Uytterhoeven wrote:
> > On Tue, 1 Nov 2005, Willy Tarreau wrote:
> > > But if it's a pointer why don't you declare them unsigned long then ?
> > > C defines the long as the integer the right size to store a pointer.
> > ^
> > Is it C?
>
> Yes, that's what I read quite a time ago, and it appears that it was an
> interpretation of the spec which is not true anymore with LLP64 models :-(
>
> > Since on Wintendo P64 it's not true...
>
> I don't know if x86_64 is LP64 or LLP64 on Linux, but at least my alpha
> and sparc64 are LP64, so is another PPC64 I use for code validation.
> LPC64 is the recommended model for easier 32 to 64 portability (where
> ints are 32 ; long, longlong, ptrs are 64).

Linux on x86_64 uses LP64, like all other 64-bit platforms Linux runs on.

Gr{oetje,eeting}s,
Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-01 12:30    [W:0.078 / U:0.520 seconds]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site