Re: [PATCH 13/20] inflate: (arch) kill silly zlib typedefs

From: Willy Tarreau
Date: Tue Nov 08 2005 - 01:32:33 EST


On Tue, Nov 08, 2005 at 03:05:57PM +0900, Miles Bader wrote:
> Willy Tarreau <willy@xxxxxxxxx> writes:
> > 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).
>
> Are there _any_ (widespread) platforms except Windows that use LLP64?

I don't think so, ask google for LLP64 and click the second link (blogs),
you will like it :-)

Basically, they choose LLP64 because they have declared some structures
as LONG (eg: in bitmaps) instead of making them int32 ! I didn't know
that they were losers to the point of not understanding a typedef !
This may explain why they stopped supporting alpha long ago...

> LP64 seems to be by far the most common in the unix world.

it seems so, but I'd be interested in counter-examples too.

> -miles
> --
> "1971 pickup truck; will trade for guns"

Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/