aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add support for TImode type (__int128_t)Blue Swirl2009-08-011-0/+1
| | | | | | | | | | GCC provides a 128 bit type called internally as TImode (__int128_t)on 64 bit platforms (at least x86_64 and Sparc64). These types are used by OpenBIOS. Add support for types "long long long", __mode__(TI) and __(u)int128_t. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Christopher Li <sparse@chrisli.org>
* make size_t better approximate the realityAl Viro2007-07-081-2/+2
| | | | | | | | | | | | | | | Instead of "always unsigned long" go for "unsigned int unless -m64 is given, unsigned long otherwise". Add an option (-msize-long) forcing to unsigned long regardless. Make __SIZE_TYPE__ expansion match that. The thing is, addition of checks on comparisons make for very unhappy min() on (kernel) size_t and sizeof(something) on the targets where the former is unsigned int. Which is to say, more than half of them... AFAICS, the only place needing explicit -msize-long in CHECK_FLAGS is s390 (it's using unsigned long both for 31- and 64-bit). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] remove multi-inclusion guard from target.cLuc Van Oostenryck2005-06-271-5/+0
| | | | | | | | This removes the multi-inclusion guard present in target.c (coming, I suppose, from target.h from which it was copied). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@looxix.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Implement a C99-like _Bool type.Linus Torvalds2005-04-071-0/+1
| | | | | | Right now it's a strange kind of single-bit integer. As a result, you cannot do a "sizeof" on it. Dunno what the real C99 semantics should be, and don't much care yet.
* Now that BITS_IN_XXXX aren't defined contstants any more,Linus Torvalds2005-04-071-15/+15
| | | | rename them lower cased to match standard C naming rules.
* Use variables for target data structure information, Linus Torvalds2005-04-071-0/+49
instead of hardcoding it at compile time. This allows us to do "cross-checks" much more easily.