Home | History | Annotate | Download | only in powerpc
History log of /src/usr.bin/xlint/arch/powerpc/targparam.h
RevisionDateAuthorComments
 1.9  27-Jun-2021  rillig lint: fix typo in comment for target platform definitions
 1.8  24-Jan-2021  rillig lint: reduce preprocessor magic for platform target types
 1.7  09-Jan-2021  rillig lint: make target platform independent of host platform

If lint is run on a platform that has CHAR_BIT == 10, this doesn't
magically make an ILP32 platform have 40 bits per uint32_t.

At the moment, all of the supported platforms are either ILP32 or
I32LP64 anyway, and all of them have CHAR_BIT == 8 == CHAR_SIZE,
so nothing changes practically.
 1.6  09-Jan-2021  rillig lint: remove trailing whitespace
 1.5  27-Mar-2012  christos more cross lint friendlyness
XXX: needs more constants converted double/float
 1.4  19-Feb-2005  matt branches: 1.4.50;
Don't include the powerpc64 definitions in here. Since lint is a host
tool, the hosts definition of _LP64 will confuse things.
 1.3  29-May-2003  christos - make all targparam.h files consistent with the arch includes
- add a new INTPTR_IS_LONG define and use it.

- XXX: the PTRDIFF, SIZEOF, INTPTR defines really make lint more relaxed
in some platforms than others. We should really be looking for the
particular tokens to enable this kind of checking. I.e.
now:

char *p;
int foo = (int)p;

does not produce a warning on INTPTR_IS_LONG == 0 platformas.
In reality it should only elide the warning if:

char *p;
int foo = (intptr_t)p;

but it is not that smart (yet).
 1.2  30-Jan-2002  thorpej Define FLOAT_SIZE, DOUBLE_SIZE, LDOUBLE_SIZE, and ENUM_SIZE in
target-specific headers, and use the definitions when initializing
the type table.
 1.1  18-Jan-2002  thorpej * Move stuff shared between lint1 and lint2 to the new common/ directory.
* Move the arch/ directory out of lint1/ into the top-level.
 1.4.50.1  17-Apr-2012  yamt sync with head

RSS XML Feed