On Sat, 2007-05-19 at 00:00 +0200, Segher Boessenkool wrote: > It's not the compiler who decides -- struct layout is > dictated by the ABI you're compiling for. This is true in the case of externally-visible stuff. I think the compiler is permitted to violate the ABI for purely unit-internal things if it makes sense though, isn't it? Besides, in the case of the Linux kernel the ABI in question could be one of many. It could even be a new one which was added a couple of weeks ago, and which I had no _chance_ of considering. The rule stands -- empirical testing of what the compiler will do isn't usually the right answer. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] ubi: kill homegrown endian macros
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- References:
- [PATCH] ubi: kill homegrown endian macros
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: Artem Bityutskiy <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: Artem Bityutskiy <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: Andrew Morton <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: Matthieu CASTET <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: David Woodhouse <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: "John Anthony Kazos Jr." <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: David Woodhouse <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: "John Anthony Kazos Jr." <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: David Woodhouse <[email protected]>
- Re: [PATCH] ubi: kill homegrown endian macros
- From: Segher Boessenkool <[email protected]>
- [PATCH] ubi: kill homegrown endian macros
- Prev by Date: Re: [rfc] increase struct page size?! (now sparsemem vmemmap)
- Next by Date: Re: [2.6 patch] drivers/net/wireless/libertas/fw.c: fix use-before-check
- Previous by thread: Re: [PATCH] ubi: kill homegrown endian macros
- Next by thread: Re: [PATCH] ubi: kill homegrown endian macros
- Index(es):